/* RC5 master-layout candidate
   Scoped to the representative pages linked to this stylesheet. */

:root {
  --rc5-green: #2e7d32;
  --rc5-green-soft: #e9f5ea;
  --rc5-ink: #203126;
  --rc5-muted: #526057;
  --rc5-line: #dfe7df;
  --rc5-sand: #eee4d8;
  --rc5-radius: 16px;
  --rc5-shadow: 0 12px 34px rgba(25, 48, 31, .08);
}

body.product-detail-page .product-availability-card {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(45, 111, 55, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, #f3f8f2, #fbfcf8);
  color: #203629;
}

body.product-detail-page .product-availability-card .product-availability-label {
  display: block;
  margin-bottom: 6px;
  color: #2f7d39;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.product-detail-page .product-availability-card strong {
  display: block;
  font-size: 1.08rem;
}

body.product-detail-page .product-availability-card p {
  margin: 8px 0 10px;
  color: #526057;
  line-height: 1.55;
}

body {
  color: var(--rc5-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Compact Claude-style shared header. */
.topbar-row {
  min-height: 76px;
  padding: 12px 0 !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.brand {
  flex: 0 0 auto;
}

.brand img,
.topbar-row > a:first-child img {
  display: block !important;
  width: 150px !important;
  height: auto !important;
  max-height: 50px !important;
  object-fit: contain !important;
}

.top-nav {
  margin-left: 6px !important;
  gap: clamp(14px, 1.55vw, 24px) !important;
  font-size: .9rem !important;
  white-space: nowrap;
}

.header-actions {
  margin-left: auto !important;
  gap: 10px !important;
  flex-shrink: 0;
}

.rc5-search {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  min-width: 196px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rc5-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rc5-muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.rc5-search:hover,
.rc5-search:focus-visible {
  color: var(--rc5-green);
  border-color: rgba(46, 125, 50, .45);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, .08);
}

.rc5-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex: 0 0 auto;
}

.header-actions > .btn {
  min-height: 46px;
  padding-inline: 20px;
  border-radius: 10px;
}

.category-row {
  background: #e3f2e5 !important;
  border-top: 1px solid rgba(46, 125, 50, .08) !important;
  border-bottom: 1px solid rgba(46, 125, 50, .08) !important;
}

.main-categories {
  justify-content: center;
}

/* Homepage: retain four editorial cards, but show complete local assets. */
.hero-grid {
  gap: 18px !important;
}

.hero-card {
  min-height: 430px !important;
  border-radius: var(--rc5-radius) !important;
  box-shadow: var(--rc5-shadow) !important;
  border: 1px solid rgba(32, 49, 38, .05);
}

.hero-card .hero-visual {
  inset: 14px 14px 118px !important;
  width: auto !important;
  height: auto !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: none !important;
  filter: drop-shadow(0 14px 20px rgba(24, 44, 29, .12));
}

.hero-card:hover .hero-visual {
  transform: translateY(-3px) scale(1.015) !important;
}

.hero-card .hero-content {
  width: 100%;
  padding: 66px 20px 20px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9) 36%, rgba(255,255,255,.98) 100%);
}

.hero-card h2,
.hero-card h3 {
  margin: 0 0 7px;
  font-size: clamp(1.03rem, 1.25vw, 1.3rem);
  line-height: 1.17;
  max-width: 22ch;
  color: #15261b;
}

.hero-card p {
  max-width: 30ch !important;
  color: #28382e !important;
}

.hero-1 .hero-visual,
.inline-fbf888ba485d {
  background-image: url('/assets/img/produkty/clean-9-peach-vanilla-00.jpg') !important;
}

.hero-2 .hero-visual,
.inline-4af0c2f44c99 {
  background-image: url('/assets/img/produkty/forever-aloe-vera-gel-00.jpg') !important;
}

.hero-3 .hero-visual,
.inline-d3f14367202a {
  background-image: url('/assets/img/produkty/forever-argi-plus-00.jpg') !important;
}

.hero-4 .hero-visual,
.inline-123119071449 {
  background-image: url('/assets/img/produkty/business-promo-pack-00.jpg') !important;
}

.product-media img,
.prod-img-wrap img,
.prod-media img,
.card-visual img,
.blog-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Category hero and cards. */
.kat-hero {
  background: linear-gradient(180deg, #f5faf5 0%, #f8faf7 100%) !important;
}

.kat-hero__grid {
  gap: clamp(30px, 5vw, 72px) !important;
}

.kat-hero__visual {
  min-height: 290px;
  aspect-ratio: 16 / 9;
  background-color: #fff;
  background-image: url('/assets/img/produkty/4-pack-aloe-vera-mix-combo-spring-00.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid var(--rc5-line);
  box-shadow: var(--rc5-shadow) !important;
}

.kat-hero__visual img {
  object-fit: contain !important;
}

.prod-card {
  border-color: var(--rc5-line) !important;
  box-shadow: 0 6px 22px rgba(25, 48, 31, .045);
}

.prod-img-wrap,
.prod-media {
  background: linear-gradient(180deg, #fff, #f4f8f4) !important;
}

/* Product detail: original visual composition with full-frame media. */
.product-hero {
  align-items: start !important;
  gap: clamp(34px, 4.5vw, 70px) !important;
  padding-top: 8px;
}

.product-card-visual {
  border-radius: 22px !important;
  background: linear-gradient(160deg, #eef8ef, #e2f0e4) !important;
  border: 1px solid rgba(46, 125, 50, .1);
  box-shadow: 0 16px 38px rgba(25, 48, 31, .08) !important;
}

.gallery-main {
  background: #fff !important;
}

.gallery-main img,
.gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.product-hero__content h1 {
  max-width: 19ch;
  font-size: clamp(2rem, 3.4vw, 3.12rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
}

.product-hero__content .lead {
  max-width: 62ch;
  color: #48574e !important;
}

.price-block {
  border-radius: 16px;
}

.btn-eshop {
  border-radius: 11px !important;
  box-shadow: 0 10px 24px rgba(46, 125, 50, .2);
}

.two-col,
.two-col--reversed {
  gap: clamp(34px, 5vw, 72px) !important;
  align-items: center !important;
}

.product-image-panel {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  background: #fff !important;
  border: 1px solid var(--rc5-line);
  border-radius: 18px !important;
  overflow: hidden;
}

.product-image-panel img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.related-thumb {
  aspect-ratio: 1 / 1 !important;
  background: linear-gradient(180deg, #fff, #f4f8f4) !important;
  border: 1px solid var(--rc5-line);
}

.related-thumb img,
.related-thumb .inline-5f3c4a879234 {
  padding: 14px !important;
  object-fit: contain !important;
}

/* Article: keep readable Claude measure and prevent editorial-image cropping. */
.article-header h1 {
  max-width: 920px !important;
}

.content-container {
  width: min(820px, calc(100% - 32px)) !important;
}

.article-body p,
.article-body li {
  color: #344239 !important;
}

.article-hero-img,
.article-img-block,
.article-two-col__img {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  background: #fff;
  border: 1px solid var(--rc5-line);
}

.article-hero-img img,
.article-img-block img,
.article-two-col__img img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Homepage RC5.1: responsive, centered and image-led. */
body.home-page {
  overflow-x: clip;
}

body.home-page main {
  overflow-x: clip;
}

body.home-page #main-content > section:first-child h1 {
  max-width: 1040px;
  margin-inline: auto;
  line-height: 1.28;
  text-wrap: balance;
}

body.home-page .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.home-page .hero-card h2,
body.home-page .hero-card h3,
body.home-page .hero-card p {
  margin-inline: auto;
  text-align: center;
}

body.home-page .hero-card .btn-secondary {
  transform-origin: center center;
}

body.home-page .product-carousel {
  padding-right: 0;
}

body.home-page .product-track {
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
}

body.home-page .product-link,
body.home-page .product-card {
  height: 100%;
}

body.home-page .product-card {
  display: flex;
  flex-direction: column;
}

body.home-page .product-media {
  background: linear-gradient(180deg, #ffffff, #f3f7f3);
}

body.home-page .product-media .auto-hero {
  padding: clamp(12px, 1.4vw, 20px);
  object-fit: contain !important;
}

body.home-page .product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.home-page .product-meta {
  margin-top: auto;
}

body.home-page .product-slider-nav {
  position: static;
  transform: none;
  gap: 10px;
  margin-top: 16px;
}

body.home-page .slider-arrow {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 125, 50, .24);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(25, 48, 31, .08);
  font-size: 2rem;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

body.home-page .slider-arrow:hover:not(:disabled) {
  color: #fff;
  border-color: var(--rc5-green);
  background: var(--rc5-green);
  transform: translateY(-1px);
}

body.home-page .slider-arrow:focus-visible {
  outline: 3px solid rgba(46, 125, 50, .25);
  outline-offset: 2px;
}

body.home-page .slider-arrow:disabled {
  cursor: default;
  opacity: .32;
  box-shadow: none;
}

body.home-page .category-card {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  justify-content: stretch;
  gap: 13px;
  padding: 20px;
}

body.home-page .category-card .card-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 5px;
  overflow: hidden;
  border: 1px solid rgba(70, 54, 39, .06);
  border-radius: 12px;
  background: rgba(255, 255, 255, .68);
}

body.home-page .category-card .card-visual img,
body.home-page .blog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.home-page .category-card .card-visual img {
  padding: 14px;
}

body.home-page .category-card h3 {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

body.home-page .category-card p {
  width: 100%;
  margin: 0;
  color: #42382f;
  text-align: center;
}

body.home-page .category-card .btn {
  margin: 3px auto 0;
}

body.home-page .blog-media {
  overflow: hidden;
}

body.home-page .blog-media img {
  padding: clamp(20px, 3vw, 34px);
}

body.home-page .cooperation-cta {
  margin-top: 18px;
  border: 1px solid #6b4f38;
  background: #6b4f38;
  color: #fff;
  box-shadow: 0 10px 22px rgba(74, 52, 35, .18);
}

body.home-page .cooperation-cta:hover {
  border-color: #523b2b;
  background: #523b2b;
  color: #fff;
  box-shadow: 0 12px 26px rgba(74, 52, 35, .24);
  transform: translateY(-1px);
}

body.home-page .cooperation-cta:focus-visible {
  outline: 3px solid rgba(107, 79, 56, .28);
  outline-offset: 3px;
}

body.home-page .cooperation-visual {
  background-image: url('/assets/img/home/cooperation-curated-selection-lifestyle-v2.webp') !important;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1180px) {
  .rc5-search {
    min-width: 164px;
    padding-inline: 13px;
  }

  .top-nav {
    gap: 14px !important;
    font-size: .85rem !important;
  }
}

@media (max-width: 1024px) {
  .rc5-search,
  .top-nav {
    display: none !important;
  }

  .topbar-row {
    min-height: 66px;
    flex-wrap: wrap !important;
  }

  .product-hero {
    grid-template-columns: 1fr !important;
    max-width: 760px !important;
  }

  .product-hero__content h1 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .brand img,
  .topbar-row > a:first-child img {
    width: 128px !important;
    max-height: 44px !important;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-card {
    min-height: 360px !important;
  }

  .hero-card .hero-visual {
    inset: 12px 12px 128px !important;
  }

  body.home-page .category-grid {
    width: min(100%, 640px);
    grid-template-columns: 1fr !important;
    margin-inline: auto;
  }

  body.home-page .category-card {
    min-height: 0;
  }

  .kat-hero__visual {
    min-height: 0;
  }

  .two-col,
  .two-col--reversed,
  .article-two-col {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .two-col > .text-block,
  .two-col--reversed > .text-block,
  .article-two-col > :first-child {
    order: 1 !important;
  }

  .two-col > .product-image-panel,
  .two-col--reversed > .product-image-panel,
  .article-two-col > .article-two-col__img {
    order: 2 !important;
  }
}

@media (max-width: 480px) {
  .topbar-row {
    min-height: 60px;
    padding: 8px 0 !important;
  }

  .brand img,
  .topbar-row > a:first-child img {
    width: 116px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-card {
    min-height: 390px !important;
  }

  .hero-card .hero-visual {
    inset: 14px 14px 120px !important;
  }

  .hero-card .hero-content {
    padding: 62px 18px 18px !important;
  }

  .product-hero__content h1 {
    font-size: clamp(1.8rem, 9.4vw, 2.35rem) !important;
  }
}

@media (max-width: 640px) {
  body.home-page .tablet-cats {
    display: none !important;
  }

  body.home-page .topbar-row {
    flex-wrap: nowrap !important;
  }

  body.home-page #main-content > section:first-child {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
  }

  body.home-page #main-content > section:first-child h1 {
    font-size: clamp(1.08rem, 5.25vw, 1.35rem) !important;
    line-height: 1.32;
  }

  body.home-page #main-content > section:first-child h1 span {
    display: block;
    margin-top: 4px;
  }

  body.home-page .hero-card {
    min-height: 0 !important;
    justify-content: flex-start;
  }

  body.home-page .hero-card .hero-visual {
    position: relative !important;
    inset: auto !important;
    width: calc(100% - 28px) !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    margin: 14px 14px 0;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .72);
  }

  body.home-page .hero-card .hero-content {
    padding: 17px 18px 20px !important;
    background: transparent;
  }

  body.home-page .hero-card h2,
  body.home-page .hero-card h3 {
    max-width: 26ch;
    font-size: 1.2rem;
    line-height: 1.22;
  }

  body.home-page .hero-card p {
    display: block;
    max-width: 34ch !important;
    margin-bottom: 14px;
    overflow: visible;
    font-size: .95rem;
  }

  body.home-page .hero-card .btn-secondary {
    min-width: 0;
    transform: none;
  }

  body.home-page .section-head.centered h2 {
    font-size: clamp(1.35rem, 6.3vw, 1.65rem) !important;
    line-height: 1.22;
    text-wrap: balance;
  }

  body.home-page .section-head.centered h2 span {
    display: block;
    margin-top: 5px;
    font-size: .78em;
    line-height: 1.35;
  }

  body.home-page .product-track {
    grid-auto-columns: min(82vw, 320px) !important;
    gap: 14px;
  }

  body.home-page .product-media .auto-hero {
    padding: 16px;
  }

  body.home-page .product-slider-nav {
    margin-top: 14px;
  }

  body.home-page .category-card {
    display: grid !important;
    grid-template-rows: auto auto auto auto;
    align-items: stretch;
    padding: 16px;
  }

  body.home-page .category-card .card-visual {
    width: 100%;
    height: auto;
    margin: 0 0 4px;
  }

  body.home-page .category-card h3,
  body.home-page .category-card p {
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body.home-page .category-card h3 {
    font-size: 1.15rem;
  }

  body.home-page .category-card .btn {
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  body.home-page .blog-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .cooperation-hero {
    padding: 24px 18px;
  }

  body.home-page .cooperation-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body.home-page .cooperation-points span {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  body.home-page .cooperation-cta {
    width: min(100%, 230px);
    margin-inline: auto;
  }
}

@media (max-width: 380px) {
  body.home-page .brand img,
  body.home-page .topbar-row > a:first-child img {
    width: 94px !important;
  }

  body.home-page .header-actions {
    gap: 4px !important;
  }

  body.home-page .header-actions > .btn {
    min-height: 38px;
    padding-inline: 9px;
    font-size: .76rem;
  }

  body.home-page .hamburger {
    margin-left: 2px;
    padding-inline: 4px;
  }
}

/* Homepage RC5.2 visual proposal. */
body.home-page .btn {
  min-height: 44px;
  border-radius: 10px;
  padding-inline: 18px;
}

body.home-page .btn-primary {
  border-color: var(--rc5-green);
  background: var(--rc5-green);
  color: #fff;
}

body.home-page .btn-primary:hover {
  border-color: #236428;
  background: #236428;
  color: #fff;
}

body.home-page .btn-secondary {
  border-color: #d7dfd7;
  background: #fff;
  color: var(--rc5-ink);
  box-shadow: none;
}

body.home-page .btn-secondary:hover {
  border-color: #b9c8ba;
  background: #f5f8f5;
  color: var(--rc5-ink);
}

body.home-page .header-actions .btn-danger,
body.home-page .cooperation-cta {
  border-color: #6b4f38;
  background: #6b4f38;
  color: #fff;
}

body.home-page .header-actions .btn-danger:hover,
body.home-page .cooperation-cta:hover {
  border-color: #523b2b;
  background: #523b2b;
  color: #fff;
}

/* Four leading choices: two-by-two editorial composition. */
body.home-page .hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.home-page .hero-card {
  display: grid;
  min-height: 330px !important;
  grid-template-columns: minmax(190px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  justify-content: stretch;
}

body.home-page .hero-card .hero-visual {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 330px;
  border-right: 1px solid rgba(32, 49, 38, .06);
  background-color: rgba(255, 255, 255, .66);
  background-size: contain !important;
  filter: none;
}

body.home-page .hero-card .hero-content {
  justify-content: center;
  padding: 30px 28px !important;
  background: transparent;
}

body.home-page .hero-card h2,
body.home-page .hero-card h3 {
  max-width: 24ch;
  font-size: clamp(1.25rem, 1.65vw, 1.62rem);
  line-height: 1.18;
  text-wrap: balance;
}

body.home-page .hero-card p {
  display: block;
  max-width: 36ch !important;
  margin-bottom: 16px;
  overflow: visible;
  color: #38463d !important;
  font-size: .96rem;
  -webkit-line-clamp: unset;
}

body.home-page .hero-card .btn-secondary,
body.home-page .hero-card .cooperation-cta {
  min-width: 0;
  transform: none;
}

body.home-page .hero-card.hero-2 .hero-visual,
body.home-page .hero-card.hero-3 .hero-visual {
  order: 2;
  border-right: 0;
  border-left: 1px solid rgba(32, 49, 38, .06);
}

/* Fixed inner canvas: square source images are always fully visible. */
body.home-page .category-card .card-visual,
body.home-page .blog-media {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
}

body.home-page .category-card .card-visual img,
body.home-page .blog-media img {
  position: absolute !important;
  inset: 14px !important;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-page .blog-media {
  background: linear-gradient(150deg, #f5faf5, #e7f0e7);
}

body.home-page .blog-card:nth-child(2) .blog-media {
  background: linear-gradient(150deg, #fff5f5, #f6dddd);
}

body.home-page .blog-card:nth-child(3) .blog-media {
  background: linear-gradient(150deg, #fff8ea, #f3e3c4);
}

/* Lifestyle belongs in narrative banners, not in the product carousel. */
body.home-page .banner-row-2 {
  gap: 22px;
}

body.home-page .wide-banner.lifestyle-banner {
  display: grid;
  min-height: 320px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rc5-line);
  border-radius: 20px;
  background: #fff;
}

body.home-page .wide-banner-media {
  position: relative;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  background: #f4f7f4;
}

body.home-page .wide-banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.home-page .wide-banner.lifestyle-banner .banner-content {
  justify-content: center;
  padding: 32px 28px;
}

body.home-page .wide-banner.lifestyle-banner h3 {
  max-width: 22ch;
  font-size: clamp(1.25rem, 1.65vw, 1.58rem);
  text-wrap: balance;
}

body.home-page .wide-banner.lifestyle-banner p {
  max-width: 38ch;
  color: #48554d;
  text-align: center;
}

body.home-page .wide-banner.lifestyle-banner.alt .wide-banner-media {
  order: 2;
}

/* Bestsellers remain clean and commercial; editorial picks get a warmer field. */
body.home-page #bestsellers {
  padding-top: 8px;
}

body.home-page #more-products {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid #e4d6c6;
  border-radius: 24px;
  background: linear-gradient(145deg, #f7f0e8, #eee1d3);
  box-shadow: 0 16px 40px rgba(69, 49, 33, .07);
}

body.home-page #more-products .section-head {
  margin-bottom: 22px;
}

body.home-page .section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border-radius: 999px;
  background: #6b4f38;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.home-page #more-products .more-link,
body.home-page #more-products .slider-arrow {
  color: #6b4f38;
}

body.home-page #more-products .slider-arrow {
  border-color: rgba(107, 79, 56, .28);
}

body.home-page #more-products .slider-arrow:hover:not(:disabled) {
  border-color: #6b4f38;
  background: #6b4f38;
  color: #fff;
}

body.home-page #more-products .product-card {
  border: 1px solid rgba(107, 79, 56, .08);
  background: rgba(255, 255, 255, .92);
}

body.home-page #more-products .product-media {
  background: linear-gradient(180deg, #fff, #f7f1eb);
}

@media (max-width: 980px) {
  body.home-page .hero-grid {
    grid-template-columns: 1fr !important;
  }

  body.home-page .hero-card {
    grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr);
  }
}

@media (max-width: 768px) {
  body.home-page .banner-row-2 {
    grid-template-columns: 1fr;
  }

  body.home-page .wide-banner.lifestyle-banner {
    width: min(100%, 640px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  body.home-page .hero-card {
    grid-template-columns: 1fr;
  }

  body.home-page .hero-card .hero-visual,
  body.home-page .hero-card.hero-2 .hero-visual,
  body.home-page .hero-card.hero-3 .hero-visual {
    order: 0;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 11;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(32, 49, 38, .06);
    border-radius: 0;
  }

  body.home-page .hero-card .hero-content {
    padding: 22px 20px 24px !important;
  }

  body.home-page .wide-banner.lifestyle-banner {
    grid-template-columns: 1fr;
  }

  body.home-page .wide-banner-media,
  body.home-page .wide-banner.lifestyle-banner.alt .wide-banner-media {
    order: 0;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  body.home-page .wide-banner.lifestyle-banner .banner-content {
    padding: 24px 20px 26px;
  }

  body.home-page #more-products {
    width: calc(100% - 24px);
    padding: 24px 14px;
  }
}

@media (max-width: 380px) {
  body.home-page .header-actions > .btn {
    min-height: 38px;
    padding-inline: 9px;
    font-size: .76rem;
  }
}

/* Homepage composition v4: image-led, product-only entry cards. */
body.home-page .hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.home-page .hero-card {
  display: grid;
  min-height: 0 !important;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  background: #fff;
}

body.home-page .hero-card .hero-visual,
body.home-page .hero-card.hero-2 .hero-visual,
body.home-page .hero-card.hero-3 .hero-visual {
  position: relative !important;
  inset: auto !important;
  order: 0;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 1px solid rgba(32, 49, 38, .06);
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: none;
}

body.home-page .hero-card .hero-content {
  justify-content: flex-start;
  padding: 22px 24px 24px !important;
  background: #fff;
}

body.home-page .hero-card h2,
body.home-page .hero-card h3 {
  max-width: 30ch;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

body.home-page .hero-card p {
  display: block;
  max-width: 46ch !important;
  margin-bottom: 16px;
  overflow: visible;
  -webkit-line-clamp: unset;
}

body.home-page .hero-card .btn-secondary {
  min-width: 138px;
  margin-top: auto;
  transform: none;
}

body.home-page .hero-1 .hero-visual,
body.home-page .inline-fbf888ba485d {
  background-color: #f4eee9;
  background-image: url('/assets/img/home/hero-clean9-f15-lifestyle-v2.webp') !important;
  background-size: cover !important;
}

body.home-page .hero-2 .hero-visual,
body.home-page .inline-4af0c2f44c99 {
  background-color: #edf5e9;
  background-image: url('/assets/img/home/hero-aloe-drinks-lifestyle-v2.webp') !important;
  background-size: cover !important;
}

body.home-page .hero-3 .hero-visual,
body.home-page .inline-d3f14367202a {
  background-color: #f8eeee;
  background-image: url('/assets/img/home/hero-argi-plus-lifestyle-v2.webp') !important;
  background-size: cover !important;
}

body.home-page .hero-4 .hero-visual,
body.home-page .inline-123119071449 {
  background-color: #eef7f5;
  background-image: url('/assets/img/home/hero-skincare-lifestyle-v2.webp') !important;
  background-size: cover !important;
}

/* Generated assets match the card canvas and need no artificial inner frame. */
body.home-page .category-card .card-visual img,
body.home-page .blog-media img {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.home-page .blog-media {
  aspect-ratio: 16 / 9;
}

/* Both narrative banners now lead to guides and use one CTA style. */
body.home-page .wide-banner.lifestyle-banner .btn-secondary {
  min-width: 154px;
}

/* Editorial selection remains distinct while staying inside the green brand. */
body.home-page #more-products {
  border-color: #cce2ce;
  background: linear-gradient(145deg, #f1f9f1, #dcefdc);
  box-shadow: 0 16px 40px rgba(38, 91, 43, .08);
}

body.home-page .section-kicker {
  background: #2e7d32;
}

body.home-page #more-products .more-link,
body.home-page #more-products .slider-arrow {
  color: #2e7d32;
}

body.home-page #more-products .slider-arrow {
  border-color: rgba(46, 125, 50, .28);
}

body.home-page #more-products .slider-arrow:hover:not(:disabled) {
  border-color: #2e7d32;
  background: #2e7d32;
}

body.home-page #more-products .product-card {
  border-color: rgba(46, 125, 50, .1);
}

body.home-page #more-products .product-media {
  background: linear-gradient(180deg, #fff, #edf6ed);
}

/* Each card fills its carousel column, eliminating phantom mobile gaps. */
body.home-page .product-track {
  align-items: stretch;
}

body.home-page .product-track > .product-link,
body.home-page .product-link,
body.home-page .product-card {
  width: 100% !important;
  max-width: none !important;
}

body.home-page .product-track > .product-link {
  display: block !important;
  justify-self: stretch;
  padding-block: 0;
}

@media (min-width: 1101px) {
  body.home-page .product-track {
    grid-auto-columns: calc((100% - 60px) / 4) !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  body.home-page .product-track {
    grid-auto-columns: calc((100% - 32px) / 3) !important;
    gap: 16px !important;
  }
}

@media (min-width: 521px) and (max-width: 768px) {
  body.home-page #bestsellers .product-track,
  body.home-page #more-products .product-track {
    grid-auto-columns: calc((100% - 24px) / 3) !important;
    gap: 12px !important;
  }
}

@media (max-width: 520px) {
  body.home-page #bestsellers .product-track,
  body.home-page #more-products .product-track {
    grid-auto-columns: calc((100% - 16px) / 3) !important;
    gap: 8px !important;
  }
}

@media (max-width: 768px) {
  body.home-page #bestsellers .product-body,
  body.home-page #more-products .product-body {
    padding: 11px !important;
  }

  body.home-page #bestsellers .product-title,
  body.home-page #more-products .product-title {
    min-height: 2.5em !important;
    margin-bottom: 6px;
    font-size: .82rem !important;
    line-height: 1.25;
  }

  body.home-page #bestsellers .product-text,
  body.home-page #more-products .product-text {
    min-height: 2.7em;
    margin-bottom: 8px;
    font-size: .76rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  body.home-page #bestsellers .product-meta,
  body.home-page #more-products .product-meta {
    gap: 6px;
  }

  body.home-page #bestsellers .price,
  body.home-page #more-products .price {
    white-space: nowrap;
    font-size: .78rem;
  }

  body.home-page #bestsellers .product-meta .btn,
  body.home-page #more-products .product-meta .btn {
    min-height: 30px;
    padding-inline: 9px;
    font-size: .75rem;
  }
}

/* Mobile homepage: three compact product cards and stable full-width guide imagery. */
@media (max-width: 640px) {
  body.home-page #bestsellers .product-body,
  body.home-page #more-products .product-body {
    padding: 8px !important;
  }

  body.home-page #bestsellers .product-title,
  body.home-page #more-products .product-title {
    min-height: 2.6em !important;
    margin-bottom: 4px;
    font-size: .76rem !important;
    line-height: 1.3;
  }

  body.home-page #bestsellers .product-text,
  body.home-page #more-products .product-text {
    display: none !important;
  }

  body.home-page #bestsellers .product-meta,
  body.home-page #more-products .product-meta {
    gap: 4px;
  }

  body.home-page #bestsellers .product-meta,
  body.home-page #more-products .product-meta {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
  }

  body.home-page #bestsellers .price,
  body.home-page #more-products .price {
    width: 100%;
    text-align: center;
  }

  body.home-page #bestsellers .price,
  body.home-page #bestsellers .product-meta .btn,
  body.home-page #more-products .price,
  body.home-page #more-products .product-meta .btn {
    font-size: .75rem;
  }

  body.home-page #bestsellers .product-meta .btn,
  body.home-page #more-products .product-meta .btn {
    min-height: 28px;
    padding-inline: 7px;
  }

  body.home-page #bestsellers .product-meta .btn,
  body.home-page #more-products .product-meta .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  body.home-page #bestsellers .hp-badge,
  body.home-page #more-products .hp-badge {
    left: 50%;
    max-width: calc(100% - 8px);
    padding: 3px 5px;
    transform: translateX(-50%);
    font-size: clamp(.58rem, 2.7vw, .7rem);
    white-space: nowrap;
  }

  body.home-page #novinky .wide-banner.lifestyle-banner {
    display: grid !important;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  body.home-page #novinky .wide-banner-media,
  body.home-page #novinky .wide-banner.lifestyle-banner.alt .wide-banner-media {
    order: 0 !important;
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2;
  }

  body.home-page #novinky .wide-banner-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body.home-page #novinky .wide-banner.lifestyle-banner .banner-content {
    order: 1 !important;
    grid-column: 1 / -1;
    width: 100%;
  }

  body.home-page #poradna .blog-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  body.home-page #poradna .blog-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

@media (max-width: 980px) {
  body.home-page .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.home-page .hero-card .hero-visual,
  body.home-page .hero-card.hero-2 .hero-visual,
  body.home-page .hero-card.hero-3 .hero-visual {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 0;
  }

  body.home-page .hero-card .hero-content {
    padding: 20px 18px 22px !important;
  }

  body.home-page .hero-card p {
    font-size: .92rem;
  }

  body.home-page .category-card .card-visual {
    aspect-ratio: 16 / 9;
  }
}

/* Compact global footer candidate — explicit post-lock homepage exception. */
footer {
  position: relative;
  margin-top: 48px !important;
  padding: 32px 0 20px !important;
  overflow: hidden;
  border-top: 1px solid rgba(46, 125, 50, .16);
  background: linear-gradient(135deg, #f1f8f1 0%, #e5f1e6 58%, #dceadd 100%) !important;
  color: #243b2a !important;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #2e7d32 0%, #79a944 58%, #6b4f38 100%);
}

footer > .container {
  width: min(1160px, calc(100% - 32px));
}

footer .footer-grid {
  grid-template-columns: minmax(250px, 1.2fr) minmax(120px, .62fr) minmax(250px, 1fr) minmax(190px, .82fr) !important;
  gap: clamp(22px, 3vw, 44px) !important;
  align-items: start;
}

footer .footer-grid > div:first-child {
  max-width: 330px;
}

footer .inline-31befc1ea171 {
  width: 154px !important;
  height: auto !important;
  margin: 0 0 10px !important;
}

footer .footer-grid > div:first-child p {
  max-width: 34ch;
  margin: 0;
  color: #4a5c4f;
  font-size: .86rem;
  line-height: 1.55;
}

footer .footer-title {
  margin: 4px 0 11px !important;
  color: #2e6f35 !important;
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: left !important;
  text-transform: uppercase;
}

footer .footer-list {
  gap: 6px !important;
  text-align: left !important;
}

footer .footer-list a {
  min-height: 24px !important;
  padding-block: 1px;
  color: #314738;
  font-size: .86rem;
  line-height: 1.35;
}

footer .footer-list a:hover {
  color: #1f6f2a !important;
  transform: translateX(2px);
}

footer .footer-grid > div:nth-child(3) .footer-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px !important;
}

footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px !important;
  padding-top: 15px !important;
  border-top-color: rgba(46, 111, 53, .17) !important;
  color: #526458 !important;
  font-size: .78rem !important;
  text-align: left !important;
}

footer .footer-legal {
  gap: 16px;
}

footer .footer-legal a:hover {
  color: #1f6f2a;
}

@media (max-width: 980px) {
  footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 34px !important;
  }

  footer .footer-grid > div:first-child {
    max-width: none;
  }
}

@media (max-width: 560px) {
  footer {
    margin-top: 36px !important;
    padding: 28px 0 18px !important;
  }

  footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  footer .footer-grid > div:nth-child(3) .footer-list {
    column-gap: 14px !important;
  }

  footer .footer-bottom {
    align-items: flex-start;
    margin-top: 20px !important;
  }
}

/* Visible homepage SEO copy — explicit post-lock homepage exception. */
body.home-page .home-seo-copy {
  padding: clamp(42px, 5vw, 66px) 0;
  border-top: 1px solid rgba(46, 125, 50, .12);
  background: #fbfcfa;
}

body.home-page .home-seo-copy__inner {
  width: min(1080px, calc(100% - 32px));
}

body.home-page .home-seo-copy h2 {
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 32px);
  color: #203d27;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
  text-align: center;
}

body.home-page .home-seo-copy__text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
}

body.home-page .home-seo-copy p {
  margin: 0;
  color: #4d5e52;
  font-size: .95rem;
  line-height: 1.75;
}

body.home-page .home-seo-copy a {
  color: #246d2e;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(36, 109, 46, .28);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.home-page .home-seo-copy a:hover {
  color: #6b4f38;
  text-decoration-color: currentColor;
}

@media (max-width: 720px) {
  body.home-page .home-seo-copy {
    padding: 38px 0 42px;
  }

  body.home-page .home-seo-copy__text {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Product detail master candidate — scoped to the representative product set. */
body.product-detail-page main {
  overflow: clip;
}

body.product-detail-page .breadcrumb {
  padding-top: 16px;
  color: #627067;
  font-size: .8rem;
}

body.product-detail-page .product-hero {
  grid-template-columns: minmax(360px, .94fr) minmax(0, 1.06fr) !important;
  gap: clamp(38px, 5vw, 72px) !important;
  padding: 22px 0 58px !important;
}

body.product-detail-page .product-hero__media {
  position: sticky;
  top: 92px;
}

body.product-detail-page .product-card-visual {
  padding: clamp(14px, 2vw, 20px) !important;
  border: 1px solid rgba(46, 125, 50, .14) !important;
  border-radius: 22px !important;
  background: linear-gradient(155deg, #eef7ef 0%, #e4f0e6 100%) !important;
  box-shadow: 0 18px 44px rgba(28, 52, 34, .09) !important;
}

body.product-detail-page .gallery-main {
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  border: 1px solid rgba(35, 69, 42, .08);
  border-radius: 15px !important;
  cursor: default;
}

body.product-detail-page .gallery-main img {
  box-sizing: border-box;
  padding: clamp(18px, 4vw, 40px);
}

body.product-detail-page .gallery-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 1px 1px 2px;
  scrollbar-width: thin;
}

body.product-detail-page .gallery-thumb {
  flex: 0 0 72px;
  border: 1px solid rgba(35, 69, 42, .12);
  border-radius: 10px;
  background: #fff;
}

body.product-detail-page .gallery-thumb.active,
body.product-detail-page .gallery-thumb:hover {
  border-color: #2e7d32;
  box-shadow: 0 0 0 1px #2e7d32;
}

body.product-detail-page .gallery-thumb img {
  box-sizing: border-box;
  padding: 6px;
}

body.product-detail-page .product-hero__content {
  padding-top: 10px;
}

body.product-detail-page .product-hero__content .eyebrow {
  margin-bottom: 14px;
  color: #2e7436;
  font-size: .8rem;
}

body.product-detail-page .product-hero__content h1 {
  max-width: 20ch;
  margin-bottom: 17px;
  color: #1d3523;
  font-size: clamp(2.15rem, 3.45vw, 3.2rem) !important;
  line-height: 1.04 !important;
}

body.product-detail-page .product-hero__content .lead {
  max-width: 60ch;
  margin-bottom: 18px;
  color: #526057 !important;
  font-size: 1rem;
  line-height: 1.65;
}

body.product-detail-page .benefits-list {
  gap: 9px;
  margin: 18px 0 20px;
}

body.product-detail-page .benefits-list li {
  font-size: .95rem;
  line-height: 1.48;
}

body.product-detail-page .benefit-check {
  width: 21px;
  height: 21px;
  color: #2e7d32;
  font-size: .75rem;
  font-weight: 900;
}

body.product-detail-page .price-block {
  margin: 18px 0 14px;
  padding: 18px 20px;
  border-color: rgba(46, 125, 50, .18);
  border-radius: 15px;
  background: #f2f8f2;
}

body.product-detail-page .price-block .inline-43ec43836255,
body.product-detail-page .price-block > .inline-31ed7b3a098d:first-child {
  color: #1d3523 !important;
  font-size: clamp(1.7rem, 3vw, 2.15rem) !important;
  font-weight: 850 !important;
  line-height: 1.1;
}

body.product-detail-page .price-block .inline-34ba630d7c19 {
  margin-top: 4px;
  color: #68746c !important;
  font-size: .78rem !important;
}

body.product-detail-page .price-block .inline-74120396a701 {
  margin-top: 9px;
  color: #3d6044 !important;
  font-size: .88rem !important;
  line-height: 1.45;
}

body.product-detail-page .btn-eshop {
  min-height: 56px;
  margin-bottom: 7px;
  border-radius: 11px !important;
  background: #2e7d32;
  font-size: 1rem;
  box-shadow: 0 11px 25px rgba(46, 125, 50, .22);
}

body.product-detail-page .btn-eshop:hover {
  background: #236828;
}

body.product-detail-page .btn-eshop-sub {
  margin: 0 0 14px;
  font-size: .78rem;
}

body.product-detail-page .inline-1fa9638723da,
body.product-detail-page .btn-eshop-note {
  margin: 0 0 17px !important;
  color: #637067 !important;
  font-size: .78rem !important;
  line-height: 1.55;
  text-align: left !important;
}

body.product-detail-page .trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 13px 0 0;
}

body.product-detail-page .trust-badge {
  min-width: 0;
  gap: 6px;
  padding: 2px 8px;
}

body.product-detail-page .trust-badge::before {
  content: "✓";
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 125, 50, .11);
  color: #2e7d32;
  font-size: .7rem;
  font-weight: 900;
}

body.product-detail-page .trust-badge-icon {
  display: none;
}

body.product-detail-page .trust-badge-text {
  color: #58655c;
  font-size: .72rem;
  line-height: 1.35;
}

body.product-detail-page .price-verification-note,
body.product-detail-page .compliance-notice--product {
  width: min(1160px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

body.product-detail-page .price-verification-note {
  margin-top: -32px;
  margin-bottom: 16px;
  color: #6c776f;
  font-size: .78rem;
  line-height: 1.5;
}

body.product-detail-page .compliance-notice--product {
  margin-bottom: 6px;
  border-radius: 12px;
}

body.product-detail-page .section {
  padding: clamp(46px, 6vw, 76px) 0;
}

body.product-detail-page .section-soft {
  background: #f4f8f4 !important;
}

body.product-detail-page .section-grid--4 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

body.product-detail-page .info-card {
  flex: 0 1 calc((100% - 48px) / 4);
  min-width: 215px;
  padding: 22px;
  border: 1px solid rgba(35, 69, 42, .08);
  box-shadow: 0 7px 24px rgba(28, 52, 34, .055);
}

/* Aloe Gel visual candidate: compact premium key-fact strip. */
body.product-detail-page .product-key-facts {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 64px) 0 !important;
  border-block: 1px solid rgba(45, 105, 54, .08);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .8) 0, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, #eef6ef 0%, #e3efe5 52%, #dceadd 100%) !important;
}

body.product-detail-page .product-key-facts .section-grid--4 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
  gap: 18px;
}

body.product-detail-page .product-key-facts .info-card {
  position: relative;
  min-width: 0;
  padding: 25px 25px 27px;
  overflow: hidden;
  border: 1px solid rgba(39, 94, 48, .1);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .98), rgba(251, 253, 251, .94));
  box-shadow: 0 13px 30px rgba(30, 65, 37, .085);
}

body.product-detail-page .product-key-facts .info-card::after {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2f7d38, #6eae61);
  content: "";
}

body.product-detail-page .product-fact-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

body.product-detail-page .product-fact-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #2f7d38;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 7px 16px rgba(47, 125, 56, .2);
}

body.product-detail-page .product-fact-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf6ed;
  color: #2f6e37;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.product-detail-page .product-key-facts .info-card h3 {
  margin: 0 0 10px;
  color: #1e3c25;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.28;
}

body.product-detail-page .product-key-facts .info-card p {
  margin: 0;
  color: #526057;
  font-size: .95rem;
  line-height: 1.65;
}

body.product-detail-page .compliance-notice--after-usage {
  margin: clamp(8px, 2vw, 20px) auto clamp(20px, 4vw, 42px);
  border-color: rgba(47, 125, 56, .13);
  background: #f7faf7;
}

@media (max-width: 900px) {
  body.product-detail-page .product-key-facts .section-grid--4 {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  body.product-detail-page .product-key-facts .info-card {
    padding: 22px;
  }

  body.product-detail-page .product-fact-meta {
    margin-bottom: 18px;
  }
}

body.product-detail-page .lux-grid.lux-grid-4,
body.product-detail-page .lux-grid.lux-grid-3 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px !important;
}

body.product-detail-page .lux-grid.lux-grid-4 > .lux-card {
  flex: 0 1 calc((100% - 48px) / 4);
}

body.product-detail-page .lux-grid.lux-grid-3 > .lux-card {
  flex: 0 1 calc((100% - 32px) / 3);
}

body.product-detail-page .two-col,
body.product-detail-page .two-col--reversed {
  direction: ltr !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.04fr) !important;
  gap: clamp(36px, 5.5vw, 76px) !important;
  align-items: center !important;
}

body.product-detail-page .text-block h2,
body.product-detail-page .section-head h2,
body.product-detail-page .section-header h2 {
  color: #203d27;
}

body.product-detail-page .text-block p,
body.product-detail-page .prose p,
body.product-detail-page .prose li {
  color: #46554b;
  font-size: 1rem;
  line-height: 1.72;
}

body.product-detail-page .product-image-panel {
  aspect-ratio: 3 / 2 !important;
  min-height: 0 !important;
  border: 1px solid rgba(35, 69, 42, .1);
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(28, 52, 34, .08) !important;
}

body.product-detail-page .product-image-panel img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Preserve approved square editorial art in a 3:2 panel without cropping the
   product. A soft, enlarged copy fills the side space; the original stays whole. */
body.product-detail-page .product-image-panel--fit-fill {
  position: relative;
  isolation: isolate;
  background: #eef4ee !important;
}

body.product-detail-page .product-image-panel--fit-fill::before {
  position: absolute;
  z-index: -1;
  inset: -18px;
  background-image: linear-gradient(rgba(255, 255, 255, .32), rgba(255, 255, 255, .32)), var(--panel-bg);
  background-position: center;
  background-size: cover;
  filter: blur(16px) saturate(.88);
  transform: scale(1.05);
  content: "";
}

body.product-detail-page .product-image-panel--fit-fill > img {
  position: relative;
  z-index: 1;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 22px rgba(25, 48, 30, .08));
}

/* Generated Freedom scenes are backgrounds only. The branded product is the
   original packshot, layered above without generative alteration. */
body.product-detail-page .product-composite-panel {
  position: relative;
  isolation: isolate;
}

body.product-detail-page .product-composite-panel .product-composite-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.product-detail-page .product-composite-panel .product-composite-packshot {
  position: absolute;
  z-index: 1;
  top: 8%;
  bottom: 7%;
  width: auto !important;
  height: 85% !important;
  object-fit: contain !important;
  border: 1px solid rgba(35, 69, 42, .1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(20, 40, 25, .2);
}

body.product-detail-page .product-composite-panel--right .product-composite-packshot {
  right: 12%;
}

body.product-detail-page .product-composite-panel--left .product-composite-packshot {
  left: 12%;
}

body.product-detail-page .product-image-panel--packshot {
  background: linear-gradient(145deg, #fff 0%, #f2f7f2 100%) !important;
}

body.product-detail-page .product-image-panel--packshot img {
  box-sizing: border-box;
  padding: clamp(18px, 3vw, 40px);
  object-fit: contain !important;
}

/* Conditional product-to-article recommendations. The section is rendered only
   on products with a verified editorial relationship. */
body.product-detail-page .product-articles {
  margin-top: clamp(34px, 5vw, 58px);
}

body.product-detail-page .product-article-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

body.product-detail-page .product-article-card {
  display: flex;
  flex: 0 1 calc((100% - 36px) / 3);
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(35, 69, 42, .1);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 52, 34, .07);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

body.product-detail-page .product-article-card:only-child {
  flex-basis: min(560px, 100%);
}

body.product-detail-page .product-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(28, 52, 34, .11);
}

body.product-detail-page .product-article-media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #eef5ee;
}

body.product-detail-page .product-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

body.product-detail-page .product-article-media .product-article-image--contain {
  padding: 8px;
  background: linear-gradient(145deg, #f6faf6, #e8f1e8);
  object-fit: contain;
}

body.product-detail-page .product-article-card:hover .product-article-media img {
  transform: scale(1.025);
}

body.product-detail-page .product-article-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 20px 21px;
}

body.product-detail-page .product-article-type {
  margin-bottom: 8px;
  color: #2f7d38;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.product-detail-page .product-article-card h3 {
  margin: 0 0 9px;
  color: #203d27;
  font-size: 1.08rem;
  line-height: 1.25;
}

body.product-detail-page .product-article-card p {
  margin: 0 0 16px;
  color: #536057;
  font-size: .9rem;
  line-height: 1.58;
}

body.product-detail-page .product-article-link {
  margin-top: auto;
  color: #2f7d38;
  font-size: .88rem;
  font-weight: 750;
}

body.product-detail-page .product-article-grid--single {
  grid-template-columns: minmax(0, 500px);
  justify-content: center;
}

@media (max-width: 900px) {
  body.product-detail-page .product-article-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 600px) {
  body.product-detail-page .product-article-card,
  body.product-detail-page .product-article-card:only-child {
    flex-basis: 100%;
  }
}

body.product-detail-page .related-grid-4 {
  gap: 16px;
}

body.product-detail-page .related-product {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(35, 69, 42, .08);
  box-shadow: 0 7px 24px rgba(28, 52, 34, .055);
}

body.product-detail-page .related-thumb,
body.product-detail-page .related-thumb.inline-0e9501e4a237 {
  aspect-ratio: 1 / 1 !important;
  margin-bottom: 13px;
  background: linear-gradient(180deg, #fff 0%, #f2f7f2 100%) !important;
}

body.product-detail-page .related-thumb img,
body.product-detail-page .related-thumb .inline-5f3c4a879234 {
  box-sizing: border-box;
  padding: 13px !important;
  object-fit: contain !important;
}

body.product-detail-page .related-product h3 {
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  body.product-detail-page .product-hero {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  body.product-detail-page .product-hero__media {
    position: static;
    width: min(100%, 660px);
    margin-inline: auto;
  }

  body.product-detail-page .product-hero__content {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  body.product-detail-page .product-hero__content h1 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  body.product-detail-page .product-hero {
    padding-bottom: 46px !important;
  }

  body.product-detail-page .two-col,
  body.product-detail-page .two-col--reversed {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.product-detail-page .two-col > .text-block,
  body.product-detail-page .two-col--reversed > .text-block {
    order: 1 !important;
  }

  body.product-detail-page .two-col > .product-image-panel,
  body.product-detail-page .two-col--reversed > .product-image-panel {
    order: 2 !important;
  }

  body.product-detail-page .section-grid--4 > .info-card,
  body.product-detail-page .lux-grid.lux-grid-4 > .lux-card,
  body.product-detail-page .lux-grid.lux-grid-3 > .lux-card {
    flex-basis: calc((100% - 16px) / 2);
    min-width: min(100%, 240px);
  }

  body.product-detail-page .related-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }
}

@media (max-width: 480px) {
  body.product-detail-page .breadcrumb {
    padding-top: 12px;
  }

  body.product-detail-page .product-hero {
    gap: 24px !important;
    padding: 12px 0 38px !important;
  }

  body.product-detail-page .product-card-visual {
    padding: 11px !important;
    border-radius: 17px !important;
  }

  body.product-detail-page .gallery-main img {
    padding: 15px;
  }

  body.product-detail-page .gallery-thumb {
    flex-basis: 62px;
  }

  body.product-detail-page .product-hero__content h1 {
    font-size: clamp(1.78rem, 8.9vw, 2.2rem) !important;
  }

  body.product-detail-page .benefits-list li {
    font-size: .91rem;
  }

  body.product-detail-page .price-block {
    padding: 16px;
  }

  body.product-detail-page .trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 13px;
  }

  body.product-detail-page .trust-badge:nth-child(2) {
    border-right: 0;
  }

  body.product-detail-page .price-verification-note {
    margin-top: -22px;
  }

  body.product-detail-page .section {
    padding: 42px 0;
  }

  body.product-detail-page .section-grid--4 > .info-card,
  body.product-detail-page .lux-grid.lux-grid-4 > .lux-card,
  body.product-detail-page .lux-grid.lux-grid-3 > .lux-card {
    flex-basis: 100%;
    min-width: 0;
  }

  body.product-detail-page .related-product {
    padding: 11px;
  }

  body.product-detail-page .related-thumb img,
  body.product-detail-page .related-thumb .inline-5f3c4a879234 {
    padding: 9px !important;
  }

  body.product-detail-page .related-product h3 {
    font-size: .9rem;
  }
}
/* Keep product-card actions intact beside longer archive status labels. */
.prod-card .prod-footer > .prod-link {
  flex: 0 0 auto;
  min-inline-size: max-content;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.prod-card .prod-footer > .prod-price-cat {
  min-inline-size: 0;
}

/* Prelaunch: readable safety and operator information. */
.biocide-warning { font-size: .875rem; line-height: 1.5; color: #34453a; margin: .75rem 0; }
.operator-contact { font-size: .875rem; line-height: 1.6; margin-top: .75rem; }
