/* Product page only; the existing palette provides every store color. */
body[data-view=product] .main{padding-top:12px}body[data-view=product] .breadcrumbs{gap:8px;font-size:11px;margin:4px 0 20px;line-height:1.8;flex-wrap:nowrap;min-width:0}body[data-view=product] .breadcrumbs>a{flex-shrink:0;min-height:32px;display:flex;align-items:center}body[data-view=product] .breadcrumbs>[aria-current]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-view=product] .product-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}body[data-view=product] .gallery{min-width:0}.product-main-media{position:relative}body[data-view=product] .main-photo{position:relative;display:block;aspect-ratio:auto;width:100%;max-height:none;min-height:0;overflow:hidden;border:0;border-radius:14px;padding:0;background:transparent;touch-action:pan-y pinch-zoom;opacity:1}body[data-view=product] .main-photo img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}.product-zoom-cue{position:absolute;bottom:12px;left:12px;display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:10px;pointer-events:none}.product-zoom-cue .icon{width:14px;height:14px}body[data-view=product] .photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--neutral-soft);color:var(--muted);height:100%;width:100%;min-height:220px}body[data-view=product] .photo-placeholder .icon{width:50px;height:50px}body[data-view=product] .photo-placeholder small{font-size:12px}.main-photo.is-loading:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,var(--surface) 50%,transparent 80%);opacity:.45;animation:product-image-pulse 1.3s linear infinite;pointer-events:none}.product-image-error{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:12px}.product-image-error button{border:0;background:transparent;color:var(--accent);font-size:12px;min-height:36px;font-weight:700}.product-gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.product-gallery-navigation>div{display:flex;gap:8px}.product-gallery-navigation button,.product-zoom-navigation button{width:44px;height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:50%;display:grid;place-items:center}.product-gallery-navigation .icon,.product-zoom-navigation .icon{width:18px;height:18px}[data-gallery-step="1"] .icon{transform:rotate(180deg)}#product-photo-count{font-size:12px;color:var(--muted)}body[data-view=product] .thumbnails{display:flex;overflow-x:auto;gap:9px;padding:3px 2px 4px;margin-top:10px;scrollbar-width:thin}body[data-view=product] .thumbnails button{width:62px;height:68px;flex:0 0 62px;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}body[data-view=product] .thumbnails button[aria-pressed=true]{border:2px solid var(--accent);padding:2px;box-shadow:none}body[data-view=product] .thumbnails img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px;background:var(--neutral-soft)}.product-thumb-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:14px;color:var(--muted)}body[data-view=product] .product-description{padding-top:0;min-width:0}body[data-view=product] .product-purchase-panel{padding:22px 20px;border-radius:18px}.product-context-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.product-category{display:block;font-size:11px;color:var(--muted);overflow-wrap:anywhere}#product-copy-link{display:flex;align-items:center;gap:5px;flex-shrink:0;min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font-size:11px}#product-copy-link .icon{width:14px;height:14px;transform:rotate(-45deg)}body[data-view=product] .product-purchase-panel h1{font-size:27px;line-height:1.5;letter-spacing:-.3px;margin:0;overflow-wrap:anywhere}.product-price-row{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin:18px 0}body[data-view=product] .detail-price{font-size:29px;line-height:1.4;margin:0!important;letter-spacing:0;font-weight:700;overflow-wrap:anywhere;max-width:100%}body[data-view=product] .detail-price>small{font-size:13px;color:var(--muted);font-weight:400}body[data-view=product] #product-price-prefix{display:block;font-size:11px;margin-bottom:5px}body[data-view=product] .availability{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;background:var(--soft);color:var(--soft-ink);border:1px solid var(--line);border-radius:7px;font-size:10px;line-height:1.6;margin-top:7px;max-width:100%;overflow-wrap:anywhere}.availability[data-state=unavailable]{background:var(--neutral-soft);color:var(--muted)}.product-options-intro{color:var(--muted);font-size:12px;line-height:1.9;margin-bottom:16px;padding-top:18px;border-top:1px solid var(--line)}body[data-view=product] .option-group{border:0;padding:0;margin:20px 0}body[data-view=product] .option-group legend{font-size:14px;font-weight:700;padding:0;margin-bottom:10px;overflow-wrap:anywhere}body[data-view=product] .option-buttons{display:flex;gap:8px;flex-wrap:wrap}body[data-view=product] .option-buttons button{min-height:44px;min-width:48px;padding:10px 15px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:13px;line-height:1.6;border-radius:10px;max-width:100%;overflow-wrap:anywhere}body[data-view=product] .option-buttons button[aria-pressed=true]{background:var(--soft);color:var(--soft-ink);border:2px solid var(--accent);padding:9px 14px;font-weight:700}body[data-view=product] .option-buttons button:disabled{background:var(--neutral-soft);color:var(--muted);opacity:.6;cursor:not-allowed}body[data-view=product] .quantity-row{justify-content:space-between;gap:16px;margin:22px 0 0;padding-top:20px;border-top:1px solid var(--line)}.quantity-row>label{font-size:14px;font-weight:700}body[data-view=product] .stepper{display:flex;direction:ltr;border:1px solid var(--line);border-radius:10px;overflow:hidden}body[data-view=product] .stepper button{width:44px;height:44px;border:0;border-radius:0;background:var(--surface);color:var(--ink);font-size:21px}body[data-view=product] .stepper input{width:48px;height:44px;border:0;border-inline:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);font-size:14px;text-align:center;appearance:textfield}body[data-view=product] .stepper input::-webkit-inner-spin-button{appearance:none}body[data-view=product] .stepper input:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.product-line-total{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted);padding-top:18px}.product-line-total strong{font-size:18px;color:var(--ink)}body[data-view=product] .desktop-buy{display:none;margin-top:22px}body[data-view=product] .desktop-buy .button{width:100%;min-height:50px;border-radius:11px;border-color:var(--line);font-size:14px}.product-purchase-hint{color:var(--muted);font-size:11px;text-align:center;line-height:1.8;margin-top:12px}body[data-view=product] #selection-error{font-size:13px;line-height:1.9;padding:12px 14px;border:1px solid var(--line);border-inline-start:3px solid var(--accent);border-radius:10px;background:var(--neutral-soft);color:var(--ink);margin-top:16px;overflow-wrap:anywhere}body[data-view=product] #selection-error:empty{display:none}.product-shopping-note{display:flex;align-items:center;gap:12px;padding:17px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);margin-top:14px}.product-shopping-note>.icon{width:22px;height:22px;color:var(--accent);flex-shrink:0}.product-shopping-note>div{flex:1;min-width:0}.product-shopping-note strong{font-size:13px;display:block;color:var(--ink)}.product-shopping-note small{font-size:11px;display:block;color:var(--muted);margin-top:3px;line-height:1.8}body[data-view=product] .product-info-card{border-radius:14px;margin-top:14px}body[data-view=product] .product-info-card>summary{font-size:14px;min-height:56px;padding:16px 18px}body[data-view=product] .product-info-card>p{font-size:14px;line-height:2;padding:18px;color:var(--ink)}body[data-view=product] .upsell-box{border-radius:16px;padding:18px;margin-top:14px;background:var(--surface)}body[data-view=product] .upsell-box h2{font-size:18px;line-height:1.6;margin:0;overflow-wrap:anywhere}.upsell-box .upsell-eyebrow{font-size:10px;color:var(--muted);margin-bottom:5px}body[data-view=product] .upsell-offer{align-items:flex-start;padding-top:16px;gap:14px}body[data-view=product] .upsell-offer img{width:76px;height:86px;object-fit:contain;border-radius:10px;background:var(--neutral-soft)}body[data-view=product] .upsell-offer strong{font-size:13px;font-weight:400;line-height:1.7;overflow-wrap:anywhere}body[data-view=product] .upsell-offer span{font-size:19px}body[data-view=product] .upsell-offer small{font-size:11px;line-height:1.8;margin-top:4px}.upsell-offer em{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.8;margin-top:7px;color:var(--accent);font-style:normal}.upsell-offer em .icon{width:14px;height:14px;transform:rotate(180deg)}body[data-view=product] .related-section{border:0;padding-top:0;margin-top:38px}.related-section .section-heading{align-items:flex-start;gap:12px}.related-section h2{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.related-section .eyebrow{font-size:11px;color:var(--muted)}.related-section .text-link{display:flex;align-items:center;gap:4px;min-height:44px;font-size:11px;color:var(--ink)}.related-section .text-link .icon{width:14px;height:14px;transform:rotate(180deg)}body[data-view=product] .related-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}body[data-view=product] .related-section .product-card{display:flex;flex-direction:column;border-radius:16px;padding:6px;background:var(--card);border:1px solid var(--line)}body[data-view=product] .related-section .product-photo{aspect-ratio:1/1.05;border-radius:10px}body[data-view=product] .related-section .product-info{flex:1;display:flex;flex-direction:column;padding:12px 5px 5px}body[data-view=product] .related-section .product-info h3{font-size:13px;line-height:1.65;min-height:43px;overflow-wrap:anywhere}body[data-view=product] .related-section .card-bottom{display:block;margin:8px 0 12px}body[data-view=product] .related-section .price{font-size:20px;white-space:normal;overflow-wrap:anywhere}.product-card-action{margin-top:auto}.product-card-action a{min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;font-size:12px;font-weight:700}.product-card-action .icon{width:14px;height:14px;transform:rotate(180deg)}body[data-view=product] .buy-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -4px 20px #00000006;min-height:78px;background:var(--surface)}body[data-view=product] .buy-bar>div{min-width:0}body[data-view=product] .buy-bar small{font-size:10px;color:var(--muted);display:block}body[data-view=product] .buy-bar strong{font-size:21px;line-height:1.5;overflow-wrap:anywhere;display:block}body[data-view=product] .buy-bar .button{min-width:155px;min-height:48px;padding:10px 16px;font-size:13px;border-radius:11px;border-color:var(--line)}#photo-dialog.product-photo-dialog{border:1px solid var(--line);border-radius:18px;padding:14px;background:var(--surface);color:var(--ink);max-width:calc(100vw - 24px);max-height:94dvh;width:1000px;overflow:auto}#photo-dialog.product-photo-dialog::backdrop{background:#14232ee0}#photo-dialog.product-photo-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;font-size:12px;color:var(--muted)}#photo-dialog.product-photo-dialog form{margin:0}#photo-dialog.product-photo-dialog .icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink)}#photo-dialog.product-photo-dialog>img{display:block;width:100%;height:auto;max-height:70dvh;object-fit:contain;background:var(--neutral-soft);border-radius:10px}#photo-dialog .product-zoom-navigation{display:flex;justify-content:center;gap:10px;padding-top:12px}body[data-view=product] [hidden]{display:none!important}
@keyframes product-image-pulse{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(min-width:640px){body[data-view=product] .product-detail{max-width:780px;margin-inline:auto}body[data-view=product] .main-photo{max-height:none}.product-description .product-purchase-panel{padding:28px}.product-purchase-panel h1{font-size:30px}body[data-view=product] .related-section .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:960px){body[data-view=product] .main{padding-top:18px}body[data-view=product] .breadcrumbs{font-size:12px;margin-bottom:26px}body[data-view=product] .product-detail{max-width:none;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:40px}body[data-view=product] .gallery{position:sticky;top:24px}body[data-view=product] .main-photo{max-height:none;border-radius:14px}body[data-view=product] .product-purchase-panel{padding:28px}body[data-view=product] .product-purchase-panel h1{font-size:32px}.product-price-row{margin:22px 0}body[data-view=product] .detail-price{font-size:34px}body[data-view=product] .buy-bar{display:none}body[data-view=product] .related-section{margin-top:52px}body[data-view=product] .related-section .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.related-section h2{font-size:28px}body[data-view=product] .related-section .product-card{padding:8px}body[data-view=product] .related-section .product-info h3{font-size:15px;min-height:50px}}
@media(max-width:359px){body[data-view=product] .product-purchase-panel{padding:18px 16px}body[data-view=product] .product-purchase-panel h1{font-size:24px}body[data-view=product] .detail-price{font-size:27px}body[data-view=product] .buy-bar{gap:10px;padding-inline:12px}body[data-view=product] .buy-bar strong{font-size:18px}body[data-view=product] .buy-bar .button{min-width:140px;padding-inline:12px;font-size:12px}body[data-view=product] .related-section .product-grid{gap:12px 9px}body[data-view=product] .related-section .price{font-size:18px}.product-card-action a{font-size:11px}}
@media(prefers-reduced-motion:reduce){.main-photo.is-loading:after{animation:none;opacity:.15}}

body[data-view=product] .main-photo:disabled{cursor:default}


@media(min-width:960px){body[data-view=product] .desktop-buy{display:block}}

body[data-view=product]{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
@media(min-width:960px){body[data-view=product]{padding-bottom:0}}
