/* =====================================================================
   Toque Shop styles. Change the look here (Marketing Studio can edit this file).
   Brand tokens first; everything below uses them.
   ===================================================================== */
:root {
  --forest: #0E3B2C; --forest-2: #08261C; --forest-3: #1F5A3D;
  --cream: #F7F1E5; --cream-2: #EEE4CF; --paper: #FFFCF6;
  --ink: #10201A; --muted: #55645C;
  --saffron: #F4B740; --tomato: #E5532D; --mint: #2E9E62;
  --line: rgba(16, 32, 26, .12);
  --on: #F3F8F4;
  --display: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 24px; --radius-sm: 16px;
  --shadow: 0 30px 60px -34px rgba(14, 59, 44, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--display); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.kicker { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.badge { display: inline-block; font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: var(--saffron); color: var(--forest-2); vertical-align: 2px; white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 0; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, opacity .15s; white-space: nowrap; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-saffron { background: var(--saffron); color: var(--forest-2); box-shadow: 0 8px 24px -8px rgba(244, 183, 64, .7); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover:not(:disabled) { background: var(--forest-3); }
.btn-ghost { background: transparent; border: 1.5px solid var(--forest); color: var(--forest); white-space: normal; }
.btn-ghost:hover { background: rgba(14, 59, 44, .06); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 18px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.linkbtn { background: none; border: 0; padding: 0 0 1px; font-weight: 600; font-size: 14px; color: var(--forest-3); border-bottom: 2px solid var(--saffron); display: inline-flex; align-items: center; gap: 6px; }
.linkbtn.muted { color: var(--muted); border-color: var(--line); }
.linkbtn.danger { color: var(--tomato); border-color: rgba(229, 83, 45, .3); }
.linkbtn.light { color: var(--cream); border-color: rgba(244, 183, 64, .6); }
.linkbtn svg { width: 15px; height: 15px; }
.busy { position: relative; color: transparent !important; pointer-events: none; }
.busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--forest-2); border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* nav */
.announce { background: var(--forest-2); color: var(--cream); text-align: center; font-size: 14px; padding: 10px 16px; }
.announce b { color: var(--saffron); margin-left: 10px; }
.topnav { position: sticky; top: 0; z-index: 50; background: rgba(238, 240, 237, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-img { height: 62px; width: auto; display: block; }
.navright { display: flex; align-items: center; gap: 22px; }
.back { font-weight: 600; font-size: 15px; color: var(--forest-3); border-bottom: 2px solid var(--saffron); }
.login { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--forest); white-space: nowrap; }
.login svg { width: 16px; height: 16px; }
.cartlink { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--cream); }
.cartlink svg { width: 20px; height: 20px; }
.cartcount { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--saffron); color: var(--forest-2); font: 700 11px/20px var(--mono); text-align: center; }

/* intro */
.intro { padding: 52px 0 28px; }
.intro.slim { padding: 34px 0 20px; }
.intro .kicker { color: var(--forest-3); display: inline-flex; align-items: center; gap: 10px; }
.intro .kicker::before { content: ""; width: 28px; height: 2px; background: var(--saffron); }
.intro h1 { font-size: clamp(40px, 6vw, 72px); margin: 14px 0 12px; color: var(--forest); }
.intro h1 span { color: var(--forest-3); }
.intro.slim h1 span { color: var(--saffron); }
.intro p { font-size: 18px; color: var(--muted); max-width: 640px; }
.back-cart { font-weight: 600; font-size: 14px; color: var(--forest-3); }
.steps { list-style: none; display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.steps li { display: flex; border-radius: 999px; background: var(--cream-2); color: var(--muted); font-weight: 600; font-size: 14px; transition: background .15s, transform .15s; }
.steps li > * { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border: 0; background: none; color: inherit; font: inherit; border-radius: 999px; text-decoration: none; }
.steps li > button:not(:disabled), .steps li > a { cursor: pointer; }
.steps li:has(> button:not(:disabled)):hover, .steps li:has(> a):hover { background: var(--saffron); color: var(--forest-2); transform: translateY(-1px); }
.steps li > button:disabled { cursor: default; }
.steps li:has(> button:disabled):not(.on) { opacity: .55; }
.steps li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; font: 700 12px var(--mono); }
.steps li.on { background: var(--forest); color: var(--cream); }
.steps li.on b { background: var(--saffron); color: var(--forest-2); }
.steps li.done b { background: var(--forest-3); color: var(--cream); }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; align-items: start; padding-bottom: 90px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.panel h2 { font-size: 30px; }
.alert { background: #FDECE7; border: 1px solid rgba(229, 83, 45, .35); color: #8E2B12; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; font-weight: 600; font-size: 14.5px; }

/* questionnaire */
.quiz { padding: 28px 32px 30px; min-height: 520px; display: flex; flex-direction: column; overflow: hidden; }
.qtop { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.qprog { flex: 1; height: 6px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.qprog span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest-3), var(--saffron)); border-radius: 99px; transition: width .4s ease; }
.qcount { font: 700 12px var(--mono); color: var(--muted); }
.qbody { flex: 1; }
.qbody.in-right { animation: inR .35s ease; }
.qbody.in-left { animation: inL .35s ease; }
@keyframes inR { from { opacity: 0; transform: translateX(24px); } }
@keyframes inL { from { opacity: 0; transform: translateX(-24px); } }
.quiz h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--forest); max-width: 680px; }
.qhint { color: var(--muted); font-size: 17px; margin: 10px 0 26px; max-width: 620px; }
.qnote { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--forest-3); background: var(--on); border-radius: 12px; padding: 10px 12px; margin-top: 12px; }
.qnote svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.qtap { font-size: 14px; color: var(--muted); }
.qback { text-align: right; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--forest-3); }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opts-img { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.opt:hover { border-color: var(--forest-3); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(14, 59, 44, .6); }
.opt.on { border-color: var(--forest); background: var(--on); box-shadow: inset 0 0 0 1px var(--forest); }
.opt-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--cream-2); color: var(--forest); display: grid; place-items: center; }
.opt-ico svg { width: 28px; height: 28px; }
.opt.on .opt-ico { background: var(--forest); color: var(--saffron); }
.opt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-txt b { font-size: 17px; line-height: 1.2; }
.opt-txt small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.opt-price { font-style: normal; font: 700 13px var(--mono); color: var(--forest-3); margin-top: 6px; }
.opt-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: var(--saffron); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .15s; }
.opt-check svg { width: 14px; height: 14px; }
.opt.on .opt-check { opacity: 1; transform: none; }
.opts-img .opt { flex-direction: column; align-items: stretch; padding: 12px 12px 16px; }
.opt-img { aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(160deg, #fff, var(--cream)); display: grid; place-items: center; padding: 12px; overflow: hidden; }
.opt-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .25s; }
.opt:hover .opt-img img { transform: scale(1.04); }
.opts-yn .opt { padding: 22px; }

.count { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.count-img { height: 170px; width: auto; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(14, 59, 44, .18)); }
.count-ico { width: 80px; height: 80px; border-radius: 22px; background: var(--cream-2); color: var(--forest); display: grid; place-items: center; }
.count-ico svg { width: 40px; height: 40px; }
.bigstep { display: flex; align-items: center; gap: 22px; }
.bigstep button { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--forest); background: #fff; font-size: 28px; font-weight: 700; color: var(--forest); transition: .15s; }
.bigstep button:hover:not(:disabled) { background: var(--forest); color: var(--cream); }
.bigstep button:disabled { opacity: .3; cursor: default; }
.bigstep output { min-width: 90px; text-align: center; font-size: 72px; font-weight: 800; letter-spacing: -.04em; color: var(--forest); line-height: 1; }
.count-unit { font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ksub + .ksub { margin-top: 26px; }
.ksub-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ksub-h b { font-size: 18px; }

/* steppers */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; flex: none; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; font-weight: 700; color: var(--forest); }
.qty button:hover:not(:disabled) { background: var(--cream-2); }
.qty button:disabled { color: #c2c7c4; cursor: default; }
.qty output { min-width: 28px; text-align: center; font-weight: 800; }

/* add-ons */
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); text-align: left; transition: border-color .15s, background .15s; }
.addon:hover { border-color: var(--forest-3); }
.addon.on { border-color: var(--forest); background: var(--on); }
.box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--forest-3); display: grid; place-items: center; color: transparent; margin-top: 2px; }
.box svg { width: 14px; height: 14px; }
.addon.on .box { background: var(--forest); border-color: var(--forest); color: var(--saffron); }
.addon-txt { flex: 1; min-width: 0; }
.addon-txt b { display: block; font-size: 15.5px; line-height: 1.25; }
.addon-txt small { color: var(--muted); font-size: 13.5px; }
.addon-price { font-style: normal; font: 700 13px var(--mono); color: var(--forest-3); white-space: nowrap; }
.addon-price small { font-weight: 500; color: var(--muted); }

/* cart */
.cart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cart-head .kicker { color: var(--forest-3); }
.cart-head h2 { margin-top: 4px; color: var(--forest); }
.cart-tools { display: flex; gap: 18px; }
.loctabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: thin; }
.loctab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14px; white-space: nowrap; }
.loctab svg { width: 16px; height: 16px; color: var(--forest-3); }
.loctab em { font-style: normal; font: 700 11.5px var(--mono); color: var(--muted); }
.loctab.on { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.loctab.on svg { color: var(--saffron); }
.loctab.on em { color: rgba(247, 241, 229, .7); }
.loctab.add { border-style: dashed; color: var(--forest-3); }
.locbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.locname { display: flex; flex-direction: column; gap: 4px; flex: 1; max-width: 360px; }
.locname span { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.locname input, .co-form input, .co-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
.locname input:focus, .co-form input:focus, .co-form textarea:focus { outline: none; border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(31, 90, 61, .15); }
.locacts { display: flex; gap: 16px; flex-wrap: wrap; }

.group { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.group-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.group-h h3 { font-size: 22px; }
.group-h span { font: 700 13px var(--mono); color: var(--forest-3); }
.group-note { font-size: 14px; color: var(--muted); margin: -4px 0 12px; }
.empty { padding: 18px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }

.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 92px 36px; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); margin-bottom: 10px; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }
.thumb { width: 72px; height: 72px; border-radius: 12px; border: 0; background: linear-gradient(160deg, #fff, var(--cream)); padding: 6px; display: grid; place-items: center; }
.thumb { overflow: hidden; }
.thumb img, .tb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.line-txt { display: flex; flex-direction: column; min-width: 0; }
.line-name { background: none; border: 0; padding: 0; text-align: left; font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.line-name:hover { color: var(--forest-3); text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 3px; }
.line-txt small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.line .each { font: 500 12px var(--mono); color: var(--muted); }
.line-txt .each { margin-top: 3px; }
.line-total { font: 700 15px var(--mono); text-align: right; white-space: nowrap; }
.rm { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.rm:hover { background: #FDECE7; color: var(--tomato); }
.rm svg { width: 18px; height: 18px; }
.line.lic { grid-template-columns: 44px minmax(0, 1fr) auto auto 92px; background: #fff; }
.line.lic .qty { grid-column: 3 / 6; justify-self: end; }
.lic-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2); color: var(--forest); display: grid; place-items: center; }
.lic-ico svg { width: 22px; height: 22px; }
.line.lic b { font-size: 15.5px; }
.lic-q { font: 700 14px var(--mono); color: var(--forest-3); }

.upsell { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: #FFF7E4; border: 1px solid rgba(244, 183, 64, .6); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; font-size: 14.5px; }
.upsell span { display: flex; gap: 8px; align-items: flex-start; }
.upsell svg { width: 18px; height: 18px; flex: none; color: var(--forest-3); margin-top: 1px; }
.addhw { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: var(--radius-sm); border: 1.5px dashed var(--forest-3); background: none; font-weight: 700; color: var(--forest-3); transition: background .15s; }
.addhw:hover { background: var(--on); }
.addhw svg { width: 18px; height: 18px; }

.own { margin: 12px 0 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; background: #fff; }
.own summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; color: var(--forest-3); }
.own summary::-webkit-details-marker { display: none; }
.own summary svg { width: 20px; height: 20px; }
.own-body { padding-bottom: 14px; }
.ownrow { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px dashed var(--line); font-weight: 600; font-size: 15px; }
.sub-h { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }

/* catalog */
.catalog { margin-top: 18px; padding: 20px; border-radius: var(--radius); background: var(--cream); animation: pop .3s ease; }
.cat-h { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--forest-3); margin: 6px 0 10px; }
.cat-h:not(:first-child) { margin-top: 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pcard { background: #fff; border-radius: var(--radius-sm); border: 1.5px solid transparent; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard.in { border-color: var(--forest-3); }
.pcard-img { position: relative; border: 0; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff, var(--paper)); padding: 14px; display: grid; place-items: center; }
.pcard-img img { max-height: 100%; width: auto; object-fit: contain; }
.pcard-img .badge { position: absolute; top: 10px; left: 10px; }
.pcard-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pcard-b b { font-size: 15px; line-height: 1.25; }
.pcard-b small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.pcard-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.pcard-f em { font-style: normal; font: 700 14px var(--mono); color: var(--forest); }

/* summary card */
.summary { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto; border-radius: var(--radius); scrollbar-width: none; }
.summary::-webkit-scrollbar { display: none; }
.lines-q .ln:not(.tot) { display: none; }
.lines-q { margin-top: 14px; }
.sumcard { background: var(--forest-2); color: var(--cream); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.sumcard .kicker { color: var(--saffron); }
.big { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 2px; }
.big b { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big b.pulse { color: var(--saffron); }
.big span { color: rgba(247, 241, 229, .65); font-weight: 600; }
.sm { color: rgba(247, 241, 229, .65); font-size: 14px; }
.sm.xs { font-size: 12px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.tb { overflow: visible; position: relative; width: 52px; height: 52px; border-radius: 12px; background: var(--cream); padding: 5px; display: grid; place-items: center; animation: pop .25s ease; }
.tb img { max-height: 100%; object-fit: contain; }
.tb i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--saffron); color: var(--forest-2); font: 700 11px/20px var(--mono); font-style: normal; text-align: center; }
.tb.more { font: 700 13px var(--mono); color: var(--forest); }
.lines { margin: 18px 0 6px; border-top: 1px solid rgba(247, 241, 229, .14); }
.ln { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(247, 241, 229, .14); font-size: 14px; }
.ln span:last-child { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.ln small { font-weight: 500; opacity: .7; }
.ln.hdr { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); border-bottom: 0; padding-top: 14px; }
.ln.tot { font-weight: 800; font-size: 15px; border-bottom: 0; }
.ln.tot span:last-child { color: var(--saffron); }
.today { margin-top: 14px; background: rgba(247, 241, 229, .08); border-radius: var(--radius-sm); padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.today b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; background: var(--saffron); color: var(--forest-2); border-radius: 999px; padding: 16px; font-weight: 800; font-size: 16px; border: 0; width: 100%; transition: transform .15s; }
.cta:hover:not(:disabled) { transform: translateY(-2px); }
.cta:disabled { opacity: .5; cursor: not-allowed; }
.cta:hover .arrow { transform: translateX(3px); }
.subcta { display: flex; justify-content: center; margin-top: 14px; }
.fine { font-size: 12px; color: rgba(247, 241, 229, .6); margin-top: 14px; text-align: center; }
.fine a { color: var(--saffron); }

/* mobile bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--forest-2); color: var(--cream); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .35); }
.mbar b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: block; line-height: 1.1; }
.mbar b small { font-size: 13px; opacity: .7; }
.mbar span { font: 600 12px var(--mono); opacity: .75; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(8, 38, 28, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fadein .2s ease; }
.modal[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
.modal-card { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: var(--radius); padding: 28px; animation: pop .25s ease; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream-2); font-size: 24px; line-height: 1; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.mimg { background: linear-gradient(160deg, #fff, var(--cream)); border-radius: var(--radius-sm); padding: 24px; aspect-ratio: 1; display: grid; place-items: center; }
.mimg img { max-height: 100%; object-fit: contain; }
.mtxt h3 { font-size: 32px; color: var(--forest); margin: 8px 0 6px; }
.mprice { font: 700 20px var(--mono); color: var(--forest-3); margin-bottom: 12px; }
.mprice small { font-size: 12px; color: var(--muted); }
.mtxt p { color: var(--muted); margin-bottom: 16px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.ticks li::before { content: "\2713"; width: 24px; height: 24px; border-radius: 50%; background: var(--saffron); color: var(--forest-2); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.mnote { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14.5px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); transition: .25s ease; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* checkout */
.co-form { padding: 32px; }
.co-sec + .co-sec { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.co-sec h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--forest); }
.co-sec h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--saffron); display: grid; place-items: center; font: 700 13px var(--mono); }
.co-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.co-form label .muted { font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.cj-field { height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); overflow: hidden; }
.cj-field iframe { width: 100% !important; height: 48px !important; }
.cj-error { color: var(--tomato); font-weight: 600; font-size: 14px; min-height: 18px; }
.secure { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.secure svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--forest-3); }
.testpay { background: #FFF7E4; border: 1px dashed var(--saffron); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 16px; }
.co-form label.agree { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; font-size: 14.5px; line-height: 1.45; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.agree input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--forest); }
.agree a { color: var(--forest-3); text-decoration: underline; }
.shake { animation: shake .4s; border-color: var(--tomato) !important; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#payBtn .spin { display: none; }

/* receipt */
.receipt { max-width: 760px; padding: 48px 0 90px; }
.receipt .panel h1 { font-size: clamp(32px, 5vw, 52px); color: var(--forest); margin: 10px 0; }
.receipt .kicker { color: var(--forest-3); }
.okmark { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--saffron); color: var(--forest-2); display: grid; place-items: center; font-size: 34px; font-weight: 800; animation: pop .4s ease; }
.r-loc { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--forest-3); margin: 18px 0 6px; }
.r-loc:first-child { margin-top: 0; }
.r-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.r-line b { font-family: var(--mono); white-space: nowrap; }
.r-tot { margin-top: 16px; display: grid; gap: 6px; }
.r-tot div { display: flex; justify-content: space-between; }
.r-tot b { font-family: var(--mono); }
.r-tot .grand { font-size: 20px; font-weight: 800; padding-top: 10px; border-top: 2px solid var(--forest); margin-top: 6px; }

/* footer */
.foot { background: var(--forest-2); color: rgba(247, 241, 229, .75); padding: 50px 0 30px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-help small { display: block; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 4px; }
.foot-help a { color: var(--cream); font-weight: 600; }
.foot-help a:hover { color: var(--saffron); }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(247, 241, 229, .12); margin-top: 30px; padding-top: 20px; font-size: 13px; }

/* responsive */
@media (max-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .shop-page .mbar:not([hidden]) { display: flex; }
  .shop-page.checkout-page .mbar { display: none !important; }
  .shop-page { padding-bottom: 76px; }
  .summary { max-height: none; overflow: visible; }
  .toast { bottom: 96px; }
}
@media (max-width: 680px) {
  .panel, .quiz, .co-form { padding: 22px 16px; }
  .opts, .opts-2, .addons, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .opts-img { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-img { aspect-ratio: 1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 label:first-child { grid-column: 1 / -1; }
  .line { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px 12px; }
  .thumb { width: 60px; height: 60px; grid-row: span 2; }
  .line .qty { grid-column: 2; justify-self: start; }
  .line-total { grid-column: 3; grid-row: 2; }
  .rm { grid-column: 3; grid-row: 1; justify-self: end; }
  .line-total { font-size: 14px; }
  .line.lic { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .line.lic .each { display: none; }
  .line.lic .line-total { grid-column: 3; grid-row: 1; }
  .line.lic .lic-q { grid-column: 2; grid-row: 2; }
  .line.lic .qty { grid-column: 2 / 4; }
  .mgrid { grid-template-columns: 1fr; }
  .mimg { aspect-ratio: 4 / 3; }
  .logo-img { height: 50px; }
  .back, .login { display: none; }
  .bigstep output { font-size: 60px; min-width: 70px; }
  .count-img { height: 130px; }
  .quiz { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------------
   Catalog view (traditional store) and the Catalog button
   --------------------------------------------------------------------- */
.catbtn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--forest); background: var(--saffron); color: var(--forest-2); font-weight: 800; font-size: 16px; letter-spacing: -.01em; box-shadow: 0 8px 22px -10px rgba(244, 183, 64, .8); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.catbtn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(244, 183, 64, .9); }
.catbtn svg { width: 18px; height: 18px; }
.qtop .catbtn { margin-left: 6px; }
.cart-tools { align-items: center; flex-wrap: wrap; }

.catbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.cattabs { display: flex; gap: 6px; padding: 5px; background: var(--cream-2); border-radius: 999px; overflow-x: auto; }
.cattab { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.cattab em { font-style: normal; font: 700 11px var(--mono); opacity: .7; margin-left: 4px; }
.cattab.on { background: var(--forest); color: var(--cream); }
.catsearch { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); flex: 1; max-width: 300px; min-width: 200px; }
.catsearch svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.catsearch input { border: 0; background: none; font: inherit; font-size: 15px; padding: 11px 0; width: 100%; color: var(--ink); outline: none; }
.catsearch:focus-within { border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(31, 90, 61, .15); }
.catloc { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.catloc select { font: inherit; font-weight: 700; color: var(--ink); padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); }
.catsec { margin-top: 26px; }
.catsec-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.catsec-h h3 { font-size: 24px; color: var(--forest); }
.catsec-h p { color: var(--muted); font-size: 14.5px; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.ccard { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard.in { border-color: var(--forest-3); box-shadow: inset 0 0 0 1px var(--forest-3); }
.ccard-img { position: relative; border: 0; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff, var(--cream)); padding: 16px; display: grid; place-items: center; overflow: hidden; }
.ccard-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s; }
.ccard:hover .ccard-img img { transform: scale(1.04); }
.ccard-img .badge { position: absolute; top: 10px; left: 10px; }
.ccard.soft .ccard-img { aspect-ratio: auto; height: 96px; background: linear-gradient(160deg, var(--on), var(--cream)); }
.soft-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--forest); color: var(--saffron); display: grid; place-items: center; }
.soft-ico svg { width: 28px; height: 28px; }
.soft-ico.big { width: 120px; height: 120px; border-radius: 30px; }
.soft-ico.big svg { width: 60px; height: 60px; }
.ccard-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ccard-name { background: none; border: 0; padding: 0; text-align: left; font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.ccard-name:hover { color: var(--forest-3); }
.ccard-b small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.ccard-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.ccard-f em { font-style: normal; font: 700 15px var(--mono); color: var(--forest); }
.ccard-f em small { font-size: 11px; color: var(--muted); font-weight: 500; }
.btn-added { background: var(--on); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest-3); }
.btn-added svg { width: 15px; height: 15px; }
.auto { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--forest-3); }
.auto svg { width: 14px; height: 14px; }
@media (max-width: 680px) {
  .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catsearch { max-width: none; }
  .qtop { flex-wrap: wrap; }
  .qtop .catbtn { margin-left: auto; padding: 9px 16px; font-size: 15px; }
  .ccard-f .btn-sm { width: 100%; }
}
