:root {
  --ink: #16211e;
  --muted: #69746f;
  --line: #dfe6e0;
  --paper: #fbfaf7;
  --card: #ffffff;
  --mint: #dff1e9;
  --mint-strong: #16725c;
  --coral: #ef765b;
  --yellow: #f5c94e;
  --blue: #dcebf0;
  --shadow: 0 18px 50px rgba(37, 58, 50, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* Prevent accidental double-tap zoom while keeping normal scrolling and pinch zoom. */
  touch-action: manipulation;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  overflow-x: clip;
}

button, input, textarea { font: inherit; }
button, input, textarea, a { touch-action: manipulation; }
button { cursor: pointer; }

.page-shell { max-width: 1440px; margin: 0 auto; padding: 0 42px; }

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(22, 33, 30, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
  background: var(--mint-strong); color: white; font-weight: 700; letter-spacing: -0.08em; font-size: 16px;
}
.brand-mark span { color: #f5c94e; font-size: 12px; margin: 0 1px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: -0.02em; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 1px; }
.header-note { color: var(--muted); font-size: 12px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 6px; vertical-align: 1px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); gap: 48px;
  min-height: 430px; align-items: center; padding: 58px 0 68px;
}
.eyebrow, .section-kicker { color: var(--mint-strong); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 700; margin: 0 0 13px; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.055em; }
h1 { margin-bottom: 20px; font-size: clamp(48px, 6.2vw, 82px); line-height: .98; font-weight: 700; }
h1 em { color: var(--coral); font-family: Fraunces, Georgia, serif; font-weight: 600; font-style: normal; letter-spacing: -0.06em; }
.hero-intro { color: var(--muted); font-size: 16px; max-width: 470px; margin-bottom: 24px; }
.hero-meta { display: flex; gap: 13px; align-items: center; color: var(--ink); font-size: 12px; font-weight: 600; }
.hero-meta b { color: var(--coral); font-size: 16px; }
.meta-separator { color: #b5c0ba; }

.hero-art { height: 330px; position: relative; overflow: hidden; border-radius: 32px; background: #f5b862; box-shadow: var(--shadow); }
.hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 45%), radial-gradient(circle at 78% 16%, #fbd67d 0 8%, transparent 8.5%), radial-gradient(circle at 17% 90%, #ec835e 0 11%, transparent 11.5%); }
.hero-ring { position: absolute; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.hero-ring-one { width: 450px; height: 450px; right: -130px; top: -90px; }
.hero-ring-two { width: 310px; height: 310px; left: -120px; bottom: -145px; }
.hero-can { position: absolute; width: 90px; height: 190px; border-radius: 20px 20px 15px 15px; display: flex; flex-direction: column; justify-content: center; padding: 0 12px; color: white; box-shadow: 8px 12px 20px rgba(57, 42, 23, .18); transform: rotate(-11deg); }
.hero-can::before { content: ""; position: absolute; left: 5px; right: 5px; top: 4px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.72); }
.hero-can i { font-style: normal; font-size: 11px; font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .9; }
.hero-can b { font-size: 11px; text-transform: uppercase; line-height: 1.1; margin-left: 23px; }
.can-orange { background: linear-gradient(155deg, #f99a41, #eb5d4f); left: 25%; top: 84px; }
.can-green { background: linear-gradient(155deg, #6ba44d, #19735c); left: 52%; top: 40px; transform: rotate(13deg); }
.hero-spark { position: absolute; color: white; font-size: 25px; opacity: .8; }
.spark-one { right: 14%; top: 27%; }.spark-two { left: 15%; bottom: 20%; font-size: 14px; }
.hero-caption { position: absolute; bottom: 28px; right: 35px; text-align: right; color: rgba(22,33,30,.66); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; line-height: 1.6; }
.hero-caption strong { color: var(--ink); font-size: 13px; letter-spacing: .08em; }

.catalogue-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; padding-bottom: 80px; }
.catalogue-column { min-width: 0; }
.catalogue-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
h2 { font-size: 30px; line-height: 1; margin-bottom: 0; }
.search-box { display: flex; align-items: center; gap: 8px; width: 230px; height: 42px; padding: 0 13px; border: 1px solid var(--line); background: white; border-radius: 13px; color: var(--muted); }
.search-box span { font-size: 22px; line-height: 0; transform: translateY(-2px); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 12px; background: transparent; }
.search-box:focus-within { border-color: var(--mint-strong); box-shadow: 0 0 0 3px rgba(22,114,92,.1); }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.category-button { display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; min-height: 42px; border: 1px solid var(--line); border-radius: 13px; padding: 5px 11px 5px 5px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; transition: .18s ease; }
.category-thumb { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 9px; object-fit: contain; background: #f4f7f3; mix-blend-mode: multiply; }
.category-icon { display: grid; place-items: center; color: var(--mint-strong); mix-blend-mode: normal; }
.category-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.category-thumb-placeholder { display: grid; place-items: center; color: var(--mint-strong); font-size: 16px; line-height: 1; mix-blend-mode: normal; }
.category-button:hover { border-color: var(--mint-strong); color: var(--mint-strong); }
.category-button.active { background: var(--ink); border-color: var(--ink); color: white; }
.category-button.active .category-icon { background: rgba(255, 255, 255, .14); color: var(--yellow); }
.category-button.active .category-thumb-placeholder { background: rgba(255, 255, 255, .14); color: var(--yellow); }
.results-note { min-height: 19px; color: var(--muted); font-size: 11px; margin: 14px 0 4px; }
.product-section { margin-top: 28px; scroll-margin-top: 20px; }
.product-section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.product-section-heading h3 { font-size: 17px; letter-spacing: -.025em; margin: 0; }
.product-section-heading span { color: var(--muted); font-size: 11px; }
.drink-subnav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 0 -2px 14px;
  padding: 6px 2px 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
  touch-action: pan-x;
}
.drink-subnav::-webkit-scrollbar { display: none; }
.drink-subnav-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 3px 10px 3px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  transition: .18s ease;
}
.drink-subnav-button:hover, .drink-subnav-button.active { border-color: #c4d8cc; background: white; color: var(--mint-strong); }
.drink-subnav-button.active { box-shadow: 0 3px 10px rgba(37, 58, 50, .06); }
.drink-thumb { width: 25px; height: 25px; flex: 0 0 25px; border-radius: 8px; object-fit: contain; background: #f4f7f3; mix-blend-mode: multiply; }
.drink-thumb-placeholder { display: grid; place-items: center; color: var(--mint-strong); font-size: 14px; line-height: 1; mix-blend-mode: normal; }
.drink-groups { display: grid; gap: 14px; }
.drink-group { scroll-margin-top: 92px; }
.drink-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.drink-group-toggle:hover .drink-group-title strong { color: var(--mint-strong); }
.drink-group-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.drink-group-title > span:last-child { display: grid; gap: 1px; }
.drink-group-title strong { font-size: 14px; }
.drink-group-title small { color: var(--muted); font-size: 9px; }
.drink-group-chevron { color: var(--mint-strong); font-size: 17px; transition: transform .18s ease; }
.drink-group-content { padding-top: 10px; }
.drink-group-content[hidden] { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 166px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-2px); border-color: #bdd4c8; box-shadow: 0 10px 24px rgba(37,58,50,.08); }
.product-card.in-order { border-color: #9ccbb8; box-shadow: inset 0 0 0 1px #d4eee3; }
.product-visual { background: #f4f7f3; min-height: 166px; display: grid; place-items: center; padding: 10px; }
.product-visual img { width: 100%; height: 145px; object-fit: contain; mix-blend-mode: multiply; }
.no-image { width: 66px; height: 94px; display: grid; place-items: center; padding: 8px; border: 1px dashed #b9c9c0; border-radius: 12px; color: #7b8e84; text-align: center; font-size: 9px; line-height: 1.1; }
.no-image::before { content: "□"; display: block; font-size: 19px; line-height: 1; color: #b0c2b8; }
.product-info { display: flex; flex-direction: column; min-width: 0; padding: 16px 14px 13px; }
.product-brand { color: var(--mint-strong); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 4px; }
.product-detail { color: var(--muted); font-size: 11px; line-height: 1.25; min-height: 28px; }
.product-popularity { display: grid; gap: 5px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef2ee; }
.popularity-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 5px; min-width: 0; }
.popularity-label { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.popularity-dots { display: flex; align-items: center; flex-wrap: nowrap; gap: 3px; min-width: 0; }
.popularity-dot { display: block; width: 6px; height: 6px; flex: 0 0 6px; border: 1px solid #bfd2c6; border-radius: 50%; background: transparent; }
.popularity-dot.is-filled { border-color: var(--coral); background: var(--coral); }
.popularity-dots-overall .popularity-dot.is-filled { border-color: var(--mint-strong); background: var(--mint-strong); }
.popularity-value { color: var(--muted); font-size: 8px; line-height: 1; text-align: right; white-space: nowrap; }
.product-code { color: #8b9790; font-size: 10px; margin-top: 4px; }
.quantity-row { display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 10px; }
.quantity-control { display: inline-flex; height: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; }
.quantity-control button { width: 28px; border: 0; background: #f3f7f3; color: var(--mint-strong); font-size: 17px; line-height: 1; transition: background .15s; }
.quantity-control button:hover { background: var(--mint); }
.quantity-control input { width: 38px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); outline: 0; color: var(--ink); text-align: center; font-size: 12px; font-weight: 700; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.unit-label { color: var(--muted); font-size: 10px; }

.order-panel { position: sticky; top: 20px; }
.order-panel-inner { padding: 25px; border: 1px solid #d1dfd5; border-radius: 23px; background: #eef6f0; box-shadow: var(--shadow); }
.order-panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.order-panel h2 { font-size: 25px; }
.text-button { border: 0; padding: 3px 0; background: transparent; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--coral); }
.order-total { display: flex; align-items: baseline; gap: 8px; padding: 20px 0 15px; border-bottom: 1px solid #d3e2d7; }
.order-total strong { color: var(--mint-strong); font-size: 44px; letter-spacing: -.08em; line-height: .8; }
.order-total span { color: var(--muted); font-size: 11px; }
.boudreault-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #d3e2d7; }
.boudreault-total span, .boudreault-total small { display: block; }
.boudreault-total span { font-size: 11px; font-weight: 700; }
.boudreault-total small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.boudreault-total strong { color: var(--mint-strong); font-size: 18px; }
.nantel-history-note { margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.35; }
.selected-list { min-height: 104px; max-height: 200px; overflow-y: auto; overflow-x: hidden; padding: 12px 0; border-bottom: 1px solid #d3e2d7; }
.order-recipient + .order-recipient { margin-top: 13px; padding-top: 10px; border-top: 1px solid #d3e2d7; }
.order-recipient h3 { margin: 0 0 4px; color: var(--ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.recipient-empty { margin: 0; color: var(--muted); font-size: 10px; }
.empty-state { display: grid; justify-items: center; gap: 3px; padding: 11px 0; color: var(--muted); text-align: center; }
.empty-state p { margin: 0; color: var(--ink); font-size: 12px; font-weight: 600; }.empty-state small { font-size: 10px; }
.empty-icon { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 3px; border-radius: 50%; background: white; color: var(--mint-strong); font-size: 18px; }
.selected-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 7px 0; }
.selected-item-name { min-width: 0; font-size: 11px; line-height: 1.25; }.selected-item-name strong { display: block; font-size: 11px; }.selected-item-name span { color: var(--muted); font-size: 9px; }
.selected-item-qty { color: var(--mint-strong); font-size: 12px; font-weight: 700; white-space: nowrap; }
.product-price { margin-top: 4px; color: var(--coral); font-size: 10px; font-weight: 700; }
.copy-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 0; border: 0; border-radius: 12px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; transition: transform .15s, background .15s; }
.copy-button:hover { background: var(--mint-strong); transform: translateY(-1px); }.copy-button.copied { background: var(--mint-strong); }.copy-icon { font-size: 15px; }
.copy-button.boudreault-below-threshold { background: var(--coral); }
.copy-button.boudreault-below-threshold:hover { background: #d85f46; }
.copy-button.boudreault-ready { background: var(--ink); }
.copy-button.boudreault-ready:hover { background: var(--mint-strong); }
.copy-button[hidden] { display: none !important; }
.mobile-copy-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.mobile-copy-button {
  position: static;
  display: flex;
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 0 13px;
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(22, 33, 30, .2);
  font-size: 11px;
}
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 34px; border-top: 1px solid var(--line); color: #87938b; font-size: 10px; }

@media (max-width: 1050px) {
  .page-shell { padding: 0 24px; }
  .hero { grid-template-columns: 1fr .8fr; gap: 25px; }.hero-art { height: 290px; }
  .catalogue-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
  .order-panel-inner { padding: 20px; }
  .product-card { grid-template-columns: 86px minmax(0, 1fr); }.product-visual { padding: 7px; }.product-visual img { height: 145px; }
}

@media (max-width: 800px) {
  .site-header { height: 70px; }.header-note { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 44px 0 46px; }.hero-art { height: 250px; max-width: 510px; }
  .catalogue-layout { grid-template-columns: 1fr; }.order-panel { order: -1; position: static; }.order-panel-inner { padding: 20px; }
  .selected-list { height: 180px; max-height: 180px; }.catalogue-toolbar { align-items: start; flex-direction: column; }.search-box { width: 100%; }
  .category-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 5px;
    margin: 0 0 14px;
    padding: 6px 0;
    overflow: hidden;
    background: rgba(251, 250, 247, .96);
    box-shadow: 0 1px 0 var(--line), 0 8px 18px rgba(37, 58, 50, .06);
    backdrop-filter: blur(10px);
  }
  .category-button { width: 100%; max-width: 100%; min-width: 0 !important; min-height: 48px; flex-direction: column; justify-content: center; padding: 3px 3px; border-radius: 10px; gap: 2px; font-size: 8px; line-height: 1.05; letter-spacing: -.01em; text-align: center; overflow: hidden; }
  .category-button > span:last-child { display: block; max-width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: normal; }
  .category-thumb { width: 22px; height: 22px; flex-basis: 22px; border-radius: 6px; }
  .category-icon svg { width: 16px; height: 16px; }
  .drink-subnav { top: calc(var(--category-nav-height, 0px) + 2px); margin-left: -1px; margin-right: -1px; }
  .drink-group { scroll-margin-top: calc(var(--category-nav-height, 0px) + 64px); }
  .drink-group-toggle { min-height: 38px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 112px minmax(0, 1fr); }
  .product-visual { min-height: 174px; }
  .product-visual img { height: 154px; }
}

@media (max-width: 540px) {
  .page-shell { padding: 0 15px; }.site-header { margin: 0; }.brand strong { font-size: 13px; }
  h1 { font-size: clamp(45px, 14vw, 53px); }.hero-intro { font-size: 14px; }.hero-art { height: 220px; border-radius: 23px; }.can-orange { left: 20%; top: 58px; transform: rotate(-9deg) scale(.88); }.can-green { left: 50%; top: 28px; transform: rotate(11deg) scale(.88); }
  .hero-caption { right: 19px; bottom: 19px; }.hero-ring-one { right: -190px; top: -130px; }.hero-ring-two { left: -170px; bottom: -175px; }
  .category-nav { padding-bottom: 14px; }
  .category-button { min-width: 0; white-space: normal; }
  .product-card { grid-template-columns: 94px minmax(0, 1fr); min-height: 156px; }
  .product-visual { min-height: 156px; padding: 8px; }.product-visual img { height: 140px; }
  .product-info { padding: 14px 12px 12px; }.product-name { font-size: 14px; }.product-detail { font-size: 10px; }
  .popularity-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px; }.popularity-dots { gap: 2px; }.popularity-dot { width: 5px; height: 5px; flex-basis: 5px; }.popularity-value { font-size: 7px; }
  .quantity-control { height: 34px; }.quantity-control button { width: 32px; font-size: 18px; }.quantity-control input { width: 42px; font-size: 13px; }.unit-label { font-size: 10px; }
  .order-panel-inner { padding: 17px; border-radius: 19px; }.order-panel h2 { font-size: 23px; }.order-total { padding: 17px 0 14px; }.order-total strong { font-size: 40px; }
  .copy-button { min-height: 46px; }
  .site-footer { flex-direction: column; gap: 5px; }
}

@media (max-width: 380px) {
  .page-shell { padding: 0 12px; }
  .brand { gap: 9px; }.brand-mark { width: 38px; height: 38px; border-radius: 12px; }.brand strong { font-size: 12px; }.brand small { font-size: 10px; }
  .hero { padding-top: 34px; }.hero-meta { gap: 8px; font-size: 10px; }.hero-meta b { font-size: 14px; }
  .product-card { grid-template-columns: 86px minmax(0, 1fr); }.product-visual { min-height: 150px; }.product-visual img { height: 136px; }
  .product-info { padding-left: 10px; padding-right: 10px; }.product-brand { font-size: 8px; }.product-name { font-size: 13px; }
  .category-button { font-size: 10px; }
}
