/* ============================================================
   LEO — Global Stylesheet
   Premium multi-brand showcase with smooth animations
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #f97316;
  --primary-dark: #c2570d;
  --primary-light: #fdba74;
  --accent: #fbbf24;
  --dark: #0d0d0d;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --gray: #888;
  --gray-light: #ccc;
  --white: #ffffff;
  --off-white: #f9f6f2;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ============================================================
   PRELOADER — Orbital Ring Loader
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.9s ease;
}

.preloader.done {
  opacity: 0;
  transform: scale(1.12);
  filter: blur(16px);
  pointer-events: none;
}

/* ---------- Orbital Stage ---------- */
.preloader-stage {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow backdrop behind the logo */
.preloader-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, transparent 70%);
  animation: preGlowPulse 2s ease-in-out infinite;
  pointer-events: none;
}

/* Logo in center */
.preloader-stage img {
  position: relative;
  z-index: 2;
  height: 54px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(249, 115, 22, 0.6));
  animation: preLogoFloat 2.4s ease-in-out infinite;
}

/* Orbiting rings */
.preloader-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.preloader-orbit--1 {
  border-top-color: #f97316;
  border-right-color: rgba(249, 115, 22, 0.3);
  animation: preOrbit 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.preloader-orbit--2 {
  inset: 14px;
  border-bottom-color: #3b82f6;
  border-left-color: rgba(59, 130, 246, 0.3);
  animation: preOrbit 1.4s cubic-bezier(0.45, 0, 0.55, 1) infinite reverse;
}

.preloader-orbit--3 {
  inset: 28px;
  border-top-color: #a855f7;
  border-left-color: rgba(168, 85, 247, 0.3);
  animation: preOrbit 2.2s linear infinite;
}

/* Orbit dots (travelling on the ring) */
.preloader-orbit::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: -3px;
  left: 50%;
  margin-left: -3px;
}

.preloader-orbit--1::after {
  background: #f97316;
  box-shadow: 0 0 10px #f97316, 0 0 20px rgba(249, 115, 22, 0.4);
}

.preloader-orbit--2::after {
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.4);
}

.preloader-orbit--3::after {
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7, 0 0 20px rgba(168, 85, 247, 0.4);
}

/* ---------- Brand Name Letters ---------- */
.preloader-brand {
  display: flex;
  gap: 6px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.preloader-brand .pre-letter {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(16px) scale(0.5);
  animation: preLetterIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.preloader-brand .pre-letter:nth-child(1) {
  animation-delay: 0.1s;
  color: #f97316;
}

.preloader-brand .pre-letter:nth-child(2) {
  animation-delay: 0.2s;
  color: #fbbf24;
}

.preloader-brand .pre-letter:nth-child(3) {
  animation-delay: 0.3s;
  color: #f97316;
}

/* ---------- Progress Bar ---------- */
.preloader-progress {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #f97316, #3b82f6, #a855f7, #10b981);
  background-size: 300% 100%;
  animation: preProgress 2s ease-in-out forwards, preProgressShimmer 1.5s linear infinite;
  transform-origin: left;
}

/* ---------- Tagline ---------- */
.preloader-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  margin-top: 18px;
  animation: preTagFade 1.2s ease 0.6s forwards;
  opacity: 0;
}

/* ---------- Keyframes ---------- */
@keyframes preGlowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes preLogoFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

@keyframes preOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preLetterIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes preProgress {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

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

  100% {
    background-position: 300% 50%;
  }
}

@keyframes preTagFade {
  to {
    opacity: 0.35;
  }
}

/* ============================================================
   PARTICLES CANVAS
   ============================================================ */
.particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
  animation: navSlideDown 0.6s ease both;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.nav-logo .logo-img {
  height: 42px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.35));
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(16px);
  padding: 24px 5% 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(249, 115, 22, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, #1a1208 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(249, 115, 22, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: expandLine 0.8s 0.8s ease forwards;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary.is-loading {
  pointer-events: none;
  opacity: 0.85;
  padding-right: 52px;
}

.btn-primary.is-loading::after {
  content: '';
  position: absolute;
  right: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  animation: btnSpin 0.8s linear infinite;
}

/* Ripple effect on buttons */
.btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 45vw);
  animation: floatIn 1s 0.4s ease both;
}

.hero-visual-inner {
  position: relative;
  aspect-ratio: 1;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  animation: spin linear infinite;
}

.hero-circle-1 {
  inset: 0;
  border: 2px solid rgba(249, 115, 22, 0.15);
  animation-duration: 20s;
}

.hero-circle-2 {
  inset: 15%;
  border: 2px dashed rgba(251, 191, 36, 0.12);
  animation-duration: 14s;
  animation-direction: reverse;
}

.hero-circle-3 {
  inset: 30%;
  border: 2px solid rgba(200, 169, 96, 0.2);
  animation-duration: 8s;
}

.hero-product-display {
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-display img {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(249, 115, 22, 0.4));
  animation: float 4s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section {
  padding: 100px 5%;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 56px;
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee-section {
  padding: 20px 0;
  background: var(--primary);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

/* ============================================================
   BRAND SHOWCASE TABS
   ============================================================ */
.brand-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.brand-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--dark-3);
  color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-spring);
}

.brand-tab:hover {
  color: #fff;
  transform: translateY(-2px);
}

.brand-tab.active {
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.06);
  transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99),
    box-shadow 0.4s ease,
    border-color var(--transition);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(249, 115, 22, 0.25);
}

/* Glowing border animation on hover */
.product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
  animation: borderGlow 3s ease infinite;
}

.product-card:hover::after {
  opacity: 1;
}

@keyframes borderGlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-3);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}

/* Brand badge on card */
.product-brand-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gram selector inside card */
.product-gram-selector {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.product-card:hover .product-gram-selector {
  opacity: 1;
  transform: translateY(0);
}

.gram-pill {
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-spring);
  white-space: nowrap;
}

.gram-pill:hover,
.gram-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 3;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(10px) scale(0.9);
  transition: transform var(--transition-spring);
}

.product-card:hover .product-overlay-btn {
  transform: translateY(0) scale(1);
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-sizes {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.size-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 7px;
  border-radius: 4px;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(245, 166, 35, 0.1);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ============================================================
   PRODUCT IMAGE FLIP ANIMATION (on gram change)
   ============================================================ */
.product-img-placeholder.flip-out {
  animation: flipOut 0.25s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.product-img-placeholder.flip-in {
  animation: flipIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes flipOut {
  0% {
    transform: perspective(600px) rotateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: perspective(600px) rotateY(90deg) scale(0.9);
    opacity: 0;
  }
}

@keyframes flipIn {
  0% {
    transform: perspective(600px) rotateY(-90deg) scale(0.9);
    opacity: 0;
  }

  100% {
    transform: perspective(600px) rotateY(0) scale(1);
    opacity: 1;
  }
}

/* Pulse ring when gram changes */
.gram-pulse-ring {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: gramPulse 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 4;
}

@keyframes gramPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-spring);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  position: relative;
  max-width: 420px;
  margin-bottom: 40px;
}

.search-bar input {
  width: 100%;
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 13px 16px 13px 48px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(249, 115, 22, 0.06);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.08);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ============================================================
   CATEGORIES — Kinetic Cards
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.category-card {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(13, 13, 13, 0.96));
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-spring), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, var(--cat-glow, rgba(249, 115, 22, 0.25)), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 12px 28px var(--cat-glow, rgba(249, 115, 22, 0.18));
}

.category-card:hover::after {
  opacity: 1;
}

.category-card>* {
  position: relative;
  z-index: 1;
}

.category-visual {
  position: relative;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(140px circle at 15% 15%, rgba(var(--cat-accent-rgb, 249, 115, 22), 0.28), transparent 70%),
    radial-gradient(160px circle at 85% 85%, rgba(var(--cat-accent-2-rgb, 251, 191, 36), 0.26), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-spring);
}

.category-card:hover .category-visual {
  transform: translateY(-4px);
}

.category-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 10px);
  opacity: 0.15;
  mix-blend-mode: screen;
}

.category-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--cat-accent, #f97316), transparent 70%);
  opacity: 0.5;
  filter: blur(0.5px);
  animation: categoryFloat 6s ease-in-out infinite;
}

.category-orb--1 {
  width: 70px;
  height: 70px;
  top: 10px;
  left: 12px;
}

.category-orb--2 {
  width: 90px;
  height: 90px;
  right: -10px;
  bottom: -20px;
  background: radial-gradient(circle at 30% 30%, var(--cat-accent-2, #fbbf24), transparent 70%);
  animation-delay: 1.2s;
}

@keyframes categoryFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.category-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 10px;
}

.category-marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  animation: categoryMarquee 12s linear infinite;
}

@keyframes categoryMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.category-content {
  padding: 16px 4px 4px;
}

.category-kicker {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.category-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.category-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 14px;
}

.category-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(249, 115, 22, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.08);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   REVIEWS — USER SUBMISSIONS
   ============================================================ */
.review-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.review-actions {
  display: flex;
  gap: 12px;
}

.review-toggle {
  padding: 12px 22px;
}

.review-community {
  margin-top: 24px;
}

.review-form-wrap {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease, margin-top 0.4s ease;
}

.review-form-wrap.open {
  margin-top: 24px;
  max-height: 1400px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.review-form-card,
.review-list-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.review-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.15), transparent 50%);
  opacity: 0.6;
}

.review-form-card>* {
  position: relative;
  z-index: 1;
}

.review-form-header {
  margin-bottom: 20px;
}

.review-form-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.review-form-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-submit {
  width: 100%;
  justify-content: center;
}

.review-error {
  display: none;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--primary-light);
  font-size: 0.85rem;
}

.review-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-list-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.review-list-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.review-list-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 420px;
  overflow: auto;
  padding-right: 6px;
}

.review-list::-webkit-scrollbar {
  width: 4px;
}

.review-list::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.review-item {
  background: var(--dark-3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition);
}

.review-item:hover {
  transform: translateY(-2px);
}

.review-stars {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.review-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.review-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.review-tag {
  display: inline-flex;
  margin-top: 10px;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.review-empty {
  text-align: center;
  padding: 18px 10px 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #c2570d, #f97316);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(-15deg);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 40%;
  height: 160%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-15deg);
}

.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-dark);
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.cta-banner .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-logo .logo-img {
  height: 36px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--primary);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px 5% 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(249, 115, 22, 0.1), transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   PRODUCT MODAL — Enhanced with Gram Switcher
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal {
  background: var(--dark-2);
  border-radius: 24px;
  max-width: 980px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.modal-info {
  padding: 32px;
}

.modal-media {
  background: var(--dark-3);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-visual {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Modal gram switcher */
.modal-gram-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.modal-gram-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--dark-3);
  color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--transition-spring);
}

.modal-gram-btn:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.modal-gram-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  transform: translateY(-2px) scale(1.05);
}

.modal-variant-info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--dark-3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.modal-variant-info .variant-size {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.modal-variant-info .variant-pack {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-variant-info .variant-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 0;
}

.modal-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.modal-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.spec-item {
  background: var(--dark-3);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all var(--transition);
}

.spec-item:hover {
  transform: translateY(-2px);
}

.spec-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.spec-value {
  font-weight: 700;
  font-size: 0.95rem;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 0 32px 32px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
}

.about-img-frame {
  border-radius: 24px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  position: relative;
  overflow: hidden;
}

.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.15), transparent 70%);
}

.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  background: var(--primary);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.about-accent-box .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
}

.about-accent-box .lbl {
  font-size: 0.78rem;
  opacity: 0.8;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* FORM */
.contact-form-wrap {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark-3);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group select option {
  background: var(--dark-3);
}

.form-error {
  display: none;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fca5a5;
  font-size: 0.85rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.captcha-wrap {
  min-height: 78px;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: 20px;
}

.admin-login-card {
  background: var(--dark-2);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.admin-login-card .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.admin-login-card .logo .logo-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.admin-login-card .logo span {
  color: var(--primary);
}

.admin-login-card .subtitle {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-bottom: 36px;
}

.login-error {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--primary-light);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: none;
}

.login-error.show {
  display: block;
}

.admin-panel {
  display: none;
  min-height: 100vh;
  background: var(--dark);
}

.admin-panel.show {
  display: flex;
}

.admin-sidebar {
  width: 260px;
  background: var(--dark-2);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.admin-sidebar-logo .logo-img {
  height: 36px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

.admin-sidebar-logo span {
  color: var(--primary);
}

.admin-sidebar-logo small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: rgba(249, 115, 22, 0.08);
  border-left-color: var(--primary);
}

.sidebar-nav a .nav-icon {
  font-size: 1.1rem;
  width: 20px;
}

.sidebar-footer {
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 16px;
}

.sidebar-footer button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--primary-light);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background var(--transition);
}

.sidebar-footer button:hover {
  background: rgba(249, 115, 22, 0.18);
}

.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-topbar h1 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
}

.admin-topbar p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  margin-top: 4px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat {
  background: var(--dark-2);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.admin-stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-section-header h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
}

.admin-table-wrap {
  background: var(--dark-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 32px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table td {
  padding: 16px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

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

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table .product-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
}

.admin-table .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.badge-warning {
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent);
}

.badge-danger {
  background: rgba(249, 115, 22, 0.12);
  color: var(--primary-light);
}

.action-btns {
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
}

.action-btn:hover {
  color: #fff;
}

.action-btn.edit:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  color: #6cb0ff;
}

.action-btn.delete:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--primary-light);
}

/* ============================================================
   ADMIN FORM — Redesigned Card Layout
   ============================================================ */
.admin-form-wrapper {
  max-width: 860px;
}

.admin-form-card {
  background: var(--dark-2);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  transition: border-color 0.3s ease;
}

.admin-form-card:hover {
  border-color: rgba(249, 115, 22, 0.12);
}

.admin-form-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-form-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.admin-form-card-header h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.admin-form-card-header p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

.admin-form-error {
  display: none;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--primary-light);
  font-size: 0.88rem;
  margin-bottom: 20px;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.admin-form-reset-btn {
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.admin-form-reset-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

.admin-inline-remove:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.admin-inline-upload:hover {
  border-color: var(--primary) !important;
  background: rgba(249, 115, 22, 0.06) !important;
}

.admin-empty-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.admin-empty-inline span {
  font-size: 2.5rem;
}

.admin-empty-inline p {
  font-size: 0.85rem;
  margin: 0;
  max-width: 320px;
}

/* ============================================================
   SIZE BUILDER — Rows with per-size images
   ============================================================ */
.size-row {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  animation: sizeRowEntry 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.size-row:hover {
  border-color: rgba(249, 115, 22, 0.15);
}

@keyframes sizeRowEntry {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.size-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.size-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.size-row-number {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.size-name-group {
  flex: 1;
  min-width: 0;
}

.size-input-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.size-name-input {
  width: 100%;
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.size-name-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.1);
}

.size-name-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.size-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.size-remove-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Size Images Section */
.size-images-section {
  padding: 18px 20px 20px;
}

.size-images-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.size-images-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.size-images-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 50px;
}

.size-images-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-image-item {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s, transform 0.3s;
}

.size-image-item:hover {
  border-color: var(--primary);
  transform: scale(1.03);
}

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

.size-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.size-image-item:hover .size-image-remove {
  opacity: 1;
}

.size-image-primary {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.size-image-upload {
  width: 88px;
  height: 88px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.02);
}

.size-image-upload:hover,
.size-image-upload.drag-over {
  border-color: var(--primary);
  background: rgba(249, 115, 22, 0.05);
}

.size-image-upload .upload-icon {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  line-height: 1;
}

.size-image-upload .upload-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-images-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 8px 0 0;
  font-style: italic;
}

/* ============================================================
   PRODUCT CARD — Size Selector & Image Transitions
   ============================================================ */
.product-size-selector {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.product-card:hover .product-size-selector {
  opacity: 1;
  transform: translateY(0);
}

.size-pill {
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-spring);
  white-space: nowrap;
}

.size-pill:hover,
.size-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* Image gallery in product card */
.product-img-gallery {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-img-gallery .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s ease;
}

.product-img-gallery .gallery-img.fade-out {
  opacity: 0;
  transform: scale(1.05);
}

.product-img-gallery .gallery-img.fade-in {
  animation: imgFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Placeholder styling */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-img-placeholder.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.product-img-placeholder.fade-in {
  animation: imgFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.placeholder-brand {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  opacity: 0.3;
}

.placeholder-size {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes imgFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   MODAL GALLERY — Full image gallery with thumbnails
   ============================================================ */
.modal-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modal-gallery-main {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-gallery-img.modal-img-swapping {
  opacity: 0;
  transform: scale(1.03);
}

.modal-gallery-img.modal-img-slide {
  animation: modalImgSlide 0.45s ease;
}

@keyframes modalImgSlide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  overflow-x: auto;
}

.modal-gallery-thumbs::-webkit-scrollbar {
  height: 3px;
}

.modal-gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.modal-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.modal-thumb:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.modal-thumb.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.3);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal placeholder */
.modal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.modal-placeholder-brand {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.25;
}

.modal-placeholder-size {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Modal gallery fade transitions */
.modal-gallery-fade-out {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-gallery-fade-in {
  animation: modalGalleryIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalGalleryIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.toast.error {
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--primary-light);
}

/* ============================================================
   WARM SECTION VARIANTS
   ============================================================ */
.warm-section {
  background: linear-gradient(180deg, #1a1208 0%, #15110a 100%);
}

/* ============================================================
   SCROLL ANIMATIONS (AOS-like)
   ============================================================ */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-down"] {
  transform: translateY(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="zoom-in"] {
  transform: scale(0.85);
}

[data-aos="flip-up"] {
  transform: perspective(600px) rotateX(15deg) translateY(30px);
}

[data-aos="slide-up"] {
  transform: translateY(60px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos-delay="100"] {
  transition-delay: 100ms;
}

[data-aos-delay="200"] {
  transition-delay: 200ms;
}

[data-aos-delay="300"] {
  transition-delay: 300ms;
}

[data-aos-delay="400"] {
  transition-delay: 400ms;
}

[data-aos-delay="500"] {
  transition-delay: 500ms;
}

[data-aos-delay="600"] {
  transition-delay: 600ms;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes expandLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

/* Card shimmer on hover */
.product-card:hover .product-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.08), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  z-index: 1;
  pointer-events: none;
}

/* Staggered card entry */
.products-grid .product-card {
  animation: cardEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.products-grid .product-card:nth-child(1) {
  animation-delay: 0.05s;
}

.products-grid .product-card:nth-child(2) {
  animation-delay: 0.1s;
}

.products-grid .product-card:nth-child(3) {
  animation-delay: 0.15s;
}

.products-grid .product-card:nth-child(4) {
  animation-delay: 0.2s;
}

.products-grid .product-card:nth-child(5) {
  animation-delay: 0.25s;
}

.products-grid .product-card:nth-child(6) {
  animation-delay: 0.3s;
}

.products-grid .product-card:nth-child(7) {
  animation-delay: 0.35s;
}

.products-grid .product-card:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  .hero-stats {
    gap: 24px;
  }

  .admin-sidebar {
    width: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .brand-tabs {
    gap: 8px;
  }

  .brand-tab {
    padding: 8px 16px;
    font-size: 0.78rem;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-media {
    order: -1;
    padding: 20px;
  }

  .modal-info {
    padding: 24px;
  }

  .modal-visual {
    min-height: 260px;
  }

  .modal-footer {
    padding: 0 24px 24px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .admin-table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  section {
    padding: 72px 5%;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .filter-bar {
    gap: 8px;
  }

  .modal-gram-selector {
    gap: 6px;
  }

  .modal-gram-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* ============================================================
   CURSOR GLOW (decorative)
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.06), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: left 0.15s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}