/* Shared commerce pages; theme colors and type come from each storefront. */
#shop-app {
  width: min(100% - 64px, 1440px);
  min-height: 55vh;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) 0 clamp(80px, 10vw, 144px);
  color: var(--ink, #292824);
}
#shop-app *, #shop-app *::before, #shop-app *::after { box-sizing: border-box; }
#shop-app a { color: inherit; text-decoration: none; }
#shop-app button, #shop-app input, #shop-app select { font: inherit; }
#shop-app img { display: block; width: 100%; object-fit: cover; }
#shop-app h1, #shop-app h2, #shop-app p { margin-top: 0; }
#shop-app h1, #shop-app h2 { font-weight: 400; }
#shop-app h1 { font-family: var(--serif, Georgia, serif); font-size: clamp(42px, 6vw, 86px); line-height: 1; letter-spacing: -.035em; }
#shop-app h2 { font-family: var(--serif, Georgia, serif); }
.shop-heading { margin-bottom: clamp(34px, 5vw, 70px); }
.shop-heading h1 { margin-bottom: 0; }
.shop-eyebrow, .shop-category { font-family: sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.shop-eyebrow { margin-bottom: 20px; color: var(--accent, #866b50); }
.shop-back { display: inline-block; margin-bottom: 32px; font-size: 13px; }
.shop-back:hover, .shop-summary > a:not(.shop-button):hover, .shop-remove:hover { text-decoration: underline; }
.shop-filters { display: flex; align-items: end; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line, #d6d2c9); }
.shop-filters label { width: min(320px, 50%); }
#shop-app label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .025em; }
#shop-app input:not([type=radio]), #shop-app select { display: block; width: 100%; min-height: 48px; margin-top: 9px; padding: 11px 13px; border: 1px solid var(--line, #d6d2c9); border-radius: 0; background: transparent; color: inherit; outline-offset: 3px; }
#shop-app select { cursor: pointer; }
#shop-app input:focus-visible, #shop-app select:focus-visible, #shop-app button:focus-visible, #shop-app a:focus-visible { outline: 2px solid var(--accent, #866b50); outline-offset: 3px; }
.shop-result-count { margin: 18px 0 26px; font-size: 12px; opacity: .7; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; }
.shop-product-card { min-width: 0; }
.shop-product-card > a { display: block; }
.shop-product-card img { aspect-ratio: 4 / 5; background: var(--line, #e6e3dc); transition: opacity .2s ease; }
.shop-product-card a:hover img { opacity: .85; }
.shop-card-copy { padding-top: 18px; }
.shop-card-copy .shop-category { color: var(--accent, #866b50); }
.shop-card-copy h2 { margin: 10px 0 6px; font-size: clamp(20px, 2vw, 27px); line-height: 1.15; }
.shop-card-copy p { margin-bottom: 10px; font-size: 13px; opacity: .7; }
.shop-card-copy strong { font-size: 13px; font-weight: 600; }
.shop-product-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .75fr); gap: clamp(40px, 8vw, 130px); align-items: start; }
.shop-product-image img { aspect-ratio: 4 / 5; background: var(--line, #e6e3dc); }
.shop-product-info { padding-top: clamp(0px, 2vw, 24px); }
.shop-product-info h1 { margin-bottom: 14px; font-size: clamp(42px, 5vw, 70px); }
.shop-product-info > p:not(.shop-eyebrow):not(.shop-price) { line-height: 1.8; }
.shop-artist { font-size: 14px; opacity: .7; }
.shop-price { margin: 28px 0; font-size: 21px; font-weight: 600; }
.shop-details { margin: 32px 0; border-top: 1px solid var(--line, #d6d2c9); }
.shop-details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line, #d6d2c9); font-size: 13px; }
.shop-details dt { opacity: .65; }
.shop-details dd { margin: 0; text-align: right; }
.shop-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; margin-bottom: 25px; }
.shop-button, #shop-app .shop-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 15px 28px; border: 1px solid var(--ink, #292824); background: var(--ink, #292824); color: var(--paper, #fff); cursor: pointer; font-family: sans-serif; font-size: 13px; font-weight: 600; text-align: center; transition: opacity .2s ease; }
.shop-button:hover { opacity: .78; }
#shop-product-form .shop-button { width: 100%; }
.shop-feedback { min-height: 1.5em; margin: 12px 0 0; font-size: 13px; }
.shop-feedback a { text-decoration: underline !important; }
.shop-cart-layout, .shop-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.shop-cart-items, .shop-checkout-items { border-top: 1px solid var(--line, #d6d2c9); }
.shop-cart-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line, #d6d2c9); }
.shop-cart-item img { aspect-ratio: 4 / 5; background: var(--line, #e6e3dc); }
.shop-cart-item h2 { margin: 0 0 8px; font-size: 23px; }
.shop-cart-item p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; opacity: .75; }
.shop-cart-item > strong { font-size: 14px; white-space: nowrap; }
.shop-cart-item-info label { display: inline-block !important; width: 74px; margin-top: 8px; }
#shop-app .shop-cart-quantity { min-height: 38px; margin-top: 5px; padding: 6px; }
.shop-remove { margin-left: 12px; padding: 8px 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 12px !important; }
.shop-summary { padding: 28px; background: color-mix(in srgb, var(--line, #d6d2c9) 25%, transparent); }
.shop-summary h2 { margin: 0 0 24px; font-size: 28px; }
.shop-summary > p { display: flex; justify-content: space-between; gap: 18px; margin: 0 0 18px; font-size: 13px; line-height: 1.6; }
.shop-summary .shop-button { display: flex !important; width: 100%; margin: 24px 0 16px; }
.shop-summary > a:not(.shop-button) { font-size: 13px; }
.shop-notice { max-width: 720px; margin: -25px 0 36px; line-height: 1.6; font-size: 13px; }
#shop-checkout-form fieldset { min-width: 0; margin: 0 0 35px; padding: 0; border: 0; }
#shop-checkout-form legend { width: 100%; margin-bottom: 22px; padding: 0 0 14px; border-bottom: 1px solid var(--line, #d6d2c9); font-family: var(--serif, Georgia, serif); font-size: 27px; }
#shop-checkout-form fieldset > label:not(.shop-radio) { margin-bottom: 20px; }
#shop-checkout-form .shop-radio { display: flex; gap: 10px; align-items: center; padding: 10px 0; font-weight: 400; }
#shop-checkout-form input[type=radio] { accent-color: var(--accent, #866b50); }
.shop-checkout-items { margin-bottom: 24px; }
.shop-checkout-items .shop-cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 15px 0; }
.shop-checkout-items .shop-cart-item h2 { margin-bottom: 5px; font-size: 17px; }
.shop-checkout-items .shop-cart-item p { font-size: 11px; }
.shop-checkout-items .shop-cart-item > strong { font-size: 12px; }
.shop-total { padding-top: 16px; border-top: 1px solid var(--line, #d6d2c9); font-size: 16px !important; }
.shop-empty { padding: 40px 0; line-height: 1.7; }
.shop-empty .shop-button { margin-top: 14px; }
.shop-complete { max-width: 720px; margin: 30px auto; text-align: center; }
.shop-complete p:not(.shop-eyebrow) { margin: 24px auto 32px; line-height: 1.8; }
.shop-complete > a:not(.shop-button) { display: inline-block; margin: 12px 20px; font-size: 13px; text-decoration: underline !important; }
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-product-detail { gap: 36px; }
  .shop-cart-layout, .shop-checkout-layout { gap: 32px; }
}
@media (max-width: 650px) {
  #shop-app { width: calc(100% - 36px); padding: 42px 0 72px; }
  #shop-app h1 { font-size: clamp(38px, 11vw, 54px); }
  .shop-filters { align-items: stretch; }
  .shop-filters label { width: 50%; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .shop-card-copy h2 { font-size: 19px; }
  .shop-product-detail, .shop-cart-layout, .shop-checkout-layout { grid-template-columns: 1fr; }
  .shop-product-detail { gap: 30px; }
  .shop-product-info h1 { font-size: 42px; }
  .shop-cart-item { grid-template-columns: 78px minmax(0, 1fr) auto; gap: 12px; }
  .shop-cart-item h2 { font-size: 19px; }
  .shop-cart-item > strong { font-size: 12px; }
  .shop-summary { padding: 22px; }
  .shop-notice { margin-top: -15px; }
}
@media (prefers-reduced-motion: reduce) { #shop-app * { transition: none !important; } }
