@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Default: Obsidian & Ember Atelier (Luxury Dark Mode) */
  --bg: #0b0c10;
  --bg-elevated: #12141c;
  --surface: #161923;
  --surface-hover: #1d2130;
  --surface-glass: rgba(22, 25, 35, 0.82);
  --ink: #f5f4f0;
  --ink-secondary: #c5c7d0;
  --muted: #8b8f9e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --brand: #f45b26;
  --brand-light: #ff7a45;
  --brand-dark: #d14415;
  --brand-glow: rgba(244, 91, 38, 0.28);
  --accent: #ffb84d;
  --accent-glow: rgba(255, 184, 77, 0.22);
  --sale: #ef5573;
  --emerald: #10b981;
  --lime: #d4ff5c;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  --shadow-hover: 0 22px 55px rgba(0, 0, 0, 0.6), 0 0 28px rgba(244, 91, 38, 0.14);
  --sp-section: clamp(60px, 7vw, 104px);
  --container: 1260px;
}

[data-theme="light"] {
  --bg: #f7f6f2;
  --bg-elevated: #efede6;
  --surface: #ffffff;
  --surface-hover: #fcfbf9;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --ink: #15171e;
  --ink-secondary: #383b47;
  --muted: #6c707d;
  --line: #e5e2da;
  --line-strong: #d1cdc2;
  --brand: #f45b26;
  --brand-light: #ff6e3a;
  --brand-dark: #ce4519;
  --brand-glow: rgba(244, 91, 38, 0.18);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.16);
  --shadow: 0 12px 32px rgba(23, 25, 31, 0.06);
  --shadow-hover: 0 20px 48px rgba(23, 25, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, var(--brand-glow), transparent 28%),
    radial-gradient(circle at 86% 72%, var(--accent-glow), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.07), transparent 45%);
  animation: bgFloat 20s ease-in-out infinite alternate;
}

.scene-3d {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
  opacity: 0.45;
}
.scene-3d i, .scene-3d span {
  position: absolute;
  display: block;
  border: 1px solid rgba(244, 91, 38, 0.18);
  box-shadow: 0 0 40px rgba(244, 91, 38, 0.08);
  transform-style: preserve-3d;
  animation: float3d 18s ease-in-out infinite;
}
.scene-3d i:nth-child(1) {
  width: 220px; height: 220px; right: 7%; top: 18%;
  border-radius: 36%; transform: rotateX(58deg) rotateZ(25deg);
}
.scene-3d i:nth-child(2) {
  width: 140px; height: 140px; left: 8%; top: 60%;
  border-radius: 50%; border-color: rgba(255, 184, 77, 0.22); animation-delay: -5s;
}
.scene-3d i:nth-child(3) {
  width: 280px; height: 100px; left: 36%; top: 82%;
  border-radius: 50%; transform: rotateX(65deg) rotateZ(-18deg); animation-delay: -9s;
}
.scene-3d span {
  width: 10px; height: 10px; border: 0; background: var(--brand);
  border-radius: 50%; right: 26%; top: 46%;
  box-shadow: 0 0 32px var(--brand); animation-delay: -3s;
}

@keyframes bgFloat {
  from { transform: translate3d(-1%, 0, 0) scale(1); }
  to { transform: translate3d(1%, 1%, 0) scale(1.04); }
}
@keyframes float3d {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -18px; rotate: 5deg; }
}

img { max-width: 100%; }

.section-wrap {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #11131a 0%, #1c1619 50%, #11131a 100%);
  color: #f5f4f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  display: inline-block;
  margin-left: 6px;
}
.topbar-badge {
  background: rgba(244, 91, 38, 0.2);
  border: 1px solid rgba(244, 91, 38, 0.45);
  color: #ff9d76;
  font: 700 10px 'Space Grotesk', sans-serif;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: auto minmax(220px, 440px) 1fr;
  grid-template-areas:
    "brand search actions"
    "nav nav nav";
  align-items: center;
  column-gap: 24px;
  row-gap: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px max(24px, calc((100% - var(--container)) / 2)) 0;
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header .brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(244, 91, 38, 0.22));
  transition: transform 0.25s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-2deg);
}
.brand-title-wrap {
  display: flex;
  flex-direction: column;
}
.brand-title-wrap strong {
  font: 800 16px/1.1 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-title-wrap small {
  font: 700 9px/1.3 'Cairo', sans-serif;
  color: var(--brand);
  letter-spacing: 0.03em;
}

.site-header .search-box {
  grid-area: search;
  height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  direction: rtl;
  transition: all 0.25s ease;
}
.site-header .search-box:focus-within {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: 600 12.5px 'Cairo', sans-serif;
  color: var(--ink);
}
.search-box input::placeholder {
  color: var(--muted);
}
.search-submit {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  transition: color 0.2s;
}
.search-submit:hover {
  color: var(--brand);
}

.site-header .header-actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-pill, .cart-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--ink);
  height: 42px;
  padding: 0 14px;
  cursor: pointer;
  font: 700 12px 'Cairo', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.22s ease;
}
.action-pill:hover, .cart-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.action-pill.icon-only {
  width: 42px;
  padding: 0;
  justify-content: center;
  font-size: 16px;
}
.cart-btn {
  background: linear-gradient(135deg, rgba(244, 91, 38, 0.14), rgba(255, 184, 77, 0.08));
  border-color: rgba(244, 91, 38, 0.35);
}
.cart-btn b, .fav-count-badge {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 700 11px 'Space Grotesk', sans-serif;
}
.fav-count-badge {
  background: var(--sale);
}
.admin-link {
  font: 700 11px 'Cairo', sans-serif;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  transition: all 0.2s;
}
.admin-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.site-header .desktop-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  margin-top: 10px;
  padding: 0;
  border-top: 1px solid var(--line);
  scrollbar-width: none;
}
.site-header .desktop-nav::-webkit-scrollbar { display: none; }
.site-header .desktop-nav a {
  flex: none;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.site-header .desktop-nav a:hover,
.site-header .desktop-nav a[aria-current="page"],
.site-header .desktop-nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.site-header .desktop-nav a.nav-special {
  color: var(--accent);
}
.site-header .desktop-nav a.nav-special:hover {
  color: var(--brand-light);
}

/* Hero Section */
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5vw, 68px) 0 var(--sp-section);
  direction: ltr;
}
.hero-copy {
  direction: rtl;
}
.eyebrow {
  font: 700 11px 'Space Grotesk', 'Cairo', sans-serif;
  letter-spacing: 0.14em;
  color: var(--brand);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(244, 91, 38, 0.1);
  border: 1px solid rgba(244, 91, 38, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--brand);
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand);
}
.hero h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.48;
  letter-spacing: 0;
  word-spacing: 0.15em;
  margin: 20px 0 16px;
  color: var(--ink);
  font-weight: 900;
}
.hero h1 em, .section-head h2 em, .feature-copy h2 em, .journal-head h2 em, .video-head h2 em, .info-hero h1 em, .checkout-intro h1 em, .track-intro h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text {
  max-width: 510px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 28px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  text-decoration: none;
  font: 800 13.5px 'Cairo', sans-serif;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px var(--brand-glow);
}
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(244, 91, 38, 0.42);
  filter: brightness(1.06);
}
.button-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}
.button-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.text-link {
  color: var(--ink);
  font-size: 13.5px;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: all 0.2s;
}
.text-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-meta > span {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 11.5px;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta b {
  font: 700 18px 'Space Grotesk', sans-serif;
  color: var(--brand);
}

.hero-visual {
  height: 460px;
  position: relative;
  direction: rtl;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #121324;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hover);
}
.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,16,0.1) 0%, rgba(11,12,16,0.72) 100%);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual:hover .hero-frame img {
  transform: scale(1.05);
}
.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: var(--brand);
  filter: blur(95px);
  opacity: 0.32;
  right: 18%;
  top: 15%;
  z-index: 1;
  pointer-events: none;
}
.vertical-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  font: 700 10px 'Space Grotesk', sans-serif;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(11, 12, 16, 0.65);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-sticker {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
  color: #111318;
  display: grid;
  place-items: center;
  text-align: center;
  font: 800 11px/1.1 'Space Grotesk', sans-serif;
  transform: rotate(-10deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.hero-sticker b { font-size: 16px; }

/* Luxury Marquee */
.marquee {
  display: block;
  overflow: hidden;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: var(--sp-section);
}
.marquee > div {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-secondary);
  letter-spacing: 0.02em;
}
.marquee span {
  color: var(--brand);
}

/* Video Showcase */
.store-video {
  padding: 0 0 var(--sp-section);
}
.video-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  gap: 20px;
  flex-wrap: wrap;
}
.video-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.44;
  letter-spacing: 0;
  word-spacing: 0.14em;
  margin: 14px 0 8px;
  font-weight: 900;
}
.video-head p:not(.eyebrow) {
  color: var(--ink-secondary);
  font-size: 14px;
  margin: 0;
}
.video-note {
  font: 700 11px 'Space Grotesk', sans-serif;
  color: var(--accent);
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.video-shell {
  min-height: 0;
  border-radius: var(--radius-lg);
  background: #0d0f17;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Preserve the source media ratio. Do not crop portrait phone videos into a wide banner. */
.video-shell video, .showcase-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72svh;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #0d0f17;
}
.video-shell .showcase-media {
  max-width: 100%;
}
.video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, #11131c, #251b3d);
  pointer-events: none;
  opacity: 0;
}

/* Section Headers & Filters */
.collection {
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.section-head h2, .feature-copy h2, .journal-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.44;
  letter-spacing: 0;
  word-spacing: 0.14em;
  margin: 14px 0 0;
  font-weight: 900;
}
.section-intro p {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 18px;
}
.catalog-toolbar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.filters, .category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button, .category-tabs a {
  font: 700 12px 'Cairo', sans-serif;
  color: var(--ink-secondary);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filters button:hover, .filters button.active,
.category-tabs a:hover, .category-tabs a.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 18px var(--brand-glow);
}
.filters .filter-resin, .filters .filter-limited,
.category-tabs .category-resin, .category-tabs .category-limited {
  border-color: rgba(244, 91, 38, 0.45);
  color: var(--accent);
}
.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-box label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.sort-select {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 7px 12px;
  font: 700 12px 'Cairo', sans-serif;
  outline: none;
  cursor: pointer;
}
.sort-select:focus {
  border-color: var(--brand);
}

/* Luxury Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  direction: rtl;
}
.catalog-page .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(244, 91, 38, 0.4);
}
.product-image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #232738 0%, #141722 100%);
  cursor: pointer;
}
[data-theme="light"] .product-image {
  background: radial-gradient(circle at 50% 50%, #f4f1ea 0%, #e9e5dc 100%);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 14px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image img {
  transform: scale(1.07);
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sale) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 5px 11px;
  font: 700 10px 'Space Grotesk', 'Cairo', sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.product-fav {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  border: 1px solid var(--line-strong);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  display: grid;
  place-items: center;
  transition: all 0.22s ease;
}
.product-fav:hover, .product-fav.is-fav {
  background: var(--sale);
  border-color: var(--sale);
  color: #fff;
  transform: scale(1.1);
}
.quick-view-btn {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  z-index: 3;
  background: rgba(15, 17, 24, 0.86);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 16px;
  font: 700 11.5px 'Cairo', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translate(-50%, 0);
}
.quick-view-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.product-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.product-cat {
  color: var(--brand-light);
  font: 700 10.5px 'Space Grotesk', 'Cairo', sans-serif;
  letter-spacing: 0.08em;
}
.product-stock-pill {
  font-size: 10.5px;
  color: var(--emerald);
  font-weight: 700;
}
.product-title {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 6px;
  line-height: 1.45;
  color: var(--ink);
}
.product-desc-short {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-price {
  font: 700 18px 'Space Grotesk', 'Cairo', sans-serif;
  color: var(--ink);
  direction: ltr;
}
.add-btn {
  border: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 10px;
  color: #fff;
  font: 800 12px 'Cairo', sans-serif;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 16px var(--brand-glow);
}
.add-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* Luxury Empty Concierge Card */
.concierge-empty {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 680px;
  margin: 16px auto;
}
.concierge-empty h3 {
  font-size: 24px;
  margin: 12px 0 8px;
}
.concierge-empty p {
  color: var(--ink-secondary);
  font-size: 14px;
  margin: 0 auto 24px;
  max-width: 480px;
}

/* Story / Feature Section */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: center;
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--line);
  direction: ltr;
}
.feature-image {
  height: 420px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 35% 40%, #6d4aff 0%, #2c2255 38%, #12141f 78%);
  position: relative;
  overflow: hidden;
  direction: rtl;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hover);
}
.feature-card {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  right: 28px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  padding: 22px 24px;
  width: 230px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.feature-card span {
  font: 700 12px 'Space Grotesk', sans-serif;
  color: var(--brand);
}
.feature-card h3 {
  font-size: 24px;
  line-height: 1.15;
  margin: 10px 0 8px;
  color: var(--ink);
}
.feature-card p {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 0;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(212, 255, 92, 0.35);
  border-radius: 50%;
  width: 420px;
  height: 120px;
  left: 7%;
  top: 38%;
  transform: rotate(-28deg);
}
.orbit-two {
  width: 370px;
  height: 90px;
  left: 14%;
  top: 46%;
  border-color: rgba(244, 91, 38, 0.45);
  transform: rotate(28deg);
}
.feature-copy {
  direction: rtl;
}
.feature-copy > p:not(.eyebrow) {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.95;
  max-width: 480px;
  margin: 22px 0;
}
.signature {
  margin-top: 36px;
  color: var(--muted);
  font: 700 12px 'Space Grotesk', sans-serif;
  letter-spacing: 0.16em;
  direction: ltr;
}
.signature span { color: var(--brand); padding: 0 8px; }

/* Journal / Editorial Grid */
.journal {
  border-top: 1px solid var(--line);
  padding: var(--sp-section) 0;
}
.journal-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-lead {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin: 14px 0 22px;
}
.journal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  direction: rtl;
}
.journal-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.journal-list article:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}
.journal-list span {
  font: 700 11px 'Space Grotesk', 'Cairo', sans-serif;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.journal-list h3 {
  font-size: 19px;
  line-height: 1.45;
  margin: 14px 0 10px;
  color: var(--ink);
}
.journal-list article p {
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0 0 18px;
  flex: 1;
}
.journal-list a {
  color: var(--brand-light);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
}

/* Catalog Page */
.catalog-page {
  padding: 36px 0 90px;
}
.breadcrumbs, .product-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 28px;
}
.breadcrumbs a, .product-breadcrumb a {
  color: var(--brand-light);
  text-decoration: none;
  font-weight: 700;
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  flex-wrap: wrap;
}
.catalog-heading h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 14px 0 10px;
  line-height: 1.44;
  letter-spacing: 0;
  word-spacing: 0.14em;
  font-weight: 900;
}
.catalog-heading p:not(.eyebrow) {
  color: var(--ink-secondary);
  font-size: 14.5px;
  margin: 0;
  max-width: 520px;
}
.catalog-count {
  font: 700 44px 'Space Grotesk', sans-serif;
  color: var(--brand);
  direction: ltr;
}
.catalog-count small {
  font: 700 13px 'Cairo', sans-serif;
  color: var(--muted);
  direction: rtl;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.catalog-tools > span {
  font-size: 12px;
  color: var(--muted);
}

/* Product Detail Page */
.product-detail {
  padding: 28px 0 70px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: start;
  direction: ltr;
}
.detail-gallery, .detail-info {
  direction: rtl;
}
.detail-main-image {
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 20px;
  transition: transform 0.4s ease;
}
.detail-main-image:hover img {
  transform: scale(1.04);
}
.detail-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sale) 100%);
  color: #fff;
  border-radius: 9px;
  padding: 7px 14px;
  font: 700 11px 'Space Grotesk', 'Cairo', sans-serif;
}
.detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.thumb {
  padding: 4px;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  width: 86px;
  height: 86px;
  cursor: pointer;
  transition: all 0.2s;
}
.thumb.active, .thumb:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}
.detail-info h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.44;
  letter-spacing: 0;
  word-spacing: 0.14em;
  margin: 10px 0 14px;
  font-weight: 900;
}
.detail-rating {
  font-size: 14px;
  color: var(--accent);
  margin: 12px 0;
}
.detail-rating span {
  color: var(--muted);
  font-size: 12px;
  margin-right: 8px;
}
.detail-price {
  font: 700 32px 'Space Grotesk', 'Cairo', sans-serif;
  color: var(--brand-light);
  direction: ltr;
  text-align: right;
  margin: 20px 0;
}
.detail-desc {
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.95;
  max-width: 520px;
}
.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 18px 0 24px;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}
.detail-buy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-buy .button {
  flex: 1;
  min-height: 54px;
}
.quantity {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  height: 54px;
}
.quantity button {
  border: 0;
  background: transparent;
  font-size: 20px;
  width: 44px;
  height: 100%;
  cursor: pointer;
  color: var(--ink);
}
.quantity button:hover { color: var(--brand); }
.quantity b {
  font: 700 15px 'Space Grotesk', sans-serif;
  min-width: 28px;
  text-align: center;
}
.detail-note {
  color: var(--muted);
  font-size: 12px;
  margin: 16px 0 28px;
}
.specs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.specs h3 {
  font-size: 15px;
  margin: 0 0 12px;
  color: var(--ink);
}
.specs > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 13px;
}
.specs > div:last-child { border-bottom: 0; }
.specs span { color: var(--muted); }

.detail-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0;
  margin-bottom: 65px;
}
.detail-trust > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 16px;
}
.detail-trust b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(244, 91, 38, 0.14);
  color: var(--brand);
  font-size: 20px;
  flex: none;
}
.detail-trust span { font-size: 13.5px; font-weight: 800; }
.detail-trust small { color: var(--muted); font-size: 11.5px; font-weight: 500; }

/* Cart & Wishlist Drawers */
.cart-drawer {
  position: fixed;
  z-index: 60;
  top: 0;
  right: -450px;
  width: min(440px, 100%);
  height: 100vh;
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 26px;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.55);
}
.cart-drawer.open { right: 0; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.drawer-head h2 { margin: 0; font-size: 22px; font-weight: 900; }
.drawer-head button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 16px 0;
}
.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}
.cart-row img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain !important;
  background: var(--bg-elevated);
  padding: 4px;
}
.cart-row-info { flex: 1; min-width: 0; }
.cart-row h4 {
  font-size: 13.5px;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-row p {
  font: 700 12.5px 'Space Grotesk', 'Cairo', sans-serif;
  color: var(--brand-light);
  margin: 0;
}
.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 6px;
  margin-top: 6px;
}
.cart-qty-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  padding: 0 4px;
}
.cart-qty-btn:hover { color: var(--brand); }
.cart-remove {
  margin-right: auto;
  background: transparent;
  color: var(--muted);
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.cart-remove:hover { color: var(--sale); }
.empty-cart {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-top: 48px;
  line-height: 1.8;
}
.cart-total {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total b {
  font: 700 20px 'Space Grotesk', 'Cairo', sans-serif;
  color: var(--brand-light);
  direction: ltr;
}
.full { width: 100%; }
.drawer-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 9, 14, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Quick View & Lightbox Modals */
.luxury-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 9, 14, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.luxury-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.luxury-modal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  width: min(880px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-hover);
  direction: rtl;
}
.luxury-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
}
.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.quickview-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.quickview-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 16px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: linear-gradient(135deg, #1b1f2e 0%, #12141d 100%);
  color: #fff;
  border: 1px solid var(--brand);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: all 0.25s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Checkout & Track & Info Pages */
.checkout-page, .track-page, .info-page {
  padding: 48px 0 90px;
}
.checkout-intro, .track-intro, .info-hero {
  max-width: 680px;
  margin-bottom: 36px;
}
.checkout-intro h1, .track-intro h1, .info-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.08;
  margin: 16px 0;
  font-weight: 900;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 26px;
  align-items: start;
  direction: ltr;
}
.checkout-card, .booking-summary, .track-card, .contact-form, .info-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  direction: rtl;
  box-shadow: var(--shadow);
}
.cod-banner {
  background: linear-gradient(135deg, rgba(244, 91, 38, 0.14), rgba(255, 184, 77, 0.08));
  border: 1px solid rgba(244, 91, 38, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.cod-banner b { display: block; color: var(--brand-light); font-size: 15px; }
.cod-banner span { display: block; color: var(--ink-secondary); font-size: 12.5px; margin-top: 4px; }
.form-section-title { font-weight: 800; font-size: 17px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#bookingForm label, .track-card label, .contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink-secondary);
}
#bookingForm input, #bookingForm select, #bookingForm textarea,
.track-card input, .contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 14px;
  font: 600 13px 'Cairo', sans-serif;
  outline: 0;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
#bookingForm input:focus, #bookingForm select:focus, #bookingForm textarea:focus,
.track-card input:focus, .contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.privacy-note {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 6px 0 18px;
}
.booking-summary { position: sticky; top: 110px; }
.booking-summary h2 { font-size: 20px; margin: 0 0 18px; }
.booking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.booking-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain !important;
  background: var(--bg-elevated);
  padding: 4px;
}
.booking-item div { flex: 1; }
.booking-item b { display: block; font-size: 13px; }
.booking-item small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.booking-item strong { font: 700 13px 'Space Grotesk', 'Cairo', sans-serif; direction: ltr; color: var(--brand-light); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 14px;
  font-size: 14px;
}
.summary-total b {
  font: 700 20px 'Space Grotesk', 'Cairo', sans-serif;
  color: var(--brand-light);
  direction: ltr;
}
.booking-success {
  background: var(--surface);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-hover);
}
.booking-success[hidden] { display: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald);
  font-size: 32px;
  margin: 0 auto 20px;
}

/* Track Page */
.track-card { max-width: 880px; }
.track-card form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.track-error {
  background: rgba(239, 85, 115, 0.14);
  color: #ff8da3;
  border: 1px solid rgba(239, 85, 115, 0.35);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12.5px;
  margin-top: 16px;
}
.track-result {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 26px;
}
.track-result[hidden], .track-error[hidden] { display: none; }
.track-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.track-result-head h2 {
  font: 700 26px 'Space Grotesk', sans-serif;
  margin: 8px 0;
  direction: ltr;
  color: var(--brand-light);
}
.track-status {
  background: rgba(244, 91, 38, 0.16);
  color: var(--brand-light);
  border: 1px solid rgba(244, 91, 38, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
}
.status-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 32px 0 24px;
  position: relative;
}
.status-line::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.status-step {
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 11.5px;
}
.status-step i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  font: 700 12px 'Space Grotesk', sans-serif;
  font-style: normal;
  margin: 0 auto 8px;
}
.status-step.done, .status-step.current { color: var(--ink); font-weight: 700; }
.status-step.done i {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald);
  color: var(--emerald);
}
.status-step.current i {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 6px var(--brand-glow);
}
.track-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.track-meta b { color: var(--ink); margin-right: 6px; }

/* Gallery Grid */
.gallery-status { margin: 20px 0; color: var(--ink-secondary); font-size: 14px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: zoom-in;
}
.gallery-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}
.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 10px;
}
.gallery-tile a {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 7px 13px;
  text-decoration: none;
  font: 700 11.5px 'Cairo', sans-serif;
  box-shadow: var(--shadow);
}

/* Info & Contact Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.info-grid article > b {
  font: 700 16px 'Space Grotesk', sans-serif;
  color: var(--brand);
}
.info-grid h2 { font-size: 22px; margin: 18px 0 10px; }
.info-grid p { color: var(--ink-secondary); font-size: 13.5px; line-height: 1.9; margin: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
}
.contact-item span { font-size: 12px; color: var(--muted); }
.contact-item b { font: 700 18px 'Space Grotesk', 'Cairo', sans-serif; margin-top: 6px; color: var(--ink); }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.site-footer p { margin: 0; color: var(--ink-secondary); font-size: 13.5px; }
.site-footer div { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer div a {
  color: var(--ink-secondary);
  font: 700 12.5px 'Cairo', 'Space Grotesk', sans-serif;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer div a:hover { color: var(--brand); }
.site-footer > small { color: var(--muted); font: 600 11.5px 'Space Grotesk', 'Cairo', sans-serif; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .product-grid, .catalog-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journal-list, .info-grid {
    grid-template-columns: 1fr;
  }
  .section-head, .hero, .feature, .detail-layout, .checkout-layout, .contact-grid, .quickview-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { height: 360px; order: -1; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand actions actions"
      "search search search"
      "nav nav nav";
    row-gap: 10px;
    padding: 10px 16px 0;
  }
  .brand-title-wrap small { display: none; }
  .admin-link { display: none; }
  .hero-meta { grid-template-columns: 1fr; }
  .product-grid, .catalog-page .product-grid, .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-body { padding: 12px; }
  .product-title { font-size: 14.5px; }
  .product-bottom { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .detail-trust, .form-row, .track-card form {
    grid-template-columns: 1fr;
  }
  .section-wrap { width: calc(100% - 28px); }
}

/* Hero Moving Slider Styles */
h1, h2, h3 { letter-spacing: 0 !important; word-spacing: 0.14em; }
.hero h1 { line-height: 1.48 !important; word-spacing: 0.16em; }
.hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.hero-slide-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.hero-slide-caption {
  position: absolute;
  bottom: 54px;
  right: 22px;
  left: 22px;
  z-index: 4;
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 14px 18px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hero-slider-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 12, 16, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-slider-dot.active {
  width: 28px;
  background: var(--brand);
}
.hero-slider-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 12, 16, 0.65);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-slider-arrow.next { right: 64px; }
.hero-slider-arrow:hover { background: var(--brand); border-color: var(--brand); }


/* Inventory states and empty dynamic hero slider */
.product-stock-pill.is-out-of-stock { color: #e66a6a; }
.add-btn:disabled { opacity: .55; cursor: not-allowed; }
.hero-slider-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; text-align: center; color: var(--ink-secondary, #d8d8e0); font-weight: 700; line-height: 1.8; z-index: 3; }
.hero-slider-empty[hidden] { display: none; }

/* Admin-managed hero video */
.hero-admin-video { position:absolute; inset:0; z-index:2; overflow:hidden; border-radius:inherit; background:#0d0f17; }
.hero-admin-video video { display:block; width:100%; height:100%; min-height:360px; object-fit:cover; background:#0d0f17; }
.hero-video-label { position:absolute; inset:auto 18px 18px auto; padding:8px 12px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:rgba(8,9,14,.62); color:#fff; font-size:12px; backdrop-filter:blur(8px); }
@media (max-width:700px) { .hero-admin-video video { min-height:320px; } }


/* Mobile: keep portrait clips fully visible and avoid forced 16:7 cropping. */
@media (max-width: 700px) {
  .video-shell { border-radius: 16px; }
  .video-shell video, .video-shell .showcase-media { max-height: 68svh; width: 100%; height: auto; object-fit: contain; }
  .video-head { margin-bottom: 16px; }
}
