/* The shop uses the studio's existing typefaces and theme tokens. */
.shop-front {padding-bottom:clamp(2.5rem,6vw,6rem)}
.shop-bar,.shop-bar>div,.shop-brandline,.shop-bag,.shop-title,.sm-heading,.sm-total,.sm-list-row {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.shop-bar {margin:0 0 1rem}.shop-brandline {justify-content:flex-start;font-size:.88rem;font-weight:700;gap:.7rem}.shop-brandline i {width:1.25rem;height:1px;background:var(--red)}.shop-brandline .icon {color:var(--red)}
.shop-history,.shop-bag,.shop-secondary,.shop-primary,.shop-pill,.shop-chips button,.shop-text-btn,.shop-order-row,.sm-gallery button {font:700 .88rem/1.3 var(--sans);border-radius:99px}
.shop-history,.shop-text-btn,.sm-gallery button {background:transparent;color:var(--ink);border:0;padding:.7rem .2rem;text-decoration:underline;text-underline-offset:4px}
.shop-bag,.shop-primary,.shop-secondary,.shop-pill {display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:.68rem 1.15rem;min-height:43px}
.shop-bag,.shop-secondary {background:var(--card);border:1px solid var(--line);color:var(--ink)}
.shop-bag b {background:var(--brand-red);color:white;border-radius:50%;min-width:1.45rem;height:1.45rem;display:grid;place-items:center;font-size:.75rem}
.shop-hero {position:relative;isolation:isolate;overflow:hidden;border-radius:1.1rem;background:#342c26;min-height:clamp(310px,34vw,490px);display:flex;align-items:center}
.shop-hero>img {position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%}
.shop-hero:before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#20181199 0%,#221c1415 49%,transparent 70%)}
.shop-hero-copy {padding:clamp(1.8rem,4vw,4.5rem);color:#fff7e9;display:grid;justify-items:start;gap:1.2rem}
.shop-hero h1 {font:400 clamp(4.75rem,8.7vw,9.3rem)/.76 var(--serif);letter-spacing:-.053em;margin:0}
.shop-hero h1 em,[data-theme=dark] .shop-hero h1 em {font-weight:400;color:#fff7e9}
.shop-pill {background:#fff8ec;color:#352a25;min-height:40px;padding-inline:1.2rem;font-size:.84rem}.shop-pill .icon {width:16px}
.shop-collection {margin:clamp(2rem,4.5vw,4rem) 0 0;scroll-margin:105px}
.shop-title h2,.sm-heading h2 {font:400 clamp(2.35rem,4vw,4.4rem)/1.05 var(--serif);letter-spacing:-.035em}
.shop-title span,.shop-muted,.shop-tile>small,.shop-detail-copy>small,.sm-form>p,.sm-form>small,.sm-form small,.sm-product small,.shop-line small,.shop-order-row small {color:var(--muted)}
.shop-muted {margin:.55rem 0 1.2rem}.shop-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.7rem,2vw,1.6rem);margin-top:1.15rem}
.shop-tile {background:none;border:0;padding:0;text-align:left;min-width:0;color:var(--ink)}
.shop-cover {position:relative;display:grid;place-items:center;aspect-ratio:4/5;overflow:hidden;border-radius:.7rem;background:var(--card);border:1px solid var(--line)}
.shop-cover>img,.shop-cover>video {display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.shop-cover>.icon {width:3rem;height:3rem;color:var(--muted)}.shop-tile:hover .shop-cover>img {transform:scale(1.035)}
.shop-tag,.shop-zoom {position:absolute;background:#fffaf0;color:#322522;border-radius:99px;padding:.28rem .65rem;font-size:.77rem;font-weight:700}
.shop-tag {top:.75rem;left:.75rem}.shop-zoom {right:.7rem;bottom:.7rem;display:grid;place-items:center;width:2.3rem;height:2.3rem;padding:0}
.shop-card-foot {display:flex;gap:.4rem;align-items:baseline;justify-content:space-between;padding:.55rem 0 .1rem;flex-wrap:wrap}
.shop-card-foot strong {font:400 clamp(1.4rem,2.1vw,2.15rem)/1.1 var(--serif)}.shop-card-foot small,.shop-price del,.shop-card-foot del {color:var(--muted)}
.shop-filters,.shop-chips,.shop-search {display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.shop-filters {margin:1.2rem 0;justify-content:space-between}.shop-chips button {padding:.5rem .9rem;background:transparent;border:1px solid var(--line)}.shop-chips button[aria-pressed=true] {background:var(--ink);color:var(--paper);border-color:var(--ink)}
.shop-search {flex-wrap:nowrap;border-bottom:1px solid var(--line)}.shop-search input {padding:.55rem .3rem;background:transparent;border:0;width:12rem}
.shop-dialog {box-sizing:border-box;width:min(95vw,530px);max-width:calc(100vw - 1rem);max-height:88vh;max-height:88dvh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:1.25rem;padding:0 1.3rem 1.3rem;color:var(--ink);background:var(--card);box-shadow:0 18px 80px #100a0c55}
.shop-dialog.shop-wide {width:min(95vw,840px)}.shop-dialog::backdrop {background:#140e11a6;backdrop-filter:blur(7px)}
.shop-dialog-head {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--card);border-bottom:1px solid var(--line);padding:.85rem 0;margin-bottom:1rem}
.shop-dialog h2,.shop-dialog h3,.sm-form h2,.sm-form h3 {font:400 2rem/1.1 var(--serif);letter-spacing:-.02em}.shop-dialog-head .icon-button {flex:none}
.shop-concept-image {max-height:60vh;margin:auto;border-radius:.6rem}.shop-detail {display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.shop-detail>* {min-width:0}
.shop-detail-copy,.shop-checkout,.shop-recap,.shop-blank,.sm-form {display:grid;align-content:start;gap:.85rem}
.shop-detail-copy {align-self:center}.shop-detail-copy>p {white-space:pre-line}.shop-price {font-weight:bold;font-size:1.25rem}.shop-price del {font-size:.9rem}
.shop-main-photo {border-radius:.65rem;overflow:hidden;background:var(--paper);display:grid;place-items:center;min-height:10rem}
.shop-main-photo img,.shop-main-photo video {width:100%;object-fit:contain;max-height:55vh}.shop-no-photo {font:2rem var(--serif)}
.shop-thumbs {display:flex;gap:.5rem;overflow-x:auto;margin-top:.6rem}.shop-thumbs button {width:48px;height:56px;padding:0;border:2px solid transparent;border-radius:.45rem;overflow:hidden;flex:none;background:var(--paper)}.shop-thumbs img {width:100%;height:100%;object-fit:cover}.shop-thumbs button[aria-pressed=true] {border-color:var(--red)}
.shop-dialog label,.sm-form label:not(.sm-check) {display:grid;gap:.28rem;font:700 .86rem/1.4 var(--sans);min-width:0}
.shop-dialog :is(input,select,textarea),.sm-form :is(input:not([type=checkbox]),select,textarea) {box-sizing:border-box;width:100%;min-width:0;min-height:41px;padding:.52rem .7rem;color:var(--ink);border:1px solid var(--line);background:var(--paper);border-radius:.5rem;font:400 1rem/1.4 var(--sans)}
.shop-primary {border:0;background:var(--brand-red);color:white}.shop-primary:disabled {opacity:.55}
.shop-line {display:flex;justify-content:space-between;gap:.8rem;padding:.8rem 0;border-bottom:1px solid var(--line)}
.shop-line>img {width:52px;height:66px;object-fit:cover;border-radius:.4rem}.shop-line>div {flex:1}.shop-line small,.shop-order-row small,.sm-list-row small {display:block}
.shop-qty {display:flex;align-items:center;gap:.65rem;margin-top:.3rem}.shop-qty button {border:1px solid var(--line);background:var(--paper);border-radius:30px;min-width:30px;height:30px}.shop-qty .shop-remove {border:0;background:none;text-decoration:underline;font-size:.8rem}
.shop-coupon {display:flex;align-items:end;gap:.6rem}.shop-coupon label {flex:1}.shop-totals {margin:.3rem 0}.shop-totals>div {display:flex;justify-content:space-between;padding:.25rem 0}.shop-totals dd {margin:0;font-weight:bold}.shop-totals>div:last-child {border-top:1px solid var(--line);margin-top:.4rem;padding-top:.7rem;font-size:1.15rem}
.shop-text-btn {justify-self:start}.shop-issues,[data-shop-body] [data-error] {color:var(--red)}.shop-issues:empty,[data-shop-body] [data-error]:empty {display:none}
.shop-pair,.sm-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.shop-blank {padding:1rem 0;justify-items:start}.shop-order-row {padding:1rem 0;display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.sm-tabs {display:flex;gap:.35rem;flex-wrap:wrap;margin:.5rem 0 1.5rem;border-bottom:1px solid var(--line);padding-bottom:.65rem}.sm-tabs a {padding:.5rem .9rem;font-weight:700;font-size:.9rem;border-radius:30px}.sm-tabs a[aria-current] {color:white;background:var(--brand-red)}
.sm-heading {margin-bottom:1.15rem}.sm-heading h2 {font-size:2.3rem}.sm-heading>a:not(.admin-button) {text-decoration:underline}.sm-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}
.sm-form {padding:clamp(1rem,2vw,1.5rem);margin:0;min-width:0}.sm-form h3 {font-size:1.55rem}.sm-form p,.sm-form code {overflow-wrap:anywhere}.sm-form code {font-size:.8rem}.sm-form .sm-check {display:flex;align-items:center;gap:.6rem}.sm-check input {width:1.1rem;height:1.1rem;accent-color:var(--brand-red)}.sm-variant {display:grid;grid-template-columns:1fr 1.3fr .85fr auto;align-items:end;gap:.35rem;margin-bottom:.6rem}.sm-variant .icon-button {width:35px;height:40px}.sm-products {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:.8rem}
.sm-product {display:flex;align-items:center;gap:.85rem;border:1px solid var(--line);background:var(--card);padding:.65rem;border-radius:.8rem}.sm-product>img,.sm-product>span {width:72px;height:88px;object-fit:cover;border-radius:.5rem;display:grid;place-items:center;background:var(--paper)}.sm-product>div {flex:1}.sm-product h3 {font:400 1.6rem/1.15 var(--serif)}.sm-product p {font-size:.88rem;margin:.3rem 0 0}
.sm-list-row {border-bottom:1px solid var(--line);padding:.6rem 0;overflow-wrap:anywhere}.sm-list-row>span {font-size:.88rem}.sm-gallery {display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.sm-gallery img,.sm-gallery video {width:100%;height:140px;object-fit:contain;background:var(--paper);border-radius:.5rem}.sm-gallery form {display:flex;gap:.65rem;align-items:center;justify-content:space-between}.sm-gallery button,.sm-gallery b {font-size:.75rem}
@media (max-width:980px){.sm-columns{grid-template-columns:1fr}.shop-card-foot {align-items:flex-start;flex-direction:column}.shop-hero{min-height:300px}}
@media (min-width:721px) and (max-width:1120px){.mast .mast-nav{gap:clamp(7px,1.2vw,13px)}.mast .mast-nav>a{font-size:13px}}
@media (min-width:721px) and (max-width:835px){.mast .mast-nav>a[href="/?tab=chat"]{display:none}}
@media (max-width:720px){.shop-brandline {font-size:.8rem}.shop-bar,.shop-bar>div {gap:.5rem}.shop-bag {gap:.3rem;padding:.4rem .7rem}.shop-bag .icon {width:16px}.shop-hero {min-height:280px}.shop-hero-copy {padding:1.35rem;gap:1.1rem}.shop-hero h1{font-size:4.9rem}.shop-hero>img{object-position:51% center}.shop-hero:before{background:linear-gradient(90deg,#231b16bb,#241c1640 53%,transparent 80%)}.shop-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.shop-collection {scroll-margin:75px}.shop-detail {grid-template-columns:1fr}.shop-detail-copy h3{display:none}.shop-main-photo img,.shop-main-photo video{max-height:34dvh}.shop-dialog {padding-inline:1rem}.shop-detail {gap:1rem}.shop-search{width:100%}.shop-search input{width:100%}.shop-chips{gap:.3rem}.shop-chips button{font-size:.82rem}.shop-dialog h2{font-size:1.75rem}}
@media(max-width:365px){.shop-brandline>i,.shop-brandline>.icon{display:none}.shop-pair,.sm-pair{grid-template-columns:1fr}.shop-history{font-size:.78rem}.sm-tabs a{padding:.4rem .55rem}}
.shop-bar .shop-brandline,.shop-bar button {white-space:nowrap}
@media(max-width:410px){.mobile-tabs:has(a:nth-child(7)) a{font-size:clamp(8.5px,2.35vw,10px);padding-inline:0;letter-spacing:-.015em}}
.shop-purchase,.shop-delivery-summary {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.shop-purchase label {max-width:6.4rem}
.shop-purchase p,.shop-delivery-summary p {font-size:.9rem;color:var(--muted);margin:0}
.shop-estimator {display:grid;gap:.8rem;border-block:1px solid var(--line);padding:1rem 0}
.shop-estimator .shop-secondary {justify-self:start}
.shop-delivery-summary {border-bottom:1px solid var(--line);padding:.4rem 0 .8rem}
.shop-tile .shop-card-foot>span {font-weight:700}
.shop-dialog [data-payment] {min-width:0}
.sm-events {display:grid;gap:.5rem;margin:.7rem 0}

.shop-totals small {color:var(--muted)}
