/* Local product detail proposal. Rounded JH HAIR surfaces, shared light/dark layout. */
html body #product{--detail-ink:#3a3037;--detail-muted:#75636e;--detail-line:rgba(107,91,101,.15);--detail-surface:#f1eced;--detail-accent:#6b5b65;--detail-on-accent:#fff}
html body[data-theme="dark"] #product{--detail-ink:#f2f2f2;--detail-muted:#bebebe;--detail-line:rgba(255,255,255,.13);--detail-surface:#252525;--detail-accent:#e4bb91;--detail-on-accent:#271b17}
html body #product .product-page-wrap{width:min(1180px,calc(100% - 40px)) !important;margin:20px auto 0}
html body #product .product-page-back{display:inline-flex;align-items:center;margin:0 0 20px;padding:9px 15px;font-size:11px;font-weight:600;letter-spacing:.02em;border:1px solid var(--detail-line);border-radius:99px;background:var(--detail-surface) !important;color:var(--detail-ink) !important;box-shadow:none !important}
html body #product .product-showcase{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'gallery buy' 'info info' 'service service';gap:22px;align-items:stretch;margin-bottom:46px}
html body #product :is(.product-gallery-panel,.product-buy-panel,.product-info-panel,.product-service-panel){min-width:0;border:1px solid var(--detail-line);border-radius:30px;background:var(--detail-surface);box-shadow:0 8px 24px #3a333706}
html body #product .product-gallery-panel{min-height:0;height:590px;padding:18px;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
html body #product .product-gallery-badge{width:max-content;padding:8px 12px;border-radius:99px;font-size:9px;letter-spacing:.1em;background:var(--detail-accent);color:var(--detail-on-accent)}
html body #product .product-gallery-image{position:relative;min-height:0 !important;width:100%;height:100% !important;padding:0 !important;border-radius:21px !important;background:#fff !important;box-shadow:none !important;overflow:hidden}
html body #product .product-gallery-image img{position:absolute;inset:26px;display:block;width:calc(100% - 52px);height:calc(100% - 52px);max-width:calc(100% - 52px);max-height:calc(100% - 52px) !important;object-fit:contain;mix-blend-mode:normal;transform:none}
html body #product .product-gallery-caption{background:none !important;gap:14px;padding:4px 5px;color:var(--detail-muted);font-size:12px;line-height:1.6;font-weight:500;flex-wrap:wrap}
html body #product .product-gallery-caption b{font-size:12px;font-weight:500;color:var(--detail-muted)}
html body #product .product-buy-panel{padding:32px;display:flex;flex-direction:column;align-self:stretch}
html body #product .product-page-brand{align-self:flex-start;max-width:100%;padding:0 !important;margin:0 0 14px;border:0;border-radius:0;background:none;color:var(--detail-accent);font-size:12px;line-height:1.6;font-weight:600;letter-spacing:.04em;overflow-wrap:anywhere}
html body #product .product-buy-panel h1{font-size:clamp(32px,3vw,44px) !important;line-height:1.14 !important;font-weight:600 !important;letter-spacing:-.035em !important;text-transform:none;margin:0 0 14px;color:var(--detail-ink);overflow-wrap:anywhere}
html body #product .product-page-subtitle{font-size:17px !important;line-height:1.7;margin:0 0 10px;color:var(--detail-muted)}
html body #product .product-page-sku{font-size:13px;color:var(--detail-muted) !important;font-weight:400;margin:0 0 20px}
html body #product .product-price-card{margin:auto 0 0;padding:22px 0 18px;background:none !important;border-top:1px solid var(--detail-line);border-radius:0;display:flex;align-items:baseline;gap:16px}
html body #product .product-price-card>span{color:var(--detail-muted);font-size:13px;font-weight:500;letter-spacing:.06em}
html body #product .product-price-card .product-page-price{font-size:38px !important;line-height:1.2;font-weight:600;letter-spacing:-.035em;color:var(--detail-ink)}
html body #product .product-page-actions{display:flex;gap:10px;margin:0 0 16px;width:100%}
html body #product .product-page-buy{flex:1;min-width:0;min-height:52px;padding:14px 18px;border-radius:17px !important;background:var(--detail-accent);color:var(--detail-on-accent);font-size:14px;font-weight:600 !important;letter-spacing:.035em !important;box-shadow:none}
html body #product .pm-fav-btn{flex:0 0 52px;width:52px;height:52px;border-radius:17px;border:1px solid var(--detail-line);background:transparent;color:var(--detail-ink)}
html body #product .pm-fav-btn.active{color:#b84e70;border-color:#b84e70}
html body #product .product-page-copy{align-self:flex-start;margin:0 0 16px;padding:0;background:none;border:0;border-radius:0;color:var(--detail-muted);font-size:13px;line-height:1.7;font-weight:500;letter-spacing:0;text-transform:none;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html body #product .product-page-trust{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:14px;border-top:1px solid var(--detail-line)}
html body #product .product-page-trust a{font-size:13px;line-height:1.7;color:var(--detail-muted);text-decoration:none}
html body #product .product-page-trust a:hover{color:var(--detail-accent);text-decoration:underline}
html body #product #product-page-admin-edit:empty{display:none}
html body #product .product-page-admin-btn{margin:0 0 20px;padding:7px 11px;min-height:0;border:1px dashed var(--detail-line);border-radius:10px;background:transparent;color:var(--detail-muted);box-shadow:none;font-size:9px;font-weight:500;letter-spacing:.03em;text-transform:none}
html body #product .product-info-panel{padding:30px 34px;display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px}
html body #product .product-info-panel h2{font-size:26px;font-weight:600;letter-spacing:-.025em;margin:0;color:var(--detail-ink)}
html body #product .product-page-desc{padding:0 !important;background:none !important;font-size:16px;line-height:1.85;color:var(--detail-muted) !important;max-width:790px;overflow-wrap:anywhere}
html body #product .product-page-desc>:first-child{margin-top:0}
html body #product .product-page-desc>:last-child{margin-bottom:0}
html body #product .product-service-panel{padding:22px;gap:0;grid-template-columns:repeat(3,minmax(0,1fr))}
html body #product .product-service-panel>div{padding:0 22px;border-radius:0;background:none !important;box-shadow:none !important}
html body #product .product-service-panel>div+div{border-left:1px solid var(--detail-line)}
html body #product .product-service-number{display:block;margin-bottom:10px;font-size:10px;color:var(--detail-muted)}
html body #product .product-service-panel b{font-size:16px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--detail-ink)}
html body #product .product-service-panel span{font-size:14px;line-height:1.8;color:var(--detail-muted)}
html body #product .product-page-rail{padding:0 !important;margin:0 0 38px !important;border:0 !important;border-radius:0 !important;background:none !important;box-shadow:none !important}
html body #product .product-page-rail h2{margin:0 0 20px;text-align:left;font-size:21px;font-weight:600;letter-spacing:-.02em;text-transform:none;color:var(--detail-ink)}
html body #product .product-page-rail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
html body #product .product-page-rail-grid .product-card{width:100% !important;max-width:none !important}
@media(max-width:800px){
html body #product .product-page-wrap{width:calc(100% - 24px) !important;margin-top:12px}
html body #product .product-showcase{grid-template-columns:minmax(0,1fr);grid-template-areas:'gallery' 'buy' 'info' 'service';gap:14px}
html body #product .product-gallery-panel{height:440px;padding:14px;border-radius:26px}
html body #product .product-buy-panel{padding:24px;border-radius:26px}
html body #product .product-buy-panel h1{font-size:30px !important}
html body #product .product-price-card{margin-top:18px}
html body #product .product-info-panel{display:block;padding:24px;border-radius:26px}
html body #product .product-info-panel h2{margin-bottom:16px}
html body #product .product-service-panel{grid-template-columns:1fr;padding:8px 24px;border-radius:26px}
html body #product .product-service-panel>div{padding:16px 0}
html body #product .product-service-panel>div+div{border-left:0;border-top:1px solid var(--detail-line)}
html body #product .product-service-number{margin-bottom:5px}
html body #product .product-page-rail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(prefers-reduced-motion:reduce){html body #product *{scroll-behavior:auto}}

/* Plain brand surfaces and readable type, without decorative gradients. */
html body #product :is(.product-gallery-panel,.product-buy-panel,.product-info-panel,.product-service-panel){background:var(--detail-surface) !important}
html body #product .product-page-buy{background:var(--detail-accent) !important}
html body #product .product-buy-panel{padding:36px}
html body #product .product-page-brand{margin-bottom:18px}
html body #product .product-page-desc :is(p,li){font-size:inherit;line-height:inherit}
html body #product .product-page-trust{gap:12px 22px}
@media(max-width:800px){
html body #product .product-buy-panel{padding:26px}
html body #product .product-buy-panel h1{font-size:32px !important}
html body #product .product-page-subtitle{font-size:16px !important}
html body #product .product-page-desc{font-size:16px}
}

html body #product .product-page-admin-btn{
    display:inline-flex;align-items:center;min-height:40px;
    padding:10px 16px;margin:0 0 22px;border:1px solid var(--detail-accent);
    border-radius:12px;background:transparent;color:var(--detail-accent);
    font-size:13px;font-weight:600;letter-spacing:0;cursor:pointer;
}

html body #product .product-page-variant{min-height:44px;background:transparent;border:1px solid var(--detail-line);color:var(--detail-ink);font-size:14px;font-weight:500}
html body #product .product-page-variant.active{background:var(--detail-accent);border-color:var(--detail-accent);color:var(--detail-on-accent)}
html body[data-theme="dark"] #product .pm-fav-btn.active{color:#ffb7ce;border-color:#cc819c}
html body[data-theme="dark"] #product .product-page-price{color:var(--detail-ink) !important}
@media(max-width:900px){
html body #product .product-showcase{grid-template-columns:minmax(0,1fr);grid-template-areas:'gallery' 'buy' 'info' 'service'}
html body #product .product-info-panel{display:block}
html body #product .product-info-panel h2{margin-bottom:18px}
html body #product .product-gallery-panel{height:clamp(340px,100vw,490px);padding:14px;min-height:0}
html body #product .product-buy-panel{padding:24px}
html body #product .product-buy-panel h1{font-size:clamp(26px,7vw,36px) !important;line-height:1.2 !important}
html body #product .product-price-card{margin-top:22px;flex-wrap:wrap}
html body #product .product-page-buy{font-size:13px;letter-spacing:.02em !important;white-space:normal}
html body #product .product-page-rail-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
html body #product .product-service-panel{grid-template-columns:1fr}
html body #product .product-service-panel>div{padding:16px 0}
html body #product .product-service-panel>div+div{border-left:0;border-top:1px solid var(--detail-line)}
}
