/* v1.59: cap-first storefront and concise affiliate experience. */
[hidden], .pickup-confirmation-card.is-hidden { display: none !important; }
:focus-visible { outline: 3px solid #b8813f; outline-offset: 4px; }
.ns-footer-credit,.ns-mini-credit { display: inline !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; color: #6c746f !important; font-size: 11px !important; opacity: .85; }
.ns-footer-credit strong,.ns-mini-credit strong { font-size: inherit !important; font-weight: 400 !important; color: inherit !important; }
.checkout-loader-brand { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 16px; }
.clean-product-grid { align-items: start; }
.clean-main-image img { object-fit: contain; }
.catalog-showcase-compact { padding: 24px 0 18px; }
.catalog-showcase h1 { font-size: clamp(24px,3vw,38px); line-height: 1.16; }
.clean-buy-card #productName { font-size: clamp(24px,2.7vw,34px); margin: 10px 0; line-height: 1.16; }
.clean-description { max-width: 50ch; }
.clean-utility-track { animation: cleanUtilityMarquee 22s linear infinite; }
.clean-utility-group + .clean-utility-group { display: flex; }
.affiliate-simple { background: #f6f7f3; color: #193e31; }
.affiliate-simple .affiliate-card { box-shadow: 0 8px 30px #173c2c06; border: 1px solid #dfe5dc; border-radius: 20px; }
.signup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,6vw,90px); align-items: start; padding: 34px 0 44px; }
.signup-intro h1 { font-size: clamp(42px,5vw,68px); line-height: 1.05; letter-spacing: -.045em; margin: 18px 0; }
.signup-intro p { color: #58665e; max-width: 46ch; line-height: 1.65; }
.signup-cap { width: min(100%,340px); height: 250px; object-fit: contain; mix-blend-mode: multiply; }
.signup-card { padding: clamp(22px,3vw,36px); position: sticky; top: 20px; }
.signup-card h2 { font-size: 30px; letter-spacing: -.03em; margin: 18px 0 10px; }
.signup-card p { color: #58665e; line-height: 1.6; }
.signup-card .affiliate-form { margin-top: 24px; gap: 18px; }
.signup-login { text-align: center; margin-bottom: 0; }
.signup-rules { padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.signup-rules p { line-height: 1.7; color: #58665e; max-width: 58ch; }
.affiliate-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.affiliate-tabs a,.affiliate-tabs button { border: 1px solid #d4ddd3; border-radius: 30px; padding: 10px 16px; text-decoration: none; color: #214a37; background: white; font: inherit; cursor: pointer; }
.affiliate-simple .dashboard-hero { padding: 26px; }
.affiliate-simple .dashboard-hero h1 { font-size: clamp(28px,4vw,40px); }
.affiliate-simple .dashboard-grid-top { margin: 22px 0; }
.affiliate-simple .stacked-actions { display: flex; flex-wrap: wrap; }
.affiliate-simple .stacked-actions > * { flex: 1 1 180px; }
.affiliate-simple .onboarding-card { background: #eef2e9; }
#affiliatePayoutReadiness { display: block; color: inherit; font-size: 14px; margin-top: 14px; text-underline-offset: 3px; }
#affiliateCommissionRate,#affiliateReversedCommission { display: block; margin-top: 10px; }
#affiliatePanelStatus { font-size: 12px; color: #59695e; min-height: 1em; }
.affiliate-link-box code { overflow-wrap: anywhere; }
.affiliate-simple .material-card img { height: 185px; object-fit: contain; }
.affiliate-simple .dashboard-grid-mid { grid-template-columns: 2fr 1fr; }
.affiliate-simple .rule-list { font-size: 14px; }
.affiliate-simple .affiliate-message { overflow-wrap: anywhere; }
@media(max-width:700px) {
 .clean-utility { height: 28px; font-size: 10px; }
 .catalog-showcase-compact { padding: 15px 0 8px; }
 .catalog-kicker { display: none; }
 .catalog-showcase h1 { font-size: 23px; margin: 0 0 4px; }
 .catalog-showcase p { font-size: 12px; margin: 0; }
 .clean-product { padding-top: 8px; }
 .clean-product-grid { gap: 12px; }
 .clean-gallery .clean-main-image { height: auto !important; min-height: 0 !important; aspect-ratio: 1 / 1; border-radius: 16px; }
 .clean-gallery .clean-main-image img { height: 100%; max-height: none; width: 100%; }
 .clean-thumbs { gap: 7px; margin-top: 8px; }
 .clean-thumbs button { width: 48px !important; height: 48px !important; }
 .clean-buy-card { padding: 17px !important; }
 .clean-buy-card #productName { font-size: 23px; margin: 8px 0; }
 .clean-description { font-size: 13px; line-height: 1.45; margin: 0 0 10px; }
 .clean-product-meta { font-size: 10px; }
 .clean-divider { margin: 14px 0; }
 .clean-quantity-row { margin: 14px 0; }
 .clean-purchase-actions { gap: 8px; }
 .clean-purchase-actions button { min-height: 48px; }
 .clean-whatsapp { width: 46px; height: 46px; bottom: 15px; }
 .signup-layout { grid-template-columns: 1fr; padding-top: 20px; gap: 22px; }
 .signup-intro h1 { font-size: 40px; }
 .signup-intro h1 br { display: none; }
 .signup-intro h1 br::after { content: ' '; }
 .signup-cap { display: none; }
 .signup-intro .hero-mini-stats { margin-top: 16px; }
 .signup-card { position: static; }
 .signup-rules { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
 .affiliate-header { gap: 10px; }
 .affiliate-brand span { display: none; }
 .affiliate-header-actions { gap: 6px; }
 .affiliate-header-actions .affiliate-btn { padding: 9px 12px; font-size: 12px; }
 .affiliate-simple .dashboard-grid-top,.affiliate-simple .dashboard-grid-mid { grid-template-columns: 1fr; }
 .affiliate-simple .dashboard-hero { gap: 14px; padding: 20px; }
 .affiliate-simple .hero-mini-panel { padding: 18px; }
 .affiliate-tabs { gap: 6px; }
 .affiliate-tabs a,.affiliate-tabs button { font-size: 12px; padding: 8px 12px; }
 .affiliate-simple .materials-grid { grid-template-columns: 1fr; }
 .affiliate-simple .table-shell { max-width: calc(100vw - 76px); overflow-x: auto; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }

.customer-order-card { padding: 24px; margin: 20px 0; }
.customer-order-head,.customer-order-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.customer-order-actions { justify-content:flex-start; margin-top:22px; }
.customer-order-card li { line-height:1.8; }

@media(max-width:700px){.clean-store .catalog-showcase h1{font-size:20px}.clean-store .catalog-showcase p{font-size:11px}.clean-store .clean-main-image{height:auto!important;aspect-ratio:1/1}.clean-store .clean-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.clean-store #colorOptions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.clean-store #colorOptions button{min-height:60px;padding:8px 6px;gap:4px;flex-direction:column;align-items:flex-start}.clean-store #colorOptions button small{display:none}.clean-store #colorOptions button strong{font-size:10px}.clean-store #colorOptions button img,.clean-store #colorOptions button .color-swatch{width:22px;height:22px}.clean-store .clean-pix-note{font-size:10px}.clean-store .clean-price-row{margin:10px 0}.clean-store .clean-quantity-row{padding:10px 0;margin:10px 0}.clean-store .clean-benefits{padding-top:20px}}
.reviews-viewport:has(.reviews-empty:not([hidden])){min-height:110px!important;padding-bottom:20px}.signup-intro h1 br{display:initial}
.affiliate-simple .affiliate-pill { background:#e9f0e5; color:#214a37; }
.affiliate-simple .hero-mini-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.affiliate-simple .hero-mini-stats div { background:#edf1e8; border:1px solid #dce5d7; }
.affiliate-simple .hero-mini-stats span { color:#50634f; font-size:12px; }
.affiliate-simple details.affiliate-card { padding:20px; }
.affiliate-simple details > summary { font-weight:750; cursor:pointer; font-size:16px; padding:4px 0; }
.affiliate-simple details[open] > summary { margin-bottom:20px; }
.affiliate-simple .dashboard-grid-top { grid-template-columns:minmax(0,1fr); }
.affiliate-simple .dashboard-grid-mid { align-items:start; }
.affiliate-simple .dashboard-grid-bottom { align-items:start; }
@media(max-width:700px){
 .affiliate-simple .affiliate-header { flex-direction:row; align-items:center; padding:12px 0; }
 .affiliate-simple .affiliate-brand img { width:40px;height:40px; }
 .affiliate-simple .signup-intro h1 { font-size:36px; margin:14px 0; }
 .affiliate-simple .signup-intro h1 br { display:none; }
 .affiliate-simple .signup-intro h1 br::after { content:' '; }
 .affiliate-simple .signup-intro p { font-size:14px; margin:12px 0; }
 .affiliate-simple .affiliate-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .affiliate-simple .affiliate-summary article { padding:14px; }
 .affiliate-simple .affiliate-summary strong { font-size:21px; }
 .affiliate-simple .affiliate-summary span,.affiliate-simple .affiliate-summary small { font-size:11px; }
 .affiliate-simple .dashboard-hero { grid-template-columns:minmax(0,1fr); }
 .affiliate-simple .materials-grid { display:flex; overflow-x:auto; gap:14px; scroll-snap-type:x proximity; }
 .affiliate-simple .material-card { min-width:230px;max-width:250px;scroll-snap-align:start; }
}
.affiliate-simple .affiliate-dashboard.show { gap:16px; }
.affiliate-simple #affiliatePanelStatus { margin:0; }
.affiliate-simple .dashboard-hero { grid-template-columns:1fr; padding:0; }
.affiliate-simple .hero-mini-panel { border:1px solid #dfe5dc; border-radius:18px; padding:22px; background:#edf1e8; }
@media(max-width:700px){
 .affiliate-simple .affiliate-tabs a,.affiliate-simple .affiliate-tabs button { font-size:12px!important; padding:8px 10px; }
 .affiliate-simple .dashboard-hero > div { padding:16px; }
 .affiliate-simple .dashboard-hero h1 { font-size:24px; margin:0; }
 .affiliate-simple .dashboard-hero .affiliate-pill,.affiliate-simple .dashboard-subtitle { display:none; }
 .affiliate-simple .dashboard-badges { margin-top:10px;gap:6px; }
 .affiliate-simple .dashboard-grid-top { margin:0; }
 .affiliate-simple .action-card { padding:20px; }
 .affiliate-simple .action-card h3 { font-size:18px; }
}

/* v1.60: square product gallery, stronger brand and reliable mobile controls. */
.clean-store .clean-main-image { height:auto!important; aspect-ratio:1/1; }
.clean-store .clean-main-image img { position:absolute; inset:0; width:100%; height:100%; max-height:none; object-fit:cover; }
.clean-store .clean-header { height:88px; background:#123f31; border-bottom:2px solid #c5a15c; }
.clean-store .clean-header .cr-header-inner { height:86px; }
.clean-store .clean-header .cr-brand { min-width:0; gap:12px; }
.clean-store .clean-header .cr-brand img { width:76px; height:72px; filter:drop-shadow(0 2px 6px #0003); }
.clean-brand-copy { display:grid; gap:5px; min-width:0; }
.clean-store .clean-brand-name { color:#fff9e9; font-size:18px; font-weight:850; letter-spacing:.08em; }
.clean-brand-copy small { color:#e4c78e; font-size:9px; font-weight:700; letter-spacing:.14em; white-space:nowrap; }
.clean-store .clean-header .cr-track-link { color:#fff9e9; border-color:#ffffff35; background:#ffffff09; }
.clean-store .clean-header .cr-track-link:hover { color:#123f31; }
.clean-store .clean-header .cr-cart-button { color:#153f32; background:#e5c78b; border:1px solid #e5c78b; }
.clean-store .clean-header .cr-cart-button:hover { background:#f0dba9; }
.clean-store .catalog-showcase { background:linear-gradient(180deg,#f5efdf,#fafbf8); padding:25px 0 20px; }
.clean-store .catalog-showcase h1 { font-size:clamp(27px,3vw,42px); letter-spacing:-.04em; font-weight:850; }
.clean-store .catalog-showcase p { font-size:14px; margin-top:7px; }
.clean-store #colorOptions { display:flex; flex-wrap:wrap; gap:8px; }
.clean-store #colorOptions .v15-color-option { flex:0 1 auto; width:auto; min-width:0; min-height:46px; height:auto; padding:10px 13px; display:flex; flex-direction:row; align-items:center; gap:9px; border-radius:12px; }
.clean-store #colorOptions .v15-color-thumb { width:22px; height:22px; flex:0 0 22px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px #c3ccc3; }
.clean-store #colorOptions .v15-color-option strong { font-size:12px; }
.clean-store #colorOptions .v15-color-option small { display:none; }
.clean-store .clean-freight-form { grid-template-columns:minmax(0,1fr) 144px; }
.clean-store .clean-freight-form input { min-width:0; width:100%; }
.clean-store .clean-freight-form button { display:flex; align-items:center; justify-content:center; gap:6px; padding:0 8px; white-space:nowrap; font-size:12px; min-width:0; height:48px; }
.clean-store .clean-freight-form button.is-loading::before { flex:0 0 12px; width:12px; height:12px; margin:0; }
.pix-order-totals>div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.pix-order-totals>div>span { min-width:0; text-align:left; overflow-wrap:anywhere; }
.pix-order-totals>div>strong { flex-shrink:0; text-align:right; white-space:nowrap; }
.pix-sound-panel { display:grid; gap:9px; padding:14px; border:1px solid #d5e2da; border-radius:14px; background:#f6faf7; margin:12px 0; }
.pix-sound-panel .pix-sound-control { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:10px 14px; border:1px solid #174d3a; border-radius:10px; background:white; color:#174d3a; text-decoration:none; font-family:inherit; font-size:14px; font-weight:700; line-height:1.3; cursor:pointer; }
.pix-sound-panel .pix-sound-control::before { content:''; width:10px; height:10px; flex-shrink:0; border-radius:50%; background:#87948c; }
.pix-sound-panel .pix-sound-control[aria-pressed=true] { color:white; background:#174d3a; }
.pix-sound-panel .pix-sound-control[aria-pressed=true]::before { background:#a7edc1; }
.pix-sound-panel small { font-size:12px; line-height:1.5; color:#53665c; }
@media(max-width:700px) {
 .clean-store .clean-header,.clean-store .clean-header .cr-header-inner { height:78px; }
 .clean-store .clean-header .cr-brand { gap:6px; height:70px; }
 .clean-store .clean-header .cr-brand img { width:57px; height:64px; }
 .clean-store .clean-brand-name { font-size:12px; letter-spacing:.055em; }
 .clean-brand-copy small { font-size:7px; letter-spacing:.07em; }
 .clean-store .clean-header .cr-header-actions { gap:7px; }
 .clean-store .clean-header .cr-track-link { width:38px; height:40px; }
 .clean-store .clean-header .cr-cart-button { min-width:42px; height:40px; }
 .clean-store .catalog-showcase { padding:20px 0 16px; }
 .clean-store .catalog-showcase h1 { font-size:27px; }
 .clean-store .catalog-showcase p { font-size:12px; }
 .clean-store .clean-gallery { position:static; }
}
@media(max-width:359px) {
 .clean-brand-copy small { font-size:6px; }
 .clean-store .clean-brand-name { font-size:10px; }
 .clean-store .clean-header .cr-brand img { width:46px; }
 .clean-store .clean-freight-form { grid-template-columns:minmax(0,1fr); }
}

/* v1.60.1: current catalogue only; no old product underneath a pending image. */
.clean-main-image .product-image-status { position:absolute; inset:0; display:grid; place-items:center; padding:24px; color:#63766c; background:linear-gradient(120deg,#edf0e9,#f6f6f1,#edf0e9); font-size:13px; }
.clean-main-image .product-image-retry { position:absolute; top:58%; left:50%; transform:translateX(-50%); padding:10px 16px; border:1px solid #174d3a; border-radius:10px; background:white; color:#174d3a; font:inherit; cursor:pointer; }
.clean-main-image:not([data-image-state=ready]) .clean-photo-badge { display:none; }
@media(hover:none) { .clean-utility:hover .clean-utility-track { animation-play-state:running; } }
@media(prefers-reduced-motion:reduce) { .clean-utility-track { animation:none!important; } }
