.shop-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 25%,#9b601f,transparent 58%),linear-gradient(110deg,#402516,#674021);padding:45px;border-radius:20px;color:#fff2d8;margin-bottom:30px}.shop-hero:after{content:'';position:absolute;right:-60px;bottom:-160px;width:400px;height:400px;border:1px solid #ffce6430;border-radius:50%;box-shadow:0 0 0 40px #ffce6408,0 0 0 80px #ffce6406;pointer-events:none}.shop-hero h1{font-family:Georgia,serif;font-size:48px;font-weight:400}.shop-hero h1 em{color:#ffcf69}.shop-hero .eyebrow{color:#ffdb8a}.shop-hero p{color:#e8d5bc;max-width:500px}.hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.hero-pills span{border:1px solid #b18a5066;padding:5px 12px;border-radius:20px;font-size:10px;color:#ffe6b3}.shop-toolbar{display:grid;grid-template-columns:1fr 220px 175px;gap:12px;align-items:end;margin-bottom:18px}.shop-toolbar label{font-size:11px;color:#806348}.shop-toolbar input,.shop-toolbar select{margin-top:5px;font-size:12px}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{border:1px solid #e9dcca;border-radius:15px;overflow:hidden;background:#fffefb;display:flex;flex-direction:column;min-width:0}.product-photo{display:block;position:relative;background:#fff;aspect-ratio:1.2;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:contain;padding:12px;transition:transform .25s}.product-photo:hover img{transform:scale(1.04)}.offer-tag{position:absolute;top:13px;left:13px;border-radius:6px;padding:5px 9px;background:linear-gradient(110deg,#ffac37,#ffe073);color:#593610;font-size:10px;font-weight:700}.product-body{padding:20px;display:flex;flex-direction:column;flex:1}.product-category{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#9c713c}.product-body h2{font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;margin:9px 0 10px}.product-prices{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin:8px 0}.product-prices strong{font-size:23px;color:#713b17}.product-prices s{font-size:13px;color:#968573}.product-prices .offer-label{font-size:10px;color:#916733;flex-basis:100%;margin-bottom:-9px}.product-body .stock{font-size:10px;margin:0 0 15px;color:#5c7550}.product-body .actions{display:flex;gap:8px;margin-top:auto;padding-top:10px;flex-wrap:wrap}.product-body .actions>*{flex:1;white-space:nowrap}.add-button{background:linear-gradient(110deg,#ff8822,#ffd154);color:#5b300c;border:0}.shop-note{font-size:11px;color:#86715b;margin-bottom:22px}.shop-detail{display:grid;grid-template-columns:1fr 1.1fr;gap:34px;margin-top:24px}.main-product-image{display:block;width:100%;height:400px;object-fit:contain;background:#fff;border-radius:15px;border:1px solid #e6d9c6}.thumbs{display:flex;gap:9px;overflow:auto;margin-top:12px;padding:4px}.thumbs button{padding:2px;background:white;border:1px solid #e2d0b4;border-radius:8px;flex:none}.thumbs button[aria-pressed=true]{outline:2px solid #b66b29}.thumbs img{width:65px;height:65px;object-fit:contain}.shop-description{white-space:pre-line;font-size:13px;line-height:1.9}.detail-actions{display:flex;gap:12px;align-items:end;margin:24px 0}.detail-actions label{font-size:11px;width:90px}.detail-actions input{padding:10px;margin-top:6px}.product-info h2{font-size:35px;margin-top:12px}.product-info .product-prices strong{font-size:30px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.cart-row{display:grid;grid-template-columns:85px 1fr;gap:18px;padding:20px 0;border-bottom:1px solid #e8dac5}.cart-row img{width:85px;height:85px;object-fit:contain;background:#fff;border-radius:9px}.cart-row h3{font-size:15px;margin:0 0 8px}.cart-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:10px}.cart-controls button{padding:5px 11px}.cart-summary{align-self:start;position:sticky;top:20px}.cart-total{display:flex;justify-content:space-between;gap:15px;font-weight:700;padding:16px 0;border-bottom:1px solid #e8dac5}.cart-summary h2{font-size:25px}.cart-summary .notice{margin-top:18px}.shop-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#51301c;color:#fff1cc;padding:12px 22px;border-radius:10px;box-shadow:0 5px 20px #51301c22;z-index:20;max-width:90%;font-size:12px}.shop-status:empty{display:none}.product-details-panel{margin-top:28px}.product-details-panel h2{font-size:28px}.quantity-error{color:#a33320;font-size:12px}.empty{max-width:750px;margin:auto}@media(max-width:800px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-toolbar{grid-template-columns:1fr 1fr}.shop-toolbar label:first-child{grid-column:1/-1}.shop-detail,.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.main-product-image{height:330px}}@media(max-width:480px){.shop-hero{padding:30px 24px}.shop-hero h1{font-size:37px}.hero-pills{gap:6px}.hero-pills span{font-size:9px;padding:4px 8px}.shop-grid{grid-template-columns:1fr}.shop-toolbar{grid-template-columns:1fr}.shop-toolbar label:first-child{grid-column:auto}.main-product-image{height:280px}.product-info h2{font-size:30px}.product-photo{aspect-ratio:1.3}.product-body{padding:20px}.cart-row{grid-template-columns:65px 1fr}.cart-row img{width:65px;height:65px}}@media(prefers-reduced-motion:reduce){.product-photo img{transition:none}}

/* Square edge-to-edge product photography without padded side gutters. */
#shopApp .shop-grid .product-photo{aspect-ratio:1}
#shopApp .shop-grid .product-photo img{display:block;width:100%;height:100%;padding:0;object-fit:cover}

/* Keep gallery thumbnails and long product details inside their grid tracks. */
.shop-detail{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.shop-detail>*,.cart-layout>*,.cart-row>*{min-width:0}
.product-info,.shop-description,.cart-row h3{overflow-wrap:anywhere}
.cart-row{grid-template-columns:85px minmax(0,1fr)}
.detail-actions{flex-wrap:wrap}
.detail-actions label{flex:0 0 90px}
.cart-total{flex-wrap:wrap}
@media(max-width:800px){.shop-detail{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.cart-row{grid-template-columns:65px minmax(0,1fr)}}
