:root {
    --yellow: #E4572E;
    --yellow-soft: #E3F1E4;
    --black: #0E1A14;
    --ink-2: #2B3A33;
    --ink-3: #5A6A61;
    --maroon: #0F3D2E;
    --maroon-deep: #0A2A1F;
    --red: #C62828;
    --white: #FFFFFF;
    --paper: #F6F4EC;
    --line: #D9DED3;
    --radius: 16px;
    --section-y: 72px;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
  body {
    margin: 0; font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--black); background: var(--white);
    overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; }
  h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
  p { margin: 0; }
  :focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }
  .skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 16px; border-radius: 8px; text-decoration: none; }
  .skip:focus { top: 12px; }
  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  main { flex: 1; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: background-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
  }
  .btn:active { transform: scale(0.98); }
  .btn-yellow { background: var(--yellow); color: var(--black); }
  .btn-yellow:hover { background: #E8B40F; }
  .btn-maroon { background: var(--maroon); color: var(--white); }
  .btn-maroon:hover { background: var(--maroon-deep); }
  .btn-light { background: transparent; color: var(--white); border-color: var(--white); }
  .btn-light:hover { background: var(--white); color: var(--black); }
  .btn-dark { background: transparent; color: var(--black); border-color: var(--black); }
  .btn-dark:hover { background: var(--black); color: var(--white); }
  .btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
  .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.97);
    backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
  .brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
  .brand img { height: 56px; width: auto; }
  .primary-nav { display: none; }
  .primary-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
  .primary-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
  .primary-nav a:hover { color: var(--maroon); }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--maroon); color: var(--maroon); }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .cart-link {
    position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
    border: 2px solid var(--black); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; background: var(--white);
  }
  .cart-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px;
    border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 800;
  }
  .menu-toggle {
    min-height: 44px; min-width: 44px; border: 2px solid var(--black); border-radius: 10px; background: var(--white);
    font: inherit; font-weight: 700; cursor: pointer; padding: 0 12px;
  }
  .mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--white); }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 16px; }
  .mobile-menu a { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu a[aria-current="page"] { color: var(--maroon); }
  @media (min-width: 960px) {
    .primary-nav { display: block; }
    .menu-toggle { display: none; }
    .mobile-menu { display: none !important; }
  }

  /* Hero */
  .hero { background: var(--black); color: var(--white); padding: 64px 0 80px; position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 85% 10%, rgba(244,194,31,0.25), transparent 60%),
                radial-gradient(50% 60% at 0% 100%, rgba(142,31,45,0.45), transparent 60%);
  }
  .hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
  .hero-logo { display: inline-flex; background: var(--yellow); border-radius: 20px; padding: 16px 20px; margin-bottom: 28px; }
  .hero-logo img { width: 200px; height: auto; }
  .eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 900; max-width: 14ch; }
  .hero h1 em { font-style: normal; color: var(--yellow); }
  .lead { margin-top: 22px; font-size: 18px; color: #DADADA; max-width: 52ch; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); }
  .facts dt { font-size: 13px; color: #BDBDBD; font-weight: 500; }
  .facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 800; }
  .mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
  .mosaic img.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  @media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }

  /* Sections */
  .block { padding: var(--section-y) 0; }
  .block + .block { border-top: 1px solid var(--line); }
  .block.paper { background: var(--paper); }
  .block.yellow { background: var(--yellow); }
  .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 12px; }
  .block.yellow .kicker { color: var(--black); }
  .title { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; max-width: 24ch; }
  .intro { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }
  .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }

  /* Cards */
  .grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
  .card {
    position: relative; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white);
    overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--black);
    transition: transform 200ms ease-out;
  }
  .card:hover { transform: translateY(-3px); }
  .card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
  .card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease-out; }
  .card:hover .media img { transform: scale(1.05); }
  .card .media.plain { display: flex; align-items: center; justify-content: center; background: var(--yellow-soft); font-weight: 800; font-size: 22px; color: var(--maroon); padding: 16px; text-align: center; }
  .card .body { padding: 18px 20px 22px; }
  .card h3 { font-size: 20px; font-weight: 800; }
  .card p { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
  .card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--maroon); }
  @media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 960px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

  /* Bento on home */
  .bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 14px; }
  .tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--black); min-height: 180px; text-decoration: none; color: var(--white); display: block; }
  .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease-out; }
  .tile:hover img { transform: scale(1.05); }
  .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0) 40%, rgba(17,17,17,0.9) 100%); }
  .tile span.cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
  .tile strong { display: block; font-size: 18px; font-weight: 800; }
  .tile small { font-size: 14px; color: #E8E8E8; }
  .tile.big { grid-row: span 2; min-height: 300px; }
  .tile.wide { grid-column: span 2; }
  .tile.plain { background: var(--yellow-soft); color: var(--black); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
  .tile.plain::after { display: none; }
  .tile.plain h3 { font-size: 22px; font-weight: 800; }
  .tile.plain p { margin-top: 8px; color: var(--ink-2); }
  @media (min-width: 960px) { .bento { grid-template-columns: repeat(4, 1fr); } }

  /* Lists */
  .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .checks li { position: relative; padding-left: 26px; font-weight: 500; }
  .checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--black); }

  /* Slot and time tables */
  .slots { display: grid; gap: 10px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
  .slots li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--white); border: 2px solid var(--black); border-radius: 12px; padding: 14px 18px; font-weight: 700; min-height: 52px; }
  .slots li span:last-child { font-size: 14px; font-weight: 500; color: var(--ink-3); }
  @media (min-width: 720px) { .slots { grid-template-columns: repeat(5, 1fr); } }

  /* Forms */
  .panel { background: var(--white); border: 2px solid var(--black); border-radius: 20px; padding: 26px; }
  .panel.dark { background: var(--black); color: var(--white); }
  .panel.dark label { color: var(--white); }
  .panel.dark .muted { color: #CFCFCF; }
  .field { display: grid; gap: 8px; margin-bottom: 18px; }
  label { font-weight: 600; font-size: 15px; }
  input[type="text"], input[type="tel"], select, textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--black);
    background: var(--white); border: 2px solid var(--black); border-radius: 12px;
  }
  textarea { min-height: 96px; resize: vertical; }
  .hint { font-size: 14px; color: var(--ink-3); }
  .error { color: var(--red); font-weight: 600; font-size: 14px; min-height: 1.2em; }
  .status { font-weight: 700; min-height: 1.4em; }
  .status.ok { color: #1B5E20; }
  .status.no { color: var(--red); }
  .radio-row { display: grid; gap: 10px; grid-template-columns: 1fr; }
  .radio-row label {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--black); border-radius: 12px; cursor: pointer; min-height: 52px; font-weight: 700;
  }
  .radio-row input { width: 20px; height: 20px; accent-color: var(--maroon); }
  .two { display: grid; gap: 16px; grid-template-columns: 1fr; }
  @media (min-width: 720px) { .two { grid-template-columns: 1fr 1fr; } }

  /* Cart */
  .line {
    display: grid; grid-template-columns: 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line);
  }
  .line h3 { font-size: 18px; font-weight: 800; }
  .line .sub { font-size: 14px; color: var(--ink-3); }
  .qty { display: inline-flex; align-items: center; gap: 0; border: 2px solid var(--black); border-radius: 999px; overflow: hidden; }
  .qty button { min-width: 44px; min-height: 44px; border: 0; background: var(--white); font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
  .qty button:hover { background: var(--yellow); }
  .qty span { min-width: 44px; text-align: center; font-weight: 800; }
  .summary { background: var(--paper); border: 2px solid var(--black); border-radius: 20px; padding: 24px; }
  .summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; }
  .summary dt { color: var(--ink-2); }
  .summary dd { margin: 0; font-weight: 700; text-align: right; }
  .summary .note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
  @media (min-width: 960px) { .cart-grid { grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; } }
  .cart-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

  /* Breadcrumb and page heads */
  .crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
  .crumbs a { color: var(--ink-2); }
  .page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
  .page-head h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; }
  .page-head p { margin-top: 12px; color: var(--ink-2); max-width: 60ch; font-size: 17px; }

  /* Product page */
  .product { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
  .product .hero-img { border-radius: 20px; overflow: hidden; border: 2px solid var(--black); aspect-ratio: 4 / 3; background: var(--black); }
  .product .hero-img img { width: 100%; height: 100%; object-fit: cover; }
  .cuts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .cuts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 2px solid var(--black); border-radius: 12px; background: var(--white); }
  .cuts li span.name { font-weight: 700; }
  @media (min-width: 960px) { .product { grid-template-columns: 1fr 1fr; gap: 48px; } }

  /* Promise cards */
  .promise { border: 2px solid var(--black); border-radius: var(--radius); padding: 26px; background: var(--white); }
  .promise h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
  .promise p { color: var(--ink-2); }

  /* Prose pages */
  .prose { max-width: 70ch; }
  .prose h2 { font-size: 24px; font-weight: 800; margin: 36px 0 12px; }
  .prose h2:first-child { margin-top: 0; }
  .prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
  .prose ul { padding-left: 20px; }
  .draft { display: inline-block; background: var(--yellow-soft); border: 2px solid var(--black); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; margin-bottom: 24px; }

  /* Areas */
  .zones { display: grid; gap: 18px; grid-template-columns: 1fr; }
  .zone { border: 2px solid var(--black); border-radius: var(--radius); padding: 20px; background: var(--white); }
  .zone h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
  .zone ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .zone li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
  @media (min-width: 720px) { .zones { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 960px) { .zones { grid-template-columns: repeat(5, 1fr); } }
  .check-box { background: var(--black); color: var(--white); border-radius: 20px; padding: 28px; display: grid; gap: 14px; grid-template-columns: 1fr; }
  .check-box label { color: var(--white); }
  .check-box input { background: var(--white); }
  .check-box .muted { color: #CFCFCF; }
  @media (min-width: 720px) { .check-box { grid-template-columns: 1.2fr 0.8fr; align-items: end; } }

  /* Footer */
  .site-footer { background: var(--black); color: #E0E0E0; padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); margin-top: auto; }
  .foot { display: grid; gap: 28px; grid-template-columns: 1fr; }
  @media (min-width: 720px) { .foot { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
  .foot-logo { display: inline-block; background: var(--yellow); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
  .foot-logo img { width: 130px; height: auto; }
  .site-footer h3 { color: var(--yellow); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
  .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .site-footer a { color: var(--white); text-decoration: none; font-weight: 500; }
  .site-footer a:hover { color: var(--yellow); }
  .foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 14px; color: #A8A8A8; }

  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--black); }
  .mobile-bar a { flex: 1; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mobile-bar .m1 { background: var(--yellow); color: var(--black); }
  .mobile-bar .m2 { background: var(--white); color: var(--black); }
  body { padding-bottom: 86px; }
  @media (min-width: 960px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

  .toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 80; opacity: 0; pointer-events: none; transition: opacity 200ms ease-out; max-width: calc(100% - 32px); text-align: center; }
  .toast.show { opacity: 1; }
  @media (min-width: 960px) { .toast { bottom: 32px; } }


  /* Product cards (shop) */
  .pcard { border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
  .pmedia { aspect-ratio: 4 / 3; background: var(--yellow-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .pmedia img { width: 100%; height: 100%; object-fit: cover; }
  .pmedia span { font-weight: 800; color: var(--maroon); padding: 12px; text-align: center; }
  .pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .pbody h3 { font-size: 17px; font-weight: 800; }
  .pprice { font-size: 14px; color: var(--ink-2); font-weight: 600; }
  .pbody .btn { margin-top: auto; align-self: flex-start; }
  @media (min-width: 960px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

  /* Weight picker dialog */
  #itemDialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 40px); }
  #itemDialog::backdrop { background: rgba(17,17,17,0.6); }
  .dlg-inner { background: var(--white); border-radius: 20px; padding: 24px; max-height: calc(100vh - 40px); overflow: auto; }
  .dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
  .dlg-head h2 { font-size: 22px; font-weight: 800; }
  .close { min-width: 44px; min-height: 44px; border-radius: 999px; border: 2px solid var(--black); background: var(--white); font: inherit; font-size: 22px; cursor: pointer; }
  .dlg-group { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
  .dlg-group legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
  .opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 2px solid var(--black); border-radius: 12px; font-weight: 600; cursor: pointer; }
  .opt input { width: 20px; height: 20px; accent-color: var(--maroon); }
  .units { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .units li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--black); border-radius: 12px; }
  .unit-label { font-weight: 700; }
  .unit-price { font-weight: 700; color: var(--ink-2); font-size: 15px; }
  .dlg-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

  /* Admin */
  .admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
  .admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .tab { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--black); background: var(--white); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
  .tab[aria-pressed="true"] { background: var(--black); color: var(--white); }
  .rate-panel { display: grid; gap: 16px; margin-bottom: 20px; grid-template-columns: 1fr; }
  .rate-form { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: end; }
  .rate-form .field { margin-bottom: 0; }
  @media (min-width: 720px) { .rate-panel { grid-template-columns: 1fr 1.2fr; align-items: center; } .rate-form { grid-template-columns: 1fr 1fr auto; } }
  .admin-table-wrap { overflow-x: auto; border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); }
  .admin-table { width: 100%; border-collapse: collapse; min-width: 560px; }
  .admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
  .admin-table thead th { background: var(--paper); font-weight: 800; }
  .admin-table tbody th { font-weight: 600; }
  .admin-table input[type="number"] { width: 110px; min-height: 44px; padding: 8px 10px; font: inherit; border: 2px solid var(--black); border-radius: 10px; }
  .admin-table input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--maroon); }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


  /* Category banner (photo slot, placeholder until photos arrive) */
  .cat-banner { position: relative; min-height: 260px; display: flex; align-items: flex-end; color: var(--white); background: linear-gradient(135deg, var(--black) 0%, var(--maroon-deep) 60%, var(--maroon) 100%); overflow: hidden; }
  .cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.85) 100%); }
  .cat-banner.placeholder::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(244,194,31,0.35), transparent 60%); }
  .cat-banner-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 40px; }
  .cat-banner h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 900; color: var(--white); }
  .cat-banner p { margin-top: 10px; color: #E8E8E8; max-width: 60ch; font-size: 17px; }
  .crumbs-light { font-size: 14px; color: #E0E0E0; margin: 0 0 14px !important; }
  .crumbs-light a { color: var(--white); }
  .banner-panel { display: grid; gap: 16px; margin-bottom: 20px; grid-template-columns: 1fr; }
  .banner-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
  @media (min-width: 720px) { .banner-panel { grid-template-columns: 1fr auto; align-items: center; } }


  /* Orders and staff dashboards */
  .order-list { display: grid; gap: 16px; }
  .order-card { border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); padding: 20px; }
  .order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .order-head h3 { font-size: 18px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
  .order-total { font-weight: 800; font-size: 18px; text-align: right; }
  .order-body { display: grid; gap: 16px; grid-template-columns: 1fr; padding: 14px 0; }
  .order-body p { margin: 0 0 6px; }
  .order-lines { margin: 0; padding-left: 18px; color: var(--ink-2); }
  .order-lines li { margin-bottom: 4px; }
  .order-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 14px; }
  .inline-field { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
  .inline-field select { min-height: 44px; padding: 8px 10px; border: 2px solid var(--black); border-radius: 10px; font: inherit; }
  .badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--black); background: var(--white); letter-spacing: 0.02em; }
  .badge-new { background: var(--yellow); }
  .badge-confirmed, .badge-packed { background: var(--yellow-soft); }
  .badge-out { background: var(--black); color: var(--white); }
  .badge-delivered { background: #DCEFD9; }
  .badge-cancelled { background: #F3D6D6; }
  @media (min-width: 900px) { .order-body { grid-template-columns: 1.2fr 1fr; } }


  .live-banner { display: flex; gap: 16px; align-items: center; background: var(--yellow-soft); border-color: var(--black); }

  /* Photos screen */
  .photo-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
  .photo-card { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 12px; display: grid; gap: 10px; box-shadow: var(--shadow-1); }
  .photo-thumb { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--paper); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .photo-card figcaption { font-weight: 700; font-size: 15px; }
  .photo-card label.btn { justify-self: start; cursor: pointer; }
  input[type="file"]:focus-visible + label, label.btn:focus-within { outline: 3px solid var(--black); outline-offset: 3px; }
  @media (min-width: 720px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 1000px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }

  .pmedia.noimg { background: linear-gradient(135deg, var(--yellow-soft) 0%, #FFFFFF 100%); }
  .cut-placeholder { font-size: 17px; line-height: 1.3; font-weight: 800; color: var(--maroon); padding: 18px; text-align: center; }

  /* Welcome popup: delivery or store pickup */
  #fulfilDialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100% - 24px)); }
  #fulfilDialog::backdrop { background: rgba(17,17,17,0.6); }
  #fulfilDialog .dlg-inner { background: var(--white); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-2); }
  .fulfil-options { display: grid; gap: 12px; grid-template-columns: 1fr; }
  .fulfil-card { display: grid; gap: 6px; text-align: left; padding: 18px 20px; min-height: 96px; border: 2px solid var(--black); border-radius: 16px; background: var(--white); font: inherit; cursor: pointer; }
  .fulfil-card strong { font-size: 18px; font-weight: 800; }
  .fulfil-card span { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
  .fulfil-card:hover, .fulfil-card:focus-visible { background: var(--yellow-soft); }
  .link-btn { background: none; border: 0; color: var(--maroon); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0 0 0 8px; min-height: 44px; }
  .badge-pickup { background: var(--yellow); }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  }

  /* ===== Professional polish layer ===== */
  :root {
    --line-soft: #ECE3C2;
    --shadow-1: 0 1px 2px rgba(17,17,17,0.06), 0 1px 1px rgba(17,17,17,0.04);
    --shadow-2: 0 8px 24px rgba(17,17,17,0.10), 0 2px 6px rgba(17,17,17,0.06);
    --focus: #0E1A14;
  }
  body { font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; }
  h1, h2, h3 { letter-spacing: -0.025em; }
  p { max-width: 68ch; }

  /* Section rhythm */
  section.block { padding: 88px 0; }
  @media (max-width: 719px) { section.block { padding: 60px 0; } }
  .head { margin-bottom: 44px; }
  .kicker { font-size: 12px; letter-spacing: 0.16em; }
  .title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; }
  .intro { font-size: 16px; color: var(--ink-3); }

  /* Header: calmer, with a soft shadow */
  .site-header { box-shadow: 0 1px 0 rgba(17,17,17,0.06); }
  .primary-nav a { font-size: 14px; letter-spacing: 0.01em; color: var(--ink-2); }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--black); }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--maroon); }
  .cart-link { border-color: var(--line); border-width: 1.5px; }
  .cart-link:hover { border-color: var(--black); }
  .btn { font-size: 15px; letter-spacing: 0.01em; }
  .btn-yellow:hover { box-shadow: 0 6px 16px rgba(244,194,31,0.35); }
  .btn-maroon:hover { box-shadow: 0 6px 16px rgba(142,31,45,0.25); }
  .btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--black); outline-offset: 2px;
  }

  /* Hero: tighter, more editorial */
  .hero { padding: 80px 0 96px; }
  .hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; }
  .lead { font-size: 18px; color: #CFCFCF; }
  .facts { border-top-color: rgba(255,255,255,0.14); }
  .mosaic img { border-radius: 16px; box-shadow: var(--shadow-2); }
  .hero-logo { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

  /* Cards: softer borders, lift on hover */
  .card, .pcard, .promise, .zone, .panel, .order-card {
    border: 1px solid var(--line); box-shadow: var(--shadow-1);
  }
  .card:hover, .pcard:hover, .promise:hover { box-shadow: var(--shadow-2); }
  .pcard { transition: box-shadow 220ms ease-out, transform 220ms ease-out; }
  .pcard:hover { transform: translateY(-2px); }
  .card .body, .pbody { padding: 20px 22px 24px; }
  .card h3, .pbody h3 { font-size: 18px; }
  .card p, .pprice { color: var(--ink-3); font-size: 14px; }
  .pprice { font-weight: 600; }
  .pmedia { border-bottom: 1px solid var(--line-soft); }
  .promise { padding: 28px; }
  .promise h3 { font-size: 18px; }

  /* Tiles on the home page */
  .tile { box-shadow: var(--shadow-1); }
  .tile strong { font-size: 17px; }
  .tile.plain { border: 1px solid var(--line); }

  /* Lists and tags */
  .zone li { border-color: var(--line); background: #FFFDF6; font-weight: 500; }
  .slots li, .radio-row label, .opt, .units li { border-width: 1.5px; border-color: var(--black); }
  .slots li { box-shadow: var(--shadow-1); }

  /* Page headers */
  .page-head { background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); padding: 56px 0 44px; }
  .page-head h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.03em; }

  /* Category banner */
  .cat-banner { min-height: 300px; }
  .cat-banner h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); letter-spacing: -0.035em; }

  /* Prose and copy */
  .prose h2 { font-size: 22px; letter-spacing: -0.02em; }
  .prose p, .prose li { color: var(--ink-2); line-height: 1.7; }
  .draft { border-radius: 999px; padding: 8px 16px; font-size: 13px; }

  /* Forms */
  input[type="text"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
    border-width: 1.5px; border-color: #2B3A33; border-radius: 10px;
    transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
  }
  input:focus, select:focus, textarea:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(244,194,31,0.45); outline: none; }
  .field label { font-size: 14px; color: var(--ink-2); }
  .panel { border-radius: 18px; padding: 28px; }

  /* Bag and checkout summary */
  .summary { border: 1px solid var(--line); box-shadow: var(--shadow-1); border-radius: 18px; }
  .line { padding: 22px 0; }
  .qty { border-width: 1.5px; }

  /* Dialog */
  .dlg-inner { border-radius: 22px; box-shadow: var(--shadow-2); }
  .units li { border-color: var(--line); border-width: 1px; box-shadow: var(--shadow-1); }
  .opt { border-color: var(--line); border-width: 1px; }
  .opt:has(input:checked) { border-color: var(--black); border-width: 1.5px; background: var(--yellow-soft); }

  /* Admin and staff */
  .admin-table-wrap { border: 1px solid var(--line); box-shadow: var(--shadow-1); border-radius: 16px; }
  .admin-table th, .admin-table td { padding: 12px 14px; }
  .admin-table thead th { font-size: 13px; letter-spacing: 0.02em; color: var(--ink-2); }
  .tab { border-width: 1.5px; font-size: 14px; }
  .tab[aria-pressed="true"] { box-shadow: var(--shadow-1); }
  .order-card { border-radius: 16px; }
  .order-head { border-bottom-color: var(--line-soft); }

  /* Footer */
  .site-footer { padding: 72px 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
  .site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
  .site-footer a { font-weight: 500; font-size: 15px; }
  .foot-bottom { color: #9A9A9A; font-size: 13px; }

  /* Calm motion for users who prefer it off */
  @media (prefers-reduced-motion: reduce) {
    .pcard, .card, .tile img, .card .media img { transition: none !important; transform: none !important; }
  }

/* ===== UI effects ===== */
.word { display: inline-block; opacity: 0; transform: translateY(18px); animation: wordIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

.pcard, .card, .tile { position: relative; }
.pcard::after, .card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(244,194,31,.22), transparent 62%);
  opacity: 0; transition: opacity .3s ease;
}
.pcard:hover::after, .card:hover::after { opacity: 1; }

.btn-maroon, .btn-yellow { position: relative; overflow: hidden; }
.btn-maroon::before, .btn-yellow::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-maroon:hover::before, .btn-yellow:hover::before { left: 130%; transition: left .7s ease; }

@media (prefers-reduced-motion: reduce) {
  .word, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .pcard::after, .card::after, .btn-maroon::before, .btn-yellow::before { display: none; }
}

/* Custom weight in the popup */
.custom-weight { margin-top: 18px; display: grid; gap: 8px; }
.custom-weight label { font-weight: 700; font-size: 14px; }
.custom-row { display: flex; gap: 10px; flex-wrap: wrap; }
.custom-row input { flex: 1; min-width: 180px; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1.5px solid #2B3A33; border-radius: 10px; }
.custom-row input:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(244,194,31,.45); outline: none; }

/* Delivery screen */
.badge-picked { background: var(--yellow-soft); }
.badge-failed { background: #F3D6D6; }
.order-card.current { border: 2px solid var(--black); }
.order-card select { min-height: 48px; width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 2px solid var(--black); border-radius: 10px; background: var(--white); }
.fail-box textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 2px solid var(--black); border-radius: 10px; }

/* Compact weight popup: choices in rows, weights in a grid */
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-row .opt { flex: 1 1 auto; justify-content: center; min-width: 110px; padding: 10px 12px; }
.units { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.units li { grid-template-columns: 1fr; justify-items: start; gap: 6px; padding: 12px; }
.units li .btn { justify-self: stretch; }
.dlg-group { gap: 6px; margin-bottom: 12px; }
.dlg-head h2 { font-size: 20px; }

/* Delivery outcome */
.outcome { border: 1.5px solid var(--black); border-radius: 12px; padding: 14px; margin-top: 12px; display: grid; gap: 6px; }
.outcome.delivered { background: #EEF7EE; }
.outcome.failed { background: #FBEAEA; }
.outcome-photo { width: 100%; max-width: 280px; border-radius: 10px; display: block; margin: 6px 0; }
.complete-box { border-top: 1px dashed #2B3A33; padding-top: 12px; }
.complete-box input[type=file] { font: inherit; }
.complete-box input[type=number], .fail-box select { min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px; border: 1.5px solid var(--black); border-radius: 10px; }

/* Order timeline: placed, confirmed, delivered */
.timeline { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); font-size: 14px; }
.timeline li { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.tl-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.tl-time { font-weight: 600; color: var(--black); }

/* Store photo */
.store-card { padding: 0; overflow: hidden; }
.store-card > h3, .store-card > p, .store-card > .hint, .store-card > .hero-actions { margin-left: 24px; margin-right: 24px; }
.store-card > h3 { margin-top: 22px; }
.store-card > .hero-actions { margin-bottom: 24px; }
.store-photo { margin: 0 0 18px; aspect-ratio: 4 / 3; background: var(--line-soft, #f3efe9); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Dashboards: light and dark mode, cool header ===== */
.dash { background: var(--paper); min-height: 100vh; }
.dash > .page-head { background: linear-gradient(115deg, #0E1A14 0%, #0F3D2E 68%, #0A2A1F 100%); color: #FFFFFF; border-bottom: none; }
.dash > .page-head h1, .dash > .page-head p, .dash > .page-head .crumbs-light { color: #FFFFFF; }
.dash > .page-head .crumbs-light { opacity: .75; }
.dash > .page-head .btn-dark { color: #FFFFFF; border-color: #FFFFFF; }
.dash > .page-head .btn-dark:hover { background: #FFFFFF; color: #0E1A14; }
.dash .tab { border-radius: 999px; }
.dash .tab[aria-pressed="true"] { background: #0E1A14; color: #FFFFFF; }

.dash[data-theme="dark"] {
  --white: #17161D;
  --paper: #0E0D13;
  --black: #ECE9E2;
  --ink-2: #C7C3BA;
  --ink-3: #9C978C;
  --line: #2C2A35;
  --yellow-soft: #3A3218;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  background: var(--paper);
  color: var(--black);
}
.dash[data-theme="dark"] > .page-head { background: linear-gradient(115deg, #050507 0%, #4A0F1A 68%, #2A0A10 100%); }
.dash[data-theme="dark"] .order-card,
.dash[data-theme="dark"] .admin-table-wrap,
.dash[data-theme="dark"] .panel,
.dash[data-theme="dark"] .photo-card,
.dash[data-theme="dark"] .tab,
.dash[data-theme="dark"] .inline-field select,
.dash[data-theme="dark"] .admin-table input { border-color: #3A3745; }
.dash[data-theme="dark"] .admin-table thead th { background: #201E28; }
.dash[data-theme="dark"] .tab[aria-pressed="true"] { background: #ECE9E2; color: #0E1A14; }
.dash[data-theme="dark"] .btn-dark { border-color: #ECE9E2; }
.dash[data-theme="dark"] .btn-dark:hover { background: #ECE9E2; color: #0E1A14; }
.dash[data-theme="dark"] input,
.dash[data-theme="dark"] select,
.dash[data-theme="dark"] textarea { background: #0E0D13; color: #ECE9E2; }

/* Status badges: readable text in both modes, delivered is green */
.badge { color: #0E1A14; border-color: var(--black); }
.badge-new { background: var(--yellow); }
.badge-confirmed, .badge-packed, .badge-picked { background: #FFF1B8; }
.badge-out { background: #0E1A14; color: #FFFFFF; border-color: #0E1A14; }
.badge-delivered { background: #2E7D32; color: #FFFFFF; border-color: #2E7D32; }
.badge-cancelled, .badge-failed { background: #C62828; color: #FFFFFF; border-color: #C62828; }
.badge-pickup { background: var(--yellow); }
.dash[data-theme="dark"] .badge { border-color: transparent; }
.dash[data-theme="dark"] .badge-out { background: #ECE9E2; color: #0E1A14; }

/* ===== Owner dashboard: sidebar layout and overview ===== */
.dash-layout { display: block; }
.dash-side .tab-count { opacity: .7; font-weight: 600; }
@media (min-width: 900px) {
  .dash-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
  .dash .dash-side { flex-direction: column; flex-wrap: nowrap; position: sticky; top: 16px; margin: 0; padding: 14px; gap: 6px; background: #0E1A14; border-radius: var(--radius); }
  .dash .dash-side .tab { background: transparent; color: #FFFFFF; border: 0; border-radius: 10px; text-align: left; width: 100%; padding: 12px 14px; font-size: 15px; }
  .dash .dash-side .tab:hover { background: rgba(255,255,255,.08); }
  .dash .dash-side .tab[aria-pressed="true"] { background: var(--maroon); color: #FFFFFF; }
  .dash .dash-side .tab-count { float: right; }
  .dash[data-theme="dark"] .dash-side { background: #05050A; border: 1px solid #2C2A35; }
}
.dash .dash-main { min-width: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
@media (min-width: 1100px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--maroon); }
.stat-alert::before { background: var(--red); }
.stat-label { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.stat-num { margin: 6px 0 2px; font-size: 32px; font-weight: 900; line-height: 1.1; color: var(--black); }
.stat-hint { margin: 0; font-size: 13px; color: var(--ink-3); }

.overview-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .overview-grid { grid-template-columns: 1.6fr 1fr; } }
.ov-card { padding: 20px; }
.ov-title { margin: 0 0 14px; font-size: 17px; font-weight: 800; }

.bars { height: 220px; display: flex; align-items: flex-end; gap: 10px; padding-top: 10px; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.bar { width: 100%; max-width: 48px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #B3263A 0%, var(--maroon) 100%); transition: height .4s ease; }
.bar-col:last-child .bar { background: linear-gradient(180deg, #E4572E 0%, #D9A90F 100%); }
.bar-amt { font-size: 11px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.bar-col small { font-size: 12px; color: var(--ink-3); font-weight: 600; }

.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.donut { width: 160px; height: 160px; border-radius: 50%; position: relative; flex-shrink: 0; }
.donut::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; background: var(--white); }
.donut span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; font-size: 26px; font-weight: 900; color: var(--black); line-height: 1; }
.donut span small { display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }
.donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.donut-legend li { display: flex; align-items: center; gap: 8px; }
.donut-legend strong { margin-left: auto; padding-left: 16px; color: var(--black); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.yellow { background: #E4572E; } .dot.black { background: #0E1A14; } .dot.green { background: #2E7D32; } .dot.red { background: #C62828; }
.dash[data-theme="dark"] .dot.black { background: #ECE9E2; }

.recent-list { list-style: none; margin: 0; padding: 0; display: grid; }
.recent-list li { display: grid; grid-template-columns: 96px 1fr auto auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.recent-list li:last-child { border-bottom: 0; }
.r-ref { font-weight: 800; color: var(--maroon); }
.r-name { display: grid; min-width: 0; font-weight: 600; color: var(--black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-name small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.r-amt { font-weight: 800; text-align: right; }
@media (max-width: 560px) { .recent-list li { grid-template-columns: 1fr auto; } .recent-list .r-ref { display: none; } .recent-list .r-amt { grid-column: 2; grid-row: 1; } }
.dash[data-theme="dark"] .dot.yellow { box-shadow: 0 0 0 1px #3A3218 inset; }

/* Quick "Mark delivered" form on order cards */
.quick-delivery { margin: 14px 0 0; padding: 16px; border-radius: var(--radius); background: var(--yellow-soft); border: 1px solid var(--line); display: grid; gap: 12px; }
.qd-title { margin: 0; font-weight: 800; font-size: 15px; color: var(--black); }
.qd-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); max-width: 240px; }
.qd-field input { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 16px; }
.qd-pay { display: flex; gap: 10px; flex-wrap: wrap; }
.qd-pay label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--black); font-weight: 700; cursor: pointer; color: var(--black); }
.qd-pay label:has(input:checked) { background: var(--black); color: var(--white); }
.qd-pay input { accent-color: var(--maroon); }
.qd-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Owner orders: month filter and month groups */
.order-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.order-toolbar select { min-width: 240px; }
.month-group { margin-bottom: 28px; }
.month-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--black); font-size: 18px; font-weight: 900; color: var(--black); }
.month-head span { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }

/* Stores: owner Stores tab and Our Stores page */
.stores-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.store-textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 15px; background: var(--white); color: var(--black); resize: vertical; }
.sf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.sf-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .sf-grid { grid-template-columns: 1fr; } }
.store-admin-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.store-admin { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-1); }
.store-admin.is-off { opacity: .6; }
.store-admin-photo { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-3); text-align: center; }
.store-admin-photo.empty { border: 1px dashed var(--line); }
.store-admin-body h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--black); }
.store-admin-body p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.store-admin-body .qd-actions { margin-top: 10px; }
.pre-line { white-space: pre-line; }

/* Bloggers */
.blogger-hero { background: linear-gradient(115deg, #0E1A14 0%, #0F3D2E 70%, #0A2A1F 100%); color: #FFFFFF; border-radius: var(--radius); padding: 26px; }
.blogger-hero .kicker, .blogger-hero .hint { color: rgba(255,255,255,.85); margin: 0 0 6px; }
.blogger-hero .code-label { margin: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.code-chip { display: inline-block; margin: 0 0 8px; padding: 8px 16px; border-radius: 999px; background: #FFFFFF; color: #0E1A14; font-size: 26px; font-weight: 900; letter-spacing: .06em; }
.link-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.link-row input { flex: 1 1 260px; padding: 10px 12px; border-radius: 10px; border: 0; font-size: 14px; background: rgba(255,255,255,.95); color: #0E1A14; min-width: 0; }
.payout-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--yellow-soft); border: 1px solid var(--line); }
.payout-form .qd-field { min-width: 150px; }
.hint.ok { color: #2E7D32; font-weight: 700; }
.hint.no { color: #C62828; font-weight: 700; }

/* Bloggers Phase 2: item chart, sales details */
.item-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.item-bars li { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr 80px; align-items: center; gap: 12px; font-size: 14px; }
.ib-name { font-weight: 700; color: var(--black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-track { height: 14px; border-radius: 999px; background: var(--paper); overflow: hidden; border: 1px solid var(--line); }
.ib-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0F3D2E, #E4572E); }
.ib-val { font-weight: 800; color: var(--black); text-align: right; white-space: nowrap; }
.ib-val small { font-weight: 600; color: var(--ink-3); }
@media (max-width: 560px) { .item-bars li { grid-template-columns: 1fr 1fr; } .ib-track { grid-column: 1 / -1; grid-row: 2; } }

.blogger-sales-toggle { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.blogger-sales-toggle summary { cursor: pointer; font-weight: 800; color: var(--maroon); padding: 6px 0; }
.bsales { margin-top: 12px; display: grid; gap: 14px; }
.bsales-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--ink-2); }
.bsales-stats strong { color: var(--black); }
.bsales-h { margin: 6px 0 0; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .15s ease; }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.06); }
.wa-float svg { display: block; }

/* Social icons */
.soc-icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; margin-right: 8px; }
.social-btn { display: inline-flex; align-items: center; gap: 0; }
.soc-link { display: inline-flex; align-items: center; }

/* Modern home hero */
.hero2 { position: relative; overflow: hidden; background: #0E0D0B; color: #FFFFFF; padding: 72px 0 88px; }
.hero2::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, rgba(142,31,45,0.55), transparent 60%),
              radial-gradient(50% 50% at 0% 100%, rgba(244,194,31,0.16), transparent 60%); }
.hero2-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero2-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: #E4572E; }
.hero2-pill i { width: 8px; height: 8px; border-radius: 50%; background: #2E7D32; box-shadow: 0 0 0 4px rgba(46,125,50,0.25); }
.hero2 h1 { margin: 22px 0 0; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 900; max-width: 13ch; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, #E4572E, #FFE27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { margin-top: 20px; font-size: 18px; color: #C9C9C9; max-width: 50ch; line-height: 1.6; }
.hero2 .hero-actions { margin-top: 30px; }
.hero2-trust { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero2-trust li { padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); font-size: 14px; font-weight: 600; color: #EDEDED; }
.hero2-trust strong { color: #E4572E; }
.hero2-media { position: relative; }
.hero2-main { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.hero2-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero2-badge { position: absolute; left: -14px; top: 26px; padding: 14px 18px; border-radius: 18px; display: grid; gap: 2px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.hero2-badge strong { font-size: 18px; font-weight: 900; }
.hero2-badge span { font-size: 13px; color: #E6E6E6; }
.hero2-tiles { position: absolute; right: -10px; bottom: -18px; display: flex; gap: 12px; }
.hero2-tiles img { width: 132px; height: 132px; object-fit: cover; border-radius: 20px; border: 4px solid #0E0D0B; box-shadow: 0 16px 30px rgba(0,0,0,0.4); }
@media (min-width: 960px) { .hero2-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } .hero2-main { aspect-ratio: 4 / 4.4; } }
@media (max-width: 560px) { .hero2-tiles img { width: 96px; height: 96px; } .hero2-badge { left: 8px; top: 8px; } .hero2 .hero-actions .btn { flex: 1 1 auto; text-align: center; } }

/* ===== Redesign: colour, type and shape system ===== */
:root {
  --ink: #0E1A14;
  --ink-2: #2B3A33;
  --ink-3: #5A6A61;
  --black: #0E1A14;
  --meat: #0F3D2E;
  --meat-deep: #0A2A1F;
  --maroon: #0F3D2E;
  --maroon-deep: #0A2A1F;
  --saffron: #E4572E;
  --saffron-soft: #E3F1E4;
  --yellow: #E4572E;
  --yellow-soft: #E3F1E4;
  --leaf: #2E7D4F;
  --red: #B3261E;
  --paper: #F6F4EC;
  --white: #FFFFFF;
  --line: #D9DED3;
  --radius: 20px;
  --shadow-1: 0 1px 2px rgba(27,20,18,0.06), 0 8px 24px rgba(27,20,18,0.06);
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { font-family: var(--font-body); color: var(--ink); background: var(--white); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; color: var(--ink); }

/* Buttons: pill shape, no decorative sweep, clear hover */
.btn { font-family: var(--font-body); font-weight: 700; border-radius: 999px; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn-maroon::before, .btn-yellow::before { display: none; }
.btn-yellow { background: var(--saffron); color: var(--ink); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-deep); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Cards: soft edges and gentle depth instead of heavy outlines */
.promise { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); background: var(--white); }
.store-card { border-radius: var(--radius); }
.store-photo { border-radius: 0; }
.store-photo img { border-radius: 0; }

/* Header and footer */
.site-header { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.site-footer { background: var(--ink); color: #EDE6DC; }
.site-footer h3 { color: var(--white); }
.site-footer a { color: #EDE6DC; }
.site-footer a:hover { color: var(--saffron); }
.foot-bottom { color: #B5A9A1; border-top-color: rgba(255,255,255,0.12); }

/* Hero: paper ground, arch-framed photo, one stamp */
.hero3 { background: var(--paper); padding: clamp(48px, 8vw, 96px) 0; color: var(--ink); }
.hero3-grid { display: grid; gap: 48px; align-items: center; }
.hero3-kicker { font-size: 14px; font-weight: 700; color: var(--meat); }
.hero3 h1 { margin-top: 14px; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; max-width: 14ch; }
.hero3-lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 46ch; line-height: 1.6; }
.hero3-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero3-wa { display: inline-block; margin-top: 18px; color: var(--meat); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero3-facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero3-facts dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.hero3-facts dd { margin: 4px 0 0; font-weight: 800; font-size: 16px; color: var(--ink); font-family: var(--font-display); }
.hero3-media { position: relative; }
.hero3-arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(27,20,18,0.35); }
.hero3-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero3-stamp { position: absolute; left: -12px; bottom: 36px; background: var(--saffron); color: var(--ink); border-radius: 18px; padding: 14px 18px; display: grid; gap: 2px; box-shadow: 0 12px 30px rgba(27,20,18,0.2); }
.hero3-stamp span { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.hero3-stamp small { font-size: 13px; font-weight: 600; }
@media (min-width: 960px) { .hero3-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; } .hero3-arch { aspect-ratio: 4 / 5.2; } }
@media (max-width: 560px) { .hero3-facts { grid-template-columns: 1fr 1fr; } .hero3-facts > div:last-child { grid-column: 1 / -1; } .hero3-stamp { left: 12px; } }

/* ===== Forest & ember redesign (v33) ===== */
:root {
  --forest: #0F3D2E;
  --forest-deep: #0A2A1F;
  --ember: #E4572E;
  --mint: #E3F1E4;
  --bone: #F6F4EC;
  --ink: #0E1A14;
  --ink-2: #2B3A33;
  --ink-3: #5A6A61;
  --line: #D9DED3;
  --radius: 14px;
  --shadow-1: none;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { font-family: var(--font-body); color: var(--ink); background: var(--bone); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

/* Header: forest band, light text */
.site-header { background: var(--forest); color: #EAF2EC; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header a { color: #EAF2EC; }
.site-header a:hover { color: #FFFFFF; }

/* Footer: deep forest */
.site-footer { background: var(--forest-deep); color: #D7E3DA; }
.site-footer h3 { color: #FFFFFF; }
.site-footer a { color: #D7E3DA; }
.site-footer a:hover { color: #FFFFFF; }
.foot-bottom { color: #9FB3A6; border-top-color: rgba(255,255,255,0.14); }

/* Buttons: squarer, confident, no decorative motion */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 12px; letter-spacing: 0; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-maroon::before, .btn-yellow::before { display: none; }
.btn-maroon { background: var(--forest); color: #FFFFFF; }
.btn-maroon:hover { background: var(--forest-deep); }
.btn-yellow { background: var(--ember); color: var(--ink); }
.btn-ember { background: var(--ember); color: var(--ink); }
.btn-ember:hover { background: #CC4A22; }
.btn-ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #FFFFFF; }
.btn-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

/* Cards: flat, hairline, no heavy outlines */
.promise { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.store-card, .store-admin, .panel { border-radius: var(--radius); }

/* Home hero: a shop front on mint */
.shop-hero { background: var(--mint); padding: clamp(48px, 8vw, 96px) 0; }
.shop-hero-grid { display: grid; gap: 40px; align-items: center; }
.shop-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--forest-deep); max-width: 15ch; font-weight: 600; }
.shop-hero-lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 44ch; line-height: 1.6; }
.shop-hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.shop-hero-meta { margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.shop-hero-meta a { color: var(--forest); font-weight: 700; }
.shop-hero-art { position: relative; min-height: 340px; }
.sh-main { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; display: block; }
.sh-side { position: absolute; right: 0; bottom: -6%; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--mint); }
@media (min-width: 960px) { .shop-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 80px; } .sh-main { aspect-ratio: 4 / 5.4; } }
@media (max-width: 560px) { .sh-side { width: 40%; } .shop-hero-art { min-height: 300px; } }

/* ===== Home layout (v34): photo grid, delivery band, promise rows, steps, motion ===== */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bento .tile { border-radius: 14px; overflow: hidden; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .bento .tile.big { grid-column: span 2; grid-row: span 2; }
  .bento .tile.wide { grid-column: span 2; }
}
@media (hover: hover) { .bento .tile img { transition: transform .3s ease; } .bento .tile:hover img { transform: scale(1.03); } }

.block.yellow { background: var(--forest); color: #EAF2EC; }
.block.yellow .title { color: #FFFFFF; }
.block.yellow .kicker { color: #9FD3B0; }
.block.yellow .intro { color: #CFE3D6; }
.block.yellow .slots li { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #FFFFFF; }

.rows-promise { display: grid; border-top: 1px solid var(--line); }
.rows-promise .promise { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 24px 0; display: grid; gap: 8px; }
@media (min-width: 900px) { .rows-promise .promise { grid-template-columns: 1fr 2fr; gap: 32px; align-items: baseline; } }

.how { background: var(--bone); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { padding: 24px 0; border-top: 1px solid var(--line); }
.steps li h3 { font-size: 22px; }
.steps li p { margin-top: 8px; color: var(--ink-2); max-width: 36ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .steps li { border-top: 2px solid var(--forest); padding-top: 22px; } }

/* Motion: one entrance on the hero. Transform and opacity only. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.shop-hero-copy > *, .sh-main, .sh-side { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.shop-hero-copy > *:nth-child(2) { animation-delay: .06s; }
.shop-hero-copy > *:nth-child(3) { animation-delay: .12s; }
.shop-hero-copy > *:nth-child(4) { animation-delay: .18s; }
.sh-side { animation-delay: .14s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Logo keeps its original backgrounds (v35) ===== */
.site-header .brand { background: #FFFFFF; border-radius: 14px; padding: 6px 12px; }
.foot-logo, .hero-logo { background: #F4C21F !important; }

/* ===== Header on forest: readable links, active page and bag (v36) ===== */
.site-header .primary-nav a { color: #DCEADF; }
.site-header .primary-nav a:hover { color: #FFFFFF; }
.site-header .primary-nav a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--ember); }
.site-header .cart-link { color: #FFFFFF; border: 1.5px solid #DCEADF; background: transparent; }
.site-header .cart-link span { color: #FFFFFF; }
.site-header .cart-count { background: var(--ember); color: var(--ink); }

/* ===== Button system (v37): design pattern from 21st.dev button, written for this site ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; box-shadow: 0 1px 2px rgba(14,26,20,0.06);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(2px); }

.btn-maroon, .btn-primary { background: var(--forest); color: #FFFFFF; box-shadow: 0 1px 2px rgba(14,26,20,0.12); }
.btn-maroon:hover, .btn-primary:hover { background: var(--forest-deep); }
.btn-ember, .btn-yellow { background: var(--ember); color: var(--ink); }
.btn-ember:hover, .btn-yellow:hover { background: #CC4A22; }
.btn-outline, .btn-dark, .btn-ghost, .btn-light {
  background: #FFFFFF; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(14,26,20,0.06);
}
.btn-outline:hover, .btn-dark:hover, .btn-ghost:hover { background: var(--mint); border-color: var(--forest); color: var(--forest-deep); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-link { background: transparent; color: var(--forest); padding: 0; min-height: 0; box-shadow: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }

/* Dark surfaces (the header and dashboard dark mode) keep their own text colour */
.site-header .btn-light, .site-header .btn-dark { background: transparent; color: #FFFFFF; border-color: #DCEADF; }
.site-header .btn-light:hover, .site-header .btn-dark:hover { background: #FFFFFF; color: var(--forest-deep); }
