/* ===========================================================================
   Clote — "Nest" grocery design system (from Figma)
   Primary #3bb77e · Headings #253d4e · Quicksand + Lato
   =========================================================================== */
:root {
  --primary: #3bb77e;
  --primary-dark: #2a9d6a;
  --primary-tint: #def9ec;
  --heading: #253d4e;
  --body: #7e7e7e;
  --muted: #adadad;
  --line: #ececec;
  --line-2: #e0e0e0;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --yellow: #fdc040;
  --pink: #f74b81;
  --blue: #67bcee;
  --orange: #f59758;
  --radius: 10px;
  --radius-lg: 15px;
  --shadow: 0 0 0 1px var(--line);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, .10);
  --max: 1240px;
  --head-font: "Quicksand", "Segoe UI", sans-serif;
  --body-font: "Lato", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  /* belt-and-suspenders against any horizontal scroll */
}

h1,
h2,
h3,
h4,
h5,
.logo {
  font-family: var(--head-font);
  color: var(--heading);
  font-weight: 700;
}

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

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

/* Full-width fluid container — scales edge-to-edge on 1K → 12K screens.
   Side padding grows with the viewport but never collapses on mobile. */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 90px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--head-font);
  font-size: 14px;
  font-weight: 700;
  transition: background .15s, transform .1s;
}

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

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

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

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line-2);
}

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

.btn-ghost {
  background: var(--bg-soft);
  color: var(--heading);
}

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

.btn-danger {
  background: #ef4444;
  color: #fff;
}

.btn-danger:hover {
  background: #c81e1e;
}

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

.btn-lg {
  padding: 15px 38px;
  font-size: 16px;
}

.btn .btn-ic {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 8px
}

.mt-3 {
  margin-top: 16px
}

.mt-4 {
  margin-top: 24px
}

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}

.topbar a {
  color: var(--body);
}

.topbar a:hover {
  color: var(--primary);
}

.topbar .links a {
  margin-right: 18px;
}

.topbar .right span {
  margin-left: 18px;
  color: var(--body);
}

.topbar .right b {
  color: var(--heading);
}

/* ---------- Header ---------- */
.header {
  border-bottom: 1px solid var(--line);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--heading);
  white-space: nowrap;
}

.logo span,
.logo .dot {
  color: var(--primary);
}

/* Search */
.search {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 8px;
  position: relative;
}

.search .custom-select {
  border-radius: 6px 0 0 6px;
}

/* Custom category dropdown */
.custom-select {
  position: relative;
  border: none;
  border-right: 1px solid var(--line);
  background: #fbfdfc;
  color: var(--heading);
  min-height: 50px;
  font-family: var(--body-font);
  font-size: 13.5px;
  max-width: 170px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Native select converted to custom dropdown */
.custom-select--native {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  min-height: 44px;
}
.custom-select--native .custom-select__native {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  border: none;
  padding: 0;
  margin: 0;
}
.custom-select--native .custom-select__trigger {
  padding: 0 14px;
  justify-content: space-between;
  color: var(--heading);
  font-size: 14px;
  min-height: 42px;
  height: auto;
}
.custom-select--native.is-disabled,
.custom-select--native.is-disabled .custom-select__trigger {
  opacity: 0.6;
  cursor: not-allowed;
}
.custom-select--native .custom-select__dropdown {
  top: calc(100% + 4px);
  left: -1px;
  right: -1px;
  min-width: auto;
  width: calc(100% + 2px);
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
}
.custom-select--native .custom-select__option.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.ck-field .custom-select--native,
.field .custom-select--native,
.form-group .custom-select--native,
.acct-field .custom-select--native {
  width: 100%;
}
.ck-field .custom-select--native .custom-select__trigger,
.field .custom-select--native .custom-select__trigger,
.form-group .custom-select--native .custom-select__trigger,
.acct-field .custom-select--native .custom-select__trigger {
  height: 44px;
}

/* Size variants */
.custom-select--xs {
  min-height: 28px;
  height: 28px;
}
.custom-select--xs .custom-select__trigger {
  min-height: 100%;
  height: 100%;
  padding: 0 8px;
  font-size: 11px;
}
.custom-select--xs .custom-select__dropdown {
  max-height: 220px;
}
.custom-select--xs .custom-select__option {
  padding: 6px 10px;
  font-size: 11px;
}

.custom-select--sm {
  min-height: 30px;
  height: 30px;
}
.custom-select--sm .custom-select__trigger {
  min-height: 100%;
  height: 100%;
  padding: 0 10px;
  font-size: 12px;
}
.custom-select--sm .custom-select__dropdown {
  max-height: 240px;
}
.custom-select--sm .custom-select__option {
  padding: 7px 12px;
  font-size: 12px;
}

.custom-select--md {
  min-height: 34px;
  height: 34px;
}
.custom-select--md .custom-select__trigger {
  min-height: 100%;
  height: 100%;
  padding: 0 12px;
  font-size: 13px;
}
.custom-select--md .custom-select__dropdown {
  max-height: 260px;
}
.custom-select--md .custom-select__option {
  padding: 8px 14px;
  font-size: 13px;
}

.custom-select__trigger {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--heading);
  padding: 0 14px;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  outline: none;
  white-space: nowrap;
}

.custom-select__trigger:hover {
  color: var(--primary);
}

.custom-select__trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.custom-select__trigger .fa-chevron-down {
  font-size: 11px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.custom-select.is-open .custom-select__trigger .fa-chevron-down {
  transform: rotate(180deg);
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -2px;
  min-width: 220px;
  max-width: 320px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  padding: 6px 0;
}

.custom-select.is-open .custom-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select__dropdown::-webkit-scrollbar {
  width: 6px;
}

.custom-select__dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select__dropdown::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 10px;
}

.custom-select__option {
  display: block;
  padding: 10px 16px;
  color: var(--body);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select__option:hover,
.custom-select__option.is-active {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.custom-select__option.is-active {
  font-weight: 700;
}

.search input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 18px;
  font-size: 14px;
  outline: none;
  color: var(--heading);
}

.search .search-btn {
  border: none;
  background: var(--primary);
  color: #fff;
  width: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  border-radius: 0 6px 6px 0;
}

.search .search-btn:hover {
  background: var(--primary-dark);
}

.search .search-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Search suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0;
}

.search-suggestions.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-suggestions__empty,
.search-suggestions__loading {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.search-suggestions__heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 8px 16px 4px;
}

.search-suggestions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  color: var(--body);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.search-suggestions__item:hover,
.search-suggestions__item.is-active {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.search-suggestions__item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg);
}

.search-suggestions__item .meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-suggestions__item .title {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.search-suggestions__item .cat {
  font-size: 11px;
  color: var(--muted);
}

.search-suggestions__item .price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

.search-suggestions__item .price del {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  margin-left: 6px;
}

.search-suggestions__category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: var(--body);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}

.search-suggestions__category:hover,
.search-suggestions__category.is-active {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.search-suggestions__category i {
  color: var(--primary);
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.search-suggestions__recent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: var(--body);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}

.search-suggestions__recent:hover,
.search-suggestions__recent.is-active {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.search-suggestions__recent i {
  color: var(--muted);
  font-size: 13px;
  width: 20px;
  text-align: center;
}

.search-suggestions__footer {
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  text-align: center;
}

.search-suggestions__footer button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.search-suggestions__footer button:hover {
  color: var(--primary-dark);
}

/* Right-aligned action group */
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  white-space: nowrap;
}

.h-action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 13.5px;
}

.h-action:hover {
  color: var(--primary);
}

.h-action .ic {
  position: relative;
  display: flex;
}

.h-action .ic svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.h-action .cnt {
  position: absolute;
  top: -9px;
  right: -10px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

.h-action .lbl {
  line-height: 1;
}

/* Sign-in button + logged-in user icon */
.h-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13.5px;
  transition: background .15s;
}

.h-login:hover {
  background: var(--heading);
  color: #fff;
}

.h-login svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.h-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .15s;
  overflow: hidden;
  border: 2px solid var(--primary-tint);
  flex-shrink: 0;
}
.h-user:hover {
  box-shadow: 0 0 0 3px var(--primary-tint);
  border-color: var(--primary);
}

.h-user svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.h-user-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.h-user-initials {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  line-height: 1;
}

/* ---------- Nav / category bar ---------- */
.navbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  background: #fff;
}

.navbar .container {
  height: 62px;
}

.navbar .container {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.all-cats {
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  font-family: var(--head-font);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  border-radius: 4px 4px 0 0;
  align-self: center;
  height: 50px;
  margin: 6px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  overflow: hidden;
  flex: 1;
}

.nav-links a {
  padding: 16px 14px;
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--primary-tint) 0%, #f4f8f4 100%);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 8px 16px;
  margin-top: 5px;
  margin-bottom: 5px;
  box-shadow: 0 2px 8px rgba(59, 183, 126, 0.12);
  transition: transform .15s, box-shadow .15s;
}

.nav-hotline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59, 183, 126, 0.18);
}

.nav-hotline i {
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-hotline .num {
  font-family: var(--head-font);
  font-weight: 800;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.nav-hotline .sub {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
}

/* ── Scroll navbar ───────────────────────────────────────────── */
.scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  z-index: 200;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}

.scroll-nav.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-nav > .container {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 74px;
  padding-top: 0;
  padding-bottom: 0;
}

.scroll-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.scroll-nav__logo img {
  height: 40px;
  width: auto;
}

.scroll-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  overflow: hidden;
}

.scroll-nav__links a {
  padding: 26px 12px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  white-space: nowrap;
  transition: color .12s;
}

.scroll-nav__links a:hover,
.scroll-nav__links a.active {
  color: var(--primary);
}

.scroll-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.scroll-nav__icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  color: var(--heading);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
  text-decoration: none;
}

.scroll-nav__icon:hover {
  background: var(--primary);
  color: #fff;
}

.scroll-nav__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-nav__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

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

.scroll-nav__login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background .15s;
}

.scroll-nav__login:hover {
  background: var(--heading);
}

/* Full-size search inside scroll nav */
.scroll-nav__search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 8px;
  height: 44px;
  margin-left: 8px;
  margin-right: 8px;
  position: relative;
}

.scroll-nav__search .custom-select {
  max-width: 120px;
  min-height: 100%;
  font-size: 12.5px;
  border-radius: 6px 0 0 6px;
}

.scroll-nav__search .custom-select__trigger {
  padding: 0 10px;
  gap: 6px;
}

.scroll-nav__search .custom-select__dropdown {
  min-width: 180px;
  top: calc(100% + 4px);
}

.scroll-nav__search input {
  border-radius: 0;
}

.scroll-nav__search .search-btn {
  border-radius: 0 6px 6px 0;
}


.scroll-nav__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  color: var(--heading);
  height: 100%;
  background: #fff;
}

.scroll-nav__search .search-btn {
  border: none;
  background: var(--primary);
  color: #fff;
  width: 46px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
  height: 100%;
}

.scroll-nav__search .search-btn:hover {
  background: var(--primary-dark);
}

.scroll-nav__search .search-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Responsive: hide scroll nav search on medium screens */
@media (max-width: 1100px) {
  .scroll-nav__search {
    max-width: 260px;
  }
  .scroll-nav__links a {
    padding: 26px 8px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .scroll-nav__search {
    display: none;
  }
  .scroll-nav__links {
    display: none;
  }
}

/* Mega menu */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #fff;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  display: none;
  padding: 8px 0;
}

.browse-cats:hover .megamenu,
.megamenu:hover,
.browse-cats.open .megamenu {
  display: block;
}

.browse-cats .caret {
  transition: transform .2s;
}

.browse-cats.open .caret {
  transform: rotate(180deg);
}

.megamenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--heading);
  font-weight: 500;
}

.megamenu a:hover {
  background: var(--primary-tint);
  color: var(--primary);
}

.megamenu .ic {
  width: 22px;
  text-align: center;
  font-size: 17px;
}

.megamenu__seeall {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 12px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
}

.megamenu__seeall:hover {
  background: var(--primary-tint);
}

/* ---------- Hero ---------- */
.hero {
  padding: 22px 0;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform .5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide-bg {
  height: 380px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
}

.slide-caption {
  max-width: 480px;
}

.slide-caption h2 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--heading);
  font-weight: 700;
}

.slide-caption p {
  font-size: 16px;
  margin: 0 0 22px;
  color: var(--body);
}

.hero-form {
  display: flex;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  max-width: 380px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.hero-form input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  outline: none;
  font-size: 14px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  opacity: 0;
  transition: opacity .2s;
}

.carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.dots {
  position: absolute;
  bottom: 16px;
  left: 60px;
  display: flex;
  gap: 8px;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(37, 61, 78, .25);
  cursor: pointer;
  padding: 0;
}

.dots button.active {
  background: var(--primary);
  width: 22px;
  border-radius: 5px;
}

/* ---------- Trust badges ---------- */
.trust {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 8px 0 26px;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item .ic {
  font-size: 30px;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  color: var(--heading);
  font-family: var(--head-font);
}

.trust-item span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Section heading ---------- */
.section {
  margin: 34px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 0;
}

.section-head h3 {
  font-size: 28px;
  margin: 0;
  color: var(--heading);
}

.section-head a {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--head-font);
}

.tabs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.tabs a {
  color: var(--body);
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 15px;
  padding-bottom: 4px;
}

.tabs a.active,
.tabs a:hover {
  color: var(--primary);
}

/* Button-style filter tabs (in-place filtering, no redirect) */
.tabs .tab {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--body);
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 15px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color .12s, border-color .12s;
}

.tabs .tab:hover {
  color: var(--primary);
}

.tabs .tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Popular grid items toggle via .pg-hide (display:contents keeps card markup intact) */
.pg-item {
  display: contents;
}

.pg-item.pg-hide {
  display: none;
}

/* ---------- Flash sale ---------- */
.flash {
  background: linear-gradient(90deg, #fff7e6, #fdeccb);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid #f6e3b8;
}

.flash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.flash-head .left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flash-head h3 {
  margin: 0;
  font-size: 26px;
  color: var(--heading);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
}

.countdown .seg {
  background: var(--heading);
  color: #fff;
  border-radius: 6px;
  padding: 5px 9px;
  min-width: 36px;
  text-align: center;
}

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 16px;
}

.cat-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 8px;
  text-align: center;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}

.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.cat-tile .ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.cat-tile span {
  display: block;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--heading);
}

.cat-tile small {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Product grid + cards (Nest style) ---------- */
/* Fluid grid: columns auto-fit to any width (more columns on bigger screens). */
/* auto-FILL (not auto-fit): keeps a fixed column size so few items render at
   their natural width instead of stretching huge; many items still fill the row. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

#popular-grid,
#deals-grid {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1280px) {
  #popular-grid,
  #deals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  #popular-grid,
  #deals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  #popular-grid,
  #deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Related Products: same card sizing as home, but clipped to a single row that
   fits as many columns as the screen allows. The first (explicit) row keeps its
   natural height; any overflow cards drop into 0-height implicit rows that are
   then clipped — so only one full row ever shows, adapting to screen width. */
.related-row .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-template-rows: auto;
  grid-auto-rows: 0;
  row-gap: 0;
  overflow: hidden;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  transform: translateY(-4px);
  z-index: 2;
}

.product-card .thumb {
  position: relative;
  padding: 18px;
  background: #fff;
  overflow: hidden;
}

.product-card .thumb>a {
  display: block;
}

.product-card .thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .3s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #fff;
  font-family: var(--head-font);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.badge.hot {
  background: var(--pink);
}

.badge.sale {
  background: var(--primary);
}

.badge.new {
  background: var(--blue);
}

.badge.discount {
  background: var(--orange);
}

/* Quick wishlist heart, revealed on hover (top-right of the thumb) */
.product-card .wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, color .15s, background .15s;
}

.product-card:hover .wish {
  opacity: 1;
  transform: translateY(0);
}

.product-card .wish:hover,
.product-card .wish.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  opacity: 1;
  transform: translateY(0);
}

/* Body: flex column so the price/button block can pin to the bottom */
.product-card .info {
  padding: 4px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .cat-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.product-card .title {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 15px;
  color: var(--heading);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  /* natural height up to 2 lines — no forced empty space for short titles */
}

.product-card .title:hover {
  color: var(--primary);
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 2px;
}

.stars {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 1px;
}

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

.seller {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}

.seller b {
  color: var(--primary);
  font-weight: 700;
}

/* Everything below pins to the card bottom, identical across all cards */
.product-card .price-row {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-row .prices {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.price-row .price {
  color: var(--primary);
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 19px;
}

.price-row .old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}

.add-btn {
  background: var(--primary-tint);
  color: var(--primary);
  border: none;
  cursor: pointer;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
}

.add-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.add-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(59, 183, 126, .35);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0;
  font-family: var(--head-font);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--body);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ---------- Product detail (shared bits; layout lives lower down) ---------- */
.pd-gallery .main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-gallery .main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pd-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s;
}

.pd-thumbs img:hover {
  border-color: var(--primary);
}

.pd-price .now {
  font-size: 36px;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--head-font);
}

.pd-price .was {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}

.pd-price .off {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--head-font);
}

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

.qty button {
  width: 42px;
  height: 52px;
  border: none;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  color: var(--heading);
}

.qty button:hover {
  color: var(--primary);
}

.qty input {
  width: 56px;
  height: 52px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 15px;
}

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--body);
}

.cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.cart-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr 90px auto 100px 36px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: none; }

.cart-row__img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-row__info { min-width: 0; }
.cart-row__name {
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.cart-row__name:hover { color: var(--primary); }
.cart-row__sku { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cart-row__price-mob { display: none; }

.cart-row__unit { font-size: 14px; color: var(--body); text-align: center; }
.cart-row__qty { justify-self: center; }
.cart-row__total { font-weight: 700; font-family: var(--head-font); color: var(--heading); text-align: right; }

.cart-row__remove {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: background .12s, color .12s, border-color .12s;
  font-size: 14px;
}
.cart-row__remove:hover {
  background: #fff0f3;
  color: var(--pink);
  border-color: var(--pink);
}

/* legacy .remove (keep for backward compat) */
.cart-row .name {
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
}

.cart-row .remove {
  color: var(--pink);
  cursor: pointer;
  font-size: 16px;
  background: none;
  border: none;
}

.summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 16px;
}

.summary h3 {
  margin: 0 0 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 11px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.summary-total .v {
  color: var(--primary);
}

/* ---------- Forms / auth ---------- */
.auth-wrap {
  max-width: 460px;
  margin: 44px auto;
}

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

.card-panel h2 {
  margin-top: 0;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--heading);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* ── Checkout cards ──────────────────────────────────────── */
.ck-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow);
}
.ck-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.ck-card__head h3 {
  margin: 0;
  font-size: 16px;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ck-card__head h3 i { color: var(--primary); }

/* ── Saved address picker ────────────────────────────────── */
.ck-addr-list { display: flex; flex-direction: column; gap: 0; }
.ck-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
}
.ck-addr-item:last-child { border-bottom: none; }
.ck-addr-item input[type="radio"] { margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }
.ck-addr-item.selected { background: var(--primary-tint); }
.ck-addr-item__label {
  font-weight: 700;
  font-size: 13px;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.ck-addr-item__text { font-size: 13px; color: var(--body); line-height: 1.5; }
.ck-default-badge {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 50px;
  font-weight: 700;
}

/* ── Checkout form fields ────────────────────────────────── */
.ck-form { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck-field { display: flex; flex-direction: column; gap: 5px; }
.ck-field label { font-size: 13px; font-weight: 700; color: var(--heading); font-family: var(--head-font); }
.ck-field input,
.ck-field select,
.ck-field textarea {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: var(--body-font);
  color: var(--heading);
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s;
}
.ck-field input:focus,
.ck-field select:focus,
.ck-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,183,126,.1);
  background: #fff;
}
.req { color: var(--pink); margin-left: 2px; }

/* ── Payment options ─────────────────────────────────────── */
.ck-pay-list { display: flex; flex-direction: column; gap: 0; }
.ck-pay-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
}
.ck-pay-item:last-child { border-bottom: none; }
.ck-pay-item input { accent-color: var(--primary); margin: 0; flex-shrink: 0; }
.ck-pay-item.selected { background: var(--primary-tint); }
.ck-pay-item__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ck-pay-item__title { font-weight: 700; font-size: 14px; color: var(--heading); }
.ck-pay-item__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Order summary (right column) ───────────────────────── */
.ck-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
}
.ck-summary__title { font-size: 18px; margin: 0 0 16px; color: var(--heading); }
.ck-summary__items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.ck-summary__item { display: flex; align-items: center; gap: 12px; }
.ck-summary__item-img {
  position: relative; flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
}
.ck-summary__item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-summary__qty {
  position: absolute; top: -6px; right: -6px;
  background: var(--heading); color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ck-summary__item-name {
  flex: 1;
  font-size: 13px;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ck-summary__item-price { font-size: 13px; font-weight: 700; color: var(--heading); white-space: nowrap; }
.order-item-name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  max-width: 260px;
}
.pay-table { width: 100%; table-layout: fixed; }
.pay-table th:first-child,
.pay-table td:first-child { width: 65%; }
.pay-table th:nth-child(2),
.pay-table td:nth-child(2) { width: 15%; }
.pay-table th:nth-child(3),
.pay-table td:nth-child(3) { width: 20%; }
.pay-table td { overflow: hidden; }
.pay-item-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13.5px;
  color: var(--heading);
}
.ck-summary__divider { border: none; border-top: 1px solid var(--line); margin: 12px 0; }
.ck-summary__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--body); margin-bottom: 8px; }
.ck-summary__total {
  display: flex; justify-content: space-between;
  font-size: 18px; font-weight: 700;
  color: var(--heading); font-family: var(--head-font);
  margin: 4px 0 16px;
}
.ck-place-btn { justify-content: center; gap: 8px; font-size: 15px; padding: 14px; }
.ck-place-btn:disabled {
  background: var(--muted);
  border-color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}
.ck-secure {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.ck-secure i { color: var(--primary); }

/* ── Custom checkbox (T&C) ─────────────────────────────── */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 8px 0 14px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.4;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.custom-checkbox__box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.custom-checkbox__box i {
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .15s, transform .15s;
}
.custom-checkbox input:checked + .custom-checkbox__box {
  border-color: var(--primary);
  background: var(--primary);
}
.custom-checkbox input:checked + .custom-checkbox__box i {
  opacity: 1;
  transform: scale(1);
}
.custom-checkbox__label a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.custom-checkbox__label a:hover {
  color: var(--heading);
}

/* ── Legacy pay-option (keep for backward compat) ────────── */
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 12px;
  cursor: pointer;
}
.pay-option.active {
  border-color: var(--primary);
  background: var(--primary-tint);
}

/* ── Responsive checkout ─────────────────────────────────── */
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .ck-summary { position: static; }
  .ck-row { grid-template-columns: 1fr; }
}

/* ── Payment pages ───────────────────────────────────────── */
.pay-countdown {
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pay-countdown__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pay-countdown__icon { font-size: 24px; flex-shrink: 0; }
.pay-countdown__title { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.pay-countdown__meta { font-size: 12px; color: var(--muted); }
.pay-countdown__attempt { font-size: 11px; color: var(--muted); white-space: nowrap; }
.pay-card__logo { height: 28px; margin-bottom: 16px; }
.pay-card__amount { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: var(--heading); font-family: var(--head-font); }
.pay-card__note { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.pay-card__btn-wrap { display: flex; flex-direction: column; gap: 10px; }
.pay-card__back { font-size: 12px; color: var(--muted); display: inline-block; margin-top: 12px; }
.pay-card__trust { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 14px; font-size: 11px; color: var(--muted); }
.pay-card__methods { display: flex; gap: 6px; justify-content: center; margin-top: 10px; opacity: 0.6; }
.pay-btn { justify-content: center; font-size: 15px; padding: 13px 20px; border: none; width: 100%; font-weight: 600; }
.pay-btn i { margin-right: 6px; }
@media (max-width: 768px) {
  .pay-countdown__attempt { display: none; }
}

/* ── Order tracking stepper ─────────────────────────────── */
.order-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 18px 0 10px;
  padding: 0 15px;
}
.order-stepper::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--line);
  z-index: 0;
}
.order-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 48px;
  max-width: 100px;
}
.order-stepper__step:first-child,
.order-stepper__step:last-child {
  flex: 0 0 auto;
  min-width: 30px;
}
.order-stepper__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: border-color .2s, background .2s, color .2s;
}
.order-stepper__label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.25;
  font-weight: 600;
}
.order-stepper__step--icon-only .order-stepper__label {
  display: none;
}
.order-stepper__step.is-done .order-stepper__dot,
.order-stepper__step.is-current .order-stepper__dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.order-stepper__step.is-current .order-stepper__dot {
  box-shadow: 0 0 0 4px rgba(59,183,126,.15);
}
.order-stepper__step.is-done .order-stepper__label,
.order-stepper__step.is-current .order-stepper__label {
  color: var(--heading);
}
.order-stepper__step.is-cancelled .order-stepper__dot {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.order-stepper__step.is-cancelled .order-stepper__label {
  color: var(--pink);
}

@media (max-width: 600px) {
  .order-stepper {
    gap: 4px;
    padding: 0 10px;
  }
  .order-stepper__label {
    font-size: 10px;
  }
  .order-stepper::before {
    left: 25px;
    right: 25px;
  }
}

/* ---------- Flash messages ---------- */
.flash-msg {
  padding: 13px 18px;
  border-radius: var(--radius);
  margin: 12px 0;
  font-size: 14px;
}

.flash-msg.success {
  background: var(--primary-tint);
  color: #1c7a52;
}

.flash-msg.error {
  background: #fde8ee;
  color: #c1325c;
}

.flash-msg.info {
  background: #e6f5fd;
  color: #2b7aa8;
}

.flash-msg.warning {
  background: #fff4e5;
  color: #b35900;
}

/* Toast-style flash container */
.flash-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}

.flash-container .flash-msg {
  margin: 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  animation: flashIn .25s ease;
  pointer-events: auto;
}

.flash-container .flash-msg.success {
  background: #e6f7ed;
  color: #0f8a4a;
  border-left: 4px solid #0f8a4a;
}

.flash-container .flash-msg.error {
  background: #ffebee;
  color: #b71c1c;
  border-left: 4px solid #b71c1c;
}

.flash-container .flash-msg.info {
  background: #e3f2fd;
  color: #0d47a1;
  border-left: 4px solid #0d47a1;
}

.flash-container .flash-msg.warning {
  background: #fff4e5;
  color: #b35900;
  border-left: 4px solid #b35900;
}

@keyframes flashIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 600px) {
  .flash-container {
    left: 16px;
    right: 16px;
    max-width: none;
    top: 12px;
  }
}

/* ---------- Tables ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table th,
.table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.table th {
  background: var(--bg-soft);
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
}

.table tr:last-child td {
  border-bottom: none;
}

.pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--head-font);
}

.pill.pending {
  background: #fff3cd;
  color: #856404;
}

.pill.processing {
  background: #e6f5fd;
  color: #2b7aa8;
}

.pill.shipped {
  background: #ede4ff;
  color: #6b46c1;
}

.pill.delivered,
.pill.paid {
  background: var(--primary-tint);
  color: #1c7a52;
}

.pill.cancelled,
.pill.failed {
  background: #fde8ee;
  color: #c1325c;
}

.pill.unpaid {
  background: var(--bg-soft);
  color: var(--body);
}

/* ---------- CTA banner ---------- */
/* ---------- Newsletter banner ---------- */
.newsletter {
  margin: 48px 0;
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 460px);
  gap: 40px;
  align-items: center;
  background: radial-gradient(120% 160% at 0% 0%, #2f5446 0%, #253d4e 55%, #1d3140 100%);
  color: #fff;
}

/* subtle accent line on the left edge */
.newsletter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.newsletter-badge {
  display: inline-block;
  background: rgba(59, 183, 126, .18);
  color: #7be0ad;
  font-family: var(--head-font);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.newsletter h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}

.newsletter-text p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  margin: 0;
  max-width: 460px;
}

.newsletter-text p b {
  color: #fff;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--heading);
}

.newsletter-form .btn {
  padding: 13px 30px;
  white-space: nowrap;
}

.newsletter-note {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  margin: 14px 2px 0;
}

@media (max-width: 760px) {
  .newsletter {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 24px;
  }

  .newsletter h2 {
    font-size: 26px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 50px 0 0;
  font-size: 14px;
  color: var(--body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
  padding-bottom: 36px;
}

.footer h4 {
  color: var(--heading);
  font-size: 17px;
  margin: 0 0 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin: 10px 0;
}

.footer ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
  transition: padding .15s;
}

.footer .pay-methods {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
}

.footer .pay-methods img {
  height: 22px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 5px;
  flex-shrink: 0;
}

.footer .pay-methods img.pay-logo-wide {
  max-width: 72px;
}

@media (max-width: 992px) {
  .footer .pay-methods img {
    height: 20px;
    max-width: 42px;
    padding: 2px 4px;
  }
  .footer .pay-methods img.pay-logo-wide {
    max-width: 62px;
  }
}

@media (max-width: 576px) {
  .footer .pay-methods {
    gap: 4px;
  }
  .footer .pay-methods img {
    height: 18px;
    max-width: 38px;
    padding: 2px 3px;
  }
  .footer .pay-methods img.pay-logo-wide {
    max-width: 54px;
  }
}

.footer .pay-methods span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--heading);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.fb-copy {
  justify-self: start;
}

.fb-pay {
  justify-self: center;
}

.fb-links {
  justify-self: end;
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }
  .fb-copy, .fb-pay, .fb-links {
    justify-self: center;
    justify-content: center;
  }
}

/* ===========================================================================
   Mono Edge RTL support
   The document direction is supplied by SetLocale; these overrides mirror
   only the theme's physical LTR assumptions.
   =========================================================================== */
[dir="rtl"] body.fullwidth-theme {
  direction: rtl;
  text-align: start;
}

[dir="rtl"] body.fullwidth-theme .topbar .links a {
  margin-right: 0;
  margin-left: 18px;
}

[dir="rtl"] body.fullwidth-theme .topbar .right span {
  margin-left: 0;
  margin-right: 18px;
}

[dir="rtl"] body.fullwidth-theme .header-actions,
[dir="rtl"] body.fullwidth-theme .scroll-nav__actions {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] body.fullwidth-theme .h-action .cnt,
[dir="rtl"] body.fullwidth-theme .scroll-nav__badge {
  right: auto;
  left: -10px;
}

[dir="rtl"] body.fullwidth-theme .scroll-nav__badge {
  left: -4px;
}

[dir="rtl"] body.fullwidth-theme [data-lang-menu] {
  right: auto !important;
  left: 0 !important;
}

[dir="rtl"] body.fullwidth-theme .search .custom-select,
[dir="rtl"] body.fullwidth-theme .scroll-nav__search .custom-select {
  border-right: none;
  border-left: 1px solid var(--line);
  border-radius: 0 6px 6px 0;
}

[dir="rtl"] body.fullwidth-theme .search .search-btn,
[dir="rtl"] body.fullwidth-theme .scroll-nav__search .search-btn {
  border-radius: 6px 0 0 6px;
}

[dir="rtl"] body.fullwidth-theme .custom-select__dropdown {
  left: auto;
  right: -2px;
}

[dir="rtl"] body.fullwidth-theme .custom-select--native .custom-select__dropdown {
  left: -1px;
  right: -1px;
}

[dir="rtl"] body.fullwidth-theme .megamenu {
  left: auto;
  right: 0;
}

[dir="rtl"] body.fullwidth-theme .side-panel h4::after {
  left: auto;
  right: 0;
}

[dir="rtl"] body.fullwidth-theme .product-card .badge,
[dir="rtl"] body.fullwidth-theme .mini-item .mi-badge {
  left: auto;
  right: 14px;
}

[dir="rtl"] body.fullwidth-theme .mini-item .mi-badge {
  right: -6px;
}

[dir="rtl"] body.fullwidth-theme .product-card .wish {
  right: auto;
  left: 14px;
}

[dir="rtl"] body.fullwidth-theme .side-ad::after {
  right: auto;
  left: -10px;
}

[dir="rtl"] body.fullwidth-theme .hero-slider__bg {
  background-position: center left;
}

[dir="rtl"] body.fullwidth-theme .hero-slider__arrow--prev {
  left: auto;
  right: 18px;
}

[dir="rtl"] body.fullwidth-theme .hero-slider__arrow--next {
  right: auto;
  left: 18px;
}

[dir="rtl"] body.fullwidth-theme .footer ul li a:hover {
  padding-left: 0;
  padding-right: 4px;
}

[dir="rtl"] body.fullwidth-theme .fb-copy {
  justify-self: end;
}

[dir="rtl"] body.fullwidth-theme .fb-links {
  justify-self: start;
  justify-content: flex-start;
}

[dir="rtl"] body.fullwidth-theme .footer-grid,
[dir="rtl"] body.fullwidth-theme .footer-bottom-inner {
  direction: rtl;
}

[dir="rtl"] body.fullwidth-theme .flip-rtl {
  display: inline-block;
  transform: scaleX(-1);
}

/* Common fullwidth route details */
[dir="rtl"] body.fullwidth-theme .pd-flag,
[dir="rtl"] body.fullwidth-theme .product-flag {
  left: auto;
  right: 14px;
}

[dir="rtl"] body.fullwidth-theme .pd-specs th,
[dir="rtl"] body.fullwidth-theme .pd-specs td {
  text-align: right;
}

[dir="rtl"] body.fullwidth-theme .acct-nav a.active::before {
  left: auto;
  right: 0;
}

[dir="rtl"] body.fullwidth-theme .acct-nav a:hover {
  padding-left: 0;
  padding-right: 4px;
}

/* ---------- Admin ---------- */
.admin-body {
  display: flex;
  min-height: 100vh;
  background: var(--bg-soft);
}

.admin-side {
  width: 235px;
  background: var(--heading);
  color: #cbd5dd;
  flex-shrink: 0;
}

.admin-side .brand {
  padding: 22px;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--head-font);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-side a {
  display: block;
  padding: 14px 22px;
  color: #cbd5dd;
  border-left: 3px solid transparent;
  font-weight: 500;
}

.admin-side a:hover,
.admin-side a.active {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-left-color: var(--primary);
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-top {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  padding: 16px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-content {
  padding: 26px;
}

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

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

.stat-card .n {
  font-size: 30px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--primary);
}

.stat-card .l {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

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

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 28px 0;
}

.pagination a,
.pagination span {
  padding: 9px 15px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Shop paginator ────────────────────────────────────────────── */
.shop-pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 36px 0 8px;
}

.shop-pager__info {
  font-size: 13px;
  color: var(--muted);
}

.shop-pager__info strong {
  color: var(--heading);
}

.shop-pager__row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.shop-pager__prev,
.shop-pager__next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--line-2);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
  background: #fff;
  transition: all .15s;
  text-decoration: none;
}

.shop-pager__prev:hover,
.shop-pager__next:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-tint);
}

.shop-pager__prev--off,
.shop-pager__next--off {
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
  pointer-events: none;
}

.shop-pager__nums {
  display: flex;
  align-items: center;
  gap: 3px;
}

.shop-pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--line-2);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
  background: #fff;
  transition: all .15s;
  text-decoration: none;
}

.shop-pager__num:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.shop-pager__num--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
}

.shop-pager__gap {
  min-width: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ===========================================================================
   Demo-accurate components (Nest): logo, browse button, location, app badges,
   home sidebar + filters, deals-of-day, category circles, product lists,
   shop page-header, product details, folded badges
   =========================================================================== */

/* Logo image */
.logo-img {
  height: 44px;
  width: auto;
}

/* Top bar center note */
.topbar .center {
  color: var(--body);
}

/* Header: location + icon actions with counts */
.header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--head-font);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.ha-count {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  position: absolute;
  top: -8px;
  right: -10px;
}

/* Browse All Categories button */
.browse-cats {
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  font-family: var(--head-font);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  align-self: center;
  height: 48px;
  white-space: nowrap;
}

.browse-cats .grid-ic {
  display: grid;
  grid-template-columns: repeat(2, 4px);
  gap: 3px;
}

.browse-cats .grid-ic i {
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 1px;
  display: block;
}

.nav-links a .nav-ic {
  margin-right: 5px;
}

.nav-links a.active {
  color: var(--primary);
}

/* ---------- Home layout: sidebar + main ---------- */
.home-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 8px;
}

/* Let grid/flex children shrink below their content's intrinsic min-width so
   nested auto-fill grids never force horizontal overflow. */
.home-layout>*,
.pd-layout>*,
.pd-main>* {
  min-width: 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.side-panel h4 {
  margin: 0 0 14px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.side-panel h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

/* Category list */
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--body);
  font-size: 14px;
  border-bottom: 1px solid #f4f4f4;
}

.cat-list a:last-child {
  border-bottom: none;
}

.cat-list a:hover {
  color: var(--primary);
}

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

.cat-list .left .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.cat-list a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.cat-list .cat-children {
  margin-left: 40px;
  border-left: 2px solid var(--line, #ececec);
  padding-left: 12px;
}

.cat-list .cat-children.hidden {
  display: none;
}

.cat-list .cat-children a {
  font-size: 13px;
  padding: 6px 0;
}

.cat-root-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cat-root-row > a {
  flex: 1;
  min-width: 0;
}

.cat-toggle {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}

.cat-toggle:hover {
  color: var(--primary);
  background: var(--bg-soft);
}

.cat-toggle i {
  font-size: 11px;
}

.side-more {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--body);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.side-more:hover {
  color: var(--primary);
}

.side-more:disabled {
  opacity: .6;
  cursor: wait;
}

.cat-list .count {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
}

/* Price filter */
.filter-panel {
  padding-top: 28px;
  padding-bottom: 28px;
}

/* ~16px taller than the default 20px panel padding */
.price-range {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  accent-color: var(--primary);
  margin: 10px 0 14px;
  cursor: pointer;
}

.price-vals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin: 4px 0 16px;
}

.price-vals .pv-box {
  flex: 1;
  text-align: center;
  padding: 7px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft, #faf7f2);
  color: var(--body);
  white-space: nowrap;
}

.price-vals .pv-sep {
  color: var(--muted, #9a9a9a);
}

.price-vals b {
  color: var(--primary);
  font-family: var(--head-font);
}

/* Custom filter checkboxes */
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--body);
  cursor: pointer;
  user-select: none;
  transition: color .15s;
}

.filter-check:hover {
  color: var(--heading);
}

.filter-check input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.filter-check input:hover {
  border-color: var(--primary);
}

.filter-check input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-check input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 183, 126, .25);
}

.filter-check input:checked+.fc-label,
.filter-check:has(input:checked) {
  color: var(--heading);
  font-weight: 600;
}

.side-panel .label {
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
  margin: 14px 0 8px;
  font-size: 13px;
}

/* New products mini list */
.mini-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.mini-item img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.mini-item>div {
  min-width: 0;
  flex: 1;
}

.mini-item .t {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13px;
  color: var(--heading);
  line-height: 1.35;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-item .t:hover {
  color: var(--primary);
}

.mini-item .p {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--head-font);
  margin-top: 3px;
}

.mini-item .stars {
  color: var(--yellow);
  font-size: 11px;
}

.mini-item .p .old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 12px;
  margin-left: 5px;
}

/* Inline badge on rotating mini items — only products that earned one
   (sale / new / bestseller / featured) carry it; fallback fillers don't. */
.mini-item {
  position: relative;
}

.mini-item .mi-badge {
  top: -6px;
  left: -6px;
  font-size: 9px;
  padding: 2px 7px;
}

/* List-column variant (4-column section) uses the same mini-item markup */
.list-col .mini-item img {
  width: 80px;
  height: 80px;
  min-width: 80px;
}

/* Sidebar ad banner */
/* The promo card grows to absorb any leftover height so the sidebar bottom
   lines up with the main column (Suggested Products sits below it). */
.side-ad {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  padding: 26px 20px 20px;
  background:
    radial-gradient(130% 100% at 90% -15%, rgba(255, 255, 255, .16), transparent 55%),
    radial-gradient(120% 90% at -10% 115%, rgba(59, 183, 126, .28), transparent 60%),
    linear-gradient(160deg, #0e3f2c 0%, #175940 60%, #1d6b4e 100%);
  text-align: center;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 30px -16px rgba(14, 63, 44, .55);
}

/* soft sheen along the top edge */
.side-ad::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent);
  pointer-events: none;
}

/* faint oversized % watermark */
.side-ad::after {
  content: "%";
  position: absolute;
  right: -10px;
  bottom: -26px;
  font-family: var(--head-font);
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.side-ad__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #d9f7e8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  position: relative;
}

.side-ad__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 183, 126, .25);
}

.side-ad .price-off {
  font-family: var(--head-font);
  font-weight: 900;
  font-size: 36px;
  color: var(--yellow);
  line-height: 1.05;
  letter-spacing: -.5px;
  position: relative;
  margin-bottom: 4px;
}

.side-ad h5 {
  font-family: var(--head-font);
  font-size: 13.5px;
  color: #ffffff;
  margin: 0 0 8px;
  position: relative;
  font-weight: 700;
}

.side-ad p {
  font-size: 12px;
  color: rgba(255, 255, 255, .68);
  margin: 0 0 14px;
  position: relative;
  line-height: 1.55;
}

.side-ad__features {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  position: relative;
}

.side-ad__features span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .10);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .16);
}

.side-ad__features span i {
  color: var(--yellow);
  font-size: 10px;
}

.side-ad__cta {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 10px;
  position: relative;
  margin-top: auto;
  background: #ffffff;
  color: #0e3f2c;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.side-ad__cta:hover {
  background: #f2fbf6;
  color: #0e3f2c;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.side-ad__cta i {
  transition: transform .18s ease;
}

.side-ad__cta:hover i {
  transform: translateX(3px);
}

.side-ad__note {
  font-size: 10.5px;
  color: rgba(255, 255, 255, .55);
  position: relative;
  margin-top: 10px;
}

/* Hero using real image */
.hero-banner {
  background-size: cover;
  background-position: right center;
  border-radius: var(--radius-lg);
  padding: 56px 50px;
  min-height: 320px;
  display: flex;
  align-items: center;
}

/* Hero animated slider */
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: var(--bg-soft);
  isolation: isolate;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 60px 60px;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  z-index: -1;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.hero-slider__slide.is-active .hero-slider__bg {
  transform: scale(1);
}

.hero-slider__content {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-slider__badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slider__slide.is-active .hero-slider__badge {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider__title {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.hero-slider__slide.is-active .hero-slider__title {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider__text {
  font-size: 16px;
  margin: 0 0 28px;
  color: var(--body);
  line-height: 1.7;
  max-width: 460px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.hero-slider__slide.is-active .hero-slider__text {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider__btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.65s, transform 0.7s ease 0.65s, background 0.15s, border-color 0.15s;
  box-shadow: 0 8px 24px rgba(59, 183, 126, 0.25);
}

.hero-slider__slide.is-active .hero-slider__btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--heading);
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s, color 0.15s;
}

.hero-slider:hover .hero-slider__arrow {
  opacity: 1;
}

.hero-slider__arrow:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1);
}

.hero-slider__arrow--prev {
  left: 18px;
}

.hero-slider__arrow--next {
  right: 18px;
}

.hero-slider__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.hero-slider__dot:hover {
  transform: scale(1.2);
}

.hero-slider__dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

/* ---------- Folded badges ---------- */
.badge {
  border-radius: 15px 0 15px 0;
}

/* ---------- Deals Of The Day cards ---------- */
/* Deals use the standard .product-card; only the countdown overlay is extra.
   Same fluid auto-fill grid as products (JS trims to 1–2 full rows). */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

/* Countdown sits over the bottom of the card image (inside .thumb) */
.product-card .thumb .deal-countdown {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.deal-countdown .seg {
  background: #fff;
  color: var(--heading);
  border-radius: 7px;
  padding: 5px 7px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13px;
  min-width: 36px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
  line-height: 1.1;
}

.deal-countdown .seg small {
  display: block;
  font-size: 8.5px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Shop by Categories circle row ---------- */
.cat-circles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 14px;
}

.cat-circle {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 6px;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}

.cat-circle:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.cat-circle .ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.cat-circle span {
  display: block;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--heading);
  line-height: 1.25;
}

.cat-circle small {
  color: var(--muted);
  font-size: 11px;
}

/* ── Category FA icons ────────────────────────────────────────────────────── */

/* Cycling palette: each nth category icon gets its own tint/color pair       */
/* 1=green 2=orange 3=blue 4=pink 5=violet 6=amber 7=teal 8=rose 9=lime 10=sky */
:root {
  --ci-1-bg: #e8f9f0;
  --ci-1: #22a96a;
  --ci-2-bg: #fff2e6;
  --ci-2: #e07020;
  --ci-3-bg: #e8f0fe;
  --ci-3: #3b7ef8;
  --ci-4-bg: #fdeef5;
  --ci-4: #e0388c;
  --ci-5-bg: #f0ecfd;
  --ci-5: #7c3aed;
  --ci-6-bg: #fef7e0;
  --ci-6: #d97706;
  --ci-7-bg: #e0faf6;
  --ci-7: #0d9488;
  --ci-8-bg: #fee8ec;
  --ci-8: #e11d48;
  --ci-9-bg: #eefbe7;
  --ci-9: #4d7c0f;
  --ci-10-bg: #e0f4ff;
  --ci-10: #0284c7;
}

/* ── 1. Cat-circles section (homepage "Shop by Categories") ── */
.cat-circle .ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s;
}

.cat-circle:hover .ring {
  transform: scale(1.08);
}

.cat-circle .ring i {
  font-size: 28px;
  line-height: 1;
}

.cat-circles .cat-circle:nth-child(10n+1) .ring {
  background: var(--ci-1-bg);
  color: var(--ci-1);
}

.cat-circles .cat-circle:nth-child(10n+2) .ring {
  background: var(--ci-2-bg);
  color: var(--ci-2);
}

.cat-circles .cat-circle:nth-child(10n+3) .ring {
  background: var(--ci-3-bg);
  color: var(--ci-3);
}

.cat-circles .cat-circle:nth-child(10n+4) .ring {
  background: var(--ci-4-bg);
  color: var(--ci-4);
}

.cat-circles .cat-circle:nth-child(10n+5) .ring {
  background: var(--ci-5-bg);
  color: var(--ci-5);
}

.cat-circles .cat-circle:nth-child(10n+6) .ring {
  background: var(--ci-6-bg);
  color: var(--ci-6);
}

.cat-circles .cat-circle:nth-child(10n+7) .ring {
  background: var(--ci-7-bg);
  color: var(--ci-7);
}

.cat-circles .cat-circle:nth-child(10n+8) .ring {
  background: var(--ci-8-bg);
  color: var(--ci-8);
}

.cat-circles .cat-circle:nth-child(10n+9) .ring {
  background: var(--ci-9-bg);
  color: var(--ci-9);
}

.cat-circles .cat-circle:nth-child(10n+10) .ring {
  background: var(--ci-10-bg);
  color: var(--ci-10);
}

/* ── 2. Sidebar category list ── */
.cat-list .left .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-list .left .ic i {
  font-size: 15px;
  line-height: 1;
}

.cat-list a:nth-child(10n+1) .ic {
  background: var(--ci-1-bg);
  color: var(--ci-1);
}

.cat-list a:nth-child(10n+2) .ic {
  background: var(--ci-2-bg);
  color: var(--ci-2);
}

.cat-list a:nth-child(10n+3) .ic {
  background: var(--ci-3-bg);
  color: var(--ci-3);
}

.cat-list a:nth-child(10n+4) .ic {
  background: var(--ci-4-bg);
  color: var(--ci-4);
}

.cat-list a:nth-child(10n+5) .ic {
  background: var(--ci-5-bg);
  color: var(--ci-5);
}

.cat-list a:nth-child(10n+6) .ic {
  background: var(--ci-6-bg);
  color: var(--ci-6);
}

.cat-list a:nth-child(10n+7) .ic {
  background: var(--ci-7-bg);
  color: var(--ci-7);
}

.cat-list a:nth-child(10n+8) .ic {
  background: var(--ci-8-bg);
  color: var(--ci-8);
}

.cat-list a:nth-child(10n+9) .ic {
  background: var(--ci-9-bg);
  color: var(--ci-9);
}

.cat-list a:nth-child(10n+10) .ic {
  background: var(--ci-10-bg);
  color: var(--ci-10);
}

/* ── 3. Megamenu nav dropdown ── */
.megamenu .ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.megamenu .ic i {
  font-size: 14px;
  line-height: 1;
}

.megamenu a:nth-child(10n+1) .ic {
  background: var(--ci-1-bg);
  color: var(--ci-1);
}

.megamenu a:nth-child(10n+2) .ic {
  background: var(--ci-2-bg);
  color: var(--ci-2);
}

.megamenu a:nth-child(10n+3) .ic {
  background: var(--ci-3-bg);
  color: var(--ci-3);
}

.megamenu a:nth-child(10n+4) .ic {
  background: var(--ci-4-bg);
  color: var(--ci-4);
}

.megamenu a:nth-child(10n+5) .ic {
  background: var(--ci-5-bg);
  color: var(--ci-5);
}

.megamenu a:nth-child(10n+6) .ic {
  background: var(--ci-6-bg);
  color: var(--ci-6);
}

.megamenu a:nth-child(10n+7) .ic {
  background: var(--ci-7-bg);
  color: var(--ci-7);
}

.megamenu a:nth-child(10n+8) .ic {
  background: var(--ci-8-bg);
  color: var(--ci-8);
}

.megamenu a:nth-child(10n+9) .ic {
  background: var(--ci-9-bg);
  color: var(--ci-9);
}

.megamenu a:nth-child(10n+10) .ic {
  background: var(--ci-10-bg);
  color: var(--ci-10);
}

/* legacy <img> cicon fallback (SVG files) */
.cicon {
  display: block;
  object-fit: contain;
}

.cat-list .ic .cicon,
.megamenu .ic .cicon {
  width: 18px;
  height: 18px;
}

.cat-circle .ring .cicon {
  width: 34px;
  height: 34px;
}

/* ---------- 4-column product lists ---------- */
.list-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.list-col h4 {
  font-size: 18px;
  margin: 0 0 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.list-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f4f4f4;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
}

.list-item>div {
  flex: 1;
  min-width: 0;
}

.list-item .t {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-item .t:hover {
  color: var(--primary);
}

.list-item .stars {
  color: var(--yellow);
  font-size: 12px;
  margin: 3px 0;
}

.list-item .p {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--head-font);
}

.list-item .p .old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 12px;
  margin-left: 5px;
}

/* ---------- Shop page header ---------- */
.page-header {
  background: linear-gradient(90deg, #def9ec, #f3fbf6);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.page-header h1 {
  margin: 0 0 6px;
  font-size: 32px;
}

.page-header .crumb {
  font-size: 13px;
  color: var(--body);
}

.page-header .crumb a:hover {
  color: var(--primary);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-toolbar select {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: inherit;
  color: var(--heading);
}

.shop-toolbar .custom-select--native {
  min-width: 160px;
  width: 160px;
  min-height: 40px;
}
.shop-toolbar .custom-select--native .custom-select__trigger {
  min-height: 40px;
  font-size: 13px;
}

/* ---------- Product details (full width) ---------- */
/* On normal screens the detail is full width; on large (≥1600px) screens a
   left suggestions sidebar appears, like the home page. */
.pd-content {
  min-width: 0;
}

.pd-aside {
  display: none;
}

@media (min-width: 1600px) {
  .pd-page {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .pd-aside {
    display: block;
    position: sticky;
    top: 18px;
  }
}

.pd-main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 50px;
  align-items: start;
}

/* Gallery */
.pd-gallery {
  position: sticky;
  top: 18px;
}

.pd-gallery .main {
  position: relative;
}

.pd-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
}

.pd-flag.sale {
  background: var(--pink);
}

.pd-flag.hot {
  background: var(--orange);
}

.pd-thumbs img.active {
  border-color: var(--primary);
}

/* Info column */
.pd-eyebrow {
  display: inline-block;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.pd-info h1 {
  font-size: 30px;
  margin: 0 0 12px;
  line-height: 1.25;
}

.pd-subline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--body);
  margin-bottom: 18px;
}

.pd-subline .sep {
  color: var(--line-2);
}

.pd-subline .rating {
  gap: 8px;
}

.pd-subline .rating .stars {
  font-size: 22px;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}

.pd-subline .rating .num {
  display: inline-flex;
  align-items: center;
  color: var(--heading);
  font-weight: 700;
  font-size: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
}

.pd-stock.ok {
  color: var(--primary);
  font-weight: 700;
}

.pd-stock.no {
  color: var(--pink);
  font-weight: 700;
}

.pd-short {
  color: var(--body);
  line-height: 1.7;
  margin: 16px 0 0;
}

/* Buy box — groups price + qty + add-to-cart into one deliberate panel */
.pd-buybox {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 22px 0;
}

.pd-buybox .pd-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.pd-save {
  font-size: 13.5px;
  color: var(--body);
  margin-top: 6px;
}

.pd-save b {
  color: var(--primary);
}

.pd-oos {
  margin-top: 16px;
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--pink);
}

/* ── Product variant selectors ────────────────────────────────────────────── */
.pd-variants { margin: 18px 0; }
.pd-var-group + .pd-var-group { margin-top: 16px; }
.pd-var-label {
  display: block;
  font-family: var(--head-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.pd-var-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-var-pill {
  appearance: none;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--body);
  font-family: var(--body-font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .12s ease;
  line-height: 1;
}
.pd-var-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(59,183,126,.10);
}
.pd-var-pill.active {
  border-color: var(--primary);
  background: var(--primary-tint);
  color: var(--primary-dark);
  box-shadow: 0 0 0 2px var(--primary-tint);
}
.pd-var-pill.is-oos,
.pd-var-pill:disabled {
  cursor: not-allowed;
  opacity: .45;
  color: #999;
  background: #f5f5f5;
  border-color: var(--line-2);
  text-decoration: line-through;
}
.pd-var-pill.is-oos:hover,
.pd-var-pill:disabled:hover {
  border-color: var(--line-2);
  color: #999;
  background: #f5f5f5;
  box-shadow: none;
}

/* Actions */
.pd-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 18px;
}

.pd-actions .btn-lg {
  flex: 1;
}

.pd-actions .qty {
  background: #fff;
}

.icon-btn {
  width: 52px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--body);
  transition: border-color .15s, color .15s;
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.icon-btn.wish.active,
.icon-btn.wish.active:hover {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}

/* Meta — clean label-over-value stacks (no stretched gaps) */
.pd-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin: 0 0 22px;
}

.pd-meta div {
  padding: 0;
}

.pd-meta dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 3px;
}

.pd-meta dd {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  font-family: var(--head-font);
  font-size: 14px;
}

/* Trust / assurance — balanced 2×2 grid with tinted icon chips */
.pd-assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-assure {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.pd-assure:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.pd-assure .ic {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.pd-assure .ic i {
  font-size: 16px;
  color: var(--primary-dark);
}

.empty-state-ic {
  width: 84px;
  height: 84px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.empty-state-ic i {
  font-size: 30px;
  color: var(--muted);
}

.pd-assure b {
  display: block;
  font-family: var(--head-font);
  font-size: 13px;
  color: var(--heading);
}

.pd-assure small {
  color: var(--muted);
  font-size: 12px;
}

/* Tabs (full width) */
.pd-tabs {
  margin-top: 32px;
}

.tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  flex-wrap: wrap;
}

.tabs-nav button {
  border: 1px solid var(--line);
  border-bottom: none;
  background: var(--bg-soft);
  padding: 12px 22px;
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--body);
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: color .15s, background .15s;
}

.tabs-nav button:hover {
  color: var(--primary);
}

.tabs-nav button.active {
  background: #fff;
  color: var(--primary);
  position: relative;
  top: 1px;
}

.tab-panel {
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 28px 30px;
  line-height: 1.7;
  color: var(--body);
}

.tab-panel h4 {
  margin: 0 0 8px;
  color: var(--heading);
}

.tab-panel.hidden {
  display: none;
}

.pd-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.pd-spec th {
  text-align: left;
  width: 200px;
  color: var(--muted);
  font-weight: 600;
}

.pd-review {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.pd-review:last-child {
  margin-bottom: 0;
}

.pd-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pd-review-top b {
  font-family: var(--head-font);
  color: var(--heading);
}

.pd-review p {
  margin: 0;
}

/* App badges (footer) */
.app-badges {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.app-badges img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

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

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
}

.social-row a:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Responsive ----------
   Product/category/deal grids use auto-FIT minmax so tracks STRETCH to fill the
   full width at ANY size (mobile → 12K) — no empty gutters on ultra-wide. The
   4-column "Top Selling…Top Rated" lists step 4→2→1 at the breakpoints below. */

@media (max-width: 1100px) {
  .list-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .pd-main {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    position: static;
  }

  .checkout-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

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

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

  .sidebar {
    display: none;
  }
}

@media (max-width: 720px) {

  .topbar,
  .nav-links,
  .nav-hotline,
  .browse-cats {
    display: none;
  }

  .header .container {
    flex-wrap: wrap;
    gap: 16px;
  }

  .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .search .custom-select {
    max-width: 130px;
  }

  .custom-select__trigger {
    padding: 0 10px;
    gap: 8px;
  }

  .custom-select__dropdown {
    min-width: 180px;
  }

  .header-actions {
    gap: 20px;
  }

  .h-action .lbl,
  .h-login span {
    display: none;
  }

  /* icons only on phones */
  .h-login {
    padding: 11px;
    border-radius: 50%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .slide-caption h2 {
    font-size: 30px;
  }

  .hero-banner {
    padding: 32px 24px;
    min-height: 240px;
  }

  .hero-slider,
  .hero-slider__track {
    min-height: 340px;
  }

  .hero-slider__slide {
    padding: 40px 28px;
  }

  .hero-slider__title {
    font-size: 28px;
  }

  .hero-slider__text {
    font-size: 14px;
  }

  .hero-slider__arrow {
    width: 36px;
    height: 36px;
    opacity: 1;
  }

  .hero-slider__arrow--prev {
    left: 10px;
  }

  .hero-slider__arrow--next {
    right: 10px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-row {
    grid-template-columns: 60px 1fr auto;
  }

  .page-header {
    padding: 24px;
  }

  .section-head {
    flex-wrap: wrap;
    gap: 10px;
  }

  .section-head .tabs {
    width: 100%;
  }

  .hero-form,
  .slide-caption {
    max-width: 100%;
  }

  .pd-meta,
  .pd-assurance,
  .pd-cols {
    grid-template-columns: 1fr;
  }

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

/* Predictable phone grids (desktop/tablet keep fluid auto-fill) */
@media (max-width: 680px) {

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

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

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

  .list-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {

  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

/* ===========================================================================
   Blog — listing & detail pages
   =========================================================================== */

/* Breadcrumb banner */
.blog-banner {
  position: relative;
  background: linear-gradient(135deg, var(--heading) 0%, #253d4a 50%, var(--primary-dark) 100%);
  padding: 48px 0 40px;
  margin-bottom: 0;
  overflow: hidden;
  text-align: center;
}

.blog-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(59, 183, 126, .18) 0%, transparent 35%),
    radial-gradient(circle at 75% 80%, rgba(247, 75, 129, .12) 0%, transparent 35%);
  pointer-events: none;
}

.blog-banner .container {
  position: relative;
  z-index: 1;
}

.blog-banner__title {
  font-size: 34px;
  font-family: var(--head-font);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.4px;
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}

.breadcrumb a {
  color: #fff;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  color: rgba(255,255,255,.5);
}

.breadcrumb__current {
  color: #fff;
  font-weight: 700;
}

/* Section wrapper */
.blog-section {
  padding: 44px 0 70px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 160px);
}

/* Two-column layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

/* Filter note */
.blog-filter-note {
  background: var(--primary-tint);
  border: 1px solid var(--primary-tint);
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--heading);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  margin-left: 4px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: #fff;
  transition: background .12s, color .12s;
}

.blog-filter-clear:hover {
  background: var(--primary);
  color: #fff;
}

/* Empty state */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  color: var(--muted);
}

.blog-empty i {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
  color: var(--line-2);
}

.blog-empty p {
  font-size: 16px;
  margin: 0 0 18px;
}

.blog-empty a {
  color: var(--primary);
  font-weight: 700;
}

/* Blog card grid — minimum 4 items per row */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Card */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--primary-tint);
}

/* Thumbnail */
.blog-card__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.blog-card:hover .blog-card__thumb img {
  transform: scale(1.08);
}

/* Category badge on image */
.blog-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  pointer-events: none;
  text-transform: uppercase;
}

/* Card body */
.blog-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card__meta i {
  margin-right: 3px;
  color: var(--primary);
}

.blog-card__title {
  font-size: 14px;
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 8px;
  line-height: 1.4;
  min-height: 39px;
}

.blog-card__title a {
  color: inherit;
}

.blog-card__title a:hover {
  color: var(--primary);
}

.blog-card__excerpt {
  font-size: 12px;
  color: var(--body);
  line-height: 1.6;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
  gap: 8px;
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--heading);
  font-weight: 600;
  overflow: hidden;
}

.blog-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.blog-card__author span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card__read-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
  flex-shrink: 0;
}

.blog-card__read-more:hover {
  gap: 8px;
}

/* Pagination */
.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.blog-pager__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  font-size: 13px;
  transition: background .15s, color .15s, border-color .15s;
  background: #fff;
}

.blog-pager__btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.blog-pager__btn--disabled {
  color: var(--muted);
  pointer-events: none;
  background: var(--bg-soft);
  border-color: var(--line);
}

.blog-pager__num {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  transition: background .15s, color .15s, border-color .15s;
  background: #fff;
}

.blog-pager__num:hover {
  background: var(--primary-tint);
  color: var(--primary);
  border-color: var(--primary);
}

.blog-pager__num--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(59, 183, 126, .25);
}

.blog-pager__gap {
  min-width: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 40px;
}

/* ── Sidebar widgets ──────────────────────────────── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
  align-self: start;
}

.blog-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.blog-widget__title {
  font-size: 15px;
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Search form */
.blog-search-form {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s;
}

.blog-search-form:focus-within {
  border-color: var(--primary);
}

.blog-search-form__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--heading);
  font-family: var(--body-font);
}

.blog-search-form__btn {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s;
}

.blog-search-form__btn:hover {
  background: var(--primary-dark);
}

/* Categories list */
.blog-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.blog-cats__item:last-child {
  border-bottom: none;
}

.blog-cats__item a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--heading);
  transition: color .15s;
}

.blog-cats__item a i {
  color: var(--primary);
  font-size: 10px;
}

.blog-cats__item a:hover {
  color: var(--primary);
}

.blog-cats__item--active a {
  color: var(--primary);
  font-weight: 700;
}

.blog-cats__count {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}

.blog-cats__item--active .blog-cats__count {
  background: var(--primary-tint);
  color: var(--primary);
}

/* Recent posts */
.blog-recent {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-recent__item {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.blog-recent__item:last-child {
  border-bottom: none;
}

.blog-recent__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}

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

.blog-recent__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.blog-recent__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-recent__link:hover {
  color: var(--primary);
}

.blog-recent__date {
  font-size: 11px;
  color: var(--muted);
}

.blog-recent__date i {
  margin-right: 3px;
}

/* Tags cloud */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tags__tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  color: var(--heading);
  transition: background .15s, color .15s, border-color .15s;
}

.blog-tags__tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Newsletter widget */
.blog-newsletter {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-tint) 0%, #fff 100%);
  border: 1px solid var(--primary-tint);
}

.blog-newsletter__icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-newsletter__title {
  margin: 0 0 6px;
}

.blog-newsletter__sub {
  font-size: 12px;
  color: var(--body);
  margin: 0 0 14px;
}

.blog-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-newsletter__input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
  font-family: var(--body-font);
  transition: border-color .15s;
}

.blog-newsletter__input:focus {
  border-color: var(--primary);
}

/* ── Blog detail page ──────────────────────────────── */
.blog-detail {
  padding: 40px 0 60px;
}

.blog-detail__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.blog-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-article__hero {
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

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

.blog-article__body {
  padding: 32px;
}

.blog-article__cat {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.blog-article__title {
  font-size: 26px;
  font-family: var(--head-font);
  color: var(--heading);
  margin: 0 0 14px;
  line-height: 1.3;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.blog-article__meta i {
  margin-right: 5px;
  color: var(--primary);
}

.blog-article__meta .blog-card__avatar {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.blog-article__content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

.blog-article__content h2 {
  font-size: 20px;
  font-family: var(--head-font);
  color: var(--heading);
  margin: 32px 0 12px;
}

.blog-article__content h3 {
  font-size: 17px;
  font-family: var(--head-font);
  color: var(--heading);
  margin: 24px 0 10px;
}

.blog-article__content p {
  margin: 0 0 18px;
}

.blog-article__content ul,
.blog-article__content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.blog-article__content li {
  margin-bottom: 6px;
}

.blog-article__content blockquote {
  border-left: 4px solid var(--primary);
  margin: 24px 0;
  padding: 14px 20px;
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--heading);
}

.blog-article__tags {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-article__tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
}

.blog-article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.blog-nav-card {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-nav-card--next {
  text-align: right;
}

.blog-nav-card__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.blog-nav-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}

.blog-nav-card a:hover {
  color: var(--primary);
}

/* ── Responsive blog ──────────────────────────────── */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {

  .blog-layout,
  .blog-detail__layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: -1;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-banner {
    padding: 36px 0 30px;
  }

  .blog-banner__title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article__title {
    font-size: 20px;
  }

  .blog-article__body {
    padding: 20px;
  }

  .blog-article__nav {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  background: linear-gradient(135deg, var(--heading) 0%, #253d4a 50%, #1e5c45 100%);
  padding: 72px 0 64px;
  overflow: hidden;
  color: #fff;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 183, 126, .16) 0%, transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(247, 75, 129, .10) 0%, transparent 35%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: .4px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.about-hero__badge i {
  color: var(--primary);
}

.about-hero__title {
  font-size: 42px;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -.6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.about-hero__sub {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .75);
  margin: 0 0 32px;
  max-width: 480px;
}

.about-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-hero__actions .btn {
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.about-hero__actions .btn-outline {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.about-hero__actions .btn-outline:hover {
  background: #fff;
  color: var(--heading);
  border-color: #fff;
}

.about-hero__img-wrap {
  position: relative;
}

.about-hero__img-wrap::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-hero__img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  display: block;
  position: relative;
  z-index: 1;
}

.about-hero__img-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, var(--primary-tint), #b8ead1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--primary);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  position: relative;
  z-index: 1;
}

/* ── Stats ─────────────────────────────────────────────────── */
.about-stats {
  background: linear-gradient(135deg, #f8fbf9 0%, #fff 100%);
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--line);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.about-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 22px 10px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}

.about-stat-card:hover::before {
  transform: scaleX(1);
}

.about-stat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
  transition: background .22s, color .22s, transform .22s;
}

.about-stat-card:hover .about-stat-card__icon {
  transform: scale(1.08);
}

.about-stat-card__value {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--head-font);
  color: var(--heading);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-card__label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
}

/* Stat card icon colors */
.about-stat-card:nth-child(6n+1) .about-stat-card__icon {
  background: var(--ci-1-bg, #def9ec);
  color: var(--ci-1, #3bb77e);
}
.about-stat-card:nth-child(6n+1):hover .about-stat-card__icon {
  background: var(--ci-1, #3bb77e);
  color: #fff;
}

.about-stat-card:nth-child(6n+2) .about-stat-card__icon {
  background: var(--ci-2-bg, #feefea);
  color: var(--ci-2, #f74b81);
}
.about-stat-card:nth-child(6n+2):hover .about-stat-card__icon {
  background: var(--ci-2, #f74b81);
  color: #fff;
}

.about-stat-card:nth-child(6n+3) .about-stat-card__icon {
  background: var(--ci-3-bg, #fff3e0);
  color: var(--ci-3, #f59e0b);
}
.about-stat-card:nth-child(6n+3):hover .about-stat-card__icon {
  background: var(--ci-3, #f59e0b);
  color: #fff;
}

.about-stat-card:nth-child(6n+4) .about-stat-card__icon {
  background: var(--ci-4-bg, #ede9fe);
  color: var(--ci-4, #8b5cf6);
}
.about-stat-card:nth-child(6n+4):hover .about-stat-card__icon {
  background: var(--ci-4, #8b5cf6);
  color: #fff;
}

.about-stat-card:nth-child(6n+5) .about-stat-card__icon {
  background: var(--ci-5-bg, #e0f2fe);
  color: var(--ci-5, #0ea5e9);
}
.about-stat-card:nth-child(6n+5):hover .about-stat-card__icon {
  background: var(--ci-5, #0ea5e9);
  color: #fff;
}

.about-stat-card:nth-child(6n+6) .about-stat-card__icon {
  background: var(--ci-6-bg, #fce7f3);
  color: var(--ci-6, #ec4899);
}
.about-stat-card:nth-child(6n+6):hover .about-stat-card__icon {
  background: var(--ci-6, #ec4899);
  color: #fff;
}

/* ── Story ─────────────────────────────────────────────────── */
.about-story {
  padding: 72px 0;
  background: #fff;
}

.about-story__layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}

.about-story__img-col {
  position: relative;
}

.about-story__img {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .1);
  display: block;
}

.about-story__img-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(145deg, var(--primary-tint), #bce3c9);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--primary);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .1);
}

.about-story__img-col::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .35;
}

.about-story__mission-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 18px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.about-story__mission-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-top: 1px;
  transition: background .2s, color .2s;
}

.about-story__mission-card:hover .about-story__mission-icon {
  background: var(--primary);
  color: #fff;
}

.about-story__mission-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-story__mission-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.about-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.about-section-title {
  font-size: 32px;
  color: var(--heading);
  margin: 0 0 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.3px;
}

.about-story__body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  margin: 0 0 18px;
}

.about-story__vision {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-tint), #d0f0e0);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 18px;
}

.about-story__vision>i {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
}

.about-story__vision b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.about-story__vision p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

/* ── Values ────────────────────────────────────────────────── */
.about-values {
  padding: 72px 0;
  background: var(--bg-soft);
}

.about-values__head {
  text-align: center;
  margin-bottom: 44px;
}

.about-values__head .about-section-title {
  margin-bottom: 0;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}

.about-value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}

.about-value-card:hover::before {
  transform: scaleX(1);
}

.about-value-card__icon {
  width: 60px;
  height: 60px;
  background: var(--primary-tint);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--primary);
  transition: background .22s, color .22s, transform .22s;
}

.about-value-card:hover .about-value-card__icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
}

.about-value-card__title {
  font-size: 16px;
  color: var(--heading);
  margin: 0 0 10px;
  font-family: var(--head-font);
  font-weight: 700;
}

.about-value-card__desc {
  font-size: 13px;
  color: var(--body);
  line-height: 1.65;
  margin: 0;
}

/* Value card icon colours */
.about-value-card:nth-child(8n+1) .about-value-card__icon {
  background: var(--ci-1-bg, #def9ec);
  color: var(--ci-1, #3bb77e);
}
.about-value-card:nth-child(8n+1):hover .about-value-card__icon {
  background: var(--ci-1, #3bb77e);
  color: #fff;
}

.about-value-card:nth-child(8n+2) .about-value-card__icon {
  background: var(--ci-2-bg, #feefea);
  color: var(--ci-2, #f74b81);
}
.about-value-card:nth-child(8n+2):hover .about-value-card__icon {
  background: var(--ci-2, #f74b81);
  color: #fff;
}

.about-value-card:nth-child(8n+3) .about-value-card__icon {
  background: var(--ci-3-bg, #fff3e0);
  color: var(--ci-3, #f59e0b);
}
.about-value-card:nth-child(8n+3):hover .about-value-card__icon {
  background: var(--ci-3, #f59e0b);
  color: #fff;
}

.about-value-card:nth-child(8n+4) .about-value-card__icon {
  background: var(--ci-4-bg, #ede9fe);
  color: var(--ci-4, #8b5cf6);
}
.about-value-card:nth-child(8n+4):hover .about-value-card__icon {
  background: var(--ci-4, #8b5cf6);
  color: #fff;
}

.about-value-card:nth-child(8n+5) .about-value-card__icon {
  background: var(--ci-5-bg, #e0f2fe);
  color: var(--ci-5, #0ea5e9);
}
.about-value-card:nth-child(8n+5):hover .about-value-card__icon {
  background: var(--ci-5, #0ea5e9);
  color: #fff;
}

.about-value-card:nth-child(8n+6) .about-value-card__icon {
  background: var(--ci-6-bg, #fce7f3);
  color: var(--ci-6, #ec4899);
}
.about-value-card:nth-child(8n+6):hover .about-value-card__icon {
  background: var(--ci-6, #ec4899);
  color: #fff;
}

.about-value-card:nth-child(8n+7) .about-value-card__icon {
  background: #fef9c3;
  color: #ca8a04;
}
.about-value-card:nth-child(8n+7):hover .about-value-card__icon {
  background: #ca8a04;
  color: #fff;
}

.about-value-card:nth-child(8n+8) .about-value-card__icon {
  background: #f1f5f9;
  color: #64748b;
}
.about-value-card:nth-child(8n+8):hover .about-value-card__icon {
  background: #64748b;
  color: #fff;
}

/* ── Team ──────────────────────────────────────────────────── */
.about-team {
  padding: 72px 0;
  background: #fff;
}

.about-team__head {
  text-align: center;
  margin-bottom: 44px;
}

.about-team__head .about-section-title {
  margin-bottom: 0;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}

.about-team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}

.about-team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}

.about-team-card:hover::before {
  transform: scaleX(1);
}

.about-team-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-tint);
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .22s, transform .22s;
}

.about-team-card:hover .about-team-card__avatar {
  border-color: var(--primary);
  transform: scale(1.03);
}

.about-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-team-card__initials {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--primary);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-team-card__name {
  font-size: 17px;
  color: var(--heading);
  margin: 0 0 6px;
  font-family: var(--head-font);
  font-weight: 700;
}

.about-team-card__role {
  display: inline-block;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.about-team-card__bio {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
  margin: 0 0 16px;
}

.about-team-card__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s, transform .22s;
}

.about-team-card:hover .about-team-card__social {
  opacity: 1;
  transform: translateY(0);
}

.about-team-card__social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background .15s, color .15s;
  text-decoration: none;
}

.about-team-card__social a:hover {
  background: var(--primary);
  color: #fff;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.about-cta {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #1e7a52 100%);
  padding: 64px 0;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,.12) 0%, transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,.08) 0%, transparent 30%);
  pointer-events: none;
}

.about-cta .container {
  position: relative;
  z-index: 1;
}

.about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.about-cta__title {
  font-size: 30px;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
  font-family: var(--head-font);
  font-weight: 800;
}

.about-cta__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  margin: 0;
  line-height: 1.6;
}

.about-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.about-cta__btn-solid {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.about-cta__btn-solid:hover {
  background: var(--primary-tint);
  border-color: var(--primary-tint);
  color: var(--primary-dark);
}

.about-cta__btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
}

.about-cta__btn-ghost:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .8);
  color: #fff;
}

/* ── Responsive About ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .about-hero__inner {
    grid-template-columns: 1fr 400px;
    gap: 44px;
  }

  .about-hero__title {
    font-size: 36px;
  }

  .about-story__layout {
    grid-template-columns: 360px 1fr;
    gap: 44px;
  }

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

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

  .about-stat-card {
    padding: 26px 14px;
  }
}

@media (max-width: 1024px) {
  .about-hero__inner {
    grid-template-columns: 1fr 340px;
    gap: 36px;
  }

  .about-hero__title {
    font-size: 32px;
  }

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

  .about-story__layout {
    grid-template-columns: 300px 1fr;
    gap: 36px;
  }

  .about-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 48px 0 40px;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero__title {
    font-size: 28px;
  }

  .about-hero__img-wrap {
    order: -1;
  }

  .about-hero__img,
  .about-hero__img-placeholder {
    height: 240px;
  }

  .about-story__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-story__img,
  .about-story__img-placeholder {
    height: 240px;
  }

  .about-story__img-col::before {
    display: none;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .about-cta__title {
    font-size: 24px;
  }

  .about-section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .about-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-team__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__title {
    font-size: 24px;
  }

  .about-cta__actions {
    justify-content: center;
    width: 100%;
  }

  .about-cta__btn-solid,
  .about-cta__btn-ghost {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════════ */

.contact-section {
  padding: 50px 0 70px;
}

.contact-intro {
  font-size: 16px;
  color: var(--body);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Layout ─────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Info sidebar ───────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--line);
  transition: box-shadow .2s;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-hover);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-info-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin: 0 0 4px;
  font-family: var(--head-font);
}

.contact-info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--heading);
  line-height: 1.55;
}

.contact-info-card p a {
  color: var(--heading);
  font-weight: 600;
}

.contact-info-card p a:hover {
  color: var(--primary);
}

/* Quick links */
.contact-quick {
  background: var(--heading);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 4px;
}

.contact-quick__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 12px;
  font-family: var(--head-font);
}

.contact-quick__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-quick__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background .15s, color .15s;
}

.contact-quick__links a:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.contact-quick__links a i {
  width: 18px;
  color: var(--primary);
  text-align: center;
}

/* ── Form card ──────────────────────────────────────────────── */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact-form-card__head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.contact-form-card__title {
  font-size: 22px;
  color: var(--heading);
  margin: 0 0 6px;
  font-family: var(--head-font);
}

.contact-form-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.contact-form {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-field__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}

.contact-field__wrap {
  position: relative;
}

.contact-field__wrap input,
.contact-field__wrap select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 11px 14px 11px 42px;
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--heading);
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}

.contact-field__wrap input:focus,
.contact-field__wrap select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 183, 126, .12);
  background: #fff;
}

.contact-field__wrap .custom-select--native .custom-select__trigger {
  padding-left: 42px;
  height: 46px;
  min-height: 46px;
}

.contact-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.contact-field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--heading);
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
  box-sizing: border-box;
  line-height: 1.65;
}

.contact-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 183, 126, .12);
  background: #fff;
}

/* ── Success state ──────────────────────────────────────────── */
.contact-success {
  text-align: center;
  padding: 60px 32px;
}

.contact-success__icon {
  font-size: 56px;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1;
}

.contact-success h2 {
  font-size: 26px;
  color: var(--heading);
  margin: 0 0 10px;
}

.contact-success p {
  font-size: 15px;
  color: var(--body);
  margin: 0 0 24px;
  line-height: 1.65;
}

/* ── Map ────────────────────────────────────────────────────── */
.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: none;
}

/* ── Responsive Contact ─────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .contact-quick {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px 20px 22px;
  }

  .contact-form-card__head {
    padding: 18px 20px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ALL CATEGORIES PAGE
═══════════════════════════════════════════════════════════════ */

/* Banner */
.cats-banner {
  position: relative;
  background: linear-gradient(135deg, var(--heading) 0%, #253d4a 50%, var(--primary-dark) 100%);
  padding: 56px 0 44px;
  text-align: center;
  overflow: hidden;
}

.cats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 183, 126, .18) 0%, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(247, 75, 129, .12) 0%, transparent 35%);
  pointer-events: none;
}

.cats-banner .container {
  position: relative;
  z-index: 1;
}

.cats-banner__title {
  font-size: 36px;
  color: #fff;
  margin: 0 0 10px;
  font-family: var(--head-font);
  font-weight: 800;
  letter-spacing: -.4px;
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.cats-banner__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 28px;
}

.cats-search {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  border-radius: 50px;
}

.cats-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
}

.cats-search__input {
  width: 100%;
  padding: 14px 48px;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  font-family: var(--body-font);
  outline: none;
  box-sizing: border-box;
  background: #fff;
  transition: box-shadow .2s;
}

.cats-search__input:focus {
  box-shadow: 0 0 0 4px rgba(59, 183, 126, .25);
}

.cats-search__clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
  line-height: 1;
}

.cats-search__clear:hover {
  background: var(--primary);
  color: #fff;
}

/* A–Z jump bar */
.cats-az {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  overflow-x: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.cats-az .container {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  align-items: center;
}

.cats-az__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
  border: 1px solid var(--line-2);
  background: #fff;
  transition: all .12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cats-az__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-tint);
}

.cats-az__btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(59, 183, 126, .25);
}

/* Filter note */
.cats-filter-note {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cats-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--primary-tint);
  transition: background .12s;
}

.cats-filter-clear:hover {
  background: var(--primary);
  color: #fff;
}

/* Section */
.cats-section {
  padding: 44px 0 72px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 120px);
}

/* Empty state */
.cats-empty {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  max-width: 560px;
  margin: 0 auto;
}

.cats-empty i {
  font-size: 56px;
  color: var(--line-2);
  margin-bottom: 18px;
  display: block;
}

.cats-empty p {
  font-size: 17px;
  color: var(--body);
  margin: 0 0 22px;
}

/* Grid */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.cat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 16px 18px;
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}

.cat-card:hover::before {
  transform: scaleX(1);
}

.cat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  transition: background .22s, color .22s, transform .22s;
  flex-shrink: 0;
}

/* Cycle icon bg colours same as megamenu */
.cats-grid .cat-card:nth-child(10n+1) .cat-card__icon {
  background: var(--ci-1-bg, #def9ec);
  color: var(--ci-1, #3bb77e);
}

.cats-grid .cat-card:nth-child(10n+2) .cat-card__icon {
  background: var(--ci-2-bg, #feefea);
  color: var(--ci-2, #f74b81);
}

.cats-grid .cat-card:nth-child(10n+3) .cat-card__icon {
  background: var(--ci-3-bg, #fff3e0);
  color: var(--ci-3, #f59e0b);
}

.cats-grid .cat-card:nth-child(10n+4) .cat-card__icon {
  background: var(--ci-4-bg, #ede9fe);
  color: var(--ci-4, #8b5cf6);
}

.cats-grid .cat-card:nth-child(10n+5) .cat-card__icon {
  background: var(--ci-5-bg, #e0f2fe);
  color: var(--ci-5, #0ea5e9);
}

.cats-grid .cat-card:nth-child(10n+6) .cat-card__icon {
  background: var(--ci-6-bg, #fce7f3);
  color: var(--ci-6, #ec4899);
}

.cats-grid .cat-card:nth-child(10n+7) .cat-card__icon {
  background: var(--ci-7-bg, #fef9c3);
  color: var(--ci-7, #ca8a04);
}

.cats-grid .cat-card:nth-child(10n+8) .cat-card__icon {
  background: var(--ci-8-bg, #f1f5f9);
  color: var(--ci-8, #64748b);
}

.cats-grid .cat-card:nth-child(10n+9) .cat-card__icon {
  background: #fff0f0;
  color: #ef4444;
}

.cats-grid .cat-card:nth-child(10n+10) .cat-card__icon {
  background: #f0fff4;
  color: #22c55e;
}

.cat-card:hover .cat-card__icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
}

.cat-card__name {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
  line-height: 1.35;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card__count {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.cat-card__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s, transform .22s, background .22s, color .22s;
}

.cat-card:hover .cat-card__arrow {
  opacity: 1;
  transform: translateY(0);
  background: var(--primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
  .cats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .cats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cats-banner__title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .cat-card {
    padding: 18px 12px 14px;
  }
  .cat-card__icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }
  .cats-banner {
    padding: 44px 0 36px;
  }
  .cats-banner__title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-card__name {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT PAGE
═══════════════════════════════════════════════════════════════ */
.acct-section { padding: 36px 0 60px; background: var(--bg-soft, #f8f7f5); }

.acct-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 90px);
}

.acct-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1280px) {
  .acct-wrapper { max-width: 100%; }
}

@media (min-width: 1441px) {
  .acct-wrapper { max-width: 100%; }
  .acct-layout { grid-template-columns: 280px 1fr; gap: 28px; }
}

@media (min-width: 1921px) {
  .acct-wrapper { max-width: 100%; }
  .acct-layout { grid-template-columns: 300px 1fr; gap: 32px; }
}

@media (min-width: 2561px) {
  .acct-wrapper { max-width: 100%; }
  .acct-layout { grid-template-columns: 320px 1fr; gap: 40px; }
}

@media (min-width: 3841px) {
  .acct-wrapper { max-width: 100%; }
  .acct-layout { grid-template-columns: 340px 1fr; gap: 48px; }
}

/* ── Sidebar ──────────────────────────────────────────────── */
.acct-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  overflow: hidden;
}

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

.acct-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #d35400) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.acct-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-user__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--heading);
  font-family: var(--head-font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acct-user__email {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acct-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.acct-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin: 2px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  transition: background .15s, color .15s;
  position: relative;
}

.acct-nav__item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .15s;
}

.acct-nav__item:hover {
  background: var(--bg-soft);
  color: var(--heading);
}

.acct-nav__item:hover i { color: var(--primary); }

.acct-nav__item.active {
  background: var(--primary-tint);
  color: var(--primary);
}

.acct-nav__item.active i { color: var(--primary); }

.acct-nav__item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}

.acct-nav__badge {
  margin-left: auto;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.acct-nav__logout {
  color: var(--pink);
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.acct-nav__logout i { color: var(--pink); }

.acct-nav__logout:hover {
  background: #fff0f3;
  color: var(--pink);
}

.acct-nav__logout:hover i { color: var(--pink); }

/* ── Main card ────────────────────────────────────────────── */
.acct-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  overflow: hidden;
}

.acct-card__head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.acct-card__head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 0;
}

.acct-card__head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ── Form styles ──────────────────────────────────────────── */
.acct-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.acct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.acct-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.acct-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}

.acct-field input,
.acct-field select,
.acct-field textarea {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--body);
  background: #fff;
  min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.acct-field input:focus,
.acct-field select:focus,
.acct-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.12);
}

.acct-field textarea {
  min-height: 90px;
  resize: vertical;
}

.acct-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.acct-disabled {
  background: var(--bg-soft) !important;
  opacity: .7;
  cursor: not-allowed !important;
}

.req { color: var(--pink); margin-left: 2px; }

/* Custom checkbox / toggle */
.acct-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--heading);
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.acct-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.acct-check__box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}

.acct-check__box::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .15s, transform .15s;
}

.acct-check:hover .acct-check__box { border-color: var(--primary); }

.acct-check input:checked + .acct-check__box {
  background: var(--primary);
  border-color: var(--primary);
}

.acct-check input:checked + .acct-check__box::after {
  opacity: 1;
  transform: scale(1);
}

.acct-check input:focus-visible + .acct-check__box {
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}

/* ── Empty state ─────────────────────────────────────────── */
.acct-empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--muted);
}

.acct-empty i {
  font-size: 48px;
  margin-bottom: 18px;
  display: block;
  color: var(--line-2);
}

.acct-empty p {
  margin: 0 0 18px;
  font-size: 14px;
}

/* ── Orders ──────────────────────────────────────────────── */
.acct-orders {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 24px;
}

.acct-order-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: #fff;
  transition: box-shadow .15s, border-color .15s;
}

.acct-order-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-color: var(--line-2);
}

.acct-order-card.cancelled { opacity: .55; }

.acct-order-card__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.acct-order-card__info {
  min-width: 140px;
  flex: 1 1 140px;
}

.acct-order-card__info a {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  font-family: var(--head-font);
}

.acct-order-card__info a:hover { color: var(--primary); }

.acct-order-card__meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.acct-order-card__meta i { margin-right: 4px; color: var(--primary); }

.acct-order-card__total {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
  min-width: 80px;
}

.acct-order-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 150px;
}

.acct-order-card__countdown {
  font-size: 12px;
  min-width: 90px;
}

.acct-order-card__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Addresses ───────────────────────────────────────────── */
.acct-addr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 24px 24px;
}

.acct-addr-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  position: relative;
  transition: box-shadow .15s, border-color .15s;
}

.acct-addr-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.acct-addr-card.default {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.acct-addr-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.acct-addr-card__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.acct-addr-card__label i { margin-right: 5px; }

.acct-addr-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--heading);
  margin-bottom: 3px;
}

.acct-addr-card__phone {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.acct-addr-card__text {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
  margin-top: 6px;
}

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

.acct-addr-form {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--line);
}

.acct-addr-form h3 {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--heading);
  font-family: var(--head-font);
}

.acct-addr-form .acct-form { padding: 0; }

/* ── Avatar upload row ───────────────────────────────────── */
.acct-avatar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
}

.acct-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.acct-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-avatar-initial {
  font-family: var(--head-font);
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
}

.acct-avatar-upload {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.acct-avatar-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.acct-avatar-hint {
  font-size: 12px;
  color: var(--muted);
}

/* ── Password tab ─────────────────────────────────────────── */
.acct-password-form { padding: 20px 24px 28px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .acct-layout { grid-template-columns: 1fr; }
  .acct-sidebar { display: flex; flex-direction: column; }
  .acct-user { border-bottom: 1px solid var(--line); border-right: none; }
  .acct-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px;
    gap: 6px;
    scrollbar-width: none;
  }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav__item {
    padding: 8px 14px;
    font-size: 12.5px;
    white-space: nowrap;
    margin: 0;
  }
  .acct-nav__item.active::before { display: none; }
  .acct-nav__item.active {
    background: var(--primary);
    color: #fff;
  }
  .acct-nav__item.active i { color: #fff; }
  .acct-nav__logout { border-top: none; margin-top: 0; border-left: 1px solid var(--line); }
  .acct-order-card__actions { margin-left: 0; width: 100%; justify-content: flex-start; }
}

@media (max-width: 600px) {
  .acct-wrapper { padding: 0 12px; }
  .acct-form { padding: 18px; }
  .acct-form__row { grid-template-columns: 1fr; }
  .acct-card__head { padding: 18px; }
  .acct-addr-grid { grid-template-columns: 1fr; }
  .acct-order-card { padding: 14px 16px; }
}

@media (min-width: 1441px) {
  .acct-user { padding: 24px; }
  .acct-avatar { width: 64px; height: 64px; font-size: 22px; }
  .acct-user__name { font-size: 16px; }
  .acct-user__email { font-size: 13px; }
  .acct-nav__item { padding: 13px 20px; font-size: 14.5px; }
  .acct-form { padding: 28px; gap: 20px; }
  .acct-form__row { gap: 20px; }
  .acct-field input,
  .acct-field select,
  .acct-field textarea { font-size: 15px; padding: 12px 16px; min-height: 48px; }
  .acct-avatar-preview { width: 104px; height: 104px; }
  .acct-avatar-initial { font-size: 42px; }
}

@media (min-width: 1921px) {
  .acct-card__head { padding: 24px 28px 20px; }
  .acct-card__head h2 { font-size: 21px; }
  .acct-form { padding: 30px; }
  .acct-orders { padding: 22px 28px 28px; }
  .acct-addr-grid { padding: 22px 28px 28px; }
}

@media (min-width: 2561px) {
  .acct-avatar { width: 72px; height: 72px; font-size: 26px; }
  .acct-user__name { font-size: 17px; }
  .acct-nav__item { padding: 14px 22px; font-size: 15px; }
  .acct-card__head { padding: 26px 32px 22px; }
  .acct-card__head h2 { font-size: 22px; }
  .acct-field label { font-size: 14px; }
  .acct-form { padding: 32px; gap: 24px; }
  .acct-avatar-preview { width: 112px; height: 112px; }
  .acct-avatar-initial { font-size: 46px; }
}

@media (min-width: 3841px) {
  .acct-avatar { width: 88px; height: 88px; font-size: 32px; }
  .acct-user__name { font-size: 19px; }
  .acct-nav__item { font-size: 16px; }
  .acct-form { padding: 40px; gap: 28px; }
  .acct-form__row { gap: 28px; }
  .acct-field input,
  .acct-field select,
  .acct-field textarea { font-size: 17px; min-height: 56px; }
  .acct-avatar-preview { width: 128px; height: 128px; }
  .acct-avatar-initial { font-size: 54px; }
}

/* ── Wishlist page ─────────────────────────────────────────── */
.wishlist-empty {
  text-align: center;
  padding: 70px 20px;
}
.wishlist-empty i {
  font-size: 56px;
  color: var(--pink);
  margin-bottom: 18px;
  display: block;
}
.wishlist-empty h2 {
  font-size: 24px;
  margin: 0 0 10px;
}
.wishlist-empty p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 15px;
}
.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--body);
  gap: 12px;
  flex-wrap: wrap;
}
.wishlist-count {
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}

/* ===========================================================================
   Legal pages — Terms & Conditions / Privacy Policy
   =========================================================================== */
.legal-section {
  padding: 65px 0 100px;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 180px);
}
.legal-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(37, 61, 78, .08);
  border: 1px solid #eef2f6;
  position: relative;
  overflow: hidden;
}
.legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.legal-card__title {
  font-size: 18px;
  margin: 0 0 22px;
  color: var(--heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-card__title i {
  color: var(--primary);
  font-size: 16px;
}
.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  transition: all .25s ease;
  border: 1px solid transparent;
  cursor: default;
}
.legal-list li:hover {
  background: #fff;
  border-color: var(--primary-tint);
  box-shadow: 0 6px 20px rgba(59, 183, 126, .10);
  transform: translateY(-2px);
}
.legal-list i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-tint) 0%, #e8f5ee 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.legal-list li:hover i {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.legal-list strong {
  display: block;
  font-size: 14px;
  color: var(--heading);
  margin-bottom: 4px;
}
.legal-list span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.legal-help p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
  margin: 0 0 20px;
}
.legal-help .btn {
  border-radius: 50px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 6px 18px rgba(59, 183, 126, .30);
  font-size: 14px;
  font-weight: 700;
  transition: all .25s ease;
  border: none;
}
.legal-help .btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #238b5c 100%);
  box-shadow: 0 10px 24px rgba(59, 183, 126, .40);
  transform: translateY(-2px);
}
.legal-help .btn i {
  transition: transform .25s ease;
}
.legal-help .btn:hover i {
  transform: scale(1.15);
}
.legal-content {
  background: #fff;
  border-radius: 20px;
  padding: 46px 52px;
  box-shadow: 0 10px 40px rgba(37, 61, 78, .08);
  border: 1px solid #eef2f6;
  position: relative;
  overflow: hidden;
}
.legal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.legal-intro {
  padding-bottom: 30px;
  border-bottom: 1px solid #eef2f6;
  margin-bottom: 34px;
}
.legal-intro p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--body);
  margin: 18px 0 0;
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-tint) 0%, #e8f5ee 100%);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  border: 1px solid rgba(59, 183, 126, .18);
  box-shadow: 0 2px 8px rgba(59, 183, 126, .10);
}
.legal-body h2 {
  font-size: 22px;
  color: var(--heading);
  margin: 40px 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary-tint);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.legal-body h2::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 0 0 4px var(--primary-tint);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--body);
  margin: 0 0 18px;
}
.legal-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.legal-body a:hover {
  border-color: var(--primary);
}
.legal-body ul,
.legal-body ol {
  margin: 0 0 22px 26px;
  padding: 0;
}
.legal-body li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 12px;
}
.legal-body strong {
  color: var(--heading);
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .legal-content { padding: 30px; }
  .legal-content::before { width: 100%; height: 4px; }
  .legal-body h2 { font-size: 19px; }
  .legal-section { padding: 40px 0 70px; }
}

/* Hero banner subtitle spacing fix for legal pages */
.blog-banner__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, .92);
  margin-top: 12px;
  max-width: 640px;
  line-height: 1.6;
}

/* ── Quick variant modal ──────────────────────────────────────────────────── */
.qv-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.qv-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.qv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(3px);
}
.qv-panel {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 420px;
  width: 93%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.05);
  transform: translateY(16px) scale(.96);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.qv-modal.is-open .qv-panel {
  transform: translateY(0) scale(1);
}

/* close — subtle icon in corner */
.qv-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: #888;
  cursor: pointer;
  line-height: 1;
  z-index: 5;
  transition: all .15s ease;
}
.qv-close:hover {
  color: #222;
  background: rgba(0,0,0,.05);
}

/* ── card header: thumb left, name + price right ── */
.qv-card-hd {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 20px 0;
}
.qv-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #eee;
}
.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s ease;
}
.qv-card-meta {
  flex: 1;
  min-width: 0;
  align-self: center;
}
.qv-name {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 4px;
}
.qv-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.qv-price .now {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--head-font);
}
.qv-price .was {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: line-through;
}

/* ── card body (variants + hint + actions) ── */
.qv-card-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  flex: 1;
}
.qv-card-body::-webkit-scrollbar { width: 4px; }
.qv-card-body::-webkit-scrollbar-track { background: transparent; }
.qv-card-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

/* variant pills overrides */
#qv-variants { margin: 0 0 12px; }
#qv-variants .pd-var-group + .pd-var-group { margin-top: 12px; }
#qv-variants .pd-var-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
  color: var(--muted);
}
#qv-variants .pd-var-pill {
  padding: 8px 18px;
  font-size: 13.5px;
  border-radius: 8px;
  border-color: #ddd;
  background: #fafafa;
  transition: all .12s ease;
}
#qv-variants .pd-var-pill:hover {
  border-color: var(--primary);
  background: #f0faf5;
  color: var(--primary);
}
#qv-variants .pd-var-pill.active {
  border-color: var(--primary-dark);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59,183,126,.25);
}
#qv-variants .pd-var-pill.is-oos,
#qv-variants .pd-var-pill:disabled {
  cursor: not-allowed;
  opacity: .45;
  color: #999;
  background: #f5f5f5;
  border-color: #e4e4e4;
  text-decoration: line-through;
}
#qv-variants .pd-var-pill.is-oos:hover,
#qv-variants .pd-var-pill:disabled:hover {
  border-color: #e4e4e4;
  background: #f5f5f5;
  color: #999;
}

/* hint */
.qv-hint {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 14px;
  padding: 8px 12px;
  background: #fafbfc;
  border-radius: 6px;
  border: 1px dashed #e0e0e0;
  transition: all .2s ease;
}
.qv-hint::before {
  content: 'ⓘ  ';
  font-style: normal;
}

/* ── actions row: qty stepper + button ── */
.qv-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

/* compact qty stepper */
.qty--sm {
  border-radius: 10px;
  border-color: #ddd;
  flex-shrink: 0;
}
.qty--sm button {
  width: 36px;
  height: 40px;
  font-size: 16px;
  background: #fafafa;
  transition: all .1s ease;
}
.qty--sm button:hover {
  background: #f0faf5;
  color: var(--primary);
}
.qty--sm input {
  width: 44px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  background: #fff;
  pointer-events: none;
  -moz-appearance: textfield;
}
.qty--sm input::-webkit-inner-spin-button,
.qty--sm input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* add-to-cart button */
.qv-add-btn {
  flex: 1;
  padding: 0 20px;
  font-family: var(--head-font);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease;
  letter-spacing: .2px;
  white-space: nowrap;
}
.qv-add-btn:hover:not(:disabled) {
  background: var(--primary-dark, #2ea36a);
  box-shadow: 0 4px 14px rgba(59,183,126,.30);
}
.qv-add-btn:active:not(:disabled) {
  transform: scale(.98);
}
.qv-add-btn:disabled {
  background: #d4d4d4;
  color: #aaa;
  cursor: not-allowed;
  box-shadow: none;
}
.qv-add-btn.is-ready {
  animation: qv-pulse .5s ease;
}
@keyframes qv-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59,183,126,.35); }
  50%  { box-shadow: 0 0 0 8px rgba(59,183,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,183,126,0); }
}

/* skeleton shimmer */
.qv-panel.is-loading .qv-card-hd {
  pointer-events: none;
}
.qv-panel.is-loading .qv-thumb {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: qv-shimmer 1s infinite;
}
.qv-panel.is-loading .qv-card-meta::before {
  content: '';
  display: block;
  height: 16px;
  width: 70%;
  border-radius: 4px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: qv-shimmer 1s infinite;
}
.qv-panel.is-loading .qv-card-meta::after {
  content: '';
  display: block;
  height: 14px;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: qv-shimmer 1s infinite;
}
@keyframes qv-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Account: modal, chips, errors, info strip ───────────── */
.fw-modal {
  width: 100%;
  max-width: 640px;
  padding: 16px;
  background: transparent;
  border: none;
}

.fw-modal__panel {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(37, 61, 78, 0.25);
  font-family: var(--body-font);
}

.fw-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background .15s, color .15s;
}

.fw-modal__close:hover { background: var(--primary-tint); color: var(--primary); }

.acct-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin: 0 0 6px;
  font-family: var(--head-font);
}

.acct-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 0 0 4px;
}

.acct-modal-sub { font-size: 13px; color: var(--muted); margin: 0; }

.acct-label-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.acct-chip-radio { cursor: pointer; }

.acct-chip-radio input { position: absolute; opacity: 0; width: 0; height: 0; }

.acct-chip-radio span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--body);
  transition: border-color .15s, background .15s, color .15s;
}

.acct-chip-radio:hover span { border-color: var(--primary); color: var(--primary); }

.acct-chip-radio input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.acct-chip-radio input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.acct-error { font-size: 12px; color: var(--pink); margin-top: 4px; }

.acct-addr-info {
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  padding: 16px 20px;
}

.acct-addr-info__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--heading);
  margin: 0 0 6px;
  font-family: var(--head-font);
}

.acct-addr-info__body { font-size: 13px; color: var(--body); line-height: 1.6; margin: 0; }

@media (max-width: 600px) {
  .fw-modal__panel { padding: 20px; }
  .acct-modal-title { font-size: 20px; }
}

/* ── Track order (guest + themed timeline) ────────────────── */
.fw-track-guest { max-width: 780px; margin: 0 auto; }

.fw-track-head { text-align: center; }

.fw-track-head__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--primary);
  margin: 0 0 8px;
  font-family: var(--head-font);
}

.fw-track-head__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 0;
}

.fw-track-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.fw-track-form input {
  flex: 1;
  min-width: 220px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--heading);
  min-height: 48px;
}

.fw-track-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.fw-track-card { margin-top: 30px; }

.fw-track-timeline { padding: 26px 24px 10px; }

.fw-track-timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.fw-track-timeline ol::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}

.fw-track-timeline li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 0 26px 34px;
}

.fw-track-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: #fff;
}

.fw-track-timeline li.done .fw-track-dot {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.fw-track-timeline li.current .fw-track-dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
}

.fw-track-step {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--head-font);
}

.fw-track-step.done { color: var(--heading); }

.fw-track-timeline li.current .fw-track-step { color: var(--primary); }

.fw-track-meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.fw-track-items { padding: 4px 24px 22px; border-top: 1px solid var(--line); }

.fw-track-items__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 20px 0 10px;
  font-family: var(--head-font);
}

.fw-track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.fw-track-item__img {
  width: 52px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}

.fw-track-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fw-track-item__name { margin: 0; font-size: 14px; font-weight: 700; color: var(--heading); font-family: var(--head-font); }

.fw-track-item__meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.fw-track-item__price { font-size: 14px; font-weight: 700; color: var(--heading); white-space: nowrap; }

.fw-track-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}

.fw-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
  .fw-track-head__title { font-size: 24px; }
  .fw-track-timeline { padding: 20px 16px 6px; }
  .fw-track-items { padding: 4px 16px 18px; }
  .fw-track-actions { padding: 16px; }
}

/* ── Wallet ───────────────────────────────────────────────── */
.fw-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(37, 61, 78, 0.5);
  padding: 16px;
}

.fw-overlay.flex { display: flex; }

.fw-overlay__panel {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(37, 61, 78, 0.25);
}

.fw-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.fw-overlay__head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}

.fw-overlay__head .fw-modal__close { position: static; width: 30px; height: 30px; }

.fw-wallet-balance {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--heading) 0%, #2b4a5e 100%);
  padding: 30px 28px;
  color: #fff;
  margin-bottom: 22px;
}

.fw-wallet-balance__deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.fw-wallet-balance__deco--1 { width: 170px; height: 170px; right: -30px; top: -40px; }
.fw-wallet-balance__deco--2 { width: 130px; height: 130px; right: 60px; bottom: -60px; }

.fw-wallet-balance__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.fw-wallet-balance__amount {
  margin: 10px 0 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  font-family: var(--head-font);
}

.fw-wallet-balance__email { margin: 8px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

.fw-wallet-balance__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: var(--head-font);
  transition: background .15s, transform .15s;
}

.fw-wallet-balance__btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.fw-wallet-stat__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0;
  font-family: var(--head-font);
}

.fw-wallet-stat__value { margin: 8px 0 0; font-size: 22px; font-weight: 700; font-family: var(--head-font); }

.fw-wallet-table-wrap { overflow-x: auto; padding: 0 20px; }

.fw-wallet-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.fw-wallet-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 1.5px solid var(--line);
  font-family: var(--head-font);
  white-space: nowrap;
}

.fw-wallet-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: middle;
}

.fw-wallet-table tbody tr { transition: background .12s; }
.fw-wallet-table tbody tr:hover { background: var(--bg-soft); }
.fw-wallet-table tbody tr:last-child td { border-bottom: none; }

.fw-wallet-table td.credit { color: var(--primary); font-weight: 700; }
.fw-wallet-table td.debit { color: var(--pink); font-weight: 700; }

.fw-wallet-desc { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fw-wallet-empty { text-align: center; padding: 46px 10px !important; color: var(--muted); }

.fw-wallet-quick { display: flex; gap: 8px; }

.fw-wallet-quick button {
  flex: 1;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--body);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  font-family: var(--head-font);
}

.fw-wallet-quick button:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }

@media (max-width: 600px) {
  .fw-wallet-balance { padding: 22px 18px; }
  .fw-wallet-balance__amount { font-size: 32px; }
}

/* Neutral + active pill variants (filter tabs, generic chips) */
.pill.pill-neutral {
  background: var(--bg-soft);
  color: var(--body);
}

.pill.pill-primary {
  background: var(--primary);
  color: #fff;
}

/* ── About imagery band ───────────────────────────────────── */
.fw-img-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 56px 0;
}

.fw-img-band__cell {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}

.fw-img-band__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.fw-img-band__cell:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
  .fw-img-band { grid-template-columns: repeat(2, 1fr); padding: 36px 0; }
}

/* ── FAQ page ─────────────────────────────────────────────── */
.fw-faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.fw-faq-sidebar { position: sticky; top: 110px; }

.fw-faq-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 12px 0 0;
}

.fw-faq-nav {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  border-left: 2px solid var(--line);
}

.fw-faq-nav a {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color .15s, border-color .15s;
}

.fw-faq-nav a:first-child { border-left-color: var(--primary); color: var(--heading); }

.fw-faq-nav a:hover { color: var(--primary); border-left-color: var(--primary); }

.fw-faq-help {
  margin-top: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}

.fw-faq-help > i { font-size: 26px; color: var(--primary); }

.fw-faq-help__title { margin: 10px 0 4px; font-weight: 700; color: var(--heading); font-size: 14.5px; font-family: var(--head-font); }

.fw-faq-help__sub { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.fw-faq-groups { display: flex; flex-direction: column; gap: 44px; }

.fw-faq-group-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 0 0 16px;
}

.fw-faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; transition: box-shadow .15s, border-color .15s; }

.fw-faq-item.is-open { border-color: var(--primary-tint); box-shadow: var(--shadow-hover, 0 8px 24px rgba(0,0,0,.07)); }

.fw-faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}

.fw-faq-item.is-open .fw-faq-q { color: var(--primary); }

.fw-faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background .15s, color .15s, transform .2s;
}

.fw-faq-item.is-open .fw-faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }

.fw-faq-a { max-width: 640px; padding: 0 20px 20px; margin: 0; font-size: 14px; line-height: 1.75; color: var(--body); }

.fw-faq-content-mode { max-width: 760px; margin: 0 auto; }

.fw-faq-head { padding: 26px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }

.fw-faq-head h1 { font-size: 34px; font-weight: 800; color: var(--heading); font-family: var(--head-font); margin: 14px 0 0; }

.fw-faq-head p { margin: 12px 0 0; font-size: 15px; color: var(--body); line-height: 1.7; }

@media (max-width: 900px) {
  .fw-faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .fw-faq-sidebar { position: static; }
}

/* ── Legal single page (terms/privacy/notice) ─────────────── */
.fw-legal-single { max-width: 860px; margin: 0 auto; }

.fw-legal-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 18px 0 0;
  line-height: 1.2;
}

.fw-legal-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.fw-legal-foot p { margin: 0; font-size: 14px; color: var(--muted); }

.fw-legal-foot a { color: var(--primary); font-weight: 700; text-decoration: none; }
.fw-legal-foot a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .fw-legal-title { font-size: 26px; }
}

/* ── Custom page blocks ───────────────────────────────────── */
.fw-cp-hero { display: flex; align-items: center; min-height: 260px; }
.fw-cp-hero--center { justify-content: center; text-align: center; }
.fw-cp-hero--center .about-hero__sub { margin-left: auto; margin-right: auto; }
.fw-cp-hero--center .about-hero__actions { justify-content: center; }

.fw-cp-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 0 0 18px;
}

.fw-cp-figure { margin: 0; }
.fw-cp-figure img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; display: block; }
.fw-cp-figure--narrow { max-width: 860px; margin: 0 auto; }
.fw-cp-figure figcaption { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }

.fw-cp-video {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.fw-cp-video iframe { width: 100%; height: 100%; border: none; display: block; }

.fw-cp-caption { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

.fw-cp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.fw-cp-columns__img img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-hover, 0 10px 30px rgba(0,0,0,.1));
}

@media (max-width: 900px) {
  .fw-cp-columns { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Seller show page ─────────────────────────────────────── */
.fw-seller-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(135deg, var(--heading) 0%, #1e5c45 100%);
  color: #fff;
}

.fw-seller-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.fw-seller-hero__inner { position: relative; z-index: 1; padding: 110px 15px 0; }

.fw-seller-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.fw-seller-hero__id { display: flex; align-items: flex-end; gap: 22px; }

.fw-seller-hero__logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .4);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.fw-seller-hero__since {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 6px;
}

.fw-seller-hero__name {
  font-size: 34px;
  font-weight: 800;
  font-family: var(--head-font);
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fw-seller-hero__verified { color: var(--primary); font-size: 24px; }

.fw-seller-hero__loc { margin: 8px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.fw-seller-hero__loc i { color: var(--primary); margin-right: 5px; }

.fw-seller-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.fw-seller-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0 0;
  padding: 0 0 34px;
}

.fw-seller-stats__cell {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 16px 20px;
}

.fw-seller-stats__cell dt {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--head-font);
}

.fw-seller-stats__cell dt i { color: var(--primary); margin-right: 6px; }

.fw-seller-stats__cell dd {
  margin: 7px 0 0;
  font-size: 19px;
  font-weight: 700;
  font-family: var(--head-font);
  color: #fff;
}

.fw-seller-about { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }

.fw-seller-about p { margin: 0 auto; max-width: 860px; text-align: center; font-size: 15px; line-height: 1.8; color: var(--body); }

.fw-seller-products-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.fw-seller-products-head__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--head-font);
  margin: 0;
}

.fw-seller-products-head__title .tnum { font-size: 15px; color: var(--muted); font-weight: 600; }

.fw-seller-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

.fw-seller-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--body);
  background: #fff;
  font-family: var(--head-font);
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.fw-seller-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -8px rgba(59, 183, 126, .4);
}

.fw-seller-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.fw-seller-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(59, 183, 126, .55);
}

.fw-seller-tab.active:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -8px rgba(59, 183, 126, .6);
}

.fw-seller-tab .tnum { opacity: .7; margin-left: 4px; font-size: 12px; }

.fw-seller-others { padding: 50px 0 60px; background: var(--bg-soft); border-top: 1px solid var(--line); }

.fw-seller-others-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

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

.fw-seller-mini:hover {
  box-shadow: var(--shadow-hover, 0 8px 24px rgba(0,0,0,.08));
  border-color: var(--primary-tint);
  transform: translateY(-2px);
}

.fw-seller-mini img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fw-seller-mini__name { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--heading); font-family: var(--head-font); }

.fw-seller-mini__spec { margin: 3px 0 0; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

.fw-seller-mini > i { color: var(--muted); transition: color .15s, transform .15s; }

.fw-seller-mini:hover > i { color: var(--primary); transform: translateX(3px); }

@media (max-width: 900px) {
  .fw-seller-hero__inner { padding-top: 80px; }
  .fw-seller-stats { grid-template-columns: repeat(2, 1fr); }
  .fw-seller-hero__name { font-size: 26px; }
  .fw-seller-hero__logo { width: 72px; height: 72px; }
}

/* ── Sellers index & become-a-seller ─────────────────────────────────────── */
.fw-seller-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}
.fw-sellers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fw-seller-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.fw-seller-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}
.fw-seller-card__banner {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}
.fw-seller-card__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.fw-seller-card:hover .fw-seller-card__banner img {
  transform: scale(1.05);
}
.fw-seller-card__banner .pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10.5px;
  padding: 5px 12px;
}
.fw-seller-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fw-seller-card__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.fw-seller-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(37, 61, 78, .12);
  object-fit: cover;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  background: #fff;
  flex-shrink: 0;
}
.fw-seller-card__id { min-width: 0; padding-top: 4px; }
.fw-seller-card__id h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  font-family: var(--head-font);
  color: var(--heading);
}
.fw-seller-card__id h2 a { color: inherit; text-decoration: none; transition: color .15s; }
.fw-seller-card__id h2 a:hover { color: var(--primary); }
.fw-seller-card__id p {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
}
.fw-seller-card__desc {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fw-seller-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  border-top: 1px solid var(--line);
  margin: 16px 0;
  padding-top: 14px;
}
.fw-seller-card__stats b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--head-font);
  color: var(--heading);
}
.fw-seller-card__stats span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 3px;
}
.fw-seller-card__body .btn { margin-top: auto; }

/* Become-a-seller steps */
.fw-seller-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.fw-seller-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fw-seller-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}
.fw-seller-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--head-font);
  margin-bottom: 16px;
}
.fw-seller-step h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--head-font);
}
.fw-seller-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

/* Become-a-seller pricing */
.fw-seller-pricing {
  padding: 60px 0 70px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fw-seller-pricing .about-values__head { margin-bottom: 34px; }
.fw-seller-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.fw-seller-package {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fw-seller-package:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.fw-seller-package.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 14px 40px rgba(59, 183, 126, .16);
}
.fw-seller-package__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(59, 183, 126, .35);
}
.fw-seller-package__flag i { margin-right: 5px; }
.fw-seller-package h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.fw-seller-package__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.fw-seller-package__price span {
  font-size: 30px;
  font-weight: 800;
  font-family: var(--head-font);
  color: var(--heading);
}
.fw-seller-package__price small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.fw-seller-package__desc {
  margin: 10px 0 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--body);
}
.fw-seller-package ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.fw-seller-package li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--heading);
  line-height: 1.5;
}
.fw-seller-package li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.fw-seller-package li.off { color: var(--muted); }
.fw-seller-package li.off i { color: #cbd5e1; }
.fw-seller-pricing-single {
  background: #fff;
  border: 2px solid var(--heading);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 40px;
  text-align: center;
}
.fw-seller-pricing-single__label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.fw-seller-pricing-single__rate {
  margin: 16px 0 0;
  font-size: 42px;
  font-weight: 800;
  font-family: var(--head-font);
  color: var(--heading);
}
.fw-seller-pricing-single__rate span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.fw-seller-pricing-single__note {
  margin: 14px auto 24px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

@media (max-width: 1024px) {
  .fw-sellers-grid { grid-template-columns: repeat(2, 1fr); }
  .fw-seller-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  .fw-sellers-grid { grid-template-columns: 1fr; }
  .fw-seller-steps { grid-template-columns: 1fr; }
  .fw-seller-pricing-single { padding: 34px 24px; }
  .fw-seller-pricing-single__rate { font-size: 32px; }
}

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.fw-404 {
  padding: 110px 0 130px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, var(--primary-tint) 0%, transparent 30%),
    radial-gradient(circle at 85% 85%, #fff3e0 0%, transparent 30%),
    var(--bg-soft);
}
.fw-404__code {
  margin: 0;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--head-font);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fw-404__title {
  margin: 22px 0 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--head-font);
}
.fw-404__sub {
  margin: 12px auto 0;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}
.fw-404__actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 768px) {
  .fw-404 { padding: 70px 0 90px; }
  .fw-404__code { font-size: 90px; }
  .fw-404__title { font-size: 24px; }
}

/* Utility fallback */
.hidden { display: none !important; }
