/* 阶段12-2视觉方案1：仅调整前台编排与呈现，不改变商品、SEO或商城逻辑。 */
:root {
  --tw-page: #ffffff;
  --tw-surface-soft: #f4f6fb;
  --tw-accent: #3925a8;
  --tw-accent-soft: #ebe8ff;
  --tw-line: #e1e4ed;
  --tw-line-strong: #a7add0;
  --tw-muted: #62697a;
  --tw-shadow: 0 18px 45px rgba(35, 34, 80, 0.09);
}

/* 第二轮字体层级收口：繁中正文、标题与操作文字使用明确字重，避免回退字体合成。 */
body .tw-primary-navigation a,
body .tw-button,
body button,
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce ul.products li.product a.button,
body .tw-shop-category-links a {
  font-weight: 600;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .tw-featured-card h3,
body .tw-faq-list summary,
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce div.product .product_title {
  font-weight: 700;
}

body {
  background: var(--tw-page);
}

body,
button,
input,
select,
textarea {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  font-weight: 700;
}

.tw-primary-navigation a,
.tw-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
  font-weight: 600;
}

.tw-announcement {
  min-height: 32px;
  border: 0;
  background: #2d217e;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 32px;
}

.site-header {
  min-height: 78px;
  margin-top: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}

.tw-primary-navigation a {
  font-size: 14px;
}

.tw-home-hero {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  margin-top: 0;
  overflow: hidden;
  background: #f3f5fa;
}

.tw-home-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(52px, 6vw, 88px);
}

.tw-home-hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(46px, 4.6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.tw-home-hero h1 span {
  display: block;
}

.tw-home-hero .tw-banner-description {
  max-width: 560px;
  margin: 24px 0 28px;
  font-size: 16px;
}

.tw-home-hero__line {
  margin-top: 18px;
  color: var(--tw-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tw-home-hero__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #f2f4f9;
}

.tw-home-hero__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.tw-home-catalog {
  padding-top: 48px;
  padding-bottom: 82px;
}

.tw-home-section {
  padding-top: 68px;
}

.tw-section-heading--compact {
  margin-bottom: 18px;
}

.tw-section-heading--compact .tw-eyebrow {
  margin-bottom: 8px;
}

.tw-category-grid {
  gap: 14px;
}

.tw-category-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  box-shadow: none;
}

.tw-category-card__media {
  display: grid;
  min-height: 228px;
  overflow: hidden;
  place-items: center;
  background: #f1f3f8;
}

.tw-category-card__media img {
  width: 100%;
  height: 228px;
  object-fit: contain;
  transform: scale(1.05);
  transition: transform 180ms ease;
}

.tw-category-card:hover .tw-category-card__media img {
  transform: scale(1.09);
}

.tw-category-card__body {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 17px 46px 18px 18px;
}

.tw-category-card__arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--tw-text);
  transform: translateY(-50%);
}

.tw-category-card__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.tw-category-card__body strong {
  margin: 0;
  color: var(--tw-text);
  font-size: 19px;
}

.tw-category-card__body small {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: var(--tw-muted);
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tw-category-card__body b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tw-series-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.tw-series-card {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr 82px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 12px 8px 12px 18px;
  border: 1px solid var(--tw-line);
  border-radius: 10px;
  background: #fff;
}

.tw-series-card strong {
  font-size: 14px;
  line-height: 1.3;
}

.tw-series-card span,
.tw-series-card img {
  width: 82px;
  height: 82px;
}

.tw-series-card img {
  object-fit: contain;
  transform: scale(1.08);
}

.tw-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tw-featured-card {
  overflow: hidden;
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  background: #fff;
}

.tw-featured-card__media {
  display: grid;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  place-items: center;
  background: #f2f4f8;
}

.tw-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.06);
}

.tw-featured-card__body {
  display: grid;
  gap: 8px;
  padding: 17px;
}

.tw-featured-card h3 {
  min-height: 2.8em;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.tw-featured-card__price {
  min-height: 26px;
  color: var(--tw-text);
  font-size: 17px;
  font-weight: 900;
}

.tw-featured-card .tw-button {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 13px;
}

.tw-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tw-help-grid a {
  position: relative;
  display: grid;
  min-height: 146px;
  align-content: center;
  padding: 24px 28px 24px 74px;
  border: 1px solid #cbd4ee;
  border-radius: 12px;
  background: #f7f9ff;
}

.tw-help-grid a:nth-child(2) {
  border-color: #ded0ea;
  background: #fcf8ff;
}

.tw-help-grid a:nth-child(3) {
  border-color: #c9ddc8;
  background: #f6fbf4;
}

.tw-help-grid a > span {
  position: absolute;
  top: 26px;
  left: 24px;
  color: var(--tw-accent);
  font-size: 13px;
  font-weight: 900;
}

.tw-help-grid strong {
  font-size: 20px;
}

.tw-help-grid p {
  margin: 4px 0 0;
  color: var(--tw-muted);
  font-size: 13px;
}

.tw-help-note {
  margin: 18px 0 0;
  color: var(--tw-muted);
  font-size: 14px;
}

.tw-home-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 68px;
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  background: #f7f8fb;
}

.tw-home-trust > div {
  display: grid;
  gap: 2px;
  padding: 24px 30px;
  border-right: 1px solid var(--tw-line);
  text-align: center;
}

.tw-home-trust > div:last-child {
  border-right: 0;
}

.tw-home-trust strong {
  font-size: 16px;
}

.tw-home-trust span {
  color: var(--tw-muted);
  font-size: 12px;
}

.tw-faq-list {
  border-top: 1px solid var(--tw-line);
}

.tw-home-faq {
  width: min(100%, 940px);
  margin-inline: auto;
}

.tw-home-faq .tw-section-heading {
  justify-content: center;
  text-align: center;
}

.tw-home-faq .tw-faq-list {
  text-align: left;
}

.tw-faq-list details {
  border-bottom: 1px solid var(--tw-line);
}

.tw-faq-list summary {
  padding: 17px 6px;
  font-weight: 800;
}

.tw-faq-list p {
  margin: -3px 0 0;
  padding: 0 36px 18px 6px;
  color: var(--tw-muted);
  font-size: 14px;
}

.tw-home-contact-cta {
  display: grid;
  min-height: 210px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: center;
  margin-top: 68px;
  overflow: hidden;
  padding: 34px 48px;
  border: 1px solid #d9def3;
  border-radius: 16px;
  background: #eaf0ff;
  text-align: center;
}

.tw-home-contact-cta__content {
  display: grid;
  justify-items: center;
}

.tw-home-contact-cta__qr {
  display: grid;
  place-items: center;
}

.tw-home-contact-cta__qr img {
  width: min(100%, 220px);
  height: auto;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.tw-home-contact-cta h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

/* Shop与分类页 */
.tw-woocommerce-shell {
  margin-top: 32px;
}

.woocommerce-products-header {
  margin-bottom: 30px;
}

.post-type-archive-product .woocommerce-products-header {
  padding: 38px 42px;
  border: 1px solid var(--tw-line);
  border-radius: 14px;
  background: #f4f5fa;
}

.post-type-archive-product .woocommerce-products-header__title {
  font-size: clamp(40px, 4vw, 60px);
}

.tw-shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-top: 12px;
}

.tw-shop-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--tw-muted);
}

.tw-shop-category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tw-shop-category-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #c5c9d8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--tw-accent);
  font-size: 12px;
  font-weight: 800;
}

.tax-product_cat .woocommerce-products-header {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 8px 40px;
  overflow: hidden;
  padding: 52px;
  border: 1px solid var(--tw-line);
  border-radius: 16px;
  background: #f3f5fa;
}

.tax-product_cat .woocommerce-products-header__title {
  align-self: end;
  font-size: clamp(42px, 4vw, 62px);
}

.tax-product_cat .woocommerce-products-header .tw-category-hero-copy {
  align-self: start;
  max-width: 520px;
  color: var(--tw-muted);
  font-size: 16px;
}

.tax-product_cat .woocommerce-products-header .tw-category-hero-copy p {
  margin: 10px 0 0;
}

.tw-category-hero-media {
  display: grid;
  min-height: 320px;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
}

.tw-category-hero-media img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  transform: scale(1.08);
  filter: drop-shadow(0 18px 16px rgba(30, 32, 60, 0.15));
}

.tw-category-detail {
  margin-top: 54px;
}

.tw-category-detail .entry-content {
  padding: clamp(28px, 4vw, 52px);
  background: #f8f9fc;
}

.tw-category-detail h2:first-child,
.tw-category-detail h3:first-child {
  margin-top: 0;
}

.tw-catalog-search input,
.tw-filter-field select,
.tw-filter-price input {
  border-color: #cfd4e1;
  background: #ffffff;
  color: #17192b;
  caret-color: #17192b;
}

.tw-catalog-search input::placeholder,
.tw-filter-price input::placeholder {
  color: #70778a;
  opacity: 1;
}

.tw-filter-field select option {
  background: #ffffff;
  color: #17192b;
}

.tw-filter-field select:disabled,
.tw-filter-price input:disabled,
.tw-catalog-search input:disabled {
  border-color: #e2e5ed;
  background: #f0f1f5;
  color: #858b99;
  cursor: not-allowed;
}

.tw-search-icon {
  color: #5f6678;
}

.tw-desktop-filters {
  border-color: #d5d9e4;
  background: #f4f5f8;
}

.tw-filter-price-symbol,
.tw-filter-price-separator {
  color: #4f5667;
}

.tw-filter-clear {
  border-color: #aeb5c6;
  background: #ffffff;
  color: #262a38;
}

.tw-filter-clear:hover {
  border-color: var(--tw-accent);
  background: #f0edff;
  color: var(--tw-accent);
}

.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products[class*="columns-"] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 18px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product {
  overflow: hidden;
  padding: 10px 10px 14px;
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  background: #ffffff;
}

.tw-product-media {
  border: 0;
  border-radius: 8px;
  background: #f1f3f7;
}

.woocommerce ul.products li.product .tw-product-media img,
.woocommerce ul.products li.product a img {
  transform: scale(1.06);
}

.woocommerce ul.products li.product:hover .tw-product-media img {
  transform: scale(1.1);
}

.tw-product-category {
  min-height: 20px;
  margin-top: 13px;
  font-size: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
  font-size: 15px;
  line-height: 1.4;
}

.tw-product-rating {
  display: none;
}

.woocommerce ul.products li.product .price {
  height: auto;
  min-height: 34px;
  padding-top: 8px;
  font-size: 17px;
}

.woocommerce ul.products li.product .button {
  height: 46px;
  min-height: 46px;
  flex-basis: 46px;
  border-color: var(--tw-accent);
  color: var(--tw-accent);
}

/* 代表商品页 */
.single-product .tw-woocommerce-shell {
  margin-top: 26px;
}

.woocommerce div.product {
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}

.woocommerce div.product div.images {
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  border: 1px solid var(--tw-line);
  border-radius: 14px;
  background: #f2f4f8;
  overflow: hidden;
}

.woocommerce div.product div.summary {
  min-width: 0;
  max-width: 100%;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: 10px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image > a {
  display: grid;
  min-height: clamp(420px, 48vw, 680px);
  place-items: center;
  background: #fff;
}

.woocommerce div.product div.images img {
  width: 100%;
  height: clamp(420px, 48vw, 680px);
  background: #f2f4f8;
  object-fit: contain;
}

.woocommerce div.product div.images .flex-control-thumbs {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: 76px;
  min-width: 76px;
  float: none;
  scroll-snap-align: start;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  width: 76px;
  height: 76px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  opacity: 0.72;
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img:focus-visible {
  border-color: var(--tw-accent);
  outline: 2px solid transparent;
  opacity: 1;
}

.woocommerce div.product div.images .flex-control-thumbs img:focus-visible {
  outline: 2px solid var(--tw-text);
  outline-offset: 2px;
}

.tw-header-live-search {
  position: relative;
}

.tw-header-search-panel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(24 31 42 / 18%);
}

.tw-header-search-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.tw-header-search-form input,
.tw-catalog-search input[type="search"] {
  width: 100%;
}

.tw-catalog-search {
  position: relative;
}

.tw-live-search-results {
  z-index: 110;
  width: 100%;
  max-height: min(520px, 70vh);
  margin-top: 8px;
  overflow-y: auto;
  border: 1px solid var(--tw-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgb(24 31 42 / 16%);
}

.tw-catalog-search > .tw-live-search-results {
  position: absolute;
  top: 100%;
  left: 0;
}

.tw-live-search-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--tw-line);
  color: var(--tw-text);
  text-decoration: none;
}

.tw-live-search-item:last-child {
  border-bottom: 0;
}

.tw-live-search-item:hover,
.tw-live-search-item.is-active {
  background: #f2f4f8;
}

.tw-live-search-item img {
  width: 58px;
  height: 58px;
  border-radius: 7px;
  background: #f4f5f7;
  object-fit: contain;
}

.tw-live-search-item strong,
.tw-live-search-item small {
  display: block;
}

.tw-live-search-item small {
  margin-top: 4px;
  color: var(--tw-muted);
}

.tw-live-search-item > span:last-child {
  color: var(--tw-accent);
  font-size: 13px;
  font-weight: 800;
}

.tw-live-search-message {
  margin: 0;
  padding: 18px;
  color: var(--tw-muted);
  text-align: left;
}

.tw-live-search-retry {
  margin: 0 18px 16px;
}

.woocommerce div.product div.summary {
  padding-top: 8px;
}

.woocommerce div.product .product_title {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.1;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 14px 0;
  color: var(--tw-accent);
  font-size: 30px;
  font-weight: 900;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--tw-muted);
  font-size: 15px;
}

.woocommerce div.product form.cart {
  margin: 26px 0 18px;
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 18px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
  padding: 5px 0;
  text-align: left;
}

.woocommerce div.product form.cart .variations select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #cbd0dc;
  border-radius: 7px;
  background: #ffffff;
  color: var(--tw-text);
}

.woocommerce div.product form.cart div.quantity .qty {
  min-height: 48px;
  border: 1px solid #cbd0dc;
  border-radius: 7px;
}

.woocommerce div.product form.cart .button {
  min-height: 48px;
  padding-right: 26px;
  padding-left: 26px;
}

.tw-single-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--tw-line);
}

.tw-single-trust span {
  display: grid;
  gap: 2px;
  color: var(--tw-muted);
  font-size: 11px;
  line-height: 1.35;
}

.tw-single-trust strong {
  color: var(--tw-text);
  font-size: 12px;
}

.tw-single-trust a {
  color: var(--tw-accent);
  font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .up-sells {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: clamp(22px, 4vw, 48px);
  border-radius: 12px;
}

.tw-service-strip {
  background: #f4f5f8;
}

@media (max-width: 1380px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .tw-home-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
  }

  .tax-product_cat .woocommerce-products-header {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    padding: 42px;
  }

  .tw-shop-intro {
    grid-template-columns: 1fr;
  }

  .tw-shop-category-links {
    justify-content: flex-start;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .tw-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .tw-menu-toggle {
    grid-column: 1;
    grid-row: 1;
  }

  .tw-header-tools {
    grid-column: 3;
    grid-row: 1;
  }

  .tw-home-hero {
    grid-template-columns: 1fr;
  }

  .tw-home-hero__content {
    padding: 46px 36px;
  }

  .tw-home-hero h1 {
    font-size: 45px;
  }

  .tw-category-grid,
  .tw-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tw-series-rail {
    grid-template-columns: repeat(5, minmax(185px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .tw-series-card {
    scroll-snap-align: start;
  }

  .tax-product_cat .woocommerce-products-header {
    min-height: 310px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    padding: 34px;
  }

  .tw-category-hero-media,
  .tw-category-hero-media img {
    min-height: 250px;
    height: 250px;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tw-announcement {
    min-height: 32px;
    padding: 0;
    font-size: 11px;
    line-height: 32px;
    white-space: nowrap;
  }

  .site-header {
    min-height: 62px;
    margin-top: 0;
    padding: 4px 0;
    border-radius: 0;
  }

  .tw-brand-logo,
  .tw-brand-logo img {
    width: 112px;
  }

  .tw-home-hero {
    width: 100%;
    min-height: 610px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 300px;
  }

  .tw-home-hero__content {
    padding: 34px 24px 18px;
  }

  .tw-home-hero h1 {
    max-width: 340px;
    font-size: 38px;
    line-height: 1.08;
  }

  .tw-home-hero .tw-banner-description {
    margin: 15px 0 18px;
    font-size: 13px;
    line-height: 1.55;
  }

  .tw-home-hero .tw-banner-actions {
    display: grid;
    width: min(100%, 240px);
    grid-template-columns: 1fr;
  }

  .tw-home-hero .tw-banner-actions .tw-button {
    width: 100%;
  }

  .tw-home-hero__line {
    margin-top: 12px;
    font-size: 12px;
  }

  .tw-home-hero__visual {
    min-height: 300px;
  }

  .tw-home-catalog {
    padding-top: 30px;
    padding-bottom: 56px;
  }

  .tw-section-heading h2 {
    font-size: 27px;
  }

  .tw-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tw-category-card {
    min-height: 232px;
  }

  .tw-category-card__media {
    min-height: 150px;
  }

  .tw-category-card__media img {
    height: 150px;
  }

  .tw-category-card__body {
    padding: 11px 28px 12px 11px;
  }

  .tw-category-card__arrow {
    right: 10px;
  }

  .tw-category-card__body strong {
    font-size: 14px;
  }

  .tw-category-card__body small {
    min-height: 2.6em;
    font-size: 10px;
    line-height: 1.3;
  }

  .tw-home-section {
    padding-top: 46px;
  }

  .tw-series-rail {
    width: calc(100vw - 12px);
    grid-template-columns: repeat(5, 142px);
    margin-right: -12px;
    gap: 8px;
  }

  .tw-series-card {
    min-height: 82px;
    grid-template-columns: 1fr 58px;
    padding: 8px 6px 8px 12px;
  }

  .tw-series-card strong {
    font-size: 11px;
  }

  .tw-series-card span,
  .tw-series-card img {
    width: 58px;
    height: 58px;
  }

  .tw-featured-grid {
    gap: 10px;
  }

  .tw-featured-card__body {
    gap: 6px;
    padding: 10px;
  }

  .tw-featured-card h3 {
    font-size: 12px;
  }

  .tw-featured-card__price {
    font-size: 14px;
  }

  .tw-featured-card .tw-button {
    min-height: 36px;
    height: 36px;
    font-size: 11px;
  }

  .tw-help-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .tw-help-grid a {
    min-height: 104px;
    padding: 18px 18px 18px 60px;
  }

  .tw-help-grid a > span {
    top: 20px;
    left: 18px;
  }

  .tw-help-grid strong {
    font-size: 17px;
  }

  .tw-home-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 46px;
  }

  .tw-home-trust > div {
    padding: 15px 7px;
  }

  .tw-home-trust strong {
    font-size: 11px;
  }

  .tw-home-trust span {
    font-size: 9px;
  }

  .tw-faq-list summary {
    padding: 14px 2px;
    font-size: 13px;
  }

  .tw-faq-list p {
    padding: 0 22px 16px 2px;
    font-size: 12px;
  }

  .tw-home-contact-cta {
    grid-template-columns: 1fr;
    min-height: 210px;
    margin-top: 46px;
    padding: 32px 20px;
  }

  .tw-home-contact-cta h2 {
    font-size: 27px;
  }

  .tw-home-contact-cta__qr img {
    width: min(100%, 190px);
  }

  .woocommerce div.product div.images .woocommerce-product-gallery__image > a,
  .woocommerce div.product div.images img {
    min-height: 0;
    height: 390px;
  }

  .tw-live-search-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .tw-live-search-item > span:last-child {
    display: none;
  }

  .tw-woocommerce-shell {
    margin-top: 22px;
  }

  .tax-product_cat .woocommerce-products-header {
    min-height: 470px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 250px;
    gap: 6px;
    padding: 28px 22px 0;
  }

  .tax-product_cat .woocommerce-products-header__title {
    align-self: auto;
    font-size: 38px;
  }

  .tax-product_cat .woocommerce-products-header .tw-category-hero-copy {
    font-size: 13px;
  }

  .tw-category-hero-media {
    min-height: 250px;
    grid-column: 1;
    grid-row: 3;
  }

  .tw-filter-panel,
  .tw-filter-panel-head {
    background: #ffffff;
    color: var(--tw-text);
  }

  .tw-filter-close {
    border-color: #b9bfcd;
    color: var(--tw-text);
  }

  .tw-mobile-filter-bar {
    color: var(--tw-text);
  }

  .tw-filter-open {
    background: #ffffff;
    color: var(--tw-accent);
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products[class*="columns-"] li.product {
    padding: 7px 7px 10px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px;
  }

  .woocommerce ul.products li.product .price {
    min-height: 28px;
    font-size: 14px;
  }

  .woocommerce ul.products li.product .button {
    height: 42px;
    min-height: 42px;
    flex-basis: 42px;
    font-size: 11px;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .woocommerce div.product div.images {
    padding: 8px;
  }

  .woocommerce div.product .product_title {
    font-size: 32px;
  }

  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: 25px;
  }

  .tw-single-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tw-category-card__media img,
  .woocommerce ul.products li.product .tw-product-media img,
  .woocommerce ul.products li.product a img {
    transition: none;
  }
}

body.woocommerce ul.products li.product a.button,
body.woocommerce ul.products li.product button.button,
body .woocommerce ul.products li.product a.button,
body .woocommerce ul.products li.product button.button {
  font-weight: 600;
}
