/* ============================================================
   STOREFRONT
   Editorial layout on a strict grid. In a monochrome palette
   the hierarchy has to be carried by space and scale, so the
   rhythm here is deliberate: 120px between major sections,
   32px inside a block, 8px between a label and its value.

   The hero is a sizing tool rather than a photograph, because
   the first question a customer asks is which horsepower fits
   their room, and answering it is more persuasive than a
   picture of a wall unit.
   ============================================================ */

body.site { background: var(--surface); overflow-x: hidden; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(880px, 100% - 48px); margin-inline: auto; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  animation: head-in .6s var(--ease-out) both;
}

@keyframes head-in { from { transform: translateY(-100%); } to { transform: none; } }

.site-head .bar { display: flex; align-items: center; gap: 20px; height: 70px; }

.site-nav { margin-left: auto; display: flex; gap: 2px; }

.site-nav button {
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color .15s var(--ease), background .15s var(--ease);
}

.site-nav button:hover { color: var(--brand-ink); background: var(--brand-bg); }
.site-nav button[aria-current="page"] { color: var(--brand-ink); font-weight: 600; background: var(--brand-bg); }

.head-tools { display: flex; align-items: center; gap: 8px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}

.cart-btn:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cart-btn svg.i { width: 16px; height: 16px; }

.cart-btn .count {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  min-width: 19px; height: 19px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  padding: 0 5px;
  animation: pop .4s var(--spring);
}

@keyframes pop { from { transform: scale(.4); } to { transform: none; } }

.cart-btn .count[hidden] { display: none; }
.nav-toggle { display: none; }

/* ------------------------------------------------------------
   Views and section rhythm
   ------------------------------------------------------------ */
.view { display: none; }
.view.on { display: block; animation: view-in .5s var(--ease-out) both; }

@keyframes view-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.sec { padding: 96px 0; }
.sec.tight { padding-top: 0; }

.sec-head { max-width: 660px; margin-bottom: 44px; }

.sec-head h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -.038em;
  line-height: 1.06;
  margin: 14px 0 16px;
}

.sec-head p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.eyebrow.rule { display: flex; align-items: center; gap: 12px; }
.eyebrow.rule::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--brand-grad); }

/* ------------------------------------------------------------
   Hero
   A soft aurora behind the copy, the sizing tool as a glass
   card on the right, with a floating "cool air" motif.
   ------------------------------------------------------------ */
.hero { padding: 84px 0 0; position: relative; }

.hero-bg {
  position: absolute;
  inset: -90px calc(50% - 50vw) -40px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg .aurora i:nth-child(1) { left: -160px; top: -160px; }
.hero-bg .aurora i:nth-child(2) { right: -120px; top: -40px; }
.hero-bg .aurora i:nth-child(3) { right: 18%; bottom: -260px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
}

.hero-grid > div:first-child > * { animation: ak-rise .8s var(--ease-out) both; }
.hero-grid > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero-grid > div:first-child > :nth-child(2) { animation-delay: .12s; }
.hero-grid > div:first-child > :nth-child(3) { animation-delay: .2s; }
.hero-grid > div:first-child > :nth-child(4) { animation-delay: .28s; }
.hero-grid > div:first-child > :nth-child(5) { animation-delay: .36s; }

.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.05em;
  margin: 20px 0 24px;
}

.hero h1 em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-trust div { display: grid; gap: 5px; }
.hero-trust b { font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.05em; color: var(--brand-ink); }
.hero-trust span { font-size: 11.5px; color: var(--dim); line-height: 1.4; max-width: 16ch; }

/* the sizer, as a glass card that floats */
.sizer {
  position: relative;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--line) 70%, #fff);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .6);
  animation: sizer-in 1s var(--ease-out) .25s both;
}

:root[data-theme="dark"] .sizer { border-color: var(--line-strong); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); }

@keyframes sizer-in {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.sizer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--brand-grad-soft);
  z-index: -1;
}

.sizer h3 { margin: 12px 0 6px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.sizer > p { margin: 0 0 24px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.sizer-read { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sizer-read .sqm { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -.055em; }
.sizer-read .sqm i { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 5px; }
.sizer-read .tag { font-size: 11.5px; color: var(--dim); text-align: right; }

input[type="range"].sizer-range {
  width: 100%;
  height: 24px;
  appearance: none;
  background: none;
  cursor: pointer;
  margin: 0 0 22px;
}

input[type="range"].sizer-range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) var(--pct, 40%), var(--line-strong) var(--pct, 40%));
}

input[type="range"].sizer-range::-moz-range-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) var(--pct, 40%), var(--line-strong) var(--pct, 40%));
}

input[type="range"].sizer-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--brand);
  box-shadow: var(--brand-glow);
  transition: transform .2s var(--spring);
}

input[type="range"].sizer-range:active::-webkit-slider-thumb { transform: scale(1.2); }

input[type="range"].sizer-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand);
}

.sizer-out {
  position: relative;
  background: var(--brand-grad);
  color: #fff;
  border: 0;
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--brand-glow);
}

.sizer-out::after {
  content: "";
  position: absolute;
  right: -30px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  animation: ak-float 5s ease-in-out infinite;
}

.sizer-out .lab-xs { color: rgba(255, 255, 255, .8); }
.sizer-out .hp { font-family: var(--mono); font-size: 40px; font-weight: 500; letter-spacing: -.06em; line-height: 1.05; margin: 6px 0 3px; }
.sizer-out .btu { font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, .85); }

.sizer .btn.primary { background: var(--ink); box-shadow: var(--shadow-sm); }
.sizer .btn.primary:hover { background: var(--ink-2); }
:root[data-theme="dark"] .sizer .btn.primary { background: #fff; color: #0b1220 !important; }
:root[data-theme="dark"] .sizer .btn.primary:hover { background: #e8eeff; color: #0b1220 !important; }

.sizer-note { font-size: 11.5px; color: var(--dim); line-height: 1.6; margin: 14px 0 0; }

/* ------------------------------------------------------------
   Promo strip
   ------------------------------------------------------------ */
.promo-strip {
  border-block: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
  padding: 15px 0;
  margin-top: 84px;
}

.promo-track { display: flex; gap: 48px; width: max-content; animation: promo-roll 40s linear infinite; }
.promo-track span { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.promo-track svg.i { width: 14px; height: 14px; color: var(--brand); }

@keyframes promo-roll { from { transform: none; } to { transform: translateX(-50%); } }
.promo-strip:hover .promo-track { animation-play-state: paused; }

/* ------------------------------------------------------------
   Product grid
   ------------------------------------------------------------ */
.filter-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); gap: 24px; }
#homeGrid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { #homeGrid { grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); } }

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.pcard:hover { border-color: var(--brand-line); transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard:hover .punit svg { transform: translateY(-4px) scale(1.03); }

.punit {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
  border-bottom: 1px solid var(--line);
  padding: 26px;
}

.punit svg { width: 100%; height: auto; transition: transform .5s var(--ease-out); }
.punit::after { content: ""; position: absolute; inset: auto 15% 10%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, var(--brand-soft), transparent); filter: blur(4px); }
.pbadge { position: absolute; top: 12px; left: 12px; }

.pcard-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body .pbrand { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.pcard-body h3 { margin: 9px 0 5px; font-size: 17px; font-weight: 700; letter-spacing: -.028em; line-height: 1.25; }
.pcard-body .ptype { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }

.hp-row { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 18px; }

.hp-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hp-tag.fit { background: var(--brand-grad); border-color: transparent; color: #fff; }

.price-block { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.price-block .cash { display: flex; align-items: baseline; gap: 8px; }
.price-block .cash b { font-family: var(--mono); font-size: 23px; font-weight: 500; letter-spacing: -.05em; color: var(--ink); }
.price-block .cash span { font-size: 11px; color: var(--dim); }
.price-block .terms { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.pcard-act { margin-top: 16px; }
.pcard-act .btn { width: 100%; }

/* ------------------------------------------------------------
   Product detail
   ------------------------------------------------------------ */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 12px 0 96px; }

.pd-media {
  position: sticky;
  top: 102px;
  align-self: start;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px;
  display: grid;
  place-items: center;
}

.pd-media svg { width: 100%; max-width: 400px; animation: ak-float 6s ease-in-out infinite; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 32px 0 0;
}

.back-link:hover { color: var(--brand); }

.pd h1 { font-size: clamp(30px, 3.8vw, 40px); font-weight: 700; letter-spacing: -.042em; line-height: 1.06; margin: 10px 0 14px; }
.pd .pd-blurb { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 32px; max-width: 46ch; }

.pd-lab { font-size: 12px; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
.pd-group { margin-bottom: 26px; }

.total-box {
  background: var(--brand-grad-soft);
  border-color: var(--brand-line) !important;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  margin-bottom: 20px;
}

.total-box .big { font-family: var(--mono); font-size: clamp(30px, 4.2vw, 40px); font-weight: 500; letter-spacing: -.055em; line-height: 1.1; margin: 7px 0 0; color: var(--brand-ink); }
.total-box .mo { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 7px; }
.total-box .save { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; padding-top: 12px; border-top: 1px solid var(--line); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.qty button { width: 38px; height: 40px; display: grid; place-items: center; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.qty button:hover { background: var(--brand-bg); color: var(--brand); }
.qty button svg.i { width: 15px; height: 15px; }
.qty output { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 15px; font-weight: 500; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty.mini button { width: 30px; height: 30px; }
.qty.mini output { min-width: 32px; font-size: 12.5px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--muted); width: 44%; }
.spec-table td:last-child { font-family: var(--mono); font-size: 12.5px; text-align: right; }

.feat-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.feat-list svg.i { width: 15px; height: 15px; color: var(--ok); margin-top: 2px; }

.pd-block { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 32px; }
.pd-block h4 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }

/* ------------------------------------------------------------
   Why us
   ------------------------------------------------------------ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; }

.why { background: var(--surface); padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s var(--ease); }
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.why .n { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--brand); font-weight: 600; }
.why svg.i { width: 44px; height: 44px; padding: 11px; margin: 18px 0 16px; stroke-width: 1.6; border-radius: 14px; background: var(--brand-bg); color: var(--brand); border: 1px solid var(--brand-line); transition: transform .4s var(--spring); }
.why:hover svg.i { transform: rotate(-6deg) scale(1.08); }
.why h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; line-height: 1.35; }
.why p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-xs); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s var(--ease); }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.svc-top h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.svc-top .sub { font-size: 12px; color: var(--dim); }
.svc-price { text-align: right; flex: none; }
.svc-price b { font-family: var(--mono); font-size: 21px; font-weight: 500; letter-spacing: -.045em; display: block; color: var(--brand-ink); }
.svc-price span { font-size: 10.5px; color: var(--dim); }
.svc > p { margin: 0 0 20px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.inc-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.inc-list li { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.inc-list svg.i { width: 13px; height: 13px; color: var(--ok); }
.svc .btn { margin-top: auto; }

/* ------------------------------------------------------------
   Reviews
   ------------------------------------------------------------ */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.rev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-xs); position: relative; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.rev:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rev::before { content: "\201C"; position: absolute; right: 22px; top: 8px; font-size: 72px; line-height: 1; font-family: Georgia, serif; color: var(--brand-line); }
.rev .stars { display: flex; gap: 2px; margin-bottom: 14px; color: #f5a524; }
.rev .stars svg.i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.rev p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; }
.rev .who { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11.5px; color: var(--dim); }

/* ------------------------------------------------------------
   Info cards, about, contact
   ------------------------------------------------------------ */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { margin: 0 0 20px; font-size: 17px; font-weight: 700; letter-spacing: -.025em; }

.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-bg); border: 1px solid var(--brand-line); color: var(--brand); flex: none; }
.info-row .ic svg.i { width: 15px; height: 15px; }
.info-row .v { font-size: 14px; font-weight: 600; margin-top: 3px; line-height: 1.45; }

.prose { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose p { margin: 0 0 22px; }
.prose strong { color: var(--ink); font-weight: 600; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.panel > h2 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.panel > .sub { margin: 7px 0 26px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* ------------------------------------------------------------
   Cart drawer
   ------------------------------------------------------------ */
.scrim {
  position: fixed; inset: 0;
  background: rgba(12, 12, 15, .38);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .26s var(--ease);
}

:root[data-theme="dark"] .scrim { background: rgba(0, 0, 0, .6); }
.scrim.on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 100;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  box-shadow: var(--shadow-lg);
}

.drawer.on { transform: none; }

.drawer-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head .row { display: flex; align-items: center; gap: 12px; }
.drawer-head h2 { font-size: 19px; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.drawer-head h2 svg.i { width: 19px; height: 19px; }
.drawer-head p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }

.citem {
  display: grid; grid-template-columns: 66px 1fr; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.citem:last-child { border-bottom: 0; }

.citem-thumb { aspect-ratio: 1; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); padding: 8px; }
.citem .cb { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.citem h4 { margin: 5px 0 3px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.citem .cs { font-size: 12px; color: var(--muted); }
.citem-top { display: flex; gap: 10px; align-items: flex-start; }
.citem-top .ibtn { margin-left: auto; }

.citem .term-pill {
  display: inline-block; margin-top: 10px;
  font-family: var(--mono); font-size: 10px;
  padding: 3px 8px; border-radius: var(--r-xs);
  background: var(--surface-3); border: 1px solid var(--line); color: var(--muted);
}

.citem-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.citem-foot .line { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: -.04em; }

.drawer-foot { flex: none; padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface-2); }
.due .v { color: var(--brand-ink); }
.due { margin-bottom: 18px; }
.due .v { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -.055em; margin: 6px 0 7px; }
.due .n { font-size: 11.5px; color: var(--muted); line-height: 1.55; }

.link-btn { display: block; width: 100%; color: var(--muted); font-size: 13px; font-weight: 600; padding: 12px 0 2px; cursor: pointer; }
.link-btn:hover { color: var(--danger); }

/* ------------------------------------------------------------
   Checkout
   ------------------------------------------------------------ */
.co { padding: 40px 0 96px; }

.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 38px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.step .n {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 11px;
  background: var(--surface);
}
.step.on { color: var(--ink); }
.step.on .n { border-color: transparent; background: var(--brand-grad); color: #fff; box-shadow: var(--brand-glow); }
.step.done { color: var(--ok); }
.step.done .n { border-color: var(--ok-line); color: var(--ok); background: var(--ok-bg); }
.step.done .n svg.i { width: 13px; height: 13px; }
.steps .sep { flex: 1; min-width: 20px; height: 1px; background: var(--line-strong); }

.co-grid { display: grid; grid-template-columns: 1fr 372px; gap: 32px; align-items: start; }

.mapbox.checkout { aspect-ratio: 4 / 3; }

.map-hint {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.55;
}

.map-hint svg.i { width: 15px; height: 15px; color: var(--dim); margin-top: 1px; }

.co-summary { position: sticky; top: 102px; display: grid; gap: 18px; }
.sum-line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.sum-line:last-of-type { border-bottom: 0; }
.sum-line .l { color: var(--muted); }
.sum-line .r { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.sum-total .l { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-family: var(--mono); }
.sum-total .r { font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.05em; color: var(--brand-ink); }

.co-act { display: flex; gap: 10px; margin-top: 28px; }

/* order placed */
.done-card { max-width: 640px; margin: 60px auto 110px; text-align: center; }
.done-mark { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok); animation: done-pop .7s var(--spring) both; box-shadow: 0 0 0 10px color-mix(in srgb, var(--ok-bg) 60%, transparent); }
@keyframes done-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.done-mark svg.i { width: 28px; height: 28px; }
.done-card h1 { font-size: 34px; font-weight: 700; letter-spacing: -.042em; margin: 0 0 14px; }
.done-card > p { color: var(--muted); font-size: 15.5px; line-height: 1.68; margin: 0 auto 32px; max-width: 46ch; }

.ref-box { display: inline-block; background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 16px 30px; margin-bottom: 36px; }
.ref-box .v { font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: .01em; margin-top: 6px; }

.next-list { text-align: left; display: grid; gap: 12px; margin-bottom: 34px; }
.next-item { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.next-item .n { font-family: var(--mono); font-size: 11px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-grad); color: #fff; flex: none; }
.next-item h4 { margin: 2px 0 5px; font-size: 14px; font-weight: 700; }
.next-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ------------------------------------------------------------
   Chat
   ------------------------------------------------------------ */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-grad); color: #fff;
  cursor: pointer; z-index: 80;
  box-shadow: var(--brand-glow);
  transition: transform .3s var(--spring);
  animation: fab-in .6s var(--spring) .8s both;
}

.chat-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: mk-ring 2.6s ease-out infinite; }
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes fab-in { from { transform: scale(0); } to { transform: none; } }
.chat-fab svg.i { width: 22px; height: 22px; }

.chat-panel {
  position: fixed; right: 24px; bottom: 88px;
  width: min(356px, calc(100vw - 48px));
  height: min(480px, calc(100vh - 140px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  z-index: 81;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px) scale(.98);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.chat-panel.on { opacity: 1; transform: none; pointer-events: auto; }

.chat-top { padding: 15px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; flex: none; background: var(--surface-2); }
.chat-top b { font-size: 14px; letter-spacing: -.02em; }
.chat-top .st { font-size: 11px; color: var(--ok); display: flex; align-items: center; gap: 5px; margin-top: 2px; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 13px; font-size: 13.5px; line-height: 1.55; }
.msg.bot { background: var(--surface-3); justify-self: start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--brand-grad); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg { animation: ak-rise .35s var(--ease-out) both; }

.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; }
.chat-quick button { font-size: 11.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.chat-quick button:hover { color: var(--brand-ink); border-color: var(--brand-line); background: var(--brand-bg); }

.chat-in { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); flex: none; }
.chat-in input { flex: 1; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; }
.chat-in button { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--brand-grad); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; box-shadow: var(--brand-glow); }
.chat-in button svg.i { width: 16px; height: 16px; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-foot { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--bg)); padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; margin-bottom: 48px; }
.foot-grid h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid li { font-size: 13px; color: var(--muted); }
.foot-grid button, .foot-grid a { color: inherit; font: inherit; cursor: pointer; text-align: left; text-decoration: none; }
.foot-grid button:hover, .foot-grid a:hover { color: var(--brand); }
.foot-about p { margin: 18px 0 0; font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 34ch; }

.foot-base { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .pd-media { position: static; padding: 36px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sec { padding: 72px 0; }
}

@media (max-width: 720px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .sec { padding: 56px 0; }
  .hero { padding: 48px 0 0; }

  .nav-toggle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer; }
  .nav-toggle svg.i { width: 18px; height: 18px; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px; display: none; box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }
  .site-nav button { padding: 13px; text-align: left; border-radius: var(--r-sm); }

  .cart-btn span.t { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .inc-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-trust { gap: 24px; }
  .panel { padding: 22px; }
}

/* use my location, above the checkout map */
.map-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.map-tools .hint { font-size: 11.5px; color: var(--dim); }
.map-tools .btn[disabled] { opacity: .7; }

.book-link { border-radius: 999px; padding: 8px 14px; }
@media (max-width: 720px) { .book-link { display: none; } }
