/* Ecommerce Portal (Single Vendor): catalogue screens, storefront and admin (phone first: 390 px and up). */

/* Storefront: category links, product cards */
.shop-cats { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; }
.shop-cats a { flex: 0 0 auto; padding: .4rem .8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; white-space: nowrap; }
.shop-cats a[aria-current="page"] { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand-text); }
.shop-products { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .shop-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-card a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .5rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--surface); color: var(--text); text-decoration: none; }
.shop-card img, .shop-noimg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: .5rem; background: var(--bg-muted); }
/* 1.0.1: a product without a photo gets a neat placeholder (soft pattern, picture icon, "Photo coming soon") */
.shop-noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: .5rem; text-align: center; color: var(--text-subtle);
  background: radial-gradient(circle at 50% 42%, var(--surface) 0 32%, transparent 33%), repeating-linear-gradient(135deg, var(--bg-muted) 0 10px, var(--bg-subtle, var(--bg-muted)) 10px 20px);
  border: 1px dashed var(--border); }
.shop-noimg .icon { width: 2.25rem; height: 2.25rem; opacity: .7; }
.shop-noimg-text { font-size: .8rem; line-height: 1.2; overflow-wrap: anywhere; }
.shop-noimg-lg .icon { width: 3.5rem; height: 3.5rem; }
.shop-noimg-lg .shop-noimg-text { font-size: .95rem; }
.shop-cart-img .shop-noimg .icon { width: 1.5rem; height: 1.5rem; }
.shop-noimg-lg { min-height: 12rem; }
.shop-card-title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.shop-card-price { color: var(--brand-text); font-weight: 700; }

/* Product page */
.shop-product-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); margin: 1rem 0; }
@media (min-width: 860px) { .shop-product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.shop-gallery { display: grid; gap: .5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-gallery figure { margin: 0; }
.shop-gallery img { width: 100%; height: auto; border-radius: .5rem; background: var(--bg-muted); }
.shop-gallery-main, .shop-gallery .shop-noimg, .shop-gallery p { grid-column: 1 / -1; }
.shop-buy h1 { overflow-wrap: anywhere; }
.shop-price { font-size: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin: .5rem 0 .25rem; }
.shop-price s, .shop-variant-price s { color: var(--text-subtle); font-size: .9em; }
.shop-variants { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.shop-variants li { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem .75rem; border: 1px solid var(--border); border-radius: .5rem; }
.shop-variant-name { display: flex; flex-wrap: wrap; gap: .5rem; overflow-wrap: anywhere; }
.shop-value { display: inline-flex; align-items: center; gap: .3rem; }
.shop-variant-price { white-space: nowrap; font-weight: 600; }
.shop-section { margin: 1rem 0; }
.shop-policy-summary { margin-top: 1rem; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--bg-subtle); }

/* Admin */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.shop-toolbar .input { flex: 1 1 12rem; min-width: 0; }
.shop-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-checks { display: grid; gap: .25rem .75rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.shop-options { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .shop-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-option { display: grid; gap: .35rem; border: 1px solid var(--border); border-radius: .5rem; padding: .75rem; min-width: 0; }
.shop-grid .input { min-width: 6.5rem; }
.shop-thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.shop-thumbs li { display: grid; gap: .35rem; justify-items: start; }
.shop-thumbs img { width: 7.5rem; height: 7.5rem; object-fit: cover; border-radius: .5rem; background: var(--bg-muted); }
.shop-indent { display: inline-block; }
.shop-depth-1 { width: 1rem; } .shop-depth-2 { width: 2rem; } .shop-depth-3 { width: 3rem; } .shop-depth-4 { width: 4rem; } .shop-depth-5 { width: 5rem; } .shop-depth-6 { width: 6rem; }
.shop-status-published { background: var(--success-soft); color: var(--success); }
.shop-status-scheduled { background: var(--warning-soft); color: var(--warning); }
.shop-status-archived { background: var(--bg-muted); color: var(--text-subtle); }
/* Phase 3: availability on the storefront and Admin → Stock (works from 320 px up) */
.shop-stock-line { margin: .25rem 0 .75rem; }
.shop-avail { font-weight: 600; }
.shop-avail-stock, .shop-avail-untracked { color: var(--success, #15803d); }
.shop-avail-out { color: var(--danger, #b91c1c); }
.shop-avail-backorder, .shop-avail-preorder { color: var(--warning, #a16207); }
.shop-variant-stock { flex-basis: 100%; }
.shop-variants li { flex-wrap: wrap; }
.shop-stock-forms { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.shop-stock-forms .admin-section { margin: 0; }
.shop-check-list { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.shop-badge-low, .shop-stock-out { background: var(--danger-soft, #fee2e2); color: var(--danger, #b91c1c); }
.shop-stock-backorder, .shop-stock-preorder { background: var(--warning-soft, #fef3c7); color: var(--warning, #a16207); }
table .num { text-align: right; white-space: nowrap; }
/* Phase 4: the storefront — theme tokens, mega menu, home blocks (phone first; panels only from 64rem) */
.shop-store .shop-card a { border-color: var(--shop-card-border, var(--border)); box-shadow: var(--shop-card-shadow, none); border-radius: var(--radius-lg); }
.shop-store .shop-products { gap: var(--shop-gap, 1rem); }
.shop-mega { display: none; }
.shop-mega-list { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.shop-mega-item { position: relative; }
.shop-mega-highlight > a, .shop-mega-highlight summary { color: var(--shop-accent, var(--brand-text)); font-weight: 600; }
.shop-mega-details > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .25rem; }
.shop-mega-details > summary::-webkit-details-marker { display: none; }
.shop-mega-panel { position: absolute; z-index: 40; left: 0; top: 100%; min-width: min(90vw, 40rem); padding: 1rem; background: var(--surface-raised, var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.shop-mega-columns { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin-top: .5rem; }
.shop-mega-col ul { margin: .25rem 0 0; padding: 0; list-style: none; display: grid; gap: .2rem; }
.shop-mega-col a, .shop-mega-all { color: var(--text); text-decoration: none; }
.shop-mega-head { font-weight: 600; }
.shop-mega-promo { display: block; padding: .75rem; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand-text); font-weight: 600; text-decoration: none; }
@media (min-width: 64rem) { .shop-mega { display: block; flex: 1; } }
.shop-drawer-group > summary { cursor: pointer; }
.shop-drawer-sub { padding-left: 1.5rem; }
.shop-drawer-sub2 { padding-left: 2.5rem; font-size: .9em; }
.shop-preview-bar { padding: .5rem 1rem; background: var(--warning-soft, #fef3c7); color: var(--text); text-align: center; }
.shop-home-blocks { display: grid; gap: calc(var(--shop-gap, 1rem) * 2); padding-block: var(--shop-gap, 1rem); }
.shop-block-title { margin: 0 0 .75rem; font-family: var(--font-heading); }
.shop-hero { display: grid; gap: var(--shop-gap, 1rem); align-items: center; padding: calc(var(--shop-gap, 1rem) * 1.5); border-radius: var(--radius-xl); background: var(--brand-soft); }
.shop-hero h1, .shop-hero h2 { margin: 0 0 .5rem; font-family: var(--font-heading); }
.shop-hero-media img { width: 100%; height: auto; border-radius: var(--radius-lg); }
@media (min-width: 48rem) { .shop-hero-image { grid-template-columns: 1fr 1fr; } }
.shop-tiles { display: grid; gap: var(--shop-gap-sm, .75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.shop-tiles a, .shop-tiles span { display: block; padding: .9rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); text-align: center; text-decoration: none; font-weight: 600; }
.shop-image-text { display: grid; gap: var(--shop-gap, 1rem); align-items: center; }
.shop-image-text img { width: 100%; height: auto; border-radius: var(--radius-lg); }
@media (min-width: 48rem) { .shop-image-text { grid-template-columns: 1fr 1fr; } .shop-image-right > :first-child { order: 2; } }
.shop-faq details { padding: .75rem 0; border-bottom: 1px solid var(--border); }
.shop-faq summary { cursor: pointer; font-weight: 600; }
.shop-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.shop-countdown { font-weight: 600; color: var(--shop-accent, var(--brand-text)); }
@media (max-width: 47.99rem) { .shop-dev-desktop { display: none; } }
@media (min-width: 48rem) { .shop-dev-mobile { display: none; } }
/* Admin: theme editor and page builder */
.shop-theme-editor { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); } /* 1.0.1: the 390 px preview frame no longer widens the page on a phone */
@media (min-width: 80rem) { .shop-theme-editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; } }
.shop-theme-cards { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.shop-theme-card { display: flex; gap: .5rem; padding: .75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; }
.shop-theme-card > span { display: grid; gap: .2rem; }
.shop-colour { min-height: 2.5rem; padding: .2rem; }
.shop-code { font-family: var(--font-mono); font-size: .85rem; }
.shop-preview-head { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; }
.shop-preview-frame { overflow: auto; padding: .5rem; background: var(--bg-muted); }
.shop-preview-frame iframe { display: block; height: 40rem; max-width: none; margin-inline: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.shop-frame-390 { width: 24.375rem; }
.shop-frame-768 { width: 48rem; }
.shop-frame-1280 { width: 80rem; }
.shop-builder-head { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; }
.shop-builder-add { display: flex; flex-wrap: wrap; gap: .4rem; }
.shop-menu-tree { margin: 0; padding-left: 1.1rem; }
/* Phase 5 — search box, suggestions, filters (R6.1, R6.4); phone first (390 px) */
.shop-search-row { border-bottom: 1px solid var(--border); background: var(--surface); padding: .5rem 0; }
.shop-search-form { position: relative; display: flex; gap: .5rem; max-width: 44rem; margin: 0 auto; }
.shop-search-input { flex: 1; min-width: 0; }
.shop-search-btn { flex: none; }
.shop-suggest { position: absolute; z-index: 40; top: calc(100% + .25rem); left: 0; right: 0; max-height: 70vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; box-shadow: var(--shadow-md, 0 8px 24px rgb(0 0 0 / .12)); padding: .25rem 0; }
.shop-suggest-head { padding: .4rem .75rem .2rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.shop-suggest-item { display: flex; align-items: center; gap: .6rem; padding: .45rem .75rem; color: var(--text); text-decoration: none; min-height: 44px; }
.shop-suggest-item img { width: 40px; height: 40px; object-fit: cover; border-radius: .35rem; flex: none; }
.shop-suggest-item[aria-selected="true"], .shop-suggest-item:hover { background: var(--bg-muted); }
.shop-suggest-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.shop-suggest-price { font-weight: 700; color: var(--brand-text); white-space: nowrap; }
.shop-listing { display: grid; gap: 1rem; }
@media (min-width: 900px) { .shop-listing { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; } }
.shop-listing-main { min-width: 0; }
.shop-facets-box { border: 1px solid var(--border); border-radius: .75rem; background: var(--surface); padding: .5rem .75rem; }
.shop-facets-head { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: .4rem; min-height: 44px; }
.shop-facet { border: 0; margin: 0 0 .75rem; padding: 0; }
.shop-facet legend { font-weight: 600; margin-bottom: .25rem; }
.shop-facet-value { display: flex; align-items: center; gap: .4rem; min-height: 36px; }
.shop-facet-count { margin-left: auto; color: var(--text-muted); font-size: .85rem; }
.shop-facet-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.shop-corrected { margin: .25rem 0 0; }
.shop-card .badge { align-self: flex-start; }
/* Phase 11b: a gift card's designs (the issued card is printed from its page) */
.shop-gift-card { max-width: 32rem; border-width: 2px; }
.shop-gift-card code { word-break: break-all; letter-spacing: .05em; }
.shop-gift-classic { border-color: var(--color-primary, #1d4ed8); }
.shop-gift-festive { border-color: #d97706; background: linear-gradient(135deg, #fff7ed, #ffffff); }
.shop-gift-birthday { border-color: #db2777; background: linear-gradient(135deg, #fdf2f8, #ffffff); }
@media print { .shop-gift-card { box-shadow: none; } }
/* phase 12a / 12b: return photos; ticket messages keep their lines */
.shop-return-photo { object-fit: cover; border-radius: .25rem; }
.shop-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
/* phase 13a: reviews, questions, wishlists, alerts, comparison */
.shop-engage form { display: inline-flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.shop-alert summary, .shop-review-write summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }
.shop-rating-big { font-size: 1.5rem; margin: 0; }
.shop-rating-bars { list-style: none; padding: 0; margin: 0; max-width: 22rem; }
.shop-rating-bars li { display: grid; grid-template-columns: 3rem 1fr 2.5rem; gap: .5rem; align-items: center; min-height: 32px; }
.shop-rating-bars meter { width: 100%; }
.shop-reviews, .shop-qa { list-style: none; padding: 0; margin: 0; }
.shop-review { border-top: 1px solid var(--border); padding-top: .75rem; overflow-wrap: anywhere; }
.shop-stars { color: #b45309; letter-spacing: .05em; }
.shop-review-photos { list-style: none; padding: 0; margin: .25rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-review-photos img { object-fit: cover; border-radius: .25rem; }
.shop-review-reply, .shop-answer { border-left: 3px solid var(--border); padding-left: .75rem; margin-left: .25rem; overflow-wrap: anywhere; }
.shop-review-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.shop-rating-input { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.shop-compare table { min-width: 36rem; }
.shop-compare th[scope="col"] form { margin-top: .25rem; }
.shop-pages { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
/* Phase 14a: the blog, the SEO checklist and the search result preview */
.shop-blog-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .shop-blog-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .shop-blog-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-blog-card a { display: block; height: 100%; color: var(--text); text-decoration: none; }
.shop-blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .75rem .75rem 0 0; }
.shop-blog-title { display: block; line-height: 1.3; overflow-wrap: anywhere; }
.shop-blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-blog-article { max-width: 48rem; }
.shop-blog-cover img { width: 100%; height: auto; border-radius: .75rem; }
.shop-blog-body { overflow-wrap: anywhere; }
.shop-blog-body table { display: block; max-width: 100%; overflow-x: auto; }
.shop-seo-counts { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.shop-serp { display: flex; flex-direction: column; gap: .15rem; padding: .75rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--surface); overflow-wrap: anywhere; }
.shop-serp-title { color: var(--brand-text); font-size: 1.05rem; }
.shop-serp-url { color: var(--text-subtle); }
.shop-inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Phase 14c (R20.3, R20.5): the offline page and the packing app — one column on a 390 px phone */
.shop-offline-lines, .shop-offline-cards { list-style: none; margin: 0; padding: 0; }
.shop-offline-line, .shop-offline-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .5rem; align-items: center; padding-block: .5rem; border-bottom: 1px solid var(--border); }
.shop-offline-line > .shop-buy-row { grid-column: 1 / -1; }
.shop-offline-line img, .shop-offline-card img { width: 64px; height: 64px; object-fit: cover; border-radius: .25rem; }
.shop-offline-card .small { grid-column: 2; }
.shop-pack [data-pack-orders] > li, .shop-pack [data-pack-lines] > li { justify-content: space-between; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-block: .5rem; }
.shop-pack [data-picked="yes"] { opacity: .7; }
.shop-pack-video { width: 100%; max-width: 100%; max-height: 40vh; border-radius: .25rem; }
.shop-pack .input { min-width: 0; flex: 1 1 10rem; }
/* Phase 15c (R24.1): Admin → Shop → Dashboard — one column on a phone (390 px), two from 860 px */
.shop-dash-grid { display: grid; gap: var(--space-4, 1rem); grid-template-columns: minmax(0, 1fr); margin-bottom: var(--space-4, 1rem); }
@media (min-width: 860px) { .shop-dash-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.shop-dash-stats { display: flex; flex-wrap: wrap; gap: var(--space-4, 1rem); margin: 0 0 var(--space-2, .5rem); }
.shop-dash-stats > div { min-width: 7rem; }
.shop-dash-stats dt { font-size: .85rem; color: var(--text-muted, #5b6472); }
.shop-dash-stats dd { margin: 0; font-size: 1.35rem; font-weight: 600; overflow-wrap: anywhere; }
.shop-dash-stats dd.small { font-size: .8rem; font-weight: 400; }
.shop-dash-pending { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); list-style: none; padding: 0; margin: 0; }

/* 1.0.1 (phone sweep): the home builder's "new preview link" button wraps instead of running past a 320 px screen */
[data-preview-reset] .btn { max-width: 100%; white-space: normal; text-align: start; height: auto; }

/* 1.0.1 (class-by-class check of the shop's views): rules the views used without one */
.stack-sm > * + * { margin-top: var(--space-2); }
.stack.stack-sm { --stack-gap: var(--space-2); }
.h2 { font-size: var(--text-2xl); }
.h3 { font-size: var(--text-xl); }
.h4 { font-size: var(--text-lg); }
.h5 { font-size: var(--text-base); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-group { display: inline-flex; flex-wrap: wrap; gap: .25rem; }
.input-sm { min-height: 2.25rem; padding-block: .25rem; font-size: var(--text-sm); }
.shop-buy-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.shop-buy-row > .input, .shop-buy-row > .field { flex: 1 1 8rem; min-width: 0; margin: 0; }
.shop-buy-row > .btn { flex: 0 0 auto; }
.shop-qty { flex: 0 1 7rem !important; }
.shop-swatch { vertical-align: -3px; border-radius: 50%; }
.shop-breakup { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; margin: 0; }
.shop-breakup > div { display: flex; justify-content: space-between; gap: 1rem; }
.shop-breakup dt { font-weight: 400; }
.shop-breakup dt { min-width: 0; }
.shop-breakup dd { flex: 0 1 auto; max-width: 60%; margin: 0; text-align: end; overflow-wrap: anywhere; }
.shop-breakup-save { color: var(--success); }
.shop-breakup-total { padding-top: .4rem; border-top: 1px solid var(--border); font-weight: 700; font-size: 1.1rem; }

/* Cart, checkout and the order page: lines and the summary one under the other on a phone, side by side from 860 px */
.shop-cart-layout, .shop-checkout-layout { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) {
  .shop-cart-layout, .shop-checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); }
}
.shop-cart-lines { list-style: none; margin: 0; padding: 0; }
.shop-cart-grid { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .75rem; align-items: start; }
@media (min-width: 600px) { .shop-cart-grid { grid-template-columns: 6rem minmax(0, 1fr); } }
.shop-cart-img { display: block; }
.shop-cart-img img, .shop-cart-img .shop-noimg { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: .5rem; background: var(--bg-muted); }
.shop-cart-img .shop-noimg-text { display: none; }
.shop-cart-grid > .stack-sm { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; }
.shop-cart-grid > .stack-sm > * + * { margin-top: 0; }
.shop-cart-title { font-weight: 600; overflow-wrap: anywhere; }
.shop-cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.shop-qty-input { width: 5rem; flex: 0 0 5rem !important; }
.shop-cart-note { color: var(--text); }
