:root{--product-ink:#252019;--product-cream:#fffaf2;--product-line:#e9ddc9}

/* Give every packshot a reserved area below the Black Friday ribbon. */
.product-card .product-image{height:302px;flex:none;background:#f8f7f5}
.product-card .product-image .photo-front,.product-card .product-image .photo-angle{inset:44px 7% 16px;width:86%;height:calc(100% - 60px);object-fit:contain;object-position:center}
.product-card.compact-packshot .product-image .photo-front{transform:scale(1.18)}
.product-card .product-image .kit-product-composite{padding:48px 18px 18px}
.product-card .product-image .kit-product-composite img{height:100%;max-width:34%;width:34%;object-fit:contain}
.product-card .product-copy{padding:20px;gap:0}
.product-card .product-copy h3{min-height:50px;margin:10px 0 16px;line-height:1.3}
.product-card .product-copy .btn{margin-top:16px}

/* The search page uses its own card markup. */
.card .search-photo{height:282px;background:#f8f7f5}
.card .search-photo img{inset:42px 8% 16px;width:84%;height:calc(100% - 58px);object-fit:contain}
.card .search-photo img.photo-angle{object-fit:contain}
.card h2{margin:16px 0;min-height:76px}

/* Product information reads as a storefront editorial panel, then a clear offer. */
.detail{gap:clamp(28px,4vw,56px)}
.purchase-panel{padding:clamp(22px,3vw,34px);border:1px solid var(--product-line);border-radius:18px;background:#fff;box-shadow:0 12px 36px #4026000b}
.purchase-panel .eyebrow{font-size:11px;letter-spacing:.17em}
.detail h1{font-size:clamp(31px,3.1vw,43px);letter-spacing:-.025em;line-height:1.1;margin:12px 0 22px;color:var(--product-ink)}
.product-info-kicker{display:block;margin-bottom:7px;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#925600}
.product-description{margin:0 0 22px;max-width:62ch;font-size:16px;line-height:1.68;color:#453b2b}
.product-quick-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:4px 0 30px;padding:14px 0;border-top:1px solid var(--product-line);border-bottom:1px solid var(--product-line)}
.product-quick-facts>div{padding:9px 0}
.product-quick-facts>div:last-child:nth-child(odd){grid-column:1/-1}
.product-quick-facts span{display:block;margin-bottom:4px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8b6740}
.product-quick-facts strong{display:block;font-size:14px;font-weight:600;line-height:1.45;color:#29251e}
.product-benefits{margin:0 0 32px}
.product-benefits h2{margin:0 0 14px;font-size:19px;letter-spacing:-.015em;color:var(--product-ink)}
.product-benefits ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
.product-benefits li{position:relative;padding:10px 0 10px 24px;border-top:1px solid #f0e8db;color:#453b2b;line-height:1.45}
.product-benefits li+li{margin-top:0}
.product-benefits li:before{content:'✦';position:absolute;left:0;top:10px;color:#d48000;font-size:14px}
.black-offer-banner{position:relative;overflow:hidden;display:grid;gap:5px;padding:20px 22px;border-radius:14px;background:#262019;color:#fffaf1}
.black-offer-banner:after{content:'✦';position:absolute;right:17px;top:-22px;color:#ee9200;font-size:90px;line-height:1;opacity:.22}
.black-offer-banner span{position:relative;z-index:1;color:#ffba4f;font-size:11px;font-weight:900;letter-spacing:.13em}
.black-offer-banner strong{position:relative;z-index:1;font-size:20px;line-height:1.2}
.black-offer-banner small{position:relative;z-index:1;color:#e5d9c9;font-size:13px}
.no-discount .black-offer-banner{display:none}
.purchase-panel .tiers{gap:12px;margin:18px 0 22px}
.purchase-panel .tier{position:relative;min-height:88px;padding:17px 18px;border-color:#e7ded0;border-radius:12px;transition:border-color .18s,box-shadow .18s,background .18s}
.purchase-panel .tier:hover{border-color:#dd9a2a}
.purchase-panel .tier:has(input:checked){border:2px solid #ee9200;background:#fffaf0;box-shadow:0 5px 17px #b36c0016}
.purchase-panel .tier>span>strong{font-size:16px;color:#2d261c}
.purchase-panel .tier-price{font-size:21px;line-height:1.1;color:#13723a}
.purchase-panel .tier-price .old-price{font-size:12px}
.purchase-panel .tier-unit-price{line-height:1.4}
.purchase-panel #add-cart{min-height:54px;border-radius:9px;font-size:16px}
.purchase-panel>.muted{font-size:13px;line-height:1.5}
.specifications{margin-top:26px}
.kit-card-image{padding:42px 12px 18px;min-height:214px}
.kit-card-image img{height:175px}
.kit-card-image{min-height:230px;padding:0;background:#c8c7ca}
.kit-card-image img{display:block;width:100%;max-width:100%;height:230px;margin:0;object-fit:cover;filter:none}
.product-card.kit-product-card .product-image{background:#c8c7ca!important}
.product-card.kit-product-card .product-image .photo-front{inset:0;width:100%;height:100%;object-fit:cover}

@media(max-width:900px){.product-card .product-image{height:270px}.card .search-photo{height:260px}.detail{gap:26px}.purchase-panel{padding:22px}}
@media(max-width:650px){.product-card .product-image{height:215px}.product-card .product-image .photo-front,.product-card .product-image .photo-angle{inset:33px 6% 10px;width:88%;height:calc(100% - 43px)}.product-card.kit-product-card .product-image{height:190px}.product-card.kit-product-card .product-image .photo-front{inset:0;width:100%;height:100%;object-fit:cover}.product-card .product-image .kit-product-composite{padding:38px 8px 12px}.product-card .product-copy{padding:14px}.product-card .product-copy h3{min-height:56px;margin:8px 0 12px}.card .search-photo{height:190px}.card .search-photo img{inset:31px 6% 10px;width:88%;height:calc(100% - 41px)}.card h2{min-height:60px}.purchase-panel{border:0;padding:4px 0 28px;border-radius:0;box-shadow:none}.detail h1{font-size:31px}.product-quick-facts{grid-template-columns:1fr}.product-quick-facts>div:last-child:nth-child(odd){grid-column:auto}.black-offer-banner{padding:18px}.purchase-panel .tier{min-height:81px;padding:13px}.purchase-panel .tier-price{font-size:18px}.kit-card-image{min-height:190px;padding:0}.kit-card-image img{height:190px}}
@media(max-width:650px){.detail{display:flex;flex-direction:column;gap:0}.detail-media{display:contents}.detail-gallery{order:0;width:100%}.purchase-panel{order:1;width:100%;margin-top:22px}.specifications{order:2;width:100%;margin-top:12px}}

/* As capas quadradas dos kits precisam de uma área quadrada para não perder os frascos nas bordas. */
.kit-card-image{position:relative;display:block;aspect-ratio:1;min-height:0;height:auto;padding:0;overflow:hidden;background:#c8c7ca}
.kit-card-image img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain;filter:none;transition:opacity .28s ease}
.kit-card-image .photo-angle{opacity:0}
.product-card.kit-product-card .product-image{aspect-ratio:1;height:auto;background:#c8c7ca!important}
.product-card.kit-product-card .product-image .photo-front,.product-card.kit-product-card .product-image .photo-angle{inset:0;width:100%;height:100%;object-fit:contain}
@media(hover:hover){.kit-card.has-alternate:hover .kit-card-image .photo-front,.kit-card.has-alternate:focus-within .kit-card-image .photo-front{opacity:0}.kit-card.has-alternate:hover .kit-card-image .photo-angle,.kit-card.has-alternate:focus-within .kit-card-image .photo-angle{opacity:1}}
@media(prefers-reduced-motion:reduce){.kit-card-image img{transition:none}}

/* Cards inteiros clicáveis com uma ampliação discreta em ambas as vitrines. */
.product-card,.kit-card{position:relative;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.product-card:hover,.product-card:focus-visible,.product-card:focus-within,.kit-card:hover,.kit-card:focus-visible,.kit-card:focus-within{z-index:2;transform:scale(1.025);box-shadow:0 16px 30px #3c270028}
.product-card:focus-visible,.kit-card:focus-visible{outline:2px solid #d98400;outline-offset:2px}

/* Destaques: seis produtos por vez no computador e um carrossel progressivo. */
.featured-heading-actions{display:flex;align-items:center;gap:16px}
.featured-heading-actions>a{color:#925600;font-weight:800;font-size:14px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.home-featured #featured{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:12px 8px 24px;margin:-12px -8px -24px}
.home-featured #featured::-webkit-scrollbar{display:none}
.home-featured #featured .product-card{flex:0 0 calc((100% - 60px)/6);min-width:0;scroll-snap-align:start}
.home-featured #featured .product-image{aspect-ratio:1;height:auto;min-height:0}
@media(max-width:1100px){.home-featured #featured .product-card{flex-basis:calc((100% - 48px)/5)}}
@media(max-width:900px){.home-featured #featured .product-card{flex-basis:calc((100% - 36px)/4)}}
@media(max-width:700px){.home-featured #featured .product-card{flex-basis:calc((100% - 24px)/3)}}
@media(max-width:600px){.home-featured #featured .product-card{flex-basis:calc((100% - 12px)/2)}.home-featured .home-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.featured-heading-actions{width:100%;justify-content:space-between}}
@media(max-width:399px){.home-featured #featured .product-card{flex-basis:100%}}

/* Kits usam a largura maior da vitrine para mostrar seis cards sem apertar o conteúdo. */
#kits.wrap{max-width:1800px}
#kits .kit-grid{gap:16px;padding:12px 8px 24px;margin:-12px -8px -24px}
#kits .kit-card{flex:0 0 calc((100% - 80px)/6);min-width:0}
@media(max-width:1380px){#kits .kit-card{flex-basis:calc((100% - 64px)/5)}}
@media(max-width:1100px){#kits .kit-card{flex-basis:calc((100% - 48px)/4)}}
@media(max-width:850px){#kits .kit-card{flex-basis:calc((100% - 32px)/3)}}
@media(max-width:600px){#kits .kit-card{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:399px){#kits .kit-card{flex-basis:100%}}

/* Destaques seguem a mesma composição visual e largura dos kits. */
#mais-vendidos>.wrap{max-width:1800px}
.home-featured #featured{gap:16px}
.home-featured #featured .product-card{flex-basis:calc((100% - 80px)/6);border:1px solid #ebdfc8;border-radius:18px;background:#fff;box-shadow:0 8px 24px #3c27000d}
.home-featured #featured .product-card:hover,.home-featured #featured .product-card:focus-within{box-shadow:0 16px 30px #3c270028}
.home-featured #featured .product-image{background:#c8c7ca!important}
.home-featured #featured .product-image::after{display:none}
.home-featured #featured .product-image .photo-front,.home-featured #featured .product-image .photo-angle{inset:4%;width:92%;height:92%;object-fit:contain}
.home-featured #featured .product-copy{align-items:flex-start;padding:16px}
.home-featured #featured .product-copy small{border-radius:50px;background:#fff0ce;color:#8f5500;padding:7px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.home-featured #featured .product-copy h3{min-height:0;margin:11px 0 8px;font-size:16px;line-height:1.3}
.home-featured #featured .featured-product-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin:0 0 16px;color:#665d52;font-size:12px;line-height:1.35}
.home-featured #featured .product-copy .price{display:flex;flex-direction:column;gap:4px;width:100%;margin-top:auto;padding:0;border:0;border-radius:0;background:none}
.home-featured #featured .black-card-price-label{display:none}
.home-featured #featured .product-copy .black-current-price{font-size:22px}
.home-featured #featured .product-copy .btn{justify-content:space-between;gap:8px;margin-top:17px;text-align:left}
@media(max-width:1380px){.home-featured #featured .product-card{flex-basis:calc((100% - 64px)/5)}}
@media(max-width:1100px){.home-featured #featured .product-card{flex-basis:calc((100% - 48px)/4)}}
@media(max-width:850px){.home-featured #featured .product-card{flex-basis:calc((100% - 32px)/3)}}
@media(max-width:600px){.home-featured #featured .product-card{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:399px){.home-featured #featured .product-card{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.product-card,.kit-card{transition:none}}

/* Categorias acompanham a vitrine larga e ocupam menos altura entre kits e destaques. */
#categorias.wrap{max-width:1800px;padding-top:20px;padding-bottom:24px}
#categorias .home-section-heading{margin-bottom:12px}
#categorias .home-section-heading h2{margin:5px 0 0;font-size:clamp(25px,2.4vw,31px)}
#categorias .category-grid{gap:12px}
#categorias .category-tile{min-height:68px;padding:10px 14px}
#kits.home-section{padding-bottom:32px}
#mais-vendidos.home-section{padding-top:48px}
@media(max-width:650px){
  #categorias.wrap{padding-top:16px;padding-bottom:20px}
  #categorias .home-section-heading{margin-bottom:10px}
  #categorias .home-section-heading h2{font-size:22px}
  #categorias .category-tile{min-height:64px;padding:9px 12px}
  #kits.home-section{padding-bottom:24px}
  #mais-vendidos.home-section{padding-top:36px}
}

/* O bloco de kits recebe o mesmo fundo de Destaques; as margens separam as seções sem alterar o conteúdo. */
#kits.wrap{
  margin-top:24px;
  margin-bottom:24px;
  border-radius:24px;
  background:#f8f6f1;
  box-shadow:inset 0 0 0 1px #e9e0d3;
}
#categorias.wrap{margin-bottom:24px}
/* A campanha ocupa o espaço livre ao lado dos títulos, sem tocar nos cards. */
.kit-heading-actions{display:flex;align-items:end;gap:16px}
.black-section-promo{
  display:flex;flex-direction:column;justify-content:center;
  width:clamp(340px,30vw,470px);min-height:88px;
  padding:8px 0 8px 20px;border-left:2px solid #e89100;
  color:#24201a;
}
.black-section-promo span{color:#a66509;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.black-section-promo strong{margin-top:7px;font-size:clamp(17px,1.4vw,21px);line-height:1.2;letter-spacing:-.02em}
.black-section-promo small{margin-top:5px;color:#686056;font-size:12px;line-height:1.4}
.featured-heading-actions{align-items:end}
@media(max-width:1050px){
  .black-section-promo{width:clamp(280px,36vw,380px)}
  .featured-heading-actions{flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:750px){
  #kits .home-section-heading,#mais-vendidos .home-section-heading{display:block}
  .kit-heading-actions,.featured-heading-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:16px}
  .black-section-promo{width:100%;min-height:76px}
  .featured-heading-actions .black-section-promo{flex-basis:100%}
}
/* Destaques usa o mesmo contorno e largura do bloco de kits. */
#mais-vendidos.home-featured{
  max-width:1800px;
  margin-left:auto;
  margin-right:auto;
  border-radius:24px;
  box-shadow:inset 0 0 0 1px #e9e0d3;
}
/* O selo acompanha o preço, deixando as imagens inteiras visíveis. */
.product-card .product-image::after,
.card .search-photo::after,
#kits .kit-card-image::after,
.home-featured #featured .product-image::after{display:none}
.product-copy .black-card-price-label,
.card .black-card-price-label,
#kits .kit-price .black-card-price-label,
.purchase-panel .tier-price .black-card-price-label{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  width:max-content;
  margin:0 0 5px;
  padding:6px 9px;
  border:1px solid #e6b05b;
  border-radius:999px;
  background:#fff7e8;
  color:#835000;
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.home-featured #featured .black-card-price-label{display:inline-flex}
.purchase-panel .tier-price .black-card-price-label{justify-self:end;font-size:9px}
.no-discount .tier-price .black-card-price-label{display:none}
@media(max-width:600px){.product-copy .black-card-price-label,.card .black-card-price-label,#kits .kit-price .black-card-price-label,.purchase-panel .tier-price .black-card-price-label{font-size:9px;padding:5px 7px}}
@media(max-width:650px){
  #kits.wrap{margin-top:16px;margin-bottom:16px;border-radius:18px}
  #categorias.wrap{margin-bottom:16px}
  #mais-vendidos.home-featured{border-radius:18px}
}
