/* V39 storefront and shared admin refinements. Loaded after existing components. */
.hero-editorial{position:relative;isolation:isolate;overflow:hidden;background:#eef2f0}.hero-slide{display:block;height:100%;color:white}.hero-slide[hidden]{display:none!important}.hero-slide>img{width:100%;height:100%;object-fit:cover}.hero-product-caption{position:absolute;bottom:76px;left:24px;right:24px;background:rgba(15,30,30,.76);backdrop-filter:blur(8px);padding:16px 20px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.hero-controls{position:absolute;bottom:20px;left:24px;display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--border,#e0e7e5);border-radius:30px;padding:5px;color:#163c3b;z-index:2}.hero-controls button{display:grid;place-items:center;border:0;border-radius:50%;width:34px;height:34px;background:#eef5f3;color:#163c3b;cursor:pointer}.hero-controls span{font-size:11px;min-width:45px;text-align:center}.hero-config{width:100%;min-width:0}.hero-config-row{display:grid;grid-template-columns:60px minmax(0,1fr) 56px;gap:12px;align-items:center;margin:12px 0}.hero-config-row img{width:56px;height:56px;object-fit:cover;border:1px solid #e0e7e5;border-radius:10px}.hero-config-row label{font-size:11px}.hero-config-row .custom-select{min-width:0}.hero-config>p{margin:0 0 20px}.hero-config select{width:100%}
.product-v39{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,5vw,80px);align-items:start;margin:30px 0 60px}.product-v39 .product-gallery{min-width:0;position:sticky;top:24px}.product-v39 .gallery-stage{position:relative;border-radius:24px;background:#f1f4f2;overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center;border:1px solid #e2e9e6}.product-v39 .gallery-main{width:100%;height:100%;max-height:none;object-fit:contain;mix-blend-mode:multiply}.product-v39 .gallery-label{left:20px;top:20px;letter-spacing:1.5px;font-size:9px;background:#fff;border-radius:24px;padding:9px 14px}.product-v39 .gallery-thumbs{display:flex;flex-wrap:nowrap;overflow:auto;gap:10px;padding:16px 2px;scrollbar-width:thin}.product-v39 .gallery-thumbs button{flex:0 0 72px;width:72px;height:72px;padding:3px;border:1px solid #dce6e2;border-radius:12px;background:#fff;overflow:hidden}.product-v39 .gallery-thumbs button:hover,.product-v39 .gallery-thumbs button:focus-visible{border-color:var(--teal);outline:2px solid var(--teal);outline-offset:2px}.product-v39 .gallery-thumbs img{width:100%;height:100%;object-fit:contain}.product-v39 .gallery-caption{justify-content:center;color:#60736d;font-size:11px}.product-v39 .product-summary{min-width:0;padding:8px 0}.product-v39 h1{font-size:clamp(25px,2.7vw,40px);line-height:1.2;letter-spacing:-1px;margin:18px 0;font-weight:600;overflow-wrap:anywhere}.product-v39 .product-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:space-between}.product-v39 .availability{font-size:10px;padding:6px 10px;border-radius:20px;background:#eaf4ed;color:#287247}.product-v39 .availability.unavailable{background:#f5ede8;color:#7e5146}.product-v39 .product-price-box{background:transparent;border:0;border-bottom:1px solid #dde7e2;padding:8px 0 24px;margin:18px 0}.product-v39 .detail-price{font-size:29px;line-height:1.3;display:flex;gap:14px;flex-wrap:wrap;align-items:baseline}.product-v39 .detail-price del{font-size:16px;font-weight:400;color:#88938e}.product-v39 .product-price-box small{display:block;color:#667a71;font-size:11px;margin-top:10px}.product-v39 .product-intro{font-size:13px;line-height:1.9;color:#60736d;margin:20px 0}.product-v39 .purchase-form{margin:24px 0}.product-v39 .option-fields{gap:18px}.product-v39 .option-field>label{font-weight:600;font-size:12px;margin-bottom:10px;display:block}.product-v39 .color-swatches{gap:10px;flex-wrap:wrap}.product-v39 .purchase-row{display:flex;gap:12px;align-items:stretch;margin:24px 0 12px}.product-v39 .purchase-row .quantity{width:76px;flex:0 0 76px;border-radius:12px;height:52px}.product-v39 .purchase-row>.btn{flex:1;min-height:52px;border-radius:12px;justify-content:center}.product-v39 .purchase-reassurance{font-size:10px;color:#7c8d85}.product-v39 .detail-facts{display:flex;flex-wrap:wrap;gap:16px;border-block:1px solid #e1e8e4;padding:16px 0;margin:24px 0;font-size:10px}.product-v39 .detail-facts>div{display:flex;align-items:center;gap:7px}.product-v39 .addon-box{background:#f3f7f4;border:1px solid #e1e8e3;border-radius:16px;margin-top:26px;padding:18px}.product-v39 .addon-row{grid-template-columns:52px minmax(0,1fr) auto;gap:12px}.product-v39 .addon-row img{width:52px;height:58px;object-fit:contain;border-radius:8px;background:#fff}.product-v39 .addon-row>div{min-width:0}.product-v39 .addon-row a{overflow-wrap:anywhere}.product-v39 .product-policy{padding:14px 0;border-bottom:1px solid #e0e7e3}.product-v39 .product-policy summary{font-size:12px;font-weight:500}.product-information{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;background:#f4f7f4;border-radius:24px;padding:36px;margin-bottom:54px}.product-information>div{min-width:0}.product-information h2{font-size:25px;margin:12px 0 20px}.product-information .prose{font-size:13px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}.product-information details{background:white;border:1px solid #e2e9e4;border-radius:12px;padding:15px;margin-bottom:10px}.related-pagination{margin-top:24px}.bag-quantity-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.bag-quantity-actions>form{margin:0!important}.bag-quantity-actions .remove-item-button{width:26px;height:28px;min-height:28px;padding:0;color:#c43131;background:transparent;border:0;font-size:24px;line-height:1;display:grid;place-items:center;border-radius:6px;cursor:pointer}.bag-quantity-actions .remove-item-button:hover{background:#fff0ee}.bag-quantity-actions .remove-item-button:focus-visible{outline:2px solid #c43131;outline-offset:2px}.bag-quantity-actions form input[type=number]{max-width:64px}.product-visits-panel{min-width:0;overflow:hidden}.product-visits-panel .visit-stats{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px;align-items:center}.product-visits-panel .visit-stats>div{background:#f2f6f4;border:1px solid #e0e7e3;border-radius:14px;padding:15px 22px;display:grid;gap:6px;min-width:140px}.product-visits-panel .visit-stats strong{font-size:24px;line-height:1.3}.product-visits-panel .visit-stats small{font-size:11px;color:#728079}.product-visits-panel .visit-filters{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,2fr) minmax(110px,1fr) auto;gap:12px;align-items:center;margin-bottom:24px}.product-visits-panel .visit-filters input,.product-visits-panel .visit-filters select{width:100%;min-width:0;padding:12px;border:1px solid #dce5df;border-radius:10px;background:#fff}.product-visits-panel .table-wrap{width:100%;overflow-x:auto;border:1px solid #e0e7e3;border-radius:12px}.product-visits-panel table{min-width:850px;width:100%;border-collapse:collapse}.product-visits-panel td{max-width:240px;overflow-wrap:anywhere;vertical-align:top}.product-visits-panel td small{display:block;margin-top:5px;color:#77857c}.button-working{position:relative}.action-spinner{display:inline-block;width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:action-spin .7s linear infinite;flex-shrink:0;margin-right:6px}.icon-button.button-working .action-spinner,.color-swatch.button-working .action-spinner,.gallery-thumbs button.button-working .action-spinner{position:absolute;right:2px;top:2px;width:10px;height:10px;background:#fff;color:var(--teal);z-index:2}.payment-success h1{font-size:clamp(26px,4vw,36px)}.payment-success form{margin-top:28px;text-align:left}.payment-success form h2{font-size:21px;margin-bottom:12px}.payment-success form>.btn{width:100%;margin-top:18px}.payment-success .field{margin-top:16px}
@keyframes action-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.product-v39{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.product-v39 .product-gallery{top:10px}.product-v39 .detail-price{font-size:25px}.product-information{padding:24px;gap:24px}.product-visits-panel .visit-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:650px){.product-v39{grid-template-columns:minmax(0,1fr);gap:16px;margin:20px 0 32px}.product-v39 .product-gallery{position:static}.product-v39 .gallery-stage{border-radius:18px}.product-v39 .gallery-thumbs button{flex-basis:60px;width:60px;height:60px}.product-v39 h1{font-size:27px}.product-v39 .product-summary{padding:12px 0}.product-v39 .product-price-box{margin:14px 0;padding-bottom:20px}.product-v39 .option-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.product-v39 .color-option-field{grid-column:1/-1}.product-information{grid-template-columns:minmax(0,1fr);padding:22px;border-radius:18px}.hero-product-caption{bottom:72px;left:16px;right:16px;font-size:12px}.hero-controls{left:16px;bottom:16px}.hero-config-row{grid-template-columns:minmax(0,1fr) 48px;gap:8px}.hero-config-row>label{grid-column:1/-1}.hero-config-row img{width:48px;height:48px}.product-visits-panel .visit-filters{grid-template-columns:minmax(0,1fr)}.product-visits-panel .visit-stats>div{min-width:0;flex:1 1 110px;padding:12px}.product-visits-panel .visit-stats strong{font-size:22px}.product-visits-panel .visit-filters .custom-select{max-width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.action-spinner{animation-duration:1.5s}}

.store-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}.store-page-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.store-page-links a,.store-page-links span{font-size:12px;min-width:34px;min-height:36px;padding:9px 12px;border:1px solid #dde7e0;border-radius:9px;text-align:center}.store-page-links a:hover,.store-page-links [aria-current]{background:var(--teal);color:white;border-color:var(--teal)}.store-page-links [aria-disabled]{opacity:.45}.store-pagination>small{font-size:11px;color:#708277}

@media(max-width:650px){.sticky-purchase{bottom:calc(64px + env(safe-area-inset-bottom));padding:10px 16px}.sticky-purchase>div{min-width:0}.sticky-purchase small{max-width:150px}.sticky-purchase .btn{font-size:11px;white-space:nowrap}}
