button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .3; }
button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.storefront { position: relative; }
.shop-card {
  position: absolute;
  z-index: 4;
  left: 3.49vw;
  bottom: 6.13svh;
  width: max(21.08vw, 180px);
  height: max(35.22svh, 214px);
  padding: clamp(14px, 1.55vw, 25px);
  display: flex;
  flex-direction: column;
  color: #f7f6f6;
  background: linear-gradient(140deg, #121212, #030303 70%);
  border: 1px solid #272727;
  border-radius: 4px;
}
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eyebrow { margin: 0; font-size: clamp(9px, .65vw, 11px); font-weight: 700; letter-spacing: .08em; }
.card-topline .eyebrow { display: flex; align-items: center; gap: 7px; color: #aaa; }
.color-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #161616; border: 1px solid #777; }
.bag-link { border: 0; padding: 7px 0 7px 5px; background: transparent; color: #b9b9b9; font-size: clamp(10px, .76vw, 12px); white-space: nowrap; }
.bag-link span { margin-left: 3px; color: #f7f6f6; font-variant-numeric: tabular-nums; }
.shop-card h2 { margin: clamp(9px, 1.4svh, 17px) 0 0; font-size: clamp(19px, 1.96vw, 34px); line-height: 1.02; letter-spacing: -.04em; }
.card-quantity { display: flex; align-items: center; justify-content: space-between; flex: 1; min-height: 72px; gap: 12px; padding: 10px 0; }
.quantity-label { margin: 0 0 1px; color: #898989; font-size: clamp(8px, .6vw, 10px); letter-spacing: .11em; }
.quantity-value { display: block; font-size: clamp(40px, 4.4vw, 72px); line-height: .95; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.stepper { display: flex; gap: 5px; align-items: center; }
.stepper button { width: clamp(31px, 2.4vw, 44px); height: clamp(34px, 2.7vw, 46px); border: 1px solid #363636; border-radius: 3px; color: #f7f6f6; background: #141414; font-size: 19px; transition: background .18s, border-color .18s; }
.stepper button:hover:not(:disabled) { border-color: #666; background: #272727; }
.shop-button { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; width: 100%; min-height: 44px; padding: 10px 13px; border: 0; border-radius: 2px; background: #f7f6f6; color: #080808; font-size: clamp(11px, .94vw, 15px); letter-spacing: -.015em; text-align: left; transition: background .18s; }
.shop-button svg { width: 19px; height: 19px; transition: transform .2s ease; }
.shop-button:hover { background: #e1e0e0; }
.shop-button:hover svg { transform: translate(2px, -2px); }

.shop-dialog { position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 24px 28px 32px; border: 0; background: #f7f6f6; color: #080808; overflow-y: auto; overscroll-behavior: contain; }
.shop-dialog::backdrop { background: #0009; backdrop-filter: blur(5px); }
.shop-dialog[open] { animation: drawer-enter .28s ease-out; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.drawer-header .eyebrow { font-size: 12px; letter-spacing: -.01em; }
.drawer-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #d5d4d4; border-radius: 50%; color: #080808; background: transparent; }
.drawer-close svg { width: 24px; height: 24px; }
.drawer-close:hover { background: #e5e4e4; }
.shop-dialog h2 { margin: 32px 0 22px; font-size: clamp(32px, 4vw, 44px); line-height: 1; letter-spacing: -.05em; }
.shop-dialog h2:focus { outline: none; }
.drawer-image { display: grid; place-items: center; height: min(36dvh, 320px); overflow: hidden; background: #eee; border-radius: 3px; }
.drawer-image img { width: min(105%, 350px); height: 105%; object-fit: contain; }
.product-summary { display: flex; justify-content: space-between; align-items: center; margin: 22px 0; gap: 12px; font-size: 14px; }
.product-summary p { margin: 0; }
.product-summary > span { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.drawer-quantity { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid #d5d4d4; font-size: 13px; }
.inline-stepper { display: flex; align-items: center; border: 1px solid #d5d4d4; border-radius: 3px; }
.inline-stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: #080808; font-size: 20px; }
.inline-stepper button:hover:not(:disabled) { background: #e4e3e3; }
.inline-stepper output { min-width: 35px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.drawer-primary { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 52px; margin-top: 8px; padding: 15px 17px; border: 0; border-radius: 3px; background: #080808; color: #f7f6f6; font-size: 14px; }
.drawer-primary:hover { background: #242424; }
.drawer-primary span { font-size: 22px; }
.drawer-product-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 12px; color: #777; font-size: 11px; }
.drawer-summary { margin: 8px 0 18px; color: #999; font-size: 9px; letter-spacing: .06em; }
.bag-empty { padding-top: 40px; }
.bag-empty p { margin-bottom: 40px; font-size: 18px; }
.bag-item { display: flex; align-items: center; gap: 19px; margin: 28px 0; }
.bag-image { flex: 0 0 100px; height: 125px; overflow: hidden; background: #eee; }
.bag-image img { width: 130px; height: 130px; margin-left: -15px; object-fit: contain; }
.bag-description h3 { margin: 0 0 7px; font-size: 16px; letter-spacing: -.02em; }
.bag-description h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag-description p { margin: 0 0 14px; color: #777; font-size: 12px; }
.remove-button { border: 0; padding: 4px 0; border-bottom: 1px solid #aaa; background: transparent; color: #777; font-size: 11px; }
.bag-note { margin: 8px 0 24px; color: #777; font-size: 11px; line-height: 1.5; }
.checkout-note { padding: 18px 0; margin: 0; border-top: 1px solid #d5d4d4; color: #777; font-size: 13px; }
.continue-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; border: 0; background: transparent; color: #080808; font-size: 13px; }
.continue-button span { font-size: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.drawer-open { overflow: hidden; }
@keyframes drawer-enter { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@media (max-aspect-ratio: 1/1) {
  .shop-card { position: relative; left: auto; bottom: auto; width: calc(100% - 32px); height: auto; min-height: 0; margin: 22px 16px 32px; padding: 24px; border-radius: 5px; }
  .card-topline .eyebrow { font-size: 10px; }
  .bag-link { min-height: 44px; padding: 10px; font-size: 12px; }
  .shop-card h2 { margin-top: 12px; font-size: clamp(26px, 6vw, 40px); }
  .card-quantity { padding: 24px 0; }
  .quantity-label { font-size: 10px; }
  .quantity-value { font-size: 64px; }
  .stepper button { width: 44px; height: 44px; }
  .shop-button { min-height: 52px; padding: 14px 17px; font-size: 14px; }
}
@media (max-width: 540px) {
  .shop-dialog { inset: auto 0 0; width: 100%; height: auto; max-height: 94dvh; padding: 18px 24px max(24px, env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; }
  .shop-dialog h2 { margin-top: 20px; font-size: 38px; }
  .drawer-image { height: min(32dvh, 260px); }
  .shop-dialog[open] { animation-name: drawer-enter-mobile; }
}
@keyframes drawer-enter-mobile { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
