/* Zooted wholesale. Matches the look of zootedbrandz.com: white, black, Montserrat, cyan accents. */

:root {
  --top-h: 120px;
  --ink: #111111;
  --ink-soft: #6b6b6b;
  --paper: #ffffff;
  --wash: #f4f4f4;
  --rule: #e4e4e4;
  --cyan: #1fb9e9;
  --cyan-dark: #0f93bd;
  --indica: #7a4fe0;
  --hybrid: #1e9e5a;
  --sativa: #ee7a1a;
  --warn: #c62828;
  --caps: 0.14em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .drawer, .shade, .card img { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }

/* Header */

.strip { background: var(--ink); color: #fff; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: var(--caps); text-transform: uppercase; padding: 9px 12px; }
.strip span { color: var(--cyan); }
.strip em { font-style: normal; }
.top {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--top-h); padding: 0 32px; background: var(--paper); border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; justify-content: center; grid-column: 2; color: inherit; text-decoration: none; }
.brand img, .logo img { height: 86px; width: auto; max-width: 70vw; display: block; }
.logo { display: flex; gap: 2px; }
.logo i { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: #fff; font-style: normal; font-weight: 800; font-size: 14px; border-radius: 3px; }
.account { display: flex; align-items: center; justify-content: flex-end; gap: 18px; grid-column: 3; font-size: 13px; font-weight: 600; }
.cartbtn { grid-column: 4; }
.top { grid-template-columns: 1fr auto 1fr auto; }
.account .who { letter-spacing: 0.02em; }
.account .pending { color: var(--ink-soft); font-weight: 500; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: 13px; }

.cartbtn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--wash); color: var(--ink); }
.cartbtn:hover { background: #e9e9e9; }
.count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--cyan); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 3px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: var(--caps); text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #2a2a2a; }
.btn.go { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn.go:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--wash); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.block { width: 100%; }

/* Page */

.page { max-width: 1280px; margin: 0 auto; padding: 36px 32px 100px; }
/* Credits at checkout */

.credits { margin-top: 14px; }
.credits .field-label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.credit-box { margin-top: 4px; padding: 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--wash); }
.credit-box .field { margin-top: 8px; }
.credit-box .field:first-child { margin-top: 0; }
.credit-box input[type=file] { padding: 8px; background: var(--paper); }
.credit-box .files { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; }
.credit-box .warn { margin: 10px 0 0; font-size: 12px; font-weight: 600; color: var(--warn); }

/* Homepage banners */

.banners { position: relative; margin: 0 0 30px; border-radius: 6px; overflow: hidden; background: var(--wash); aspect-ratio: 3 / 1; }
.banners .slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 32px 48px; background: #111 center / cover no-repeat; opacity: 0; transition: opacity .6s; }
.banners .slide.on { opacity: 1; z-index: 1; }
.banners .slide .txt { max-width: 56%; color: var(--ink); }
.banners .slide.light .txt { color: #fff; }
.banners .slide.light::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%); }
.banners .slide .txt { position: relative; }
.banners .slide h2 { margin: 0; font-size: clamp(22px, 3.6vw, 44px); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.08; }
.banners .slide p { margin: 10px 0 0; font-size: clamp(14px, 1.5vw, 19px); font-weight: 500; opacity: .9; }
.banners .slide .btn { margin-top: 20px; }
.banners .slide.light .btn { background: transparent; border-color: #fff; color: #fff; }
.banners .slide.light .btn:hover { background: #fff; color: var(--ink); }
.banners .dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.banners .dots button { width: 10px; height: 10px; padding: 0; border: 2px solid currentColor; border-radius: 50%; background: transparent; color: var(--ink); opacity: .55; cursor: pointer; }
.banners .dots button[aria-current="true"] { background: currentColor; opacity: 1; }
.banners.light-dots .dots button { color: #fff; }

.hero h1 { margin: 0; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.15; }
.hero p { margin: 8px 0 0; color: var(--ink-soft); font-size: 15px; }

.tabs-wrap { position: sticky; top: var(--top-h); z-index: 20; background: var(--paper); margin: 26px -32px 0; padding: 0 32px; border-bottom: 1px solid var(--rule); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; padding: 14px 14px 12px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--ink-soft); font-size: 11.5px; font-weight: 700; letter-spacing: var(--caps); text-transform: uppercase; text-decoration: none;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--cyan); }

.tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; align-items: center; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid #cfcfcf; border-radius: 3px; background: var(--paper); }
.search input:focus { border-color: var(--ink); outline: 0; }
.search input::placeholder { color: #9a9a9a; }
.types { display: flex; gap: 6px; }
.types button { height: 36px; padding: 0 14px; border: 1px solid #cfcfcf; border-radius: 99px; background: var(--paper); font-size: 12px; font-weight: 600; }
.types button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Lines and cards */

.line { padding-top: 34px; }
.line-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px; }
.line-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.line-head .meta { color: var(--ink-soft); font-size: 13px; }
.line-head .meta b { color: var(--ink); font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card .pic { position: relative; aspect-ratio: 1; background: var(--wash); border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.card:hover .pic img { transform: scale(1.03); }
.card .pic .nopic { color: #c4c4c4; font-weight: 800; font-size: 28px; letter-spacing: 0.1em; }
.card .pic .tag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card .pic .tag.indica { color: var(--indica); } .card .pic .tag.hybrid { color: var(--hybrid); } .card .pic .tag.sativa { color: var(--sativa); }
.card .pic .soldout { position: absolute; inset: auto 0 0; padding: 7px; background: rgba(17,17,17,.78); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: var(--caps); text-transform: uppercase; text-align: center; }
.card.out .pic img { opacity: .5; }
.card h3 { margin: 12px 0 2px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.card .price { font-size: 14px; font-weight: 700; }
.card .price span { color: var(--ink-soft); font-weight: 500; font-size: 12.5px; }
.card .stock { margin-top: 2px; font-size: 12px; color: var(--ink-soft); }
.card .stock.low { color: var(--warn); font-weight: 600; }
.card .act { margin-top: 10px; }
.card .add { width: 100%; }

.step { display: flex; align-items: center; width: 100%; height: 44px; border: 1px solid var(--ink); border-radius: 3px; overflow: hidden; background: var(--paper); }
.step button { flex: 1; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 600; line-height: 1; }
.step button:hover:not(:disabled) { background: var(--wash); }
.step button:disabled { opacity: .3; cursor: default; }
.step input { width: 64px; height: 100%; border: 0; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; border-radius: 0; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step .lbl { font-size: 11px; font-weight: 600; color: var(--ink-soft); padding: 0 10px 0 0; text-transform: uppercase; letter-spacing: 0.06em; }

.empty, .loading { padding: 50px 0; color: var(--ink-soft); text-align: center; }
.foot { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 13px; }
.foot a { color: var(--ink); }

/* Order drawer */

.shade { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100vw);
  background: var(--paper); box-shadow: -10px 0 40px rgba(0,0,0,.15);
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.drawer-head h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: var(--caps); text-transform: uppercase; }
.x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--wash); font-size: 24px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px 24px; }
.order-empty { padding: 30px 0; color: var(--ink-soft); text-align: center; }

.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.items .thumb { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 4px; background: var(--wash); display: grid; place-items: center; overflow: hidden; }
.items .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.items b { font-weight: 700; font-size: 14px; }
.items .sub { grid-column: 2; color: var(--ink-soft); font-size: 12.5px; }
.items .amt { grid-column: 3; grid-row: 1; text-align: right; font-weight: 700; font-size: 14px; }
.items .qty { grid-column: 3; grid-row: 2; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.items .qty button { width: 28px; height: 28px; border: 1px solid #cfcfcf; border-radius: 3px; background: var(--paper); font-size: 16px; line-height: 1; }
.items .qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 13px; }

.totals { margin: 16px 0 4px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--ink-soft); }
.totals div span:last-child { color: var(--ink); font-weight: 600; }
.totals .grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ink); font-size: 18px; color: var(--ink); font-weight: 800; }
.totals .grand span:last-child { font-weight: 800; }

.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 12px; border: 1px solid #cfcfcf; border-radius: 3px; background: var(--paper); }
.field select { height: 44px; background: var(--paper); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 0; }
.field textarea { min-height: 72px; resize: vertical; }
.drawer .btn.block { margin-top: 16px; min-height: 50px; }
.hint { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.error { margin: 14px 0 0; padding: 10px 12px; border-radius: 3px; background: #fdecec; color: var(--warn); font-weight: 600; font-size: 13px; }
.done { text-align: center; padding: 30px 0 10px; }
.done .check { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--cyan); color: #fff; display: grid; place-items: center; font-size: 28px; }
.done h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.done p { margin: 0 0 18px; color: var(--ink-soft); }

/* Mobile order bar */

.bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35;
  display: none; justify-content: space-between; align-items: center;
  min-height: 54px; padding: 0 18px; border: 0; border-radius: 3px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.bar b { font-weight: 800; }

/* Dialogs */

.dlg { width: min(460px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 4px; color: var(--ink); max-height: calc(100vh - 24px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.dlg.wide { width: min(720px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(0,0,0,.5); }
.dlg-in { padding: 26px; }
.dlg h2 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.dlg .lead { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.dlg .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.dlg .actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.dlg .switch { margin: 18px 0 0; font-size: 13px; color: var(--ink-soft); }

.past { border-top: 1px solid var(--rule); padding: 14px 0; }
.past-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-weight: 700; font-size: 14px; align-items: center; }
.past-head span { font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.past ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-soft); }
.chip { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--wash); color: var(--ink); }
.chip.submitted { background: #fff3c4; }
.chip.confirmed, .chip.shipped { background: #d6f1fb; }
.chip.delivered { background: #d8f3e3; }
.chip.cancelled { background: var(--wash); color: var(--ink-soft); }

/* Product page */

.card .pic[data-open] { cursor: pointer; }
.namebtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.namebtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.dlg.wide.product { width: min(920px, calc(100vw - 24px)); }
.pd-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: var(--caps); text-transform: uppercase; }
.pd-top .x { background: rgba(255,255,255,.15); color: #fff; width: 30px; height: 30px; font-size: 20px; }
.pd-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 28px; padding: 26px 26px 8px; }
.pd-pic { background: var(--wash); border-radius: 4px; display: grid; place-items: center; aspect-ratio: 1; align-self: start; }
.pd-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-pic .nopic { color: #c4c4c4; font-weight: 800; font-size: 40px; letter-spacing: 0.1em; }
.pd-body h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.35; font-weight: 700; text-transform: none; letter-spacing: 0; }
.pd-sold { margin: 0; font-size: 13px; color: var(--ink-soft); }
.pd-price { margin: 12px 0 0; font-size: 15px; }
.pd-price b { font-size: 20px; font-weight: 800; }
.pd-price span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.pd-act { margin: 14px 0 4px; }
.pd .stock { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.pd .stock.low { color: var(--warn); font-weight: 600; }
.pd-body h3, .pd-desc h3 { margin: 22px 0 8px; font-size: 14px; font-weight: 700; }
.pd-info { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.pd-info th { text-align: left; font-weight: 500; color: var(--ink-soft); padding: 5px 16px 5px 0; width: 34%; vertical-align: top; }
.pd-info td { padding: 5px 0; font-weight: 600; }
.pd-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pd-tags h3 { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 5px 11px; border-radius: 99px; background: var(--wash); font-size: 12.5px; font-weight: 600; }
.pd-desc { padding: 10px 26px 26px; }
.pd-desc p { margin: 0; font-size: 14px; line-height: 1.65; color: #333; white-space: pre-line; }

/* Small screens */

@media (max-width: 760px) {
  .top { padding: 0 16px; grid-template-columns: 1fr auto 1fr; }
  .brand img { height: 58px; }
  :root { --top-h: 82px; }
  .strip .wide { display: none; }
  .page { padding: 24px 16px 110px; }
  .banners { aspect-ratio: 16 / 9; margin: 0 0 22px; }
  .banners .slide { padding: 18px 18px 30px; align-items: flex-end; }
  .banners .slide .txt { max-width: 100%; padding: 12px 14px; border-radius: 4px; background: rgba(255,255,255,.86); }
  .banners .slide.light .txt { background: rgba(0,0,0,.55); }
  .banners .slide.light::before { display: none; }
  .banners .slide .btn { margin-top: 12px; min-height: 38px; padding: 0 16px; font-size: 11px; }
  .tabs-wrap { margin: 20px -16px 0; padding: 0 16px; top: 53px; }
  .tabs a { padding: 12px 10px 10px; }
  .types { width: 100%; }
  .types button { flex: 1; padding: 0 6px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .card h3 { font-size: 14px; }
  .card .price { font-size: 13px; }
  .btn { padding: 0 14px; }
  .account { gap: 12px; font-size: 12px; }
  .account .who { display: none; }
  .card .price span { display: block; }
  .bar:not([hidden]) { display: flex; }
  .cartbtn { display: none; }
  .dlg .two { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; gap: 16px; padding: 16px 16px 4px; }
  .pd-desc { padding: 6px 16px 20px; }
  .pd-tags { grid-template-columns: 1fr; }
}
