/* SEOT MARKET — design system
   Navy structure, coral action, cool canvas. PC + H5. */

:root {
  --navy: #17304f;
  --navy-2: #1f3d60;
  --navy-3: #2b4b71;
  --navy-deep: #0e2339;
  --coral: #e66f4e;
  --coral-2: #d45c3b;
  --coral-soft: #fbeae3;
  --sand: #f2ece2;
  --ink: #17243a;
  --muted: #66748a;
  --faint: #93a0b2;
  --line: #e2e7ed;
  --line-soft: #eef1f5;
  --canvas: #f5f6f8;
  --paper: #ffffff;
  --success: #2f7d5d;
  --success-soft: #e8f4ee;
  --danger: #c4453b;
  --star: #f0a13c;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-sm: 9px;
  --shadow-s: 0 1px 2px rgba(16, 35, 57, 0.06);
  --shadow-m: 0 12px 32px -14px rgba(16, 35, 57, 0.22);
  --shadow-l: 0 36px 70px -34px rgba(16, 35, 57, 0.34);
  --container: 1240px;
  --font-display: "DM Sans", "Inter", "Segoe UI", system-ui, -apple-system,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    sans-serif;
  --font-body: "Inter", "DM Sans", "Segoe UI", system-ui, -apple-system,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--coral);
  color: #fff;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--tight {
  padding: 44px 0;
}

.section--paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head__kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--coral);
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.section-head__desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}

.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}

.section-head__link:hover {
  color: var(--coral);
  border-color: var(--coral);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s,
    transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(230, 111, 78, 0.85);
}

.btn--primary:hover {
  background: var(--coral-2);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-2);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: #fff;
}

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover {
  background: var(--sand);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
  font-weight: 700;
  font-size: 14px;
}

.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 20px;
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.topbar__note .icon {
  width: 15px;
  height: 15px;
  color: var(--coral);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.topbar__link:hover {
  color: #fff;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-switch .icon {
  width: 13px;
  height: 13px;
}

.lang-switch:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 78px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
}

.logo span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--coral);
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 6px 0 16px;
  background: var(--canvas);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.search:focus-within {
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(23, 48, 79, 0.07);
}

.search .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.search input::placeholder {
  color: var(--faint);
}

.search__btn {
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.search__btn:hover {
  background: var(--coral);
}

.hdr__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.hdr__action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 58px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.hdr__action .icon {
  width: 21px;
  height: 21px;
}

.hdr__action:hover {
  background: var(--canvas);
  color: var(--coral);
}

.badge {
  position: absolute;
  top: 2px;
  right: 10px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.nav {
  border-top: 1px solid var(--line-soft);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 8px;
  color: #33445c;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}

.nav__link .icon {
  width: 16px;
  height: 16px;
}

.nav__link:hover {
  color: var(--navy);
  background: var(--canvas);
}

.nav__link.is-active {
  color: var(--navy);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--coral);
}

.nav__link--all {
  color: var(--navy);
  font-weight: 700;
}

.nav__spacer {
  flex: 1;
}

.nav__link--sale {
  color: var(--coral);
}

.nav__link--sale:hover {
  background: var(--coral-soft);
  color: var(--coral-2);
}

.nav__link {
  position: relative;
}

/* mobile-only header bar */
.mbar {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero__in {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 532px;
}

.hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 24px;
  max-width: 600px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--coral);
}

.hero h1 {
  color: #fff;
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--coral);
}

.hero__desc {
  margin: 22px 0 32px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__meta {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero__meta span {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  min-height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    rgba(23, 48, 79, 0.55) 22%,
    rgba(23, 48, 79, 0) 55%
  );
}

.hero__stamp {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  text-align: center;
}

.hero__stamp strong {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: #fff;
}

.hero__stamp span {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Deals ---------- */
.deals {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.deals__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 0;
}

.deals__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.deals__title .icon {
  width: 20px;
  height: 20px;
  color: var(--coral);
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.countdown b {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 28px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.deals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0 26px;
}

.deal {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.deal:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}

.deal__media {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--canvas);
}

.deal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.deal:hover .deal__media img {
  transform: scale(1.06);
}

.deal__body {
  min-width: 0;
}

.deal__label {
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deal__name {
  display: block;
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.deal__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.deal__price strong {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 17px;
}

.deal__price s {
  color: var(--faint);
  font-size: 12px;
}

.deal__off {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--coral-soft);
  color: var(--coral-2);
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3.2;
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.cat-tile:hover img {
  transform: scale(1.06);
}

.cat-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 35, 57, 0.02) 30%,
    rgba(14, 35, 57, 0.72) 100%
  );
}

.cat-tile__body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
}

.cat-tile__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.cat-tile__body span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Products ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 18px;
}

.pgrid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.12;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef0f3;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.pcard.is-added .pcard__media {
  box-shadow: 0 0 0 2px var(--coral);
}

.pcard.is-added .pcard__quick {
  opacity: 1;
  transform: none;
  background: var(--coral);
  color: #fff;
}

.pcard:hover .pcard__media img {
  transform: scale(1.05);
}

.pcard__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--coral);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pcard__tag--new {
  background: var(--navy);
}

.pcard__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: var(--shadow-s);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, color 0.2s, background 0.2s;
}

.pcard__wish .icon {
  width: 17px;
  height: 17px;
}

.pcard:hover .pcard__wish,
.pcard__wish.is-on {
  opacity: 1;
  transform: none;
}

.pcard__wish:hover {
  background: #fff;
  color: var(--coral);
}

.pcard__wish.is-on {
  color: #fff;
  background: var(--coral);
}

.pcard__quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s, transform 0.22s, background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}

.pcard:hover .pcard__quick {
  opacity: 1;
  transform: none;
}

.pcard__quick:hover {
  background: var(--navy);
  color: #fff;
}

.pcard__body {
  padding: 12px 2px 0;
}

.pcard__brand {
  display: block;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pcard__name {
  display: block;
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 39px;
  transition: color 0.2s;
}

.pcard:hover .pcard__name {
  color: var(--coral-2);
}

.pcard__rate {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 11px;
}

.pcard__rate .stars {
  display: inline-flex;
  gap: 1px;
}

.pcard__rate .stars svg {
  width: 11px;
  height: 11px;
  color: var(--star);
}

.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
}

.pcard__price strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.pcard__price s {
  color: var(--faint);
  font-size: 11.5px;
}

.pcard__price .off {
  color: var(--coral-2);
  font-size: 10.5px;
  font-weight: 700;
}

.stars {
  color: var(--star);
}

/* ---------- Promo split ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.promo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 296px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}

.promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.promo:hover img {
  transform: scale(1.04);
}

.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 35, 57, 0.78) 0%,
    rgba(14, 35, 57, 0.3) 55%,
    rgba(14, 35, 57, 0.05) 100%
  );
}

.promo--right::after {
  background: linear-gradient(
    270deg,
    rgba(14, 35, 57, 0.78) 0%,
    rgba(14, 35, 57, 0.25) 55%,
    rgba(14, 35, 57, 0.02) 100%
  );
}

.promo__body {
  position: relative;
  z-index: 2;
  padding: 38px;
  max-width: 340px;
  color: #fff;
}

.promo--right .promo__body {
  margin-left: auto;
  text-align: right;
}

.promo__kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.promo h3 {
  color: #fff;
  font-size: 29px;
  line-height: 1.06;
}

.promo p {
  margin: 10px 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}

/* ---------- Brand strip ---------- */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-strip a {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 14px;
  background: #fff;
  color: #728096;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.brand-strip a:hover {
  color: var(--navy);
  background: var(--canvas);
}

/* ---------- Value props ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.value__icon .icon {
  width: 20px;
  height: 20px;
}

.value strong {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
}

.value span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

.newsletter::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(230, 111, 78, 0.3),
    transparent 68%
  );
}

.newsletter::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter__in {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter h2 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: -0.025em;
}

.newsletter p {
  margin: 12px auto 26px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.nl-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.nl-form input {
  flex: 1;
  min-width: 0;
  padding: 0 12px 0 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13.5px;
  outline: none;
}

.nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.nl-form .btn {
  min-height: 40px;
  padding: 8px 20px;
}

.newsletter__note {
  margin-top: 14px !important;
  font-size: 11.5px !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 58px 0 46px;
}

.footer__brand .logo {
  color: #fff;
}

.footer__tagline {
  margin: 16px 0 22px;
  max-width: 280px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer__social a:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.footer__social .icon {
  width: 16px;
  height: 16px;
}

.footer__col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__col a,
.footer__col button {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  text-align: left;
  transition: color 0.2s;
}

.footer__col a:hover,
.footer__col button:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 11.5px;
}

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

.pay-chip {
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer__mobile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 180ms var(--ease);
}

.footer__mobile:hover {
  color: #fff;
}

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.footer__lang:hover {
  color: #fff;
}

.footer__lang .icon {
  width: 14px;
  height: 14px;
}

.footer__trust {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__trust-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 22px 0;
}

.footer__trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.footer__trust-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--coral);
}

.footer__trust-icon .icon {
  width: 17px;
  height: 17px;
}

.footer__trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer__trust-text strong {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.footer__trust-text > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11.5px;
  line-height: 1.4;
}

.footer__label {
  margin: 22px 0 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.footer__contact a,
.footer__contact > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__contact .icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: rgba(255, 255, 255, 0.42);
}

.footer__stores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__stores-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__stores-list {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  padding: 5px 13px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.footer__store:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.footer__store-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer__store-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.footer__stores-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.footer__stores-all .icon {
  width: 14px;
  height: 14px;
  color: var(--coral);
  transition: transform 180ms var(--ease);
}

.footer__stores-all:hover .icon {
  transform: translateX(3px);
}

.footer__bottom-left,
.footer__bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.62);
}

.footer__legal a:hover {
  color: #fff;
}

.footer__region {
  color: rgba(255, 255, 255, 0.56);
}

.footer__mobile .icon {
  width: 14px;
  height: 14px;
}

.footer__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.footer__top-btn:hover {
  color: #fff;
}

.footer__top-btn .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  color: var(--faint);
  font-size: 12px;
  flex-wrap: wrap;
}

.crumbs a:hover {
  color: var(--navy);
}

.crumbs .icon {
  width: 12px;
  height: 12px;
}

.crumbs strong {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Page head ---------- */
.page-head {
  padding: 36px 0 30px;
}

.page-head__kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-head h1 {
  font-size: clamp(30px, 4.2vw, 44px);
}

.page-head p {
  margin-top: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Category page ---------- */
.cat-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 38px;
  padding-bottom: 72px;
}

.filters {
  align-self: start;
  position: sticky;
  top: 138px;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.filters__head h3 {
  font-size: 16px;
}

.filters__reset {
  color: var(--coral);
  font-size: 11.5px;
  font-weight: 600;
}

.fgroup {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.fgroup__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fgroup__title .icon {
  width: 14px;
  height: 14px;
  color: var(--faint);
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  color: #40516a;
  font-size: 13px;
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
}

.check span.count {
  margin-left: auto;
  color: var(--faint);
  font-size: 11px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-row input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  outline: none;
}

.price-row input:focus {
  border-color: var(--navy);
}

.price-row span {
  color: var(--faint);
}

.color-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.2s, transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.is-on {
  box-shadow: 0 0 0 2px var(--navy);
}

.filter-toggle {
  display: none;
}

.filters__close {
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--canvas);
}

.filters__close .icon {
  width: 16px;
  height: 16px;
}

.filter-backdrop {
  display: none;
}

.guard {
  max-width: 620px;
  margin: 12px auto 80px;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  text-align: center;
}

.guard__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--navy);
}

.guard__icon .icon {
  width: 28px;
  height: 28px;
}

.guard h1 {
  font-size: 25px;
}

.guard p {
  max-width: 400px;
  margin: 9px auto 22px;
  color: var(--muted);
  font-size: 13.5px;
}

.guard__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guard__note {
  margin-top: 18px;
  color: var(--faint);
  font-size: 11px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdf1ee;
  border: 1px solid #f6d7cc;
  color: #9a3f30;
  font-size: 12px;
  line-height: 1.6;
}

.alert .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.is-loading::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cat-main {
  min-width: 0;
}

.cat-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cat-toolbar__count {
  color: var(--muted);
  font-size: 12.5px;
}

.cat-toolbar__count b {
  color: var(--navy);
  font-weight: 700;
}

.cat-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.select {
  height: 40px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366748a' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 12px center;
  font-size: 12.5px;
  color: var(--navy);
  appearance: none;
  cursor: pointer;
  outline: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 11.5px;
}

.chip button {
  display: grid;
  place-items: center;
  color: var(--faint);
}

.chip .icon {
  width: 12px;
  height: 12px;
}

.cat-grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 18px;
}

.cat-banner {
  position: relative;
  margin: 0 0 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 168px;
  display: flex;
  align-items: center;
  background: var(--navy);
}

.cat-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.cat-banner__body {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  color: #fff;
  max-width: 420px;
}

.cat-banner__body strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
}

.cat-banner__body span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
}

.cat-banner__body a {
  display: inline-block;
  margin-top: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Product detail ---------- */
.pd {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  padding: 26px 0 64px;
}

.pd__gallery {
  min-width: 0;
}

.pd__stage {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef0f2;
  cursor: zoom-in;
}

.pd__stage:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.pd__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s;
}

.pd__stage img.is-fade {
  opacity: 0;
}

.pd__stage-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--coral-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pd__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.pd__thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #eef0f2;
  opacity: 0.75;
  transition: border-color 0.2s, opacity 0.2s;
}

.pd__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd__thumb.is-on {
  border-color: var(--navy);
  opacity: 1;
}

.pd__info {
  padding-top: 6px;
}

.pd__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pd__brand span {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--faint);
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: none;
}

.pd h1 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
}

.pd__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 12.5px;
}

.pd__rating .stars svg {
  width: 14px;
  height: 14px;
}

.pd__rating a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.pd__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.pd__price strong {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pd__price s {
  color: var(--faint);
  font-size: 16px;
}

.pd__price .save {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--coral-soft);
  color: var(--coral-2);
  font-size: 11px;
  font-weight: 700;
}

.pd__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 6px;
  color: var(--success);
  font-size: 12.5px;
  font-weight: 600;
}

.pd__stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}

.pd__desc {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.opt {
  margin-bottom: 20px;
}

.opt__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
}

.opt__label {
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opt__value {
  color: var(--muted);
  font-size: 12px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swatch {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.2s, transform 0.2s;
}

.swatch::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
}

.swatch.is-on {
  box-shadow: 0 0 0 2px var(--navy);
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size {
  min-width: 48px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.size:hover {
  border-color: var(--navy);
}

.size.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.qty button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 100%;
  color: var(--navy);
  transition: background 0.18s;
}

.qty button:hover {
  background: var(--canvas);
}

.qty button .icon {
  width: 15px;
  height: 15px;
}

.qty input {
  width: 44px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-row {
  display: flex;
  gap: 10px;
  margin: 8px 0 12px;
}

.buy-row .btn {
  flex: 1;
  min-height: 52px;
  font-size: 14.5px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.icon-btn .icon {
  width: 20px;
  height: 20px;
}

.icon-btn:hover,
.icon-btn.is-on {
  color: var(--coral);
  border-color: var(--coral);
}

.pd__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.pd__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pd__meta .icon {
  width: 15px;
  height: 15px;
  color: var(--navy);
}

.seller-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.seller-card__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.seller-card__body {
  min-width: 0;
  flex: 1;
}

.seller-card__body strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 13.5px;
}

.seller-card__body strong .icon {
  width: 13px;
  height: 13px;
  color: var(--success);
}

.seller-card__body span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}

.pd__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.pd__trust div {
  padding: 12px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 10.5px;
  text-align: center;
  line-height: 1.4;
}

.pd__trust .icon {
  width: 17px;
  height: 17px;
  margin: 0 auto 6px;
  color: var(--navy);
}

/* tabs */
.pd-tabs {
  border-top: 1px solid var(--line);
  padding: 44px 0 72px;
}

.pd-tabs__nav {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.pd-tab {
  position: relative;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pd-tab.is-on {
  color: var(--navy);
}

.pd-tab.is-on::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--coral);
}

.pd-panel__lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.spec-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--line-soft);
}

.spec-table th,
.spec-table td {
  padding: 13px 0;
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 220px;
  color: var(--muted);
  font-weight: 500;
}

.spec-table td {
  color: var(--navy);
  font-weight: 600;
}

.review {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  max-width: 780px;
}

.review__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.review__name {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.review__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--success);
  font-size: 10.5px;
  font-weight: 600;
}

.review__flag .icon {
  width: 12px;
  height: 12px;
}

.review p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.review .stars {
  margin-top: 6px;
}

.review .stars svg {
  width: 11px;
  height: 11px;
}

/* ---------- Cart ---------- */
.cart-wrap {
  display: grid;
  grid-template-columns: 1fr 356px;
  gap: 38px;
  align-items: start;
  padding: 8px 0 80px;
}

.cart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-line {
  display: grid;
  grid-template-columns: 104px 1fr 104px 110px 110px 40px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-line__media {
  width: 104px;
  height: 116px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef0f2;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__info {
  min-width: 0;
}

.cart-line__brand {
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-line__name {
  display: block;
  margin: 3px 0 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cart-line__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 11px;
}

.cart-line__opts b {
  color: var(--ink);
  font-weight: 600;
}

.cart-line__remove {
  display: none;
  margin-top: 8px;
  color: var(--faint);
  font-size: 11px;
  text-decoration: underline;
}

.cart-line__price {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}

.cart-line__price s {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 400;
}

.cart-line__total {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.cart-line__del {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  justify-self: end;
  border-radius: 50%;
  color: var(--faint);
  transition: background 0.2s, color 0.2s;
}

.cart-line__del:hover {
  background: var(--coral-soft);
  color: var(--coral-2);
}

.cart-line__del .icon {
  width: 17px;
  height: 17px;
}

.qty--sm {
  height: 38px;
}

.qty--sm button {
  width: 32px;
}

.qty--sm input {
  width: 34px;
  font-size: 12px;
}

.cart-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.cart-note .icon {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.summary {
  position: sticky;
  top: 138px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-s);
}

.summary h2 {
  font-size: 18px;
  margin-bottom: 18px;
}

.summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.summary__row b {
  color: var(--navy);
  font-weight: 600;
}

.summary__row--discount b {
  color: var(--success);
}

.summary__row--total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.summary__row--total strong {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.ship-meter {
  margin: 6px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--canvas);
  font-size: 11.5px;
  color: var(--muted);
}

.ship-meter__bar {
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.ship-meter__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
  transition: width 0.4s var(--ease);
}

.promo-form {
  display: flex;
  gap: 6px;
  margin: 4px 0 16px;
}

.promo-form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  outline: none;
}

.promo-form input:focus {
  border-color: var(--navy);
}

.promo-form .btn {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 8px;
}

.summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 11px;
}

.summary__secure .icon {
  width: 13px;
  height: 13px;
}

.summary__foot {
  margin-top: 16px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.empty {
  padding: 72px 24px;
  text-align: center;
}

.empty__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--navy);
}

.empty__icon .icon {
  width: 32px;
  height: 32px;
}

.empty h2 {
  font-size: 23px;
}

.empty p {
  max-width: 380px;
  margin: 9px auto 22px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Steps ---------- */
.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.steps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.steps i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 10px;
  font-style: normal;
}

.steps b {
  width: 18px;
  height: 1px;
  background: var(--line);
}

.steps .is-on {
  color: var(--navy);
}

.steps .is-on i {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.steps .is-done i {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

/* ---------- Checkout ---------- */
.co-wrap {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 44px;
  align-items: start;
  padding: 6px 0 80px;
}

.co-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.panel {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.panel__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.panel__head h2 i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-style: normal;
}

.panel__head a {
  color: var(--coral);
  font-size: 12px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field label .req {
  color: var(--coral);
}

.field input,
.field select,
.field textarea {
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  height: auto;
  min-height: 90px;
  padding: 11px 13px;
  resize: vertical;
}

.field select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366748a' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 13px center;
  padding-right: 34px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23, 48, 79, 0.07);
}

.field input.is-error,
.field select.is-error {
  border-color: var(--danger);
}

.field__err {
  display: none;
  color: var(--danger);
  font-size: 11px;
}

.field.has-error .field__err {
  display: block;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.radio-card + .radio-card {
  margin-top: 10px;
}

.radio-card:hover {
  border-color: var(--faint);
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card__dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.radio-card__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.radio-card input:checked ~ .radio-card__dot {
  border-color: var(--navy);
}

.radio-card input:checked ~ .radio-card__dot::after {
  background: var(--coral);
}

.radio-card:has(input:checked) {
  border-color: var(--navy);
  background: #fbfcfd;
  box-shadow: 0 0 0 1px var(--navy);
}

.radio-card__body {
  flex: 1;
  min-width: 0;
}

.radio-card__body strong {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
}

.radio-card__body span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.radio-card__price {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
}

.co-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.co-actions .btn {
  min-width: 210px;
}

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdf6f2;
  border: 1px solid #f6dfd4;
  color: #9a533c;
  font-size: 11.5px;
  line-height: 1.6;
}

.demo-note .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.co-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow: auto;
  padding-right: 4px;
}

.co-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-item__media {
  position: relative;
  width: 54px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #eef0f2;
}

.co-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.co-item__media b {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
}

.co-item__body {
  flex: 1;
  min-width: 0;
}

.co-item__body strong {
  display: block;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-item__body span {
  color: var(--faint);
  font-size: 10.5px;
}

.co-item__price {
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
}

.co-summary__totals {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.guarantee .icon {
  width: 15px;
  height: 15px;
  color: var(--success);
}

/* ---------- Payment ---------- */
.pay-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 44px;
  align-items: start;
  padding: 6px 0 80px;
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pay-method:has(input:checked) {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: var(--canvas);
  color: var(--navy);
}

.pay-method__icon .icon {
  width: 20px;
  height: 20px;
}

.pay-method__body {
  flex: 1;
}

.pay-method__body strong {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
}

.pay-method__body span {
  color: var(--muted);
  font-size: 11.5px;
}

.pay-method__dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.pay-method__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pay-method input:checked ~ .pay-method__dot {
  border-color: var(--navy);
}

.pay-method input:checked ~ .pay-method__dot::after {
  background: var(--coral);
}

.pay-pane {
  margin-top: 4px;
}

.pay-ship {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.pay-ship__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pay-ship__head a {
  color: var(--coral);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.pay-ship strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.pay-ship p {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.6;
}

.pay-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.pay-terms {
  margin-top: 12px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.pay-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
}

.pay-hint .icon {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

.pay-pane[hidden] {
  display: none;
}

.bank-box {
  padding: 18px;
  border-radius: 10px;
  background: var(--canvas);
  border: 1px dashed var(--line);
}

.bank-box dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 12.5px;
}

.bank-box dt {
  color: var(--muted);
}

.bank-box dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  word-break: break-all;
}

.pay-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.pay-amount strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.pay-card-visual {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  color: #fff;
  box-shadow: var(--shadow-m);
}

.pay-card-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -110px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.pay-card-visual__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pay-card-visual__chip {
  width: 38px;
  height: 27px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d9b26a, #b98f43);
}

.pay-card-visual__brand {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pay-card-visual__num {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.pay-card-visual__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pay-card-visual__foot b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ---------- Success ---------- */
.ok-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 46px 0 84px;
}

.ok-hero {
  padding: 42px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  text-align: center;
}

.ok-check {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  animation: pop 0.5s var(--ease);
}

.ok-check .icon {
  width: 34px;
  height: 34px;
}

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ok-hero h1 {
  font-size: clamp(26px, 3.4vw, 36px);
}

.ok-hero p {
  margin: 12px auto 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 13.5px;
}

.ok-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.ok-num b {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.ok-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 18px;
}

.ok-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.ok-card h2 {
  margin-bottom: 16px;
  font-size: 15px;
}

.ok-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.ok-card__row:last-child {
  border-bottom: 0;
}

.ok-card__row .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--coral);
}

.ok-card__row strong {
  display: block;
  color: var(--navy);
  font-size: 12.5px;
}

.ok-card__row span {
  color: var(--muted);
  font-size: 11.5px;
}

.ok-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.timeline {
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 0 0 20px 34px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 10.5px;
  top: 24px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}

.timeline li:last-child::after {
  display: none;
}

/* ---------- Auth ---------- */
.auth-page {
  min-height: 100vh;
  background: var(--canvas);
}

.auth-wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: calc(100vh - 38px);
}

.auth-art {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 54px 56px;
}

.auth-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.auth-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 35, 57, 0.45),
    rgba(14, 35, 57, 0.92)
  );
}

.auth-art__in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 620px;
}

.auth-art .logo {
  color: #fff;
}

.auth-art__quote {
  max-width: 360px;
}

.auth-art__quote h2 {
  color: #fff;
  font-size: 36px;
  line-height: 1.08;
}

.auth-art__quote p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  line-height: 1.7;
}

.auth-art__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.auth-art__points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.auth-art__points .icon {
  width: 15px;
  height: 15px;
  color: var(--coral);
}

.auth-art__foot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 44px 24px;
}

.auth-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  width: 100%;
  max-width: 430px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
}

.auth-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.auth-foot a {
  color: var(--faint);
}

.auth-foot a:hover {
  color: var(--navy);
}

.auth-card {
  width: 100%;
  max-width: 430px;
}

.auth-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.auth-back .icon {
  width: 15px;
  height: 15px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
}

.auth-tab {
  flex: 1;
  height: 40px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.auth-tab.is-on {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-s);
}

.auth-card h1 {
  font-size: 28px;
}

.auth-card__sub {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form .field input {
  height: 46px;
}

.auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.auth-form__row a {
  color: var(--coral);
  font-weight: 600;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.auth-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--navy);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--faint);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-demo {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fff;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.auth-switch {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.auth-switch a {
  color: var(--coral);
  font-weight: 600;
}

.auth-lang {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.auth-lang .icon {
  width: 13px;
  height: 13px;
}

/* ---------- Account ---------- */
.acct-wrap {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 40px;
  padding: 14px 0 80px;
  align-items: start;
}

.acct-side {
  position: sticky;
  top: 138px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.acct-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.acct-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.acct-user strong {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
  line-height: 1.3;
}

.acct-user span {
  color: var(--faint);
  font-size: 10.5px;
}

.acct-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}

.acct-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #40516a;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.acct-nav button .icon {
  width: 17px;
  height: 17px;
  color: var(--faint);
}

.acct-nav button:hover {
  background: var(--canvas);
}

.acct-nav button.is-on {
  background: var(--navy);
  color: #fff;
}

.acct-nav button.is-on .icon {
  color: var(--coral);
}

.acct-nav button .count {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral-2);
  font-size: 10px;
}

.acct-nav button.is-on .count {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.acct-nav__sep {
  height: 1px;
  margin: 10px 0;
  background: var(--line-soft);
}

.acct-main {
  min-width: 0;
}

.acct-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.acct-head h1 {
  font-size: 27px;
}

.acct-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

.order-card {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.order-card + .order-card {
  margin-top: 12px;
}

.order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.order-card__no {
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.order-card__date {
  color: var(--faint);
  font-size: 11px;
}

.order-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 10.5px;
  font-weight: 700;
}

.order-card__status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.order-card__items {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
}

.order-card__items img {
  width: 52px;
  height: 58px;
  border-radius: 7px;
  object-fit: cover;
  background: #eef0f2;
}

.order-card__more {
  display: grid;
  place-items: center;
  width: 52px;
  height: 58px;
  border-radius: 7px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.order-card__total {
  color: var(--muted);
  font-size: 11.5px;
}

.order-card__total b {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 16px;
}

.order-card__actions {
  display: flex;
  gap: 8px;
}

.acct-empty {
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  text-align: center;
}

.acct-empty__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--navy);
}

.acct-empty__icon .icon {
  width: 26px;
  height: 26px;
}

.acct-empty h3 {
  font-size: 18px;
}

.acct-empty p {
  max-width: 320px;
  margin: 7px auto 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.addr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.addr-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-soft);
}

.addr-card__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.addr-card strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.addr-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.addr-card__actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.addr-card__actions button {
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
}

.addr-card__actions button:hover {
  color: var(--coral);
}

.addr-add {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.addr-add:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.addr-add .icon {
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
}

/* profile form */
.profile-card {
  max-width: 620px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
}

/* ---------- Modal / toast ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 35, 57, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__box {
  width: 100%;
  max-width: 520px;
  max-height: 86vh;
  overflow: auto;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-l);
  transform: translateY(10px);
  transition: transform 0.25s var(--ease);
}

.modal.is-open .modal__box {
  transform: none;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal__head h3 {
  font-size: 18px;
}

.modal__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover {
  background: var(--canvas);
  color: var(--navy);
}

.modal__close .icon {
  width: 17px;
  height: 17px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-l);
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}

.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast .icon {
  width: 17px;
  height: 17px;
  color: #8fe0b7;
}

.toast__link {
  margin-left: 4px;
  color: var(--coral);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- H5 ---------- */
.h5page {
  background: #e9ecf0;
}

.h5-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--canvas);
  box-shadow: 0 0 70px rgba(14, 35, 57, 0.16);
  padding-bottom: 86px;
  overflow-x: hidden;
}

.h5-top {
  position: relative;
  padding: calc(16px + env(safe-area-inset-top)) 18px 58px;
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: #fff;
  border-radius: 0 0 26px 26px;
}

.h5-top::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.h5-greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.h5-greet__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h5-lang {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.h5-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.h5-loc .icon {
  width: 15px;
  height: 15px;
  color: var(--coral);
}

.h5-search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--faint);
  font-size: 12.5px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
}

.h5-search .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.h5-body {
  padding: 0 16px;
}

.h5-card {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding: 16px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px -22px rgba(14, 35, 57, 0.35);
}

.h5-cats {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -4px;
}

.h5-cats::-webkit-scrollbar {
  display: none;
}

.h5-cat {
  flex: 0 0 auto;
  width: 60px;
  text-align: center;
  font-size: 9.5px;
  color: #4d5e74;
  font-weight: 600;
}

.h5-cat__img {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.h5-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h5-section {
  margin-top: 20px;
}

.h5-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.h5-section__head h2 {
  font-size: 17px;
}

.h5-section__head h2 .accent {
  color: var(--coral);
}

.h5-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.h5-more .icon {
  width: 12px;
  height: 12px;
}

.h5-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 148px;
  display: flex;
  align-items: center;
  background: var(--navy);
}

.h5-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.h5-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 35, 57, 0.76),
    rgba(14, 35, 57, 0.1)
  );
}

.h5-banner__body {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #fff;
  max-width: 70%;
}

.h5-banner__body span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.h5-banner__body strong {
  display: block;
  margin: 5px 0 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.12;
}

.h5-banner__btn {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
}

.h5-flash {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(140deg, #1b3555, var(--navy));
  color: #fff;
}

.h5-flash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.h5-flash__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.h5-flash__title strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
}

.h5-flash__title span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
}

.h5-flash__timer {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.h5-flash__timer b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 10px;
}

.h5-flash__timer i {
  font-style: normal;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.h5-flash__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -14px;
  padding: 0 14px 2px;
}

.h5-flash__track::-webkit-scrollbar {
  display: none;
}

.h5-deal {
  flex: 0 0 108px;
}

.h5-deal__media {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 11px;
  overflow: hidden;
  background: #eef0f2;
}

.h5-deal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h5-deal__off {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.h5-deal__name {
  display: block;
  margin: 6px 0 2px;
  color: #fff;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h5-deal__price {
  color: #ffb49d;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.h5-deal__price s {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-weight: 400;
}

.h5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.h5-pcard {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px -18px rgba(14, 35, 57, 0.4);
}

.h5-pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.05;
  background: #eef0f2;
  overflow: hidden;
}

.h5-pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h5-pcard__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
}

.h5-pcard__wish {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.h5-pcard__wish .icon {
  width: 13px;
  height: 13px;
}

.h5-pcard__wish.is-on {
  background: var(--coral);
  color: #fff;
}

.h5-pcard__body {
  padding: 9px 10px 11px;
}

.h5-pcard__brand {
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.h5-pcard__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 3px 0 6px;
  min-height: 29px;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

.h5-pcard__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.h5-pcard__price strong {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 13.5px;
}

.h5-pcard__price s {
  color: var(--faint);
  font-size: 9px;
}

.h5-pcard__add {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.h5-pcard__add .icon {
  width: 13px;
  height: 13px;
}

.h5-trust {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 8px;
  border-radius: 13px;
  background: #fff;
}

.h5-trust div {
  flex: 1;
  color: var(--muted);
  font-size: 8.5px;
  text-align: center;
  line-height: 1.4;
}

.h5-trust .icon {
  width: 17px;
  height: 17px;
  margin: 0 auto 5px;
  color: var(--navy);
}

.h5-foot {
  padding: 24px 16px 16px;
  text-align: center;
  color: var(--faint);
  font-size: 9.5px;
}

.h5-foot a {
  color: var(--navy);
  font-weight: 600;
}

.h5-foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 10px;
  font-size: 11px;
}

.h5-foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.h5-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 70;
  display: flex;
  width: 100%;
  max-width: 460px;
  transform: translateX(-50%);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
}

.h5-nav a {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
}

.h5-nav a .icon {
  width: 21px;
  height: 21px;
}

.h5-nav a.is-on {
  color: var(--navy);
}

.h5-nav a.is-on .icon {
  color: var(--coral);
}

.h5-nav__badge {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 6px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 8.5px;
  line-height: 15px;
  text-align: center;
}

/* switch link pc/h5 */
.viewswitch {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: var(--shadow-m);
}

.viewswitch .icon {
  width: 15px;
  height: 15px;
  color: var(--coral);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pgrid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__body {
    padding-left: 8px;
  }

  .brand-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__top {
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .hero__in {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 460px;
  }

  .hero__meta {
    gap: 22px;
  }

  .cat-layout {
    grid-template-columns: 210px 1fr;
    gap: 26px;
  }

  .cat-grid-products {
    grid-template-columns: repeat(3, 1fr);
  }

  .pd {
    gap: 34px;
  }

  .cart-wrap,
  .co-wrap,
  .pay-layout {
    grid-template-columns: 1fr 320px;
    gap: 26px;
  }

  .acct-wrap {
    grid-template-columns: 220px 1fr;
    gap: 26px;
  }

  .auth-art {
    padding: 44px 38px;
  }
}

@media (max-width: 900px) {
  .topbar__note,
  .topbar__help {
    display: none;
  }

  .topbar__in {
    height: 34px;
  }

  .topbar__right {
    margin-left: auto;
    gap: 12px;
  }

  .hdr__in {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hdr__actions {
    margin-left: auto;
  }

  .search {
    order: 3;
    flex: 1 0 100%;
    height: 44px;
  }

  .nav__in {
    overflow-x: auto;
    scrollbar-width: none;
    height: 46px;
  }

  .nav__in::-webkit-scrollbar {
    display: none;
  }

  .nav__spacer {
    display: none;
  }

  .hero__in {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 340px;
    order: -1;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(23, 48, 79, 0.1) 20%,
      var(--navy) 96%
    );
  }

  .hero__body {
    padding: 0 24px 48px;
    max-width: none;
    margin-top: -90px;
    position: relative;
    z-index: 3;
  }

  .hero__meta {
    display: none;
  }

  .deals__grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pgrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .promo {
    min-height: 240px;
  }

  .values {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .cat-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 120;
    width: 310px;
    max-width: 86vw;
    padding: 22px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.28s var(--ease);
    box-shadow: var(--shadow-l);
  }

  .filters.is-open {
    transform: none;
  }

  .filters__close {
    display: grid;
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .filters__head {
    padding-right: 40px;
  }

  .filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(14, 35, 57, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
  }

  .filter-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
  }

  .filter-toggle .icon {
    width: 15px;
    height: 15px;
  }

  .pd {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pd__stage {
    aspect-ratio: 1 / 0.9;
  }

  .cart-wrap,
  .co-wrap,
  .pay-layout {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .cart-head {
    display: none;
  }

  .cart-line {
    grid-template-columns: 88px 1fr auto;
    grid-template-areas:
      "media info price"
      "media qty total";
    gap: 10px 14px;
    padding: 18px 0;
  }

  .cart-line__media {
    grid-area: media;
    width: 88px;
    height: 100px;
  }

  .cart-line__info {
    grid-area: info;
  }

  .cart-line__price {
    grid-area: price;
    text-align: right;
  }

  .cart-line .qty {
    grid-area: qty;
    justify-self: start;
  }

  .cart-line__total {
    grid-area: total;
    align-self: center;
  }

  .cart-line__del {
    position: absolute;
    right: 0;
  }

  .cart-line {
    position: relative;
  }

  .cart-line__remove {
    display: inline-block;
  }

  .acct-wrap {
    grid-template-columns: 1fr;
  }

  .acct-side {
    position: static;
  }

  .acct-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
    margin-top: 16px;
  }

  .acct-nav::-webkit-scrollbar {
    display: none;
  }

  .acct-nav button {
    flex: 0 0 auto;
    padding: 8px 13px;
  }

  .acct-nav__sep {
    display: none;
  }

  .acct-user {
    padding-bottom: 14px;
  }

  .addr-grid {
    grid-template-columns: 1fr;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .auth-art {
    display: none;
  }

  .auth-main {
    padding: 70px 20px 44px;
  }

  .ok-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 44px 0 34px;
  }

  .footer__trust-in {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 22px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col:last-child {
    display: block;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hdr__action span {
    display: none;
  }

  .hdr__action {
    min-width: 44px;
  }

  .hdr__action .badge {
    right: 4px;
  }

  .logo {
    font-size: 19px;
  }

  .hero__media {
    min-height: 300px;
  }

  .hero__body {
    padding: 0 20px 40px;
    margin-top: -70px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__desc {
    margin: 16px 0 24px;
    font-size: 14px;
  }

  .hero__stamp {
    display: none;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cat-tile {
    aspect-ratio: 4 / 3.4;
  }

  .pgrid,
  .pgrid--4,
  .cat-grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .pcard__name {
    font-size: 12.5px;
    min-height: 35px;
  }

  .pcard__price strong {
    font-size: 14px;
  }

  .pcard__quick {
    display: none;
  }

  .pcard__wish {
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
  }

  .brand-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-strip a {
    min-height: 66px;
    font-size: 10.5px;
  }

  .newsletter {
    padding: 40px 20px;
  }

  .nl-form {
    flex-direction: column;
    border-radius: 14px;
    gap: 8px;
  }

  .nl-form input {
    height: 44px;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-head {
    padding: 24px 0 22px;
  }

  .cat-banner {
    min-height: 150px;
  }

  .cat-banner__body {
    padding: 20px;
  }

  .cat-banner__body strong {
    font-size: 18px;
  }

  .cat-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cat-toolbar__right {
    margin-left: 0;
    width: 100%;
  }

  .select {
    flex: 1;
  }

  .pd__stage {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
  }

  .pd__thumbs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .pd__thumb {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
  }

  .pd h1 {
    font-size: 24px;
  }

  .pd__price strong {
    font-size: 30px;
  }

  .buy-row .btn {
    min-height: 48px;
    font-size: 13.5px;
  }

  .icon-btn {
    width: 48px;
    height: 48px;
  }

  .pd__trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .pd-tabs {
    padding: 30px 0 52px;
  }

  .pd-tab {
    padding: 10px 12px;
    font-size: 12px;
  }

  .spec-table th {
    width: 130px;
  }

  .summary,
  .panel,
  .ok-card,
  .profile-card {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .co-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .ok-hero {
    padding: 32px 20px;
  }

  .pay-amount strong {
    font-size: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__pay {
    flex-wrap: wrap;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer__trust-in {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer__stores {
    gap: 12px;
  }

  .footer__stores-list {
    flex-basis: 100%;
  }

  .viewswitch {
    right: 12px;
    bottom: 14px;
  }
}

@media (max-width: 460px) {
  .h5page {
    background: var(--canvas);
  }

  .h5-shell {
    box-shadow: none;
  }
}

/* ---------- Merchant store ---------- */
.store-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.store-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 300px at 82% 0%, rgba(230, 111, 78, 0.32), transparent 68%),
    radial-gradient(420px 260px at 8% 120%, rgba(255, 255, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.store-hero__in {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 36px 0 38px;
}

.store-hero__avatar {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--coral), var(--coral-2));
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.8);
}

.store-hero__main h1 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.08;
}

.store-hero__main > p {
  max-width: 520px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.65;
}

.store-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd9cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-hero__kicker .icon {
  width: 14px;
  height: 14px;
  color: #8fe0b7;
}

.store-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
}

.store-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-hero__meta .icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.store-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.store-stats {
  display: flex;
  gap: 22px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.store-stat {
  min-width: 66px;
  text-align: center;
}

.store-stat strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.store-stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-hero__actions {
  display: flex;
  gap: 10px;
}

.store-hero__actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.store-hero__actions .btn .icon {
  width: 16px;
  height: 16px;
}

.store-tabs {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.store-tabs__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
}

.store-tabs__nav {
  display: flex;
  align-items: stretch;
  gap: 28px;
  height: 60px;
}

.store-tab {
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}

.store-tab:hover {
  color: var(--navy);
}

.store-tab.is-on {
  border-color: var(--coral);
  color: var(--navy);
}

.store-tabs__count {
  color: var(--faint);
  font-size: 12px;
}

.store-about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.store-about__main h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.store-about__main > p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.store-about__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}

.store-about__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
}

.store-about__meta .icon {
  width: 16px;
  height: 16px;
  color: var(--coral);
}

.store-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.store-benefit__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--canvas);
  color: var(--coral);
}

.store-benefit__icon .icon {
  width: 18px;
  height: 18px;
}

.store-empty {
  max-width: 540px;
  margin: 0 auto 40px;
  padding: 52px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}

.store-empty__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--coral);
}

.store-empty__icon .icon {
  width: 26px;
  height: 26px;
}

.store-empty h1 {
  font-size: 26px;
}

.store-empty p {
  max-width: 380px;
  margin: 10px auto 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .store-hero__in {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .store-hero__aside {
    grid-column: 1 / -1;
    align-items: stretch;
    gap: 14px;
  }

  .store-stats {
    align-self: flex-start;
  }

  .store-about {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .store-hero__in {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0 30px;
  }

  .store-hero__avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 20px;
  }

  .store-hero__main h1 {
    font-size: 30px;
  }

  .store-stats {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
  }

  .store-stat {
    min-width: 0;
    flex: 1;
  }

  .store-stat strong {
    font-size: 18px;
  }

  .store-hero__actions {
    width: 100%;
  }

  .store-hero__actions .btn {
    flex: 1;
  }

  .store-tabs__in {
    min-height: 52px;
  }

  .store-tabs__nav {
    height: 52px;
    gap: 20px;
    overflow-x: auto;
  }

  .store-tab {
    white-space: nowrap;
    font-size: 12.5px;
  }

  .store-tabs__count {
    display: none;
  }

  .store-benefits {
    gap: 10px;
  }

  .store-benefit {
    padding: 14px 12px;
    font-size: 11.5px;
  }

  .store-benefit__icon {
    width: 32px;
    height: 32px;
  }
}

/* ---------- Merchant directory & multi-store ---------- */
.merchant-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1d3b60 58%, #122640 100%);
  color: #fff;
}

.merchant-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 300px at 86% -10%, rgba(230, 111, 78, 0.34), transparent 68%),
    radial-gradient(420px 260px at 4% 120%, rgba(255, 255, 255, 0.09), transparent 70%);
  pointer-events: none;
}

.merchant-hero__in {
  position: relative;
  padding: 52px 0 50px;
}

.merchant-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd9cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.merchant-hero__kicker .icon {
  width: 14px;
  height: 14px;
  color: #8fe0b7;
}

.merchant-hero h1 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.merchant-hero p {
  max-width: 640px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.7;
}

.merchant-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  margin-top: 28px;
}

.merchant-hero__stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.merchant-hero__stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.merchant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 26px;
}

.merchant-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.merchant-chip b {
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
}

.merchant-chip:hover {
  border-color: var(--navy);
}

.merchant-chip.is-on {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.merchant-chip.is-on b {
  color: rgba(255, 255, 255, 0.6);
}

.merchant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.merchant-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.merchant-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -30px rgba(23, 48, 79, 0.5);
}

.merchant-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--canvas);
}

.merchant-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.merchant-card:hover .merchant-card__cover img {
  transform: scale(1.04);
}

.merchant-card__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.merchant-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.merchant-card__id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.merchant-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.merchant-card__title > a {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.merchant-card__title > a:hover {
  color: var(--coral);
}

.merchant-card__title > span:not(.merchant-verified) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-basis: 100%;
  color: var(--faint);
  font-size: 11px;
}

.merchant-card__title .icon {
  width: 12px;
  height: 12px;
}

.merchant-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

.merchant-card__score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
}

.merchant-card__score .icon {
  width: 13px;
  height: 13px;
  color: var(--coral);
}

.merchant-card__score b {
  font-size: 12px;
}

.merchant-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 10.5px;
}

.merchant-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--coral);
  font-size: 11.5px;
  font-weight: 700;
}

.merchant-card__cta .icon {
  width: 13px;
  height: 13px;
}

.merchant-footnote {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 620px;
  margin: 30px auto 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
}

.merchant-footnote .icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--coral);
}

.merchant-avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--coral), var(--coral-2));
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.merchant-avatar--card {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), #27476e);
}

.merchant-avatar--hero {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  font-size: 26px;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.8);
}

.merchant-avatar--sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 12px;
}

.merchant-avatar--xs {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 9px;
  letter-spacing: 0;
}

.merchant-verified {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e3f5eb;
  color: #178a55;
  vertical-align: middle;
}

.merchant-verified .icon {
  width: 10px;
  height: 10px;
  stroke-width: 2.6;
}

.merchant-verified--light {
  background: rgba(255, 255, 255, 0.16);
  color: #8fe0b7;
}

.merchant-rail-wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.merchant-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.merchant-rail:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -28px rgba(23, 48, 79, 0.55);
}

.merchant-rail__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--canvas);
}

.merchant-rail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-rail__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
}

.merchant-rail__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px 13px;
}

.merchant-rail__name {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.merchant-rail__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--faint);
  font-size: 10px;
}

.merchant-rail__meta .icon {
  width: 11px;
  height: 11px;
  color: var(--coral);
}

.store-cover {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.store-cover__media {
  position: absolute;
  inset: 0;
}

.store-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.store-cover__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 33, 55, 0.92) 0%, rgba(15, 33, 55, 0.58) 55%, rgba(15, 33, 55, 0.3) 100%),
    radial-gradient(500px 300px at 88% 120%, rgba(230, 111, 78, 0.35), transparent 70%);
}

.store-cover__in {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 46px 0 44px;
}

.store-cover__main h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.08;
}

.store-cover__main > p {
  max-width: 540px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13.5px;
  line-height: 1.65;
}

.store-cover__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd9cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-cover__kicker .icon {
  width: 14px;
  height: 14px;
  color: #8fe0b7;
}

.store-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11.5px;
}

.store-cover__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-cover__meta .icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.store-cover__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.store-cover__actions .btn {
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

.store-cover__actions .btn .icon {
  width: 16px;
  height: 16px;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.store-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.store-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.store-bar .store-stats {
  gap: 30px;
  padding: 10px 20px;
  border-color: var(--line);
  background: var(--canvas);
  backdrop-filter: none;
}

.store-bar .store-stat strong {
  color: var(--navy);
  font-size: 19px;
}

.store-bar .store-stat span {
  color: var(--faint);
  font-size: 9px;
}

.store-bar__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.store-bar__all .icon {
  width: 14px;
  height: 14px;
}

.store-policies {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.store-policy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.store-policy__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--canvas);
  color: var(--coral);
}

.store-policy__icon .icon {
  width: 17px;
  height: 17px;
}

.store-policy strong {
  display: block;
  color: var(--navy);
  font-size: 12.5px;
}

.store-policy p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* Cart grouped by merchant */
.cart-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  margin-bottom: 16px;
}

.cart-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8f9fb;
}

.cart-group__store {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
}

.cart-group__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}

.cart-group__title strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
}

.cart-group__title > span:last-child {
  flex-basis: 100%;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.4;
}

.cart-group__ship {
  flex-shrink: 0;
  width: 230px;
  max-width: 42%;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.cart-group__ship.is-free {
  color: #178a55;
  font-weight: 600;
}

.cart-group__ship .ship-meter__bar {
  margin-top: 6px;
}

.cart-group__lines {
  padding: 0 18px;
}

.cart-group__lines .cart-line:last-child {
  border-bottom: 0;
}

.cart-group__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 20px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: #fbfbfc;
  color: var(--muted);
  font-size: 11.5px;
}

.cart-group__foot b {
  color: var(--navy);
  font-size: 12px;
}

.cart-group__disc {
  color: var(--coral);
  font-weight: 600;
}

/* Checkout & payment grouping */
.co-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 12px;
}

.co-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: #f8f9fb;
}

.co-group__store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--navy);
  font-size: 12px;
}

.co-group__store strong {
  font-family: var(--font-display);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-group__head > span {
  flex-shrink: 0;
  color: var(--faint);
  font-size: 10px;
}

.co-group__items {
  padding: 4px 13px;
}

.co-group__items .co-item:last-child {
  border-bottom: 0;
}

.co-group__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 16px;
  padding: 9px 13px;
  border-top: 1px solid var(--line);
  background: #fbfbfc;
  color: var(--muted);
  font-size: 10.5px;
}

.co-group__foot b {
  color: var(--navy);
}

.co-group__disc {
  color: var(--coral);
  font-weight: 600;
}

.co-parcel {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fff8f4;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.55;
}

.co-parcel .icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--coral);
}

/* Order parcels */
.ok-parcels__head,
.acct-parcels__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ok-parcels__head strong,
.acct-parcels__head strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
}

.ok-parcels__head span,
.acct-parcels__head span {
  color: var(--faint);
  font-size: 10.5px;
  text-align: right;
}

.parcel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 13px 15px;
  margin-bottom: 11px;
}

.parcel:last-child {
  margin-bottom: 0;
}

.parcel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.parcel__id {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.parcel__kicker {
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.parcel__store {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
}

.parcel__store strong {
  font-family: var(--font-display);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parcel__sub {
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.45;
}

.parcel__status {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.parcel__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f8f9fb;
  color: var(--muted);
  font-size: 10.5px;
}

.parcel__track .icon {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

.parcel__track b {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.parcel__eta {
  margin-left: auto;
  color: var(--faint);
}

.parcel__items {
  padding-top: 6px;
}

.parcel__items .co-item {
  border-bottom: 1px dashed var(--line);
}

.parcel__items .co-item:last-child {
  border-bottom: 0;
}

.parcel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 16px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
}

.parcel__foot b {
  color: var(--navy);
}

.parcel__total {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.acct-parcels {
  margin-top: 18px;
}

.order-card__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.order-card__store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 600;
}

.order-card__store:hover {
  color: var(--coral);
}

.order-card__store .merchant-avatar {
  border-radius: 50%;
}

.order-card__parcels {
  margin-left: auto;
  color: var(--faint);
  font-size: 10px;
  white-space: nowrap;
}

.acct-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.acct-filters > span {
  margin-right: 2px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.acct-chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.acct-chip:hover {
  border-color: var(--navy);
}

.acct-chip.is-on {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* H5 merchants */
.h5-merchants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.h5-merchant {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.h5-merchant__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--coral), var(--coral-2));
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.h5-merchant__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.h5-merchant__body strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h5-merchant__body span {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--faint);
  font-size: 10px;
}

.h5-merchant__body .icon {
  width: 10px;
  height: 10px;
  color: var(--coral);
}

@media (max-width: 1180px) {
  .merchant-rail-wrap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .merchant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-cover__in {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .store-cover__actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .cart-group__head {
    flex-wrap: wrap;
  }

  .cart-group__ship {
    width: 100%;
    max-width: none;
    padding-top: 2px;
  }

  .store-bar__in {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .merchant-hero__in {
    padding: 38px 0 36px;
  }

  .merchant-hero__stats {
    gap: 12px 24px;
  }

  .merchant-hero__stats strong {
    font-size: 22px;
  }

  .merchant-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .merchant-card__cover {
    aspect-ratio: 2 / 1;
  }

  .merchant-rail-wrap {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .merchant-rail {
    flex: 0 0 168px;
    scroll-snap-align: start;
  }

  .store-cover__in {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0 30px;
  }

  .merchant-avatar--hero {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    font-size: 21px;
  }

  .store-cover__main h1 {
    font-size: 29px;
  }

  .store-cover__actions {
    grid-column: auto;
    width: 100%;
  }

  .store-cover__actions .btn {
    flex: 1;
  }

  .store-bar__in {
    padding: 14px 0;
  }

  .store-bar .store-stats {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
  }

  .store-bar .store-stat {
    min-width: 0;
    flex: 1;
  }

  .store-bar .store-stat strong {
    font-size: 16px;
  }

  .store-policy {
    padding: 12px 13px;
  }

  .cart-wrap {
    display: flex;
    flex-direction: column;
  }

  .cart-group__head {
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .cart-group__lines {
    padding: 0 14px;
  }

  .cart-group__foot {
    justify-content: space-between;
    padding: 10px 14px;
  }

  .co-group__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .co-group__head > span {
    padding-left: 31px;
  }

  .co-group__foot {
    justify-content: space-between;
  }

  .parcel {
    padding: 12px;
  }

  .parcel__foot {
    justify-content: space-between;
  }

  .parcel__eta {
    margin-left: 0;
    flex-basis: 100%;
  }

  .ok-parcels__head,
  .acct-parcels__head {
    flex-direction: column;
    gap: 3px;
  }

  .ok-parcels__head span,
  .acct-parcels__head span {
    text-align: left;
  }

  .acct-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 9px 11px;
  }

  .acct-filters > span {
    display: none;
  }

  .acct-chip {
    flex-shrink: 0;
  }

  .order-card__parcels {
    margin-left: 0;
    flex-basis: 100%;
  }
}

@media (max-width: 460px) {
  .merchant-hero h1 {
    font-size: 27px;
  }

  .merchant-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .merchant-chip {
    flex-shrink: 0;
  }

  .merchant-card__body {
    padding: 14px 14px 16px;
  }

  .h5-merchants {
    grid-template-columns: 1fr;
  }

  .parcel__head {
    flex-direction: column;
    gap: 8px;
  }

  .parcel__status {
    align-self: flex-start;
  }
}

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

@media print {
  .topbar,
  .hdr,
  .site-footer,
  .ok-actions,
  .viewswitch,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .ok-hero,
  .ok-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}

.become-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
  padding: 30px 34px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

.become-banner__copy {
  min-width: 0;
}

.become-banner__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.become-banner__kicker .icon {
  width: 13px;
  height: 13px;
}

.become-banner h2 {
  margin: 9px 0 0;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}

.become-banner p {
  max-width: 560px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.become-banner .btn {
  flex: 0 0 auto;
}

@media (max-width: 680px) {
  .become-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 20px;
  }

  .become-banner .btn {
    width: 100%;
  }
}

/* ---------- Merchant application ---------- */
.apply-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.apply-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 88% -20%, rgba(230, 111, 78, 0.3), transparent 68%),
    radial-gradient(420px 260px at 2% 130%, rgba(255, 255, 255, 0.07), transparent 72%);
  pointer-events: none;
}

.apply-hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  padding: 46px 24px 48px;
}

.apply-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd9cd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apply-hero__kicker .icon {
  width: 14px;
  height: 14px;
  color: #8fe0b7;
}

.apply-hero h1 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(29px, 3.8vw, 44px);
  line-height: 1.06;
}

.apply-hero p {
  max-width: 600px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.7;
}

.apply-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.apply-hero__stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
}

.apply-hero__stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apply-section {
  padding: 30px 0 76px;
}

.apply-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 32px;
  align-items: start;
  margin-top: 26px;
}

.apply-main {
  min-width: 0;
}

.apply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.apply-bar__count {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.apply-steps {
  flex-wrap: wrap;
}

.apply-steps em {
  font-style: normal;
}

.apply-steps span {
  color: var(--faint);
}

.apply-steps span.is-on {
  color: var(--navy);
}

.apply-steps span.is-done {
  color: var(--success);
}

.apply-form {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.apply-step {
  padding: 26px 28px 30px;
}

.apply-step__head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.apply-step__head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.apply-step__head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.apply-step .form-grid {
  gap: 18px;
}

.apply-step textarea {
  min-height: 118px;
  resize: vertical;
}

.apply-step .c-optional {
  color: var(--faint);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.apply-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.apply-file__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
}

.apply-file__icon .icon {
  width: 18px;
  height: 18px;
}

.apply-file__text {
  flex: 1 1 auto;
  min-width: 0;
}

.apply-file__text strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.apply-file__text span {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 11px;
}

.apply-file .btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 14px;
  font-size: 12px;
}

.apply-file label.btn {
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.apply-step textarea.is-error {
  border-color: var(--danger);
}

.apply-file__clear {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.apply-file__clear:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.apply-file__clear .icon {
  width: 13px;
  height: 13px;
}

.apply-file__preview {
  align-self: flex-start;
  max-width: 132px;
  max-height: 132px;
  margin-top: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.field.has-error .apply-file {
  border-color: var(--danger);
}

.apply-agree {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.apply-agree__row {
  padding: 8px 0;
}

.apply-agree .auth-check {
  align-items: flex-start;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.55;
}

.apply-agree .auth-check input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.apply-agree__row .field__err {
  margin-left: 22px;
}

.apply-agree__row.has-error .auth-check {
  color: var(--danger);
}

.apply-prefill {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--success);
  font-size: 11.5px;
}

.apply-prefill .icon {
  width: 14px;
  height: 14px;
}

.apply-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 0 2px;
}

.apply-actions__note {
  flex: 1 1 auto;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.5;
}

.apply-actions .btn {
  flex: 0 0 auto;
}

.apply-aside {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apply-card {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
}

.apply-card h2,
.apply-card h3 {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apply-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.apply-progress {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.apply-progress li {
  display: flex;
  gap: 10px;
  opacity: 0.55;
  transition: opacity 0.18s ease;
}

.apply-progress li i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.apply-progress li strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.apply-progress li span {
  display: block;
  margin-top: 1px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.apply-progress li.is-on {
  opacity: 1;
}

.apply-progress li.is-on strong {
  font-weight: 700;
}

.apply-progress li.is-on i {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.apply-progress li.is-done {
  opacity: 1;
}

.apply-progress li.is-done i {
  border-color: #bfe0cf;
  background: var(--success-soft);
  color: var(--success);
}

.apply-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.apply-checklist li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.apply-checklist .icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--success);
}

.apply-card .link-arrow {
  margin-top: 14px;
}

.apply-note {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint) !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
}

.apply-receipt {
  padding: 44px 0 88px;
}

.apply-receipt__card {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 40px 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-m);
  text-align: center;
}

.apply-receipt__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.apply-receipt__icon .icon {
  width: 26px;
  height: 26px;
}

.apply-receipt__kicker {
  display: block;
  color: var(--coral-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apply-receipt h1 {
  margin: 9px 0 0;
  font-size: clamp(25px, 3.2vw, 34px);
  line-height: 1.15;
}

.apply-receipt__sub {
  max-width: 480px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.apply-receipt__no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 9px 18px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  background: var(--canvas);
}

.apply-receipt__no span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apply-receipt__no strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.apply-timeline {
  display: flex;
  flex-direction: column;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  text-align: left;
}

.apply-timeline li {
  position: relative;
  display: flex;
  gap: 13px;
  padding-bottom: 18px;
}

.apply-timeline li:last-child {
  padding-bottom: 0;
}

.apply-timeline li::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: var(--line);
}

.apply-timeline li:last-child::before {
  display: none;
}

.apply-timeline i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--faint);
}

.apply-timeline i .icon {
  width: 13px;
  height: 13px;
}

.apply-timeline li.is-done i {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.apply-timeline li.is-on i {
  border-color: #f3c8b9;
  background: var(--coral-soft);
  color: var(--coral-2);
}

.apply-timeline strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.apply-timeline span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.apply-receipt__note {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  text-align: left;
}

.apply-receipt__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.apply-receipt__actions .btn .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 1024px) {
  .apply-hero__in {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    padding: 38px 24px 36px;
  }

  .apply-hero__stats {
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .apply-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .apply-aside {
    position: static;
    order: -1;
  }

  .apply-aside .apply-card:not(:first-child) {
    display: none;
  }

  .apply-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .apply-progress li {
    gap: 6px;
  }

  .apply-progress li span {
    display: none;
  }

  .apply-progress li i {
    width: 19px;
    height: 19px;
  }

  .apply-progress li strong {
    font-size: 11.5px;
  }
}

@media (max-width: 680px) {
  .apply-hero__in {
    padding: 32px 16px 30px;
  }

  .apply-section {
    padding: 20px 0 56px;
  }

  .apply-wrap {
    margin-top: 18px;
  }

  .apply-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .apply-steps em {
    display: none;
  }

  .apply-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-step {
    padding: 20px 18px 22px;
    border-radius: 16px;
  }

  .apply-step__head h2 {
    font-size: 18px;
  }

  .apply-step .form-grid {
    grid-template-columns: 1fr;
  }

  .apply-file {
    flex-wrap: wrap;
  }

  .apply-file__text {
    flex: 1 1 140px;
  }

  .apply-file .btn {
    order: 3;
    width: 100%;
    min-height: 40px;
  }

  .apply-actions {
    flex-wrap: wrap;
  }

  .apply-actions__note {
    flex: 1 1 100%;
    order: 3;
  }

  .apply-actions .btn {
    flex: 1 1 0;
  }

  .apply-hero__stats strong {
    font-size: 21px;
  }

  .apply-receipt {
    padding: 28px 0 60px;
  }

  .apply-receipt__card {
    padding: 28px 20px 26px;
    border-radius: 16px;
  }

  .apply-receipt__no {
    flex-direction: column;
    gap: 3px;
  }

  .apply-receipt__actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 460px) {
  .apply-hero p {
    font-size: 12.5px;
  }

  .apply-hero__stats {
    gap: 8px 14px;
  }

  .apply-hero__stats span {
    font-size: 9px;
  }

  .apply-card {
    padding: 16px;
  }
}

/* ---------- Watermark ---------- */
.site-watermark {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.145;
}

.site-watermark::before {
  content: "";
  position: absolute;
  inset: -35%;
  transform: rotate(-24deg);
  background-image: url("../assets/images/watermark-tile.svg");
  background-repeat: repeat;
  background-size: 440px 280px;
}

@media (max-width: 680px) {
  .site-watermark::before {
    background-size: 330px 210px;
  }
}

@media print {
  .site-watermark {
    opacity: 0.06;
  }
}
