:root {
  --ink: #0f172a;
  --nav: #0b1220;
  --nav2: #141d33;
  --bg: #f2f4f8;
  --card: #fff;
  --line: #e3e7ee;
  --mut: #667085;
  --pri: #2563eb;
  --prid: #1d4ed8;
  --acc: #ffb020;
  --accd: #f59e0b;
  --grn: #0f9d58;
  --red: #e5484d;
  --r: 14px;
  --sh: 0 8px 24px rgba(15, 23, 42, 0.08);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
em {
  font-style: normal;
}
:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 6px;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 70;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.top {
  background: var(--nav);
  color: #fff;
}
.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.4px;
  white-space: nowrap;
  color: #fff;
}
.logo b {
  color: var(--acc);
  font-weight: 800;
}
.mark {
  margin-right: 9px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--acc), #ff7a18);
  color: var(--nav);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.pin {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.pin:hover {
  border-color: #334155;
}
.pin small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.1;
}
.pin strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.pin i {
  font-size: 17px;
}
.search {
  flex: 1;
  position: relative;
  display: flex;
  max-width: 780px;
}
.search input {
  width: 100%;
  border: 0;
  border-radius: 12px 0 0 12px;
  padding: 12px 16px;
  background: #fff;
  outline: 0;
  color: var(--ink);
  min-width: 0;
}
.sbtn {
  width: 54px;
  background: var(--acc);
  color: var(--nav);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
}
.sbtn:hover {
  background: var(--accd);
}
.suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.3);
  overflow: hidden;
  display: none;
  z-index: 80;
}
.suggest a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.suggest a:hover,
.suggest a.hl {
  background: #eef3ff;
}
.suggest .pic {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
}
.suggest small {
  color: var(--mut);
  display: block;
}
.suggest mark {
  background: none;
  color: var(--pri);
  font-weight: 700;
}
.suggest .sh {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--mut);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #f8fafc;
}
.acts {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.act {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid transparent;
  text-align: left;
}
.act:hover {
  border-color: #334155;
}
.act i {
  font-size: 19px;
}
.act small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.1;
}
.act strong {
  font-size: 13px;
  font-weight: 600;
}
.act em {
  position: absolute;
  top: 1px;
  left: 26px;
  background: var(--acc);
  color: var(--nav);
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}
.act.cart {
  background: #1c2845;
}
.cats {
  background: var(--nav2);
  border-top: 1px solid #1f2b47;
}
.cats .wrap {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats a {
  white-space: nowrap;
  color: #d4dbe8;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}
.cats a i {
  margin-right: 7px;
  color: #7e8cab;
}
.cats a:hover,
.cats a.on {
  color: #fff;
  border-bottom-color: var(--acc);
}
.cats a.on i,
.cats a:hover i {
  color: var(--acc);
}

/* ===== common ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  background: var(--acc);
  color: var(--nav);
  transition: 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--accd);
  transform: translateY(-1px);
}
.btn.blue {
  background: var(--pri);
  color: #fff;
}
.btn.blue:hover {
  background: var(--prid);
}
.btn.dark {
  background: var(--nav);
  color: #fff;
}
.btn.dark:hover {
  background: #1c2845;
}
.btn.ghost {
  background: #fff;
  border: 1.5px solid var(--line);
}
.btn.ghost:hover {
  border-color: var(--ink);
  background: #fff;
}
.btn.full {
  width: 100%;
}
.btn.sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}
.btn.lg {
  padding: 14px 28px;
  font-size: 15px;
}
.sec {
  margin: 34px 0;
}
.sh {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sh h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.sh p {
  color: var(--mut);
  font-size: 13px;
}
.sh a.more {
  color: var(--pri);
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.sh a.more:hover {
  text-decoration: underline;
}
.panel {
  background: var(--card);
  border-radius: var(--r);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--line);
}
.crumb {
  font-size: 12.5px;
  color: var(--mut);
  padding: 16px 0 6px;
}
.crumb a:hover {
  color: var(--pri);
}
.green {
  color: var(--grn);
}
.mut {
  color: var(--mut);
}

/* image box with graceful placeholder */
.pic {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    hsl(var(--h, 220) 70% 96%),
    hsl(var(--h, 220) 60% 90%)
  );
  border-radius: 10px;
  aspect-ratio: 1/1;
}
.pic .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: hsl(var(--h, 220) 50% 62%);
  opacity: 0.8;
}
.pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition:
    transform 0.4s,
    opacity 0.3s;
}
.pic img.alt {
  opacity: 0;
}
.pic.sm .ph {
  font-size: 20px;
}

/* ===== home ===== */
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
  height: 420px;
}
.hero {
  grid-row: 1/3;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  padding: 0 48px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s;
}
.slide.on {
  opacity: 1;
  visibility: visible;
}
.slide .tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.slide h1 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 800;
  margin-bottom: 12px;
}
.slide p {
  opacity: 0.9;
  font-size: 15px;
  margin-bottom: 22px;
  max-width: 420px;
}
.slide .shot {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 340px;
  justify-self: center;
  width: min(100%, 330px);
}
.slide .shot .pic {
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border: 8px solid rgba(255, 255, 255, 0.25);
}
.slide .shot .pic img {
  object-fit: cover;
}
.slide .price {
  position: absolute;
  right: -6px;
  bottom: 18px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: var(--sh);
  font-weight: 800;
}
.slide .price small {
  display: block;
  font-weight: 500;
  color: var(--mut);
  font-size: 11px;
}
.sl1 {
  background: linear-gradient(120deg, #0b1220, #1e3a8a);
}
.sl2 {
  background: linear-gradient(120deg, #7c2d12, #ea580c);
}
.sl3 {
  background: linear-gradient(120deg, #064e3b, #10b981);
}
.dots {
  position: absolute;
  bottom: 16px;
  left: 48px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.4);
  transition: 0.3s;
}
.dots button.on {
  width: 28px;
  background: #fff;
}
.hbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.hbtn:hover {
  background: rgba(255, 255, 255, 0.4);
}
.hbtn.l {
  left: 10px;
}
.hbtn.r {
  right: 10px;
}
.tile {
  border-radius: 20px;
  padding: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tile b {
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.4px;
  max-width: 58%;
}
.tile span {
  font-size: 13px;
  opacity: 0.9;
  margin: 4px 0 10px;
  max-width: 60%;
}
.tile u {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.tile .pic {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 44%;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
}
.tile .pic img {
  object-fit: cover;
}
.t1 {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
}
.t2 {
  background: linear-gradient(135deg, #9f1239, #f43f5e);
}
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
}
.perks div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}
.perks div:last-child {
  border: 0;
}
.perks i {
  font-size: 20px;
  color: var(--pri);
  width: 40px;
  height: 40px;
  background: #eaf0ff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.perks b {
  display: block;
  font-size: 13.5px;
}
.perks span {
  font-size: 12px;
  color: var(--mut);
}
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.ccard {
  background: #fff;
  border-radius: var(--r);
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 0 0 1px var(--line);
  transition: 0.2s;
}
.ccard:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}
.ccard .pic {
  margin-bottom: 9px;
}
.deal {
  background: linear-gradient(120deg, #fff4d6, #ffe3b0);
  border-radius: 20px;
  padding: 20px 20px 16px;
  box-shadow: 0 0 0 1px #f4d9a0;
}
.deal .sh h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cd {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-weight: 800;
  font-size: 13px;
  color: #7c2d12;
}
.cd span {
  background: var(--nav);
  color: #fff;
  border-radius: 7px;
  padding: 3px 7px;
  min-width: 30px;
  text-align: center;
}
.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bn {
  border-radius: 18px;
  padding: 24px;
  color: #fff;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bn b {
  font-size: 22px;
  letter-spacing: -0.4px;
  line-height: 1.15;
}
.bn span {
  margin: 4px 0 12px;
  font-size: 13px;
  opacity: 0.92;
  max-width: 62%;
}
.bn u {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.bn i {
  position: absolute;
  right: 14px;
  bottom: -8px;
  font-size: 92px;
  opacity: 0.2;
}
.b1 {
  background: linear-gradient(120deg, #0f172a, #334155);
}
.b2 {
  background: linear-gradient(120deg, #0e7490, #22d3ee);
}
.b3 {
  background: linear-gradient(120deg, #a21caf, #e879f9);
}
.brands {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.brands a {
  padding: 10px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 800;
  color: #475467;
  letter-spacing: 0.3px;
}
.brands a:hover {
  color: var(--pri);
  box-shadow: 0 0 0 2px var(--pri);
}
.news {
  background: var(--nav);
  color: #fff;
  border-radius: 20px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.news h3 {
  font-size: 24px;
  letter-spacing: -0.4px;
}
.news p {
  color: #94a3b8;
}
.news form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 440px;
  min-width: 260px;
}
.news input {
  flex: 1;
  border-radius: 12px;
  padding: 12px 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  min-width: 0;
}

/* rails & cards */
.railw {
  position: relative;
}
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail .card {
  flex: 0 0 214px;
  scroll-snap-align: start;
}
.rb {
  position: absolute;
  top: 38%;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh);
  display: grid;
  place-items: center;
}
.rb:hover {
  background: var(--nav);
  color: #fff;
}
.rb.l {
  left: -14px;
}
.rb.r {
  right: -14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 14px;
}
.card {
  background: #fff;
  border-radius: var(--r);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 0 1px var(--line);
  transition: 0.2s;
}
.card:hover {
  box-shadow:
    0 0 0 1px #c7d2e5,
    var(--sh);
}
.card:hover .pic img.alt {
  opacity: 1;
}
.card .pic {
  border-radius: 10px;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 7px;
}
.wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  color: #667085;
  display: grid;
  place-items: center;
}
.wish:hover,
.wish.on {
  color: var(--red);
}
.cbody {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 10px;
}
.brand {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.card h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.card h3 a:hover {
  color: var(--pri);
}
.rt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mut);
}
.rt b {
  background: var(--grn);
  color: #fff;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11.5px;
}
.rt b i {
  font-size: 9px;
  margin-left: 2px;
}
.pr {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 8px 0 2px;
  flex-wrap: wrap;
}
.pr strong {
  font-size: 18px;
  font-weight: 800;
}
.pr s {
  color: var(--mut);
  font-size: 12.5px;
}
.pr span {
  color: var(--grn);
  font-weight: 700;
  font-size: 12.5px;
}
.low {
  font-size: 12px;
  color: #c2410c;
  font-weight: 600;
  min-height: 18px;
}
.free {
  font-size: 12px;
  color: var(--mut);
}
.card .btn {
  margin-top: 10px;
  width: 100%;
  padding: 9px;
}
.rbtn {
  position: absolute;
}

/* ===== listing ===== */
.lhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
}
.lhead h1 {
  font-size: 24px;
  letter-spacing: -0.4px;
}
.lhead h1 small {
  font-size: 13px;
  color: var(--mut);
  font-weight: 500;
  margin-left: 6px;
}
.tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tools select {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  outline: 0;
}
.fbtn {
  display: none;
}
.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
  align-items: start;
}
.filters {
  padding: 16px;
  position: sticky;
  top: 122px;
  max-height: calc(100vh - 140px);
  overflow: auto;
}
.filters h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--mut);
  margin: 0 0 8px;
}
.filters .grp {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.filters .grp:last-of-type {
  border: 0;
}
.filters label {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 4px 0;
  cursor: pointer;
  font-size: 13.5px;
}
.filters input {
  accent-color: var(--pri);
  width: 16px;
  height: 16px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 30px;
  background: #e8efff;
  color: var(--prid);
  font-weight: 600;
  font-size: 12.5px;
}
.chip:hover {
  background: #d7e4ff;
}
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--mut);
}
.empty i {
  font-size: 54px;
  color: #c3cbda;
  margin-bottom: 14px;
}
.empty h2,
.empty h3 {
  color: var(--ink);
  margin-bottom: 6px;
}
.empty .btn {
  margin-top: 16px;
}

/* ===== product page ===== */
.pd {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 340px;
  gap: 26px;
  padding: 22px;
  align-items: start;
}
.gal {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
}
.thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thumbs button {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--line);
}
.thumbs button.on {
  box-shadow: 0 0 0 2.5px var(--pri);
}
.thumbs .pic {
  border-radius: 0;
}
.zoom {
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 0 0 1px var(--line);
}
.zoom .pic {
  border-radius: 0;
}
.zoom .pic img {
  transition: transform 0.15s;
}
.zoom:hover .pic img {
  transform: scale(1.9);
}
.pd h1 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 4px 0 8px;
}
.pd .bl {
  color: var(--pri);
  font-weight: 700;
  font-size: 13px;
}
.pd .bl:hover {
  text-decoration: underline;
}
.pd .rt {
  font-size: 13px;
}
.pd hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
.big {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.big strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.big s {
  color: var(--mut);
  font-size: 15px;
}
.big span {
  color: var(--red);
  font-weight: 800;
  font-size: 16px;
}
.tax {
  font-size: 12px;
  color: var(--mut);
}
.lbl {
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0 8px;
}
.lbl span {
  font-weight: 500;
  color: var(--mut);
}
.opts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.opt {
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 0 0 1.5px var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 13.5px;
}
.opt:hover {
  box-shadow: 0 0 0 1.5px var(--ink);
}
.opt.on {
  box-shadow: 0 0 0 2px var(--pri);
  background: #eef3ff;
  color: var(--prid);
}
.sw {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sw i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.offers div {
  border: 1px dashed #b7c4dc;
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
}
.offers b {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.specs td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.specs td:first-child {
  color: var(--mut);
  width: 38%;
}
.bb {
  padding: 18px;
  position: sticky;
  top: 122px;
}
.bb .price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.bb .del {
  background: #f2f7ff;
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  font-size: 13px;
}
.bb .del b {
  display: block;
}
.pinrow {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pinrow input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 0;
  outline: 0;
}
.pinrow input:focus {
  border-color: var(--pri);
}
.stock {
  font-weight: 800;
  font-size: 16px;
  margin: 6px 0;
}
.qty {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 0 0 1.5px var(--line);
  overflow: hidden;
  background: #fff;
}
.qty button {
  width: 36px;
  height: 36px;
  font-size: 13px;
}
.qty button:hover {
  background: #eef3ff;
}
.qty span {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
}
.bb .btn {
  margin-top: 10px;
}
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--mut);
}
.assure i {
  display: block;
  font-size: 20px;
  color: var(--pri);
  margin-bottom: 3px;
}
.sect {
  padding: 22px;
  margin-top: 18px;
}
.sect h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.rv {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.score {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
}
.stars {
  color: #f5a524;
  letter-spacing: 2px;
  font-size: 15px;
}
.dist {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}
.dist div {
  display: grid;
  grid-template-columns: 34px 1fr 36px;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
}
.dist i {
  height: 8px;
  background: #e8ecf3;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.dist i b {
  display: block;
  height: 100%;
  background: #f5a524;
}
.rvi {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rvi:last-child {
  border: 0;
}
.rvi p {
  margin-top: 4px;
}
.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #dbe5ff;
  color: var(--prid);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  margin-right: 8px;
}
.buybar {
  display: none;
}

/* ===== cart / checkout ===== */
.pt {
  font-size: 26px;
  letter-spacing: -0.6px;
  margin: 18px 0 14px;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}
.sum {
  padding: 18px;
  position: sticky;
  top: 122px;
}
.sum h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0;
  font-size: 14px;
}
.row.t {
  font-size: 18px;
  font-weight: 800;
  border-top: 1px dashed #cdd5e3;
  padding-top: 12px;
  margin-top: 12px;
}
.cpn {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
}
.cpn input {
  flex: 1;
  border: 1.5px dashed #b7c4dc;
  border-radius: 10px;
  padding: 9px 12px;
  text-transform: uppercase;
  outline: 0;
  min-width: 0;
}
.cpn input:focus {
  border-color: var(--pri);
}
.cpl {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cpl button {
  border: 1px dashed var(--pri);
  color: var(--prid);
  background: #f3f7ff;
  border-radius: 8px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
}
.ship {
  background: #ecfdf3;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #05603a;
}
.ship .bar {
  height: 7px;
  background: #c6f0d6;
  border-radius: 5px;
  margin-top: 8px;
  overflow: hidden;
}
.ship .bar i {
  display: block;
  height: 100%;
  background: var(--grn);
  border-radius: 5px;
  transition: 0.4s;
}
.ci {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.ci:last-child {
  border: 0;
}
.ci h4 {
  font-size: 14.5px;
  line-height: 1.35;
}
.ci small {
  color: var(--mut);
}
.link {
  color: var(--pri);
  font-weight: 600;
  font-size: 12.5px;
}
.link:hover {
  text-decoration: underline;
}
.link.red {
  color: var(--red);
}
.steps {
  display: flex;
  justify-content: center;
  margin: 20px 0 4px;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mut);
  font-weight: 600;
  font-size: 13px;
}
.step b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dfe4ee;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.step.on {
  color: var(--ink);
}
.step.on b {
  background: var(--pri);
  color: #fff;
}
.step + .step:before {
  content: "";
  width: 48px;
  height: 2px;
  background: #cdd5e3;
  margin: 0 10px;
}
.cbox {
  padding: 20px;
  margin-bottom: 14px;
}
.cbox h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 14px;
}
.cbox h3 span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--nav);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.frm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.frm .full {
  grid-column: 1/-1;
}
.fld label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mut);
  margin-bottom: 5px;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: #fff;
  outline: 0;
  transition: 0.15s;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 3px #dbe7ff;
}
.fld .em {
  display: none;
  color: var(--red);
  font-size: 12px;
  margin-top: 3px;
}
.fld.err input,
.fld.err textarea {
  border-color: var(--red);
}
.fld.err .em {
  display: block;
}
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  box-shadow: 0 0 0 1.5px var(--line);
  cursor: pointer;
  transition: 0.15s;
}
.choice:hover {
  box-shadow: 0 0 0 1.5px #9db2d8;
}
.choice:has(input:checked) {
  box-shadow: 0 0 0 2px var(--pri);
  background: #f5f9ff;
}
.choice input {
  accent-color: var(--pri);
  width: 17px;
  height: 17px;
}
.choice i.ic {
  font-size: 19px;
  color: var(--pri);
  width: 26px;
  text-align: center;
}
.choice div {
  flex: 1;
}
.choice small {
  display: block;
  color: var(--mut);
  font-size: 12px;
}
.choice b.r {
  font-weight: 700;
}
.payf {
  margin-top: 12px;
  background: #f7f9fc;
  border-radius: 12px;
  padding: 14px;
}
.mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
}
.mini .pic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.mini > div:nth-child(2) {
  flex: 1;
  line-height: 1.3;
}
.done {
  max-width: 640px;
  margin: 34px auto;
  text-align: center;
  padding: 40px 26px;
}
.tick {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--grn);
  display: grid;
  place-items: center;
  font-size: 40px;
  margin: 0 auto 14px;
  animation: pop 0.5s;
}
@keyframes pop {
  0% {
    transform: scale(0.3);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.oid {
  display: inline-block;
  background: #eef3ff;
  color: var(--prid);
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 10px 0 16px;
}

/* orders / tracking */
.oc {
  padding: 18px;
  margin-bottom: 14px;
}
.oh {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
  font-size: 13px;
}
.oh b {
  display: block;
  font-size: 14px;
}
.oh small {
  color: var(--mut);
}
.thr {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.thr .pic {
  width: 56px;
  height: 56px;
}
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  background: #fff3d6;
  color: #9a5b00;
}
.tag.g {
  background: #dcfce7;
  color: #05603a;
}
.tbox {
  display: flex;
  gap: 8px;
  max-width: 520px;
}
.tbox input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  outline: 0;
  min-width: 0;
  background: #fff;
}
.tbox input:focus {
  border-color: var(--pri);
}
.tl {
  margin: 6px 0 0 4px;
}
.tl .it {
  display: flex;
  gap: 16px;
  padding-bottom: 26px;
  position: relative;
}
.tl .it:last-child {
  padding-bottom: 0;
}
.tl .it:before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 3px;
  background: #dfe4ee;
}
.tl .it:last-child:before {
  display: none;
}
.tl .it.d:before {
  background: var(--grn);
}
.tl .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dfe4ee;
  color: var(--mut);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.tl .it.d .ic {
  background: var(--grn);
  color: #fff;
}
.tl .it.c .ic {
  background: var(--acc);
  color: var(--nav);
  box-shadow: 0 0 0 6px #ffe9b8;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px #ffe9b800;
  }
}
.tl h4 {
  font-size: 14.5px;
}
.tl small {
  color: var(--mut);
}
.tl .it:not(.d):not(.c) {
  opacity: 0.5;
}

/* ===== footer / drawer / modal ===== */
.footer {
  background: var(--nav);
  color: #9aa7bf;
  margin-top: 50px;
}
.totop {
  display: block;
  width: 100%;
  background: #1c2845;
  color: #fff;
  padding: 13px;
  font-weight: 600;
  font-size: 13px;
}
.totop:hover {
  background: #26365d;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-top: 36px;
}
.footer h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer a:not(.logo),
.footer p {
  display: block;
  margin: 6px 0;
  font-size: 13.5px;
}
.footer a:hover {
  color: var(--acc);
}
.fabout {
  margin: 12px 0;
}
.footer p i {
  color: var(--acc);
  margin-right: 7px;
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c2845;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  color: #fff;
}
.copy {
  border-top: 1px solid #1c2845;
  margin-top: 30px;
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 90;
}
.overlay.on {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: #fff;
  z-index: 100;
  transform: translateX(105%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(2, 6, 23, 0.25);
}
.drawer.on {
  transform: none;
}
.dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.dh h3 {
  font-size: 18px;
}
.dh button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
}
.dh button:hover {
  background: #eef1f6;
}
.db {
  flex: 1;
  overflow: auto;
  padding: 6px 18px;
}
.df {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05);
}
.di {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.di:last-child {
  border: 0;
}
.di h4 {
  font-size: 13.5px;
  line-height: 1.3;
}
.di .qr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.on {
  display: flex;
}
.mbox {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  width: 420px;
  max-width: 100%;
  max-height: 92vh;
  overflow: auto;
}
.mbox h3 {
  margin-bottom: 6px;
  font-size: 19px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 40px);
  opacity: 0;
  background: var(--nav);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  z-index: 200;
  transition: 0.25s;
  pointer-events: none;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: var(--sh);
}
.toast.on {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast i {
  color: #4ade80;
  margin-right: 8px;
}
.bnav {
  display: none;
}

/* ===== responsive ===== */
@media (max-width: 1180px) {
  .pd {
    grid-template-columns: 1fr 1fr;
  }
  .bb {
    grid-column: 1/-1;
    position: static;
  }
  .hide-md {
    display: none;
  }
  .pin small {
    display: none;
  }
}
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .hero {
    grid-row: auto;
    height: 380px;
  }
  .tile {
    min-height: 130px;
  }
  .bento .t1,
  .bento .t2 {
    display: none;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .fbtn {
    display: inline-flex;
  }
  .filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 82vh;
    z-index: 105;
    border-radius: 20px 20px 0 0;
    transform: translateY(105%);
    transition: 0.3s;
    box-shadow: 0 -20px 50px rgba(2, 6, 23, 0.3);
  }
  .filters.on {
    transform: none;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .sum {
    position: static;
  }
  .perks {
    grid-template-columns: repeat(2, 1fr);
  }
  .perks div:nth-child(2) {
    border-right: 0;
  }
  .banners {
    grid-template-columns: 1fr;
  }
  .rv {
    grid-template-columns: 1fr;
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  body {
    padding-bottom: 62px;
  }
  .wrap {
    padding: 0 14px;
  }
  .hide-sm {
    display: none;
  }
  .bar {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .logo {
    font-size: 20px;
  }
  .mark {
    width: 30px;
    height: 30px;
  }
  .pin {
    order: 2;
    margin-left: auto;
    padding: 4px 8px;
  }
  .pin strong {
    font-size: 12px;
  }
  .acts {
    order: 3;
    margin-left: 0;
  }
  .search {
    order: 4;
    flex-basis: 100%;
    max-width: none;
  }
  .act {
    padding: 8px;
  }
  .act span {
    display: none;
  }
  .act em {
    left: auto;
    right: -3px;
    top: 0;
  }
  .bar .logo {
    margin-right: auto;
  }
  .pin {
    margin-left: 0;
  }
  .hero {
    height: 360px;
    border-radius: 16px;
  }
  .slide {
    grid-template-columns: 1fr;
    padding: 0 22px;
    align-content: center;
  }
  .slide .shot {
    display: none;
  }
  .slide h1 {
    font-size: 30px;
  }
  .dots {
    left: 22px;
  }
  .hbtn {
    display: none;
  }
  .sh h2 {
    font-size: 18px;
  }
  .rail .card {
    flex-basis: 164px;
  }
  .rb {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .card {
    padding: 8px;
  }
  .card h3 {
    font-size: 13px;
  }
  .pr strong {
    font-size: 16px;
  }
  .pd {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 16px;
  }
  .gal {
    grid-template-columns: 1fr;
  }
  .thumbs {
    flex-direction: row;
    order: 2;
  }
  .thumbs button {
    width: 60px;
  }
  .pd h1 {
    font-size: 20px;
  }
  .big strong {
    font-size: 26px;
  }
  .offers {
    grid-template-columns: 1fr;
  }
  .bb {
    display: none;
  }
  .buybar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 58px;
    background: #fff;
    padding: 10px 14px;
    gap: 10px;
    align-items: center;
    z-index: 60;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.14);
  }
  .buybar .btn {
    flex: 1;
    padding: 12px;
  }
  .buybar b {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
  }
  .buybar small {
    color: var(--mut);
    display: block;
    font-size: 11px;
    font-weight: 500;
  }
  .frm {
    grid-template-columns: 1fr;
  }
  .ci {
    grid-template-columns: 76px 1fr;
  }
  .ci > div:last-child {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .step + .step:before {
    width: 18px;
    margin: 0 6px;
  }
  .step span {
    display: none;
  }
  .step.on span {
    display: inline;
  }
  .news {
    padding: 22px;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
  .bnav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    z-index: 65;
    justify-content: space-around;
    padding: 6px 0 7px;
  }
  .bnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 11px;
    color: var(--mut);
    position: relative;
    font-weight: 600;
    min-width: 52px;
  }
  .bnav a i {
    font-size: 18px;
  }
  .bnav a.on {
    color: var(--pri);
  }
  .bnav em {
    position: absolute;
    top: -4px;
    right: 6px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
  }
  .toast {
    bottom: 76px;
  }
  .drawer {
    width: 100%;
  }
  .rv {
    gap: 18px;
  }
  .sect {
    padding: 16px;
  }
  .pt {
    font-size: 22px;
  }
}
@media print {
  .header,
  .footer,
  .bnav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
