:root {
  --primary: #155eef;
  --accent: #38a8f8;
  --navy: #0b1f3a;
  --ink: #16243b;
  --muted: #66758a;
  --bg: #f4f7fc;
  --card: #ffffff;
  --line: #dce5f0;
  --line-strong: #c7d5e7;
  --success: #0f9f6e;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 18px;
  --container: 1180px;
  --base-size: 15px;
  --hero-title-size: 54px;
  --section-title-size: 36px;
  --product-title-size: 38px;
  --shop-mobile-columns: 2;
  --mobile-product-image-height: 104px;
  --font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 8px 24px rgba(25, 53, 93, .06);
  --shadow-md: 0 18px 45px rgba(25, 53, 93, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-family);
  font-size: var(--base-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.hidden { display: none !important; }
.container { width: min(var(--container), calc(100% - 34px)); margin-inline: auto; }

.topbar {
  padding: 8px 16px;
  color: #dceaff;
  background: var(--navy);
  text-align: center;
  font-size: 12px;
  letter-spacing: .015em;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(220, 229, 240, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
.nav-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 9px 24px color-mix(in srgb, var(--primary) 22%, transparent);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -45%;
  transform: translateX(-65%);
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.45), transparent 62%);
  animation: shine 6s ease-in-out infinite;
}
.brand small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .10em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  padding: 9px 11px;
  border-radius: 10px;
  color: #536279;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.nav-links a:hover { color: var(--primary); background: #eef4ff; }
.nav-actions { display: flex; gap: 8px; }
.mobile-menu { display: none; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.btn {
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--primary) 20%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 13px 28px color-mix(in srgb, var(--primary) 25%, transparent); }
.btn-outline { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn-outline:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); background: #f8fbff; }
.btn-dark { color: #fff; background: var(--navy); }
.btn-block { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 78%, var(--primary)) 62%, var(--primary) 145%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .8;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}
.hero-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -150px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--primary) 18%, transparent) 58%, transparent 72%);
  animation: float 10s ease-in-out infinite;
}
.hero-orb.two { width: 270px; height: 270px; top: 58%; right: 35%; opacity: .38; animation-delay: -4s; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #ddecff;
  font-size: 11px;
  font-weight: 700;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #54df9e; animation: pulse 2.1s ease-in-out infinite; }
.hero h1 {
  max-width: 700px;
  margin: 20px 0 16px;
  font-size: clamp(38px, 5.1vw, var(--hero-title-size));
  line-height: 1.07;
  letter-spacing: -.045em;
  font-weight: 780;
}
.hero h1 span { color: #80d3ff; }
.hero p { max-width: 650px; margin: 0; color: #c3d4e9; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 27px; color: #d8e5f5; font-size: 12px; }
.hero-trust span::before { content: "✓"; margin-right: 6px; color: #65e7ae; font-weight: 900; }
.hero-showcase { min-height: 390px; position: relative; }
.float-card {
  position: absolute;
  width: 250px;
  padding: 18px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
  animation: float 7s ease-in-out infinite;
}
.float-card:nth-child(2) { top: 30px; right: 0; animation-delay: -2s; }
.float-card:nth-child(3) { bottom: 18px; left: 6px; animation-delay: -4s; }
.float-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: #edf4ff; font-size: 18px; font-weight: 850; }
.float-card h3 { margin: 12px 0 4px; font-size: 16px; }
.float-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.float-price { margin-top: 11px; color: var(--primary); font-size: 18px; font-weight: 850; }
.secure-core { position: absolute; width: 190px; height: 190px; top: 50%; left: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(126,203,255,.30); border-radius: 50%; }
.secure-core::before, .secure-core::after { content: ""; position: absolute; border: 1px dashed rgba(126,203,255,.32); border-radius: 50%; animation: spin 20s linear infinite; }
.secure-core::before { inset: -30px; }
.secure-core::after { inset: 23px; animation-direction: reverse; animation-duration: 14s; }
.secure-core div { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 23px; color: var(--primary); background: linear-gradient(135deg, #fff, #d8efff); box-shadow: 0 0 42px rgba(77,183,255,.36); font-size: 30px; font-weight: 850; }

.search-wrap { position: relative; z-index: 10; margin-top: -29px; }
.search-card { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-md); }
.search-icon { padding-left: 7px; color: var(--primary); font-size: 19px; }
.search-card input { flex: 1; min-width: 0; padding: 9px 0; border: 0; outline: 0; color: var(--ink); font-size: 14px; }

.section { padding: 68px 0; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-kicker { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section h2, .section-head h2 { margin: 7px 0; font-size: clamp(27px, 3.5vw, var(--section-title-size)); line-height: 1.14; letter-spacing: -.035em; font-weight: 760; }
.section-head p { max-width: 610px; margin: 0; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 25px; }
.chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: #607087; background: #fff; font-size: 12px; font-weight: 700; }
.chip.active, .chip:hover { color: #fff; border-color: var(--primary); background: var(--primary); }

.products-grid { display: grid; grid-template-columns: repeat(var(--shop-columns, 3), minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 25%, var(--line)); box-shadow: var(--shadow-md); }
.product-card.compact .product-body { padding: 17px; }
.product-card.minimal .mini-meta { display: none; }
.product-card.featured-card { border-color: color-mix(in srgb, var(--primary) 34%, var(--line)); }
.product-cover { position: relative; overflow: hidden; height: var(--product-image-height, 168px); display: grid; place-items: center; background: linear-gradient(145deg, #eaf2fd, #fafcff); }
.product-cover::after { content: ""; position: absolute; width: 190px; height: 190px; right: -68px; bottom: -88px; border-radius: 50%; background: var(--pc, var(--primary)); opacity: .07; }
.product-cover img { width: 100%; height: 100%; object-fit: var(--product-image-fit, cover); }
.product-fallback { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 21px; color: #fff; background: linear-gradient(135deg, var(--pc, var(--primary)), var(--accent)); box-shadow: 0 14px 31px color-mix(in srgb, var(--pc, var(--primary)) 24%, transparent); font-size: 23px; font-weight: 850; }
.badge, .stock { position: absolute; z-index: 2; top: 12px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 5px 15px rgba(0,0,0,.08); font-size: 10px; font-weight: 800; }
.badge { left: 12px; color: var(--primary); }
.stock { right: 12px; }
.stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #10b981; }
.stock.limited::before { background: #f59e0b; }
.stock.out::before { background: #ef4444; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 19px; }
.product-cat { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-card h3 { margin: 6px 0; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.product-desc { min-height: 60px; overflow: hidden; display: -webkit-box; color: var(--muted); font-size: 12.5px; line-height: 1.6; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mini-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 14px 0; }
.mini-meta div { min-width: 0; padding: 8px; border: 1px solid #e8eef6; border-radius: 9px; background: #f8fafd; }
.mini-meta span { display: block; color: #8794a6; font-size: 8.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mini-meta strong { display: block; overflow: hidden; margin-top: 3px; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1f6; }
.price small { display: block; color: var(--muted); font-size: 9px; }
.price strong { color: var(--ink); font-size: 21px; line-height: 1.1; }
.original-price { margin-left: 5px; color: #8e9aac; font-size: 11px; text-decoration: line-through; }
.product-foot .btn { min-height: 38px; padding: 9px 12px; font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 48px; border: 1px dashed #bdd1ec; border-radius: var(--radius); color: var(--muted); background: #f9fbfe; text-align: center; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card { padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: #fff; text-align: center; }
.stat-card strong { display: block; color: var(--primary); font-size: 27px; line-height: 1.2; }
.stat-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step, .trust-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-no { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--primary); font-size: 13px; font-weight: 800; }
.step h3, .trust-card h3 { margin: 14px 0 6px; font-size: 16px; }
.step p, .trust-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.trust-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: #edf4ff; font-size: 19px; }
.payment-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; }
.pay-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.faq { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; color: var(--ink); background: transparent; text-align: left; font-size: 14px; font-weight: 750; }
.faq-a { display: none; padding: 0 19px 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.cta { padding: 38px; border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line)); border-radius: 22px; background: linear-gradient(135deg, #eef4ff, #fbfdff); text-align: center; }
.cta h2 { margin-top: 0; }
.cta p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.cta .hero-actions { justify-content: center; }
.footer { padding: 50px 0 22px; color: #c5d4e7; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 35px; }
.footer h4 { margin: 0 0 11px; color: #fff; font-size: 13px; }
.footer a { display: block; margin: 7px 0; color: #bfd0e5; text-decoration: none; font-size: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.10); color: #8fa6c1; font-size: 11px; }
.footer-traffic { display:inline-flex;align-items:center;gap:6px;white-space:nowrap; }
.footer-traffic strong { color:#ffffff;font-size:13px;font-weight:800; }

.page-hero { padding: 35px 0 50px; background: linear-gradient(180deg, #eef4fb, var(--bg)); }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 28px; align-items: start; }
.detail-main { min-width: 0; }
.detail-media { height: 330px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #eaf2fc, #fff); }
.detail-media img { width: 100%; height: 100%; object-fit: var(--detail-image-fit, cover); }
.detail-fallback { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--pc, var(--primary)), var(--accent)); box-shadow: 0 20px 45px color-mix(in srgb, var(--pc, var(--primary)) 24%, transparent); font-size: 34px; font-weight: 850; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 12px; }
.detail-tag { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #5d6d82; background: #fff; font-size: 10.5px; font-weight: 700; }
.detail-main h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, var(--product-title-size)); line-height: 1.12; letter-spacing: -.04em; }
.lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.buy-card { position: sticky; top: 92px; padding: 22px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-md); }
.buy-card.no-sticky { position: static; }
.buy-card h3 { margin: 6px 0 2px; font-size: 18px; }
.from { color: var(--muted); font-size: 11px; }
.big-price { margin: 13px 0; font-size: 30px; line-height: 1.1; font-weight: 850; letter-spacing: -.03em; }
.pkg-option { margin: 8px 0; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.pkg-option:hover, .pkg-option.active { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); background: #f4f8ff; }
.pkg-option input { width: auto; margin: 0; accent-color: var(--primary); }
.pkg-copy { flex: 1; min-width: 0; }
.pkg-copy strong { display: block; font-size: 12.5px; }
.pkg-copy small { display: block; color: var(--muted); font-size: 10px; }
.pkg-price { color: var(--primary); font-size: 13px; font-weight: 800; }
.buy-notice { margin-top: 12px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.detail-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card.full { grid-column: 1 / -1; }
.info-card h2 { margin: 0 0 13px; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.info-card p { margin: 0; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 23px; color: #57667a; border-bottom: 1px solid #edf1f6; font-size: 13px; line-height: 1.55; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--success); font-weight: 850; }
.policy-box, .warning-box { padding: 14px 16px; border-radius: 12px; font-size: 12.5px; line-height: 1.65; }
.policy-box { color: #35587e; border: 1px solid #cfe0f6; background: #f2f7fd; }
.warning-box { color: #775213; border: 1px solid #f5d78f; background: #fff9ea; }
.skeleton { overflow: hidden; border-radius: 12px; background: linear-gradient(90deg, #e6edf6, #f6f9fc, #e6edf6); background-size: 200% 100%; animation: loading 1.4s infinite; }

.checkout-page { min-height: 100vh; }
.checkout-wrap { padding: 32px 0 70px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; align-items: start; }
.checkout-card, .track-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.checkout-card + .checkout-card { margin-top: 15px; }
.checkout-title { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.checkout-title i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--primary); font-size: 11px; font-style: normal; font-weight: 800; }
.checkout-title h2 { margin: 0; font-size: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field.full { grid-column: 1 / -1; }
.field label, .field > label { display: block; margin-bottom: 5px; color: #4e5e72; font-size: 11px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font-size: 13px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.field small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pay-card { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pay-card:hover, .pay-card.active { border-color: var(--primary); background: #f4f8ff; }
.pay-card strong { display: block; font-size: 13px; }
.pay-card small { color: var(--muted); font-size: 10px; }
.pay-check { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 50%; }
.pay-card.active .pay-check { border: 4px solid var(--primary); }
.payment-detail { margin-top: 14px; padding: 20px; display: grid; grid-template-columns: minmax(210px, 240px) minmax(0, 1fr); gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: #f8fafd; }
.qr-visual { width: 100%; display: grid; justify-items: center; gap: 9px; }
.qr-box { width: 100%; min-height: 210px; aspect-ratio: 1 / 1; padding: 10px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--muted); background: #fff; text-align: center; font-size: 12px; }
.qr-box.is-clickable { cursor: zoom-in; box-shadow: 0 10px 25px rgba(32, 69, 120, .08); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.qr-box.is-clickable:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 14px 30px rgba(32, 69, 120, .14); }
.qr-box.is-clickable:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 24%, transparent); outline-offset: 3px; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-enlarge-action { border: 0; background: transparent; color: var(--primary); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.payment-copy-panel { min-width: 0; }
.payment-account-label { display: block; margin: 14px 0 7px; color: #46586e; font-size: 13px; font-weight: 800; }
.copy-row { display: flex; margin-top: 6px; align-items: stretch; }
.copy-value { flex: 1; min-width: 0; padding: 14px; overflow-wrap: anywhere; white-space: normal; border: 1px solid var(--line); border-radius: 11px 0 0 11px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.5; }
.copy-btn { min-width: 104px; padding: 0 16px; border: 0; border-radius: 0 11px 11px 0; color: #fff; background: var(--primary); font-size: 12px; font-weight: 850; box-shadow: 0 9px 20px color-mix(in srgb, var(--primary) 24%, transparent); }
.copy-btn:hover { filter: brightness(.94); }
.copy-btn.copied { background: #168a55; }
.upload-zone { padding: 28px; border: 1.5px dashed #b9cbe1; border-radius: 13px; background: #f9fbfd; text-align: center; transition: border-color .2s, background .2s; }
.upload-zone.drag { border-color: var(--primary); background: #eef5ff; }
.upload-zone label { display: block; cursor: pointer; }
.upload-zone input { display: none; }
.upload-icon { margin-bottom: 6px; font-size: 28px; }
.receipt-preview { margin-top: 12px; padding: 11px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px; }
.receipt-preview img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; }
.terms-check { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; color: #566579; font-size: 11.5px; line-height: 1.55; }
.terms-check input { margin-top: 3px; accent-color: var(--primary); }
.form-error { display: none; margin: 12px 0; padding: 10px 12px; border: 1px solid #fecaca; border-radius: 9px; color: #b91c1c; background: #fef2f2; font-size: 12px; }
.form-error.show { display: block; }
.secure-note { margin-top: 13px; padding: 11px 12px; display: flex; gap: 9px; border-radius: 10px; color: #53687f; background: #f1f6fb; font-size: 10.5px; line-height: 1.55; }
.order-summary { position: sticky; top: 91px; }
.summary-product { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.summary-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 13px; color: #fff; background: var(--pc, var(--primary)); font-weight: 850; }
.summary-icon img { width: 100%; height: 100%; object-fit: cover; }
.summary-row { padding: 10px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #edf1f6; color: var(--muted); font-size: 11.5px; }
.summary-row strong { color: var(--ink); text-align: right; }
.summary-total { padding-top: 14px; border-bottom: 0; font-size: 16px; }
.loading-line { height: 4px; overflow: hidden; border-radius: 999px; background: #e7eef7; }
.loading-line::after { content: ""; display: block; width: 35%; height: 100%; background: var(--primary); animation: loadingLine 1.2s infinite; }
.success-panel { padding: 15px 0; text-align: center; }
.success-check { width: 60px; height: 60px; margin: auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); font-size: 26px; }
.success-panel h1 { margin: 15px 0 5px; font-size: 25px; }
.order-number { display: inline-block; margin: 15px 0; padding: 10px 15px; border-radius: 10px; color: var(--primary); background: #eef4ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 800; }

.track-card { max-width: 920px; margin: auto; }
.track-card > h1 { margin: 6px 0 4px; font-size: 31px; letter-spacing: -.035em; }
.order-overview { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.order-overview-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.order-overview h2 { margin: 5px 0 2px; font-size: 22px; }
.order-status { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: var(--primary); background: #eaf2ff; font-size: 11px; font-weight: 800; }
.order-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 18px 0; }
.order-detail-box { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #f9fbfd; }
.order-detail-box span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.order-detail-box strong { display: block; margin-top: 4px; font-size: 12px; word-break: break-word; }
.status-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 19px 0; }
.status-step { position: relative; padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; text-align: center; font-size: 10px; font-weight: 700; }
.status-step.done { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); background: #f1f6ff; }
.order-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.invoice-preview { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.invoice-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.invoice-head h3 { margin: 0; font-size: 18px; }
.invoice-meta { text-align: right; color: var(--muted); font-size: 11px; }
.invoice-table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.invoice-table th, .invoice-table td { padding: 10px 8px; border-bottom: 1px solid #e9eef5; text-align: left; font-size: 11px; }
.invoice-table th { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.invoice-table .invoice-total td { border-bottom: 0; font-size: 14px; font-weight: 850; }

.toast { position: fixed; z-index: 100; right: 18px; bottom: 18px; max-width: 340px; padding: 11px 14px; transform: translateY(12px); opacity: 0; pointer-events: none; border-radius: 10px; color: #fff; background: var(--navy); box-shadow: var(--shadow-md); font-size: 12px; transition: .2s; }
.toast.show { transform: translateY(0); opacity: 1; }

body.motion-off *, body.motion-off *::before, body.motion-off *::after { animation: none !important; transition: none !important; }
body.motion-subtle .hero-orb, body.motion-subtle .float-card { animation-duration: 16s; }
body.density-compact .product-desc { min-height: 42px; -webkit-line-clamp: 2; }
body.density-compact .mini-meta { margin: 10px 0; }
body.shadow-none .product-card, body.shadow-none .checkout-card, body.shadow-none .track-card, body.shadow-none .buy-card { box-shadow: none; }
body.shadow-strong .product-card, body.shadow-strong .checkout-card, body.shadow-strong .track-card, body.shadow-strong .buy-card { box-shadow: 0 20px 55px rgba(25, 53, 93, .15); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: .55; box-shadow: 0 0 0 0 rgba(84,223,158,.3); } 50% { opacity: 1; box-shadow: 0 0 0 6px rgba(84,223,158,0); } }
@keyframes shine { 0%,55% { transform: translateX(-65%); } 78%,100% { transform: translateX(65%); } }
@keyframes loading { to { background-position: -200% 0; } }
@keyframes loadingLine { from { transform: translateX(-120%); } to { transform: translateX(320%); } }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-showcase { min-height: 330px; max-width: 620px; width: 100%; margin: auto; }
  .products-grid { grid-template-columns: repeat(min(var(--shop-columns, 3), 2), minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, var(--container)); }
  .topbar { font-size: 10.5px; }
  .nav-inner { min-height: 62px; }
  .brand > span:last-child { max-width: 160px; }
  .nav-actions .btn-outline { display: none; }
  .nav-actions .btn { min-height: 38px; padding: 8px 11px; font-size: 11px; }
  .hero { padding: 57px 0 54px; }
  .hero h1 { font-size: clamp(35px, 10vw, 46px); }
  .hero p { font-size: 14px; }
  .hero-showcase { display: none; }
  .search-card { padding: 10px; }
  .search-card .btn { display: none; }
  .section { padding: 52px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .products-grid { grid-template-columns: repeat(var(--shop-mobile-columns, 2), minmax(0, 1fr)); gap: 10px; align-items: stretch; }
  .stats-grid, .trust-grid, .steps, .detail-sections, .form-grid, .order-detail-grid { grid-template-columns: 1fr; }
  .product-card { border-radius: 14px; box-shadow: 0 5px 16px rgba(25,53,93,.055); }
  .product-card:hover { transform: none; }
  .product-cover { height: var(--mobile-product-image-height, 104px); }
  .product-fallback { width: 48px; height: 48px; border-radius: 14px; font-size: 15px; }
  .badge, .stock { top: 7px; padding: 4px 6px; font-size: 8px; box-shadow: 0 3px 9px rgba(0,0,0,.07); }
  .badge { left: 7px; max-width: calc(55% - 7px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stock { right: 7px; max-width: calc(48% - 7px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stock::before { width: 5px; height: 5px; margin-right: 3px; }
  .product-body, .product-card.compact .product-body { padding: 10px; }
  .product-cat { font-size: 8px; letter-spacing: .08em; }
  .product-card h3 { min-height: 34px; margin: 4px 0; overflow: hidden; display: -webkit-box; font-size: 13px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .product-desc { display: none; min-height: 31px; font-size: 10px; line-height: 1.45; -webkit-line-clamp: 2; }
  body.mobile-show-description .product-desc { display: -webkit-box; }
  .mini-meta { display: none; grid-template-columns: 1fr; gap: 4px; margin: 7px 0; }
  body.mobile-show-meta .mini-meta { display: grid; }
  .mini-meta div { padding: 5px 6px; border-radius: 7px; }
  .mini-meta span { font-size: 7px; }
  .mini-meta strong { margin-top: 1px; font-size: 9px; }
  .product-foot { padding-top: 8px; gap: 6px; align-items: flex-end; }
  .price { min-width: 0; }
  .price small { font-size: 7px; }
  .price strong { font-size: 16px; }
  .original-price { display: none; }
  .product-foot .btn { min-height: 31px; padding: 7px 8px; border-radius: 8px; font-size: 9px; white-space: nowrap; }
  body.mobile-density-compact .product-desc { display: none; }
  body.mobile-density-compact .mini-meta { display: none; }
  body.mobile-density-compact.mobile-show-meta .mini-meta { display: grid; grid-template-columns: 1fr; }

  .product-layout { grid-template-columns: 1fr; }
  .detail-media { height: 260px; }
  .buy-card { position: static; }
  .info-card.full, .field.full { grid-column: auto; }
  .payment-detail { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta { padding: 29px 20px; }
  .status-line { grid-template-columns: 1fr 1fr; }
  .invoice-head, .order-overview-head { flex-direction: column; }
  .invoice-meta { text-align: left; }
}

@media (max-width: 440px) {
  .container { width: min(100% - 18px, var(--container)); }
  .products-grid { gap: 8px; }
  .product-body, .product-card.compact .product-body { padding: 9px; }
  .product-card h3 { font-size: 12px; min-height: 31px; }
  .product-foot .btn { padding-inline: 7px; }
  .hero-actions .btn { width: 100%; }
  .pay-grid { grid-template-columns: 1fr; }
  .checkout-card, .track-card { padding: 18px; }
  .product-foot { align-items: flex-end; }
  body.mobile-cols-3 .badge, body.mobile-cols-4 .badge { display: none; }
  body.mobile-cols-3 .stock, body.mobile-cols-4 .stock { width: 17px; height: 17px; padding: 0; display: grid; place-items: center; font-size: 0; }
  body.mobile-cols-3 .stock::before, body.mobile-cols-4 .stock::before { width: 6px; height: 6px; margin: 0; }
  body.mobile-cols-3 .product-cover { height: 84px; }
  body.mobile-cols-3 .product-cat { display: none; }
  body.mobile-cols-3 .product-card h3 { min-height: 28px; font-size: 10.5px; }
  body.mobile-cols-3 .price strong { font-size: 13px; }
  body.mobile-cols-3 .product-foot { display: block; }
  body.mobile-cols-3 .product-foot .btn { width: 100%; margin-top: 6px; font-size: 8px; }
  body.mobile-cols-4 .product-cover { height: 68px; }
  body.mobile-cols-4 .product-cat, body.mobile-cols-4 .product-desc, body.mobile-cols-4 .mini-meta, body.mobile-cols-4 .price small { display: none !important; }
  body.mobile-cols-4 .product-body { padding: 6px; }
  body.mobile-cols-4 .product-card h3 { min-height: 25px; margin: 2px 0 4px; font-size: 9px; line-height: 1.25; }
  body.mobile-cols-4 .price strong { font-size: 11px; }
  body.mobile-cols-4 .product-foot { display: block; padding-top: 5px; }
  body.mobile-cols-4 .product-foot .btn { width: 100%; min-height: 25px; margin-top: 4px; padding: 4px 2px; font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Coupon checkout */
.coupon-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center}.coupon-entry input{width:100%;height:43px;border:1px solid var(--border);border-radius:10px;padding:0 12px;text-transform:uppercase;font-weight:800}.coupon-message{margin-top:9px;font-size:12px;line-height:1.55}.coupon-message.success{color:#087443;background:#ecfdf3;border:1px solid #b7ebcc;border-radius:9px;padding:9px 11px}.coupon-message.error{color:#b42318;background:#fff1f0;border:1px solid #fecaca;border-radius:9px;padding:9px 11px}.coupon-discount{color:#087443}.coupon-discount strong{color:#087443}@media(max-width:560px){.coupon-entry{grid-template-columns:1fr 1fr}.coupon-entry input{grid-column:1/-1}}

.wallet-session-status{padding:11px 13px;border:1px solid var(--border);border-radius:12px;background:#f7f9fd;color:var(--muted);font-size:12px}.wallet-payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.wallet-pay-choice{display:flex;gap:9px;align-items:flex-start;padding:13px;border:1px solid var(--border);border-radius:13px;background:#fff;cursor:pointer}.wallet-pay-choice input{margin-top:2px}.wallet-pay-choice strong{display:block;font-size:12px}.wallet-pay-choice small{display:block;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4}.wallet-pay-choice.disabled{opacity:.52;cursor:not-allowed}@media(max-width:700px){.wallet-payment-options{grid-template-columns:1fr}}

/* Checkout payment flow: persistent summary + staged remaining payment */
.checkout-payment-policy{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;margin-bottom:12px;border:1px solid #dbe7f5;border-radius:12px;background:#f7faff;font-size:12px}.checkout-payment-policy>div,.summary-policy-mini>div{display:flex;gap:7px;flex-wrap:wrap}.payment-policy-check{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:999px;background:#eaf7ef;color:#157347;font-size:10px;font-weight:800}.checkout-stage-actions{margin-top:16px}.checkout-stage-actions small{display:block;margin-top:8px;text-align:center;color:var(--muted);font-size:10px}.remaining-payment-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding:13px 15px;border:1px solid #cfe0ff;border-radius:12px;background:#eef5ff}.remaining-payment-banner strong{font-size:14px;color:var(--primary)}.remaining-payment-banner span{font-size:11px;color:var(--muted)}.summary-payment-heading{margin:18px 0 7px;padding-top:14px;border-top:1px solid var(--line);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}.summary-warning{color:#b42318}.summary-policy-mini{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}.summary-policy-mini>strong{display:block;margin-bottom:8px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.checkout-warning-box{display:grid;gap:5px;margin-bottom:10px;padding:12px 14px;border:1px solid #f3d5a7;border-radius:12px;background:#fff9ed}.checkout-warning-box strong{font-size:12px;color:#8a5600}.checkout-warning-box span{font-size:11px;line-height:1.55;color:#6f5a33}.pay-card{cursor:pointer;text-align:left}.pay-check{display:grid;place-items:center;color:#fff;font-size:9px;font-weight:900}.pay-card.active .pay-check{background:var(--primary);border:0}.order-summary .checkout-card{max-height:calc(100vh - 110px);overflow:auto}
@media(max-width:700px){.checkout-payment-policy{align-items:flex-start}.remaining-payment-banner{align-items:flex-start}.order-summary .checkout-card{max-height:none;overflow:visible}}


/* Mobile checkout total stays visible and shows an applied coupon with removal. */
.mobile-checkout-total-bar{display:none}
@media(max-width:700px){
  .checkout-grid{display:flex!important;flex-direction:column}
  .checkout-grid.hidden{display:none!important}
  .mobile-checkout-total-bar{position:sticky;top:0;z-index:45;order:-2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:11px 13px;border:1px solid #d7e2f2;border-radius:13px;background:rgba(255,255,255,.98);box-shadow:0 10px 25px rgba(25,53,93,.11);backdrop-filter:blur(14px)}
  .mobile-checkout-total-bar small,.mobile-checkout-total-bar strong{display:block}
  .mobile-checkout-total-bar small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}
  .mobile-checkout-total-bar strong{margin-top:2px;color:var(--primary);font-size:18px}
  .mobile-checkout-coupon{display:flex;align-items:center;gap:7px;max-width:62%;padding:6px 7px;border-radius:10px;background:#ecfdf3;color:#087443;font-size:9px;font-weight:800;line-height:1.3}
  .mobile-checkout-coupon.hidden{display:none}
  .mobile-checkout-coupon button{border:0;border-radius:999px;background:#fff;color:#b42318;padding:4px 7px;font-size:8px;font-weight:900}
  .order-summary{order:-1;position:static}
  #coupon-code[readonly]{background:#ecfdf3;border-color:#9dd9b5;color:#087443}
}


/* DTC product offers and automatic discount presentation */
.product-cover{position:relative}
.product-offer-tag{position:absolute;z-index:8;left:12px;top:12px;display:flex;flex-direction:column;align-items:flex-start;max-width:65%;padding:8px 11px;border-radius:10px;background:linear-gradient(135deg,#dc2626,#f04438);color:#fff;box-shadow:0 8px 20px rgba(220,38,38,.3);text-transform:uppercase;letter-spacing:.035em;line-height:1.05}
.product-offer-tag b{font-size:12px}.product-offer-tag small{margin-top:3px;font-size:9px;font-weight:700;opacity:.9}
.product-cover .badge.with-offer{top:58px}
.product-offer-note{margin:7px 0 2px;padding:8px 10px;border-left:3px solid #dc2626;border-radius:7px;background:#fff1f2;color:#9f1239;font-size:11px;font-weight:700;line-height:1.35}
.detail-offer-banner{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:14px;padding:13px 15px;border:1px solid #fecaca;border-radius:14px;background:linear-gradient(135deg,#fff1f2,#fff7ed);color:#991b1b}
.detail-offer-banner span,.buy-offer-tag{display:inline-flex;padding:6px 10px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.detail-offer-banner strong{font-size:13px}.detail-offer-banner small{width:100%;color:#9a3412;font-size:11px}
.buy-offer-tag{margin-bottom:8px}
.pkg-price del{display:block;margin-top:2px;color:var(--muted);font-size:11px;font-weight:500}
.checkout-offer-banner,.checkout-offer-notice{display:flex;flex-direction:column;gap:3px;margin:8px 0 13px;padding:11px 12px;border:1px solid #fecaca;border-radius:11px;background:#fff1f2;color:#991b1b}
.checkout-offer-banner strong,.checkout-offer-notice strong{font-size:12px;text-transform:uppercase;letter-spacing:.03em}.checkout-offer-banner span,.checkout-offer-notice span{font-size:11px;line-height:1.4}
.checkout-strike{text-decoration:line-through;color:var(--muted)!important}.summary-row.offer-saving{color:#b91c1c}.summary-row.offer-saving strong{color:#dc2626}
@media(max-width:640px){.product-offer-tag{left:7px;top:7px;padding:6px 8px;border-radius:8px;max-width:76%}.product-offer-tag b{font-size:9px}.product-offer-tag small{font-size:8px}.product-cover .badge.with-offer{top:44px}.product-offer-note{font-size:9px;padding:6px 7px;margin-top:5px}.detail-offer-banner{padding:10px 11px}.detail-offer-banner strong{font-size:11px}}


/* Enlarged payment QR preview */
body.qr-preview-open { overflow: hidden; }
.qr-preview-overlay { position: fixed; inset: 0; z-index: 10050; padding: 22px; display: grid; place-items: center; background: rgba(8, 20, 39, .76); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s ease; }
.qr-preview-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.qr-preview-dialog { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 44px); overflow: auto; padding: 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.34); text-align: center; transform: scale(.96); transition: transform .18s ease; }
.qr-preview-overlay.open .qr-preview-dialog { transform: scale(1); }
.qr-preview-heading span { color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.qr-preview-heading h2 { margin: 4px 38px 16px; font-size: 21px; }
.qr-preview-dialog img { display: block; width: min(390px, 100%); max-height: 62dvh; margin: 0 auto; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 12px; }
.qr-preview-dialog p { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.qr-preview-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 25px; line-height: 1; }

@media (max-width: 780px) {
  .payment-detail { grid-template-columns: 1fr; padding: 17px; gap: 16px; }
  .qr-visual { width: min(250px, 100%); margin: 0 auto; }
  .qr-box { min-height: auto; }
  .copy-value { padding: 13px; font-size: 13px; }
  .copy-btn { min-width: 94px; padding-inline: 13px; }
  .qr-preview-overlay { padding: 12px; }
  .qr-preview-dialog { padding: 20px 16px 17px; border-radius: 18px; }
  .qr-preview-dialog img { width: min(360px, 100%); max-height: 68dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-box.is-clickable, .qr-preview-overlay, .qr-preview-dialog { transition: none; }
}

/* Interactive payment-method accordion */
.pay-card em{display:block;margin-top:7px;color:var(--primary);font-size:10px;font-style:normal;font-weight:850}.payment-detail{position:relative}.payment-detail-close{position:absolute;top:10px;right:10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--primary);padding:7px 9px;font-size:10px;font-weight:850;cursor:pointer}.checkout-no-method{display:flex!important;flex-direction:column;gap:4px;grid-column:1/-1}.checkout-no-method strong{font-size:12px}.checkout-no-method span{font-size:11px;line-height:1.45}

/* 2026-08-02: checkout validation stays above buttons and is prominent on mobile */
.form-error.show{border-left:4px solid #dc2626;font-weight:750;line-height:1.45;box-shadow:0 8px 20px rgba(185,28,28,.08)}.form-error.show:before{content:"⚠ ";font-weight:900}@media(max-width:700px){.checkout-stage-actions{display:flex;flex-direction:column}.checkout-stage-actions .form-error{order:0;margin:0 0 10px}.checkout-stage-actions .btn{order:1}.checkout-stage-actions small{order:2}.checkout-card #form-error{margin:0 0 10px}}

/* ─── Product logo marquee + customer reviews (2026-08-23) ─────────────── */
.product-logo-section{padding:28px 0 22px;overflow:hidden}
.product-logo-heading{text-align:center;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#718096;margin-bottom:14px}
.product-logo-marquee{--logo-size:64px;--logo-gap:18px;--logo-speed:42s;overflow:hidden;position:relative;padding:4px 0;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.product-logo-track{display:flex;width:max-content;animation:dtc-product-logo-marquee var(--logo-speed) linear infinite;will-change:transform}
.product-logo-marquee.pause-on-hover:hover .product-logo-track{animation-play-state:paused}
.product-logo-group{display:flex;align-items:stretch;gap:var(--logo-gap);padding-right:var(--logo-gap)}
.product-logo-item{width:calc(var(--logo-size) + 50px);min-height:calc(var(--logo-size) + 42px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:11px 12px;border:1px solid #e6ecf5;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(15,42,74,.055)}
.product-logo-frame{width:var(--logo-size);height:var(--logo-size);display:grid;place-items:center;flex:0 0 var(--logo-size)}
.product-logo-frame img,.product-logo-fallback{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.product-logo-item>span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.7rem;font-weight:750;color:#53647a;text-align:center}
@keyframes dtc-product-logo-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

.reviews-section{background:linear-gradient(180deg,#f6f9fe 0%,#eef5ff 100%);overflow:hidden}
.reviews-head{justify-content:center;text-align:center;margin-bottom:22px}
.reviews-head>div{max-width:720px;margin:auto}
.reviews-slider{position:relative;display:grid;grid-template-columns:48px minmax(0,760px) 48px;align-items:center;justify-content:center;gap:12px}
.reviews-viewport{overflow:hidden;border-radius:22px}
.reviews-track{display:flex;transition:transform .55s cubic-bezier(.22,.8,.3,1);will-change:transform}
.review-slide{flex:0 0 100%;padding:4px}
.review-card{position:relative;min-height:275px;padding:34px 38px 30px;border:1px solid #dfe9f6;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(20,58,104,.09);display:flex;flex-direction:column;justify-content:center}
.review-quote{position:absolute;right:30px;top:12px;font-family:Georgia,serif;font-size:80px;line-height:1;color:#dce8fb;pointer-events:none}
.review-stars{position:relative;z-index:1;color:#f3a712;font-size:17px;letter-spacing:2px;margin-bottom:14px}
.review-text{position:relative;z-index:1;margin:0 0 24px;color:#26384f;font-size:1rem;line-height:1.82;font-weight:520}
.review-customer{position:relative;z-index:1;display:flex;align-items:center;gap:13px}
.review-avatar{width:60px;height:60px;flex:0 0 60px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,var(--primary),var(--accent));display:grid;place-items:center;color:#fff;font-size:1rem;font-weight:900;border:3px solid #edf4ff}
.review-avatar img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.review-customer strong{display:block;font-size:.9rem;color:#12243a}
.review-customer span{display:block;margin-top:3px;font-size:.72rem;color:#7b8ca3}
.review-arrow{width:44px;height:44px;border-radius:50%;border:1px solid #d8e5f4;background:#fff;color:#28598f;font-size:27px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 22px rgba(22,56,98,.08);transition:.2s ease}
.review-arrow:hover{transform:translateY(-1px);border-color:#bfd3ef;color:var(--primary)}
.review-dots{display:flex;justify-content:center;gap:7px;margin-top:17px}
.review-dot{width:8px;height:8px;border:0;border-radius:999px;padding:0;background:#bfd0e5;cursor:pointer;transition:.25s ease}
.review-dot.active{width:24px;background:var(--primary)}

body.motion-off .product-logo-track{animation-play-state:paused}
body.motion-off .reviews-track{transition:none}
@media (prefers-reduced-motion:reduce){.product-logo-track{animation:none!important}.reviews-track{transition:none!important}}
@media (max-width:760px){
  .product-logo-section{padding:20px 0 16px}
  .product-logo-heading{font-size:.68rem;margin-bottom:10px}
  .product-logo-marquee{--logo-size:52px!important;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
  .product-logo-item{width:96px;min-height:94px;padding:9px 8px;border-radius:13px}
  .product-logo-item>span{font-size:.62rem}
  .reviews-slider{grid-template-columns:minmax(0,1fr);gap:0}
  .review-arrow{position:absolute;z-index:3;width:38px;height:38px;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.94)}
  .review-arrow:hover{transform:translateY(-50%)}
  .review-prev{left:6px}.review-next{right:6px}
  .review-card{min-height:300px;padding:30px 34px 26px;border-radius:18px}
  .review-text{font-size:.91rem;line-height:1.72;margin-bottom:20px}
  .review-avatar{width:52px;height:52px;flex-basis:52px}
  .review-quote{right:24px;font-size:66px}
}
