:root {
  --bg: #f4f6f8;
  --surface: #fff;
  --surface-2: #eef2f5;
  --text: #081019;
  --muted: #69747f;
  --line: rgba(10, 18, 28, 0.11);
  --dark: #05090d;
  --dark-2: #0b1118;
  --cyan: #24d7ff;
  --gold: #f4c75b;
  --danger: #ff5c6a;
  --shadow: 0 28px 80px rgba(5, 12, 20, 0.12);
  --radius: 24px;
  --shell: min(1480px, calc(100% - 42px));
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  overflow-x: hidden;
}
body.dark {
  --bg: #05090d;
  --surface: #0b1118;
  --surface-2: #111a24;
  --text: #f7fbff;
  --muted: #9aa8b5;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}
html.theme-dark {
  background: #05090d;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.15;
  pointer-events: none;
}
.glow-one {
  width: 460px;
  height: 460px;
  background: var(--cyan);
  top: 8%;
  right: -200px;
}
.glow-two {
  width: 520px;
  height: 520px;
  background: #7b61ff;
  bottom: 5%;
  left: -260px;
}
.topbar {
  background: #020508;
  color: #dce7ef;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.topbar-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.topbar span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
.topbar p {
  margin: 0;
  color: #9eabb5;
}
.topbar a {
  color: var(--cyan);
  font-weight: 700;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  transition: 0.3s var(--ease);
}
.header.scrolled {
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.09);
}
.header-row {
  height: 82px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 34px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.logo-frame {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  overflow: hidden;
  background: #030609;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text {
  display: grid;
  gap: 1px;
}
.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.025em;
}
.brand-text small {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}
.search {
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: 0.25s;
}
.search:focus-within {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--cyan) 60%, var(--line));
  box-shadow: 0 0 0 4px rgba(36, 215, 255, 0.09);
}
.search button {
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
}
.search input {
  height: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 6px;
}
.search select {
  height: 31px;
  max-width: 145px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  outline: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 21px;
  transition: 0.25s;
}
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 215, 255, 0.55);
}
.badge-btn b,
.cart-symbol b {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  padding: 0 5px;
  background: var(--cyan);
  color: #001016;
  font-size: 11px;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 16px rgba(36, 215, 255, 0.32);
}
.sun,
.moon {
  position: absolute;
}
body:not(.dark) .moon {
  display: none;
}
body.dark .sun {
  display: none;
}
.cart-btn {
  height: 48px;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  padding: 0 15px;
}
.cart-symbol {
  position: relative;
  font-size: 25px;
}
.cart-btn span:last-child {
  display: grid;
  text-align: right;
  gap: 2px;
}
.cart-btn small {
  font-size: 10px;
  color: #93a0aa;
}
.cart-btn strong {
  font-size: 13px;
}
.mobile-menu,
.mobile-search-btn {
  display: none;
}
.nav-wrap {
  border-top: 1px solid var(--line);
}
.nav-row {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-row nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 4px;
}
.nav-row nav a {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  position: relative;
}
.nav-row nav a:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: 0.25s;
}
.nav-row nav a:hover,
.nav-row nav a.active {
  color: var(--text);
}
.nav-row nav a:hover:after,
.nav-row nav a.active:after {
  transform: scaleX(1);
}
.competition-link em {
  font-style: normal;
  font-size: 8px;
  padding: 3px 6px;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  margin-right: 5px;
}
.nav-trust {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
}
.hero {
  padding-top: 22px;
}
.hero-stage {
  min-height: 510px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--dark);
  position: relative;
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s var(--ease),
    visibility 0.7s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 72% 34%,
      rgba(36, 215, 255, 0.18),
      transparent 34%
    ),
    linear-gradient(120deg, #05090d 0%, #0b1118 60%, #111a22 100%);
}
.hero-slide.contest:before {
  background:
    linear-gradient(
      90deg,
      rgba(2, 5, 8, 0.95),
      rgba(2, 5, 8, 0.57),
      rgba(2, 5, 8, 0.1)
    ),
    radial-gradient(
      circle at 75% 35%,
      rgba(244, 199, 91, 0.16),
      transparent 35%
    ),
    #080b10;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 74px 6vw 68px 5vw;
  align-self: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 900;
}
.hero-badge:before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}
.hero-copy h1 {
  font-size: clamp(40px, 4.4vw, 73px);
  line-height: 1.05;
  margin: 22px 0 18px;
  color: #fff;
  letter-spacing: -0.035em;
  max-width: 780px;
}
.hero-copy p {
  font-size: 17px;
  line-height: 1.9;
  color: #aab7c2;
  max-width: 630px;
  margin: 0 0 28px;
}
.hero-price {
  display: flex;
  gap: 13px;
  align-items: end;
  margin: 0 0 28px;
  color: #fff;
}
.hero-price strong {
  font-size: 31px;
}
.hero-price del {
  color: #798691;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}
.button.primary {
  background: var(--cyan);
  color: #001014;
  box-shadow: 0 13px 30px rgba(36, 215, 255, 0.23);
}
.button.light {
  background: #fff;
  color: #061019;
}
.button.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.button:hover {
  transform: translateY(-2px);
}
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-visual:after {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(120px);
  opacity: 0.13;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(72%, 600px);
  height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 38px 50px rgba(0, 0, 0, 0.4));
  transform: translateY(12px) scale(0.95);
  transition: 1s var(--ease);
}
.hero-slide.active .hero-visual img {
  transform: translateY(0) scale(1);
}
.hero-controls {
  height: 52px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
}
.hero-progress {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cyan);
}
.hero-progress span.run {
  animation: progress var(--duration, 6s) linear;
}
.hero-dots {
  display: flex;
  gap: 7px;
}
.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #aeb7be;
  opacity: 0.45;
  cursor: pointer;
  transition: 0.25s;
}
.hero-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: 1;
}
.hero-arrows {
  display: flex;
  gap: 6px;
}
.hero-arrows button,
.rail-buttons button {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}
.trust article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}
.trust article:last-child {
  border-left: 0;
}
.trust article > span {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: rgba(36, 215, 255, 0.1);
  color: #00a8c9;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.trust article div {
  display: grid;
  gap: 4px;
}
.trust strong {
  font-size: 13px;
}
.trust small {
  font-size: 11px;
  color: var(--muted);
}
.section {
  padding-top: 105px;
  padding-bottom: 105px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: #00aeca;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(30px, 3vw, 49px);
  line-height: 1.15;
  margin: 0 0 11px;
  letter-spacing: -0.035em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.section-head > a {
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--text);
  padding-bottom: 5px;
}
.category-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  grid-template-rows: repeat(2, 210px);
  gap: 16px;
}
.category-card {
  position: relative;
  border-radius: 23px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: 0.35s var(--ease);
  padding: 26px;
}
.category-card:first-child {
  grid-row: 1/3;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.category-card:before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--cat-color, #24d7ff);
  filter: blur(65px);
  opacity: 0.12;
  left: -40px;
  bottom: -50px;
}
.category-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
}
.category-copy span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}
.category-copy strong {
  font-size: 20px;
}
.category-copy b {
  font-size: 12px;
  color: #00aeca;
}
.category-card img {
  position: absolute;
  left: -5px;
  bottom: -8px;
  width: 58%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.17));
  transition: 0.35s;
}
.category-card:first-child img {
  width: 76%;
  height: 72%;
  left: -10%;
  bottom: 0;
}
.category-card:hover img {
  transform: scale(1.05) rotate(-2deg);
}
.dark-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #020508, #0a1118 65%, #101923);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-section:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--cyan);
  opacity: 0.06;
  filter: blur(130px);
  right: -200px;
  top: -200px;
}
.section-head.light p {
  color: #92a0ab;
}
.section-head.light .eyebrow {
  color: var(--cyan);
}
.rail-buttons {
  display: flex;
  gap: 8px;
}
.rail-buttons button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 16px;
  overflow: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.product-rail::-webkit-scrollbar {
  display: none;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  transition: 0.3s var(--ease);
}
.dark-section .product-card {
  --surface: #0d141c;
  --text: #fff;
  --muted: #8e9ba7;
  --line: rgba(255, 255, 255, 0.1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}
.product-media {
  height: 292px;
  position: relative;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.product-media:before {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(65px);
  opacity: 0.08;
}
.product-media img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 84%;
  object-fit: contain;
  transition: 0.4s var(--ease);
}
.product-card:hover .product-media img {
  transform: scale(1.06);
}
.product-badges {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  display: grid;
  gap: 6px;
}
.product-badges span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #071017;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.product-badges .sale {
  background: var(--danger);
}
.wish {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  font-size: 21px;
  cursor: pointer;
}
.wish.active {
  color: var(--danger);
  background: #fff0f2;
}
.product-body {
  padding: 19px;
}
.product-category {
  font-size: 10px;
  color: #00aeca;
  font-weight: 800;
}
.product-title {
  font-size: 16px;
  margin: 8px 0 8px;
  min-height: 45px;
  line-height: 1.45;
  cursor: pointer;
}
.product-short {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  min-height: 38px;
  margin: 0 0 15px;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.product-price strong {
  font-size: 21px;
}
.product-price del {
  color: var(--muted);
  font-size: 12px;
}
.product-stock {
  font-size: 10px;
  color: #2aa773;
  margin-right: auto;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px;
}
.add-cart {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  border: 0;
  background: var(--text);
  color: var(--surface);
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s;
}
.add-cart:hover {
  background: var(--cyan);
  color: #001015;
  transform: scale(1.05);
}
.editorial {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 17px;
}
.editorial article {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 460px;
}
.editorial-main {
  background: linear-gradient(135deg, #071019, #101f2c);
  color: #fff;
  padding: 55px;
  display: flex;
  align-items: center;
}
.editorial-main > div {
  position: relative;
  z-index: 2;
  width: 58%;
}
.editorial-main h2 {
  font-size: clamp(34px, 3.7vw, 59px);
  line-height: 1.08;
  margin: 10px 0 18px;
}
.editorial-main p {
  color: #9eacb7;
  line-height: 1.9;
  margin-bottom: 27px;
}
.editorial-main img {
  position: absolute;
  left: -3%;
  bottom: -5%;
  width: 55%;
  height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 35px 35px rgba(0, 0, 0, 0.35));
}
.editorial-side {
  background: linear-gradient(150deg, #e9edf0, #fff);
  color: #081019;
  padding: 37px;
}
.editorial-side > div {
  position: relative;
  z-index: 2;
}
.editorial-side h3 {
  font-size: 29px;
  margin: 8px 0;
}
.editorial-side p {
  color: #68727c;
}
.editorial-side button {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 800;
  border-bottom: 1px solid;
  cursor: pointer;
}
.editorial-side img {
  position: absolute;
  left: -10%;
  bottom: -10%;
  width: 90%;
  height: 70%;
  object-fit: contain;
}
.competition {
  padding-top: 0;
  padding-bottom: 20px;
}
.competition a {
  height: 430px;
  border-radius: 30px;
  overflow: hidden;
  display: block;
  position: relative;
  background: #05090d;
  box-shadow: var(--shadow);
}
.competition img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.competition-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 4, 7, 0.94) 3%,
    rgba(1, 4, 7, 0.67) 50%,
    rgba(1, 4, 7, 0.1) 100%
  );
}
.competition-content {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  justify-items: start;
  color: #fff;
  max-width: 650px;
}
.competition-content > b {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.17em;
}
.competition-content > strong {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.06;
  margin: 16px 0;
}
.competition-content > small {
  color: #b7c0c8;
  font-size: 15px;
  margin-bottom: 25px;
}
.competition-content > span {
  padding: 14px 20px;
  border-radius: 13px;
  background: var(--gold);
  color: #171000;
  font-weight: 900;
}
.shop-head {
  align-items: end;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters label,
.filters select {
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  color: var(--text);
}
.filters label {
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 7px;
}
.filters input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  width: 170px;
}
.filters select {
  padding: 0 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.empty-state {
  text-align: center;
  padding: 80px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 24px;
}
.empty-state strong {
  font-size: 24px;
}
.empty-state p {
  color: var(--muted);
}
.empty-cart-state{
  --cart-shift-x:0px;
  --cart-shift-y:0px;
  --cart-light-x:50%;
  --cart-light-y:45%;
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:560px;
  overflow:hidden;
  padding:32px 22px 38px;
  color:#fff;
  text-align:center;
  background:
    radial-gradient(circle at 50% 38%,rgba(11,79,154,.38),transparent 36%),
    radial-gradient(circle at 15% 54%,rgba(36,215,255,.1),transparent 25%),
    linear-gradient(180deg,#020916,#061326 68%,#020916);
}
.empty-cart-state::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:0;
  opacity:.2;
  background-image:linear-gradient(rgba(36,215,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(36,215,255,.18) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(180deg,transparent 4%,#000 32%,transparent 76%);
  transform:perspective(500px) rotateX(62deg) scale(1.45) translateY(13%);
  transform-origin:center bottom;
}
.empty-cart-state::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at var(--cart-light-x) var(--cart-light-y),rgba(36,215,255,.14),transparent 32%),
    linear-gradient(180deg,rgba(2,9,22,.02) 22%,rgba(2,9,22,.12) 48%,rgba(2,9,22,.94) 82%,#020916 100%);
  transition:background .15s linear;
}
.empty-cart-visual{position:absolute;z-index:0;inset:2% -8% 25%;display:grid;place-items:center;transform:translate3d(var(--cart-shift-x),var(--cart-shift-y),0);transition:transform .18s ease;pointer-events:none}
.empty-cart-visual img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 22px 24px rgba(0,0,0,.42)) drop-shadow(0 0 15px rgba(36,215,255,.16));animation:empty-cart-float 3.8s ease-in-out infinite}
.empty-cart-stars{position:absolute;z-index:0;inset:8% 7% 32%;pointer-events:none}.empty-cart-stars i{position:absolute;width:5px;height:5px;border-radius:50%;background:#24d7ff;box-shadow:0 0 12px #24d7ff;animation:empty-cart-star 2.4s ease-in-out infinite}.empty-cart-stars i:nth-child(1){left:8%;top:28%}.empty-cart-stars i:nth-child(2){left:82%;top:12%;animation-delay:.4s}.empty-cart-stars i:nth-child(3){left:92%;top:58%;animation-delay:.9s}.empty-cart-stars i:nth-child(4){left:20%;top:70%;animation-delay:1.3s}.empty-cart-stars i:nth-child(5){left:62%;top:4%;animation-delay:1.7s}
.empty-cart-orbit{position:absolute;z-index:0;left:50%;top:57%;width:88%;aspect-ratio:1;border:1px solid rgba(36,215,255,.32);border-radius:50%;transform:translate(-50%,-50%) rotateX(72deg);box-shadow:0 0 32px rgba(36,215,255,.2),inset 0 0 24px rgba(36,215,255,.14);animation:empty-cart-orbit 4s ease-in-out infinite}
.empty-cart-content{position:relative;z-index:2;display:grid;justify-items:center;gap:8px;width:100%;padding:18px 14px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(145deg,rgba(5,17,34,.68),rgba(2,9,22,.84));box-shadow:0 18px 50px rgba(0,0,0,.35);backdrop-filter:blur(10px)}
.empty-cart-content>span{color:#24d7ff;font-size:10px;font-weight:950;letter-spacing:.18em}
.empty-cart-content strong{font-size:25px}.empty-cart-content p{margin:0 0 8px;color:#b9c5d1}
.empty-cart-content .button{width:min(100%,260px);min-height:48px;box-shadow:0 12px 35px rgba(36,215,255,.22)}
.empty-cart-content .button b{font-size:19px;transition:transform .2s ease}.empty-cart-content .button:hover b{transform:translateX(-5px)}
.cart-drawer.empty-cart .drawer-foot{display:none}
.cart-drawer.empty-cart{background:#020916}.cart-drawer.empty-cart .drawer-head{position:relative;z-index:2;background:rgba(2,9,22,.82);color:#fff;border-color:rgba(255,255,255,.1);backdrop-filter:blur(12px)}
.cart-drawer.empty-cart .drawer-body{display:block;padding:0;overflow:hidden}
@keyframes empty-cart-float{0%,100%{transform:translateY(2px) rotate(-.8deg)}50%{transform:translateY(-13px) rotate(.8deg)}}
@keyframes empty-cart-star{0%,100%{opacity:.18;transform:scale(.65)}50%{opacity:1;transform:scale(1.35)}}
@keyframes empty-cart-orbit{0%,100%{opacity:.45;filter:blur(0)}50%{opacity:.9;filter:drop-shadow(0 0 10px rgba(36,215,255,.5))}}
.brand-story {
  padding: 115px 0;
  background: linear-gradient(135deg, #020508, #0a1016);
  color: #fff;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
}
.story-visual {
  height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}
.story-visual img {
  width: 330px;
  height: 330px;
  border-radius: 46px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.story-visual > b {
  position: absolute;
  bottom: 34px;
  left: 5%;
  font-size: 60px;
  line-height: 0.82;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.05em;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(36, 215, 255, 0.25);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.o1 {
  width: 430px;
  height: 430px;
}
.o2 {
  width: 540px;
  height: 300px;
  transform: rotate(30deg);
  animation-duration: 24s;
  animation-direction: reverse;
}
.story-copy h2 {
  font-size: clamp(38px, 4vw, 66px);
  line-height: 1.06;
  margin: 12px 0 23px;
}
.story-copy > p {
  font-size: 16px;
  color: #a5b1bb;
  line-height: 2;
  max-width: 650px;
}
.story-points {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}
.story-points span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.story-points b {
  color: var(--cyan);
  font-size: 11px;
}
.newsletter {
  margin-top: 85px;
  margin-bottom: 85px;
  background: var(--cyan);
  color: #001014;
  border-radius: 28px;
  padding: 42px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 24px 70px rgba(36, 215, 255, 0.2);
}
.newsletter h2 {
  font-size: clamp(25px, 3vw, 42px);
  margin: 0;
}
.newsletter .eyebrow {
  color: #00566a;
}
.newsletter a {
  background: #001014;
  color: #fff;
  padding: 15px 20px;
  border-radius: 14px;
  font-weight: 800;
}
footer {
  background: #020508;
  color: #e7eef3;
  padding: 70px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 1fr;
  gap: 50px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center !important;
}
.footer-brand img {
  width: 66px;
  height: 66px;
  border-radius: 18px;
}
.footer-brand div {
  display: grid;
}
.footer-brand strong {
  font-size: 18px;
}
.footer-brand span {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #82909b;
}
.footer-brand p {
  grid-column: 1/-1;
  max-width: 360px;
  color: #8e9aa4;
  line-height: 1.8;
}
.footer-grid h4 {
  margin: 0 0 8px;
}
.footer-grid a,
.footer-grid p {
  color: #87949e;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.footer-grid a:hover {
  color: var(--cyan);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 45px;
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  color: #68747e;
  font-size: 11px;
}
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(470px, 100%);
  z-index: 60;
  background: var(--surface);
  transform: translateX(-105%);
  transition: 0.38s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 30px 0 90px rgba(0, 0, 0, 0.25);
}
.drawer.open {
  transform: none;
}
.drawer-head {
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 {
  font-size: 27px;
  margin: 0;
}
.drawer-head button,
.modal-close {
  width: 41px;
  height: 41px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 25px;
  cursor: pointer;
}
.drawer-body {
  padding: 18px 25px;
  overflow: auto;
  flex: 1;
}
.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 22px 25px;
}
.drawer-foot > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.drawer-foot strong {
  font-size: 25px;
}
.drawer-foot small {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
}
.full {
  width: 100%;
}
.cart-line {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-line img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: 14px;
}
.cart-line h4 {
  font-size: 13px;
  margin: 0 0 6px;
}
.cart-line strong {
  font-size: 14px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}
.qty button {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.remove-line {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.57);
  backdrop-filter: blur(5px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  width: min(1080px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: 0.3s;
}
.modal.open .modal-card {
  transform: none;
}
.modal-close {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.product-gallery {
  background: var(--surface-2);
  padding: 38px;
  min-height: 610px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 15px;
}
.gallery-main {
  display: grid;
  place-items: center;
}
.gallery-main img {
  width: 95%;
  height: 480px;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: 9px;
  overflow: auto;
}
.gallery-thumbs button {
  width: 75px;
  height: 75px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  padding: 5px;
  cursor: pointer;
}
.gallery-thumbs button.active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(36, 215, 255, 0.15);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail {
  padding: 60px 50px;
}
.product-detail .category {
  font-size: 11px;
  color: #00aeca;
  font-weight: 800;
}
.product-detail h2 {
  font-size: 38px;
  line-height: 1.22;
  margin: 12px 0;
}
.product-detail .desc {
  color: var(--muted);
  line-height: 2;
}
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 25px 0;
}
.detail-price strong {
  font-size: 34px;
}
.detail-price del {
  color: var(--muted);
}
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.detail-meta span {
  padding: 12px;
  background: var(--surface-2);
  border-radius: 12px;
  font-size: 12px;
}
.detail-actions {
  display: flex;
  gap: 9px;
}
.detail-actions .button {
  flex: 1;
}
.checkout-card {
  width: min(760px, 100%);
  padding: 42px;
}
.checkout-head h2 {
  font-size: 34px;
  margin: 5px 0 8px;
}
.checkout-head p {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 25px;
}
.form-grid label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}
.form-grid input,
.form-grid textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  outline: 0;
  padding: 12px;
}
.form-grid input {
  height: 45px;
}
.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(36, 215, 255, 0.1);
}
.form-grid .wide {
  grid-column: 1/-1;
}
.checkout-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.checkout-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.checkout-summary .checkout-discount-line b{color:#149a63}
.checkout-summary .checkout-final-line{padding-top:10px;border-top:1px solid var(--line);font-weight:900}
.checkout-summary strong {
  font-size: 24px;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  background: #061019;
  color: #fff;
  padding: 13px 18px;
  border-radius: 13px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  transition: 0.3s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.floating-whatsapp {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 25;
  width: 55px;
  height: 55px;
  border-radius: 18px;
  background: #20c763;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(32, 199, 99, 0.3);
}
.loader {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.loader i {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  animation: bounce 0.8s infinite alternate;
}
.loader i:nth-child(2) {
  animation-delay: 0.2s;
}
.loader i:nth-child(3) {
  animation-delay: 0.4s;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes bounce {
  to {
    transform: translateY(-11px);
    opacity: 0.4;
  }
}
@keyframes progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1150px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .brand {
    min-width: auto;
  }
  .brand-text {
    display: none;
  }
  .nav-trust {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-card:first-child {
    grid-row: auto;
    grid-column: 1/3;
  }
  .editorial {
    grid-template-columns: 1fr;
  }
  .editorial-side {
    min-height: 330px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stage {
    min-height: 480px;
  }
  .hero-copy {
    padding-right: 45px;
  }
}
@media (max-width: 800px) {
  :root {
    --shell: min(100% - 24px, 1480px);
  }
  .topbar p {
    display: none;
  }
  .header-row {
    height: 72px;
    grid-template-columns: auto 1fr auto;
  }
  .mobile-menu,
  .mobile-search-btn {
    display: grid;
  }
  .brand {
    justify-self: center;
  }
  .logo-frame {
    width: 50px;
    height: 50px;
  }
  .search {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    z-index: 3;
    box-shadow: var(--shadow);
  }
  .header.search-open .search {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .header-actions #themeToggle {
    display: none;
  }
  .cart-btn {
    min-width: auto;
    width: 48px;
    padding: 0;
  }
  .cart-btn span:last-child {
    display: none;
  }
  .nav-wrap {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--surface);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }
  .header.menu-open .nav-wrap {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-row {
    height: auto;
    padding: 15px;
  }
  .nav-row nav {
    display: grid;
    width: 100%;
  }
  .nav-row nav a {
    height: 46px;
    border-radius: 10px;
  }
  .nav-row nav a:hover {
    background: var(--surface-2);
  }
  .hero {
    padding-top: 14px;
  }
  .hero-stage {
    min-height: 650px;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .hero-copy {
    padding: 42px 27px 10px;
    align-self: start;
    text-align: center;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .hero-copy p {
    font-size: 14px;
  }
  .hero-actions,
  .hero-price {
    justify-content: center;
  }
  .hero-visual img {
    height: 285px;
    width: 82%;
  }
  .hero-controls {
    padding: 0 5px;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .trust article:nth-child(2) {
    border-left: 0;
  }
  .trust article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .category-card {
    height: 190px;
  }
  .category-card:first-child {
    grid-column: 1/-1;
    height: 290px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-main {
    padding: 36px;
    min-height: 600px !important;
    align-items: flex-start;
  }
  .editorial-main > div {
    width: 100%;
  }
  .editorial-main img {
    width: 88%;
    height: 55%;
    left: 5%;
  }
  .competition a {
    height: 500px;
  }
  .competition-content {
    right: 28px;
    left: 28px;
  }
  .filters {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .filters label {
    grid-column: 1/-1;
  }
  .filters input {
    width: 100%;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-visual {
    height: 430px;
  }
  .story-copy {
    text-align: center;
  }
  .newsletter {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    min-height: 400px;
  }
  .gallery-main img {
    height: 330px;
  }
  .product-detail {
    padding: 35px 28px;
  }
  .checkout-card {
    padding: 32px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
}
@media (max-width: 520px) {
  .topbar-inner {
    justify-content: center;
  }
  .topbar a {
    display: none;
  }
  .header-actions .badge-btn {
    display: none;
  }
  .hero-stage {
    min-height: 610px;
    border-radius: 22px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-copy p {
    line-height: 1.7;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-visual img {
    height: 245px;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust article {
    border-left: 0;
    border-bottom: 1px solid var(--line) !important;
  }
  .trust article:last-child {
    border-bottom: 0 !important;
  }
  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .category-card:first-child {
    grid-column: auto;
  }
  .product-media {
    height: 340px;
  }
  .editorial-main h2 {
    font-size: 38px;
  }
  .competition-content > strong {
    font-size: 39px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .drawer {
    width: 100%;
  }
  .product-detail h2 {
    font-size: 30px;
  }
  .detail-actions {
    flex-direction: column;
  }
  .floating-whatsapp {
    width: 49px;
    height: 49px;
    border-radius: 15px;
  }
}

/* ===== V4 invoice checkout, tracking and premium refinements ===== */
.track-nav {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s var(--ease);
}
.track-nav:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cyan) 18%, transparent);
  transform: translateY(-1px);
}
.footer-link-button {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  text-align: right;
  cursor: pointer;
  margin: 10px 0;
}
.footer-link-button:hover {
  color: var(--cyan);
}
.checkout-notice {
  margin: 18px 0 10px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--cyan) 32%, var(--line));
  background: color-mix(in srgb, var(--cyan) 8%, var(--surface));
  border-radius: 14px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.7;
}
.checkout-steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 9px;
  margin: 18px 0 26px;
}
.checkout-steps span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.checkout-steps span b {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.checkout-steps span.active {
  color: var(--text);
}
.checkout-steps span.active b {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #031015;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--cyan) 35%, transparent);
}
.checkout-steps i {
  height: 1px;
  background: var(--line);
}
.secondary-surface {
  border-color: var(--line) !important;
  background: var(--surface-2) !important;
  color: var(--text) !important;
}
.mini-add {
  min-height: 34px !important;
  padding: 0 12px !important;
  margin-top: 8px !important;
}
.hero-error {
  color: #fff;
}

.invoice-modal {
  padding: 24px;
}
.invoice-modal-card {
  width: min(1120px, 96vw);
  max-height: 94vh;
  overflow: auto;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.invoice-sheet {
  position: relative;
  background: #fff;
  color: #09111a;
  border: 1px solid #dbe2e8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(6, 15, 25, 0.15);
}
.invoice-accent {
  height: 9px;
  background: linear-gradient(90deg, var(--cyan), #09111a 48%, var(--gold));
}
.invoice-header {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e5e9ed;
}
.invoice-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.invoice-brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  background: #05090d;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.17);
}
.invoice-brand div {
  display: grid;
  gap: 2px;
}
.invoice-brand strong {
  font-size: 22px;
  letter-spacing: 0.02em;
}
.invoice-brand span {
  font-size: 9px;
  letter-spacing: 0.17em;
  color: #6f7a85;
  font-weight: 800;
}
.invoice-title {
  text-align: left;
}
.invoice-title small {
  color: #7b8792;
  font-size: 11px;
  font-weight: 800;
}
.invoice-title h2 {
  margin: 5px 0 9px;
  font-size: 24px;
  letter-spacing: 0.015em;
}
.invoice-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: #e9fff4;
  color: #087a50;
  border: 1px solid #bfead7;
}
.invoice-status.status-preview {
  background: #fff8df;
  color: #946d00;
  border-color: #f2df9a;
}
.invoice-status.status-cancelled,
.invoice-status.status-returned {
  background: #fff0f1;
  color: #ba2636;
  border-color: #f3c7cd;
}
.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 17px 32px;
  background: #f6f8fa;
  border-bottom: 1px solid #e2e7eb;
}
.invoice-meta-grid > div {
  padding: 0 16px;
  border-left: 1px solid #dfe5ea;
}
.invoice-meta-grid > div:last-child {
  border-left: 0;
}
.invoice-meta-grid span,
.invoice-customer-grid span {
  display: block;
  color: #77838e;
  font-size: 10px;
  margin-bottom: 5px;
}
.invoice-meta-grid b,
.invoice-customer-grid b {
  font-size: 12px;
  line-height: 1.55;
}
.invoice-customer,
.invoice-products {
  padding: 24px 32px 0;
}
.invoice-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.invoice-section-title > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #0a1119;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
}
.invoice-section-title > strong {
  font-size: 14px;
}
.invoice-customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.invoice-customer-grid > div {
  padding: 12px 14px;
  border: 1px solid #e2e7eb;
  border-radius: 13px;
  background: #fff;
}
.invoice-table-wrap {
  border: 1px solid #e0e6eb;
  border-radius: 15px;
  overflow: auto;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.invoice-table th {
  background: #09111a;
  color: #fff;
  padding: 12px 13px;
  text-align: right;
  font-size: 10px;
  white-space: nowrap;
}
.invoice-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #edf0f3;
  font-size: 11px;
  vertical-align: middle;
}
.invoice-table tbody tr:last-child td {
  border-bottom: 0;
}
.invoice-product-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
}
.invoice-product-name img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: #f2f5f7;
  padding: 4px;
}
.invoice-product-name span {
  display: grid;
  gap: 3px;
}
.invoice-product-name span b {
  font-size: 11px;
}
.invoice-product-name span small {
  color: #77838e;
  font-size: 9px;
}
.invoice-bottom {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  padding: 24px 32px;
}
.invoice-notes {
  background: #f6f8fa;
  border: 1px solid #e3e8ec;
  border-radius: 15px;
  padding: 16px;
}
.invoice-notes > span {
  font-size: 10px;
  color: #7a8690;
  font-weight: 800;
}
.invoice-notes p {
  margin: 8px 0 12px;
  font-size: 12px;
  line-height: 1.7;
}
.invoice-notes small {
  font-size: 9px;
  line-height: 1.8;
  color: #77838e;
}
.invoice-totals {
  border: 1px solid #e0e6eb;
  border-radius: 15px;
  padding: 13px 15px;
  background: #fff;
}
.invoice-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 3px;
  font-size: 11px;
}
.invoice-totals > div span {
  color: #68747f;
}
.invoice-totals .grand-total {
  border-top: 1px solid #dfe5ea;
  margin-top: 6px;
  padding-top: 13px;
}
.invoice-totals .grand-total strong {
  font-size: 20px;
  color: #061019;
}
.invoice-preview-warning {
  margin: 0 32px 20px;
  padding: 13px 15px;
  border-radius: 13px;
  background: #fff8df;
  border: 1px solid #f0dfa0;
  color: #755700;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.invoice-confirmed {
  margin: 0 32px 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eafff4;
  border: 1px solid #bbead5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.invoice-confirmed > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #17a96b;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.invoice-confirmed > div {
  display: grid;
  gap: 3px;
}
.invoice-confirmed b {
  font-size: 12px;
  color: #075b3d;
}
.invoice-confirmed small {
  font-size: 10px;
  color: #39745e;
}
.invoice-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  background: #09111a;
  color: #fff;
  font-size: 9px;
}
.invoice-footer span {
  color: #b5c0c9;
}
.invoice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  position: sticky;
  bottom: -20px;
  background: linear-gradient(transparent, var(--surface) 22%);
  padding-bottom: 4px;
}
.invoice-actions .button {
  min-width: 190px;
}
.invoice-edit,
.invoice-print {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
}
.invoice-confirm {
  min-width: 300px !important;
}

.track-card {
  width: min(680px, 94vw);
  padding: 34px;
}
.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 20px;
}
.track-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.track-form input {
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  outline: none;
}
.track-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 12%, transparent);
}
.track-form button {
  grid-column: 1/-1;
}
#trackResult {
  margin-top: 18px;
}
.track-result-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-2);
  padding: 20px;
}
.track-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.track-result-head div {
  display: grid;
  gap: 3px;
}
.track-result-head span {
  font-size: 10px;
  color: var(--muted);
}
.track-result-head b {
  font-size: 20px;
}
.track-result-head > strong {
  font-size: 18px;
  color: var(--cyan);
}
.tracking-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin: 22px 0;
}
.tracking-timeline > div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}
.tracking-timeline > div:before {
  content: "";
  position: absolute;
  top: 14px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.tracking-timeline > div:first-child:before {
  display: none;
}
.tracking-timeline i {
  position: relative;
  z-index: 1;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  font-style: normal;
  font-weight: 900;
}
.tracking-timeline .done i {
  background: var(--cyan);
  color: #041117;
  border-color: var(--cyan);
}
.tracking-timeline .done:before {
  background: var(--cyan);
}
.tracking-timeline .current span {
  color: var(--text);
  font-weight: 900;
}
.tracking-alert {
  padding: 15px;
  border-radius: 13px;
  margin: 18px 0;
  text-align: center;
  font-weight: 900;
}
.tracking-alert.cancelled {
  background: #fff0f1;
  color: #b52637;
}
.tracking-alert.returned {
  background: #fff6e8;
  color: #9a5c00;
}
.track-result-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.track-result-info span {
  padding: 11px;
  border-radius: 11px;
  background: var(--surface);
  font-size: 10px;
  color: var(--muted);
}
.track-result-info b {
  display: block;
  color: var(--text);
  margin-top: 4px;
}
.track-error {
  padding: 14px;
  border-radius: 12px;
  background: #fff0f1;
  color: #b32637;
  border: 1px solid #f2cbd0;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .track-nav {
    display: none;
  }
  .invoice-modal {
    padding: 8px;
  }
  .invoice-modal-card {
    padding: 10px;
    border-radius: 20px;
    max-height: 97vh;
  }
  .invoice-header {
    align-items: flex-start;
    padding: 20px;
    flex-direction: column;
  }
  .invoice-title {
    text-align: right;
  }
  .invoice-meta-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px 20px;
    gap: 12px;
  }
  .invoice-meta-grid > div {
    border: 0;
    padding: 0;
  }
  .invoice-customer,
  .invoice-products {
    padding: 20px 20px 0;
  }
  .invoice-customer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .invoice-bottom {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .invoice-preview-warning,
  .invoice-confirmed {
    margin: 0 20px 16px;
  }
  .invoice-footer {
    padding: 13px 20px;
    flex-direction: column;
  }
  .invoice-actions {
    flex-direction: column;
  }
  .invoice-actions .button,
  .invoice-confirm {
    width: 100%;
    min-width: 0 !important;
  }
  .tracking-timeline {
    overflow: auto;
    padding-bottom: 8px;
  }
  .tracking-timeline > div {
    min-width: 70px;
  }
}
@media (max-width: 560px) {
  .checkout-steps {
    grid-template-columns: 1fr;
  }
  .checkout-steps i {
    display: none;
  }
  .checkout-steps span {
    justify-content: flex-start;
  }
  .invoice-brand img {
    width: 58px;
    height: 58px;
  }
  .invoice-brand strong {
    font-size: 17px;
  }
  .invoice-title h2 {
    font-size: 19px;
  }
  .invoice-meta-grid,
  .invoice-customer-grid {
    grid-template-columns: 1fr;
  }
  .invoice-table {
    min-width: 650px;
  }
  .track-card {
    padding: 26px 18px;
  }
  .track-form {
    grid-template-columns: 1fr;
  }
  .track-result-info {
    grid-template-columns: 1fr;
  }
}

/* ===== V5 SMART COMMERCE EXPERIENCE ===== */
.smart-search {
  position: relative;
  overflow: visible;
}
.search-suggestions {
  position: absolute;
  top: 55px;
  right: 0;
  left: 0;
  z-index: 90;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(2, 8, 14, 0.18);
  padding: 8px;
  max-height: 420px;
  overflow: auto;
}
.search-suggestions button {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: right;
  cursor: pointer;
}
.search-suggestions button:hover {
  background: var(--surface-2);
}
.search-suggestions img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  object-fit: contain;
  background: var(--surface-2);
}
.search-suggestions span {
  display: grid;
  gap: 4px;
}
.search-suggestions b {
  font-size: 12px;
}
.search-suggestions small {
  font-size: 9px;
  color: var(--muted);
}
.search-suggestions strong {
  font-size: 11px;
  color: #00a8c9;
}
.no-suggestion {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.track-nav {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  padding: 0 12px;
  cursor: pointer;
  margin-inline-start: 5px;
}
.product-rating,
.detail-rating {
  display: flex;
  align-items: center;
  gap: 7px;
}
.product-rating {
  margin: 5px 0 8px;
}
.product-rating > span,
.detail-rating > span {
  font-size: 10px;
  color: var(--muted);
}
.stars {
  display: inline-flex;
  direction: ltr;
  gap: 1px;
}
.stars i {
  font-style: normal;
  color: #c8cfd5;
  font-size: 12px;
}
.stars i.on {
  color: #f5b800;
}
.detail-rating {
  margin: 10px 0 15px;
}
.detail-rating .stars i {
  font-size: 17px;
}
.detail-rating b {
  font-size: 12px;
}
.stock-badge {
  display: inline-flex !important;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px !important;
  border-radius: 999px;
  font-size: 9px !important;
  font-weight: 800 !important;
  margin-top: 6px;
}
.stock-badge.in {
  background: #e8fff4;
  color: #08744b;
}
.stock-badge.low {
  background: #fff5dc;
  color: #8e6100;
}
.stock-badge.out {
  background: #fff0f1;
  color: #a82434;
}
body.dark .stock-badge.in {
  background: rgba(30, 200, 130, 0.13);
  color: #54e5ab;
}
body.dark .stock-badge.low {
  background: rgba(245, 184, 0, 0.13);
  color: #ffd567;
}
body.dark .stock-badge.out {
  background: rgba(255, 92, 106, 0.13);
  color: #ff8994;
}
.product-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 2px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.product-compare-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}
.product-compare-row input {
  accent-color: var(--cyan);
}
.product-compare-row small {
  font-size: 8px;
  color: var(--muted);
  max-width: 45%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.advanced-filter-button {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}
.advanced-filter-button b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--cyan);
  color: #001016;
  margin-right: 5px;
}
.advanced-filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin: -10px 0 25px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.05);
}
.advanced-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.advanced-filters input,
.advanced-filters select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0 11px;
  outline: 0;
}
.filter-check {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 42px;
}
.filter-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}
.clear-filters {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.compare-bar {
  position: fixed;
  z-index: 55;
  right: 50%;
  transform: translateX(50%);
  bottom: 20px;
  width: min(1100px, calc(100% - 30px));
  background: color-mix(in srgb, var(--dark) 94%, transparent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(20px);
}
.compare-bar > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.compare-bar > div > span:first-child {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--cyan);
  font-weight: 900;
}
.compare-bar-items,
#compareBarItems {
  display: flex;
  gap: 7px;
  overflow: auto;
}
.compare-bar #compareBarItems > span {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 5px 8px;
  font-size: 9px;
  white-space: nowrap;
}
.compare-bar img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}
.compare-bar span button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.compare-clear {
  height: 44px;
  border: 0;
  background: transparent;
  color: #aab5be;
  cursor: pointer;
}
.compare-modal-card {
  width: min(1200px, 96vw);
  padding: 32px;
  max-height: 92vh;
  overflow: auto;
}
.compare-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.compare-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: var(--surface);
}
.compare-table th,
.compare-table td {
  padding: 15px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th:first-child {
  width: 145px;
  background: var(--surface-2);
  font-size: 11px;
}
.compare-table thead th {
  min-width: 190px;
  text-align: center;
}
.compare-table thead img {
  width: 115px;
  height: 115px;
  margin: 0 auto 10px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: 16px;
}
.compare-table thead b {
  display: block;
  min-height: 42px;
  font-size: 12px;
}
.compare-table thead button {
  margin-top: 10px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: var(--cyan);
  color: #001016;
  font-weight: 900;
  font-size: 9px;
  padding: 0 12px;
  cursor: pointer;
}
.compare-table td {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.custom-banner {
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.custom-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(36, 215, 255, 0.18),
    transparent 35%
  );
}
.custom-banner > div {
  position: relative;
  z-index: 2;
  padding: 55px;
  align-self: center;
}
.custom-banner span {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 900;
}
.custom-banner h2 {
  font-size: 42px;
  margin: 12px 0;
}
.custom-banner p {
  color: #aebac4;
  line-height: 1.8;
}
.custom-banner b {
  display: inline-flex;
  margin-top: 15px;
  padding: 12px 17px;
  border-radius: 12px;
  background: var(--cyan);
  color: #001016;
}
.custom-banner img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 360px;
  object-fit: contain;
  padding: 30px;
}
.dynamic-product-grid {
  grid-template-columns: repeat(4, 1fr);
}
.reviews-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.reviews-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.reviews-head h3 {
  margin: 0;
  font-size: 24px;
}
.reviews-head select {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0 10px;
}
.customer-review {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
  margin-bottom: 10px;
}
.customer-review > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.customer-review > div span {
  font-size: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #e8fff4;
  color: #08744b;
}
.customer-review p {
  margin: 8px 0;
  line-height: 1.75;
  font-size: 11px;
}
.customer-review small {
  font-size: 8px;
  color: var(--muted);
}
.review-loading,
.empty-review {
  padding: 22px;
  text-align: center;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
}
.invoice-delivery-note,
.delivery-warning {
  border: 1px solid #f0d98c;
  background: #fff8de;
  color: #6d5200;
  border-radius: 14px;
}
.invoice-delivery-note {
  margin: 0 32px 20px;
  padding: 13px 16px;
  display: grid;
  gap: 4px;
  font-size: 10px;
}
.delivery-warning {
  padding: 14px 16px;
  margin-top: 14px;
}
.delivery-warning strong {
  display: block;
  font-size: 12px;
}
.delivery-warning p {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.7;
}
body.dark .delivery-warning {
  background: rgba(244, 199, 91, 0.1);
  color: #ffe39b;
  border-color: rgba(244, 199, 91, 0.25);
}
.orders-history-card {
  width: min(900px, 95vw);
  padding: 32px;
  max-height: 92vh;
  overflow: auto;
}
.orders-history-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.customer-order-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-2);
  padding: 18px;
}
.customer-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.customer-order-head div {
  display: grid;
  gap: 3px;
}
.customer-order-head span {
  font-size: 8px;
  color: var(--muted);
}
.customer-order-head h3 {
  margin: 0;
  font-size: 20px;
}
.customer-order-head small {
  font-size: 9px;
  color: var(--muted);
}
.customer-order-head > strong {
  font-size: 18px;
  color: #00a8c9;
}
.customer-order-products {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 15px 0;
}
.customer-order-products > span {
  min-width: 160px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.customer-order-products img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.customer-order-products b {
  font-size: 9px;
}
.customer-order-products small {
  font-size: 8px;
  color: var(--muted);
  grid-column: 2;
}
.order-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.order-card-actions button {
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 9px;
  font-weight: 900;
  padding: 0 12px;
  cursor: pointer;
}
.order-card-actions .review-action {
  background: var(--gold);
  color: #171000;
  border-color: var(--gold);
}
.chat-card {
  width: min(760px, 95vw);
  padding: 0;
  overflow: hidden;
}
.chat-head {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-head h2 {
  margin: 0;
}
.chat-live {
  font-style: normal;
  color: #24d48a;
  font-size: 10px;
  font-weight: 900;
}
.chat-messages {
  height: min(520px, 60vh);
  overflow: auto;
  padding: 22px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-message {
  max-width: 78%;
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-self: flex-start;
}
.chat-message.customer {
  align-self: flex-end;
  background: color-mix(in srgb, var(--cyan) 15%, var(--surface));
}
.chat-message.system {
  align-self: center;
  max-width: 90%;
  background: transparent;
  border-style: dashed;
  text-align: center;
}
.chat-message span {
  font-size: 8px;
  font-weight: 900;
  color: #00a8c9;
}
.chat-message p {
  margin: 5px 0;
  font-size: 11px;
  line-height: 1.7;
}
.chat-message small {
  font-size: 7px;
  color: var(--muted);
}
.chat-loading {
  margin: auto;
  color: var(--muted);
  font-size: 10px;
}
.chat-card form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 15px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.chat-card textarea {
  resize: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 11px;
  outline: none;
}
.review-modal-card {
  width: min(850px, 95vw);
  padding: 32px;
  max-height: 92vh;
  overflow: auto;
}
.review-prompt-card{width:min(560px,94vw);padding:28px;text-align:center}
.review-prompt-icon{width:72px;height:72px;margin:0 auto 12px;display:grid;place-items:center;border-radius:50%;font-size:38px;color:#ffb800;background:rgba(255,184,0,.13);box-shadow:0 0 0 9px rgba(255,184,0,.06)}
.review-prompt-card h2{margin:8px 0}.review-prompt-card>p{margin:0 auto 18px;color:var(--muted);line-height:1.8;max-width:460px}
.review-prompt-products{display:grid;gap:8px;max-height:230px;overflow:auto;text-align:right;margin-bottom:18px}
.review-prompt-product{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}
.review-prompt-product img{width:58px;height:58px;object-fit:contain;border-radius:10px;background:var(--surface)}
.review-prompt-product strong{font-size:14px}.review-prompt-product span{color:#ffb800;font-weight:900;white-space:nowrap}
.review-prompt-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(max-width:520px){.review-prompt-card{padding:22px 14px}.review-prompt-actions{grid-template-columns:1fr}.review-prompt-product{grid-template-columns:50px 1fr}.review-prompt-product img{width:50px;height:50px}.review-prompt-product span{grid-column:2}}
.review-product-entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-2);
  margin-bottom: 12px;
}
.review-product-entry > img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 13px;
  background: var(--surface);
}
.review-product-entry h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.review-product-entry textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  padding: 10px;
  resize: vertical;
}
.optional-review-note{display:block;margin-top:6px;color:var(--muted);font-size:12px}
@media(max-width:600px){.empty-cart-state{min-height:100%;padding:20px 12px 26px}.empty-cart-visual{inset:1% -13% 27%}.empty-cart-content{padding:15px 10px}.empty-cart-content strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.empty-cart-visual img,.empty-cart-stars i,.empty-cart-orbit{animation:none}.empty-cart-visual{transition:none}}

/* Empty cart: compact transparent illustration with the bulb jumping into the cart. */
.compact-empty-cart{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:20px 18px 28px;
  color:var(--text);
  background:transparent;
}
.compact-empty-cart::before,.compact-empty-cart::after{display:none}
.compact-empty-cart .split-cart-animation{
  position:relative;
  inset:auto;
  width:min(76%,300px);
  height:auto;
  aspect-ratio:1;
  flex:0 0 auto;
  transform:none;
  transition:none;
  overflow:visible;
}
.compact-empty-cart .empty-cart-part{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 13px 13px rgba(0,0,0,.2));
  animation:none;
}
.compact-empty-cart .cart-only{z-index:2;clip-path:polygon(30% 5%,100% 5%,100% 88%,30% 88%)}
.compact-empty-cart .bag-only{z-index:1;clip-path:polygon(3% 68%,61% 68%,61% 100%,3% 100%)}
.compact-empty-cart .cart-front{z-index:4;clip-path:polygon(38% 38%,98% 38%,98% 70%,38% 70%)}
.compact-empty-cart .bulb-only{
  z-index:3;
  clip-path:polygon(2% 34%,40% 34%,40% 74%,2% 74%);
  transform-origin:22% 58%;
  animation:bulb-jump-into-cart 4.4s cubic-bezier(.45,.05,.35,1) infinite;
}
.compact-empty-cart .empty-cart-content{
  position:relative;
  z-index:4;
  gap:7px;
  width:100%;
  padding:0;
  border:0;
  border-radius:0;
  color:var(--text);
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.compact-empty-cart .empty-cart-content>span{color:var(--cyan)}
.compact-empty-cart .empty-cart-content p{color:var(--muted)}
.compact-empty-cart .empty-cart-content .button{box-shadow:0 10px 24px rgba(36,215,255,.16)}
@keyframes bulb-jump-into-cart{
  0%,16%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}
  38%{opacity:1;transform:translate(23%,-30%) rotate(-10deg) scale(.96)}
  58%,70%{opacity:1;transform:translate(47%,-7%) rotate(7deg) scale(.82)}
  77%{opacity:0;transform:translate(47%,-5%) rotate(0) scale(.75)}
  78%{opacity:0;transform:translate(0,0) rotate(0) scale(1)}
  88%,100%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}
}
@media(max-width:600px){
  .compact-empty-cart{padding:12px 12px 22px}
  .compact-empty-cart .split-cart-animation{inset:auto;width:min(70%,255px)}
}
@media(prefers-reduced-motion:reduce){.compact-empty-cart .bulb-only{animation:none}}

/* Professional pinned store announcement */
.pinned-ad[hidden]{display:none!important}
.pinned-ad{position:sticky;top:82px;z-index:35;color:#fff;background:linear-gradient(90deg,#071426,#0d2f59 48%,#071426);border-bottom:1px solid rgba(36,215,255,.24);box-shadow:0 10px 30px rgba(0,0,0,.14);overflow:hidden}
.pinned-ad::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 20%,rgba(36,215,255,.11) 45%,transparent 70%);transform:translateX(-100%);animation:pinned-ad-shine 6s ease-in-out infinite}
.pinned-ad-inner{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding-block:9px}
.pinned-ad-main{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:0;border:0;color:inherit;text-align:right;background:transparent;cursor:pointer}
.pinned-ad-main img{width:54px;height:54px;border-radius:12px;object-fit:cover;background:rgba(255,255,255,.08)}
.pinned-ad-main span{display:grid;min-width:0}.pinned-ad-main small{color:#24d7ff;font-size:9px;font-weight:950;letter-spacing:.13em}.pinned-ad-main strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.pinned-ad-main b{overflow:hidden;color:#c5d3e0;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.pinned-ad-main em{padding:9px 13px;border:1px solid rgba(36,215,255,.35);border-radius:10px;color:#fff;font-size:11px;font-style:normal;font-weight:900;white-space:nowrap;transition:.2s}.pinned-ad-main:hover em{border-color:#24d7ff;background:rgba(36,215,255,.12)}
.pinned-ad-close{width:34px;height:34px;border:1px solid rgba(255,255,255,.15);border-radius:10px;color:#fff;background:rgba(255,255,255,.06);font-size:20px;cursor:pointer}
.pinned-ad-modal-card{width:min(900px,94vw);padding:0;overflow:hidden}
.pinned-ad-detail{display:grid;grid-template-columns:minmax(280px,.9fr) 1.1fr;min-height:480px}
.pinned-ad-detail-image{position:relative;min-height:360px;background:#06101e}.pinned-ad-detail-image img{width:100%;height:100%;object-fit:cover}.pinned-ad-detail-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(2,9,22,.78))}.pinned-ad-detail-image span{position:absolute;z-index:1;right:20px;bottom:20px;padding:7px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;background:rgba(2,9,22,.72);font-size:11px;font-weight:900;backdrop-filter:blur(8px)}
.pinned-ad-detail-copy{display:flex;flex-direction:column;justify-content:center;padding:34px}.pinned-ad-detail-copy>small{color:var(--cyan);font-weight:900;letter-spacing:.1em}.pinned-ad-detail-copy h2{margin:8px 0 10px;font-size:clamp(25px,3vw,40px);line-height:1.2}.pinned-ad-lead{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.8}.pinned-ad-long-text{max-height:180px;overflow:auto;margin-bottom:18px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);line-height:1.9}.pinned-ad-deadline{margin-bottom:16px;padding:10px 12px;border-radius:11px;color:#b56b00;background:rgba(255,184,0,.12)}
@keyframes pinned-ad-shine{0%,65%{transform:translateX(-100%)}85%,100%{transform:translateX(100%)}}
@media(max-width:800px){.pinned-ad{top:72px}}
@media(max-width:700px){.pinned-ad-inner{padding:7px 10px}.pinned-ad-main{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.pinned-ad-main img{width:44px;height:44px}.pinned-ad-main em{padding:7px;font-size:0}.pinned-ad-main em::after{content:"التفاصيل";font-size:10px}.pinned-ad-close{width:30px;height:30px}.pinned-ad-detail{grid-template-columns:1fr;max-height:88vh;overflow:auto}.pinned-ad-detail-image{min-height:230px;max-height:260px}.pinned-ad-detail-copy{padding:22px 16px}.pinned-ad-detail-copy h2{font-size:26px}}
.star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.star-input input {
  display: none;
}
.star-input label {
  font-size: 25px;
  color: #c8cfd5;
  cursor: pointer;
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
  color: #f5b800;
}
@media (max-width: 1200px) {
  .advanced-filters {
    grid-template-columns: repeat(4, 1fr);
  }
  .dynamic-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .advanced-filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-bar {
    grid-template-columns: 1fr auto;
  }
  .compare-clear {
    display: none;
  }
  .compare-bar > div:first-child > span:first-child {
    display: none;
  }
  .dynamic-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-banner {
    grid-template-columns: 1fr;
    min-height: 480px;
  }
  .custom-banner > div {
    padding: 35px;
  }
  .custom-banner img {
    height: 220px;
  }
  .invoice-delivery-note {
    margin: 0 20px 16px;
  }
  .header-actions #compareHeaderBtn {
    display: none;
  }
}
@media (max-width: 560px) {
  .advanced-filters {
    grid-template-columns: 1fr;
  }
  .compare-bar {
    bottom: 8px;
    width: calc(100% - 16px);
  }
  #compareBarItems > span {
    max-width: 120px;
    overflow: hidden;
  }
  .dynamic-product-grid {
    grid-template-columns: 1fr;
  }
  .product-compare-row {
    align-items: flex-start;
  }
  .customer-order-head {
    flex-direction: column;
  }
  .chat-message {
    max-width: 92%;
  }
  .review-product-entry {
    grid-template-columns: 1fr;
  }
  .review-product-entry > img {
    width: 100%;
    height: 150px;
  }
  .search-suggestions {
    position: fixed;
    top: 128px;
    right: 10px;
    left: 10px;
  }
  .track-nav {
    display: none !important;
  }
}

/* Firebase customer account */
.account-header-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.account-header-btn.signed-in {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 14%, transparent);
}
.auth-modal-card {
  max-width: 880px;
}
.google-auth-btn {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.google-auth-btn b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 18px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.auth-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}
.auth-form h3 {
  margin: 0 0 14px;
}
.auth-form label {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  font-weight: 800;
}
.auth-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 0 13px;
  font: inherit;
}
.auth-form small {
  display: block;
  min-height: 20px;
  margin-top: 8px;
  color: #e95454;
}
.auth-signed-panel {
  text-align: center;
  padding: 25px;
}
.auth-avatar {
  width: 72px;
  height: 72px;
  margin: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  color: #071018;
  font-size: 30px;
  font-weight: 900;
}
.auth-signed-panel h3 {
  margin: 14px 0 4px;
}
.auth-signed-panel p {
  color: var(--muted);
  margin-bottom: 18px;
}
.auth-signed-panel .button + .button {
  margin-top: 10px;
}
@media (max-width: 760px) {
  .account-header-btn {
    padding: 9px 11px;
    font-size: 12px;
  }
  .auth-columns {
    grid-template-columns: 1fr;
  }
}

/* V5 stable layout and image standard */
.product-media {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 260px;
  padding: 16px;
  background: #fff;
}
.gallery-main img,
.gallery-thumbs img,
.cart-line img,
.compare-bar img,
.compare-table thead img,
.customer-order-products img,
.invoice-product-name img,
.review-product-entry > img {
  object-fit: contain !important;
  object-position: center !important;
  background: #fff;
}
.product-media img {
  width: 100%;
  height: 100%;
  padding: 0;
}
.product-rail {
  grid-auto-columns: minmax(270px, 330px);
  justify-content: start;
}
.hero-slide.auto-product .hero-visual {
  padding: 0;
}
.hero-slide.auto-product .hero-visual img {
  width: min(92%, 500px);
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 28px;
  background: transparent;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.category-grid[data-count="0"] {
  display: none;
}
.category-grid[data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 320px;
}
.category-grid[data-count="1"] .category-card:first-child {
  grid-row: auto;
  grid-column: auto;
}
.category-grid[data-count="1"] .category-card img {
  width: 44%;
  height: 88%;
  left: 3%;
  bottom: 0;
}
.category-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 280px;
}
.category-grid[data-count="2"] .category-card:first-child,
.category-grid[data-count="3"] .category-card:first-child {
  grid-row: auto;
  grid-column: auto;
}
.category-grid[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 260px;
}
.dynamic-product-grid:empty,
.product-rail:empty {
  display: none;
}
.editorial-main img,
.editorial-side img,
.story-visual img,
.category-card img,
.custom-banner img,
.competition img,
.hero-visual img {
  object-position: center;
}
@media (max-width: 800px) {
  .category-grid[data-count="2"],
  .category-grid[data-count="3"] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .category-grid[data-count="3"] .category-card:last-child {
    grid-column: 1 / -1;
  }
  .product-rail {
    grid-auto-columns: minmax(250px, 82vw);
  }
}
@media (max-width: 520px) {
  .category-grid[data-count="1"],
  .category-grid[data-count="2"],
  .category-grid[data-count="3"] {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .category-grid[data-count="3"] .category-card:last-child {
    grid-column: auto;
  }
  .category-grid[data-count="1"] .category-card,
  .category-grid[data-count="2"] .category-card,
  .category-grid[data-count="3"] .category-card {
    height: 220px;
  }
  .product-media {
    min-height: 300px;
  }
}

section.is-empty {
  display: none !important;
}

.product-grid[data-count="1"],
.dynamic-product-grid[data-count="1"] {
  grid-template-columns: minmax(280px, 340px);
  justify-content: center;
}
.product-grid[data-count="2"],
.dynamic-product-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(260px, 340px));
  justify-content: center;
}
.product-grid[data-count="3"],
.dynamic-product-grid[data-count="3"] {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}
@media (max-width: 800px) {
  .product-grid[data-count="2"],
  .product-grid[data-count="3"],
  .dynamic-product-grid[data-count="2"],
  .dynamic-product-grid[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .product-grid[data-count="1"],
  .product-grid[data-count="2"],
  .product-grid[data-count="3"],
  .dynamic-product-grid[data-count="1"],
  .dynamic-product-grid[data-count="2"],
  .dynamic-product-grid[data-count="3"] {
    grid-template-columns: 1fr;
  }
}


/* Product image box requested update */
.product-image-box {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 30px;
  background: transparent !important;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* V5.0.4 animated network + exact white-margin removal support */
.hero-stage {
  isolation: isolate;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
  mix-blend-mode: screen;
}
.hero-slide {
  z-index: 2;
}
.hero-slide::before {
  z-index: 0;
}
.hero-copy,
.hero-visual {
  z-index: 2;
}
.hero-slide.auto-product .hero-visual {
  padding: 0 !important;
  background: transparent !important;
}
.hero-slide.auto-product .hero-visual img {
  width: min(92%, 500px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 28px;
  background: transparent !important;
  object-fit: cover !important;
  object-position: center !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
@media (max-width: 800px) {
  .hero-slide.auto-product .hero-visual img {
    width: min(86%, 430px) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    opacity: 0.35;
  }
}

/* =========================================================
   V5.0.5 — FULL NETWORK PARTICLES + ZERO WHITE IMAGE FRAMES
   ========================================================= */
.site-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: screen;
  filter: saturate(1.25);
}
body:not(.dark) .site-particles {
  opacity: 0.16;
  mix-blend-mode: multiply;
}
@media (max-width: 760px) {
  .site-particles {
    opacity: 0.22;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-particles {
    opacity: 0.12;
  }
}

/* The animated layer must never block any interaction. */
.site-particles,
.hero-particles {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

/* Every product image area uses the brand dark surface instead of white. */
.product-media,
.product-image-box,
.gallery-main,
.gallery-thumbs button,
.cart-line > img,
.compare-bar img,
.compare-table thead img,
.customer-order-products img,
.invoice-product-name img,
.review-product-entry > img {
  background: linear-gradient(145deg, #05090d, #0b1620) !important;
  border-color: rgba(36, 215, 255, 0.16) !important;
}

.product-media,
.product-image-box {
  padding: 0 !important;
  isolation: isolate;
}

.product-media img,
.product-image-box img,
.gallery-main img,
.gallery-thumbs img,
.cart-line img,
.compare-bar img,
.compare-table thead img,
.customer-order-products img,
.invoice-product-name img,
.review-product-entry > img {
  background: transparent !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.product-media img,
.product-image-box img {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit;
  transform-origin: center;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-image-cleaned {
  animation: cleanedImageReveal 0.35s ease both;
}
@keyframes cleanedImageReveal {
  from { opacity: 0.45; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

/* Fallback used only if the browser blocks canvas reading. */
.product-image-clean-fallback {
  transform: scale(1.075) !important;
}

/* Hero product image: edge-to-edge dark image, no frame, no white corners. */
.hero-slide.auto-product .hero-visual {
  padding: 0 !important;
  background: radial-gradient(circle at 50% 52%, rgba(36, 215, 255, 0.12), transparent 58%) !important;
}
.hero-slide.auto-product .hero-visual img {
  width: min(100%, 520px) !important;
  height: min(100%, 500px) !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 28px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.34);
}

/* Stronger local network inside the hero while the global layer continues. */
.hero-particles {
  opacity: 0.9;
  mix-blend-mode: screen;
}

@media (max-width: 800px) {
  .hero-slide.auto-product .hero-visual img {
    width: min(96%, 430px) !important;
    height: min(96%, 430px) !important;
  }
}


/* =========================================================
   V5.0.6 — FAST BOOT + MOVING PARTICLES + NO EMPTY SCREEN
   ========================================================= */
.site-particles {
  z-index: 0 !important;
  opacity: 0.48 !important;
  will-change: transform, opacity;
}
body:not(.dark) .site-particles { opacity: 0.22 !important; }
body > .topbar,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}
.hero-stage { min-height: clamp(390px, 31vw, 510px); }
.hero-loading-card {
  min-height: clamp(390px, 31vw, 510px);
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding: clamp(24px, 4vw, 64px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(7,17,25,.96), rgba(10,42,53,.92));
  overflow: hidden;
}
.hero-loading-media {
  aspect-ratio: 1;
  width: min(100%, 430px);
  justify-self: center;
  border-radius: 28px;
  background: linear-gradient(105deg, rgba(255,255,255,.04) 20%, rgba(36,215,255,.13) 42%, rgba(255,255,255,.04) 64%);
  background-size: 240% 100%;
  animation: heroSkeleton 1.25s linear infinite;
}
.hero-loading-copy { display: grid; gap: 16px; align-content: center; }
.hero-loading-copy span,
.hero-loading-copy b,
.hero-loading-copy i {
  display: block;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(255,255,255,.055) 20%, rgba(36,215,255,.16) 42%, rgba(255,255,255,.055) 64%);
  background-size: 240% 100%;
  animation: heroSkeleton 1.25s linear infinite;
}
.hero-loading-copy span { width: 26%; height: 12px; }
.hero-loading-copy b:nth-of-type(1) { width: 86%; height: 48px; }
.hero-loading-copy b:nth-of-type(2) { width: 62%; height: 48px; }
.hero-loading-copy i { width: 38%; height: 48px; }
.hero-loading-copy small { color: rgba(255,255,255,.68); font-size: 14px; }
@keyframes heroSkeleton { to { background-position: -240% 0; } }
.hero-error { min-height: 320px; display:grid; place-items:center; text-align:center; padding:30px; }

/* Keep the page compact while data is being requested. */
.hero + .trust { margin-top: 8px; }
.reveal:not(.visible) { transform: translateY(18px); }

/* Product images: dark edge-to-edge surfaces; never a white card/frame. */
.hero-slide.auto-product .hero-visual,
.product-media,
.product-image-box,
.gallery-main,
.gallery-thumbs button {
  background: #07111a !important;
  border-color: rgba(36,215,255,.14) !important;
}
.hero-slide.auto-product .hero-visual img,
.product-media img,
.product-image-box img {
  background: transparent !important;
  object-fit: contain !important;
}

@media (max-width: 800px) {
  .hero-stage,
  .hero-loading-card { min-height: 430px; }
  .hero-loading-card { grid-template-columns: 1fr; padding: 22px; }
  .hero-loading-media { width: min(72vw, 300px); }
  .hero-loading-copy { display: none; }
  .site-particles { opacity: .34 !important; }
}


/* =========================================================
   V5.0.7 — INTERACTIVE LAYERS FIX
   Prevent particles/content stacking from hiding auth/cart.
   ========================================================= */
.header { z-index: 40 !important; }
.overlay {
  z-index: 900 !important;
  pointer-events: none;
}
.overlay.open { pointer-events: auto; }
.drawer {
  z-index: 910 !important;
  pointer-events: none;
}
.drawer.open { pointer-events: auto; }
.modal {
  z-index: 920 !important;
  pointer-events: none;
}
.modal.open { pointer-events: auto; }
.compare-bar { z-index: 880 !important; }
.toast { z-index: 950 !important; }
.site-particles,
.hero-particles {
  pointer-events: none !important;
}


/* UC-MATH PRO V5.0.8 — order history and direct support */
.orders-nav-button {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}
.orders-nav-button b {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--cyan);
  color: #041018;
  font-size: 9px;
}
.order-identity {
  min-width: 0;
}
.order-invoice-number,
.order-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.order-invoice-number small {
  font-size: 8px;
  color: var(--muted);
}
.order-invoice-number b {
  font-size: 10px;
  color: var(--cyan);
}
.order-date-row time {
  font-size: 9px;
  color: var(--muted);
}
.order-date-row em {
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  color: #00a8c9;
  background: color-mix(in srgb, var(--cyan) 10%, transparent);
  border-radius: 999px;
  padding: 4px 8px;
}
.order-total-block {
  display: grid;
  justify-items: end;
  gap: 7px;
}
.order-quantity-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #092c32;
  color: #72efff;
  font-size: 9px;
  font-weight: 900;
}
.order-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 8px;
}
.order-summary-chips span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 8px;
}
.order-summary-chips b {
  color: var(--text);
  font-size: 10px;
  margin-inline-start: 3px;
}
.customer-order-products small strong {
  color: var(--cyan);
  font-size: 11px;
}
.order-card-actions .support-chat-action {
  background: color-mix(in srgb, var(--cyan) 13%, var(--surface));
  border-color: color-mix(in srgb, var(--cyan) 40%, var(--line));
}
.review-wait-note,
.review-complete-note {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
}
.review-wait-note {
  background: color-mix(in srgb, var(--gold) 10%, var(--surface));
  color: color-mix(in srgb, var(--gold) 82%, var(--text));
}
.review-complete-note {
  background: rgba(31, 188, 118, .12);
  color: #31bc76;
}
.order-thank-you {
  display: block;
  color: #06462f;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 1000;
  margin-bottom: 3px;
}
.chat-card form {
  grid-template-columns: 130px 1fr auto;
}
.chat-card select,
.support-center-form select,
.support-center-form input,
.support-center-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 11px;
  outline: none;
  font-family: inherit;
}
.support-center-card {
  width: min(720px, 95vw);
  padding: 30px;
  max-height: 92vh;
  overflow: auto;
}
.support-center-head {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}
.support-center-head h2 {
  margin: 4px 0 7px;
}
.support-center-head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.support-center-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--cyan), #0785a5);
  color: #021017;
  font-size: 30px;
  box-shadow: 0 14px 35px rgba(36, 215, 255, .22);
}
.support-center-form {
  display: grid;
  gap: 14px;
}
.support-center-form label {
  display: grid;
  gap: 7px;
  font-size: 9px;
  font-weight: 900;
}
.support-message-label textarea {
  resize: vertical;
  min-height: 110px;
}
.floating-support {
  position: fixed;
  left: 22px;
  bottom: 88px;
  z-index: 90;
  min-width: 124px;
  height: 52px;
  border: 1px solid rgba(71, 226, 255, .35);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(3, 28, 38, .96), rgba(5, 84, 104, .96));
  color: #fff;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 7px 11px 7px 7px;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .32), 0 0 25px rgba(36, 215, 255, .1);
  backdrop-filter: blur(12px);
}
.floating-support > span {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--cyan);
  color: #031219;
  font-size: 20px;
}
.floating-support b {
  font-size: 10px;
  line-height: 1;
}
.floating-support i {
  font-style: normal;
  color: #64f2b5;
  font-size: 8px;
  font-weight: 900;
}
@media (max-width: 760px) {
  .floating-support {
    left: 14px;
    bottom: 82px;
    min-width: 52px;
    width: 52px;
    padding: 8px;
    grid-template-columns: 1fr;
  }
  .floating-support > span { grid-row: auto; }
  .floating-support b,
  .floating-support i { display: none; }
  .chat-card form { grid-template-columns: 1fr; }
  .order-total-block { justify-items: start; }
  .support-center-head { grid-template-columns: 48px 1fr; }
  .support-center-icon { width: 48px; height: 48px; border-radius: 15px; }
}

/* UC-MATH PRO V5.0.9 — real-time orders, notifications and quantity controls */
.notifications-header-btn {
  position: relative;
}
.notifications-header-btn > span {
  font-size: 1.15rem;
  transform: rotate(45deg);
  display: inline-grid;
  place-items: center;
}
.notifications-header-btn b {
  position: absolute;
  inset-inline-start: -4px;
  top: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ff526c;
  color: #fff;
  font-size: .68rem;
  box-shadow: 0 0 0 3px #09111a;
}
.orders-live-state {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 215, 255, .09);
  border: 1px solid rgba(36, 215, 255, .2);
  color: #70e5ff;
  font-size: .82rem;
}
.orders-live-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fe7a5;
  box-shadow: 0 0 0 5px rgba(63, 231, 165, .12), 0 0 14px rgba(63, 231, 165, .7);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  50% { transform: scale(.72); opacity: .65; }
}
.notifications-card {
  width: min(760px, calc(100vw - 24px));
  max-height: min(780px, 88vh);
  overflow: auto;
}
.notifications-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.notifications-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}
.notifications-head p {
  margin: 0;
  color: var(--muted);
}
#notificationsList {
  display: grid;
  gap: 10px;
}
.customer-notification {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(125, 145, 165, .2);
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: .2s ease;
}
.customer-notification:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 215, 255, .42);
}
.customer-notification.unread {
  background: linear-gradient(135deg, rgba(36,215,255,.13), rgba(123,97,255,.08));
  border-color: rgba(36,215,255,.42);
  box-shadow: inset 3px 0 0 #24d7ff;
}
.customer-notification > span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(36,215,255,.12);
  color: #4ddfff;
  font-size: 1.15rem;
  font-weight: 900;
}
.customer-notification div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.customer-notification strong {
  font-size: 1rem;
  color: var(--text);
}
.customer-notification b {
  color: var(--text);
  font-size: .94rem;
  line-height: 1.7;
}
.customer-notification small {
  color: var(--muted);
  font-size: .76rem;
}
.live-notification-banner {
  position: fixed;
  z-index: 13000;
  top: 96px;
  inset-inline-start: 24px;
  width: min(430px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 20px;
  background: rgba(7, 18, 29, .96);
  color: #fff;
  border: 1px solid rgba(36,215,255,.42);
  box-shadow: 0 22px 70px rgba(0,0,0,.45), 0 0 40px rgba(36,215,255,.12);
  backdrop-filter: blur(18px);
  transform: translateY(-18px);
  opacity: 0;
  transition: .25s ease;
}
.live-notification-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.live-notification-banner > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #24d7ff, #7b61ff);
  color: #031019;
  font-weight: 950;
}
.live-notification-banner div {
  display: grid;
  gap: 3px;
}
.live-notification-banner strong,
.live-notification-banner b {
  display: block;
  line-height: 1.55;
}
.live-notification-banner b {
  font-size: .88rem;
}
.live-notification-banner > button {
  grid-column: 3;
  grid-row: 1;
  border: 0;
  background: transparent;
  color: #9eb0bf;
  font-size: 1.2rem;
  cursor: pointer;
}
.product-quantity-picker {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 13px 15px;
  border: 1px solid rgba(125,145,165,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.product-quantity-picker > span {
  font-weight: 800;
}
.product-quantity-picker > div {
  display: grid;
  grid-template-columns: 38px 58px 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(36,215,255,.26);
  border-radius: 13px;
}
.product-quantity-picker button,
.product-quantity-picker input {
  height: 38px;
  border: 0;
  text-align: center;
  color: var(--text);
  background: transparent;
}
.product-quantity-picker button {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  background: rgba(36,215,255,.08);
}
.product-quantity-picker input {
  width: 58px;
  font-weight: 900;
  -moz-appearance: textfield;
}
.product-quantity-picker input::-webkit-inner-spin-button,
.product-quantity-picker input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.product-quantity-picker small {
  color: var(--muted);
  margin-inline-start: auto;
}
@media (max-width: 760px) {
  .notifications-head { flex-direction: column; }
  .notifications-head button { width: 100%; }
  .live-notification-banner { top: 76px; inset-inline-start: 16px; }
  .customer-notification { grid-template-columns: 40px 1fr; padding: 13px; }
  .customer-notification > span { width: 40px; height: 40px; border-radius: 12px; }
  .product-quantity-picker { align-items: flex-start; }
  .product-quantity-picker small { width: 100%; margin: 0; }
}


/* UC-MATH PRO V5.0.11 — dedicated realtime support and mobile stability */
.direct-support-card {
  width: min(760px, calc(100vw - 24px));
  max-height: min(780px, calc(100dvh - 24px));
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  gap: 16px;
}
.direct-support-card .support-center-head {
  grid-template-columns: 64px 1fr auto;
}
.direct-support-messages {
  min-height: 280px;
  max-height: 48vh;
  overflow: auto;
  background: rgba(4, 13, 22, .7);
  border: 1px solid rgba(36, 215, 255, .14);
  border-radius: 22px;
  padding: 16px;
}
.direct-support-form {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 12px;
  align-items: end;
}
.direct-support-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.direct-support-form textarea { min-height: 76px; }
.hero-error {
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  padding: 28px;
}
.hero-error b { font-size: clamp(20px, 4vw, 32px); }
.hero-error span { color: rgba(255,255,255,.72); }

@media (max-width: 760px) {
  .direct-support-card {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    padding: 16px;
    border-radius: 22px;
    grid-template-rows: auto minmax(180px, 1fr) auto;
  }
  .direct-support-card .support-center-head {
    grid-template-columns: 48px 1fr;
  }
  .direct-support-card .support-center-head .chat-live {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .direct-support-form { grid-template-columns: 1fr; }
  .direct-support-messages { min-height: 220px; max-height: 42vh; }
}

/* =========================================================
   V5.0.12 — TRUE MOBILE RESPONSIVE LAYOUT
   Mobile-first sizing, safe areas, no horizontal clipping.
   ========================================================= */
:root {
  --app-height: 100dvh;
}
html,
body {
  width: 100%;
  max-width: 100%;
}
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  min-width: 0;
  overflow-x: clip !important;
}
main,
header,
footer,
section,
.shell,
.header-row,
.nav-row,
.hero-stage,
.modal-card,
.drawer {
  max-width: 100%;
}
button,
input,
select,
textarea {
  max-width: 100%;
}
.product-card,
.category-card,
.cart-line,
.customer-order-card,
.customer-notification,
.chat-message,
.invoice-card,
.track-card {
  overflow-wrap: break-word;
  word-break: normal;
}

/* Stable page flow regardless of remote section ordering. */
main#top {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}
main#top > section {
  width: var(--shell);
  min-width: 0 !important;
}
main#top > .dark-section,
main#top > .brand-story {
  width: 100%;
}
main#top h1,
main#top h2,
main#top h3,
main#top p,
main#top a,
main#top button,
main#top span,
main#top strong,
main#top small {
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100% - 24px);
  }
  .shell {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }
  .header-actions #compareHeaderBtn,
  .header-actions #wishlistBtn {
    display: none !important;
  }
  .product-grid,
  .dynamic-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .product-grid[data-count="1"],
  .dynamic-product-grid[data-count="1"] {
    grid-template-columns: minmax(0, 420px) !important;
  }
  .category-grid,
  .category-grid[data-count="2"],
  .category-grid[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
  }
  .category-grid[data-count="1"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .category-grid > *,
  .product-grid > *,
  .dynamic-product-grid > * {
    min-width: 0 !important;
  }
  .editorial,
  .story-grid,
  .product-modal-grid,
  .auth-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 18px);
    --radius: 18px;
  }
  html {
    scroll-padding-top: 72px;
  }
  body {
    font-size: 14px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .shell {
    width: calc(100% - 18px) !important;
  }
  .topbar-inner {
    min-height: 31px;
    height: auto;
    padding-block: 6px;
    gap: 8px;
    overflow: hidden;
  }
  .topbar span {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
    letter-spacing: .08em;
  }
  .header {
    padding-bottom: 58px;
  }
  .header-row {
    height: 64px !important;
    grid-template-columns: 42px minmax(42px, 1fr) auto !important;
    gap: 6px !important;
  }
  .mobile-menu,
  .mobile-search-btn,
  .header-actions > .icon-btn,
  .cart-btn {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    padding: 0 !important;
  }
  .brand {
    min-width: 0 !important;
    justify-self: center;
  }
  .logo-frame {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }
  .header-actions {
    min-width: 0;
    gap: 5px !important;
  }
  .mobile-search-btn {
    display: none !important;
  }
  .header-actions #themeToggle {
    display: grid !important;
  }
  .notifications-header-btn {
    display: grid !important;
  }
  .account-header-btn {
    max-width: 76px;
    min-height: 42px;
    padding: 0 9px !important;
    font-size: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cart-symbol {
    display: grid;
    place-items: center;
  }
  .search {
    display: flex !important;
    position: absolute !important;
    top: 67px !important;
    inset-inline: 9px !important;
    width: auto !important;
    height: 50px;
    z-index: 55 !important;
  }
  .search select {
    display: none;
  }
  .search input {
    font-size: 16px;
  }
  .search-suggestions {
    top: 116px !important;
    right: 9px !important;
    left: 9px !important;
    width: auto !important;
    max-height: min(52dvh, 420px);
    overflow-y: auto;
  }
  .nav-wrap {
    top: 125px !important;
    max-height: calc(var(--app-height) - 125px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-row {
    padding: 10px !important;
  }
  .nav-row nav {
    gap: 3px;
  }
  .nav-row nav a,
  .nav-row nav button {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    text-align: right;
  }

  .hero {
    padding-top: 10px !important;
  }
  main#top > section:not(.dark-section):not(.brand-story) {
    width: calc(100% - 18px) !important;
    margin-inline: auto !important;
  }
  main#top > section.dark-section,
  main#top > section.brand-story {
    width: 100% !important;
  }
  .hero-stage,
  .hero-loading-card {
    min-height: 520px !important;
    border-radius: 22px !important;
  }
  .hero-slide {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(225px, auto) minmax(220px, 1fr) !important;
  }
  .hero-copy {
    padding: 25px 18px 4px !important;
    text-align: center;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    font-size: 8px;
    padding: 6px 9px;
  }
  .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 10px;
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1.12;
  }
  .hero-copy p {
    max-width: 100%;
    margin: 0 0 13px;
    font-size: 13px !important;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-price {
    margin-bottom: 13px;
    justify-content: center;
  }
  .hero-price strong {
    font-size: 24px;
  }
  .hero-actions {
    width: 100%;
    gap: 8px;
    flex-direction: row !important;
  }
  .hero-actions .button {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 11px;
  }
  .hero-visual {
    min-height: 220px;
    padding: 5px 12px 15px !important;
  }
  .hero-visual img,
  .hero-slide.auto-product .hero-visual img {
    width: min(92%, 330px) !important;
    height: min(235px, 52vw) !important;
    max-height: 235px !important;
    object-fit: contain !important;
    border-radius: 19px !important;
  }
  .hero-controls {
    height: 43px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-inline: 5px;
  }
  .hero-arrows {
    display: none;
  }
  .hero-dots {
    gap: 5px;
  }

  .trust {
    margin-top: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    border-radius: 18px;
  }
  .trust article {
    min-width: 0;
    padding: 14px 11px;
    gap: 8px;
  }
  .trust article span {
    flex: 0 0 auto;
  }
  .trust article strong {
    font-size: 11px;
  }
  .trust article small {
    font-size: 9px;
    line-height: 1.45;
  }

  .section {
    padding-block: 46px !important;
  }
  .section-head {
    gap: 13px;
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1.2;
    margin-block: 7px;
  }
  .section-head p {
    font-size: 12px;
    line-height: 1.7;
  }
  .section-head > a {
    align-self: stretch;
    text-align: center;
    padding: 11px;
    border-radius: 12px;
    background: var(--surface-2);
  }
  .category-grid,
  .category-grid[data-count="1"],
  .category-grid[data-count="2"],
  .category-grid[data-count="3"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .category-card,
  .category-grid[data-count] .category-card,
  .category-card:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 190px !important;
    min-height: 0 !important;
  }
  .category-card img,
  .category-grid[data-count="1"] .category-card img {
    max-width: 55%;
    height: 92% !important;
  }

  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .product-rail {
    grid-auto-columns: minmax(0, 82vw) !important;
    gap: 12px;
    padding-inline: 1px;
    scroll-padding-inline: 1px;
  }
  .product-card {
    width: 100%;
    max-width: 100%;
    border-radius: 19px;
  }
  .product-card:hover {
    transform: none;
  }
  .product-media {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .product-info {
    padding: 15px !important;
  }
  .product-info h3 {
    min-height: 0 !important;
    font-size: 14px;
    line-height: 1.55;
  }

  .editorial {
    gap: 12px;
  }
  .editorial-main,
  .editorial-side {
    min-height: 410px !important;
    padding: 26px 20px !important;
    border-radius: 22px;
    overflow: hidden;
  }
  .editorial-main h2 {
    font-size: 31px !important;
  }
  .editorial-main img,
  .editorial-side img {
    width: 76% !important;
    height: 48% !important;
    max-height: 220px;
  }
  .competition a {
    height: 390px !important;
    border-radius: 22px;
  }
  .competition-content {
    inset-inline: 18px !important;
    bottom: 24px !important;
  }
  .competition-content > strong {
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1.2;
  }
  .competition-content small {
    max-width: 100%;
  }
  .filters,
  .advanced-filters {
    width: 100%;
    grid-template-columns: 1fr !important;
    gap: 9px;
  }
  .filters label,
  .filters select,
  .filters input,
  .advanced-filters label,
  .advanced-filters select,
  .advanced-filters input {
    width: 100% !important;
    min-width: 0 !important;
  }
  .story-visual {
    height: 320px !important;
  }
  .newsletter {
    padding: 27px 18px !important;
    border-radius: 22px;
  }
  .newsletter form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }
  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .modal {
    padding: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)) !important;
    align-items: end;
  }
  .modal-card,
  .invoice-modal-card,
  .compare-modal-card,
  .review-modal-card,
  .auth-modal-card,
  .track-card,
  .support-center-card,
  .direct-support-card,
  .notifications-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(var(--app-height) - 12px) !important;
    border-radius: 21px 21px 0 0 !important;
    padding: 18px !important;
    overscroll-behavior: contain;
  }
  .modal-close {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
  }
  .product-gallery {
    min-height: 0 !important;
    padding: 14px !important;
    grid-template-rows: auto auto;
  }
  .gallery-main img {
    width: 100% !important;
    height: auto !important;
    max-height: 46vh;
    aspect-ratio: 1 / 1;
  }
  .gallery-thumbs button {
    width: 62px;
    min-width: 62px;
    height: 62px;
  }
  .product-detail {
    padding: 22px 15px !important;
  }
  .product-detail h2 {
    font-size: 27px !important;
    padding-inline-start: 40px;
  }
  .detail-price {
    flex-wrap: wrap;
  }
  .detail-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .detail-actions > * {
    width: 100%;
  }
  .drawer {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .drawer-head {
    padding: 18px 16px 13px;
  }
  .drawer-head h3 {
    font-size: 22px;
  }
  .drawer-body {
    padding: 10px 15px;
  }
  .drawer-foot {
    padding: 15px;
  }
  .cart-line {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
    gap: 9px;
  }
  .cart-line img {
    width: 64px !important;
    height: 64px !important;
  }
  .cart-line h4 {
    line-height: 1.45;
  }
  .checkout-card,
  .invoice-card {
    padding: 18px 13px !important;
  }
  .checkout-steps {
    overflow-x: auto;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 6px;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .checkout-steps span {
    min-width: max-content;
    font-size: 10px;
    padding: 8px 10px;
  }
  .invoice-header,
  .invoice-customer,
  .invoice-products,
  .invoice-summary,
  .invoice-footer {
    padding-inline: 12px !important;
  }
  .invoice-table-wrap,
  .compare-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .invoice-table {
    min-width: 620px !important;
  }
  .compare-table {
    min-width: 720px !important;
  }
  .invoice-actions {
    flex-direction: column;
  }
  .invoice-actions .button,
  .invoice-confirm {
    width: 100% !important;
    min-width: 0 !important;
  }
  .track-form,
  .direct-support-form,
  .chat-card form {
    grid-template-columns: 1fr !important;
  }
  .direct-support-card {
    grid-template-rows: auto minmax(180px, 1fr) auto !important;
  }
  .direct-support-messages {
    min-height: 180px;
    max-height: 42dvh;
  }
  .customer-order-head,
  .notifications-head {
    flex-direction: column;
    align-items: stretch;
  }
  .customer-order-head > *,
  .notifications-head > * {
    max-width: 100%;
  }
  .live-notification-banner {
    top: 70px !important;
    inset-inline: 8px !important;
    width: auto !important;
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    padding: 11px;
    border-radius: 16px;
  }
  .floating-support {
    left: max(10px, env(safe-area-inset-left)) !important;
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }
  .floating-whatsapp {
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  button,
  a,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }
}

@media (max-width: 420px) {
  :root {
    --shell: calc(100% - 14px);
  }
  .shell {
    width: calc(100% - 14px) !important;
  }
  .topbar-inner {
    padding-block: 5px;
  }
  .header-row {
    grid-template-columns: 40px minmax(38px, 1fr) auto !important;
    gap: 4px !important;
  }
  .logo-frame {
    width: 40px !important;
    height: 40px !important;
  }
  .mobile-menu,
  .mobile-search-btn,
  .header-actions > .icon-btn,
  .cart-btn {
    width: 39px !important;
    min-width: 39px !important;
    height: 39px !important;
  }
  .account-header-btn {
    width: 39px !important;
    min-width: 39px !important;
    padding: 0 !important;
    font-size: 0 !important;
    border-radius: 13px !important;
  }
  .account-header-btn::before {
    content: "◉";
    font-size: 17px;
  }
  .notifications-header-btn {
    display: none !important;
  }
  main#top > section:not(.dark-section):not(.brand-story) {
    width: calc(100% - 14px) !important;
  }
  .account-header-btn.signed-in::before {
    content: "✓";
  }
  .hero-stage,
  .hero-loading-card {
    min-height: 500px !important;
  }
  .hero-copy {
    padding-inline: 13px !important;
  }
  .hero-copy h1 {
    font-size: clamp(25px, 8.5vw, 34px) !important;
  }
  .hero-actions .button {
    font-size: 10px;
  }
  .trust {
    grid-template-columns: 1fr !important;
  }
  .trust article {
    border-left: 0 !important;
  }
  .product-rail {
    grid-auto-columns: minmax(0, 88vw) !important;
  }
  .competition a {
    height: 350px !important;
  }
  .cart-line {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }
  .cart-line img {
    width: 56px !important;
    height: 56px !important;
  }
  .cart-line > .remove-line {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .notifications-header-btn {
    display: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .button:hover,
  .icon-btn:hover,
  .category-card:hover {
    transform: none !important;
  }
}

/* =========================================================
   V5.0.14 — final phone-only containment layer
   Kept below every legacy rule so desktop remains untouched.
   ========================================================= */
@media screen and (max-width: 760px) {
  html,
  body {
    inline-size: 100%;
    max-inline-size: 100%;
    overflow-x: hidden !important;
  }

  *,
  *::before,
  *::after {
    min-inline-size: 0;
  }

  img,
  svg,
  video,
  canvas {
    max-inline-size: 100%;
  }

  .site-particles,
  .page-glow {
    max-inline-size: none;
    pointer-events: none;
  }

  .shell,
  main#top > section:not(.dark-section):not(.brand-story) {
    inline-size: calc(100% - 20px) !important;
    max-inline-size: calc(100% - 20px) !important;
    margin-inline: auto !important;
  }

  .topbar-inner {
    display: flex;
    justify-content: center;
  }
  .topbar-inner > span,
  .topbar-inner > a {
    display: none !important;
  }
  .topbar-inner > p {
    margin: 0;
    max-inline-size: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-row {
    inline-size: calc(100% - 20px) !important;
    grid-template-columns: 42px 46px minmax(0, 1fr) !important;
    direction: rtl;
  }
  .mobile-menu {
    grid-column: 1;
  }
  .brand {
    grid-column: 2;
  }
  .brand-text {
    display: none !important;
  }
  .header-actions {
    grid-column: 3;
    inline-size: 100%;
    justify-content: flex-end;
  }
  .header-actions #compareHeaderBtn,
  .header-actions #wishlistBtn,
  .notifications-header-btn {
    display: none !important;
  }
  .account-header-btn,
  .header-actions #themeToggle,
  .cart-btn {
    flex: 0 0 42px;
    inline-size: 42px !important;
    min-inline-size: 42px !important;
  }
  .cart-btn > span:last-child {
    display: none !important;
  }

  .search,
  .search-suggestions {
    inset-inline: 10px !important;
    inline-size: auto !important;
    max-inline-size: none !important;
  }

  .hero-slide,
  .editorial,
  .story-grid,
  .product-modal-grid,
  .auth-columns,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count],
  .category-grid,
  .category-grid[data-count] {
    inline-size: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-card,
  .category-card,
  .hero-stage,
  .hero-slide,
  .editorial-main,
  .editorial-side,
  .newsletter,
  .competition,
  .competition > a {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
  }

  .modal-card,
  .drawer,
  .checkout-card,
  .invoice-card,
  .track-card,
  .support-center-card,
  .direct-support-card,
  .notifications-card {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
  }
}

@media screen and (max-width: 359px) {
  .header-row {
    grid-template-columns: 38px 40px minmax(0, 1fr) !important;
    gap: 3px !important;
  }
  .account-header-btn,
  .header-actions #themeToggle,
  .cart-btn,
  .mobile-menu {
    flex-basis: 38px;
    inline-size: 38px !important;
    min-inline-size: 38px !important;
  }
  .header-actions {
    gap: 3px !important;
  }
}

/* =========================================================
   V5.0.15 — exact responsive device matrix
   320–374 / 375–413 / 414–767 / 768–1023 /
   1024–1365 / 1366–1919 / 1920+
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

.product-grid,
.dynamic-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
}

.product-card .product-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* شاشة كبيرة: 1920px فأكثر */
@media screen and (min-width: 1920px) {
  .product-grid,
  .dynamic-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 18px;
  }
}

/* كمبيوتر: 1366px حتى 1919px */
@media screen and (min-width: 1366px) and (max-width: 1919px) {
  .product-grid,
  .dynamic-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* لابتوب: 1024px حتى 1365px */
@media screen and (min-width: 1024px) and (max-width: 1365px) {
  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
  }
}

/* تابلت: 768px حتى 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}

/* جميع الموبايلات: 320px حتى 767px */
@media screen and (min-width: 320px) and (max-width: 767px) {
  :root {
    --shell: calc(100% - 16px);
  }

  .shell,
  main#top > section:not(.dark-section):not(.brand-story) {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    margin-inline: auto !important;
  }

  .desktop-navigation,
  .nav-wrap {
    display: none;
  }
  .mobile-menu,
  .mobile-menu-button {
    display: flex !important;
  }
  .header.menu-open .nav-wrap {
    display: block !important;
  }

  .header-row {
    width: calc(100% - 16px) !important;
    grid-template-columns: 42px 46px minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .search,
  .search-box {
    grid-column: 1 / -1;
    width: auto !important;
    inset-inline: 8px !important;
  }

  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count] {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-grid[data-count="1"],
  .dynamic-product-grid[data-count="1"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-card {
    width: 100%;
    min-width: 0;
    border-radius: 15px;
  }
  .product-card .product-body,
  .product-card .product-info {
    padding: 10px !important;
  }
  .product-card h3,
  .product-card .product-title {
    min-height: 0 !important;
    font-size: 13px !important;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .product-card .product-short,
  .product-card .product-compare-row {
    display: none;
  }
  .product-card .product-price {
    align-items: flex-start;
    gap: 4px;
  }
  .product-card .product-price strong {
    font-size: 15px;
  }
  .product-card button,
  .product-card a,
  .button,
  .icon-btn,
  .cart-btn {
    min-height: 42px;
    touch-action: manipulation;
  }
  .product-card .add-cart {
    min-width: 42px;
    width: 42px;
    height: 42px;
  }
}

/* موبايل صغير: 320px حتى 374px */
@media screen and (min-width: 320px) and (max-width: 374px) {
  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count] {
    gap: 6px !important;
  }
  .product-card .product-body,
  .product-card .product-info {
    padding: 8px !important;
  }
  .product-card h3,
  .product-card .product-title {
    font-size: 12px !important;
  }
  .product-card .product-category,
  .product-card .product-rating span,
  .product-card .stock-badge,
  .product-card .product-foot > small {
    font-size: 8px !important;
  }
}

/* موبايل متوسط: 375px حتى 413px */
@media screen and (min-width: 375px) and (max-width: 413px) {
  .product-card h3,
  .product-card .product-title {
    font-size: 13px !important;
  }
}

/* موبايل كبير: 414px حتى 767px */
@media screen and (min-width: 414px) and (max-width: 767px) {
  .product-grid,
  .dynamic-product-grid,
  .product-grid[data-count],
  .dynamic-product-grid[data-count] {
    gap: 10px !important;
  }
  .product-card h3,
  .product-card .product-title {
    font-size: 14px !important;
  }
}

/* V5.0.16 — hide community picks on phones only */
@media screen and (max-width: 767px) {
  #bestsellers,
  [data-section-key="bestsellers"] {
    display: none !important;
  }

  /* Join the competition block directly to the official collection. */
  #competition,
  [data-section-key="competition"] {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  #shop,
  [data-section-key="shop"] {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  #shop .shop-head {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* =========================================================
   V5.0.18 — phone-only continuous layout
   Remove empty vertical bands between homepage sections.
   ========================================================= */
@media screen and (max-width: 767px) {
  main#top {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main#top > section,
  main#top > section + section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  main#top > section[hidden],
  main#top > section.is-empty,
  main#top > section:empty,
  .dynamic-section.is-empty,
  .dynamic-section:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero {
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }

  .hero-controls {
    margin: 0 !important;
  }

  .trust {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .section,
  main#top > .section {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  #categories,
  [data-section-key="categories"] {
    padding-top: 14px !important;
    padding-bottom: 10px !important;
  }

  #bestsellers,
  [data-section-key="bestsellers"] {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .editorial,
  [data-section-key="editorial"] {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-block: 0 !important;
  }

  #competition,
  [data-section-key="competition"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-block: 0 !important;
  }

  #shop,
  [data-section-key="shop"] {
    padding-top: 10px !important;
    padding-bottom: 14px !important;
    margin-block: 0 !important;
  }

  .section-head,
  #shop .shop-head {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .brand-story,
  [data-section-key="story"] {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-block: 0 !important;
  }

  .newsletter,
  [data-section-key="newsletter"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  footer {
    margin-top: 0 !important;
  }
}

/* =========================================================
   V5.0.19 — rebuilt phone layout, ratings and real SVG icons
   ========================================================= */
.ui-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon,
.rating-star {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.rating-star { width: 13px; height: 13px; stroke-width: 1.5; }
.stars i.on .rating-star { color: #f5b800; fill: #f5b800; }
.wish.active .ui-icon { fill: currentColor; }
.account-header-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.account-header-btn .ui-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.cart-symbol .ui-icon { width: 24px; height: 24px; }

@media screen and (max-width: 767px) {
  /* Invisible reveal sections were keeping their full height on phones. */
  .reveal,
  .reveal:not(.visible),
  .reveal.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }
  [hidden], section[hidden], section.is-empty { display: none !important; }
  main#top, main#top > section { min-height: 0 !important; margin-block: 0 !important; }
  main#top > .section,
  main#top > section.section,
  main#top > .dynamic-section,
  #categories,
  #shop { padding-top: 0 !important; padding-bottom: 0 !important; }
  .section-head,
  #shop .shop-head,
  .dynamic-section .section-head {
    padding: 12px 0 10px !important;
    margin: 0 !important;
    gap: 8px !important;
  }
  .category-grid,
  .product-grid,
  .dynamic-product-grid,
  .editorial { margin: 0 !important; padding: 0 !important; gap: 7px !important; }
  .category-card,
  .category-grid[data-count] .category-card,
  .category-card:first-child { height: 160px !important; min-height: 0 !important; }
  .editorial-main,
  .editorial-side { min-height: 300px !important; margin: 0 !important; }
  #competition,
  .competition,
  #shop,
  .brand-story,
  .newsletter { margin-block: 0 !important; }
  .competition > a { height: 310px !important; min-height: 0 !important; }
  .product-card { min-height: 0 !important; height: auto !important; }
  .product-card .product-media {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  .product-card .product-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  .product-card .product-body,
  .product-card .product-info { padding: 9px !important; }
  .product-card .product-title,
  .product-card h3,
  .product-card .product-price,
  .product-card .product-foot { min-height: 0 !important; }
  .product-rating {
    width: 100%;
    min-width: 0;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    margin: 4px 0 6px !important;
    direction: rtl;
  }
  .product-rating .stars {
    flex: 0 0 auto;
    display: inline-flex !important;
    direction: ltr;
    gap: 0 !important;
    white-space: nowrap;
  }
  .product-rating .stars i { width: 12px; height: 13px; display: block; }
  .product-rating > span:not(.stars) {
    min-width: 0;
    font-size: 8px !important;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .account-header-btn::before,
  .account-header-btn.signed-in::before { content: none !important; display: none !important; }
  .account-header-btn {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 13px !important;
  }
  .account-header-btn .account-label { display: none !important; }
  .account-header-btn .ui-icon,
  .icon-btn .ui-icon,
  .cart-btn .ui-icon { width: 20px; height: 20px; }
  .notifications-header-btn:not(.has-unread) > span { transform: none !important; }
  .add-cart { display: grid; place-items: center; }
  .add-cart .ui-icon { width: 20px; height: 20px; }
}
/* Weight details stay compact, especially on phones. */
.weight-details{border:1px solid var(--line);border-radius:12px;padding:10px;margin-block:8px;background:color-mix(in srgb,var(--surface) 92%,var(--accent))}.weight-details summary{cursor:pointer;font-weight:900;color:var(--accent)}.weight-details>div{display:flex;justify-content:space-between;gap:12px;padding-top:7px}.weight-details .shipping-final-line{border-top:1px dashed var(--line);margin-top:7px;padding-top:10px;font-size:1.05em}
@media(max-width:760px){.weight-details{font-size:12px}.checkout-summary{margin-block:8px}.checkout-card .form-grid{gap:8px}}
.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:16px;background:var(--surface);border-top:1px solid var(--line)}.legal-links a{color:inherit;text-decoration:none;font-weight:700;font-size:13px}
.policy-page{max-width:850px;margin:40px auto;padding:28px;background:var(--surface);color:var(--text);border-radius:18px;line-height:1.9}.policy-page h1,.policy-page h2{line-height:1.4}.policy-page>a{color:var(--accent);font-weight:800}@media(max-width:760px){.policy-page{margin:0;padding:18px;border-radius:0;min-height:100vh}}
.product-detail video{width:100%;max-height:360px;border-radius:12px;background:#000}.product-video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#000}.product-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.facebook-video-frame{background:#080808}.facebook-video-fallback{display:flex;align-items:center;justify-content:center;min-height:42px;margin-top:8px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);font-size:12px;font-weight:800;text-align:center}

/* V5.0.34 — equal product cards: keep long descriptions inside two lines. */
.product-grid,
.dynamic-product-grid {
  align-items: stretch;
}
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card .product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.45em * 2);
  max-height: calc(1.45em * 2);
}
.product-card .product-short {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.7em * 2);
  max-height: calc(1.7em * 2);
}
.product-card .product-foot {
  margin-top: auto;
}

@media screen and (max-width: 767px) {
  .product-card {
    height: 100% !important;
  }
  .product-card .product-title,
  .product-card h3 {
    min-height: calc(1.4em * 2) !important;
    max-height: calc(1.4em * 2) !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}
.variant-select{display:inline-grid;gap:5px;margin:6px}.variant-select select{min-height:44px}.buy-now{background:var(--text);color:var(--surface)}.gallery-main img{cursor:zoom-in}.gallery-main img:active{transform:scale(1.5)}
.cart-options{display:block;color:var(--accent);font-weight:800;margin:3px 0}.variant-select select:invalid{border-color:#d33}
.notifications-header-btn.has-unread>span{transform-origin:50% 8%;animation:epicBell 1.35s cubic-bezier(.36,.07,.19,.97) infinite!important;filter:drop-shadow(0 0 8px #24d7ff)}.notifications-header-btn.has-unread:before,.notifications-header-btn.has-unread:after{content:"";position:absolute;inset:2px;border:1px solid rgba(36,215,255,.65);border-radius:50%;animation:bellWave 1.35s ease-out infinite;pointer-events:none}.notifications-header-btn.has-unread:after{animation-delay:.45s}@keyframes epicBell{0%,45%,100%{transform:rotate(0) scale(1)}8%{transform:rotate(22deg) scale(1.12)}16%{transform:rotate(-20deg) scale(1.12)}24%{transform:rotate(16deg)}32%{transform:rotate(-12deg)}38%{transform:rotate(6deg)}}@keyframes bellWave{0%{transform:scale(.65);opacity:.9}80%,100%{transform:scale(1.65);opacity:0}}@media(prefers-reduced-motion:reduce){.notifications-header-btn.has-unread>span,.notifications-header-btn.has-unread:before,.notifications-header-btn.has-unread:after{animation:none!important}}
.order-variant{color:var(--accent)!important;font-weight:900!important}
.coupon-apply-box{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.coupon-apply-box label{min-width:0}.coupon-apply-box output{grid-column:1/-1;min-height:20px;font-weight:900}.coupon-success{color:#149a63}.coupon-error{color:#d64545}@media(max-width:600px){.coupon-apply-box{grid-template-columns:1fr}.coupon-apply-box output{grid-column:1}}

/* V5.0.38 — immediate value proposition, animated counters and active blog. */
.instant-value{position:relative;z-index:3;margin-top:14px;padding:22px;border:1px solid var(--line);border-radius:24px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 22px 55px rgba(5,13,22,.09);overflow:hidden}
.instant-value:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:var(--cyan);filter:blur(100px);opacity:.08;inset:-130px auto auto -80px;pointer-events:none}
.instant-value-copy{text-align:center;max-width:920px;margin:auto}.instant-value-copy>span{color:var(--cyan);font-size:11px;font-weight:900;letter-spacing:.08em}.instant-value-copy h2{font-size:clamp(22px,3vw,38px);line-height:1.35;margin:8px 0}.instant-value-copy p{color:var(--muted);line-height:1.8;margin:0 auto 14px;max-width:760px}.instant-value-copy>div{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
.quick-start{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px}.quick-start article{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--surface);transition:.3s var(--ease)}.quick-start article:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--cyan) 55%,var(--line));box-shadow:0 14px 30px rgba(0,0,0,.08)}.quick-start article>b{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#071017;color:var(--cyan);font-size:10px}.quick-start article span{display:grid;gap:2px}.quick-start article strong{font-size:12px}.quick-start article small{font-size:10px;color:var(--muted)}
.brand-counters{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:9px}.brand-counters>span{display:grid;text-align:center;padding:11px;border-radius:13px;background:var(--surface-2)}.brand-counters strong{font-size:22px;color:var(--text)}.brand-counters small{font-size:9px;color:var(--muted)}
.hero-visual{transform:translate3d(0,var(--hero-parallax,0),0);transition:transform .18s linear}
.knowledge-blog{padding-top:55px}.knowledge-blog .section-head{margin-bottom:18px}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-bottom:55px}.blog-card{position:relative;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:linear-gradient(150deg,rgba(255,255,255,.075),rgba(255,255,255,.025));color:#fff;transition:.35s var(--ease);overflow:hidden}.blog-card:after{content:"";position:absolute;inset:auto -30px -60px auto;width:120px;height:120px;border-radius:50%;background:var(--cyan);filter:blur(60px);opacity:.11}.blog-card:hover{transform:translateY(-7px);border-color:rgba(36,215,255,.45);box-shadow:0 20px 50px rgba(0,0,0,.25)}.blog-card>span{color:var(--cyan);font-size:9px;font-weight:900}.blog-card h3{font-size:18px;line-height:1.5;margin:7px 0}.blog-card p,.blog-card details div{color:#aeb9c3;font-size:11px;line-height:1.85}.blog-card details{position:relative;z-index:2}.blog-card summary{cursor:pointer;list-style:none;color:#fff;font-size:11px;font-weight:900;padding-top:8px}.blog-card details div{padding-top:10px;border-top:1px solid rgba(255,255,255,.1);margin-top:10px}
@media(max-width:760px){.instant-value{margin-top:7px;padding:15px;border-radius:17px}.instant-value-copy h2{font-size:21px}.instant-value-copy p{font-size:12px}.quick-start{grid-template-columns:1fr}.brand-counters{grid-template-columns:1fr 1fr}.brand-counters strong{font-size:18px}.blog-grid{grid-template-columns:1fr;gap:9px;padding-bottom:24px}.knowledge-blog{padding-top:28px}.blog-card{padding:16px}.hero-visual{transform:none!important}}
@media(prefers-reduced-motion:reduce){.hero-visual,.quick-start article,.blog-card{transition:none!important;transform:none!important}}

/* V5.0.39 — Professional store blog */
.store-blog{padding-block:38px 24px;scroll-margin-top:130px}
.blog-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}
.blog-heading>div{max-width:760px}.blog-heading h2{font-size:clamp(25px,3vw,42px);line-height:1.2;margin:7px 0}.blog-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.8}
.blog-shop-link{flex:none;padding:11px 17px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);font-size:12px;font-weight:900;transition:.25s var(--ease)}
.blog-shop-link:hover{color:var(--cyan);border-color:var(--cyan);transform:translateY(-2px)}
.blog-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:16px}
.blog-featured{display:grid;grid-template-columns:minmax(180px,.78fr) minmax(0,1.22fr);min-width:0;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;transition:.35s var(--ease)}
.blog-featured:hover{transform:translateY(-5px);box-shadow:0 26px 65px rgba(0,0,0,.14)}
.blog-featured-visual{position:relative;display:grid;place-items:center;min-height:360px;padding:35px;background:radial-gradient(circle at 40% 32%,rgba(36,215,255,.25),transparent 36%),linear-gradient(145deg,#05101b,#0b2234);overflow:hidden}
.blog-featured-visual:before,.blog-featured-visual:after{content:"";position:absolute;border:1px solid rgba(36,215,255,.2);border-radius:50%}.blog-featured-visual:before{width:245px;height:245px}.blog-featured-visual:after{width:175px;height:175px}
.blog-featured-visual img{position:relative;z-index:2;width:min(170px,82%);max-height:170px;object-fit:contain;filter:drop-shadow(0 15px 30px rgba(0,0,0,.32))}
.blog-featured-visual>span{position:absolute;z-index:3;inset:18px 18px auto auto;padding:6px 10px;border-radius:999px;background:#24ff33;color:#041108;font-size:9px;font-weight:950}
.blog-featured-copy{display:flex;flex-direction:column;justify-content:center;padding:27px;min-width:0}.blog-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:9px}.blog-meta span{padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--cyan) 13%,transparent);color:var(--cyan);font-weight:900}.blog-meta b{font-weight:700}
.blog-featured-copy h3{font-size:clamp(20px,2vw,29px);line-height:1.45;margin:13px 0 9px}.blog-featured-copy>p{color:var(--muted);font-size:12px;line-height:1.9;margin:0 0 10px}
.store-blog details{position:relative}.store-blog summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;color:var(--text);font-size:11px;font-weight:950;padding-top:10px}.store-blog summary::-webkit-details-marker{display:none}.store-blog details[open] summary span{transform:rotate(-90deg)}.store-blog summary span{transition:.2s}
.blog-article-body{margin-top:13px;padding-top:13px;border-top:1px solid var(--line);max-height:270px;overflow:auto}.blog-article-body h4{font-size:12px;margin:0 0 4px}.blog-article-body p{color:var(--muted);font-size:10px;line-height:1.85;margin:0 0 10px}
.blog-side-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.blog-story-card{position:relative;min-width:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden;transition:.3s var(--ease)}
.blog-story-card:after{content:"";position:absolute;width:90px;height:90px;inset:auto -38px -45px auto;border-radius:50%;background:var(--cyan);filter:blur(45px);opacity:.08;pointer-events:none}.blog-story-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--cyan) 48%,var(--line));box-shadow:0 18px 40px rgba(0,0,0,.1)}
.blog-card-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:11px;background:linear-gradient(145deg,#091a29,#12344c);color:var(--cyan);font-size:10px;font-weight:950}.blog-story-card>span{color:var(--cyan);font-size:9px;font-weight:900}.blog-story-card h3{font-size:15px;line-height:1.55;margin:6px 0}.blog-story-card>p,.blog-story-card details>div{color:var(--muted);font-size:10px;line-height:1.75}.blog-story-card>p{margin:0}.blog-story-card details>div{position:relative;z-index:2;margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}
@media(max-width:1023px){.blog-layout{grid-template-columns:1fr}.blog-featured{grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr)}}
@media(max-width:600px){.store-blog{padding-block:18px 8px}.blog-heading{align-items:start;margin-bottom:11px}.blog-heading h2{font-size:23px;margin:4px 0}.blog-heading p{font-size:11px;line-height:1.65}.blog-shop-link{display:none}.blog-layout{gap:9px}.blog-featured{display:block;border-radius:18px}.blog-featured-visual{min-height:150px;padding:18px}.blog-featured-visual:before{width:150px;height:150px}.blog-featured-visual:after{width:105px;height:105px}.blog-featured-visual img{width:100px;max-height:100px}.blog-featured-visual>span{inset:11px 11px auto auto}.blog-featured-copy{padding:15px}.blog-featured-copy h3{font-size:18px;margin:9px 0 6px}.blog-featured-copy>p{font-size:11px;line-height:1.7}.blog-side-grid{gap:8px}.blog-story-card{padding:13px;border-radius:15px}.blog-card-icon{width:29px;height:29px;margin-bottom:9px}.blog-story-card h3{font-size:13px}.blog-story-card>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}}
@media(max-width:374px){.blog-side-grid{grid-template-columns:1fr}.blog-story-card>p{display:block}}
@media(prefers-reduced-motion:reduce){.blog-featured,.blog-story-card,.blog-shop-link{transition:none!important;transform:none!important}}

/* V5.0.40 — Store blog inspired by the official program website */
.market-blog{padding-block:38px 60px;scroll-margin-top:120px}
.market-blog-hero{position:relative;min-height:285px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 24px;border-radius:38px;color:#fff;background:linear-gradient(135deg,#126f96,#159cbd);overflow:hidden}
.market-blog-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.12) 3px,transparent 4px);background-size:60px 60px;opacity:.45}
.market-blog-hero>*{position:relative;z-index:1}.market-blog-hero>span{font-size:10px;font-weight:950;letter-spacing:.12em}.market-blog-hero h2{margin:10px 0 7px;font-size:clamp(34px,5vw,58px);line-height:1.2;text-shadow:0 4px 7px rgba(0,0,0,.28)}.market-blog-hero p{max-width:750px;margin:0;color:rgba(255,255,255,.9);font-size:16px;line-height:1.8}
.market-blog-hero>a{margin-top:20px;padding:11px 28px;border-radius:999px;background:#fff;color:#075f82;font-size:12px;font-weight:950;box-shadow:0 12px 28px rgba(0,0,0,.18);transition:.25s var(--ease)}.market-blog-hero>a:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 17px 34px rgba(0,0,0,.24)}
.market-blog-tools{display:flex;align-items:center;gap:16px;margin:36px 0 24px}.market-blog-search{width:min(400px,100%);height:55px;display:flex;align-items:center;gap:10px;padding-inline:18px;border:1px solid color-mix(in srgb,var(--cyan) 45%,var(--line));border-radius:18px;background:var(--surface);color:var(--cyan);box-shadow:0 10px 30px rgba(0,0,0,.07)}.market-blog-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:12px}.market-blog-search .ui-icon{width:19px;height:19px}
.market-blog-filters{display:flex;flex:1;gap:9px;overflow-x:auto;padding:3px;scrollbar-width:none}.market-blog-filters::-webkit-scrollbar{display:none}.market-blog-filters button{flex:none;padding:10px 17px;border:1px solid #0b3973;border-radius:999px;background:#09295a;color:#fff;font-size:11px;font-weight:850;cursor:pointer;transition:.22s}.market-blog-filters button:hover,.market-blog-filters button.active{border-color:#159cbd;background:#159cbd;transform:translateY(-2px)}
.market-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.market-blog-card{min-width:0;border:1px solid var(--line);border-radius:23px;background:var(--surface);box-shadow:0 15px 42px rgba(0,0,0,.08);overflow:hidden;transition:.32s var(--ease)}.market-blog-card[hidden]{display:none}.market-blog-card:hover{transform:translateY(-7px);border-color:color-mix(in srgb,var(--cyan) 52%,var(--line));box-shadow:0 24px 52px rgba(0,0,0,.14)}
.market-blog-card>img{display:block;width:100%;height:210px;padding:15px;object-fit:contain;background:linear-gradient(145deg,#061626,#0b3460)}.market-blog-card>div{padding:19px}.market-blog-card>div>span{display:inline-block;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--cyan) 13%,transparent);color:var(--cyan);font-size:9px;font-weight:950}.market-blog-card time{float:left;color:var(--muted);font-size:9px;line-height:26px}.market-blog-card h3{clear:both;margin:11px 0 7px;font-size:17px;line-height:1.55}.market-blog-card p,.market-blog-card details>div{color:var(--muted);font-size:11px;line-height:1.8}.market-blog-card p{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.market-blog-card details{margin-top:9px}.market-blog-card summary{cursor:pointer;list-style:none;color:var(--text);font-size:11px;font-weight:950}.market-blog-card summary::-webkit-details-marker{display:none}.market-blog-card details>div{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.market-blog-empty{text-align:center;padding:30px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);font-size:13px}
@media(max-width:1023px){.market-blog-tools{align-items:stretch;flex-direction:column}.market-blog-search{width:100%}.market-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.market-blog{padding-block:20px 30px}.market-blog-hero{min-height:210px;padding:28px 16px;border-radius:24px}.market-blog-hero h2{font-size:34px}.market-blog-hero p{font-size:12px;line-height:1.7}.market-blog-hero>a{margin-top:15px;padding:10px 24px}.market-blog-tools{gap:10px;margin:18px 0 14px}.market-blog-search{height:47px;border-radius:14px}.market-blog-filters{margin-inline:-2px}.market-blog-filters button{padding:9px 13px;font-size:10px}.market-blog-grid{gap:9px}.market-blog-card{border-radius:16px}.market-blog-card>img{height:135px;padding:9px}.market-blog-card>div{padding:12px}.market-blog-card h3{font-size:13px;margin:8px 0 5px}.market-blog-card p{font-size:10px}.market-blog-card time{display:none}}
@media(max-width:374px){.market-blog-grid{grid-template-columns:1fr}.market-blog-card>img{height:170px}}
@media(prefers-reduced-motion:reduce){.market-blog-card,.market-blog-hero>a,.market-blog-filters button{transition:none!important;transform:none!important}}
