/* Shopping controls share the floating collection’s type, space and colors. */
.merch-page :is(input, select, button) { font: inherit; }
.merch-page :is(input, select):focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.bag-jump { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--lime); font-size: .8125rem; text-decoration: underline; text-underline-offset: 5px; }
.collection-anchor { scroll-margin-top: 24px; }
.product-photo.product-link { display: grid; }
.product-size-link, .shop-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; color: var(--quiet); text-decoration: underline; text-underline-offset: 4px; }
.product-size-link { margin-top: 2px; }
.product-order { margin: 4px 0 0; }
.product-order fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.order-options { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; }
.order-options > div { min-width: 0; }
.order-options label { display: block; margin-bottom: 7px; color: var(--quiet); font-size: .6875rem; }
.order-options :is(select, input) { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid #6a7264; border-radius: 7px; padding: 8px; background: var(--paper); color: var(--ink); font-size: .8125rem; }
.order-options input { padding: 8px 4px 8px 8px; }
.add-to-bag, .bag-checkout { min-height: 44px; padding: 11px 16px; border: 1px solid var(--lime); border-radius: 8px; background: transparent; color: var(--lime); cursor: pointer; font-weight: 500; }
.add-to-bag { width: 100%; margin-top: 11px; font-size: .8125rem; }
.order-artwork, .product-order-status { color: var(--quiet); font-size: .6875rem; line-height: 1.6; }
.product-order-status { margin: 9px 0 0; min-height: 3.2em; overflow-wrap: anywhere; }
.product-order fieldset:disabled { opacity: .6; }
.shop-bag, .shop-size-guides { width: 100%; max-width: 680px; margin: 64px auto 0; border-top: 1px solid #444d41; padding-top: 30px; scroll-margin-top: 24px; }
.shop-bag h2, .shop-size-guides h2 { margin: 0 0 23px; font-size: 1.5rem; font-weight: 500; letter-spacing: -.6px; }
.bag-empty, .bag-fineprint, .bag-status, .bag-storage-note, .shop-size-guides > p, .shop-nojs { color: var(--quiet); font-size: .8125rem; line-height: 1.65; }
.bag-line { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid #444d41; }
.bag-line-detail { min-width: 0; }
.bag-line-detail h3 { margin: 0; font-size: .875rem; line-height: 1.5; font-weight: 500; }
.bag-line-detail p { margin: 6px 0 0; color: var(--quiet); font-size: .75rem; }
.bag-line-detail .bag-line-error { color: #ffe08b; }
.bag-line-edit { display: grid; grid-template-columns: auto 58px; gap: 6px 10px; align-items: center; flex-shrink: 0; }
.bag-line-edit label { color: var(--quiet); font-size: .6875rem; }
.bag-line-edit input { min-width: 0; width: 58px; min-height: 44px; border: 1px solid #6a7264; border-radius: 7px; padding: 8px; color: var(--ink); background: transparent; }
.bag-line-edit button { grid-column: 1 / -1; min-height: 44px; padding: 0 3px; border: 0; background: transparent; color: var(--quiet); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: .75rem; }
.bag-subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 25px 0 14px; font-size: .875rem; }
.bag-subtotal strong { text-align: right; font-weight: 500; white-space: nowrap; }
.bag-fineprint { max-width: 500px; margin: 0 0 20px; }
.bag-storage-note { font-size: .6875rem; margin-top: 8px; }
.bag-status { margin-bottom: 0; }
.bag-checkout:disabled { color: var(--quiet); border-color: #596150; cursor: default; }
.shop-size-guides > p { margin: -10px 0 20px; }
.size-guide-help, .size-guide { border-bottom: 1px solid #444d41; }
.shop-size-guides summary { min-height: 48px; padding: 14px 0; cursor: pointer; font-size: .8125rem; line-height: 1.5; }
.shop-size-guides :is(summary, [tabindex]):focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.shop-size-guides :is(p, .size-guide-shop) { font-size: .75rem; line-height: 1.7; color: var(--quiet); }
.size-guide > p, .size-guide-method p, .size-guide-help p { margin: 0 0 15px; }
.shop-size-guides a { text-decoration: underline; text-underline-offset: 4px; }
.size-table { max-width: 100%; overflow-x: auto; margin: 10px 0 15px; }
.size-table table { border-collapse: collapse; width: 100%; min-width: 280px; font-size: .75rem; line-height: 1.5; }
.size-table caption { text-align: left; padding: 0 0 13px; color: var(--quiet); }
.size-table th, .size-table td { padding: 9px 13px 9px 0; border-bottom: 1px solid #444d41; text-align: left; font-weight: 400; }
.size-table th { color: var(--quiet); }
.size-table th:first-child { min-width: 44px; }
.size-guide-inches, .size-guide-method { margin: 0 0 5px; }
.size-guide-shop { display: inline-flex; align-items: center; min-height: 44px; margin: 5px 0 13px; }
@media (hover: hover) and (pointer: fine) { .product-link.product-photo:hover { transform: translateY(-4px); } .add-to-bag:hover, .bag-checkout:enabled:hover { background: #edff6310; } }
@media (max-width: 600px) {
  .product-order-status { font-size: .625rem; min-height: 4.8em; }
  .order-options { gap: 7px; grid-template-columns: minmax(0, 1fr) 48px; }
  .order-options :is(select, input) { font-size: 1rem; padding-left: 6px; padding-right: 2px; }
  .product-size-link, .shop-link { font-size: .6875rem; }
  .shop-bag, .shop-size-guides { margin-top: 44px; padding-top: 26px; }
  .bag-line { flex-direction: column; gap: 12px; }
  .bag-line-edit { display: flex; flex-wrap: wrap; gap: 6px 10px; }
  .bag-line-edit button { margin-left: 10px; }
  .bag-subtotal { gap: 14px; font-size: .8125rem; }
  .bag-checkout { width: 100%; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { .product-link.product-photo:hover { transform: none; } }
