/* ═══════════════════════════════════════════════════════
   NOORI3D — Main Stylesheet
   Brand: Royal Blue (#1565c4) · Vivid Orange (#f57c00)
   ═══════════════════════════════════════════════════════ */

/* Fonts loaded via <link> in header.php for better performance */

/* ── Variables (Dark — default) ── */
:root {
  /* Brand palette — matched to logo */
  --orange:       #f57c00;
  --orange-dark:  #d96800;
  --orange-glow:  rgba(245,124,0,0.22);

  --blue-electric:#3ec8fa;
  --blue-royal:   #1565c4;
  --blue-sky:     #3ec8fa;
  --blue-pastel:  #90d4f5;
  --blue-glow:    rgba(21,101,196,0.28);

  /* Dark theme backgrounds */
  --bg-base:      #060912;
  --bg-dark:      #091020;
  --bg-card:      #0d1526;
  --bg-card2:     #111a2e;
  --bg-input:     #162038;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(245,124,0,0.45);

  /* Text */
  --text-primary: #eef2ff;
  --text-secondary:#8b9cc8;
  --text-muted:   #55638a;

  /* Fonts */
  --font-head:    'Rajdhani', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* Radii, transitions, shadows */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --transition:   0.25s ease;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow-o:0 0 24px rgba(245,124,0,0.35);
  --shadow-glow-b:0 0 24px rgba(21,101,196,0.45);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--blue-sky); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

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

ul { list-style: none; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--blue-royal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.section-title span {
  color: var(--orange);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.see-all {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: var(--transition);
}
.see-all:hover { color: var(--orange-dark); gap: 0.6rem; }

/* ── Container ── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 4rem 0; }

/* ══════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════════════════════════ */
.announcement-bar {
  /* Brand gradient: deep navy → royal blue → vivid orange → royal blue → deep navy */
  background: linear-gradient(90deg,
    #050c20 0%,
    #1565c4 15%,
    #3ec8fa 30%,
    #f57c00 50%,
    #3ec8fa 70%,
    #1565c4 85%,
    #050c20 100%
  );
  background-size: 250% 100%;
  animation: gradientShift 8s ease-in-out infinite;
  padding: 0.52rem 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.announcement-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ══════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,8,16,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(62,200,250,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(6,8,16,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.55), 0 1px 0 rgba(62,200,250,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* Image logo (replaces letter N fallback) */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Fallback letter icon — shown only when logo-img fails to load */
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1565c4, #0d47a1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #f57c00;
  font-weight: 900;
  font-family: var(--font-head);
  border: 1.5px solid rgba(245,124,0,0.35);
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text strong { color: var(--orange); }
.logo-text span   { color: var(--blue-sky); }

/* Search */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.8rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.header-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.header-search input::placeholder { color: var(--text-muted); }

.header-search .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.header-search .search-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--orange);
  border: none;
  border-radius: 50px;
  color: var(--bg-base);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.header-nav a:hover, .header-nav a.active {
  color: var(--orange);
  background: var(--orange-glow);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-glow);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--orange);
  color: var(--bg-base);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-sky));
  color: #fff !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  border: none !important;
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--blue-sky), var(--blue-royal)) !important;
  color: #fff !important;
  box-shadow: var(--shadow-glow-b);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}
.menu-toggle:hover { border-color: var(--orange); color: var(--orange); }

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-slider {
  position: relative;
  height: clamp(400px, 55vw, 620px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,15,0.9) 40%, transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 0;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange-glow);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
  50%       { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title .highlight { color: var(--orange); }
.hero-title .highlight-blue { color: var(--blue-sky); }

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--orange);
}

.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
.slider-prev:hover, .slider-next:hover { background: var(--orange); border-color: var(--orange); }

/* ══════════════════════════════════════════════
   PROMO BANNERS STRIP
   ══════════════════════════════════════════════ */
.promo-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

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

.promo-strip-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.promo-strip-item:last-child { border-right: none; }
.promo-strip-item:hover { background: rgba(239,187,52,0.05); }

.promo-strip-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--orange-glow), var(--blue-glow));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.promo-strip-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.promo-strip-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   PROMOTION BANNERS
   ══════════════════════════════════════════════ */
.promo-banners {
  background: var(--bg-dark);
  padding: 3rem 0;
}

.promo-banners-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.promo-banner-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.promo-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-o);
}

.promo-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-royal), var(--bg-dark));
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: transform 0.5s ease;
}

.promo-banner-card:hover .promo-banner-bg { transform: scale(1.05); }

.promo-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,9,15,0.9) 30%, transparent);
}

.promo-banner-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.promo-banner-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--bg-base);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.promo-banner-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.promo-banner-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #f5c842);
  color: var(--bg-base);
  box-shadow: 0 4px 15px var(--orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: var(--bg-base);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--blue-sky);
  color: var(--blue-sky);
}

.btn-secondary:hover {
  background: var(--blue-sky);
  color: var(--bg-base);
  transform: translateY(-2px);
}

.btn-outline-orange {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--bg-base);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block { width: 100%; justify-content: center; }

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* List view for products grid */
.products-list-view {
  grid-template-columns: 1fr !important;
}

.products-list-view .product-card {
  flex-direction: row;
}

.products-list-view .product-image-wrap {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: 180px;
}

.products-list-view .product-info {
  flex: 1;
}

@media (max-width: 640px) {
  .products-list-view .product-card { flex-direction: column; }
  .products-list-view .product-image-wrap { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ══════════════════════════════════════════════
   CATEGORIES GRID
   ══════════════════════════════════════════════ */
.categories-section { background: var(--bg-dark); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--orange);
  background: var(--bg-card2);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.category-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(239,187,52,0.15), rgba(21,100,176,0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.4rem;
  color: var(--orange);
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--orange);
  color: var(--bg-base);
  box-shadow: var(--shadow-glow-o);
}

.category-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(239,187,52,0.35);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(239,187,52,0.1);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-card2);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.07); }

.product-badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  line-height: 1.4;
}

.badge-promo   { background: var(--orange); color: var(--bg-base); }
.badge-new     { background: var(--blue-sky); color: var(--bg-base); }
.badge-hot     { background: #e23636; color: #fff; }
.badge-sold    { background: #444; color: #999; }

.product-actions-overlay {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.quick-btn {
  width: 34px;
  height: 34px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.quick-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--bg-base); }

.product-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-universe {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-sky);
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  flex: 1;
}

.product-name a { color: inherit; }
.product-name a:hover { color: var(--orange); }

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.price-current {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239,187,52,0.15);
  color: var(--orange);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.btn-cart {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-sky));
  color: #fff;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-cart:hover {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-o);
}

/* ══════════════════════════════════════════════
   UNIVERSES SECTION
   ══════════════════════════════════════════════ */
.universes-section { background: var(--bg-base); }

.universes-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-royal) transparent;
}

.universe-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.universe-pill:hover, .universe-pill.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-glow);
}

.universe-pill img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.universe-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.universe-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.universe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.universe-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-royal), var(--bg-dark));
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.universe-card:hover .universe-card-bg { transform: scale(1.08); }

.universe-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,9,15,0.85) 30%, rgba(8,9,15,0.2) 70%);
}

.universe-card-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.universe-card-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.universe-card-count {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════ */
.how-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-base) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--blue-sky), transparent);
  pointer-events: none;
}

.step-card {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(21,100,176,0.15);
}

.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, var(--orange), #f5c842); }
.step-card:nth-child(4) .step-num { background: linear-gradient(135deg, #2d8a4e, #42a6e5); }

.step-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.step-desc { font-size: 0.85rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */
.testimonials-section { background: var(--bg-dark); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow-o);
}

.stars { color: var(--orange); margin-bottom: 0.8rem; font-size: 0.9rem; }

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue-sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-base);
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-name { font-weight: 600; font-size: 0.9rem; }
.author-tag  { font-size: 0.75rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════ */
.newsletter-section {
  background: linear-gradient(135deg, var(--blue-royal) 0%, #0d1f3a 50%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.newsletter-subtitle {
  color: var(--blue-pastel);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.2rem;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 3.5rem 0;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 1rem 0 1.2rem;
  line-height: 1.7;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--bg-base);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.footer-contact li i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }

.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-icon {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   PRODUCTS PAGE
   ══════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 0.65rem; }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.filter-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.filter-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.filter-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-list li {
  margin-bottom: 0.5rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.filter-check input[type=checkbox] { accent-color: var(--orange); }

.price-range {
  display: flex;
  gap: 0.5rem;
}

.price-range input {
  width: 100%;
  padding: 0.4rem 0.7rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}

.price-range input:focus { border-color: var(--orange); }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.results-count { color: var(--text-secondary); font-size: 0.88rem; }

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.sort-select:focus { border-color: var(--orange); }

.view-toggle { display: flex; gap: 0.3rem; }

.view-btn {
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.view-btn.active, .view-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-glow);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
}

.page-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.page-btn.active, .page-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--bg-base);
}

/* ══════════════════════════════════════════════
   PRODUCT DETAIL
   ══════════════════════════════════════════════ */
.product-detail {
  padding: 2.5rem 0 4rem;
  background: var(--bg-dark);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 80px;
}

.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--orange); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.product-meta span { font-size: 0.82rem; color: var(--text-secondary); }
.product-meta .universe-tag {
  background: rgba(66,166,229,0.15);
  border: 1px solid var(--blue-sky);
  color: var(--blue-sky);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.product-price-block { margin-bottom: 1.5rem; }

.price-big {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}

.price-big-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.price-installments {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

.product-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.attr-item { font-size: 0.82rem; }
.attr-label { color: var(--text-muted); display: block; }
.attr-val { color: var(--text-primary); font-weight: 600; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 1rem;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover { background: var(--orange); color: var(--bg-base); }

.qty-input {
  width: 60px;
  text-align: center;
  background: var(--bg-input);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  height: 40px;
  outline: none;
}

.add-cart-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}

.cart-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  padding: 1rem 1.5rem;
  background: var(--bg-card2);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

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

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card2);
  flex-shrink: 0;
}

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.cart-item-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-price {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
}

.cart-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-remove:hover { background: rgba(226,54,54,0.15); color: #e23636; }

.cart-summary {
  position: sticky;
  top: 80px;
  align-self: start;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.summary-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.summary-row .label { color: var(--text-secondary); }
.summary-row .value { font-weight: 600; }

.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.summary-total .label { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.summary-total .value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--orange); }

.coupon-input {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.coupon-input input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  text-transform: uppercase;
}

.coupon-input input:focus { border-color: var(--orange); }

/* ══════════════════════════════════════════════
   FORMS & AUTH
   ══════════════════════════════════════════════ */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: var(--bg-dark);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0.3rem;
}

.auth-sub { text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

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

.form-error { font-size: 0.8rem; color: #e23636; margin-top: 0.3rem; }

.alert {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.alert-error   { background: rgba(226,54,54,0.1);  border: 1px solid rgba(226,54,54,0.3);  color: #f87171; }
.alert-success { background: rgba(45,138,78,0.1);  border: 1px solid rgba(45,138,78,0.3);  color: #4ade80; }
.alert-info    { background: rgba(66,166,229,0.1); border: 1px solid rgba(66,166,229,0.3); color: var(--blue-sky); }
.alert-warning { background: rgba(239,187,52,0.1); border: 1px solid rgba(239,187,52,0.3); color: var(--orange); }

.divider { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin: 1.2rem 0; position: relative; }
.divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}
.divider span { background: var(--bg-card); padding: 0 0.8rem; position: relative; }

/* ══════════════════════════════════════════════
   CUSTOMER DASHBOARD
   ══════════════════════════════════════════════ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}

.dashboard-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.user-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.user-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue-royal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bg-base);
  margin: 0 auto 0.8rem;
  border: 3px solid var(--orange);
}

.user-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.user-email { font-size: 0.8rem; color: var(--text-muted); }

.sidebar-menu {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.sidebar-menu a:last-child { border-bottom: none; }

.sidebar-menu a:hover, .sidebar-menu a.active {
  color: var(--orange);
  background: var(--orange-glow);
  padding-left: 1.5rem;
}

.sidebar-menu a i { width: 16px; text-align: center; }

.dashboard-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.content-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.content-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
}

.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

.order-table { width: 100%; border-collapse: collapse; }
.order-table th {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card2);
}

.order-table td {
  padding: 0.9rem 0.8rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

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

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  animation: toastIn 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

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

.toast.toast-success { border-left: 4px solid #4ade80; }
.toast.toast-error   { border-left: 4px solid #e23636; }
.toast.toast-info    { border-left: 4px solid var(--blue-sky); }
.toast.toast-cart    { border-left: 4px solid var(--orange); }

.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-success .toast-icon { color: #4ade80; }
.toast-error   .toast-icon { color: #e23636; }
.toast-info    .toast-icon { color: var(--blue-sky); }
.toast-cart    .toast-icon { color: var(--orange); }

.toast-text { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.88rem; }
.toast-sub   { font-size: 0.78rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════════
   MINI CART DRAWER
   ══════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.drawer-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close:hover { background: rgba(226,54,54,0.15); color: #e23636; }

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.drawer-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

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

.drawer-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card2);
}

.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }

.drawer-item-info { flex: 1; }
.drawer-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.drawer-item-price { font-family: var(--font-head); color: var(--orange); font-weight: 700; }

.drawer-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}

.drawer-total .amount { color: var(--orange); }

/* ══════════════════════════════════════════════
   EMPTY STATES
   ══════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-state h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.empty-state p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════ */
.text-orange   { color: var(--orange); }
.text-blue     { color: var(--blue-sky); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.text-right    { text-align: right; }

.d-flex        { display: flex; }
.align-center  { align-items: center; }
.gap-1         { gap: 0.5rem; }
.gap-2         { gap: 1rem; }

.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }

.w-100 { width: 100%; }

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .universe-cards  { grid-template-columns: repeat(3, 1fr); }
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .promo-banners-grid { grid-template-columns: 1fr; }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 900px) {
  .header-nav      { display: none; }
  .header-search   { max-width: 300px; }
  .catalog-layout  { grid-template-columns: 1fr; }
  .filter-sidebar  { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .dashboard-layout    { grid-template-columns: 1fr; }
  .dashboard-sidebar   { position: static; }
  .promo-strip-inner   { grid-template-columns: repeat(2, 1fr); }
  .cart-layout         { grid-template-columns: 1fr; }
  .universe-cards      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .menu-toggle       { display: flex; }
  .header-search     { display: none; }
  .categories-grid   { grid-template-columns: repeat(2, 1fr); }
  .promo-strip-inner { grid-template-columns: 1fr; }
  .universe-cards    { grid-template-columns: repeat(2, 1fr); }
  .footer-top        { grid-template-columns: 1fr; gap: 1.5rem; }
  .cart-drawer       { width: 100%; right: -100%; }
  .products-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps-grid        { grid-template-columns: 1fr; }
  .hero-actions      { flex-direction: column; }
}

/* ── Mobile Nav ── */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  z-index: 3000;
  visibility: hidden;
  /* delay visibility on close so it hides only after slide-out completes */
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.35s;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav.open {
  left: 0;
  visibility: visible;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 0.2rem; }

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  color: var(--orange);
  background: var(--orange-glow);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ── Mobile User Card ── */
.mobile-user-card {
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

/* ── Back to Top ── */
.back-top {
  display: none; /* shown via JS */
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-royal);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: background var(--transition), transform var(--transition);
}

.back-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Skeleton Loading ── */
@keyframes skeletonShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 800px 100%;
  animation: skeletonShimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-img   { width: 100%; aspect-ratio: 1; }
.skeleton-title { height: 14px; margin: 0.75rem 0.75rem 0.4rem; }
.skeleton-sub   { height: 11px; margin: 0 0.75rem 0.4rem; width: 60%; }
.skeleton-price { height: 18px; margin: 0.4rem 0.75rem 0.75rem; width: 40%; }

/* Cart drawer skeleton items */
.skeleton-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.skeleton-drawer-img  { width: 52px; height: 52px; border-radius: var(--radius-sm); flex-shrink: 0; }
.skeleton-drawer-text { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.skeleton-drawer-line { height: 11px; border-radius: 4px; }
.skeleton-drawer-line.short { width: 50%; }

/* ══════════════════════════════════════════════════════════════
   LIGHT THEME — Warm Cream palette (brand-aligned)
   ══════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg-base:        #f9f7f3;
  --bg-dark:        #ede9e1;
  --bg-card:        #ffffff;
  --bg-card2:       #faf8f5;
  --bg-input:       #f2efe9;
  --border:         rgba(30,20,5,0.09);
  --border-hover:   rgba(245,124,0,0.5);
  --text-primary:   #0d0f1e;
  --text-secondary: #3a4268;
  --text-muted:     #7a869e;
  --shadow-card:    0 4px 24px rgba(0,0,0,0.07);
}

/* ─── Body ─────────────────────────────── */
[data-theme="light"] body {
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ─── Announcement bar: keep the brand gradient on both themes ─── */
/* (no override — the gradient uses :root CSS vars which stay the same) */

/* ─── Header ────────────────────────────── */
[data-theme="light"] .site-header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

[data-theme="light"] .logo-text strong { color: var(--orange); }
[data-theme="light"] .logo-text span   { color: #1565c4; }

[data-theme="light"] .header-nav a {
  color: #2c3660;
}
[data-theme="light"] .header-nav a:hover,
[data-theme="light"] .header-nav a.active {
  color: var(--orange);
  background: rgba(245,124,0,0.10);
}

[data-theme="light"] .header-search input {
  background: #f0ede8;
  border-color: rgba(0,0,0,0.13);
  color: var(--text-primary);
}
[data-theme="light"] .header-search input::placeholder { color: #8090b0; }
[data-theme="light"] .header-search input:focus {
  background: #fff;
  border-color: var(--orange);
}

/* Icon buttons — visible border + dark icon */
[data-theme="light"] .icon-btn {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.13);
  color: #2c3660;
}
[data-theme="light"] .icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245,124,0,0.10);
}

/* Theme toggle — moon icon visible on white header */
[data-theme="light"] #theme-toggle {
  color: #2c3660;
}

/* ─── Theme toggle icon direction ──────── */
/* Both hidden by default — theme data attr decides which shows */
#theme-toggle .fa-moon,
#theme-toggle .fa-sun { display: none; }

/* Light mode → show MOON (tap to go dark) */
[data-theme="light"] #theme-toggle .fa-moon { display: inline-block; color: #2c3660; }
[data-theme="light"] #theme-toggle .fa-sun  { display: none; }
/* Dark mode → show SUN (tap to go light) */
[data-theme="dark"]  #theme-toggle .fa-sun  { display: inline-block; color: var(--orange); }
[data-theme="dark"]  #theme-toggle .fa-moon { display: none; }

/* ─── Mobile nav & drawers ──────────────── */
[data-theme="light"] .mobile-nav {
  background: #ffffff;
  box-shadow: 4px 0 30px rgba(0,0,0,0.12);
}

[data-theme="light"] .cart-drawer {
  background: #ffffff;
  box-shadow: -4px 0 30px rgba(0,0,0,0.12);
}

/* ─── Page hero (inner pages breadcrumb bar) */
[data-theme="light"] .page-hero {
  background: #ede9e1;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
[data-theme="light"] .breadcrumb a  { color: #3a5080; }
[data-theme="light"] .breadcrumb span { color: var(--orange); }

/* ─── Cards & surfaces ──────────────────── */
[data-theme="light"] .product-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
[data-theme="light"] .product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

[data-theme="light"] .dashboard-content-card,
[data-theme="light"] .admin-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}

[data-theme="light"] .stat-card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.07) !important;
}

/* ─── Forms ─────────────────────────────── */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #f5f3ee;
  color: var(--text-primary);
  border-color: rgba(0,0,0,0.14);
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: var(--text-muted);
}
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: var(--orange);
  background: #fff;
}

/* ─── Promo strip (icon strip) ──────────── */
[data-theme="light"] .promo-strip {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
[data-theme="light"] .promo-strip-icon { color: var(--orange); }

/* ─── Brand hero ─────────────────────────── */
[data-theme="light"] .brand-hero {
  background: #f9f7f3;
}
[data-theme="light"] .brand-hero::before {
  background: radial-gradient(circle, rgba(245,124,0,0.13) 0%, transparent 65%);
  top: -10%; left: -5%;
}
[data-theme="light"] .brand-hero::after {
  background: radial-gradient(circle, rgba(62,200,250,0.11) 0%, transparent 65%);
  bottom: -10%; right: -5%;
}
[data-theme="light"] .printer-card {
  box-shadow: 0 20px 60px rgba(0,0,0,0.11), 0 0 0 1px rgba(0,0,0,0.05);
}

/* ─── Buttons ────────────────────────────── */
[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: rgba(0,0,0,0.15);
  color: #2c3660;
}
[data-theme="light"] .btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245,124,0,0.07);
}

/* ─── Footer ─────────────────────────────── */
[data-theme="light"] .footer {
  background: #090c1c;
  color: #ccd2e8;
}

/* ─── Badges & tags ─────────────────────── */
[data-theme="light"] .order-status,
[data-theme="light"] .badge { filter: none; }

/* ─── Toast & table ─────────────────────── */
[data-theme="light"] .order-table thead th {
  background: #f0ede8;
  color: var(--text-primary);
}
[data-theme="light"] .order-table tbody tr:hover {
  background: rgba(245,124,0,0.05);
}

/* ══════════════════════════════════════════════════════════════
   BRAND HERO — Two-column split (first thing visitors see)
   ══════════════════════════════════════════════════════════════ */
.brand-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 800px);
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  padding: 4rem 0;
}

/* Ambient glow blobs */
.brand-hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(62,200,250,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.brand-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245,124,0,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.brand-hero-inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* LEFT */
.brand-hero-left {}

.brand-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(62,200,250,0.1);
  border: 1px solid rgba(62,200,250,0.3);
  color: var(--blue-electric);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.brand-hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  background: var(--blue-electric);
  border-radius: 50%;
  animation: livePulse 1.8s ease-in-out infinite;
}

.brand-hero-title {
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}

.brand-hero-title .brand-hero-highlight {
  color: var(--orange);
  position: relative;
}

.brand-hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.25rem;
}

.btn-hero-ghost {
  background: transparent;
  border: 1.5px solid var(--border-hover);
  color: var(--text-primary);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.btn-hero-ghost:hover {
  background: var(--orange-glow);
  border-color: var(--orange);
  color: var(--orange);
}

/* RIGHT — Printer Card */
.brand-hero-right {
  display: flex;
  justify-content: center;
}

.printer-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
  padding: 1.2rem;
  width: 340px;
  color: #1a1c2e;
  flex-shrink: 0;
  /* SVG printer color tokens (scoped) */
  --accent:      #f57c00;
  --accent-warm: #ffb74d;
  --accent-deep: #bf360c;
  --accent-ring: rgba(245,124,0,0.25);
  --metal-1:     #e4eaf7;
  --metal-2:     #ccd4ea;
  --metal-3:     #a8b4cc;
  --metal-4:     #8090b0;
  --metal-line:  rgba(100,116,160,0.2);
}

.printer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  white-space: nowrap;
}

.printer-chip-brand {
  background: #eef2ff;
  color: #3040a0;
  border: 1px solid #d0d8ff;
  margin-bottom: 0.45rem;
}

.printer-chip-accuracy {
  background: #fff8e8;
  color: #7a5500;
  border: 1px solid #fde68a;
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
}

.chip-plus {
  width: 15px;
  height: 15px;
  background: #7a5500;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Printer footer row: live indicator + QA badge */
.printer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.55rem;
  padding: 0 0.1rem;
}

/* Accuracy badge (±50μm) */
.printer-acc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(245,124,0,0.08);
  border: 1px solid rgba(245,124,0,0.22);
  color: #b54c00;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
}

.printer-acc-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: rgba(245,124,0,0.14);
  border: 1px solid rgba(245,124,0,0.28);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.68rem;
  color: #b54c00;
  flex-shrink: 0;
  line-height: 1;
}

/* SVG fills container, no extra margin */
.printer-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Printer frame */
.printer-visual { margin: 0; }

.printer-frame {
  position: relative;
  width: 100%;
  height: 185px;
  background: #f5f6fa;
  border-radius: 14px;
  border: 1.5px solid #e0e3f0;
  overflow: hidden;
}

.printer-rail {
  position: absolute;
  top: 10px;
  bottom: 32px;
  width: 3px;
  background: #cdd1e8;
  border-radius: 2px;
}

.printer-rail-l { left: 16px; }
.printer-rail-r { right: 16px; }

.printer-head {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 4px;
  background: #b0b8d8;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  animation: printHeadMove 6s ease-in-out infinite;
  z-index: 4;
}

/* Cabeçote sobe de baixo pra cima, como uma impressora 3D real */
@keyframes printHeadMove {
  0%, 100% { top: calc(100% - 18px); }
  50%       { top: 10px; }
  54%       { top: 10px; }
}

.printer-bed {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 32px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.printer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(62,200,250,0.4));
}

.printer-logo-fallback {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange, #f57c00) 0%, #1565c4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  z-index: 2;
  position: relative;
}

.printer-scanline {
  position: absolute;
  left: -10px;
  right: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #f57c00 25%, #1565c4 75%, transparent 100%);
  box-shadow: 0 0 10px rgba(245,124,0,0.7), 0 0 22px rgba(21,101,196,0.5);
  animation: scanLineMove 6s ease-in-out infinite;
  z-index: 3;
}

/* Scanline acompanha o cabeçote de baixo pra cima */
@keyframes scanLineMove {
  0%, 100% { bottom: 4px; opacity: 0.4; }
  6%        { opacity: 1; }
  50%       { bottom: calc(100% - 8px); opacity: 1; }
  54%       { bottom: calc(100% - 8px); opacity: 0.4; }
}

.printer-baseplate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #e6e9f5;
  border-top: 2px solid #cdd1e8;
}

.printer-chip-qa {
  background: #edfbf3;
  color: #1a6e3a;
  border: 1px solid #a8e6c0;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 0;
}

.printer-chip-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a05a00;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--orange, #f57c00);
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Responsive */
@media (max-width: 900px) {
  .brand-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .brand-hero-badge { margin-left: auto; margin-right: auto; }
  .brand-hero-sub   { margin-left: auto; margin-right: auto; }
  .brand-hero-left .hero-actions { justify-content: center; }
  .brand-hero-right { margin-top: 0; }
  .printer-chip-accuracy { position: static; display: inline-flex; margin-left: 0.4rem; }
  .printer-chip-live     { position: static; display: inline-flex; margin-top: 0.5rem; }
}

@media (max-width: 480px) {
  .printer-card { width: 300px; }
  .brand-hero-title { font-size: 2.2rem; }
}

/* ══════════════════════════════════════════════════════════════
   PRINTER SVG ANIMATION — impressão FDM layer by layer
   ══════════════════════════════════════════════════════════════ */

/* Float suave do card inteiro */
.printer-svg {
  animation: nooriFloat 8s ease-in-out infinite;
}
@keyframes nooriFloat {
  0%,100% { transform: translateY(-4px); }
  50%     { transform: translateY(4px);  }
}

/* Máscara cresce de baixo pra cima (transform-origin: bottom do fill-box) */
.pr-grow {
  transform-box:   fill-box;
  transform-origin: bottom;
  animation: nooriGrow 8.5s linear infinite;
}
@keyframes nooriGrow {
  0%      { transform: scaleY(0); }
  6%      { transform: scaleY(0); }
  84%     { transform: scaleY(1); }
  92%     { transform: scaleY(1); }
  100%    { transform: scaleY(0); }
}

/* Gantry sobe conforme o N é impresso */
.pr-gantry {
  animation: nooriRise 8.5s linear infinite;
}
@keyframes nooriRise {
  0%      { transform: translateY(116px);  }
  6%      { transform: translateY(116px);  }
  84%     { transform: translateY(-18px);  }
  92%     { transform: translateY(-18px);  }
  100%    { transform: translateY(116px);  }
}

/* Carriage varre horizontalmente enquanto imprime */
.pr-carriage {
  animation: nooriScan 1.15s ease-in-out infinite;
}
@keyframes nooriScan {
  0%   { transform: translateX(-58px); }
  50%  { transform: translateX(58px);  }
  100% { transform: translateX(-58px); }
}

/* Filamento: marching ants + sumiço no reset */
.pr-filament {
  stroke-dasharray: 3 4;
  animation: nooriFil 0.5s linear infinite;
}
@keyframes nooriFil {
  to { stroke-dashoffset: -7; }
}

@media (prefers-reduced-motion: reduce) {
  .printer-svg, .pr-carriage, .pr-filament { animation: none !important; }
  .pr-grow   { animation: none; transform: scaleY(1);       }
  .pr-gantry { animation: none; transform: translateY(-18px); }
}
