.cart-open { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .65rem; color: #493126; background: #E8D8C2; border: 1px solid #49312633; border-radius: 5px; font: inherit; font-size: .8rem; white-space: nowrap; }
.quantity-stepper { display: flex; align-items: center; gap: 8px; }
.checkout-recovery { padding: 18px clamp(16px, 4vw, 40px); margin-top: var(--header-height); background: #E8D8C2; color: #493126; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.checkout-recovery[hidden] { display: none; }
.checkout-recovery p { max-width: 700px; line-height: 1.7; }
.quantity-stepper button { width: 44px; height: 44px; border: 1px solid #49312655; border-radius: 4px; background: #f0e4d3; font-size: 1.2rem; }
.quantity-stepper input { margin: 0; text-align: center; }
.checkout-items { display: grid; gap: 12px; margin: 18px 0; }
.checkout-line { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid #49312622; font-size: .9rem; overflow-wrap: anywhere; }
.checkout-line span { color: #664a3d; }
.deposit-policy { padding: 18px; margin: 20px 0; background: #E8D8C2; color: #493126; border-radius: 6px; line-height: 1.9; }
.order-confirmation { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(92vw, 620px); max-height: 90dvh; overflow-y: auto; border: 1px solid #49312633; border-radius: 10px; padding: clamp(24px, 5vw, 42px); background: #fdfbf8; color: #493126; }
.order-confirmation > .section-eyebrow { display: block; padding-right: 40px; }
.order-confirmation::backdrop { background: #49312699; }
.order-confirmation h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 16px 32px 20px 0; }
.order-confirmation > p { margin-bottom: 18px; line-height: 1.8; }
.order-confirmation [hidden] { display: none !important; }
.order-confirmation .btn-primary, .order-confirmation .btn-secondary { width: 100%; margin-top: 12px; }
.cart-open span { display: inline-grid; place-items: center; min-width: 23px; height: 23px; background: #493126; color: #E8D8C2; border-radius: 50%; }
.cart-open { min-width: 44px; }
.product-card { position: relative; cursor: pointer; -webkit-tap-highlight-color: #49312618; }
.card-details-trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; z-index: 1; }
.card-details-trigger:focus-visible { outline: 2px solid #493126; outline-offset: -4px; }
.product-card .size-pill { position: relative; z-index: 2; }
.product-card:active { transform: scale(.995); }
@media (hover: hover) { .product-card:hover .card-quick-view-btn { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .product-card, .product-card:hover, .product-card:active { transition: none; transform: none; } }
.cart-open svg { width: 21px; height: 21px; flex-shrink: 0; }
.cart-open span[hidden], .cart-toast[hidden] { display: none; }
.cart-toast { position: fixed; z-index: 1200; top: calc(var(--header-height, 76px) + 16px); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid #e8d8c250; border-radius: 8px; background: #493126; color: #e8d8c2; box-shadow: 0 8px 28px #49312630; font-size: .8rem; line-height: 1.5; }
.cart-toast button { flex-shrink: 0; min-height: 44px; padding: 4px; color: #fdfbf8; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.cart-toast button:focus-visible { outline: 2px solid #e8d8c2; outline-offset: 3px; }
.cart-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#product-add-to-cart.is-added { background: #664a3d; border-color: #664a3d; opacity: 1; }
.product-gallery { display: flex; gap: 10px; padding: 12px; background: #f6ede1; }
.product-gallery button { padding: 3px; border: 1px solid #493126; border-radius: 4px; }
.modal-image-col .product-gallery img { width: 52px; height: 65px; object-fit: contain; }
.modal-image-col > img { height: auto; max-height: 70vh; object-fit: contain; }
.product-purchase { display: grid; gap: 12px; margin-top: 12px; }
.product-purchase label { font-size: .85rem; font-weight: 600; }
.product-purchase input, .cart-line input { display: block; width: 88px; min-height: 44px; margin-top: 6px; border: 1px solid #49312655; border-radius: 4px; padding: 8px; background: #fdfbf8; color: #493126; font: inherit; }
.product-subtotal { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.product-purchase-actions { display: grid; gap: 10px; }
.product-purchase button { min-height: 44px; }
.product-shopping-note, .cart-muted, .cart-storage-note { color: #664a3d; font-size: .8rem; line-height: 1.6; }
.product-shopping-note { margin: 0; }
.product-shopping-message { min-height: 1.5em; font-size: .85rem; }
.product-purchase button:disabled, .shopping-cart button:disabled { opacity: .6; cursor: not-allowed; }
.shopping-cart { position: fixed; inset: 0 0 0 auto; width: min(100%, 560px); height: 100%; max-width: 100%; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: #fdfbf8; color: #493126; overflow-y: auto; }
.shopping-cart::backdrop { background: #49312699; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-bottom: 1px solid #49312622; }
.cart-heading h2 { font-family: var(--font-serif); font-size: 1.8rem; }
.cart-heading button { min-width: 44px; min-height: 44px; font-size: 1.6rem; border: 1px solid #49312633; border-radius: 50%; }
.cart-items { padding: 0 24px; }
.cart-empty { padding: 48px 0; line-height: 1.7; }
.cart-line { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid #49312622; }
.cart-line > img { width: 90px; height: 112px; object-fit: contain; background: #f0e4d3; border-radius: 4px; }
.cart-line-content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cart-line h3 { font-size: 1rem; margin: 0 0 6px; }
.cart-line p { margin: 4px 0; font-size: .85rem; }
.cart-line-controls { display: flex; align-items: end; gap: 16px; margin: 12px 0; }
.cart-line-controls label { font-size: .75rem; }
.cart-remove { min-height: 44px; text-decoration: underline; font: inherit; font-size: .8rem; }
.cart-line-total { display: block; text-align: right; font-size: .95rem; }
.cart-summary { padding: 24px; display: grid; gap: 14px; background: #f6ede1; }
.cart-summary > p:first-child { display: flex; justify-content: space-between; gap: 16px; }
.cart-summary button { width: 100%; min-height: 48px; }
.cart-warning { color: #843b24; }
.shopping-cart :focus-visible, .product-purchase :focus-visible { outline: 2px solid #493126; outline-offset: 3px; }
@media (min-width: 600px) { .product-purchase-actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-header .brand-logo .logo-tagline { display: none; } .site-header .brand-logo { flex-shrink: 0; } .site-header .header-actions { gap: 6px; } }
@media (max-width: 380px) { .cart-heading, .cart-summary { padding: 16px; } .cart-items { padding: 0 16px; } .cart-line { gap: 12px; } .cart-line > img { width: 64px; height: 80px; } .header-actions { gap: 6px; } .cart-open { font-size: .72rem; padding: .4rem; } }

/* Premium shopping surfaces; order, cart and authentication logic are unchanged. */
.product-modal-backdrop { padding: clamp(12px, 3vw, 40px); backdrop-filter: blur(5px); }
.product-modal { width: min(1120px, 100%); max-width: 1120px; max-height: 94dvh; border-radius: 12px; background: #fdfbf8; box-shadow: 0 28px 90px #2d1b1345; }
.modal-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.modal-image-col { display: flex; flex-direction: column; justify-content: center; align-self: start; aspect-ratio: auto; min-width: 0; gap: 16px; padding: clamp(24px, 4vw, 48px); background: #f0e4d3; }
.modal-image-col > img { width: 100%; height: min(55vh, 560px); object-fit: contain; filter: drop-shadow(0 12px 18px #49312618); }
.artwork-caption { text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: #664a3d; }
.modal-details-col { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.modal-category-code { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; padding-right: 30px; }
.modal-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; margin: 16px 0; font-weight: 500; }
.modal-price { font-size: 1.3rem; font-weight: 500; margin-bottom: 20px; }
.modal-desc { font-size: .88rem; line-height: 1.85; color: #664a3d; margin-bottom: 24px; }
.product-size-selection { padding: 22px 0; margin: 0; border-top: 1px solid #49312620; }
.product-size-selection .card-sizes-label { display: block; font-size: .72rem; letter-spacing: .08em; margin-bottom: 12px; }
#modal-sizes-pills { display: flex; flex-wrap: wrap; gap: 8px; }
#modal-sizes-pills .size-pill { min-height: 44px; padding: 10px 12px; border: 1px solid #49312630; border-radius: 3px; background: transparent; color: #493126; font-size: .72rem; }
#modal-sizes-pills .size-pill.selected { color: #fdfbf8; background: #493126; border-color: #493126; }
.product-gallery { padding: 0; justify-content: center; background: transparent; flex-wrap: wrap; }
.product-gallery[hidden] { display: none; }
.product-gallery button { background: #fdfbf8; border-color: #49312630; padding: 5px; }
.product-gallery button[aria-pressed="true"] { outline: 2px solid #493126; outline-offset: 2px; }
.frame-selector { border: 0; padding: 0 0 20px; margin: 0; border-bottom: 1px solid #49312620; min-width: 0; }
.frame-selector legend { font-size: .75rem; font-weight: 600; margin-bottom: 12px; }
.frame-selector-current { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.frame-thumbnail { border: 1px solid #49312630; border-radius: 4px; padding: 5px; background: #f0e4d3; flex: 0 0 auto; }
.frame-thumbnail img { width: 42px; height: 52px; object-fit: contain; }
.frame-selector-current strong, .frame-selector-current span { display: block; font-size: .8rem; line-height: 1.7; }
.frame-selector-current span { color: #664a3d; font-size: .72rem; }
.product-purchase { gap: 16px; margin-top: 0; }
.product-purchase .frame-thumbnail:disabled { opacity: 1; }
.quantity-stepper { gap: 0; width: fit-content; border: 1px solid #49312630; border-radius: 4px; overflow: hidden; }
.quantity-stepper button { border: 0; border-radius: 0; background: transparent; }
.quantity-stepper input { width: 58px; margin: 0; border: 0; border-radius: 0; background: transparent; appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button { appearance: none; }
.product-subtotal { align-items: baseline; line-height: 1.6; }
.product-subtotal output { font-weight: 600; }
.product-purchase-actions button { min-height: 52px; border-radius: 4px; }
#product-view-cart { justify-self: start; border: 0; min-height: 32px; padding: 0; text-decoration: underline; text-underline-offset: 4px; font-size: .75rem; }
.modal-actions { border-top: 1px solid #49312620; margin-top: 20px; padding-top: 10px; }
.modal-actions .customer-order-trigger { font-size: .75rem; min-height: 40px; }
.modal-close-btn, .customer-order-close { z-index: 3; background: #fdfbf8; box-shadow: 0 2px 10px #49312610; }
.shopping-cart { width: min(100%, 530px); }
.cart-heading { padding: 28px; background: #f0e4d3; }
.cart-heading .section-eyebrow { font-size: .6rem; line-height: 1.8; letter-spacing: .12em; }
.cart-heading h2 { font-size: 2rem; font-weight: 500; margin-top: 6px; }
.cart-items { padding: 4px 28px; }
.cart-line { padding: 26px 0; gap: 18px; }
.cart-line > img { width: 100px; height: 132px; border-radius: 3px; padding: 8px; }
.cart-line h3 { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; font-weight: 500; }
.cart-line .cart-selection { margin-top: 9px; font-size: .75rem; }
.cart-line input { width: 68px; }
.cart-line-controls { justify-content: space-between; }
.cart-remove { color: #664a3d; font-size: .72rem; text-underline-offset: 3px; }
.cart-line-total { margin-top: 12px; font-weight: 500; }
.cart-summary { margin-top: 16px; padding: 28px; gap: 16px; border-top: 1px solid #49312620; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.cart-summary > p:first-child { font-size: .9rem; }
.cart-summary > p:first-child strong { white-space: nowrap; font-weight: 600; }
.cart-summary .product-shopping-note, .cart-storage-note { font-size: .72rem; }
#cart-continue { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: .8rem; }
.customer-order-dialog { width: min(100%, 940px); max-height: 94dvh; padding: clamp(22px, 4vw, 40px); border-radius: 12px; background: #fdfbf8; }
.customer-order-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 500; margin: 12px 35px 10px 0; line-height: 1.2; }
.checkout-intro { color: #664a3d; font-size: .85rem; margin-bottom: 28px; line-height: 1.7; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.checkout-review-panel { padding: 24px; background: #f6ede1; border: 1px solid #49312616; border-radius: 6px; min-width: 0; }
.checkout-panel-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 18px; }
.checkout-review-panel .customer-order-summary { font-size: .78rem; }
.checkout-line { padding: 14px 0; gap: 7px; font-size: .8rem; }
.checkout-line strong { font-weight: 500; }
.checkout-review-panel .product-subtotal { display: block; font-size: .95rem; font-weight: 600; margin-top: 20px; }
.deposit-policy { background: #e8d8c2; border-radius: 4px; padding: 18px; font-size: .88rem; line-height: 2; }
.checkout-contact-panel { min-width: 0; }
.customer-order-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.checkout-field { display: grid; gap: 8px; min-width: 0; }
.checkout-field-wide, .customer-order-actions { grid-column: 1 / -1; }
.checkout-field:has(input[hidden]) { display: none; }
.customer-order-form label { margin: 0; font-size: .74rem; font-weight: 500; }
.customer-order-form input, .customer-order-form textarea { background: #fffefb; border: 1px solid #49312630; border-radius: 4px; min-height: 48px; font-size: .88rem; }
.customer-order-form input:focus, .customer-order-form textarea:focus { outline: 2px solid #493126; outline-offset: 2px; }
.customer-order-actions { margin-top: 4px; }
.customer-order-actions button { min-height: 52px; }
.customer-order-footnote { font-size: .75rem; line-height: 1.8; }
@media (max-width: 700px) {
  .product-modal-backdrop { padding: 10px; }
  .modal-grid { grid-template-columns: minmax(0, 1fr); }
  .modal-image-col { padding: 32px 24px 20px; gap: 12px; }
  .modal-image-col > img { height: 340px; max-height: none; }
  .artwork-caption { font-size: .85rem; }
  .modal-details-col { padding: 26px 24px 30px; }
  .modal-title { font-size: 2rem; }
  .product-purchase-actions { grid-template-columns: 1fr 1fr; }
  .product-purchase-actions button { font-size: .8rem; padding: 12px 8px; }
  .customer-order-backdrop { padding: 10px; }
  .customer-order-dialog { padding: 26px 20px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .checkout-review-panel { padding: 20px; }
  .customer-order-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .customer-order-form input, .customer-order-form textarea { font-size: 16px; }
  .cart-heading, .cart-summary { padding: 24px 20px; }
  .cart-items { padding-inline: 20px; }
  .cart-line > img { width: 86px; height: 116px; }
}
