.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--layout-gap)}
@media(max-width:1180px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.shop-grid{grid-template-columns:1fr}}
.shop-grid>p{grid-column:1/-1}
.shop-grid .shop-preview{aspect-ratio:16/9;background:radial-gradient(ellipse at center,#202a32,#0c1015)}
.shop-preview.is-image-loading::after{content:"";position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-16px 0 0 -16px;border:2px solid #c5e3ef25;border-top-color:#c5e3ef;border-radius:50%;animation:shop-image-spin .8s linear infinite;pointer-events:none}
.shop-preview.is-image-loading>img{opacity:0}
@keyframes shop-image-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.shop-preview.is-image-loading::after{animation:none}}
.shop-card{display:flex;flex-direction:column;min-width:0;border:1px solid rgba(255,255,255,.12);border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#1c2026,#101317)}
.shop-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.shop-preview{display:block;position:relative}.shop-price{position:absolute;right:12px;bottom:12px;padding:9px 12px;border:1px solid #ffffff25;border-radius:9px;background:#10151be8;color:#d6e7ef;text-align:right;backdrop-filter:blur(8px)}.shop-price strong{display:block;font-size:17px;font-weight:500}.shop-price small{display:block;margin-top:3px;font-size:10px;color:#9babb7}
.shop-card-content{display:flex;flex-direction:column;flex:1;padding:clamp(14px,1.3vw,20px)}.shop-card h2{margin:10px 0;font-size:clamp(19px,1.5vw,24px);line-height:1.15;overflow-wrap:anywhere}.shop-card p{color:#9aa7b3;font-size:13px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}
.shop-card-content .shop-action{margin-top:auto;align-self:flex-start}
.shop-card .shop-price{right:8px;bottom:8px;padding:6px 9px}.shop-card .shop-price strong{font-size:15px}
@media(max-width:540px){.shop-card-content{padding:18px}.shop-card h2{font-size:24px}}
.shop-series{font-size:10px;letter-spacing:.16em;color:#8999a8}.shop-action{display:inline-flex;padding:11px 16px;border:1px solid #4b6473;border-radius:9px;background:#202a32;color:#c5e3ef;text-decoration:none}
.shop-action:hover{background:#2b3943}.shop-action:focus-visible{outline:2px solid #c5e3ef;outline-offset:3px}
.guitar-detail {display:grid;grid-template-columns:minmax(0, 1.6fr) minmax(280px,1fr);gap:var(--layout-gap);margin-block:var(--layout-gap)}
.guitar-photo {align-self:start}.guitar-photo img{width:100%;height:auto;display:block}
.product-description{white-space:pre-line}.product-price{font-size:26px}.product-price small{display:block;font-size:12px}
.guitar-specs{margin:0}.guitar-specs>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #ffffff12}.guitar-specs dd{margin:0;text-align:right}.guitar-specs dt{color:#97a2ae}
.product-editor{margin-block:var(--layout-gap)}.product-copy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--layout-gap);margin-block:var(--layout-gap)}.product-copy-grid fieldset{min-width:0;border:1px solid #ffffff20;border-radius:12px;padding:16px}.product-copy-grid label{display:block;margin-block:12px 6px}.product-copy-grid textarea{width:100%;box-sizing:border-box;background:#0c1015;color:var(--text,#dae1e7);border:1px solid #ffffff25;border-radius:8px;padding:10px;font:inherit;resize:vertical}
@media(max-width:850px){.guitar-detail,.product-copy-grid{grid-template-columns:1fr}}

/* Guitar product page: single existing preview, with room for a future gallery. */
.product-page{display:flex!important;flex-direction:column;gap:var(--layout-gap)}
.product-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:10px;list-style:none;padding:4px 2px;margin:0;font-size:12px;color:#8c9ba7}
.product-breadcrumb li{display:flex;align-items:center;gap:10px}.product-breadcrumb li+li::before{content:'/';color:#56616d}.product-breadcrumb a{color:#bccbd5;text-decoration:none}.product-breadcrumb [aria-current]{color:#c2e5f5}.product-breadcrumb svg{width:18px;height:18px;display:block}
.product-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,1fr);gap:var(--layout-gap)}
.product-gallery{display:flex;flex-direction:column;align-items:stretch;justify-content:center;background:radial-gradient(ellipse at center,#111820,#050709);min-width:0}
.product-image-link{display:block;position:relative;width:100%;color:#d1e6f1}.product-gallery img{object-fit:contain;width:100%;height:auto;aspect-ratio:16/9}
.product-expand{position:absolute;bottom:16px;right:16px;padding:9px;border-radius:8px;background:#0d101599;border:1px solid #ffffff24}.product-expand svg{display:block;width:20px;height:20px}
.product-intro{padding:clamp(22px,2.5vw,40px);display:flex;flex-direction:column;min-width:0}.product-intro h1{font-size:clamp(38px,4vw,68px);line-height:1;letter-spacing:.02em;margin:18px 0}.product-intro .product-lead{font-size:14px;line-height:1.7;margin:0;color:#bdc8d2}.product-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.product-tags span{font-size:11px;color:#c8d7df;padding:6px 11px;border:1px solid #ffffff26;border-radius:30px}
.product-purchase{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);display:grid;gap:10px}.product-price-label{color:#9aaab6;font-size:11px;letter-spacing:.08em}.product-intro .product-price{color:#d9ecf5;font-size:30px;font-weight:500;line-height:1.3;margin:0 0 12px}.product-price small{font-size:11px;color:#8d9da9;font-weight:400;margin-top:5px}
.product-purchase .shop-action{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center;font-size:13px;min-height:48px}.product-purchase svg{width:21px;height:21px;flex-shrink:0}.product-purchase .shop-action>span{margin-left:auto}.product-purchase .product-primary{background:linear-gradient(135deg,#c9ecfc,#9dcde4);color:#13232d;border-color:#c9ecfc;font-weight:600}.product-purchase .product-primary:hover{background:#d8f1fc}.product-contact{background:transparent}
.product-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--layout-gap)}.product-feature{padding:24px}.product-feature h2{font-size:28px;line-height:1.15;margin:10px 0 0}
.product-story{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:clamp(24px,4vw,64px);padding:clamp(24px,3vw,44px)}.product-story h2{font-size:36px;line-height:1.1;margin:12px 0 22px}.product-story .product-description{font-size:14px;line-height:1.85;margin:0;overflow-wrap:anywhere;color:#aebac5}.product-specifications{border-left:1px solid var(--line);padding-left:24px}.product-specifications h2{font-size:28px;margin-top:0}.guitar-specs{font-size:12px;line-height:1.6}.guitar-specs dd{color:#d1dce4;max-width:60%}.product-page .product-editor{margin:0}
@media(max-width:1000px){.product-hero{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.product-story{grid-template-columns:1fr}.product-specifications{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}}
@media(max-width:750px){.product-hero,.product-features{grid-template-columns:1fr}.product-intro h1{font-size:48px}.product-feature{padding:20px}.product-gallery{align-self:start}}

.product-image-link{flex-shrink:0;min-width:0}.product-thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--layout-gap);padding:var(--layout-gap);width:100%;box-sizing:border-box}.product-thumbnail{position:relative;display:block;min-width:0;border:1px solid #ffffff25;border-radius:8px;overflow:hidden;color:#d6e7ef;text-decoration:none}.product-thumbnail[aria-current=true]{border-color:#b9dfef}.product-thumbnail span{position:absolute;left:4px;bottom:4px;padding:3px 6px;border-radius:4px;background:#0b101bd9;font-size:10px}.product-thumbnail:focus-visible{outline:2px solid #b9dfef;outline-offset:2px}
.product-slide-controls{display:none}
html.product-modal-open,html.product-modal-open body{overflow:hidden}
.product-image-modal{border:0;padding:0;background:transparent;color:#edf3f8;width:calc(100% - 2 * var(--layout-gap));max-width:1600px;max-height:calc(100dvh - 2 * var(--layout-gap));overflow:auto}
.product-image-modal::backdrop{background:#030609ed}
.product-image-modal form{position:absolute;top:8px;right:8px;z-index:2;margin:0}
.product-image-modal .product-modal-close,.product-modal-navigation button{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:#080d1460;color:#eef4f8;box-shadow:none}
.product-image-modal button:hover{background:#080d14bc;color:#fff}
.product-image-modal button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;background:#080d14bc}
.product-image-modal button svg{width:22px;height:22px;stroke-width:1.6;filter:drop-shadow(0 1px 2px #000)}
.product-modal-image{display:block;width:100%;height:auto;max-height:calc(100dvh - 2 * var(--layout-gap));object-fit:contain;border-radius:8px;touch-action:pan-y pinch-zoom}
.product-modal-navigation{display:contents}
.product-modal-navigation[hidden]{display:none}
.product-modal-navigation button{position:absolute;top:50%;transform:translateY(-50%);z-index:1}
.product-modal-navigation [data-modal-previous]{left:8px}
.product-modal-navigation [data-modal-next]{right:8px}
.product-modal-navigation [data-modal-counter]{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);min-width:48px;padding:4px 8px;border-radius:12px;background:#080d1460;text-align:center;font-size:11px;font-variant-numeric:tabular-nums;pointer-events:none}
.product-image-link>.product-slide-outgoing{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
@media(max-width:800px){
 .product-slideshow-ready .product-thumbnails{display:none}
 .product-slideshow-ready .product-image-link{touch-action:pan-y pinch-zoom;overflow:hidden}
 .product-slideshow-ready .product-slide-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:4px var(--layout-gap) 10px;gap:0}
 .product-slide-dot{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;box-shadow:none}
 .product-slide-dot::before{content:'';width:7px;height:7px;border-radius:50%;background:#73818c}
 .product-slide-dot[aria-pressed=true]{background:none;border:0;box-shadow:none}
 .product-slide-dot[aria-pressed=true]::before{background:var(--accent);width:10px;height:10px}
 .product-slide-counter{flex-basis:100%;text-align:center;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
}
/* Fit the complete gallery and purchase panel into the first desktop screen. */
@media(min-width:1001px) and (min-height:650px){
 .guitar-page .product-hero{height:calc(100dvh - var(--product-hero-top,130px) - var(--layout-gap));min-height:0}
 .guitar-page .product-gallery{min-height:0;justify-content:flex-start}
 .guitar-page .product-image-link{flex:1 1 0;min-height:0;overflow:hidden}
 .guitar-page .product-image-link>img{height:100%;width:100%;object-fit:contain;aspect-ratio:auto}
 .guitar-page .product-thumbnails{flex:0 0 auto}
 .guitar-page .product-thumbnail img{max-height:clamp(64px,12dvh,120px);height:100%;object-fit:contain}
 .guitar-page .product-intro{padding:clamp(18px,3dvh,40px)}
 .guitar-page .product-intro h1{font-size:clamp(32px,5.5dvh,60px);margin:14px 0}
 .guitar-page .product-tags{margin:14px 0}
 .guitar-page .product-purchase{padding-top:14px;gap:8px}
 .guitar-page .product-intro .product-price{margin-bottom:6px}
}
/* Description beside the image, with purchase actions always accessible. */
.product-intro-description{margin:var(--layout-gap) 0;min-height:0}
.product-intro-description .product-description{margin:0;font-size:13px;line-height:1.75;color:#aebac5;white-space:pre-line;overflow-wrap:anywhere}
.product-page .product-story{grid-template-columns:1fr}
.product-page .product-specifications{border:0;padding:0}
.product-order{padding:clamp(18px,3vw,32px);gap:var(--layout-gap)}
.product-order h2,.product-order p{margin:0}
.product-order-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--layout-gap);margin:0}
.product-order-facts>div{padding-block:var(--layout-gap);border-block:1px solid #ffffff18}
.product-order-facts dt{color:var(--muted);font-size:12px;margin-bottom:8px}
.product-order-facts dd{margin:0;font-size:clamp(18px,2vw,24px);color:var(--text);overflow-wrap:anywhere}
.product-order-links{display:flex;flex-wrap:wrap;gap:var(--layout-gap)}
@media(max-width:600px){.product-order-facts{grid-template-columns:1fr}}
@media(min-width:1001px) and (min-height:650px){
 .product-intro{min-height:0}
 .product-intro> :not(.product-intro-description){flex-shrink:0}
 .product-intro-description{flex:1 1 0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent;padding-right:8px}
}
