/* Generated from final-site-v20260909-confirmed.zip; do not hand-merge older component CSS. */
:root {
  --twh-purple: #24103f;
  --twh-gold: #e9b64f;
  --twh-gold-soft: #fff5dc;
  --ink: #211833;
  --muted: #6d6578;
  --line: #e9e2ef;
  --soft: #f7f5fa;
  --surface: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Noto Sans TC", "Noto Sans HK", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(36, 16, 63, 0.08);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(var(--max), calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  color: var(--twh-purple);
  font-weight: 900;
  line-height: 1.1;
}

.mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid var(--twh-purple);
  border-top-color: var(--twh-gold);
  border-radius: 50%;
  color: var(--twh-purple);
  font-size: 16px;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--twh-purple);
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--twh-gold);
}

main { background: #fff; }

.page {
  min-height: calc(100vh - 88px);
  padding: 68px 0 88px;
}

.container {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.head {
  display: block;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--twh-gold);
  font-size: 13px;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 0;
  color: var(--twh-purple);
  font-size: 38px;
  line-height: 1.18;
  font-weight: 900;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.field,
.select {
  min-height: 48px;
  width: 100%;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.store-card {
  min-height: 150px;
  padding: 22px 24px;
}

.store-card h3 {
  margin-bottom: 10px;
  color: var(--twh-purple);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.store-card p {
  margin-bottom: 6px;
  color: var(--muted);
}

.store-card strong { color: var(--ink); }

.login-wrap {
  min-height: calc(100vh - 88px);
  padding: 70px 0 92px;
  background: #fff;
}

.login-card {
  width: min(520px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(36, 16, 63, 0.10);
}

.login-card h1 {
  margin-bottom: 24px;
  text-align: center;
  font-size: 30px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  background: #fff;
}

.tab.active {
  color: var(--twh-purple);
  border-color: rgba(233, 182, 79, 0.8);
  background: var(--twh-gold-soft);
}

.login-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 10px;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.helper-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--twh-purple);
  font-size: 14px;
  font-weight: 700;
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--twh-purple);
  background: var(--twh-gold);
  font-weight: 900;
}

.locator-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.list-panel {
  height: 680px;
  overflow: auto;
  padding-right: 8px;
}

.map-panel {
  min-height: 680px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.map-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--twh-purple);
  font-size: 22px;
}

.product-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
}

.side-filter {
  padding: 22px;
  background: var(--soft);
}

.side-filter h3 {
  margin-bottom: 16px;
  color: var(--twh-purple);
  font-size: 17px;
}

.filter-link {
  display: flex;
  justify-content: space-between;
  min-height: 38px;
  color: var(--twh-purple);
  font-weight: 800;
}

.product-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-head strong { color: var(--twh-purple); }

.sorts {
  display: flex;
  gap: 10px;
  color: var(--twh-purple);
  font-weight: 800;
}

.pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.empty-grid {
  min-height: 360px;
  padding: 24px;
  border: 1px dashed rgba(36, 16, 63, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.empty-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--twh-purple);
  font-size: 20px;
}

.detail-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--twh-purple);
  background: var(--twh-gold);
  font-weight: 900;
}

.listing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.listing-card {
  display: grid;
  gap: 12px;
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.listing-photo-link {
  height: 180px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.listing-photo-link img {
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
}

.listing-card strong {
  color: var(--twh-purple);
  line-height: 1.35;
}

.listing-card span {
  color: var(--twh-purple);
  font-weight: 900;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.index-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.index-card h2 {
  margin-bottom: 10px;
  color: var(--twh-purple);
  font-size: 24px;
  line-height: 1.25;
}

.index-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.index-card span {
  color: var(--twh-purple);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.detail-media {
  display: grid;
  gap: 16px;
}

.product-photo {
  min-height: 500px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-photo img {
  display: block;
  max-width: 78%;
  max-height: 420px;
  object-fit: contain;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 86px);
  gap: 10px;
}

.thumb {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.thumb img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.detail-title {
  margin: 0 0 18px;
  color: var(--twh-purple);
  font-size: 32px;
  line-height: 1.28;
  font-weight: 900;
}

.detail-price {
  margin-bottom: 22px;
  color: var(--twh-purple);
  font-size: 26px;
  font-weight: 900;
}

.detail-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
}

.detail-meta strong {
  color: var(--ink);
}

.qty-row {
  width: 150px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-row span {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--twh-purple);
  font-weight: 900;
  background: #fff;
}

.qty-row span + span {
  border-left: 1px solid var(--line);
}

.cart-button {
  width: min(100%, 280px);
  min-height: 50px;
  margin-bottom: 18px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  width: min(100%, 420px);
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--twh-purple);
  font-size: 20px;
  font-weight: 900;
}

.detail-panels {
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
}

.detail-panel {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--twh-purple);
  font-weight: 850;
  background: #fff;
}

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

.related-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.related-item strong {
  min-height: 72px;
  color: var(--twh-purple);
  line-height: 1.35;
}

.related-item span {
  color: var(--twh-purple);
  font-weight: 900;
}

.related-photo {
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.related-photo img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .nav,
  .container { width: min(100% - 32px, var(--max)); }

  .nav {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .brand { min-width: 0; }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
  }

  .filter-grid,
  .store-grid,
  .locator-layout,
  .product-layout,
  .detail-grid,
  .related-list,
  .listing-preview-grid,
  .index-grid { grid-template-columns: 1fr; }

  .list-panel,
  .map-panel { min-height: 0; height: auto; }

  .login-row { grid-template-columns: 1fr; }

  .product-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-photo { min-height: 360px; }
  .product-photo img { max-height: 300px; }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page,
  .login-wrap {
    min-height: 0;
    padding: 46px 0 64px;
  }

  .nav {
    width: min(100% - 32px, var(--max));
    padding: 14px 0;
    gap: 12px;
  }

  .brand {
    width: 100%;
  }

  .mark {
    width: 50px;
    height: 50px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 0;
  }

  h1 {
    font-size: 30px;
    line-height: 1.22;
  }

  .head {
    margin-bottom: 24px;
    padding-bottom: 22px;
  }

  .login-card {
    width: min(100% - 32px, 520px);
    padding: 30px 22px;
  }

  .tabs,
  .filter-grid,
  .store-grid,
  .locator-layout,
  .product-layout,
  .detail-grid,
  .related-list,
  .listing-preview-grid,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .store-card,
  .product-card,
  .related-item,
  .index-card {
    padding: 18px;
  }

  .list-panel,
  .map-panel {
    min-height: 0;
    height: auto;
  }

  .product-head {
    gap: 12px;
  }

  .product-photo {
    min-height: 300px;
  }

  .product-photo img {
    max-height: 250px;
  }

  .qty-row,
  .cart-button,
  .total-row,
  .detail-panels {
    width: 100%;
  }

  .related-photo {
    height: 150px;
  }
}

@media (max-width: 640px) {
  .product-photo,
  .listing-photo,
  .related-photo,
  .map-panel {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .product-photo img,
  .listing-photo img,
  .related-photo img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .product-card,
  .related-item,
  .store-card,
  .index-card {
    min-height: auto !important;
  }

  .product-info,
  .detail-copy {
    order: 1 !important;
  }

  .product-photo,
  .detail-gallery {
    order: 2 !important;
  }

  .field,
  .select,
  .tab,
  .button,
  .cart-button {
    min-height: 46px;
  }
}

/* ===== Confirmed source block boundary ===== */

/* Shared preview header and footer shell for TWH change-log pages. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 88px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(36, 16, 63, 0.08);
  backdrop-filter: blur(14px);
}

.site-header .nav-wrap {
  width: min(var(--max, 1180px), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header .brand-mark {
  min-width: 245px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--twh-purple, #24103f);
  text-decoration: none;
}

.site-header .brand-mark img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header .brand-name {
  display: grid;
  color: var(--twh-purple, #24103f);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.12;
}

.site-header .brand-name span {
  margin-top: 4px;
  color: var(--muted, #6d6578);
  font-size: 12px;
  font-weight: 700;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--twh-purple, #24103f);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.site-header .main-nav a {
  position: relative;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.site-header .main-nav a.active::after,
.site-header .main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--twh-gold, #e9b64f);
}

.mobile-menu-toggle {
  display: none;
}

.site-footer {
  padding: 24px 0;
  color: var(--muted, #6d6578);
  background: #fff;
  border-top: 1px solid var(--line, #e9e2ef);
  font-size: 13px;
  font-weight: 700;
}

.site-footer .footer-inner {
  width: min(var(--max, 1180px), calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .footer-brand {
  display: grid;
  gap: 4px;
  color: var(--twh-purple, #24103f);
}

.site-footer .footer-brand strong {
  font-size: 14px;
  font-weight: 900;
}

.site-footer .footer-brand span {
  color: var(--muted, #6d6578);
  font-size: 12px;
}

.site-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: var(--twh-purple, #24103f);
  text-decoration: none;
}

.site-footer .copyright {
  margin-left: auto;
  color: var(--muted, #6d6578);
}

@media (max-width: 1160px) {
  .site-header {
    height: auto;
  }

  .site-header .nav-wrap {
    width: min(var(--max, 1180px), calc(100% - 34px));
    min-height: 88px;
    padding: 12px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 24px;
  }

  .site-header .brand-mark {
    min-width: 0;
    margin-right: auto;
  }

  .site-header .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 16px;
    white-space: normal;
  }

  .site-header .main-nav a {
    padding: 6px 0;
  }

  .site-footer .footer-inner {
    width: min(var(--max, 1180px), calc(100% - 34px));
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .copyright {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header .brand-name {
    display: grid;
    font-size: 15px;
  }

  .site-header .brand-name span {
    display: none;
  }

  .site-header .brand-mark img {
    width: 52px;
    height: 52px;
  }
}

/* Mobile preview overrides for the static change-log pages.
   Desktop layout remains unchanged; these rules only handle narrow screens. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .site-header.site-header {
    height: auto !important;
  }

  .site-header .nav-wrap,
  .nav-wrap {
    width: min(var(--max, 1180px), calc(100% - 32px)) !important;
    min-height: 78px !important;
    padding: 12px 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px 16px !important;
  }

  .site-header .brand-mark,
  .brand-mark {
    min-width: 0 !important;
    flex: 1 1 auto;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    position: relative;
    display: grid !important;
    place-items: center;
    flex: 0 0 auto;
    margin-left: auto;
    border: 1px solid rgba(36, 16, 63, 0.14);
    border-radius: 8px;
    color: var(--twh-purple, #24103f);
    background: #fff;
    box-shadow: 0 12px 28px rgba(36, 16, 63, 0.08);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 14px;
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: 0;
    line-height: 0;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .mobile-menu-toggle span::before {
    content: "";
    width: 20px;
    height: 2px;
    display: block;
    margin-top: 4px;
    background: currentColor;
  }

  .mobile-menu-toggle[aria-expanded="true"] span {
    border-color: transparent;
  }

  .mobile-menu-toggle[aria-expanded="true"] span::before {
    width: 18px;
    margin-top: 4px;
    transform: rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span::after {
    content: "";
    width: 18px;
    height: 2px;
    display: block;
    margin-top: -2px;
    background: currentColor;
    transform: rotate(-45deg);
  }

  .site-header .brand-mark img,
  .brand-mark img {
    width: 52px !important;
    height: 52px !important;
  }

  .site-header .brand-name,
  .brand-name {
    font-size: 15px !important;
  }

  .site-header .brand-name span,
  .brand-name span {
    display: none !important;
  }

  .site-header .main-nav,
  .main-nav {
    order: 3 !important;
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    gap: 4px !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    white-space: normal !important;
    border: 1px solid rgba(36, 16, 63, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(36, 16, 63, 0.12);
  }

  .site-header.is-mobile-nav-open .main-nav,
  .is-mobile-nav-open .main-nav {
    display: flex !important;
  }

  .site-header .main-nav a,
  .main-nav a {
    width: 100% !important;
    flex: 0 0 auto !important;
    padding: 12px 12px !important;
    border-radius: 6px;
    text-align: center !important;
  }

  .site-header .main-nav a.active,
  .site-header .main-nav a:hover,
  .main-nav a.active,
  .main-nav a:hover {
    background: rgba(233, 182, 79, 0.14);
  }

  .site-header .main-nav a.active::after,
  .site-header .main-nav a:hover::after,
  .main-nav a.active::after,
  .main-nav a:hover::after {
    content: none !important;
  }

  .header-actions,
  .nav-icons {
    flex: 0 0 auto;
    margin-left: auto !important;
  }

  .container,
  .hero-inner,
  .container.hero-inner,
  .footer-inner,
  .proof-strip,
  .quick-strip,
  .hero-points,
  .trust-inner,
  .cta-inner {
    width: min(var(--max, 1180px), calc(100% - 32px)) !important;
  }

  .container.hero-inner {
    max-width: calc(100% - 32px) !important;
  }

  .section {
    padding: 64px 0 !important;
  }

  .hero,
  .brand-hero,
  .hypro-hero,
  .fera-hero,
  .go-hero,
  .labivet-hero,
  .yg-hero {
    min-height: auto !important;
  }

  .hero-inner {
    min-height: auto !important;
    padding: 54px 0 64px !important;
    gap: 34px !important;
  }

  .hero-copy,
  .hero-inner,
  .story-copy,
  .showcase-copy,
  .range-copy,
  .contact-copy {
    width: 100% !important;
    max-width: none !important;
  }

  .section-head,
  .hero-inner,
  .intro-grid,
  .story-grid,
  .mission-panel,
  .range-overview,
  .range-story,
  .range-story.reverse,
  .showcase-grid,
  .showcase,
  .quality-layout,
  .quality-visual,
  .feature-board,
  .product-head,
  .daily-grid,
  .line-split,
  .line-head,
  .chlorella-board,
  .range-layout,
  .strategy-layout,
  .pet-series-board,
  .ending-inner,
  .contact-grid,
  .cta-band,
  .brand-band-inner,
  .trust-inner,
  .cta-inner {
    grid-template-columns: 1fr !important;
  }

  .category-grid,
  .brand-grid,
  .product-grid,
  .benefit-grid,
  .mission-cards,
  .advantage-grid,
  .audience-grid,
  .proof-grid,
  .quick-strip,
  .moments-grid,
  .feature-cards,
  .feature-band,
  .line-cardlets,
  .range-proof,
  .science-list,
  .usage-grid,
  .founder-proof,
  .collection-row,
  .chlorella-points,
  .chlorella-tech-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-card,
  .hero-stage,
  .hero-visual,
  .hero-shelf,
  .story-media,
  .quality-visual,
  .range-overview-media,
  .showcase-media,
  .range-media,
  .daily-media,
  .why-showcase-media,
  .nutrition-photo,
  .product-visual,
  .product-image,
  .product-img,
  .line-panel-media {
    min-height: 280px !important;
  }

  .why-scroll-section,
  .why-showcase,
  .intro-copy {
    position: static !important;
    min-height: auto !important;
  }

  .product-table,
  .range-tabs,
  .sku-slider {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero-visual,
  .hero-shelf {
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-footer .footer-inner,
  .footer-inner {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .site-footer .copyright,
  .copyright {
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  h1,
  .hero-copy h1 {
    font-size: 34px !important;
    line-height: 1.18 !important;
  }

  .section-title,
  .story-copy h2,
  .range-copy h3,
  .line-panel h3,
  .cta-band h2,
  .brand-cta h2 {
    font-size: 30px !important;
    line-height: 1.24 !important;
  }

  .hero-copy p,
  .section-note,
  .section-lead,
  .hero-lead {
    font-size: 16px !important;
  }

  .section {
    padding: 54px 0 !important;
  }

  .hero-inner {
    padding: 42px 0 54px !important;
  }

  .button-row,
  .hero-actions,
  .banner-actions,
  .hero-banner-actions,
  .cta-actions {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .btn,
  .button,
  .hero-button,
  .contact-action,
  .submit {
    width: 100% !important;
  }

  .category-grid,
  .brand-grid,
  .product-grid,
  .benefit-grid,
  .mission-cards,
  .advantage-grid,
  .audience-grid,
  .proof-grid,
  .proof-strip,
  .quick-strip,
  .moments-grid,
  .feature-cards,
  .feature-band,
  .line-cardlets,
  .range-proof,
  .science-list,
  .usage-grid,
  .founder-proof,
  .collection-row,
  .chlorella-points,
  .chlorella-tech-panel,
  .service-grid,
  .stat-strip,
  .contact-form,
  .hero-family-strip {
    grid-template-columns: 1fr !important;
  }

  .story-item,
  .network-core,
  .showcase-list div,
  .daily-list div,
  .quality-item,
  .badge-item,
  .pet-series-card {
    grid-template-columns: 1fr !important;
  }

  .hero-logo,
  .go-lockup,
  .brand-label.logo-label img {
    max-width: 220px !important;
  }

  .hero-card,
  .story-media,
  .quality-visual,
  .range-overview-media,
  .showcase-media,
  .range-media,
  .daily-media,
  .why-showcase-media,
  .nutrition-photo {
    min-height: 240px !important;
  }

  .hero-family-stage,
  .hero-shelf,
  .hero-stage {
    min-height: 320px !important;
  }

  .cta-band,
  .range-overview,
  .strategy-panel,
  .hero-card,
  .mission-panel {
    padding: 26px 22px !important;
  }
}

/* Mobile safety pass: shared rules stay structural only. Page-specific hero
   cropping and content order should live in the page file. */
@media (max-width: 900px) {
  .product-card,
  .brand-card,
  .category-card,
  .moment-card,
  .routine-card,
  .benefit-card,
  .advantage-card,
  .audience-card {
    min-height: auto !important;
    overflow: hidden;
  }

  .category-image img,
  .sku-image img,
  .brand-visual img,
  .product-image img,
  .product-img img,
  .product-art img,
  .line-panel-media img {
    object-fit: contain !important;
    object-position: center center !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .product-table,
  .range-tabs,
  .sku-slider {
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  h1,
  .hero-copy h1 {
    font-size: 31px !important;
    line-height: 1.18 !important;
  }

  .section-title,
  .story-copy h2,
  .range-copy h3,
  .line-panel h3,
  .cta-band h2,
  .brand-cta h2 {
    font-size: 27px !important;
    line-height: 1.24 !important;
  }

  .hero-copy p,
  .section-note,
  .section-lead,
  .hero-lead,
  .story-copy p,
  .range-copy p {
    font-size: 15px !important;
    line-height: 1.72 !important;
  }

  .hero-logo,
  .go-lockup,
  .brand-lockup img,
  .brand-lockup.pet img,
  .brand-label.logo-label img {
    width: min(190px, 68vw) !important;
    max-width: 190px !important;
  }

  .hero-inner {
    padding: 34px 0 46px !important;
    gap: 22px !important;
  }

  .section {
    padding: 46px 0 !important;
  }
}

/* ===== Confirmed source block boundary ===== */

/* Shared click-to-cycle controls for preview product rows and homepage hero dots. */
.click-carousel {
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding-inline: 0;
  padding-bottom: 0;
}

.click-carousel .sku-slider,
.click-carousel .product-grid,
.click-carousel .product-table,
.click-carousel .related-list,
.click-carousel .category-grid,
.click-carousel .brand-grid,
.click-carousel .hero-points,
.click-carousel .advantage-grid {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none !important;
}

.click-carousel .sku-slider::-webkit-scrollbar,
.click-carousel .product-grid::-webkit-scrollbar,
.click-carousel .product-table::-webkit-scrollbar,
.click-carousel .related-list::-webkit-scrollbar,
.click-carousel .category-grid::-webkit-scrollbar,
.click-carousel .brand-grid::-webkit-scrollbar,
.click-carousel .hero-points::-webkit-scrollbar,
.click-carousel .advantage-grid::-webkit-scrollbar {
  display: none;
}

.click-carousel .related-list {
  grid-template-columns: none !important;
}

.click-carousel .related-item {
  min-width: 0;
}

.click-carousel .sku-slider > *,
.click-carousel .product-grid > *,
.click-carousel .product-table > *,
.click-carousel .related-list > *,
.click-carousel .category-grid > *,
.click-carousel .brand-grid > *,
.click-carousel .hero-points > *,
.click-carousel .advantage-grid > * {
  min-width: 0;
  scroll-snap-align: start;
}

.click-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(36, 16, 63, 0.14);
  border-radius: 999px;
  color: var(--twh-purple, #24103f);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(36, 16, 63, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.click-carousel-btn:hover {
  border-color: var(--twh-gold, #e9b64f);
  background: #fff;
  box-shadow: 0 20px 50px rgba(36, 16, 63, 0.20);
  transform: translateY(-50%) scale(1.04);
}

.click-carousel-btn:focus-visible {
  outline: 3px solid var(--twh-gold, #e9b64f);
  outline-offset: 3px;
}

.click-carousel-btn::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.click-carousel-prev {
  left: clamp(-72px, -5vw, -56px);
}

.click-carousel-prev::before {
  transform: rotate(-135deg);
}

.click-carousel-next {
  right: clamp(-72px, -5vw, -56px);
  left: auto;
}

.click-carousel-next::before {
  transform: rotate(45deg);
}

.click-carousel-btn[disabled] {
  opacity: .34;
  pointer-events: none;
}

.click-carousel-mobile-dots {
  display: none;
}

@media (min-width: 901px) {
  main :is(.sku-card, .product-card:has(.product-image), .product-card:has(.product-img), .product-card:has(.product-visual)) {
    height: 392px !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: 236px 1fr !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  main :is(.sku-image, .product-image, .product-img, .product-visual) {
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    padding: 24px !important;
  }

  main :is(.sku-body, .product-body, .product-copy, .product-card-body) {
    min-height: 0 !important;
    padding: 16px 18px 18px !important;
  }

  main :is(.sku-body h3, .product-card h3, .product-body h3, .product-card-body h3) {
    overflow: hidden !important;
    margin-bottom: 8px !important;
    font-size: 18px !important;
    line-height: 1.18 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  main :is(.sku-body p, .product-card p, .product-body p, .product-card-body p) {
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical !important;
    
  }

  main .brand-card {
    height: 420px !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: 3fr 2fr !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  main .brand-visual {
    display: grid !important;
    place-items: center !important;
    min-height: 0 !important;
    padding: 24px !important;
  }

  main .brand-visual img {
    max-width: 82% !important;
    max-height: 108px !important;
    object-fit: contain !important;
  }

  main .brand-visual img[src$="fera-logo.svg"] {
    width: min(82%, 190px) !important;
    height: auto !important;
    opacity: 1 !important;
  }

  main .brand-copy {
    min-height: 0 !important;
    padding: 16px 18px 18px !important;
  }

  main .brand-copy h3 {
    overflow: hidden !important;
    margin-bottom: 6px !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  main .brand-copy p {
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical !important;
    
  }

  main .brand-tag {
    margin-bottom: 10px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: var(--twh-gold, #e9b64f) !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  main :is(.brand-copy a, .brand-jump) {
    color: var(--twh-purple, #24103f) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  #product-lines .product-grid > .product-card:has(.product-image) {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    grid-template-rows: none !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  #product-lines .product-grid > .product-card:has(.product-image) .product-image {
    height: 250px !important;
    min-height: 0 !important;
    display: grid !important;
    place-items: center !important;
    padding: 26px !important;
  }

  #product-lines .product-grid > .product-card:has(.product-image) .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  #product-lines .product-grid > .product-card:has(.product-image) .product-body {
    min-height: 0 !important;
    padding: 22px !important;
  }

  #product-lines .product-grid > .product-card:has(.product-image) .product-body h3 {
    overflow: hidden !important;
    margin-bottom: 10px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #product-lines .product-grid > .product-card:has(.product-image) .product-body p {
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical !important;
    
  }
}

.hero.is-clickable-hero .slide {
  animation: none !important;
  opacity: 0;
  transition: opacity .36s ease;
}

.hero.is-clickable-hero .slide.is-active {
  opacity: 1;
}

.hero.is-clickable-hero .banner-dots {
  gap: 10px;
}

.hero.is-clickable-hero .banner-dots span,
.hero.is-clickable-hero .banner-dots button {
  width: 42px;
  height: 4px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 16, 63, 0.16);
  animation: none !important;
  cursor: pointer;
}

.hero.is-clickable-hero .banner-dots span.is-active,
.hero.is-clickable-hero .banner-dots button.is-active {
  background: var(--twh-gold, #e9b64f);
}

.hero.is-clickable-hero .banner-dots span:focus-visible,
.hero.is-clickable-hero .banner-dots button:focus-visible {
  outline: 3px solid var(--twh-gold, #e9b64f);
  outline-offset: 6px;
}

.main-nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.main-nav .nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav .nav-dropdown-trigger::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  order: 2;
  opacity: .7;
}

.brand-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 320;
  width: 260px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(36, 16, 63, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 50px rgba(36, 16, 63, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
}

.brand-submenu a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px !important;
  border-radius: 6px;
  color: var(--twh-purple, #24103f) !important;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.brand-submenu a::after {
  content: none !important;
}

.brand-submenu a:hover,
.brand-submenu a:focus-visible {
  background: rgba(233, 182, 79, 0.14);
}

.brand-submenu small {
  color: var(--muted, #6d6578);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.nav-dropdown:hover .brand-submenu,
.nav-dropdown:focus-within .brand-submenu,
.nav-dropdown.is-open .brand-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

@media (max-width: 900px) {
  .click-carousel {
    margin-inline: -2px;
    padding-inline: 0;
    padding-bottom: 0;
  }

  .click-carousel-btn {
    display: none;
  }

  .click-carousel-mobile-dots {
    position: static;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 10px;
    margin: 12px 0 0 4px;
  }

  .click-carousel-mobile-dots[hidden] {
    display: none;
  }

  .click-carousel-dot {
    width: 42px;
    height: 4px;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(36, 16, 63, 0.12);
    cursor: pointer;
  }

  .click-carousel-dot.is-active {
    background: var(--twh-gold, #e9b64f);
  }

  .click-carousel-dot:focus-visible {
    outline: 3px solid var(--twh-gold, #e9b64f);
    outline-offset: 5px;
  }

  .click-carousel .sku-slider,
  .click-carousel .product-grid,
  .click-carousel .product-table,
  .click-carousel .related-list,
  .click-carousel .category-grid,
  .click-carousel .brand-grid,
  .click-carousel .hero-points,
  .click-carousel .advantage-grid {
    padding-inline: 2px !important;
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .click-carousel .related-item {
    min-width: 0;
  }

  .brand-submenu {
    position: fixed;
    top: 106px;
    left: 16px;
    right: 16px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: translateY(6px);
  }

  .nav-dropdown:hover .brand-submenu,
  .nav-dropdown:focus-within .brand-submenu,
  .nav-dropdown.is-open .brand-submenu {
    transform: translateY(0);
  }
}

@media (max-width: 1160px) and (min-width: 901px) {
  .click-carousel .sku-slider,
  .click-carousel .product-grid,
  .click-carousel .product-table,
  .click-carousel .related-list,
  .click-carousel .category-grid,
  .click-carousel .brand-grid,
  .click-carousel .hero-points,
  .click-carousel .advantage-grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 640px) {
  .click-carousel .sku-slider,
  .click-carousel .product-grid,
  .click-carousel .product-table,
  .click-carousel .related-list,
  .click-carousel .category-grid,
  .click-carousel .brand-grid,
  .click-carousel .hero-points,
  .click-carousel .advantage-grid {
    grid-auto-columns: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .click-carousel .sku-slider,
  .click-carousel .product-grid,
  .click-carousel .product-table,
  .click-carousel .related-list,
  .click-carousel .category-grid,
  .click-carousel .brand-grid,
  .click-carousel .hero-points,
  .click-carousel .advantage-grid,
  .hero.is-clickable-hero .slide {
    scroll-behavior: auto;
    transition: none;
  }
}

/* Keep carousel controls inside the viewport at intermediate desktop widths. */
@media(min-width:901px) and (max-width:1340px){.click-carousel-prev{left:-24px}.click-carousel-next{right:-24px}}

/* ===== Confirmed source block boundary ===== */

@media (max-width: 760px) {
      #feedback .locator-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
      }

      #feedback .locator-layout > div:first-child {
        display: contents !important;
      }

      #feedback .field {
        order: 1;
      }

      #feedback .map-panel {
        order: 2;
        min-height: 260px !important;
        margin-bottom: 16px;
      }

      #feedback .list-panel {
        order: 3;
      }
    }

/* ===== Confirmed source block boundary ===== */

/* Tai Wing Hong preview detail polish layer.
   Keep structural layouts intact; only refine type, rhythm, controls and surface details. */

:where(html) {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:where(body) {
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, .section-title, .hero-title) {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

:where(h1, .hero-title) {
  line-height: 1.08 !important;
}

:where(h2, .section-title) {
  line-height: 1.14 !important;
}

:where(h3) {
  line-height: 1.24 !important;
}

:where(p, li, .hero-lead, .section-note, .section-lead, .brand-tag, .product-body p, .sku-body p) {
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

:where(.hero-lead, .section-note, .section-lead, .story-copy p, .intro-copy p, .product-card p, .advantage-card p, .brand-copy p, .sku-body p) {
  line-height: 1.68 !important;
}

:where(.eyebrow, .crumb, .auth-label, .product-kicker, .sku-code, .brand-tag) {
  letter-spacing: .02em !important;
  text-shadow: none !important;
}

:where(.btn, .button, .btn-primary, .btn-secondary, .primary, .secondary) {
  min-height: 44px;
  border-radius: 8px !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

:where(.btn, .button) {
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

@media (hover: hover) {
  :where(.btn, .button):hover {
    transform: translateY(-1px);
  }
}

:where(img) {
  image-rendering: auto;
}

:where(.brand-card, .sku-card, .product-card, .category-card, .advantage-card, .mission-panel, .inquiry-card, .video-feature, .story-card) {
  box-shadow: none !important;
}

:where(.brand-card, .sku-card, .product-card, .category-card, .advantage-card) {
  border-color: rgba(35, 24, 65, .12) !important;
}

:where(.brand-card, .sku-card, .product-card, .category-card, .advantage-card, .collection-tile, .range-card) img {
  display: block;
}

@media (min-width: 761px) {
  :where(.section-head, .range-head) {
    gap: clamp(24px, 4vw, 56px);
  }

  :where(.section-note, .section-lead) {
    max-width: 620px;
  }

  :where(.hero-copy) {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  :where(body) {
    line-height: 1.55;
  }

  :where(h1, .hero-title) {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.1 !important;
  }

  :where(h2, .section-title) {
    font-size: clamp(25px, 7vw, 32px) !important;
    line-height: 1.16 !important;
  }

  :where(h3) {
    font-size: clamp(16px, 4.6vw, 21px);
  }

  :where(p, li, .hero-lead, .section-note, .section-lead) {
    font-size: 14.5px;
    line-height: 1.62 !important;
  }

  :where(.eyebrow, .crumb, .auth-label) {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px;
  }

  :where(.btn, .button, .btn-primary, .btn-secondary, .primary, .secondary) {
    min-height: 46px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  :where(.hero-actions, .button-row) {
    gap: 8px !important;
  }

  :where(.section) {
    scroll-margin-top: 88px;
  }

  :where(.brand-card h3, .sku-card h3, .product-card h3, .category-card h3) {
    line-height: 1.2 !important;
  }

  :where(.brand-card p, .sku-card p, .product-card p, .category-card p, .advantage-card p) {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Mobile product cards: keep the card focused on image + Chinese product name. */
  :where(
    #product-lines .product-card p,
    #product-lines .product-card .product-kicker,
    #product-lines .product-card .product-meta,
    #product-lines .product-card .product-tags,
    #product-lines .product-card .product-tag,
    #product-lines .product-card .flavour-tags,
    #product-lines .product-card .tag-row,
    #product-lines .product-card .sku-code,
    #product-lines .product-card .sku-brand,
    #product-lines .range-card p,
    #product-lines .range-card .range-kicker,
    #product-lines .range-card .flavour-tags,
    #product-lines .range-card .product-meta,
    #product-lines .range-card .tag-row,
    #product-lines .range-story .range-kicker,
    #product-lines .range-story p,
    #product-lines .range-story .range-tags,
    #product-lines .pet-series-card p,
    #product-lines .pet-series-card .pet-series-meta,
    #germagic-pet .product-card p,
    #germagic-pet .product-card .product-meta,
    #germagic-pet .product-card .product-tags,
    #recommend .sku-card p,
    #recommend .sku-card .sku-code,
    #recommend .sku-card .sku-brand,
    .product-showcase .product-card p,
    .product-showcase .product-card .product-meta,
    .product-showcase .product-card .product-tags,
    .product-table .product-card p,
    .product-table .product-card .product-meta
  ) {
    display: none !important;
  }

  :where(
    #product-lines .product-card h3,
    #product-lines .range-card h3,
    #product-lines .range-story h3,
    #product-lines .pet-series-card h4,
    #germagic-pet .product-card h3,
    #recommend .sku-card h3,
    .product-showcase .product-card h3,
    .product-table .product-card h3
  ) {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    -webkit-box-orient: vertical !important;
    
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  /* Mobile product cards: reserve fixed image/title zones so images never overlap copy. */
  html body main #recommend .sku-card,
  html body main #product-lines .product-card,
  html body main #product-lines .range-card,
  html body main #product-lines .range-story,
  html body main #product-lines .pet-series-card,
  html body main #germagic-pet .product-card,
  html body main .product-showcase .product-card,
  html body main .product-table .product-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 118px 60px !important;
    align-content: stretch !important;
    height: 178px !important;
    min-height: 178px !important;
    max-height: 178px !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  html body main #recommend .sku-image,
  html body main #product-lines .product-image,
  html body main #product-lines .range-image,
  html body main #product-lines .range-media,
  html body main #product-lines .range-visual,
  html body main #germagic-pet .product-image,
  html body main .product-showcase .product-image,
  html body main .product-table .product-image {
    grid-row: 1 !important;
    width: 100% !important;
    height: 118px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  html body main #recommend .sku-image img,
  html body main #product-lines .product-image img,
  html body main #product-lines .range-image img,
  html body main #product-lines .range-media img,
  html body main #product-lines .range-visual img,
  html body main #product-lines .product-card > img,
  html body main #product-lines .range-card > img,
  html body main #product-lines .range-story > img,
  html body main #product-lines .pet-series-card > img,
  html body main #germagic-pet .product-image img,
  html body main #germagic-pet .product-card > img,
  html body main .product-showcase .product-image img,
  html body main .product-showcase .product-card > img,
  html body main .product-table .product-image img,
  html body main .product-table .product-card > img {
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }

  html body main #recommend .sku-body,
  html body main #product-lines .product-body,
  html body main #product-lines .range-copy,
  html body main #product-lines .pet-series-copy,
  html body main #germagic-pet .product-body,
  html body main #germagic-pet .product-card-body,
  html body main .product-showcase .product-body,
  html body main .product-table .product-body {
    grid-row: 2 !important;
    width: 100% !important;
    height: 60px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  html body main #recommend .sku-card h3,
  html body main #product-lines .product-card h3,
  html body main #product-lines .range-card h3,
  html body main #product-lines .range-story h3,
  html body main #product-lines .pet-series-card h4,
  html body main #germagic-pet .product-card h3,
  html body main .product-showcase .product-card h3,
  html body main .product-table .product-card h3 {
    margin: 0 !important;
    word-break: break-word !important;
  }
}

/* ===== Confirmed source block boundary ===== */

/* Short word units with natural flow. Keep copy, components and images unchanged. */
html body main :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,figcaption,blockquote,.point-description,.proof-summary,.proof-item>strong,.proof-item>span,.hero-point>span){white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-break:strict}
html body main :is(h1,h2,h3,h4,h5,h6,.proof-item>strong){text-wrap:balance}
html body main :is(p,li,dt,dd,figcaption,blockquote,.point-description,.proof-summary,.proof-item>span,.hero-point>span){text-wrap:pretty}
html body main :is(.headline-line,.mission-values,.hero-tag>span){white-space:normal!important;word-break:normal!important}
html body span.twh-word{all:unset!important;display:inline!important;white-space:nowrap!important}
html body main .mission-list li{display:block!important}
/* Product names and visible prose need space for their natural line count. */
html body main :is(.sku-body,.product-card,.product-body,.product-card-body,.brand-copy) :is(h3,h4){white-space:normal!important;text-overflow:clip!important}
html body main :is(#product-lines,#germagic-pet) .product-grid>.product-card:has(.product-image) .product-body h3{white-space:normal!important;text-overflow:clip!important}
html body main :is(#product-lines,#germagic-pet) .product-grid>.product-card:has(.product-image) .product-body p{-webkit-line-clamp:unset!important;overflow:visible!important;max-height:none!important}
html body main :is(.section-note,.section-lead,.story-copy p,.why-showcase-copy p){-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important}
@media(max-width:760px){html body:has(#germagic-pet) main .click-carousel .product-grid{grid-template-rows:repeat(2,auto)!important}}
/* Let all four GO summaries fit together; switch the complete group at narrower widths. */
html body main .proof-grid .proof-item{padding-left:20px;padding-right:20px}
@media(min-width:1101px) and (max-width:1249px){html body main .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The small generated text wrappers remain one item inside flex/grid controls. */
@layer twh-text-flow {
  html body span.twh-text {all:unset!important;display:inline!important;min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-break:strict!important}
  html body :is(span.twh-word,span.twh-unit) {all:unset!important;display:inline!important;white-space:nowrap!important}
}
html body {word-break:normal;line-break:strict}
html body :is(header,footer) :is(a,p,span,strong,small),html body main :is(a,button,label,small,.feature>span,.science-item>span,.quality-item span,.range-proof span,.product-kicker,.flavour-tags span,.range-tags span) {word-break:normal;overflow-wrap:break-word;line-break:strict;text-wrap:pretty}
html body :is(header,footer,main) :is(a,button,label) {max-width:100%;min-width:0}
html body :is(input,select,textarea) {min-width:0;max-width:100%}
html body main :is(.brand-copy p,.strategy-panel p,.benefit-card p,.mission-card p,.mission-card>strong,.moment-body p,.quality-item span,.science-item span,.badge-item strong,.badge-item small) {-webkit-line-clamp:unset!important;max-height:none!important;height:auto!important}
html body main :is(.brand-card,.moment-card,.mission-card,.benefit-card,.strategy-panel,.quality-item,.science-item) {height:auto!important;max-height:none!important}
html body main .range-proof :is(strong,span) {word-break:normal!important;text-wrap:pretty}
html body main :is(.range-proof,.flavour-tags,.range-tags,.pet-series-meta,.need-tags) {align-items:stretch}
html body main :is(.range-proof,.flavour-tags,.range-tags,.pet-series-meta,.need-tags)>span {display:flex;align-items:center;justify-content:center}
@media(max-width:760px){
  html body .ps-hero .hero-inner {width:calc(100% - 32px)!important;margin-inline:auto!important}
  html body main .moments-grid {grid-template-rows:repeat(2,auto)!important}
  html body main .moment-card {grid-template-rows:auto auto!important}
  html body main .strategy-panel {min-height:0!important}
}

/*
 * Collision guard: this package stylesheet is loaded once per confirmed route.
 * The selector deliberately binds layout guardrails to the confirmed body and
 * direct page content, preventing same-named legacy modules from constraining
 * grid children into narrow vertical columns.
 */
.reference-ui.confirmed-v20260909 main :is(.container,.hero-inner,.section-head,.story-grid,.intro-grid,.product-layout,.detail-grid,.locator-layout,.contact-layout,.cta-band,.brand-grid,.product-grid,.category-grid,.science-grid,.range-overview,.quality-layout,.routine-layout,.ending-inner) > * {
  min-width: 0;
}
.reference-ui.confirmed-v20260909 main :is(.brand-card,.product-card,.sku-card,.listing-card,.store-card,.detail-summary,.mission-panel,.science-step,.routine-item) {
  min-width: 0;
}
@media (min-width: 761px) {
  .reference-ui.confirmed-v20260909 main .brand-grid > .brand-card,
  .reference-ui.confirmed-v20260909 main .product-grid > .product-card,
  .reference-ui.confirmed-v20260909 main .category-grid > .category-card {
    width: auto !important;
    max-width: none !important;
  }
}
