/* =========================================================
   Konduit — page styles (home, explore, search, product,
   profile, order tracking, info)
   ========================================================= */

/* ---------- Mobile home header ---------- */
.m-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 6px; }
.loc-pill { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 5px 13px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: #fff; text-align: left; }
.lp-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(111, 240, 164, .14); color: var(--mint); font-size: 17px; }
.lp-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.lp-text small { font: 500 9.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lp-text strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-pill > i:last-child { color: var(--muted); font-size: 12px; }
.m-top-actions { display: flex; gap: 8px; }
.m-hello { padding: 10px 0 4px; }
.m-hello h1 { font-size: 31px; line-height: 1.04; margin: 0; }
.m-hello p { color: var(--muted); margin: 6px 0 0; }
.m-search { position: sticky; top: 0; z-index: 1020; padding: 10px 0; transition: background .3s; }
body.is-scrolled .m-search { background: rgba(5, 8, 6, .72); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom: 1px solid var(--line); }
.search-trigger { width: 100%; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 7px 0 16px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 14.5px; text-align: left; transition: border-color .2s; }
.search-trigger:hover { border-color: rgba(111, 240, 164, .35); }
.search-trigger > i { font-size: 18px; color: var(--text-2); }
.st-text { flex: 1; }
.st-btn { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 17px; }

/* ---------- Hero ---------- */
.hero-wrap { margin-top: 8px; }
.hero { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--green-900); box-shadow: var(--shadow); }
.hero-slide { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 1 / .95; min-height: 320px; color: #fff; }
.hero-slide:hover { color: #fff; }
.hero-slide.no-media { aspect-ratio: auto; background: radial-gradient(600px 300px at 20% 0%, rgba(111, 240, 164, .25), transparent 60%), var(--green-800); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.carousel-item.active .hero-media img { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 8, 6, .1) 25%, rgba(5, 8, 6, .82) 100%); }
.hero-glass { margin: 12px; width: calc(100% - 24px); max-width: 560px; padding: 18px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(8, 14, 10, .42); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.hero-title { font-size: 28px; line-height: 1.02; margin: 10px 0 8px; color: #fff; }
.hero-sub { font-size: 13.5px; line-height: 1.5; color: var(--text-2); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero .btn-kd { padding: 10px 16px; font-size: 13.5px; }
.hero-dots { position: absolute; top: 14px; right: 14px; bottom: auto; left: auto; margin: 0; z-index: 3; justify-content: flex-end; gap: 4px; }
.hero-dots [data-bs-target] { position: relative; width: 22px; height: 4px; margin: 0; border-radius: 4px; overflow: hidden; background-color: rgba(255, 255, 255, .3) !important; opacity: 1; border-top: 8px solid transparent; border-bottom: 8px solid transparent; transition: width .4s var(--ease); }
.hero-dots [data-bs-target] span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; border-radius: 4px; }
.hero-dots .active { width: 38px; }
.hero-dots .active span { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero-side { flex-direction: column; gap: 20px; }
.side-quiz { position: relative; isolation: isolate; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px; border-radius: 28px; border: 1px solid var(--line); text-align: left; color: #fff;
  background: radial-gradient(300px 200px at 100% 0%, rgba(200, 245, 96, .2), transparent 70%), linear-gradient(160deg, var(--green-700), var(--green-900)); }
.side-quiz strong { font: 700 28px/1.05 var(--font-display); letter-spacing: -.03em; }
.side-quiz strong em { font-family: var(--font-serif); font-weight: 400; color: var(--lime); }
.sq-arrow { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 18px; transition: transform .3s var(--spring); }
.side-quiz:hover .sq-arrow { transform: rotate(45deg) scale(1.08); }

/* ---------- Open 24/7 ---------- */
.open-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 24px; border: 1px solid rgba(111, 240, 164, .25); background: linear-gradient(135deg, rgba(111, 240, 164, .12), rgba(255, 255, 255, .03)); }
.oc-ic { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 27px; color: var(--mint); background: rgba(111, 240, 164, .14); }
.oc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.oc-text strong { font-size: 14.5px; font-weight: 600; color: #fff; }
.oc-badge { display: inline-flex; align-items: center; gap: 9px; font: 600 23px var(--font-mono); color: var(--mint); letter-spacing: .02em; white-space: nowrap; }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: waPing 1.8s ease-out infinite; }

/* ---------- Deals ---------- */
.deal-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 84%); gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
.deal-rail::-webkit-scrollbar { display: none; }
.deal-rail > * { scroll-snap-align: start; }
.deal-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.deal-card { position: relative; isolation: isolate; display: flex; min-height: 152px; overflow: hidden; border-radius: 24px; border: 1px solid rgba(200, 245, 96, .28); color: #fff; transition: transform .25s var(--ease), border-color .25s;
  background: radial-gradient(240px 160px at 100% 0%, rgba(200, 245, 96, .2), transparent 70%), linear-gradient(135deg, rgba(19, 92, 54, .55), rgba(5, 8, 6, .6)); }
.deal-card:hover { color: #fff; transform: translateY(-2px); border-color: rgba(200, 245, 96, .6); }
.dc-media { flex: 0 0 34%; display: grid; place-items: center; overflow: hidden; font-size: 46px; color: var(--lime); background: rgba(200, 245, 96, .08); }
.dc-media img, .dc-media .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.dc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; }
.dc-tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; overflow: hidden; padding: 4px 9px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 600 11px var(--font-mono); white-space: nowrap; }
.dc-title { font: 700 18px/1.15 var(--font-display); letter-spacing: -.02em; }
.dc-meta { font-size: 12.5px; color: var(--text-2); }
.dc-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--lime); }
.dc-cta i { transition: transform .2s; }
.deal-card:hover .dc-cta i { transform: translateX(3px); }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.sub-head h3 { margin: 0; font-size: 18px; }
.deal-callout { display: flex; align-items: center; gap: 12px; margin: -6px 0 16px; padding: 12px 14px; border-radius: 16px; border: 1px dashed rgba(200, 245, 96, .45); background: rgba(200, 245, 96, .07); color: #fff; }
.deal-callout:hover { color: #fff; border-color: var(--lime); }
.deal-callout > i:first-child { font-size: 24px; color: var(--lime); }
.deal-callout > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.deal-callout strong { font-size: 14px; }
.deal-callout small { font-size: 12px; color: var(--text-2); }
.deal-callout > i:last-child { color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { margin-top: 26px; overflow: hidden; padding: 13px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(111, 240, 164, .07), rgba(200, 245, 96, .05));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.mq-track span { display: inline-flex; align-items: center; gap: 12px; padding-right: 40px; font: 500 12.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.mq-track .ico-leaf { color: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categories & effects ---------- */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.cat-rail::-webkit-scrollbar, .effect-row::-webkit-scrollbar, .pd-stage::-webkit-scrollbar, .pd-thumbs::-webkit-scrollbar { display: none; }
.cat-tile { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 4px 0; text-align: center;
  color: #fff; scroll-snap-align: start; transition: transform .3s var(--ease); }
.cat-tile:hover { color: #fff; transform: translateY(-3px); }
.ct-ic { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 8px; display: grid; place-items: center; font-size: 30px; color: var(--mint); background: rgba(111, 240, 164, .1); transition: transform .4s var(--spring); }
.cat-tile:hover .ct-ic { transform: rotate(-8deg) scale(1.08); }
.ct-ic .ico-leaf { width: 28px; height: 28px; }
.ct-name { max-width: 84px; font: 600 13px/1.2 var(--font-body); }
.ct-sub { font: 400 10.5px var(--font-mono); color: var(--muted); }
#homeGrid.swap { transition: opacity .16s ease, filter .16s; }
#homeGrid.is-swapping { opacity: 0; filter: blur(4px); }
.effect-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; }
.effect-tile { flex: 0 0 88px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 15px 6px 13px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); color: var(--text-2); font: 500 12.5px var(--font-body); transition: all .3s var(--ease); }
.effect-tile:hover { color: #fff; border-color: rgba(111, 240, 164, .3); transform: translateY(-3px); }
.et-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; color: var(--mint); background: radial-gradient(circle at 30% 25%, rgba(111, 240, 164, .28), rgba(111, 240, 164, .05)); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust-item { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.trust-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: var(--mint); background: rgba(111, 240, 164, .1); }
.trust-item strong { display: block; font-size: 14px; color: #fff; }
.trust-item small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Quiz banner (light section) ---------- */
.quiz-banner { position: relative; overflow: hidden; display: grid; gap: 18px; padding: 28px 22px; border-radius: 30px; background: var(--paper); color: var(--ink); }
.quiz-banner::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 240, 164, .45), transparent 65%); }
.qb-text { position: relative; z-index: 1; }
.quiz-banner .kicker { color: var(--green-600); }
.quiz-banner h2 { color: var(--ink); font-size: 31px; line-height: 1.02; margin: 10px 0 10px; }
.quiz-banner h2 em { background: linear-gradient(135deg, var(--green-600), var(--green-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quiz-banner p { color: #3d4a43; margin-bottom: 18px; max-width: 440px; }
.qb-art { position: relative; min-height: 150px; }
.qb-bubble { position: absolute; width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: #fff; color: var(--green-600); box-shadow: 0 16px 34px -14px rgba(10, 15, 12, .35); animation: floaty 6s ease-in-out infinite; }
.qb-bubble.b0 { left: 4%; top: 10px; }
.qb-bubble.b1 { left: 30%; top: 60px; background: var(--ink); color: var(--lime); animation-delay: -1s; }
.qb-bubble.b2 { left: 56%; top: 0; animation-delay: -2s; }
.qb-bubble.b3 { left: 78%; top: 70px; background: var(--accent-grad); color: var(--ink); animation-delay: -3s; }
.qb-bubble.b4 { left: 14%; top: 92px; width: 48px; height: 48px; font-size: 22px; animation-delay: -4s; }
.qb-bubble.b5 { left: 60%; top: 104px; width: 46px; height: 46px; font-size: 21px; background: var(--green-700); color: var(--mint); animation-delay: -5s; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(4deg); } }

/* ---------- Explore ---------- */
.explore-head { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; }
.explore-head .muted { margin: 6px 0 0; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.seg a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 16px; border-radius: 999px; color: var(--text-2); font: 600 14px var(--font-body); transition: color .3s; }
.seg a[aria-selected="true"] { color: var(--ink); }
.seg-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #fff; box-shadow: 0 8px 20px -10px rgba(255, 255, 255, .6); transition: transform .5s var(--spring); }
.seg[data-active="1"] .seg-ind { transform: translateX(100%); }
.explore-grid { columns: 2; column-gap: 10px; margin-top: 18px; }
.x-card { break-inside: avoid; margin-bottom: 10px; }
.x-media { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--green-900); color: #fff; text-align: left; aspect-ratio: 3 / 4; }
.x-card:nth-child(3n + 1) .x-media { aspect-ratio: 3 / 4.5; }
.x-card:nth-child(3n + 2) .x-media { aspect-ratio: 3 / 3.7; }
.x-media img, .x-media .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.x-card:hover .x-media img { transform: scale(1.07); }
.x-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .86) 100%); }
.x-play { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; transition: all .3s var(--spring); }
.x-card:hover .x-play { background: var(--mint); border-color: transparent; color: var(--ink); transform: scale(1.12); }
.x-views { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 11px var(--font-mono); }
.x-info { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.x-name { font: 700 15.5px/1.15 var(--font-display); letter-spacing: -.02em; }
.x-price strong { font-size: 14px; }

/* ---------- Search ---------- */
.search-top { display: flex; align-items: center; gap: 10px; padding: 14px 0 4px; }
.search-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(111, 240, 164, .12); }
.search-field > i { color: var(--muted); font-size: 17px; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; }
.search-field input::-webkit-search-cancel-button { display: none; }
.sf-btn, .pl-mic { display: none; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--glass-2); color: #fff; font-size: 17px; }
.has-voice .sf-btn, .has-voice .pl-mic { display: grid; place-items: center; }
.listening { background: var(--mint) !important; color: var(--ink) !important; animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 240, 164, .55); } 100% { box-shadow: 0 0 0 14px rgba(111, 240, 164, 0); } }
.filter-btn { position: relative; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); color: #fff; font-size: 19px; transition: border-color .2s; }
.filter-btn:hover { border-color: var(--mint); }
.filter-dot { position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--bg), 0 0 10px var(--mint); }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 18px 0 14px; }
.results-head .page-title { font-size: 26px; }
.sort-wrap { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--text-2); margin: 0; }
.sort-select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; color: #fff; font: 500 13px var(--font-body); max-width: 140px; cursor: pointer; }
.sort-select option { background: #0c130f; color: #fff; }
.search-view .chip-row { margin-bottom: 12px; }
.filter-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.filter-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 12.5px var(--font-body); }
.filter-pill:hover { color: var(--ink); background: var(--mint); }

/* ---------- Product detail ---------- */
.crumbs { align-items: center; gap: 8px; padding: 24px 0 18px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #fff; }
.crumbs i { font-size: 10px; }
.pd { display: grid; gap: 22px; margin-top: 4px; }
.pd-frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #eef2ef; }
.pd-stage { display: flex; aspect-ratio: 1; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pd-slide { position: relative; flex: 0 0 100%; overflow: hidden; scroll-snap-align: start; }
.pd-slide img, .pd-slide .img-fallback { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .35s ease; }
.pd-slide.zooming img { transform: scale(1.9); cursor: zoom-in; }
.pd-frame .p-badges { top: 14px; left: 14px; }
.pd-frame .type-badge { font-size: 11px; padding: 5px 11px 5px 9px; }
.pd-main-actions { position: absolute; top: 14px; right: 14px; z-index: 2; gap: 8px; }
.pd-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 5px; padding: 6px 9px; border-radius: 999px; background: rgba(5, 8, 6, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pd-dots span { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .4); transition: all .35s var(--ease); }
.pd-dots span.active { width: 18px; background: #fff; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pd-thumb { flex: 0 0 68px; height: 68px; padding: 0; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: #eef2ef; opacity: .55; transition: all .25s; }
.pd-thumb.active { border-color: var(--mint); opacity: 1; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: 34px; line-height: 1.02; margin: 8px 0 10px; }
.pd-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pd-rating strong { color: #fff; }
.stars { display: inline-flex; gap: 1px; color: var(--lime); font-size: 14px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.pd-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0; }
.pd-price strong { font: 700 32px var(--font-display); color: #fff; letter-spacing: -.02em; }
.pd-price s { font: 400 14px var(--font-mono); color: var(--muted); }
.pd-stats { display: flex; gap: 10px; align-items: stretch; }
.gauge { position: relative; flex: 0 0 104px; width: 104px; height: 104px; padding: 8px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 6; }
.g-track { stroke: rgba(255, 255, 255, .08); }
.g-val { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset 1.3s var(--ease) .2s; filter: drop-shadow(0 0 6px rgba(111, 240, 164, .5)); }
.gauge.in .g-val { stroke-dashoffset: calc(163.4 * (1 - var(--p))); }
.gauge.is-cbd .g-val { stroke: #8fd8ff; filter: drop-shadow(0 0 6px rgba(143, 216, 255, .5)); }
.g-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.g-text strong { font: 700 21px var(--font-display); color: #fff; }
.g-text strong small { font-size: .55em; font-weight: 500; margin-left: 1px; }
.g-text span { font: 500 10px var(--font-mono); letter-spacing: .12em; color: var(--muted); }
.pd-facts { flex: 1; min-width: 0; display: grid; gap: 8px; }
.pd-facts > div { padding: 11px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.pd-facts small { display: block; font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-facts strong { font-size: 15px; font-weight: 600; }
.is-ok { color: var(--mint); }
.is-low { color: var(--warn); }
.is-out { color: var(--danger); }
.pd-block { margin-top: 22px; }
.pd-h { font: 600 14px var(--font-body); color: var(--text-2); margin-bottom: 10px; }
.variant-row { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { flex: 1 1 0; min-width: 0; max-width: 170px; display: flex; flex-direction: column; align-items: flex-start; padding: 11px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); color: #fff; text-align: left; transition: all .25s var(--ease); }
.variant strong { font: 700 17px var(--font-display); }
.variant small { font: 500 11px var(--font-mono); color: var(--muted); white-space: nowrap; }
.variant:hover { border-color: rgba(111, 240, 164, .4); }
.variant.active { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }
.variant.active small { color: #3d4a43; }
.gram-pick { margin-top: 22px; }
.gp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gp-rate { font: 500 12px var(--font-mono); color: var(--mint); white-space: nowrap; }
.gram-pick .variant-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.gram-pick .variant { max-width: none; padding: 10px 12px; }
.gp-calc { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 14px; border-radius: 16px; border: 1px solid rgba(111, 240, 164, .2); background: rgba(111, 240, 164, .06); font: 500 13px var(--font-mono); color: var(--text-2); }
.gp-calc i { font-size: 20px; color: var(--mint); }
.gp-calc span { flex: 1; min-width: 0; }
.gp-calc strong { font: 700 18px var(--font-display); color: #fff; white-space: nowrap; }
.qv .gram-pick { margin-top: 0; }
.pd-buy { align-items: center; gap: 10px; margin-top: 22px; }
.eta-strip { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(111, 240, 164, .2); background: rgba(111, 240, 164, .06); }
.eta-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: var(--mint); background: rgba(111, 240, 164, .12); }
.eta-strip > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eta-strip strong { font-size: 14px; }
.eta-strip small { color: var(--muted); font-size: 12px; }
.eta-cd { display: flex; flex-direction: column; text-align: right; }
.eta-cd small { font-size: 10.5px; }
.eta-cd b { font: 600 15px var(--font-mono); color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-tabs { position: relative; display: flex; gap: 2px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.pd-tabs button { padding: 10px 12px; border: 0; background: none; color: var(--muted); font: 600 14px var(--font-body); transition: color .2s; }
.pd-tabs button.active { color: #fff; }
.tab-ind { position: absolute; left: 0; bottom: -1px; height: 2px; width: 62px; border-radius: 2px; background: var(--accent-grad); transition: transform .4s var(--spring), width .4s var(--spring); }
.pd-pane { display: none; padding-top: 16px; }
.pd-pane.active { display: block; animation: viewIn .35s var(--ease); }
.pd-desc { margin: 0; color: var(--text-2); line-height: 1.75; }
.effect-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.effect-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(111, 240, 164, .25); background: rgba(111, 240, 164, .08); color: var(--mint); font: 500 13px var(--font-body); }
.effect-chip:hover { background: var(--mint); color: var(--ink); }
.effect-chip i { font-size: 17px; }
.pd-notes { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; font-size: 14px; color: var(--text-2); }
.pd-notes li { display: flex; align-items: center; gap: 10px; }
.pd-notes i { font-size: 21px; color: var(--mint); }

/* ---------- Profile ---------- */
.profile-hero { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 26px; border: 1px solid var(--line-2); background: radial-gradient(420px 220px at 0% 0%, rgba(111, 240, 164, .2), transparent 70%), var(--glass); }
.avatar-lg { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--accent-grad); color: var(--ink); font: 800 22px var(--font-display); }
.pf-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-info strong { font: 700 20px var(--font-display); color: #fff; }
.pf-info small { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.stat-tile { display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); color: #fff; text-align: left; font: inherit; transition: border-color .2s; }
.stat-tile:hover { color: #fff; border-color: rgba(111, 240, 164, .35); }
.stat-tile i { font-size: 22px; color: var(--mint); margin-bottom: 8px; }
.stat-tile strong { font: 700 24px/1.1 var(--font-display); }
.stat-tile small { color: var(--muted); font-size: 12px; }
.co-h { font: 700 17px var(--font-display); letter-spacing: -.02em; margin: 26px 0 12px; color: #fff; }
.co-h.sm { font-size: 15px; margin: 16px 0 10px; }
.order-list { display: grid; gap: 10px; }
.order-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); color: #fff; transition: border-color .2s, transform .2s; }
.order-row:hover { color: #fff; border-color: rgba(111, 240, 164, .35); transform: translateX(2px); }
.or-ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--mint); background: rgba(111, 240, 164, .1); }
.or-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.or-text strong { font: 600 14px var(--font-mono); letter-spacing: .04em; }
.or-text small { color: var(--muted); font-size: 12px; }
.or-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.or-end b { font-size: 14px; font-weight: 600; }
.status-pill { padding: 4px 8px; border-radius: 999px; font: 600 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 207, 112, .14); color: var(--warn); }
.s-confirmed, .s-dispatched { background: rgba(143, 216, 255, .14); color: #8fd8ff; }
.s-delivered { background: rgba(111, 240, 164, .14); color: var(--mint); }
.s-cancelled { background: rgba(255, 122, 122, .14); color: var(--danger); }
.list-card { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.list-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; color: #fff; text-align: left; font: inherit; transition: background .2s; }
.list-item:last-child { border-bottom: 0; }
.list-item:hover { color: #fff; background: var(--glass); }
.li-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; color: var(--mint); background: rgba(111, 240, 164, .1); }
.li-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.li-text strong { font-size: 14.5px; font-weight: 600; }
.li-text small { font-size: 12.5px; color: var(--muted); }
.list-item > i:last-child { color: var(--muted); }
.muted-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; }
.muted-card i { font-size: 24px; color: var(--mint); }

/* ---------- Order confirmation & tracking ---------- */
.order-hero { max-width: 560px; margin: 0 auto; padding: 26px 0 8px; text-align: center; }
.success-check { width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 30px; display: grid; place-items: center; font-size: 42px; color: var(--ink); background: var(--accent-grad); box-shadow: var(--glow); animation: pop .7s var(--spring); }
.success-check.is-cancelled { background: var(--danger); box-shadow: none; }
@keyframes pop { from { transform: scale(.3) rotate(-14deg); opacity: 0; } }
.order-hero h1 { font-size: 34px; line-height: 1.04; margin: 10px 0; }
.order-hero p { color: var(--text-2); }
.order-num { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: #fff; font: 600 14px var(--font-mono); letter-spacing: .06em; transition: border-color .2s; }
.order-num:hover { border-color: var(--mint); }
.order-grid { display: grid; gap: 16px; margin-top: 22px; }
.track { list-style: none; padding: 0; margin: 0 0 16px; }
.track li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.track li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line-2); }
.track li.is-done:not(:last-child)::before { background: var(--accent-grad); }
.tr-dot { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--glass); color: var(--muted); font-size: 18px; }
.track li.is-done .tr-dot { border-color: transparent; background: var(--mint); color: var(--ink); }
.track li.is-current .tr-dot { border-color: var(--mint); color: var(--mint); animation: pulseRing 2s infinite; }
@keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(111, 240, 164, .35); } 50% { box-shadow: 0 0 0 9px rgba(111, 240, 164, 0); } }
.track strong { display: block; margin-top: 2px; font-size: 14.5px; color: #fff; }
.track small { color: var(--muted); font-size: 12.5px; }
.track li:not(.is-done):not(.is-current) strong { color: var(--muted); }
.order-eta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(111, 240, 164, .07); color: var(--text-2); font-size: 14px; }
.order-eta i { font-size: 22px; color: var(--mint); }
.order-eta strong { color: #fff; }
.order-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pay-card { max-width: 560px; margin: 18px auto 0; }
.pay-status { display: flex; align-items: center; gap: 14px; }
.pay-status > div { flex: 1; min-width: 0; }
.pay-status > i { flex: none; font-size: 30px; }
.pay-status.is-ok > i { color: var(--mint); }
.pay-status.is-bad > i { color: var(--danger); }
.pay-status .spinner-border { flex: none; width: 26px; height: 26px; border-width: 3px; color: var(--mint); }
.pay-status strong { display: block; font-size: 15px; color: #fff; }
.pay-status small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }
.pay-retry { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 576px) { .pay-retry { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Info pages ---------- */
.prose { margin-top: 8px; padding: 24px; line-height: 1.75; color: var(--text-2); }
.prose h2 { font-size: 19px; margin: 24px 0 6px; color: #fff; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.zone-table { --bs-table-bg: transparent; --bs-table-color: var(--text-2); --bs-table-border-color: var(--line); margin: 14px 0; font-size: 14px; }
.zone-table th { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.zone-table td strong { color: #fff; }
.zone-table td small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Breakpoints ---------- */
@media (max-width: 374.98px) {
  .hero-title { font-size: 24px; }
  .m-hello h1 { font-size: 27px; }
  .gauge { flex-basis: 92px; width: 92px; height: 92px; }
}
@media (min-width: 576px) {
  .hero-slide { aspect-ratio: 16 / 10; }
  .hero-title { font-size: 34px; }
  .explore-grid { columns: 3; column-gap: 14px; }
  .x-card { margin-bottom: 14px; }
  .quiz-banner { padding: 36px 32px; }
}
@media (max-width: 575.98px) {
  .dc-media { flex-basis: 26%; font-size: 38px; }
  .dc-body { padding: 14px; }
}
@media (min-width: 576px) {
  .deal-rail { grid-auto-columns: minmax(280px, 48%); }
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-stage { aspect-ratio: 4 / 3; }
}
@media (min-width: 992px) {
  .hero-wrap { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; }
  .hero, .hero .carousel-inner, .hero .carousel-item, .hero-slide { height: 100%; }
  .hero-slide { aspect-ratio: auto; min-height: 470px; }
  .hero-glass { margin: 28px; padding: 28px 30px; }
  .hero-title { font-size: 52px; letter-spacing: -.035em; }
  .hero-sub { font-size: 16px; margin-bottom: 22px; }
  .hero .btn-kd { padding: 13px 22px; font-size: 15px; }
  .hero-dots { top: auto; bottom: 26px; right: 26px; }
  .marquee { margin-top: 40px; }
  .cat-rail { grid-auto-flow: row; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 4px 0; }
  .deal-rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 4px 0; }
  .deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-ic { width: 84px; height: 84px; margin-bottom: 10px; font-size: 38px; }
  .ct-ic .ico-leaf { width: 36px; height: 36px; }
  .ct-name { max-width: none; font-size: 14px; }
  .effect-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 2px 0 6px; overflow: visible; }
  .effect-tile { padding: 22px 8px 18px; font-size: 14px; }
  .et-ic { width: 60px; height: 60px; font-size: 30px; }
  .quiz-banner { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 52px 56px; }
  .quiz-banner h2 { font-size: 46px; }
  .qb-art { min-height: 220px; }
  .qb-bubble { width: 78px; height: 78px; font-size: 38px; border-radius: 24px; }
  .explore-head { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-top: 34px; }
  .seg { width: 340px; }
  .explore-grid { columns: 4; column-gap: 18px; margin-top: 28px; }
  .x-card { margin-bottom: 18px; }
  .results-head { margin-top: 34px; }
  .results-head .page-title { font-size: 38px; }
  .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; margin-top: 0; }
  .pd-gallery { position: sticky; top: 140px; align-self: start; }
  .pd-stage { aspect-ratio: 1; }
  .pd-title { font-size: 48px; }
  .pd-price strong { font-size: 36px; }
  .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .order-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .order-hero h1 { font-size: 46px; }
  .info-view { max-width: 880px; }
}
@media (min-width: 1400px) { .explore-grid { columns: 5; } }
