
.shop-layout { display:flex; gap:2rem; align-items:flex-start; flex-wrap:wrap; }
.shop-main { flex:1; min-width:300px; }
.shop-aside { width:300px; flex-shrink:0; }
.shop-hero-img { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:12px; background:rgba(128,128,128,.12); margin-bottom:1rem; }
.shop-p-store { display:flex; align-items:center; gap:0.5rem; font-size:.85rem; opacity:.7; }
.shop-p-store a { color:inherit; }
.shop-p-title { margin:.2rem 0 .3rem; }
.shop-p-rating { color:#d29922; letter-spacing:1px; }
.shop-p-rating small { color:inherit; opacity:.6; margin-left:.4rem; }
.shop-pricing { display:flex; flex-wrap:wrap; align-items:center; gap:0.5rem; margin:0.5rem 0; }
.shop-price-original { font-size:1rem; text-decoration:line-through; opacity:0.5; }
.shop-price-current { font-size:1.5rem; font-weight:700; color:var(--accent-color,#0073aa); }
.shop-price-discount-badge { background:#dc3545; color:#fff; padding:0.15rem 0.6rem; border-radius:4px; font-size:0.75rem; font-weight:600; }
.shop-tax-info { font-size:0.75rem; opacity:0.6; margin-top:0.2rem; }

.shop-gallery { margin:1rem 0 1.25rem; }
.shop-gallery-stage { position:relative; border:1px solid rgba(128,128,128,.2); border-radius:12px; overflow:hidden; background:rgba(128,128,128,.08); }
.shop-gallery-open { display:block; width:100%; padding:0; margin:0; border:none; background:none; cursor:zoom-in; }
.shop-gallery-open:focus-visible { outline:2px solid var(--accent-color,#0073aa); outline-offset:-2px; }
.shop-gallery-img { display:block; width:100%; aspect-ratio:16/10; object-fit:contain; background:rgba(128,128,128,.08); }
.shop-gallery-zoom { position:absolute; right:.6rem; bottom:.6rem; display:inline-flex; align-items:center; justify-content:center;
                     width:30px; height:30px; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; opacity:0; transition:opacity .15s; pointer-events:none; }
.shop-gallery-stage:hover .shop-gallery-zoom, .shop-gallery-open:focus-visible .shop-gallery-zoom { opacity:1; }
.shop-gallery-nav { position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%;
                    border:1px solid rgba(128,128,128,.25); background:rgba(20,20,20,.55); color:#fff; font-size:1.4rem; line-height:1;
                    cursor:pointer; opacity:0; transition:opacity .15s, background .15s; display:flex; align-items:center; justify-content:center; }
.shop-gallery-nav:hover { background:rgba(20,20,20,.8); }
.shop-gallery-nav:focus-visible { opacity:1; outline:2px solid var(--accent-color,#0073aa); }
.shop-gallery-stage:hover .shop-gallery-nav { opacity:1; }
.shop-gallery-prev { left:.6rem; }
.shop-gallery-next { right:.6rem; }
.shop-gallery-count { position:absolute; left:.6rem; bottom:.6rem; font-size:.72rem; padding:.15rem .5rem; border-radius:999px; background:rgba(0,0,0,.55); color:#fff; }
.shop-gallery-caption { margin:.55rem .1rem 0; font-size:.85rem; opacity:.75; }
.shop-gallery-thumbs { display:flex; gap:.5rem; margin-top:.7rem; overflow-x:auto; scroll-behavior:smooth; padding-bottom:.25rem; }
.shop-gallery-thumb { flex:0 0 auto; width:74px; height:56px; padding:0; border:1px solid rgba(128,128,128,.25); border-radius:8px;
                      overflow:hidden; background:rgba(128,128,128,.08); cursor:pointer; opacity:.65; transition:opacity .15s, border-color .15s; }
.shop-gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.shop-gallery-thumb:hover { opacity:1; }
.shop-gallery-thumb.active { opacity:1; border-color:var(--accent-color,#0073aa); box-shadow:0 0 0 1px var(--accent-color,#0073aa); }
.shop-gallery-thumb:focus-visible { outline:2px solid var(--accent-color,#0073aa); outline-offset:2px; }

.shop-lightbox { position:fixed; inset:0; z-index:100000; display:none; align-items:center; justify-content:center; flex-direction:column;
                 background:rgba(0,0,0,.88); padding:2.5rem 1rem 1.25rem; box-sizing:border-box; }
.shop-lightbox.open { display:flex; }
.shop-lightbox-img { max-width:100%; max-height:78vh; object-fit:contain; border-radius:8px; background:rgba(255,255,255,.04); }
.shop-lightbox-caption { color:#fff; opacity:.85; font-size:.88rem; margin-top:.8rem; text-align:center; max-width:70ch; }
.shop-lightbox-count { color:#fff; opacity:.6; font-size:.75rem; margin-top:.35rem; }
.shop-lightbox-close { position:absolute; top:.85rem; right:.85rem; width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
                       background:rgba(255,255,255,.1); color:#fff; font-size:1.3rem; line-height:1; cursor:pointer; }
.shop-lightbox-close:hover { background:rgba(255,255,255,.2); }
.shop-lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%;
                     border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.1); color:#fff; font-size:1.6rem; line-height:1; cursor:pointer;
                     display:flex; align-items:center; justify-content:center; }
.shop-lightbox-nav:hover { background:rgba(255,255,255,.22); }
.shop-lightbox-prev { left:1rem; }
.shop-lightbox-next { right:1rem; }
.shop-lightbox-thumbs { display:flex; gap:.4rem; margin-top:.9rem; max-width:100%; overflow-x:auto; padding-bottom:.2rem; }
.shop-lightbox-thumbs button { flex:0 0 auto; width:58px; height:42px; padding:0; border:1px solid rgba(255,255,255,.25); border-radius:6px;
                               overflow:hidden; background:none; cursor:pointer; opacity:.5; }
.shop-lightbox-thumbs button.active { opacity:1; border-color:#fff; }
.shop-lightbox-thumbs img { width:100%; height:100%; object-fit:cover; display:block; }

.shop-tabs { display:flex; gap:.25rem; border-bottom:1px solid rgba(128,128,128,.2); margin:1.25rem 0 1.1rem; flex-wrap:wrap; }
.shop-tab { padding:.55rem .9rem; border:none; background:none; color:inherit; cursor:pointer; font:inherit; font-weight:600; opacity:.6; border-bottom:2px solid transparent; margin-bottom:-1px; }
.shop-tab.active { opacity:1; color:var(--accent-color,#0073aa); border-bottom-color:var(--accent-color,#0073aa); }
.shop-panel { display:none; }
.shop-panel.active { display:block; }
.shop-spec { width:100%; border-collapse:collapse; margin-top:.5rem; }
.shop-spec th, .shop-spec td { text-align:left; padding:.5rem .6rem; border-bottom:1px solid rgba(128,128,128,.15); font-size:.9rem; }
.shop-spec th { width:35%; opacity:.7; font-weight:600; }
.shop-cart { border:1px solid rgba(128,128,128,.2); border-radius:14px; padding:1.25rem; background:var(--bg-card,transparent); position:sticky; top:1rem; }
.shop-cart-price { font-size:1.6rem; font-weight:800; }
.shop-cart-original { font-size:1rem; text-decoration:line-through; opacity:0.4; margin-left:0.5rem; }
.shop-cart-tax { font-size:0.7rem; opacity:0.6; margin-top:0.1rem; }
.shop-qty { display:flex; align-items:center; justify-content:space-between; margin-top:.85rem; font-size:.85rem; }
.shop-stepper { display:inline-flex; align-items:center; border:1px solid rgba(128,128,128,.3); border-radius:8px; overflow:hidden; }
.shop-step { width:34px; height:34px; border:none; background:transparent; color:inherit; font-size:1.1rem; cursor:pointer; }
.shop-step:hover { background:rgba(128,128,128,.12); }
.shop-qty-val { width:44px; text-align:center; border:none; border-left:1px solid rgba(128,128,128,.3); border-right:1px solid rgba(128,128,128,.3); background:transparent; color:inherit; font:inherit; }
.shop-field { display:block; margin-top:.85rem; font-size:.85rem; }
.shop-field select, .shop-field input { width:100%; margin-top:.3rem; padding:.5rem; border-radius:8px; border:1px solid rgba(128,128,128,.3); background:transparent; color:inherit; font:inherit; box-sizing:border-box; }
.shop-buy { width:100%; margin-top:1rem; padding:.7rem; border:none; border-radius:9px; background:#1d475a; color:#fff; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:0.5rem; font:inherit; font-weight:700; }
.shop-buy:disabled { opacity:.6; cursor:default; }
.shop-buy--ghost { margin-top:.6rem; background:transparent; border:1px solid rgba(128,128,128,.35); color:inherit; }
.shop-buy--ghost:hover { background:rgba(128,128,128,.1); }
.shop-cart-incart { margin-top:.7rem; font-size:.82rem; opacity:.85; display:flex; justify-content:space-between; gap:.5rem; }
.shop-cart-incart[hidden] { display:none; }
.shop-cart-incart a { color:inherit; font-weight:600; }
.shop-methods { margin-top:1rem; padding-top:.85rem; border-top:1px solid rgba(128,128,128,.18); }
.shop-methods-label { font-size:.7rem; text-transform:uppercase; letter-spacing:.05em; opacity:.6; }
.shop-methods-list { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.4rem; }
.shop-method-chip { font-size:.75rem; padding:.2rem .55rem; border-radius:999px; border:1px solid rgba(128,128,128,.3); opacity:.85; }
.shop-methods-note { display:block; font-size:.7rem; opacity:.55; margin-top:.4rem; }
.shop-dl { display:block; text-align:center; margin-top:.75rem; padding:.6rem; border-radius:9px; background:#2ea043; color:#fff; text-decoration:none; font-weight:600; }
.shop-cart-note { margin-top:.75rem; font-size:.85rem; opacity:.75; }
.shop-result { margin-top:.85rem; padding:.75rem; border-radius:9px; font-size:.88rem; display:none; }
.shop-result.show { display:block; }
.shop-result.ok { background:rgba(46,160,67,.12); }
.shop-result.err { background:rgba(248,81,73,.12); }
.shop-reviews-list { list-style:none; margin:1rem 0 0; padding:0; }
.shop-review { padding:.85rem 0; border-top:1px solid rgba(128,128,128,.15); }
.shop-review-head { display:flex; justify-content:space-between; align-items:center; gap:.6rem; }
.shop-review-stars { color:#d29922; }
.shop-review-delete { background:none; border:none; color:#f85149; cursor:pointer; padding:.2rem .4rem; border-radius:4px; opacity:.5; transition:opacity .2s, background .2s; display:inline-flex; align-items:center; }
.shop-review-delete:hover { opacity:1; background:rgba(248,81,73,.1); }
.shop-review-form { margin-top:1.25rem; border:1px solid rgba(128,128,128,.2); border-radius:12px; padding:1rem; }
.shop-review-form textarea { width:100%; margin-top:.5rem; padding:.6rem; border-radius:8px; border:1px solid rgba(128,128,128,.3); background:transparent; color:inherit; font:inherit; resize:vertical; }
.shop-rate { display:inline-flex; flex-direction:row-reverse; gap:.15rem; font-size:1.5rem; }
.shop-rate input { display:none; }
.shop-rate label { cursor:pointer; color:rgba(128,128,128,.4); }
.shop-rate input:checked ~ label, .shop-rate label:hover, .shop-rate label:hover ~ label { color:#d29922; }
.shop-related { margin-top:2.5rem; }
.shop-related h2 { font-size:1.1rem; }
.shop-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1.25rem; margin:1rem 0; }
.shop-card { border:1px solid rgba(128,128,128,.2); border-radius:12px; overflow:hidden; background:var(--bg-card,transparent); display:flex; flex-direction:column; transition:transform .12s, border-color .12s; text-decoration:none; color:inherit; }
.shop-card:hover { transform:translateY(-3px); border-color:var(--accent-color,#0073aa); }
.shop-card-img { aspect-ratio:4/3; background:rgba(128,128,128,.12) center/cover no-repeat; flex-shrink:0; }
.shop-card-body { padding:.9rem 1rem 1rem; display:flex; flex-direction:column; gap:.25rem; }
.shop-card-title { font-weight:600; }
.shop-card-price { margin-top:.35rem; font-weight:700; color:var(--accent-color,#0073aa); }

@media (max-width:900px) { .shop-layout { flex-direction:column; } .shop-aside { width:100%; } }
@media (hover:none) { .shop-gallery-nav { opacity:1; } .shop-gallery-zoom { opacity:1; } }
@media (prefers-reduced-motion:reduce) {
    .shop-card, .shop-gallery-nav, .shop-gallery-zoom, .shop-gallery-thumb { transition:none; }
    .shop-gallery-thumbs { scroll-behavior:auto; }
}
