:root {
  --bg: #12122b;
  --bg-card: #1a1a36;
  --bg-elev: #222245;
  --pink: #00dfff;
  --pink-hot: #33e8ff;
  --green: #00e676;
  --ink: #ffffff;
  --muted: #b8b8d0;
  --line: rgba(255, 255, 255, 0.08);
  --pad: clamp(0.9rem, 3vw, 2rem);
  --font: "Cairo", sans-serif;
  --brand: "Russo One", "Cairo", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-anchor: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.top-bar {
  overflow: hidden;
  max-height: 48px;
  background: #0a0c18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: max-height 0.28s var(--ease), opacity 0.28s var(--ease), border-color 0.28s var(--ease);
  opacity: 1;
  z-index: 35;
  /* Avoid scroll-anchoring fighting the collapse animation */
  overflow-anchor: none;
}

.top-bar.is-hidden {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.45rem clamp(1rem, 3vw, 1.75rem);
}

.top-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  direction: ltr;
}

.top-mail:hover {
  color: var(--pink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 30px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.top-pill:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(0, 223, 255, 0.06);
}

.top-pill-login {
  padding-inline: 0.85rem;
}

.top-pill-login span {
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.currency-wrap {
  position: relative;
}

.currency-menu {
  position: fixed;
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.45rem;
  width: min(320px, calc(100vw - 1rem));
  height: min(420px, 70vh);
  padding: 0.55rem;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12122b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.currency-menu[hidden] {
  display: none;
}

.currency-menu input {
  min-height: 38px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e0e22;
  color: #fff;
  font: inherit;
}

.currency-menu input:focus {
  outline: 2px solid rgba(0, 223, 255, 0.4);
  border-color: var(--pink);
}

.currency-list {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  align-content: start;
  gap: 0.2rem;
  background: #12122b;
}

.currency-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 38px;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: #12122b;
  text-align: start;
  font-weight: 700;
}

.currency-option:hover,
.currency-option.is-active {
  background: rgba(0, 223, 255, 0.12);
  color: var(--pink);
}

.currency-option span:first-child {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.currency-option span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.currency-option.is-active span:last-child,
.currency-option:hover span:last-child {
  color: inherit;
}

.currency-empty {
  margin: 0.6rem 0.3rem;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.62);
}

.auth-modal[hidden] {
  display: none;
}

.auth-card {
  width: min(100%, 420px);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 1.15rem 1.15rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #16162f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.auth-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.auth-card label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-card input {
  min-height: 42px;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e0e22;
  color: #fff;
  font: inherit;
}

.auth-card input:focus {
  outline: 2px solid rgba(0, 223, 255, 0.4);
  border-color: var(--pink);
}

.auth-error {
  margin: 0 0 0.7rem;
  color: #ff8a80;
  font-size: 0.85rem;
  font-weight: 700;
}

.auth-switch {
  width: 100%;
  margin-top: 0.7rem;
  color: var(--pink);
  font-weight: 800;
}

.auth-card form[hidden],
.auth-account[hidden] {
  display: none;
}

.auth-account {
  display: grid;
  gap: 0.35rem;
}

.auth-account strong {
  font-size: 1.15rem;
}

.auth-account p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.auth-account .btn-pink {
  margin-top: 0.8rem;
}

.site-header {
  padding: 0.85rem clamp(1rem, 3vw, 1.75rem) 0.55rem;
  background: var(--bg);
  border-top: 2px dotted rgba(255, 255, 255, 0.35);
  border-bottom: 0;
  position: relative;
  z-index: 30;
}

.header-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  max-width: 1100px;
  margin: 0 auto;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.menu-btn[hidden] {
  display: none;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

.burger {
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  right: 0;
}

.burger::before {
  top: -5px;
}

.burger::after {
  top: 5px;
}

.logo-box {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 0;
  background: transparent;
  flex-shrink: 0;
  overflow: visible;
  padding: 4px;
  box-sizing: border-box;
}

.logo-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.logo {
  font-family: var(--brand);
  font-size: clamp(1.65rem, 3.4vw, 2.05rem);
  color: var(--pink);
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(100%, 560px);
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.25rem 0.15rem 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.35rem;
}

.header-search input::placeholder {
  color: #8a8a8a;
  font-weight: 600;
}

.header-search button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #666;
  border-radius: 999px;
  flex-shrink: 0;
}

.header-search button:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.05);
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  padding: 0.25rem 0.35rem;
  border-radius: 10px;
}

.header-cart:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header-cart-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.header-cart-total {
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #fff;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  border-radius: 8px;
  transition: background 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  border: 1.5px solid #0e1024;
}

.side-menu,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.side-menu.open,
.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.side-panel,
.cart-panel {
  position: absolute;
  inset-block: 0;
  width: min(100%, 340px);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
  transition: transform 0.3s var(--ease);
}

.side-panel {
  inset-inline-start: 0;
  transform: translateX(110%);
  border-inline-end: 1px solid var(--line);
}

.cart-panel {
  inset-inline-end: 0;
  transform: translateX(-110%);
  border-inline-start: 1px solid var(--line);
}

.side-menu.open .side-panel,
.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.side-head,
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.side-head .logo,
.cart-head h2 {
  margin: 0;
}

.side-panel nav,
.side-nav {
  display: grid;
  gap: 0;
}

.side-panel nav > a,
.side-nav > a,
.nav-group-btn {
  width: 100%;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-align: right;
}

.nav-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fff;
}

.nav-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  margin-left: 0.25rem;
}

.nav-group.open .nav-chevron {
  transform: rotate(-135deg);
}

.nav-submenu {
  display: grid;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid var(--line);
}

.nav-submenu[hidden] {
  display: none;
}

.nav-submenu a {
  padding: 0.75rem 1rem 0.75rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-submenu a:last-child {
  border-bottom: 0;
}

.nav-submenu a:hover {
  color: #fff;
  background: rgba(0, 223, 255, 0.08);
}

.cats-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0.65rem var(--pad) 0;
  gap: 0.45rem;
}

.cats-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 2.2vw, 1.6rem);
  width: min(100%, 1480px);
}

.cats-nav a {
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cats-nav a:hover {
  color: var(--pink);
}

.banner-accent {
  width: min(100%, 1480px);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #007a99 0%,
    var(--pink) 45%,
    #7af0ff 100%
  );
  box-shadow: 0 0 12px rgba(0, 223, 255, 0.35);
}

.banner-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 3.75rem var(--pad) 0;
  margin: 0;
  background: transparent;
}

.banner-frame {
  position: relative;
  display: block;
  margin: 0 auto;
  width: min(100%, 1480px);
  aspect-ratio: 1170 / 452;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.banner-frame.has-image {
  border: 0;
  background: transparent;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
}

.banner-placeholder strong {
  color: var(--pink);
  font-size: 1.2rem;
  font-weight: 800;
}

.banner-placeholder span {
  font-size: 0.95rem;
}

.banner-placeholder code {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 0.85rem;
  direction: ltr;
}

.banner-frame.has-image .banner-placeholder {
  display: none;
}

.rl-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad) clamp(1.25rem, 3vw, 2.25rem);
  margin: 0;
  background: transparent;
}

.rl-board {
  display: block;
  width: min(100%, 1280px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rl-board:hover {
  box-shadow: 0 0 0 2px var(--pink), 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.rl-art {
  width: 100%;
  height: auto;
  display: block;
}

.rl-subcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: min(100%, 1280px);
}

.rl-subcard {
  display: grid;
  place-items: center;
  min-height: clamp(120px, 18vw, 170px);
  padding: 1.25rem 1rem;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 223, 255, 0.35), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(80, 60, 200, 0.45), transparent 50%),
    linear-gradient(145deg, #1e1e42 0%, #181836 45%, #12122b 100%);
  border: 1px solid rgba(0, 223, 255, 0.18);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.rl-subcard:hover {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px var(--pink), 0 14px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.rl-subcard-title {
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.rl-subcard--img {
  padding: 0;
  min-height: 0;
  background: none;
  border: 0;
  overflow: hidden;
}

.rl-subcard--img img {
  width: 100%;
  height: 100%;
  min-height: clamp(120px, 18vw, 170px);
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .rl-subcards {
    grid-template-columns: 1fr;
  }
}

.hero-banner {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 20% 70%, rgba(0, 230, 118, 0.18), transparent 55%),
    radial-gradient(600px 300px at 75% 30%, rgba(0, 223, 255, 0.2), transparent 50%),
    linear-gradient(135deg, #0d0d22 0%, #1a1235 45%, #0f1a28 100%);
}

.hero-mist {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 18, 43, 0.1) 30%, rgba(18, 18, 43, 0.75) 78%);
}

.hero-pad {
  position: absolute;
  width: min(42vw, 380px);
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-pad-1 {
  right: 8%;
  bottom: 18%;
  transform: rotate(-8deg);
  animation: float-a 6s ease-in-out infinite;
}

.hero-pad-2 {
  right: 28%;
  bottom: 34%;
  width: min(34vw, 300px);
  transform: rotate(10deg);
  animation: float-b 7s ease-in-out infinite;
  opacity: 0.92;
}

.pad-art {
  position: absolute;
  inset: 0;
}

.pad-art-marble {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(180, 180, 200, 0.25), transparent 30%),
    linear-gradient(120deg, #2a2a3a, #8a8a9a 40%, #3a3a4a 70%, #d0d0d8);
}

.pad-art-void {
  background:
    radial-gradient(circle at 50% 40%, #2a2a40, #0a0a14 70%),
    linear-gradient(160deg, #111118, #000);
}

.pad-art-aurora {
  background:
    radial-gradient(circle at 25% 30%, rgba(0, 223, 255, 0.45), transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(0, 230, 118, 0.3), transparent 40%),
    linear-gradient(140deg, #1d1d38, #0f1020);
}

.pad-art-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(160deg, #20203a, #121228);
  background-size: 24px 24px, 24px 24px, auto;
}

.pad-art-tide {
  background:
    repeating-linear-gradient(-20deg, transparent 0 12px, rgba(0, 223, 255, 0.12) 12px 13px),
    radial-gradient(circle at 70% 40%, rgba(0, 200, 255, 0.25), transparent 40%),
    linear-gradient(145deg, #14182a, #1a1230);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3rem) var(--pad);
  max-width: 720px;
}

.brand-tag {
  margin: 0 0 0.35rem;
  font-family: var(--brand);
  font-style: italic;
  color: var(--pink);
  font-size: 1.1rem;
}

.offer-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 4px 0 rgba(0, 223, 255, 0.35);
}

.offer-copy h1 span {
  color: var(--pink);
}

.offer-sub {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.tier-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 520px;
}

.tier {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.75rem 0.65rem;
  text-align: center;
}

.tier.featured {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px rgba(0, 223, 255, 0.35);
}

.tier-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.tier-price {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.tier-price span {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--ink);
}

.tier-old {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: line-through;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.pay-badge {
  display: grid;
  gap: 0.1rem;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 90px;
}

.pay-badge strong {
  font-size: 0.95rem;
  text-transform: lowercase;
}

.pay-badge span {
  font-size: 0.72rem;
  color: var(--muted);
}

.free-ship {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-weight: 800;
  font-size: 1.05rem;
}

.free-ship .arrow {
  font-size: 1.2rem;
}

body.is-catalog .banner-wrap,
body.is-catalog .rl-section,
body.is-catalog .reviews,
body.is-catalog .products-section {
  display: none;
}

.reviews {
  width: 100%;
  padding: 0.5rem var(--pad) 2.5rem;
}

.reviews-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.reviews-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.reviews-nav {
  display: flex;
  gap: 0.35rem;
  direction: ltr;
}

.reviews-nav button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.reviews-nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--pink);
}

.reviews-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 0.85rem;
  transition: transform 0.35s var(--ease);
}

.review-card {
  flex: 0 0 calc((100% - 2.55rem) / 4);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.1rem 1rem 1rem;
  border-radius: 12px;
  background: #16162f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
}

.review-top strong {
  display: block;
  font-size: 0.98rem;
}

.review-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #d7e4f5 0 16%, transparent 17%),
    radial-gradient(circle at 50% 78%, #d7e4f5 0 22%, transparent 23%),
    #3d4d63;
}

.review-avatar--dark {
  background:
    radial-gradient(circle at 50% 42%, #2a2a2a 0 18%, transparent 19%),
    #111;
}

.review-avatar--photo {
  background:
    radial-gradient(circle at 50% 40%, #7aa0c4 0 14%, transparent 15%),
    linear-gradient(180deg, #243044, #121820);
}

.review-card p {
  margin: 0;
  flex: 1;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.review-pin {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-inline-end: 0.35rem;
  border-radius: 2px;
  background: #e23b3b;
  vertical-align: middle;
}

.review-stars {
  margin-top: auto;
  color: #f5b942;
  letter-spacing: 0.18rem;
  font-size: 1.05rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .review-card {
    flex-basis: calc((100% - 0.85rem) / 2);
  }
}

@media (max-width: 640px) {
  .review-card {
    flex-basis: 100%;
  }
}

.catalog {
  padding: 1.25rem var(--pad) 3.5rem;
}

.catalog-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.catalog-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.catalog-heading {
  min-width: 0;
}

.catalog-heading p {
  margin: 0;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalog-heading h1 {
  margin: 0.1rem 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 900;
}

.catalog-back {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0.25rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.catalog-back:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.catalog-grid {
  max-width: none;
}

.catalog-empty {
  margin: 2.5rem auto 0;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.products-section {
  padding: 1rem var(--pad) 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.product-grid.catalog-grid {
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 223, 255, 0.35);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background:
    radial-gradient(circle at 25% 30%, rgba(0, 223, 255, 0.18), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(0, 230, 118, 0.12), transparent 42%),
    #0e0e22;
  overflow: hidden;
}

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

.product-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px dashed rgba(0, 223, 255, 0.35);
  margin: 0;
}

.sale-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
}

.stock-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  color: #9aa3b5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(154, 163, 181, 0.45);
}

.product.is-unavailable {
  opacity: 0.85;
}

.product .btn-pink:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.product-body {
  padding: 0.9rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #ffc107;
  font-weight: 800;
  font-size: 0.9rem;
}

.rating span {
  color: var(--muted);
  font-size: 0.8rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.15rem 0 0.4rem;
}

.price-now {
  color: var(--pink);
  font-size: 1.35rem;
  font-weight: 900;
}

.price-was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
  font-weight: 700;
}

.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-pink:hover {
  background: var(--pink-hot);
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  padding: 0 var(--pad) 5.5rem;
  color: #d7d7ea;
}

.footer-pay {
  width: min(100%, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
  padding: 1.35rem 0 0;
  background: transparent;
}

.pay-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  height: 44px;
  padding: 0 1.45rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #07152e 0%, #0d4c84 46%, #35c4ee 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.12rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.pay-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.45rem;
  direction: ltr;
}

.logo-paypal,
.logo-apple {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.logo-paypal span {
  color: #3ec8f0;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
}

.logo-mada {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: transparent;
}

.mada-lines {
  width: 26px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mada-lines::before,
.mada-lines::after {
  content: "";
  display: block;
  width: 100%;
  height: 9px;
}

.mada-lines::before {
  background: #259bd6;
}

.mada-lines::after {
  background: #84b740;
}

.mada-name {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1;
}

.mada-name b {
  font-size: 0.92rem;
  font-weight: 800;
}

.mada-name small {
  margin-top: 0.08rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.logo-apple {
  color: #fff;
}

.logo-apple span {
  color: #3ec8f0;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo-mc {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
}

.mc-orbs {
  width: 48px;
  height: 30px;
  background:
    radial-gradient(circle at 15px 50%, #0b3d74 0 14px, transparent 14.5px),
    radial-gradient(circle at 32px 50%, #3ec8f0 0 14px, transparent 14.5px);
}

.logo-mc small {
  color: #c5dff0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-visa {
  color: #3ec8f0;
  font-weight: 900;
  font-style: italic;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-cols {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-cols section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.footer-cols h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
}

.footer-cols h3::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 99px;
  background: linear-gradient(180deg, #041428 0%, #0a6ea8 22%, #4ae6ff 50%, #0a6ea8 78%, #041428 100%);
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.9), 0 0 14px rgba(0, 160, 255, 0.55);
}

.footer-cols a,
.footer-cols p {
  margin: 0;
  color: #c9c9de;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-cols section a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.footer-social a {
  color: #fff;
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  background: #22c55e;
  color: #fff !important;
  font-weight: 800;
}

.footer-wa:hover {
  background: #16a34a;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.footer-strip {
  width: min(100%, 1180px);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 4px;
  background: linear-gradient(100deg, #07152e 0%, #0d4c84 46%, #35c4ee 100%);
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  direction: ltr;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 52px;
  padding: 0 0.45rem;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.chip-stc {
  color: #4f008c;
}

.chip-visa {
  color: #1a1f71;
  font-style: italic;
  letter-spacing: 0.04em;
}

.chip-mc {
  gap: 0;
  min-width: 42px;
}

.chip-mc i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.chip-mc i:first-child {
  background: #eb001b;
}

.chip-mc i:last-child {
  background: #f79e1b;
  margin-inline-start: -6px;
}

.footer-copy {
  width: min(100%, 1180px);
  align-self: center;
  margin: -1.55rem 0 0;
  text-align: start;
  color: #9a9ab4;
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-copy {
    text-align: start;
  }
}

.wa-float {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}

.wa-float:hover {
  transform: scale(1.06);
}

.cart-head h2 {
  font-size: 1.35rem;
}

.icon-close {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-items {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.cart-empty {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.mini-pad {
  width: 64px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: #0e0e22;
}

.mini-pad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item h3 {
  margin: 0;
  font-size: 0.92rem;
}

.cart-item p {
  margin: 0.2rem 0 0;
  color: var(--pink);
  font-weight: 800;
  font-size: 0.9rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}

.cart-foot {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}

.cart-total strong {
  color: var(--pink);
}

.toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 60;
  background: var(--bg-elev);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--green);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

@keyframes float-a {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) translateY(-10px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: rotate(10deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(8px);
  }
}

@media (max-width: 1100px) {
  .product-grid.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .product-grid.catalog-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .hero-pad-2 {
    display: none;
  }

  .hero-pad-1 {
    right: auto;
    left: 4%;
    bottom: 12%;
    width: min(55vw, 240px);
    opacity: 0.85;
  }

  .hero-mist {
    background: linear-gradient(180deg, rgba(18, 18, 43, 0.2), rgba(18, 18, 43, 0.88) 70%);
  }

  .tier-offers {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .header-top {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand cart"
      "search search";
  }

  .header-brand {
    grid-area: brand;
  }

  .header-cart {
    grid-area: cart;
    justify-self: end;
  }

  .header-search {
    grid-area: search;
    width: 100%;
  }

  .logo-box {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  .tier-offers {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-inline: 0.75rem;
  }

  .header-cart-total {
    font-size: 0.85rem;
  }

  .top-mail span {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-pill-login span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
