/* ═══════════════════════════════════════════════════════════════════
   ECLIPSE — ALGERIAN UNISEX STREETWEAR
   Design System: Stark White & Crisp Black Lines Aesthetic (Ultra-Modern)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --color-primary: var(--color-text);
  --color-primary-invert: var(--color-bg);
  --color-bg: #FFFFFF;
  --color-surface: #F4F4F5;
  --color-card-bg: var(--color-bg);
  --color-border: #000000;
  --color-border-subtle: #E4E4E7;
  --color-text: #000000;
  --color-text-invert: #FFFFFF;
  --color-text-muted: #52525B;
  --color-text-light: #71717A;
  --color-error: #DC2626;
  --color-success: #16A34A;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --header-height: 76px;
  --sidebar-width: 440px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --border-thin: 1px solid var(--color-border);
  --border-thick: 2px solid var(--color-border);
  --border-heavy: 3px solid var(--color-border);
  --shadow-line: 4px 4px 0px var(--color-border);
  --shadow-line-sm: 2px 2px 0px var(--color-border);
  --shadow-line-lg: 8px 8px 0px var(--color-border);
}

[data-theme='dark'] {
  --color-primary: #FFFFFF;
  --color-primary-invert: #000000;
  --color-bg: #09090B;
  --color-surface: #18181B;
  --color-card-bg: #121212;
  --color-border: #FFFFFF;
  --color-border-subtle: #27272A;
  --color-text: #FFFFFF;
  --color-text-invert: #000000;
  --color-text-muted: #A1A1AA;
  --color-text-light: #888888;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  color: inherit;
  font-family: inherit;
}
html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}
body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
  overflow-x: hidden;
  position: relative;
}

/* TOPOGRAPHIC ANIMATED BACKGROUND LAYER */
.topo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1000" viewBox="0 0 1000 1000"><g fill="none" stroke="%23000000" stroke-width="12" opacity="0.95"><path d="M 50 150 Q 200 30 380 200 T 700 160 T 950 350 C 850 550 650 480 500 650 Q 350 820 120 700 Z"/><path d="M 100 190 Q 220 80 370 230 T 660 200 T 890 370 C 800 520 620 450 480 600 Q 330 750 160 650 Z"/><path d="M 150 230 Q 240 130 360 260 T 620 240 T 830 390 C 750 490 590 420 460 550 Q 310 680 200 600 Z"/><path d="M 200 270 Q 260 180 350 290 T 580 280 T 770 410 C 700 460 560 390 440 500 Q 290 610 240 550 Z"/><path d="M 450 80 Q 650 240 580 420 T 320 780 T 650 920 C 850 840 920 580 760 320 Z"/><path d="M 490 120 Q 660 260 600 420 T 360 740 T 630 870 C 800 800 860 560 720 340 Z"/><path d="M 530 160 Q 670 280 620 420 T 400 700 T 610 820 C 750 760 800 540 680 360 Z"/><path d="M 750 50 C 900 200 820 400 680 550 S 380 880 240 800 S 100 450 300 250 Z"/><path d="M 720 90 C 850 220 780 390 650 520 S 390 820 270 750 S 140 440 320 270 Z"/><path d="M 690 130 C 800 240 740 380 620 490 S 400 760 300 700 S 180 430 340 290 Z"/></g></svg>');
  background-repeat: repeat;
  background-size: 1500px 1500px;
  animation: topoNonStopFlow 60s linear infinite;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

[data-theme='dark'] .topo-bg {
  opacity: 0.15;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1000" viewBox="0 0 1000 1000"><g fill="none" stroke="%23ffffff" stroke-width="12" opacity="0.95"><path d="M 50 150 Q 200 30 380 200 T 700 160 T 950 350 C 850 550 650 480 500 650 Q 350 820 120 700 Z"/><path d="M 100 190 Q 220 80 370 230 T 660 200 T 890 370 C 800 520 620 450 480 600 Q 330 750 160 650 Z"/><path d="M 150 230 Q 240 130 360 260 T 620 240 T 830 390 C 750 490 590 420 460 550 Q 310 680 200 600 Z"/><path d="M 200 270 Q 260 180 350 290 T 580 280 T 770 410 C 700 460 560 390 440 500 Q 290 610 240 550 Z"/><path d="M 450 80 Q 650 240 580 420 T 320 780 T 650 920 C 850 840 920 580 760 320 Z"/><path d="M 490 120 Q 660 260 600 420 T 360 740 T 630 870 C 800 800 860 560 720 340 Z"/><path d="M 530 160 Q 670 280 620 420 T 400 700 T 610 820 C 750 760 800 540 680 360 Z"/><path d="M 750 50 C 900 200 820 400 680 550 S 380 880 240 800 S 100 450 300 250 Z"/><path d="M 720 90 C 850 220 780 390 650 520 S 390 820 270 750 S 140 440 320 270 Z"/><path d="M 690 130 C 800 240 740 380 620 490 S 400 760 300 700 S 180 430 340 290 Z"/></g></svg>');
}

.topo-glow-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 0.15s ease-out;
  /* Light beam pulse removed in favor of dynamic glowing background spotlight */
}

/* HIDE TOPOGRAPHY BACKGROUND ON PRODUCT DETAILS TO KEEP IT CLEAN & CLEAR */
body.product-page .topo-bg,
body.product-page .topo-glow-overlay,
.no-topo .topo-bg,
.no-topo .topo-glow-overlay,
body:has(#pdp-content) .topo-bg,
body:has(#pdp-content) .topo-glow-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@keyframes topoNonStopFlow {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 1500px 1500px;
  }
}

@keyframes lightBeamPulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

/* Ensure sections and cards elevate above background with subtle backdrop blur */
.header, .hero__left, .hero__right, .product-card, .brand-section, .footer, .cart-sidebar, .admin-sidebar, .admin-content, .fit-preview-box, .checkout__summary {
  position: relative;
  z-index: 1;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -1px;
}
.text-stroke {
  -webkit-text-stroke: 1.5px var(--color-text);
  color: transparent;
}
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.text-uppercase { text-transform: uppercase; }

/* LAYOUT */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 90px 0;
  border-bottom: var(--border-thick);
}
.grid { display: grid; }
.flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: var(--border-thick);
  background-color: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-line-sm);
  user-select: none;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-line);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: 0px 0px 0px var(--color-border);
}
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-primary-invert);
  border: var(--border-thick);
}
.btn--primary:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  box-shadow: var(--shadow-line);
}
.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border: var(--border-thick);
}
.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-invert);
}
.btn--white {
  background-color: var(--color-bg);
  color: var(--color-text);
  border: var(--border-thick);
}
.btn--sm {
  padding: 8px 18px;
  font-size: 11px;
}
.btn--lg {
  padding: 18px 40px;
  font-size: 15px;
}
.btn--full {
  width: 100%;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  padding: 0 32px;
  border-bottom: var(--border-thick);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}
.header__logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.header__nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header__nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 8px 0;
  margin: 0 8px;
  position: relative;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}
.header__nav-link:hover {
  transform: none;
  box-shadow: none;
  background-color: transparent;
  color: var(--color-text);
}
.header__nav-link:hover::after {
  width: 100%;
}
.header__nav-link--active {
  background-color: transparent;
  color: var(--color-text);
  box-shadow: none;
}
.header__nav-link--active::after {
  width: 100%;
}
.header__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header__cart-btn {
  position: relative;
  background: var(--color-bg);
  border: var(--border-thick);
  color: var(--color-text);
  cursor: pointer;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-line-sm);
  transition: var(--transition);
  font-weight: 800;
}
.header__cart-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-line);
}
.header__cart-count {
  background-color: var(--color-primary);
  color: var(--color-primary-invert);
  font-size: 11px;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}
.header__menu-btn {
  display: none;
  background: var(--color-bg);
  border: var(--border-thick);
  color: var(--color-text);
  cursor: pointer;
  padding: 8px 12px;
  box-shadow: var(--shadow-line-sm);
  transition: var(--transition);
  align-items: center;
  justify-content: center;
}
.header__menu-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-line);
}

/* MOBILE NAV OVERLAY */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-bg);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 16px;
  border-bottom: var(--border-heavy);
  overflow-y: auto;
}
.mobile-nav--open {
  transform: translateX(0);
}
.mobile-nav__link {
  color: var(--color-text);
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  border: var(--border-thick);
  background: var(--color-bg);
  box-shadow: var(--shadow-line-sm);
  transition: var(--transition);
}
.mobile-nav__link:hover, .mobile-nav__link--active {
  background: var(--color-primary);
  color: var(--color-primary-invert);
  box-shadow: var(--shadow-line);
}

/* CART SIDEBAR & OVERLAY */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-overlay--open {
  opacity: 1;
  visibility: visible;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--sidebar-width);
  max-width: 100%;
  height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: var(--border-heavy);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}
[dir="rtl"] .cart-sidebar {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  border-left: none;
  border-right: var(--border-heavy);
}
.cart-sidebar--open {
  transform: translateX(0) !important;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: var(--border-thick);
}
.cart-header__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}
.cart-header__close {
  background: transparent;
  border: var(--border-thick);
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: var(--transition);
}
.cart-header__close:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: var(--border-subtle);
}
.cart-item__image {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--color-surface);
  border: var(--border-thin);
}
.cart-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item__title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.cart-item__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}
.cart-item__price {
  font-weight: 900;
  font-size: 15px;
  margin-top: 4px;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.cart-item__qty button {
  width: 28px;
  height: 28px;
  border: var(--border-thick);
  background: var(--color-bg);
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__qty button:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.cart-item__remove {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 6px;
  align-self: flex-start;
}
.cart-item__remove:hover {
  color: var(--color-error);
}
.cart-footer {
  padding: 24px 32px;
  border-top: var(--border-heavy);
  background: var(--color-surface);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 600;
}

/* MARQUEE TICKER */
.marquee-banner {
  background: var(--color-text);
  color: var(--color-bg);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-bottom: var(--border-thick);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HERO EDITORIAL */
.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-bottom: var(--border-heavy);
}
.hero__left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border-heavy);
  background: var(--color-bg);
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border: var(--border-thick);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 24px;
  box-shadow: var(--shadow-line-sm);
}
.hero__title {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 900;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 500;
}
.hero__right {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transition: transform 0.8s ease, filter 0.8s ease;
}
.hero__right:hover .hero__img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* DYNAMIC PRODUCT CARDS & GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.product-card {
  position: relative;
  background: var(--color-bg);
  border: var(--border-heavy);
  box-shadow: var(--shadow-line);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-line-lg);
}
.product-card__image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-surface);
  border-bottom: var(--border-thick);
}
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.product-card__image--secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.product-card:hover .product-card__image--secondary {
  opacity: 1;
}
.product-card:hover .product-card__image--primary {
  transform: scale(1.05);
}
.product-card__badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
}

/* HOVER QUICK SIZE PICKER */
.product-card__hover-sizes {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  padding: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.product-card:hover .product-card__hover-sizes {
  transform: translateY(0);
}
.quick-size-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-size-btn:hover {
  background: #FFFFFF;
  color: #000000;
}

.product-card__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card__title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card__price {
  font-size: 16px;
  font-weight: 900;
}

/* SECTION HEADERS */
.section-header {
  margin-bottom: 48px;
}
.section-header__title {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.section-header__subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-top: 8px;
  font-weight: 500;
}

/* HORIZONTAL SCROLL SHOWCASE */
.horizontal-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
}
.horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}
.horizontal-scroll::-webkit-scrollbar-track {
  background: var(--color-surface);
}
.horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
}
.horizontal-scroll .product-card {
  min-width: 280px;
  scroll-snap-align: start;
}

/* INTERACTIVE FIT PREVIEW TOGGLE */
.fit-preview-box {
  background: var(--color-surface);
  border: var(--border-heavy);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-line);
}
.fit-preview-pills {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.fit-pill {
  padding: 10px 20px;
  border: var(--border-thick);
  background: var(--color-bg);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.fit-pill.active {
  background: var(--color-text);
  color: var(--color-bg);
}

/* CHECKOUT SUMMARY & FORM */
.checkout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
}
.checkout__summary {
  background: var(--color-surface);
  border: var(--border-heavy);
  padding: 36px;
  box-shadow: var(--shadow-line-lg);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.delivery-option {
  padding: 16px;
  border: var(--border-thick);
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transition);
  background: var(--color-bg);
}
.delivery-option--active {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: var(--shadow-line-sm);
}
.color-pill {
  padding: 8px 16px;
  border: var(--border-thick);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}
.color-pill:hover {
  background: var(--color-surface);
  border-color: var(--color-text);
}
.color-pill.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
  box-shadow: var(--shadow-line-sm);
}
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: var(--border-thick);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: var(--transition);
}
.form-select {
  width: 100%;
  padding: 12px 40px 12px 18px;
  border: var(--border-thick);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  box-shadow: var(--shadow-line-sm);
}

/* FOOTER */
.footer {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0 40px;
  border-top: 2px solid #27272A;
}
[data-theme='dark'] .footer {
  background-color: #050507;
  color: #FFFFFF;
  border-top: 2px solid #27272A;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  color: #FFFFFF;
}
.footer__heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 900;
  color: #FFFFFF;
}
.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  font-weight: 600;
  transition: var(--transition);
}
.footer__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* NOTIFICATION TOAST */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 800;
  z-index: 5000;
  border: var(--border-heavy);
  box-shadow: var(--shadow-line-lg);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.notification--show {
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__left { padding: 50px 30px; border-right: none; border-bottom: var(--border-heavy); }
  .hero__right { height: 400px; }
  .checkout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .header__nav { display: none !important; }
  .header__menu-btn { display: inline-flex !important; }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   ADMIN DASHBOARD DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════════ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  padding: 24px;
}
.admin-login__card {
  background: var(--color-bg);
  border: var(--border-heavy);
  box-shadow: var(--shadow-line-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
}
.admin-login__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--color-bg);
}
.admin-mobile-header {
  display: none;
}
.admin-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.admin-sidebar-overlay--open {
  opacity: 1;
  visibility: visible;
}
.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--color-bg);
  border-right: var(--border-heavy);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.admin-sidebar__close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 16px;
  color: var(--color-text);
}
[dir="rtl"] .admin-sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: var(--border-heavy);
}
.admin-sidebar__logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  padding: 28px 28px 20px;
  border-bottom: var(--border-thick);
}
.admin-sidebar__nav {
  flex: 1;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.admin-sidebar__link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.admin-sidebar__link:hover {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-line-sm);
}
.admin-sidebar__link--active {
  color: var(--color-bg);
  background: var(--color-text);
  border-color: var(--color-text);
  box-shadow: var(--shadow-line-sm);
}
.admin-sidebar__link--active svg {
  stroke: var(--color-bg);
}
.admin-content {
  flex: 1;
  margin-left: 260px;
  padding: 48px;
  max-width: 1400px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[dir="rtl"] .admin-content {
  margin-left: 0;
  margin-right: 260px;
}

/* Sidebar Slide Toggle / Collapse Styles */
.admin-sidebar-expand-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--color-bg);
  border: var(--border-heavy);
  padding: 10px 18px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-bottom: 24px;
  box-shadow: var(--shadow-line-sm);
  transition: all 0.2s ease;
}
.admin-sidebar-expand-btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.admin-layout--sidebar-collapsed .admin-sidebar {
  transform: translateX(-100%);
}
[dir="rtl"] .admin-layout--sidebar-collapsed .admin-sidebar {
  transform: translateX(100%);
}
.admin-layout--sidebar-collapsed .admin-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}
.admin-layout--sidebar-collapsed .admin-sidebar-expand-btn {
  display: inline-flex !important;
}

@media (max-width: 960px) {
  .admin-layout {
    flex-direction: column;
  }
  .admin-mobile-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--color-bg);
    border-bottom: var(--border-heavy);
    position: sticky;
    top: 0;
    z-index: 99;
  }
  .admin-mobile-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
  }
  .admin-mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    border-right: none;
    border-left: var(--border-heavy);
    transform: translateX(100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  }
  .admin-sidebar--open {
    transform: translateX(0) !important;
  }
  .admin-sidebar__close-btn {
    display: flex !important;
  }
  .admin-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px 16px !important;
    width: 100%;
  }
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--color-bg);
  border: var(--border-heavy);
  box-shadow: var(--shadow-line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}
.stat-card__label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}
.data-table-wrap {
  background: var(--color-bg);
  border: var(--border-heavy);
  box-shadow: var(--shadow-line-lg);
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
[dir="rtl"] .data-table {
  text-align: right;
}
.data-table th {
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--color-surface);
  border-bottom: var(--border-heavy);
  color: var(--color-text);
}
.data-table td {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: var(--border-subtle);
  color: var(--color-text);
}
.data-table tr:hover td {
  background: var(--color-surface);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--color-border);
}
.status-badge--pending { background: #FEF08A; color: #854D0E; border-color: #CA8A04; }
.status-badge--confirmed { background: #BFDBFE; color: #1E40AF; border-color: #2563EB; }
.status-badge--shipped { background: #BBF7D0; color: #166534; border-color: #16A34A; }
.status-badge--delivered { background: #DCFCE7; color: #14532D; border-color: #15803D; }
.status-badge--returned { background: #FCA5A5; color: #991B1B; border-color: #DC2626; }

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}
.modal-overlay--open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--color-bg);
  border: var(--border-heavy);
  box-shadow: var(--shadow-line-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
}
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: var(--border-thick);
  padding-bottom: 16px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}
.modal__close {
  background: transparent;
  border: var(--border-thick);
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: var(--transition);
}
.modal__close:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
