:root {
  --ink: #24201e;
  --muted: #746b66;
  --paper: #fffdf9;
  --surface: #f7f0e8;
  --line: #e7dcd1;
  --accent: #b55337;
  --accent-dark: #8c3d28;
  --success: #27734c;
  --shadow: 0 16px 45px rgba(70, 44, 32, .09);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { display: flex; min-height: 100vh; margin: 0; flex-direction: column; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: var(--accent-dark); text-decoration: none; }
a, button, summary, label:has(input) { cursor: pointer; }
a { transition: color .18s ease, opacity .18s ease, text-decoration-color .18s ease; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-header { min-height: 64px; padding: 0; border-bottom: 1px solid var(--line); background: rgba(255,253,249,.96); position: sticky; top: 0; z-index: 5; }
.site-header-inner { width: min(1200px, calc(100% - 48px)); min-height: 64px; margin: 0 auto; padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.site-logo-link { display: inline-flex; height: 46px; flex: 0 0 auto; align-items: center; }
.site-logo-link img { display: block; width: auto; height: 46px; transition: transform .18s ease, filter .18s ease; }
.nav-main-group, .nav-account-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.account-menu { position: relative; }
.account-menu > summary { list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.account-menu-panel a, .account-menu-panel button { display: block; width: 100%; padding: 9px 11px; border: 0; border-radius: 7px; color: var(--ink); background: transparent; font: inherit; font-weight: 700; text-align: left; }
.account-menu-panel a:hover, .account-menu-panel button:hover { background: var(--surface); text-decoration: none; }
.nav-spacer { min-width: 18px; flex: 1 1 auto; }
.nav-button { min-height: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #f2a65b; border-radius: 6px; padding: 0 14px; color: #552415; background: #f2a65b; box-shadow: 0 0 0 rgba(85,36,21,0); font: inherit; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.nav-button:hover, .nav-button:focus-visible { color: #552415; background: #f6b878; box-shadow: 0 6px 14px rgba(85,36,21,.14); text-decoration: none; transform: translateY(-1px); }
.wb-logo-link { display: inline-flex; height: 32px; align-items: center; justify-content: center; }
.wb-logo-link img { display: block; width: auto; height: 32px; transition: transform .18s ease, filter .18s ease; }
.site-logo-link:hover img, .site-logo-link:focus-visible img,
.wb-logo-link:hover img, .wb-logo-link:focus-visible img { transform: translateY(-1px) scale(1.035); filter: drop-shadow(0 5px 8px rgba(85,36,21,.16)); }
.cart-nav-button { gap: 7px; }
.cart-nav-button svg { width: 18px; height: 18px; flex: 0 0 auto; fill: #fff; }
.container { width: min(1180px, calc(100% - 32px)); margin: 42px auto 80px; flex: 1 0 auto; }
.site-footer { width: 100%; padding: 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; text-align: center; }
.site-footer p { margin: 4px 0; }
.privacy-consent-stack { position: fixed; z-index: 10000; right: 1rem; bottom: 1rem; left: 1rem; display: grid; max-width: 920px; max-height: calc(100vh - 2rem); margin: auto; gap: .75rem; overflow-y: auto; }
.privacy-banner { padding: 1rem 1.2rem; color: #2b211a; background: #fffaf3; border: 1px solid #d8b98e; border-radius: 14px; box-shadow: 0 8px 30px rgba(50,35,20,.2); }
.privacy-banner p { margin: 0 0 .8rem; line-height: 1.45; }
.privacy-banner__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.privacy-banner button { min-height: 42px; padding: .65rem 1.2rem; border: 1px solid var(--accent); border-radius: 8px; color: white; background: var(--accent); box-shadow: 0 0 0 rgba(70,44,32,0); font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.privacy-banner button:hover, .privacy-banner button:focus-visible { background: #a8472d; box-shadow: 0 7px 16px rgba(70,44,32,.14); transform: translateY(-1px); }
h1, h2 { font-family: Georgia, serif; line-height: 1.14; }
h1 { font-size: clamp(34px, 5vw, 56px); margin: 4px 0 14px; letter-spacing: -.035em; }
h2 { font-size: 24px; margin-top: 0; }
.eyebrow { margin: 0; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.muted, small { color: var(--muted); }
.micro { font-size: 12px; }
.auth-card { width: min(520px, 100%); margin: 70px auto; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.auth-card.wide { width: min(650px, 100%); }
.auth-card .price { color: var(--accent-dark); font: 700 30px Georgia, serif; }
.field { margin: 18px 0; }
.phone-fields { display: grid; grid-template-columns: minmax(145px, 180px) minmax(0, 1fr); gap: 12px; align-items: start; }
.phone-fields .field { margin-top: 0; }
.field > label:not(.checkbox) { display: block; margin-bottom: 7px; font-weight: 700; }
.field-label-note { color: var(--muted); font-size: 13px; font-weight: 400; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid #cfc1b6; border-radius: 10px; background: white; color: var(--ink); font: inherit; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(181,83,55,.18); border-color: var(--accent); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.error { color: #a22121; font-size: 14px; margin: 5px 0; }
.button { display: inline-flex; min-height: 44px; padding: 10px 18px; align-items: center; justify-content: center; border-radius: 11px; border: 1px solid transparent; box-shadow: 0 0 0 rgba(70,44,32,0); font: inherit; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { text-decoration: none; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover, .button.primary:focus-visible { background: var(--accent-dark); box-shadow: 0 8px 18px rgba(140,61,40,.2); transform: translateY(-1px); }
.button.quiet { color: var(--ink); background: white; border-color: var(--line); }
.button.quiet:hover, .button.quiet:focus-visible { background: var(--surface); box-shadow: 0 7px 16px rgba(70,44,32,.1); transform: translateY(-1px); }
.button.danger { color: #8e2020; border-color: #e2bcbc; background: #fff7f7; }
.button.danger:hover, .button.danger:focus-visible { color: white; background: #a22121; box-shadow: 0 7px 16px rgba(142,32,32,.18); transform: translateY(-1px); }
.button.compact { min-height: 36px; padding: 7px 11px; font-size: 13px; }
.button.disabled { color: #877d77; background: #eee9e4; cursor: not-allowed; }
.button.full { width: 100%; }
.inline { display: inline; }
.link-button { border: 0; padding: 0; background: none; color: var(--accent-dark); font: inherit; cursor: pointer; }
.copyable-value { display: inline-flex; align-items: center; gap: .28em; cursor: pointer; }
.copy-icon { display: inline-flex; width: 1em; height: 1em; flex: 0 0 auto; }
.copy-icon svg { width: 100%; height: 100%; fill: currentColor; }
.copy-toast { position: fixed; z-index: 12000; max-width: min(280px, calc(100vw - 20px)); padding: 8px 12px; border-radius: 9px; color: #fff; background: #552415; box-shadow: 0 10px 28px rgba(40,20,10,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease; }
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.copy-toast.is-above { transform: translate(-50%, calc(-100% + 6px)); }
.copy-toast.is-above.is-visible { transform: translate(-50%, -100%); }
.after-form { margin-top: 22px; }
.notice { max-width: 800px; margin: 0 auto 20px; padding: 13px 16px; border-radius: 10px; background: #f0e8da; }
.notice.success { color: var(--success); background: #e6f4ec; }
.notice.error { color: #8e2020; background: #f9e7e7; }
.verification-card { margin: 22px 0; padding: 20px; border: 1px solid #e9c9a8; border-radius: 16px; background: #fff8ec; }
.verification-card h2 { margin-bottom: 8px; }
.verification-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.verification-actions form { margin: 0; }
.verification-status { padding: 10px 13px; border-radius: 10px; font-weight: 800; }
.verification-status--success { color: var(--success); background: #e6f4ec; }
.settings-card { width: min(520px, 100%); margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.settings-account-label { font-size: 15px; }
.settings-title { font-size: clamp(27px, 4vw, 36px); }
.settings-card h2 { margin-bottom: 10px; font-size: 18px; }
.settings-card-description { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.profile-name-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.profile-name-fields .field { margin-top: 0; }
.settings-notification-card h2 { font-family: inherit; font-size: 16px; font-weight: 700; }
.settings-notification-card .field { margin: 8px 0 14px; font-size: 14px; }
.settings-notification-card .button { min-height: 36px; padding: 7px 11px; font-size: 13px; }
.settings-email-card > p { margin: 0 0 4px; }
.verification-status-inline { color: var(--success); font-size: 12px; }
.settings-disclosure { margin-top: 10px; }
.settings-disclosure > summary { display: inline-flex; min-height: 34px; padding: 6px 11px; align-items: center; justify-content: center; list-style: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; box-shadow: 0 0 0 rgba(70,44,32,0); font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.settings-disclosure > summary::-webkit-details-marker { display: none; }
.settings-disclosure > summary:hover, .settings-disclosure > summary:focus-visible { background: var(--surface); box-shadow: 0 7px 16px rgba(70,44,32,.1); transform: translateY(-1px); }
.settings-disclosure[open] > summary { color: white; border-color: var(--accent); background: var(--accent); }
.settings-disclosure-content { margin-top: 18px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.panel, .summary-card { border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.panel { padding: 26px; }
.summary-card { padding: 24px; }
.cart-layout, .two-columns, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 24px; }
.cart-row { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 88px; height: 88px; object-fit: cover; border-radius: 14px; background: var(--surface); }
.grow { flex: 1; }
.item-title { color: var(--ink); font-weight: 800; }
.quantity { width: 130px; }
.quantity label { display: block; font-size: 12px; color: var(--muted); }
.quantity input { padding: 7px; margin: 4px 0; }
.quantity .button { min-height: 30px; padding: 4px 8px; font-size: 12px; }
.quantity-save-status { display: block; min-height: 18px; color: var(--muted); font-size: 12px; }
.checkout-main { display: grid; gap: 24px; }
.checkout-composition { margin: 0; }
.checkout-line-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px; padding: 13px 0; align-items: center; border-bottom: 1px solid var(--line); }
.checkout-line-item > span { color: var(--muted); white-space: nowrap; }
.checkout-total { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; align-items: baseline; }
.checkout-total strong { color: var(--accent-dark); font: 700 30px Georgia, serif; }
.alternate-email { margin: -8px 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pickup-helper { margin: 12px 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.map-consent { margin: 12px 0 18px; }
.map-consent-button { display: flex; width: 100%; min-height: 68px; box-sizing: border-box; padding: 14px 18px; align-items: center; justify-content: flex-start; gap: 13px; border: 1px solid #e9c9a8; border-radius: 12px; color: var(--ink); background: #fff8ec; box-shadow: 0 0 0 rgba(70,44,32,0); font-size: 14px; font-weight: 700; line-height: 1.45; text-align: left; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.map-consent-checkbox { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: var(--accent); cursor: pointer; }
.map-consent-button > span { flex: 1 1 auto; }
.map-consent-button:hover, .map-consent-button:focus-within { background: #fff1d9; box-shadow: 0 7px 16px rgba(70,44,32,.1); transform: translateY(-1px); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.pickup-helper > p:first-child { margin-top: 0; }
.pickup-widget { width: 100%; min-height: 460px; overflow: hidden; border-radius: 10px; background: #eee9e4; }
.carrier-pickup-helper { margin-top: -8px; }
.carrier-pickup-helper .button { margin-right: 8px; margin-bottom: 6px; }
.pickup-number-help { margin-top: 10px; }
.pickup-number-help > summary { display: inline-flex; min-height: 36px; padding: 7px 11px; align-items: center; list-style: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.pickup-number-help > summary::-webkit-details-marker { display: none; }
.pickup-number-help > summary:hover, .pickup-number-help > summary:focus-visible { background: var(--surface); box-shadow: 0 7px 16px rgba(70,44,32,.1); transform: translateY(-1px); }
.pickup-number-help > img { display: block; width: auto; max-width: 100%; height: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.order-cancel-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.order-cancel-actions form { margin: 0; }
.summary-card > strong, .summary-card .price { display: block; margin: 8px 0 18px; font: 700 30px Georgia, serif; }
.empty-state { padding: 70px 25px; text-align: center; border: 1px dashed #cdbdb0; border-radius: 20px; background: var(--surface); }
.empty-state.compact { padding: 35px; }
.line-item { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.note { padding: 14px; background: var(--surface); border-radius: 12px; }
.order-list { padding: 0; overflow: hidden; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
.order-row:last-child { border: 0; }
.order-row:hover { background: var(--surface); text-decoration: none; }
.order-row-link { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 20px; padding: 6px; color: var(--ink); }
.order-row-link:hover { text-decoration: none; }
.order-row small { display: block; margin-top: 3px; }
.status { padding: 7px 11px; border-radius: 999px; background: #f2e8dc; font-size: 13px; font-weight: 800; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.order-grid section { margin-bottom: 24px; }
.messages { max-height: 520px; overflow: auto; padding: 8px; margin: 0 -8px 20px; }
.chat-message { max-width: 80%; margin: 12px 0; padding: 12px 15px; border-radius: 4px 16px 16px; background: var(--surface); }
.chat-message.mine { margin-left: auto; border-radius: 16px 4px 16px 16px; background: #f4dfd5; }
.chat-message div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.chat-message time { color: var(--muted); }
.chat-message p { margin: 7px 0 0; }
.manager-tools form + hr, .manager-tools hr { margin: 25px 0; border: 0; border-top: 1px solid var(--line); }
.success-text { color: var(--success); font-weight: 800; }
.timeline > div { display: grid; grid-template-columns: 12px 1fr; gap: 10px; }
.timeline > div > span { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
.timeline p { margin: 0 0 16px; }
.timeline small { display: block; }
.metrics { display: flex; gap: 18px; margin-bottom: 22px; }
.metrics div { min-width: 160px; padding: 20px; border-radius: 16px; color: white; background: var(--accent-dark); }
.metrics strong { display: block; font: 700 32px Georgia, serif; }
.manager-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: -10px 0 24px; }
.manager-nav .button { min-height: 38px; padding: 7px 14px; }
.manager-table-wrap { padding: 0; overflow-x: auto; }
.manager-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.manager-table th, .manager-table td { min-width: 120px; padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.manager-table th { color: var(--muted); background: var(--surface); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.manager-table tr:last-child td { border-bottom: 0; }
.manager-table tbody tr:hover { background: #fffaf4; }
.manager-table small { display: block; max-width: 260px; margin-top: 4px; }
.status-success { color: var(--success); background: #e6f4ec; }
.manager-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.manager-section { margin-top: 24px; }
.details-list { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); gap: 10px 16px; margin: 0; }
.details-list dt { color: var(--muted); font-weight: 700; }
.details-list dd { margin: 0; overflow-wrap: anywhere; }
.plain-list { margin: 0; padding-left: 20px; }
.plain-list li { margin: 7px 0; }
.manager-record-card { padding: 15px 0; border-bottom: 1px solid var(--line); }
.manager-record-card:last-child { padding-bottom: 0; border-bottom: 0; }
.record-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.compact-messages { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); }
.compact-messages p { margin: 8px 0; }
.manager-feedback-row { padding: 17px 20px; border-bottom: 1px solid var(--line); }
.manager-feedback-row:last-child { border-bottom: 0; }
.status-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.status-filters a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: white; font-size: 13px; font-weight: 800; }
.status-filters a:hover, .status-filters a.active { color: white; border-color: var(--accent); background: var(--accent); text-decoration: none; }
.feedback-message { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .privacy-consent-stack { right: .5rem; bottom: .5rem; left: .5rem; max-height: calc(100vh - 1rem); }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .site-header { position: static; }
  .site-header-inner { width: calc(100% - 28px); flex-wrap: wrap; justify-content: center; }
  .nav-spacer { display: none; }
  .cart-layout, .two-columns, .checkout-layout, .order-grid, .manager-detail-grid { grid-template-columns: 1fr; }
  .cart-row { align-items: flex-start; flex-wrap: wrap; }
  .cart-row .grow { min-width: calc(100% - 110px); }
  .quantity { width: 100%; }
  .auth-card { padding: 26px 20px; margin: 30px auto; }
  .phone-fields { grid-template-columns: minmax(125px, 150px) minmax(0, 1fr); gap: 8px; }
  .profile-name-fields { grid-template-columns: 1fr; gap: 0; }
  .order-row { align-items: flex-start; flex-direction: column; }
  .order-row-link { width: 100%; }
  .checkout-line-item { grid-template-columns: 1fr 1fr; }
  .checkout-line-item > strong:first-child { grid-column: 1 / -1; }
}
