/* ══════════════════════════════════════════════════
   TOKYO CENTRAL — Cart & Store Pickup
   ══════════════════════════════════════════════════ */

.tc-cart-page {
  background: #FAF8F0;
  padding: 32px 0 64px;
  min-height: 60vh;
}
.tc-cart-page .tc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.tc-cart-title {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 20px;
}

/* ── shared button ── */
.tc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2E7D32;
  color: #fff;
  border: none;
  border-radius: 9999px;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms ease;
}
.tc-btn-primary:hover { background: #1B5E20; }
.tc-btn-primary:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }
.tc-btn-primary:disabled,
.tc-btn-primary.disabled {
  background: #A8B5A9;
  cursor: not-allowed;
}

/* ── progress steps ── */
.tc-cart-steps {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  /* inset (not a layout border) so the active segment can paint to the very
     edge — a real border leaves a 1px line beneath the green fill */
  box-shadow: inset 0 0 0 1px #EDE8D0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.tc-cart-steps li {
  /* each segment is a centered flex box that fills the bar's full height.
     margin:0 is REQUIRED — a global `li { margin-bottom: 8px }` otherwise
     leaves an 8px strip of the bar showing beneath the green segment. */
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #6B6B6B;
}
.tc-cart-steps li.done { color: #1B5E20; background: rgba(46,125,50,0.08); }
.tc-cart-steps li.active { color: #fff; background: #2E7D32; }
.tc-cart-steps .num {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-size: 11px;
}
.tc-cart-steps li.active .num { background: rgba(255,255,255,0.25); }
.tc-cart-steps li.done .num { background: #2E7D32; color: #fff; }

/* ── layout ── */
.tc-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.tc-cart-grid > * { min-width: 0; }
@media (max-width: 880px) {
  .tc-cart-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── panels ── */
.tc-cart-panel {
  border: 1px solid #EDE8D0;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 20px;
  overflow: hidden;
}
.tc-cart-panel--locked { opacity: 0.6; }
.tc-cart-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #EDE8D0;
}
.tc-cart-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-weight: 700;
  color: #1A1A1A;
  flex: 1;
}
.tc-cart-head-meta { color: #6B6B6B; font-weight: 500; font-size: 13px; font-family: inherit; }
.tc-cart-edit {
  color: #2E7D32;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.tc-cart-edit:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-cart-panel-body { padding: 16px 20px 20px; }
.tc-cart-hint { margin: 0; color: #6B6B6B; font-size: 14px; }

/* store line */
.tc-cart-store-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; margin: 0; color: #1A1A1A; }
.tc-cart-store-dot { width: 10px; height: 10px; border-radius: 50%; background: #2E7D32; flex-shrink: 0; }
.tc-cart-store-addr { color: #6B6B6B; }

/* ── date chips ── */
.tc-date-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tc-date-row::-webkit-scrollbar { display: none; }
.tc-date-chip {
  flex-shrink: 0;
  min-width: 60px;
  min-height: 60px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
  cursor: pointer;
  background: #fff;
}
.tc-date-chip .dow { display: block; font-size: 11px; color: #6B6B6B; font-weight: 600; text-transform: uppercase; }
.tc-date-chip .day { display: block; font-size: 17px; font-weight: 800; color: #1A1A1A; }
.tc-date-chip.selected { border-color: #2E7D32; background: rgba(46,125,50,0.08); }
.tc-date-chip.selected .day, .tc-date-chip.selected .dow { color: #1B5E20; }
.tc-date-chip:disabled { opacity: 0.35; cursor: not-allowed; }
.tc-date-chip:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-cart-lead-note { font-size: 12.5px; color: #6B6B6B; margin: 4px 0 0; }

/* ── scrollable date strip (full pickup window) ── */
.tc-date-strip { position: relative; }
/* soft fade on the right edge as a "scroll for more" affordance */
.tc-date-strip::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 8px;
  width: 36px;
  background: linear-gradient(to right, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
/* month heading above the strip — updates to the current (leftmost) month as
   you scroll. Stays put, never overlaps chips. */
.tc-date-monthhead {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2E7D32;
  min-height: 16px;
}

/* ── pickup window summary ── */
.tc-pickup-window { font-size: 13px; color: #4B5563; margin: 14px 0 6px; }
.tc-pickup-window strong { color: #1A1A1A; }

/* ── time slots ── */
.tc-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.tc-slot {
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  min-height: 44px;
  color: #1A1A1A;
}
.tc-slot.selected { border-color: #2E7D32; background: #2E7D32; color: #fff; }
.tc-slot:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }

/* ── line items ── */
.tc-cart-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #EDE8D0;
}
.tc-cart-line:first-child { padding-top: 4px; }
.tc-cart-line:last-child { border-bottom: none; padding-bottom: 4px; }
.tc-cart-line-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #FAF8F0;
  overflow: hidden;
  flex-shrink: 0;
}
.tc-cart-line-thumb img { width: 100%; height: 100%; object-fit: contain; }
.tc-cart-line-info { flex: 1; min-width: 0; }
.tc-cart-line-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #1A1A1A;
  text-decoration: none;
}
.tc-cart-line-name:hover { color: #2E7D32; }
.tc-cart-line-name:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-cart-line-variant { margin: 2px 0 0; font-size: 12.5px; color: #6B6B6B; }
.tc-cart-line-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.tc-cart-line-controls form { display: contents; }
.tc-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 9999px;
  overflow: hidden;
  background: #fff;
}
.tc-qty-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: #FAF8F0;
  font-size: 16px;
  cursor: pointer;
  color: #1A1A1A;
}
.tc-qty-btn:hover:not(:disabled) { background: #EDE8D0; }
.tc-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.tc-qty-display { width: 40px; text-align: center; font-weight: 700; font-size: 14px; }
.tc-qty-input {
  width: 44px;
  height: 42px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-left: 1.5px solid rgba(0,0,0,0.08);
  border-right: 1.5px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #1A1A1A;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}
.tc-qty-input::-webkit-outer-spin-button,
.tc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-qty-input:focus { outline: 2px solid #2E7D32; outline-offset: -2px; }
/* Line being removed: fade out so it feels instant before it disappears. */
.tc-cart-line.removing { opacity: 0.45; pointer-events: none; transition: opacity 0.15s; }
.tc-cart-line-remove {
  background: none;
  border: none;
  color: #6B6B6B;
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px 4px;
}
.tc-cart-line-remove:hover { color: #B91C1C; }
.tc-cart-line-price { font-weight: 700; white-space: nowrap; color: #1A1A1A; }

/* note */
.tc-cart-note {
  width: 100%;
  min-height: 70px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}
.tc-cart-note:focus { border-color: #2E7D32; box-shadow: 0 0 0 3px rgba(46,125,50,0.12); outline: none; }

/* ── summary ── */
.tc-cart-summary {
  border: 1px solid #EDE8D0;
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  position: sticky;
  /* clear the fixed site nav (116px two-row on desktop) so the card's top
     isn't hidden behind it when it sticks. */
  top: calc(var(--nav-height, 96px) + 14px);
}
.tc-cart-summary h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-family: 'Noto Serif JP', Georgia, serif;
  color: #1A1A1A;
}
.tc-cart-sline { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: #6B6B6B; }
.tc-cart-sline.total {
  color: #1A1A1A;
  font-weight: 800;
  font-size: 17px;
  border-top: 1px solid #EDE8D0;
  padding-top: 12px;
  margin-top: 12px;
}
.tc-cart-free { color: #1B5E20; font-weight: 700; }
.tc-cart-ctx {
  font-size: 13px;
  background: #FAF8F0;
  border: 1px solid #EDE8D0;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 14px 0;
  color: #6B6B6B;
  line-height: 1.6;
}
.tc-cart-ctx strong { color: #1A1A1A; }
.tc-cart-ctx-warn { color: #B45309; font-weight: 700; }
.tc-cart-checkout { width: 100%; }
.tc-cart-checkout-hint { font-size: 12px; color: #6B6B6B; margin: 10px 0 0; text-align: center; }
.tc-cart-stock-warn {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: 10px;
  color: #92400E;
  font-size: 13px;
  line-height: 1.45;
  padding: 12px 14px;
  margin: 0 0 14px;
}
.tc-cart-stock-warn ul { margin: 8px 0 0; padding-left: 18px; }
.tc-cart-stock-warn li { margin: 4px 0; }
.tc-cart-stock-warn strong { color: #78350F; }

/* ── availability: one compact status line (detail lives on each item) ── */
.tc-avail-spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #D1D5DB; border-top-color: #2F7D32;
  display: inline-block; animation: tc-spin 0.7s linear infinite; flex: none;
}
@keyframes tc-spin { to { transform: rotate(360deg); } }

.tc-avail-status { margin: 14px 0 0; }
.tc-avail-msg {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; font-weight: 600; line-height: 1.4; margin: 0;
  padding: 10px 12px; border-radius: 10px;
}
.tc-avail-msg.is-ok { background: #ECFDF3; color: #15803D; border: 1px solid #BBF7D0; }
.tc-avail-msg.is-warn { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.tc-avail-msg.is-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }
.tc-avail-msg.is-loading { background: #F4F7F4; color: #4B5563; border: 1px solid #E2E8E2; }
.tc-link-btn {
  background: none; border: none; padding: 0; color: inherit; font: inherit;
  font-weight: 800; text-decoration: underline; cursor: pointer;
}
.tc-link-btn:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }

/* inline per-line availability badge */
.tc-line-avail { margin: 4px 0 0; font-size: 12px; }
/* "available" is reassurance — keep it quiet so warnings stand out */
.tc-line-avail.state-available { color: #4B5563; font-weight: 500; }
.tc-line-avail.state-available::before { content: '✓ '; color: #15803D; font-weight: 700; }
.tc-line-avail.state-low { color: #92400E; font-weight: 700; }
.tc-line-avail.state-unavailable { color: #B91C1C; font-weight: 700; }
/* highlight a line that can't be fulfilled on the chosen date */
.tc-cart-line.line-unavailable,
.tc-cart-line.line-low {
  background: #FEF2F2;
  border-radius: 12px;
  padding-left: 12px;
  padding-right: 12px;
  border-bottom-color: transparent;
}
.tc-cart-line.line-low { background: #FFFBEB; }

/* ── empty cart ── */
.tc-cart-empty {
  text-align: center;
  background: #fff;
  border: 1px solid #EDE8D0;
  border-radius: 16px;
  padding: 64px 24px;
}
.tc-cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #F5F0DC;
  border-radius: 24px;
  color: #A8A8A0;
  margin-bottom: 20px;
}
.tc-cart-empty h2 { font-family: 'Noto Serif JP', Georgia, serif; font-size: 22px; margin: 0 0 8px; color: #1A1A1A; }
.tc-cart-empty p { color: #6B6B6B; margin: 0 0 24px; }

/* ── sticky mobile bar ── */
.tc-cart-mobilebar { display: none; }
@media (max-width: 880px) {
  .tc-cart-mobilebar {
    display: flex;
    align-items: center;
    gap: 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -4px 16px rgba(42,40,30,0.10);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .tc-cart-mobilebar-total { font-size: 19px; font-weight: 800; color: #2E7D32; white-space: nowrap; }
  .tc-cart-mobilebar .tc-btn-primary { flex: 1; }
  .tc-cart-page { padding-bottom: 120px; }
  .tc-cart-summary { position: static; }
}

/* ══════════════ HEADER — TWO-ROW DESKTOP LAYOUT ══════════════ */
/* Keep nav links on one line — nothing may force them to wrap. */
.nav-link { white-space: nowrap; }

/* The logo and action cluster never compress; the nav row flexes instead. */
.nav-logo { flex-shrink: 0; }
.nav-logo img { width: auto; height: 36px; }
/* Smaller logo on desktop so it balances the taller search-bar + menu stack. */
@media (min-width: 1024px) {
  .nav-logo img { height: 28px; }
}
.nav-actions { flex-shrink: 0; }

/* Desktop: grocery-standard two-row header.
   Row 1: logo + store/search/account/cart.  Row 2: full-width menu row —
   every nav item fits without squeezing the logo. */
@media (min-width: 1024px) {
  :root { --nav-height: 116px; }
  /* Row 1: logo · wide search bar · labeled actions. The menu row
     (.nav-links) is a sibling element below the grid. */
  .nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 66px;
    grid-template-areas: 'logo search actions';
    align-items: center;
    column-gap: 16px;
    height: 66px;
  }
  .nav-logo { grid-area: logo; flex-shrink: 0; }
  /* Option 3: fill the whole middle column (16px gap each side). */
  .nav-searchbar { grid-area: search; justify-self: stretch; width: 100%; max-width: none; margin: 0; display: block; }
}
@media (min-width: 1024px) {
  .nav-actions { grid-area: actions; justify-self: end; }
  .nav-links {
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 50px;
    border-top: 1px solid rgba(42, 40, 30, 0.05);
  }
  /* Overflow safety net: only used if the menu grows beyond the cap. */
  .nav-links .nav-link--overflow { display: none; }
}
.nav-more { position: relative; display: none; }
@media (min-width: 1024px) {
  .nav-links .nav-more { display: block; }
}
.nav-links.mobile-open .nav-more { display: none; }
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-more-btn svg { transition: transform 180ms ease; }
.nav-more-btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav-more-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #EDE8D0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(42,40,30,0.14);
  padding: 8px;
  display: flex;
  flex-direction: column;
  z-index: 60;
}
.nav-more-pop .nav-link { display: block; padding: 10px 14px; border-radius: 8px; }
.nav-more-pop .nav-link:hover { background: #FAF8F0; }
.nav-more-pop .nav-link::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-more-btn svg { transition: none; }
}

/* ══════════════ STORE PICKER ══════════════ */

.tc-store-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,125,50,0.08);
  color: #1B5E20;
  border: 1.5px solid rgba(46,125,50,0.25);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  white-space: nowrap;
}
.tc-store-chip:hover { background: rgba(46,125,50,0.14); }
.tc-store-chip:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-store-chip-chev { opacity: 0.6; }
/* Row 1 of the two-row header has room for the full chip at all desktop
   widths — no icon-only squeeze needed above 1024px anymore. */
/* Small screens: icon-only chip; the account icon yields to keep the
   hamburger on screen (login stays reachable via the cart/checkout). */
@media (max-width: 639px) {
  .tc-store-chip { padding: 7px 10px; }
  .tc-store-chip-label,
  .tc-store-chip-chev { display: none; }
  .nav-logo img { height: 32px; }
}
@media (max-width: 479px) {
  .nav-actions > a.nav-search-btn { display: none; }
}

/* ══════════════ CART DRAWER CHROME ══════════════ */
/* Must sit above the fixed site nav (z-index 100) — otherwise the nav
   covers the drawer's own header and the panel reads as broken. */
.overlay { z-index: 200; }

/* Drawer panel as a flex column so the header is fixed, the lines scroll,
   and the footer (subtotal + CTA) pins to the bottom. */
aside {
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(42, 40, 30, 0.18);
}
aside header {
  flex-shrink: 0;
  height: auto;
  min-height: 60px;
  padding: 16px 20px;
  border-bottom: 1px solid #EDE8D0;
  background: #FAF8F0;
}
aside header h3 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1A1A1A;
}
aside header .close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  color: #6B6B6B;
  border-radius: 50%;
}
aside header .close:hover { background: #EDE8D0; color: #1A1A1A; opacity: 1; }
aside header .close:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
aside main {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ══════════════ MINI-CART (drawer body) ══════════════ */
.tc-minicart {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  font-family: inherit;
}
.tc-minicart-lines {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0 16px;
}
.tc-minicart-line {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #EDE8D0;
}
.tc-minicart-line:last-child { border-bottom: none; }
.tc-minicart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #FAF8F0;
  overflow: hidden;
  flex-shrink: 0;
}
.tc-minicart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.tc-minicart-line-info { flex: 1; min-width: 0; }
.tc-minicart-line-name {
  font-weight: 700;
  font-size: 14px;
  color: #1A1A1A;
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
.tc-minicart-line-name:hover { color: #2E7D32; }
.tc-minicart-line-name:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-minicart-line-variant { margin: 2px 0 0; font-size: 12px; color: #6B6B6B; }
.tc-minicart-line-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tc-minicart-line-controls form { display: contents; }
.tc-minicart-line-price { font-weight: 700; font-size: 14px; white-space: nowrap; color: #1A1A1A; }
.tc-qty-selector--sm .tc-qty-btn { width: 34px; height: 34px; font-size: 14px; }
.tc-qty-selector--sm .tc-qty-display { width: 32px; font-size: 13px; }

.tc-minicart-foot {
  border-top: 1px solid #EDE8D0;
  padding-top: 14px;
}
.tc-minicart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 16px;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.tc-minicart-hint {
  font-size: 12.5px;
  color: #6B6B6B;
  margin: 0 0 12px;
}
.tc-minicart-cta { width: 100%; }
.tc-minicart-continue {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #2E7D32;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  padding: 12px 0 4px;
  text-decoration: underline;
}
.tc-minicart-continue:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }

.tc-minicart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 48px 16px;
}
.tc-minicart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #F5F0DC;
  border-radius: 20px;
  color: #A8A8A0;
  margin-bottom: 4px;
}
.tc-minicart-empty p { color: #6B6B6B; margin: 0 0 12px; }

.tc-storepicker-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26,26,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tc-storepicker {
  width: 100%;
  max-width: 480px;
  max-height: min(85vh, 720px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(42,40,30,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tc-storepicker:focus { outline: none; }
.tc-storepicker-head { padding: 24px 24px 4px; position: relative; }
.tc-storepicker-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-family: 'Noto Serif JP', Georgia, serif;
  color: #1A1A1A;
  padding-right: 36px;
}
.tc-storepicker-head p { margin: 0; color: #6B6B6B; font-size: 14px; }
.tc-storepicker-close {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #6B6B6B;
  border-radius: 50%;
}
.tc-storepicker-close:hover { background: #FAF8F0; color: #1A1A1A; }
.tc-storepicker-close:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-storepicker-search { padding: 16px 24px 8px; }
.tc-storepicker-search input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  min-height: 48px;
}
.tc-storepicker-search input:focus { border-color: #2E7D32; box-shadow: 0 0 0 3px rgba(46,125,50,0.12); outline: none; }
.tc-storepicker-list {
  border: none;
  margin: 8px 0 0;
  padding: 0 12px 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  /* flex children refuse to shrink (and therefore never scroll) without
     an explicit minimum */
  min-height: 0;
}
.tc-storepicker-zipnote {
  font-size: 13px;
  font-weight: 700;
  color: #1B5E20;
  margin: 4px 14px 6px;
}
.tc-store-option-dist {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #6B6B6B;
  white-space: nowrap;
  padding-left: 8px;
}
.tc-storepicker-empty { color: #6B6B6B; font-size: 14px; text-align: center; padding: 24px 0; }
.tc-storepicker-empty p { margin: 0 0 12px; }
.tc-storepicker-retry {
  background: none;
  border: 1.5px solid #2E7D32;
  color: #2E7D32;
  border-radius: 9999px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.tc-storepicker-retry:hover { background: rgba(46,125,50,0.08); }
.tc-storepicker-retry:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-store-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}
.tc-store-option:hover { background: #FAF8F0; }
.tc-store-option.selected { border-color: #2E7D32; background: rgba(46,125,50,0.08); }
.tc-store-option input[type='radio'] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #2E7D32;
  flex-shrink: 0;
}
.tc-store-option input[type='radio']:focus-visible { outline: 2px solid #2E7D32; outline-offset: 2px; }
.tc-store-option-text { display: block; }
.tc-store-option-name { display: block; font-weight: 700; font-size: 15px; color: #1A1A1A; }
.tc-store-option-addr { display: block; color: #6B6B6B; font-size: 13px; }
.tc-store-option-hours { display: block; font-size: 12px; color: #1B5E20; font-weight: 600; margin-top: 2px; }
.tc-storepicker-foot { padding: 12px 24px 24px; }
.tc-storepicker-foot .tc-btn-primary { width: 100%; }

/* utilities (in case tc-shop.css is not loaded on this page) */
.tc-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;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tc-btn-primary, .tc-store-chip { transition: none; }
}
