/* Shop-only additions. The main site's fonts, paper, ink and orange remain the source of truth. */
.shop-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:24px 12px; border-bottom:1px solid #fff1d42e; }
.shop-toolbar a { display:inline-flex; align-items:center; gap:8px; min-height:44px; text-decoration:underline; text-underline-offset:5px; }
.shop-toolbar [data-cart-link] { text-decoration:none; background:var(--paper); color:var(--ink); padding:5px 18px; border:2px solid var(--ink); border-radius:10px; box-shadow:3px 4px 0 #100b18; }
[data-cart-count] { display:inline-grid; place-items:center; min-width:26px; height:26px; background:var(--orange); border-radius:50%; font-size:.8rem; }
#shop-status { margin:12px 0; color:var(--paper); font-size:.9rem; }
#shop-status:empty { margin:0; }
.shop-hero { padding-block:36px 30px; max-width:1000px; position:relative; }
.shop-hero .eyebrow { color:var(--lavender); margin-bottom:16px; }
.shop-hero h1,.shop-heading { font-size:clamp(3.3rem,7vw,6.7rem); max-width:100%; overflow-wrap:anywhere; }
.shop-hero h1 span { color:var(--orange); }
.shop-intro { max-width:650px; color:#ded1e8; margin-top:20px; font-size:1rem; }
.shop-hero .hand { color:var(--lavender); font-size:1.45rem; margin-top:18px; }
.collection-nav { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:12px; padding:12px 0 28px; width:auto; }
.collection-nav a { min-height:44px; padding:9px 19px; border:2px solid #b9a0ff80; border-radius:24px; font-size:.9rem; }
.collection-nav a:hover,.collection-nav a[aria-current] { color:var(--ink); background:var(--lavender); border-color:var(--lavender); }
.product-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; padding-bottom:48px; align-items:stretch; }
.product-card { min-width:0; display:flex; flex-direction:column; background:var(--paper); color:var(--ink); border:3px solid #100b18; border-radius:16px; box-shadow:7px 8px 0 #100b18; overflow:hidden; transition:transform .18s,box-shadow .18s; }
.product-card:hover { transform:translateY(-5px); box-shadow:9px 12px 0 #100b18; }
.product-card > a { display:flex; flex-direction:column; height:100%; }
.product-image-wrap { display:grid; position:relative; place-items:center; aspect-ratio:1; background:#e8d6f7; border-bottom:3px solid var(--ink); overflow:hidden; }
.product-card:nth-child(3n+2) .product-image-wrap { background:#e5ecce; }
.product-card:nth-child(3n+3) .product-image-wrap { background:#ffdcc0; }
.product-image-wrap img { width:100%; height:100%; object-fit:contain; position:relative; z-index:1; }
.image-fallback { padding:28px; text-align:center; font:400 1.35rem/1.35 'Patrick Hand',cursive; color:var(--ink); }
.product-image-wrap > .image-fallback { position:absolute; inset:0; display:grid; place-items:center; }
.product-card-body { padding:24px; display:flex; flex-direction:column; gap:14px; flex:1; }
.product-card h2,.product-card h3 { font-size:clamp(1.75rem,2.4vw,2.35rem); overflow-wrap:anywhere; }
.product-card .product-price { margin-top:auto; }
.product-price,#product-price { font:400 1.65rem/1.3 'Bubblegum Sans',sans-serif; }
.stock-label { font-size:.78rem; display:inline-block; padding:4px 10px; border:1px solid currentColor; border-radius:20px; align-self:start; }
.shop-empty,.shop-error { margin:24px 0 48px; padding:28px; border:2px solid var(--lavender); border-radius:15px; background:#342b42; }
.shop-empty h1,.shop-error h1 { font-size:clamp(2.3rem,5vw,4rem); }
.shop-empty p,.shop-error p { margin-block:16px; }
.shop-empty a,.shop-error a { text-decoration:underline; text-underline-offset:4px; min-height:44px; display:inline-flex; align-items:center; }
.shop-breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:24px 0; font-size:.8rem; }
.shop-breadcrumbs a { min-height:44px; display:inline-flex; align-items:center; text-decoration:underline; }
.product-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:35px; margin-block:30px 60px; }
.product-gallery,.product-info { min-width:0; }
.product-gallery > .product-image-wrap { border:3px solid var(--ink); border-radius:16px; box-shadow:7px 8px 0 #100b18; }
#product-image { width:100%; height:100%; max-height:760px; object-fit:contain; }
.product-thumbnails { display:flex; gap:10px; overflow-x:auto; padding:18px 3px 10px; scrollbar-color:var(--lavender) var(--ink); }
[data-product-image] { min-width:70px; width:70px; height:86px; padding:0; flex-shrink:0; background:var(--paper); border:2px solid var(--lavender); border-radius:8px; overflow:hidden; }
[data-product-image] img { width:100%; height:100%; object-fit:contain; }
[data-product-image][aria-pressed="true"] { border:3px solid var(--orange); }
.product-info h1 { font-size:clamp(2.8rem,4.6vw,4.7rem); line-height:1.07; overflow-wrap:anywhere; margin-bottom:20px; }
.product-info #product-price { color:var(--orange); font-size:2.1rem; margin-bottom:20px; }
#product-form { padding:22px; background:#342b42; border:1px solid #c4aceb55; border-radius:14px; display:grid; gap:12px; margin-block:22px; }
#product-form label { font-size:.9rem; }
#product-form select,#product-form input,.cart-item input { color:var(--ink); background:var(--paper); border:2px solid var(--ink); border-radius:8px; min-height:48px; max-width:100%; font:inherit; padding:10px; }
#product-form select { width:100%; }
#quantity { width:100px; }
#variant-status { font-size:.84rem; color:#e7dcef; }
#add-to-cart { margin-top:6px; width:100%; }
#add-to-cart:disabled,.shop-toolbar button:disabled,#cart-root button:disabled { cursor:wait; opacity:.6; transform:none; }
.product-description { white-space:pre-line; color:#e5d9ed; line-height:1.85; font-size:.95rem; margin-block:24px; }
.product-info details { border-block-end:1px solid #fff1d433; padding:12px 0; }
.product-info summary { min-height:44px; display:list-item; cursor:pointer; padding-top:8px; }
.product-info details p { white-space:pre-line; color:#e5d9ed; padding-block:10px; font-size:.9rem; }
.product-info a:not(.button) { text-decoration:underline; text-underline-offset:4px; }
.shop-notice { font-size:.86rem; color:#d9cbe3; margin-block:20px; max-width:740px; }
.shop-notice a { text-decoration:underline; }
#cart-root { margin:28px 0 60px; }
#cart-root > p { margin-block:18px; }
#cart-root a { text-decoration:underline; text-underline-offset:4px; }
.cart-items { list-style:none; margin:0; padding:0; }
.cart-item { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:start; gap:20px; background:var(--paper); color:var(--ink); border:3px solid var(--ink); border-radius:13px; padding:20px; margin-bottom:20px; box-shadow:5px 6px 0 #100b18; }
.cart-item img { width:80px; height:100px; object-fit:contain; background:#e8d6f7; border-radius:8px; }
.cart-item h2,.cart-item h3 { font-size:1.8rem; overflow-wrap:anywhere; margin-bottom:10px; }
.cart-item p { font-size:.9rem; margin-block:8px; }
.cart-item label { display:inline-flex; align-items:center; flex-wrap:wrap; gap:10px; margin-block:10px; }
.cart-item input { width:90px; }
.cart-item button { min-height:44px; color:var(--ink); border:2px solid var(--ink); border-radius:8px; background:var(--lavender); padding:8px 12px; margin:5px 8px 5px 0; }
.cart-item .cart-remove { background:transparent; text-decoration:underline; }
.cart-summary { margin-top:30px; background:#342b42; border:2px solid var(--lavender); border-radius:15px; padding:26px; }
.cart-summary p { margin-bottom:18px; }
.cart-summary h2 { font-size:2rem; margin-bottom:16px; }
#checkout { min-height:52px; margin-top:14px; }
#cart-root button:not(.button):not(.cart-item button) { min-height:44px; padding:10px 20px; border-radius:9px; font:inherit; background:var(--paper); color:var(--ink); border:2px solid var(--ink); }
:is(.product-card,.product-info,.cart-item) :focus-visible { outline:3px dashed #713bad; outline-offset:4px; }
#product-form :focus-visible,#cart-root > :focus-visible { outline:3px dashed var(--mint); outline-offset:4px; }
@media (min-width: 720px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
  .shop-hero { padding-block:50px 38px; }
  .cart-item { grid-template-columns:120px minmax(0,1fr); padding:26px; }
  .cart-item img { width:120px; height:150px; }
}
@media (min-width: 1050px) {
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .product-layout { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:56px; }
  .product-gallery { align-self:start; position:sticky; top:120px; }
}
@media (min-width: 1900px) {
  .product-layout { gap:76px; }
  .product-card-body { padding:32px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card { transition:none; }
  .product-card:hover { transform:none; }
}
@media print {
  .shop-toolbar,.collection-nav,#product-form,[data-product-image],#checkout { display:none; }
  .product-layout,.product-grid { display:block; }
  .product-card { break-inside:avoid; box-shadow:none; }
}
