/* ARGANA 7.4A — storefront visual and product-detail refresh */

/* Keep the desktop header in one deliberate row instead of letting navigation,
   search and audience controls compete for arbitrary flex space. */
.header-inner{min-width:0;flex-wrap:nowrap}
.header-inner>.brand{flex:0 0 104px}
.header-inner>.nav{flex:0 0 auto;min-width:0;gap:clamp(10px,1.05vw,18px);white-space:nowrap}
.header-inner>.nav a{flex:0 0 auto;white-space:nowrap}
.header-inner>.spacer{flex:1 1 18px;min-width:8px}
.header-inner>.search{flex:0 1 220px;min-width:160px;max-width:220px}
.header-inner>.audience-selector{flex:0 0 auto}
.header-inner>.icon-btn{flex:0 0 auto}

/* Recently viewed: show the product, not a cropped thumbnail. */
.discovery-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.discovery-recent-card{grid-template-columns:60px minmax(0,1fr);min-height:90px;gap:12px;padding:11px 13px}
.discovery-recent-card img{width:60px;height:60px;box-sizing:border-box;padding:6px;border-radius:12px;object-fit:contain!important;object-position:center;background:#faf8f3}
.discovery-recent-card>div{min-width:0}

/* Product page: keep the first screen focused on the buying decision. */
.product-page main{width:min(1180px,calc(100% - 32px));max-width:none;margin:28px auto 60px;padding:0}
.product-page .product-breadcrumb{margin-bottom:14px}
.product-page .card{display:grid;grid-template-columns:minmax(340px,.94fr) minmax(360px,1.06fr);align-items:start;gap:clamp(30px,4vw,56px);padding:clamp(24px,3.4vw,42px);border:1px solid rgba(23,63,42,.08);border-radius:24px;box-shadow:0 14px 42px rgba(32,48,37,.07)}
.product-page .product-gallery{position:sticky;top:98px;align-self:start;min-width:0;padding:18px;border:1px solid #eee8de;border-radius:20px;background:linear-gradient(180deg,#fbfaf7,#f7f3eb)}
.product-page .gallery-main{display:block;width:100%;height:auto;max-height:480px;aspect-ratio:1/1;object-fit:contain;border-radius:16px;background:#fff}
.product-page .gallery-thumbnails{justify-content:center;margin-top:14px}
.product-page .gallery-thumbnails button{width:58px;height:58px;background:#fff}
.product-page .purchase-content{min-width:0;padding:4px 0}
.product-page .purchase-content>.muted:first-child{margin:0 0 4px;color:#7c725f;font-size:.86rem}
.product-page .purchase-content h1{margin:4px 0 8px;font-size:clamp(2rem,3.2vw,3rem);line-height:1.2;color:#173f2a;text-wrap:balance}
.product-page .product-short{margin:12px 0 18px;color:#4d594f;font-size:1.03rem;line-height:1.8}
.product-page .review-summary{margin:8px 0 12px}
.product-page .purchase-action{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:10px 14px;margin:18px 0;padding:18px;border:1px solid #e5e9e5;border-radius:18px;background:#fbfcfb}
.product-page .purchase-action .price{margin:0;font-size:1.65rem;color:#173f2a;white-space:nowrap}
.product-page .purchase-action .availability{justify-self:start;margin:0}
.product-page .purchase-action .btn{grid-column:1/-1;width:100%;min-height:52px;margin:2px 0 0;border-radius:13px;background:#173f2a;color:#fff;font-size:1rem}
.product-page .purchase-note{margin:9px 0;padding:10px 12px;border-radius:12px;background:#f7f5f0;color:#4f5c53}
.product-page .purchase-policy{display:inline-flex;align-items:center;min-height:36px;margin-top:2px;color:#315b40;font-weight:700;text-underline-offset:3px}

/* Long-form information belongs below the buy box, so it cannot create a blank
   column beneath the product image. The JS layer moves existing nodes only. */
.product-lower-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;padding:clamp(22px,3.2vw,36px);border:1px solid rgba(23,63,42,.08);border-radius:24px;background:#fff;box-shadow:0 12px 36px rgba(32,48,37,.055)}
.product-lower-details>section{min-width:0;margin:0;padding:20px;border:1px solid #eee8de;border-radius:16px;background:#fffdf9}
.product-lower-details>.product-description{grid-column:1/-1}
.product-lower-details h2{margin:0 0 10px;color:#173f2a;font-size:1.25rem}
.product-lower-details p,.product-lower-details li{color:#4c584f;line-height:1.9}
.product-lower-details p{margin:0}
.product-lower-details ul{margin:0;padding-inline-start:22px}

@media(max-width:1240px){
 .header-inner>.nav{display:none}
 .header-inner>.search{display:none}
 .header-inner>.mobile-menu{display:grid}
 .mobile-search-wrap{display:block;background:rgba(251,247,239,.96);padding:8px 0;border-bottom:1px solid rgba(231,223,208,.75)}
 .mobile-search{display:block!important;max-width:none}
 .header-inner>.brand{margin-left:auto}
 .nav.mobile-open{display:flex;position:absolute;top:69px;right:14px;left:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow);flex-direction:column;gap:0;z-index:80;white-space:normal}
 .nav.mobile-open a{padding:11px 12px;border-bottom:1px solid #f1ece2;white-space:normal}
 .nav.mobile-open a:last-child{border-bottom:0}
 .nav.mobile-open a.active:after{display:none}
}

@media(max-width:900px){
 .discovery-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-page .card{grid-template-columns:minmax(0,1fr);gap:20px}
 .product-page .product-gallery{position:static;width:min(620px,100%);margin-inline:auto}
 .product-page .gallery-main{max-height:430px}
 .product-lower-details{grid-template-columns:1fr}
 .product-lower-details>.product-description{grid-column:auto}
}

@media(max-width:600px){
 .product-page main{width:min(100% - 20px,680px);margin:12px auto 36px}
 .product-page .card{padding:16px;border-radius:18px;gap:16px}
 .product-page .product-gallery{padding:12px;border-radius:16px}
 .product-page .gallery-main{max-height:320px}
 .product-page .purchase-content h1{font-size:1.75rem}
 .product-page .purchase-action{padding:14px;grid-template-columns:1fr auto}
 .product-page .purchase-action .price{font-size:1.4rem}
 .product-lower-details{margin-top:14px;padding:14px;border-radius:18px;gap:10px}
 .product-lower-details>section{padding:16px;border-radius:14px}
 .discovery-recent-grid{grid-template-columns:1fr}
 .discovery-recent-card{grid-template-columns:54px minmax(0,1fr);min-height:80px;padding:9px 11px}
 .discovery-recent-card img{width:54px;height:54px;padding:5px}
}
