/* Compact catalog-cluster layout. Loaded after the original layer. */
.catalog-cluster-page .cluster-main,
.catalog-variant-page .cluster-main {
  padding-top: calc(var(--nav-height, 78px) + 18px);
}

.cluster-hero-card {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--cluster-line);
  border-radius: 24px;
  background: #fff;
}

.cluster-hero-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  background: #f6efe8;
}

.cluster-hero-card .cluster-hero-copy {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 28px 56px;
  align-items: end;
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
}

.cluster-hero-card .cluster-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--berry);
}

.cluster-hero-card h1 {
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: clamp(2.8rem, 5.8vw, 6.2rem);
  line-height: .9;
}

.cluster-hero-card .cluster-lead {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cluster-hero-card .cluster-hero-actions {
  grid-column: 2;
  margin-top: -10px;
}

.cluster-hero-card .cluster-hero-actions .button {
  background: var(--berry-deep);
  color: #fff;
}

.cluster-hero-card .cluster-hero-actions .cluster-button-ghost {
  border-color: var(--cluster-line);
  background: #fff;
  color: var(--berry);
}

.cluster-route-nav {
  margin-top: 18px;
  padding-block: 8px;
  border: 0;
  background: transparent;
}

.cluster-intro {
  gap: 36px 70px;
  padding-block: 56px 34px;
}

.cluster-intro h2,
.cluster-guide-copy h2,
.cluster-architecture h2,
.variant-story h2,
.variant-specs h2,
.variant-related h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.cluster-product-grid {
  gap: 16px;
  padding-bottom: 64px;
}

.cluster-product-card {
  border-radius: 18px;
}

.cluster-card-image img,
.cluster-product-card:nth-child(1) .cluster-card-image img,
.cluster-product-card:nth-child(2) .cluster-card-image img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.cluster-card-copy {
  min-height: 250px;
  padding: 24px;
}

.cluster-card-copy h2 {
  margin: 30px 0 12px;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.cluster-card-copy p {
  margin-bottom: 18px;
  font-size: .92rem;
}

.cluster-banner {
  min-height: 0;
  display: grid;
  margin-block: 20px 56px;
  border: 1px solid var(--cluster-line);
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
}

.cluster-banner::after { display: none; }

.cluster-banner > img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.cluster-banner-copy {
  max-width: none;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px 60px;
  padding: 30px 36px 36px;
}

.cluster-banner-copy .cluster-eyebrow { grid-column: 1 / -1; margin: 0; color: var(--berry); }
.cluster-banner-copy h2 { margin: 0; color: inherit; font-size: clamp(2rem, 3.7vw, 3.8rem); }
.cluster-banner-copy p { margin: 0; color: var(--muted); }

.cluster-guide {
  gap: 42px 70px;
  padding-block: 38px 68px;
}

.cluster-comparison th,
.cluster-comparison td { padding: 14px 12px; }

.cluster-architecture { padding-block: 42px 76px; }
.cluster-architecture-head { gap: 36px 70px; margin-bottom: 34px; }
.cluster-link-map a { min-height: 140px; padding: 22px; }

/* SKU page: banner first, then one contained product card. */
.variant-breadcrumbs { padding-block: 10px 18px; }

.variant-flavor-banner {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--cluster-line);
  border-radius: 22px;
  background: #f6efe8;
}

.variant-flavor-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.variant-product-card {
  overflow: hidden;
  margin-top: 22px;
  padding: 0;
  border: 1px solid var(--cluster-line);
  border-radius: 22px;
  background: #fff;
}

.variant-product-card .variant-hero {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.variant-product-card .variant-gallery {
  min-height: 0;
  padding: 10px;
  background: #f2e8e5;
}

.variant-product-card .variant-gallery-main {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f1ea;
}

.variant-product-card .variant-gallery-thumb img { object-fit: contain; }

.variant-product-card .variant-hero-copy {
  justify-content: flex-start;
  padding: clamp(28px, 4vw, 48px);
}

.variant-product-card .variant-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 3.7vw, 4rem);
}

.variant-product-card .variant-lead { margin-top: 18px; }
.variant-product-card .variant-commerce { margin-top: 24px; }

.variant-product-card .variant-switcher {
  padding: 22px clamp(24px, 4vw, 48px) 26px;
  border-top: 1px solid var(--cluster-line);
  border-bottom: 1px solid var(--cluster-line);
  background: #fbf8f3;
}

.variant-product-card .variant-switcher-links a { padding: 13px 14px; }

.variant-product-content {
  padding: clamp(28px, 4vw, 48px);
}

.variant-product-card .variant-story {
  gap: 34px 70px;
  padding: 0 0 40px;
}

.variant-product-card .variant-story-body { font-size: 1.05rem; }
.variant-product-card .variant-accent { margin-top: 22px; padding: 20px 22px; }

.variant-product-card .variant-specs {
  margin-inline: calc(clamp(28px, 4vw, 48px) * -1);
  padding: 34px clamp(28px, 4vw, 48px);
  background: #f7f2eb;
}

.variant-product-card .variant-specs-grid {
  gap: 34px 70px;
}

.variant-product-card .variant-facts > div { padding: 12px 0; }
.variant-product-card .variant-draft-note { margin-top: 20px; }

.variant-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 38px;
}

.variant-value-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--cluster-line);
  border-radius: 16px;
  background: #fff;
}

.variant-value-grid span {
  color: var(--berry);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.variant-value-grid strong { margin-top: 14px; font-size: 1.12rem; }
.variant-value-grid p { margin: 10px 0 0; color: var(--muted); font-size: .83rem; }

.variant-wide-banner {
  margin-block: 24px 56px;
  border: 1px solid var(--cluster-line);
  border-radius: 22px;
}

.variant-wide-banner img {
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.variant-faq { padding-bottom: 64px; }
.variant-faq > h2 { margin-bottom: 24px; font-size: clamp(2.1rem, 3.8vw, 3.8rem); }
.variant-faq details { max-width: none; margin-left: 0; padding: 16px 0; }

.variant-related { padding-bottom: 78px; }
.variant-related-head { margin-bottom: 28px; }

@media (max-width: 1020px) {
  .cluster-hero-card .cluster-hero-copy,
  .cluster-banner-copy { grid-template-columns: 1fr; }
  .cluster-hero-card .cluster-hero-actions { grid-column: auto; margin-top: 0; }
  .variant-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .catalog-cluster-page .cluster-main,
  .catalog-variant-page .cluster-main { padding-top: calc(var(--nav-height, 68px) + 10px); }
  .cluster-hero-card,
  .cluster-banner,
  .variant-flavor-banner,
  .variant-product-card,
  .variant-wide-banner { border-radius: 16px; }
  .variant-product-card .variant-hero { grid-template-columns: 1fr; }
  .variant-product-card .variant-gallery { min-height: 0; }
  .variant-product-card .variant-switcher-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variant-product-card .variant-switcher-links a:last-child { grid-column: 1 / -1; }
  .variant-product-card .variant-story,
  .variant-product-card .variant-specs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cluster-hero-card .cluster-hero-copy,
  .cluster-banner-copy { padding: 24px 20px; }
  .cluster-product-card,
  .cluster-product-card:nth-child(1),
  .cluster-product-card:nth-child(2),
  .cluster-product-card:last-child { grid-column: 1 / -1; }
  .variant-product-content { padding: 24px 20px; }
  .variant-product-card .variant-specs { margin-inline: -20px; padding-inline: 20px; }
  .variant-value-grid { grid-template-columns: 1fr; }
  .variant-value-grid article { min-height: 150px; }
}

/* 2.1 — customer-facing storefront: one calm container and compact cards. */
.catalog-cluster-page .cluster-main > .container,
.catalog-variant-page .cluster-main > .container,
.catalog-cluster-page .cluster-route-nav > .container,
.catalog-variant-page .cluster-route-nav > .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.catalog-cluster-page .cluster-main,
.catalog-variant-page .cluster-main { overflow: clip; }

.cluster-hero-card { margin-top: 10px; }
.cluster-hero-card .cluster-hero-copy {
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 22px 44px;
  padding: 32px 36px 36px;
}
.cluster-hero-card .cluster-hero-copy > * { min-width: 0; }
.cluster-hero-card h1 {
  overflow-wrap: normal;
  text-wrap: balance;
  font-size: clamp(2.55rem, 3.9vw, 4rem);
}
.cluster-hero-card .cluster-lead { font-size: 1rem; line-height: 1.62; }

.cluster-intro,
.cluster-guide {
  margin-top: 26px;
  padding: 34px 36px;
  border: 1px solid var(--cluster-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .74);
}
.cluster-intro {
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  gap: 34px 58px;
  align-items: start;
}
.cluster-intro h2,
.cluster-guide-copy h2,
.cluster-banner-copy h2,
.cluster-discover h2,
.variant-story h2,
.variant-specs h2,
.variant-related h2,
.variant-faq h2 {
  max-width: none;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.cluster-intro-copy { max-width: 62ch; font-size: 1rem; line-height: 1.65; }
.cluster-intro-copy p:first-child { margin-top: 0; }
.cluster-intro-copy p:last-child { margin-bottom: 0; }

.cluster-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding-block: 26px 50px;
}
.cluster-product-card,
.cluster-product-card:nth-child(1),
.cluster-product-card:nth-child(2),
.cluster-product-card:last-child { grid-column: span 2; }
.cluster-product-card:nth-last-child(-n + 2) { grid-column: span 3; }
.cluster-card-image { display: grid; aspect-ratio: 4 / 3; place-items: center; }
.cluster-card-image img,
.cluster-product-card:nth-child(1) .cluster-card-image img,
.cluster-product-card:nth-child(2) .cluster-card-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.cluster-card-copy { min-height: 225px; padding: 20px; }
.cluster-card-copy h2 {
  max-width: none;
  margin: 28px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
}
.cluster-card-copy p { margin-bottom: 14px; font-size: .86rem; line-height: 1.48; }
.cluster-card-cta {
  align-self: end;
  margin: 2px 0 14px;
  color: var(--berry);
  font-size: .76rem;
  font-weight: 750;
}
.cluster-card-top { gap: 10px; }
.cluster-card-top span,
.cluster-card-sku { font-size: .61rem; letter-spacing: .08em; }

.cluster-banner { margin-block: 8px 26px; }
.cluster-banner-copy {
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  gap: 20px 46px;
  align-items: start;
  padding: 28px 34px 32px;
}
.cluster-banner-copy p { line-height: 1.62; }

.cluster-guide {
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 36px 54px;
  margin-bottom: 26px;
}
.cluster-guide-copy p { max-width: 46ch; line-height: 1.62; }
.cluster-comparison th,
.cluster-comparison td { padding: 12px 10px; font-size: .84rem; }

.cluster-discover { padding-block: 36px 66px; }
.cluster-discover-head,
.variant-discover .variant-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.cluster-discover-head h2,
.variant-discover h2 { margin: 0; }
.cluster-discover-head > a,
.variant-discover .variant-related-head > a { color: var(--berry); font-weight: 750; text-underline-offset: 4px; }
.cluster-taste-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cluster-taste-grid > a {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
  border: 1px solid var(--cluster-line);
  border-radius: 17px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}
.cluster-taste-grid > a:hover { transform: translateY(-3px); border-color: var(--berry); }
.cluster-taste-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--berry-wash); }
.cluster-taste-grid span,
.cluster-taste-grid strong,
.cluster-taste-grid small { margin-inline: 18px; }
.cluster-taste-grid span { margin-top: 15px; color: var(--berry); font-size: .65rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.cluster-taste-grid strong { margin-top: 5px; font-size: 1.25rem; }
.cluster-taste-grid small { margin-top: 8px; color: var(--muted); }
.cluster-reading { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cluster-reading a { min-height: 106px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border-radius: 14px; color: inherit; background: #efe8df; text-decoration: none; }
.cluster-reading span { color: var(--berry); font-size: .65rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.cluster-reading strong { margin-top: 12px; font-size: .95rem; line-height: 1.28; }

/* Compact product page. */
.variant-breadcrumbs { padding-block: 10px 14px; }
.variant-product-card { margin-top: 0; }
.variant-product-card .variant-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
  align-items: start;
}
.variant-product-card .variant-gallery {
  grid-template-rows: auto auto;
  align-self: start;
  padding: 12px;
}
.variant-product-card .variant-gallery-main { aspect-ratio: 1 / 1; object-fit: contain; }
.variant-product-card .variant-hero-copy { padding: 30px 34px; }
.variant-product-card .variant-hero-copy h1 { max-width: 14ch; font-size: clamp(2rem, 3vw, 3.2rem); line-height: .98; }
.variant-product-card .variant-lead { margin-top: 14px; font-size: .98rem; line-height: 1.55; }
.variant-product-card .variant-commerce { margin-top: 18px; }
.variant-supply small {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.variant-supply strong {
  display: block;
  max-width: 29ch;
  margin-top: 5px;
  font-size: 1.02rem;
  line-height: 1.3;
}
.variant-product-card .variant-switcher { padding: 18px 28px 20px; }
.variant-product-card .variant-switcher-links { gap: 8px; }
.variant-product-card .variant-switcher-links a { padding: 10px 11px; }
.variant-product-content { padding: 30px 34px; }
.variant-product-card .variant-story { gap: 28px 48px; padding-bottom: 30px; }
.variant-product-card .variant-story-body { font-size: 1rem; }
.variant-product-card .variant-accent { margin-top: 16px; padding: 16px 18px; }
.variant-product-card .variant-specs {
  margin-inline: -34px;
  padding: 28px 34px;
}
.variant-product-card .variant-specs-grid { gap: 28px 48px; }
.variant-product-card .variant-facts > div { padding: 10px 0; }
.variant-customer-note { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #fff; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.variant-customer-note strong { display: block; margin-bottom: 4px; color: var(--ink); }
.variant-value-grid { gap: 9px; padding-top: 28px; }
.variant-value-grid article { min-height: 155px; padding: 18px; }
.variant-wide-banner { margin-block: 22px 28px; }

.variant-faq {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  gap: 34px 54px;
  margin-bottom: 26px;
  padding: 30px 34px;
  border: 1px solid var(--cluster-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
}
.variant-faq h2 { margin: 0; }
.variant-faq details { padding: 13px 0; }
.variant-faq-list details:first-child { padding-top: 0; }
.variant-related { padding-block: 34px 50px; }
.variant-related-head h2 { max-width: none; margin: 0; }
.variant-related-grid { gap: 12px; }
.variant-related-card img { display: block; object-fit: contain; background: var(--berry-wash); }
.variant-related-card div { padding: 15px; }
.variant-discover { padding-block: 34px 72px; }

@media (max-width: 980px) {
  .cluster-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cluster-product-card,
  .cluster-product-card:nth-child(1),
  .cluster-product-card:nth-child(2),
  .cluster-product-card:last-child,
  .cluster-product-card:nth-last-child(-n + 2) { grid-column: auto; }
  .variant-product-card .variant-hero { grid-template-columns: 1fr; }
  .variant-product-card .variant-gallery { min-height: 0; }
}

@media (max-width: 760px) {
  .catalog-cluster-page .cluster-main > .container,
  .catalog-variant-page .cluster-main > .container,
  .catalog-cluster-page .cluster-route-nav > .container,
  .catalog-variant-page .cluster-route-nav > .container { width: min(1180px, calc(100% - 24px)); }
  .cluster-hero-card .cluster-hero-copy,
  .cluster-intro,
  .cluster-guide,
  .cluster-banner-copy,
  .variant-faq { grid-template-columns: 1fr; gap: 20px; }
  .cluster-hero-card .cluster-hero-copy,
  .cluster-intro,
  .cluster-guide { padding: 24px 22px; }
  .cluster-taste-grid,
  .cluster-reading { grid-template-columns: 1fr; }
  .cluster-reading a { min-height: 88px; }
  .cluster-discover-head,
  .variant-discover .variant-related-head { align-items: flex-start; flex-direction: column; }
  .variant-faq { padding: 24px 22px; }
}

/* 2.6 — filled-honey category and compact photo sets. */
.filled-category-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 10px;
  padding: 36px;
  border: 1px solid var(--cluster-line);
  border-radius: 22px;
  background: #fff;
}
.filled-category-hero > div { min-width: 0; align-self: center; max-width: 650px; }
.filled-category-hero h1 { margin: 10px 0 18px; font-size: clamp(3rem, 5vw, 4.6rem); line-height: .93; letter-spacing: -.06em; overflow-wrap: anywhere; }
.filled-category-hero > div > p:not(.cluster-eyebrow) { max-width: 58ch; color: var(--muted); line-height: 1.65; }
.filled-category-hero > img { width: 100%; height: 100%; min-height: 420px; border-radius: 16px; object-fit: cover; }
.filled-category-note {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  margin-top: 18px;
  padding: 32px 36px;
  border: 1px solid var(--cluster-line);
  border-radius: 20px;
  background: #f7f2eb;
}
.filled-category-note h2 { margin: 8px 0 0; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.filled-category-note > p { align-self: end; margin: 0; color: var(--muted); line-height: 1.65; }
.filled-flavor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.filled-flavor-card { overflow: hidden; border: 1px solid var(--cluster-line); border-radius: 18px; background: #fff; }
.filled-flavor-card > a { display: grid; height: 100%; color: inherit; text-decoration: none; }
.filled-flavor-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.filled-flavor-card div { display: flex; flex-direction: column; padding: 20px; }
.filled-flavor-card span { color: var(--berry); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filled-flavor-card h2 { margin: 9px 0 8px; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.035em; }
.filled-flavor-card p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.filled-flavor-card strong { margin-top: auto; color: var(--berry); }
.filled-format-guide { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 34px; margin-top: 18px; padding: 34px 36px; border: 1px solid var(--cluster-line); border-radius: 20px; background: #fff; }
.filled-format-guide h2 { margin: 8px 0 0; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.filled-format-guide > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.filled-format-guide article { padding: 22px; border-radius: 14px; background: #f7f2eb; }
.filled-format-guide article strong { color: var(--berry); font-size: 1.4rem; }
.filled-format-guide article p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.filled-honey-page .cluster-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filled-honey-page .cluster-product-card,
.filled-honey-page .cluster-product-card:nth-child(1),
.filled-honey-page .cluster-product-card:nth-child(2),
.filled-honey-page .cluster-product-card:last-child,
.filled-honey-page .cluster-product-card:nth-last-child(-n + 2) { grid-column: auto; }
.filled-honey-page .cluster-card-image { aspect-ratio: 4 / 3; }
.filled-honey-page .cluster-card-image img,
.filled-honey-page .cluster-taste-grid img { object-fit: cover; }
.filled-honey-page .variant-gallery-main { aspect-ratio: 4 / 3 !important; object-fit: cover !important; }
.filled-honey-page .variant-gallery:not(:has(.variant-gallery-thumbs)) { display: grid; align-content: start; }
.filled-honey-page .variant-gallery:not(:has(.variant-gallery-thumbs)) .variant-gallery-main { min-height: 0; }

.cluster-assortment-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 40px;
  align-items: end;
  margin-top: 18px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, #fbf7f1 100%);
}
.cluster-assortment-heading h1 {
  max-width: 13ch;
  margin: 10px 0 0;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.cluster-assortment-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.filled-honey-page .variant-product-card .variant-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  align-items: stretch;
}
.filled-honey-page .variant-title-name {
  white-space: normal;
  text-wrap: balance;
}
.filled-honey-page .variant-product-card .variant-gallery {
  padding: 0;
  background: #f4eee7;
  border-right: 1px solid var(--line);
}
.filled-honey-page .variant-product-card .variant-gallery-main {
  display: block;
  width: 100%;
  max-height: none;
  aspect-ratio: 1 / 1 !important;
  border-radius: 0;
  object-fit: cover !important;
}
.filled-honey-page .variant-gallery-thumbs { padding: 12px; }
.filled-honey-page .variant-hero-copy {
  max-width: none;
  padding: clamp(28px, 4vw, 52px);
}
.variant-tech-disclosure {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.variant-tech-disclosure summary {
  display: flex;
  min-height: 78px;
  padding: 20px clamp(24px, 4vw, 52px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 760;
}
.variant-tech-disclosure summary::-webkit-details-marker { display: none; }
.variant-tech-disclosure summary > span {
  display: grid;
  gap: 4px;
}
.variant-tech-disclosure summary small {
  color: var(--berry);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.variant-tech-disclosure summary strong {
  font-size: 1.08rem;
  line-height: 1.25;
}
.variant-tech-disclosure summary b {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 15px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--berry);
  font-size: .82rem;
  white-space: nowrap;
}
.variant-tech-disclosure[open] summary b { font-size: 0; }
.variant-tech-disclosure[open] summary b::after { content: "Скрыть"; font-size: .82rem; }
.variant-tech-disclosure[open] summary { border-bottom: 1px solid var(--line); }
.variant-recommendations { padding-top: 8px; padding-bottom: 56px; }
.variant-recommendation-group { padding-top: 38px; }
.variant-recommendation-group + .variant-recommendation-group {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}
.variant-recommendation-group .variant-related-head {
  align-items: end;
  margin-bottom: 18px;
}
.variant-recommendation-group .variant-related-head h2 {
  max-width: 18ch;
  margin: 6px 0 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.02;
}
.variant-recommendation-group .cluster-taste-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 900px) {
  .filled-category-hero, .filled-category-note, .filled-format-guide, .cluster-assortment-heading { grid-template-columns: 1fr; }
  .filled-category-hero > img { min-height: 0; aspect-ratio: 4 / 3; }
  .filled-flavor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .filled-category-hero, .filled-category-note, .filled-format-guide { padding: 24px; border-radius: 17px; }
  .filled-category-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); overflow-wrap: normal; word-break: normal; hyphens: none; }
  .filled-flavor-grid, .filled-format-guide > div:last-child, .filled-honey-page .cluster-product-grid { grid-template-columns: 1fr; }
  .cluster-assortment-heading { gap: 22px; padding: 26px 22px; border-radius: 22px; }
  .cluster-assortment-heading h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .filled-honey-page .variant-product-card .variant-gallery-main { aspect-ratio: 4 / 3 !important; }
  .variant-tech-disclosure summary { min-height: 70px; padding: 18px 20px; align-items: flex-start; }
  .variant-recommendation-group { padding-top: 28px; }
  .variant-recommendation-group + .variant-recommendation-group { margin-top: 28px; }
}

@media (max-width: 980px) {
  .filled-honey-page .variant-product-card .variant-hero { grid-template-columns: 1fr; }
  .filled-honey-page .variant-product-card .variant-gallery { border-right: 0; }
}

@media (max-width: 560px) {
  .cluster-product-grid { grid-template-columns: 1fr; }
  .cluster-product-card,
  .cluster-product-card:nth-child(1),
  .cluster-product-card:nth-child(2),
  .cluster-product-card:last-child,
  .cluster-product-card:nth-last-child(-n + 2) { grid-column: auto; }
  .cluster-card-copy { min-height: 205px; }
  .variant-product-card .variant-hero-copy,
  .variant-product-content { padding: 24px 20px; }
  .variant-product-card .variant-specs { margin-inline: -20px; padding-inline: 20px; }
}

/* 2.2 — richer product summary, interactive gallery and compact accordion. */
#product { scroll-margin-top: 118px; }

.variant-product-card .variant-hero-copy h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2rem, 2.65vw, 2.8rem);
}
.variant-title-name,
.variant-title-size { display: block; }
.variant-title-name { white-space: nowrap; }
.variant-title-size {
  margin-top: 9px;
  color: var(--berry);
  font-size: .7em;
  font-weight: 650;
  letter-spacing: -.015em;
}

.variant-gallery-main {
  transition: opacity 160ms ease, transform 180ms ease;
}
.variant-gallery-main.is-switching {
  opacity: .38;
  transform: scale(.992);
}
.variant-gallery-thumb {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.variant-gallery-thumb:hover,
.variant-gallery-thumb:focus-visible {
  z-index: 1;
  transform: translateY(-2px);
  border-color: var(--berry);
  box-shadow: 0 7px 18px rgba(73, 37, 49, .12);
}

.variant-quick-details {
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--cluster-line);
}
.variant-quick-details h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.variant-quick-details > p {
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.48;
}
.variant-quick-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
}
.variant-quick-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--cluster-line);
  font-size: .76rem;
}
.variant-quick-details dt { color: var(--muted); }
.variant-quick-details dd { margin: 0; font-weight: 750; text-align: right; }
.variant-quick-composition {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #f5eee8;
}
.variant-quick-composition span {
  color: var(--berry);
  font-size: .63rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.variant-quick-composition p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

.variant-faq-list { min-width: 0; }
.variant-faq details {
  overflow: hidden;
  margin: 0 0 8px;
  padding: 0;
  border: 1px solid var(--cluster-line);
  border-radius: 12px;
  background: #fff;
}
.variant-faq details:last-child { margin-bottom: 0; }
.variant-faq summary {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 14px 58px 14px 17px;
  list-style: none;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.35;
}
.variant-faq summary::-webkit-details-marker { display: none; }
.variant-faq summary::marker { content: ""; }
.variant-faq summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--cluster-line);
  border-radius: 50%;
  color: var(--berry);
  background: #f7f2eb;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
}
.variant-faq details[open] { border-color: rgba(111, 41, 77, .34); }
.variant-faq details[open] summary::after {
  content: "−";
  color: #fff;
  border-color: var(--berry);
  background: var(--berry);
}
.variant-faq details p {
  max-width: 68ch;
  margin: 0;
  padding: 0 58px 17px 17px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.variant-faq details[open] p { animation: faq-reveal 170ms ease-out; }

@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.catalog-cluster-page .site-footer,
.catalog-variant-page .site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 22px;
  padding: 50px 36px 26px;
  overflow: hidden;
  border: 1px solid var(--cluster-line);
  border-radius: 22px;
}
.catalog-cluster-page .site-footer > .container,
.catalog-variant-page .site-footer > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.catalog-cluster-page .site-footer .footer-bottom,
.catalog-variant-page .site-footer .footer-bottom { margin-top: 42px; }

@media (max-width: 1100px) {
  .variant-title-name { white-space: normal; }
}

@media (max-width: 760px) {
  #product { scroll-margin-top: 94px; }
  .variant-quick-details dl { grid-template-columns: 1fr; }
  .catalog-cluster-page .site-footer,
  .catalog-variant-page .site-footer {
    width: min(1180px, calc(100% - 24px));
    padding: 36px 22px 22px;
    border-radius: 17px;
  }
}

/* 2.4 — keep image boxes intrinsic and prevent controls from inheriting row height. */
.variant-product-card .variant-gallery-thumbs { align-items: start; }
.variant-product-card .variant-gallery-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  align-self: start;
}
.variant-product-card .variant-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.variant-related-card img,
.cluster-taste-grid img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .catalog-cluster-page,
  .catalog-variant-page { max-width: 100%; overflow-x: hidden; }
  .variant-product-card .variant-hero-copy,
  .variant-product-content,
  .variant-quick-details,
  .variant-facts dd { min-width: 0; overflow-wrap: anywhere; }
  .variant-title-name { white-space: normal !important; overflow-wrap: anywhere; }
  .variant-product-card .variant-hero-copy h1 { font-size: clamp(1.8rem, 9vw, 2.45rem); }
}
