/* ==========================================================================
   SOLY AIR FRESHENERS — سولي لصناعة الفواحات الورقية
   Original Luxury Dark Cinematic Theme & Production Paper Fresheners
   ========================================================================== */

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

:root {
  --bg-deep: #080B11;
  --bg-surface: #0E1422;
  --bg-panel: rgba(14, 20, 34, 0.85);
  --bg-card: #0F172A;
  --bg-card-hover: #15223C;

  --accent: #00E5FF;
  --accent-soft: rgba(0, 229, 255, 0.18);
  --brand-cyan: #00C2CB;
  --brand-cyan-glow: rgba(0, 194, 203, 0.35);
  --brand-navy: #0A192F;
  --brand-gold: #D4AF37;
  --brand-gold-glow: rgba(212, 175, 55, 0.35);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-active: #00E5FF;

  --active-hue: #00E5FF;
  --spot-x: 50%;
  --spot-y: 38%;

  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-hover: 0 24px 48px -12px rgba(0, 0, 0, 0.9), 0 0 30px var(--brand-cyan-glow);

  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Space Grotesk', system-ui, sans-serif;
  --font-display: 'Syne', 'Space Grotesk', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  font-family: var(--font-ar);
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #080B11;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 6px;
  border: 2px solid #080B11;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-cyan);
}

/* ==========================================================================
   HEADER & NAVBAR (Luxury Dark Glass)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Lockup with Secret 5-Click Logo */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.brand-logo-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #101B30 0%, #070B14 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.brand-logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--brand-cyan-glow);
  border-color: var(--accent);
}

.brand-logo-wrapper:active {
  transform: scale(0.95);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Secret Click hint (subtle dot) */
.logo-click-hint {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--brand-gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.logo-click-hint.show {
  opacity: 1;
  transform: scale(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #FFFFFF 0%, #E2E8F0 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title .en-tag {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  font-weight: 700;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.nav-badge-pill {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 255, 0.35);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 20px;
  margin-right: 4px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cart {
  position: relative;
  background: #0E1626;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-cart:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--brand-cyan-glow);
  color: var(--accent);
}

.cart-count {
  background: var(--accent);
  color: #080B11;
  font-weight: 800;
  font-size: 11px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION (Cinematic Studio Lighting & Real Atmospheric Depth)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px 24px;
  background:
    radial-gradient(ellipse 85% 60% at 50% 0%, #172138 0%, var(--bg-deep) 68%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  isolation: isolate;
}

/* Studio Backdrop & Lighting */
.studio-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.studio-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 15%, transparent 80%);
}

.studio-aura {
  position: absolute;
  top: -15%;
  left: 50%;
  width: 90vw;
  height: 75vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    var(--active-hue, var(--brand-cyan)) 0%,
    transparent 68%
  );
  opacity: 0.24;
  filter: blur(85px);
  transition: background 0.8s ease, opacity 0.8s ease;
}

.studio-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 320px at var(--spot-x, 50%) var(--spot-y, 38%),
    rgba(255, 255, 255, 0.14) 0%,
    transparent 70%
  );
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.product-beam {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 580px;
  height: 90vh;
  transform: translateX(-50%);
  background: conic-gradient(
    from 170deg at 50% 0%,
    transparent 0deg,
    rgba(255, 255, 255, 0.035) 15deg,
    rgba(255, 255, 255, 0.07) 20deg,
    rgba(255, 255, 255, 0.035) 25deg,
    transparent 40deg
  );
  filter: blur(14px);
}

.studio-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8, 11, 17, 0.7) 40%,
    var(--bg-deep) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.hero-title {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #FFFFFF 20%, #E2E8F0 65%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 30px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #009BB5 100%);
  color: #070B12;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px -4px var(--brand-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--brand-cyan-glow);
  background: linear-gradient(135deg, #7CFCFF 0%, var(--accent) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp-hero {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
  background: #20BA5A;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-pill {
  background: rgba(14, 22, 38, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.feature-pill svg {
  color: var(--accent);
}

/* ==========================================================================
   INTERACTIVE HANGING STAGE & INDUSTRIAL PIPE (Real 3D Freshener Physics)
   ========================================================================== */
.hero-stage {
  position: relative;
  z-index: 2;
  margin-top: 25px;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.pipe-container {
  position: relative;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 25px;
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.75) 0%, rgba(9, 13, 22, 0.95) 100%);
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: inset 0 2px 25px rgba(0, 0, 0, 0.6), 0 20px 40px rgba(0, 0, 0, 0.7);
}

/* Heavy Industrial Steel Pipe Bar */
.pipe-bar {
  position: absolute;
  top: 32px;
  right: 0;
  left: 0;
  height: 12px;
  background: linear-gradient(
    180deg,
    #5A6982 0%,
    #8898AA 28%,
    #2A364A 60%,
    #151D2A 100%
  );
  border-radius: 6px;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.pipe-hangers-flex {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 0 45px;
  min-width: max-content;
  position: relative;
  z-index: 3;
}

/* Individual Hanging Freshener Unit with Real Physics */
.hanger-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform-origin: top center;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  perspective: 900px;
}

.hanger-unit:hover {
  transform: translateY(6px) scale(1.05);
}

/* Top Ring Clasp on Pipe */
.hanger-ring-clasp {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #718096;
  background: #1A202C;
  box-shadow: 0 2px 4px rgba(0,0,0,0.8);
  margin-top: -6px;
  z-index: 5;
}

/* Realistic Hanging Cord */
.hanger-string {
  width: 2px;
  background: linear-gradient(180deg, #4A5568 0%, #718096 40%, #2D3748 100%);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Authentic Paper Freshener Card in Hero */
.freshener-paper-card {
  position: relative;
  width: 124px;
  height: 200px;
  border-radius: 14px 14px 18px 18px;
  background: #111827;
  overflow: hidden;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.8),
    0 2px 6px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
}

/* Punched Brass Eyelet Grommet */
.card-punch-hole {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #090909;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    inset 0 1px 2px rgba(0, 0, 0, 0.95);
  z-index: 8;
}

/* Embossed Inner Hairline Frame */
.card-emboss-frame {
  position: absolute;
  inset: 5px;
  border-radius: 10px 10px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 6;
  pointer-events: none;
}

/* Paper Fiber Texture */
.freshener-paper-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.35) 0.5px, transparent 0.5px),
    radial-gradient(rgba(0, 0, 0, 0.35) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
}

/* Studio Specular Sheen across Paper */
.freshener-paper-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 36%,
    transparent 52%,
    rgba(0, 0, 0, 0.3) 100%
  );
  opacity: 0.75;
  transition: opacity 0.4s ease;
}

.hanger-unit:hover .freshener-paper-card::after {
  opacity: 1;
}

.card-inner-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Bottom Label Pill in Card */
.card-mini-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 6px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 13, 22, 0.92) 40%, #070B12 100%);
  text-align: center;
  z-index: 7;
}

.card-mini-title {
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-mini-price {
  font-size: 11px;
  color: var(--accent);
  font-weight: 800;
}

/* Dynamic Floor Drop Shadow */
.freshener-floor-shadow {
  width: 90px;
  height: 16px;
  margin-top: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* Active HUD in Hero */
.hero-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(14, 20, 34, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-top: 18px;
  backdrop-filter: blur(12px);
}

.hud-details-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hud-swatch-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-cyan);
  color: #080B11;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--brand-cyan-glow);
}

.hud-info-name {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
}

.hud-info-notes {
  font-size: 13px;
  color: var(--text-secondary);
}

.hud-info-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

/* Scroll down indicator */
.hero-scroll-down {
  margin-top: 24px;
  text-align: center;
}

.scroll-down-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.scroll-down-btn:hover {
  color: var(--accent);
}

.scroll-down-btn svg {
  animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   PRODUCTS CATALOG SECTION — الـ 20 فواحة ورقية (Production Quality)
   ========================================================================== */
.products-section {
  padding: 85px 24px 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Filter Bar */
.catalog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(0, 229, 255, 0.4);
  color: #FFF;
}

.filter-btn.active {
  background: var(--accent);
  color: #070B12;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--brand-cyan-glow);
}

/* 20-Frames Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

/* Luxury Paper Freshener Frame Card */
.product-frame-card {
  position: relative;
  background: linear-gradient(170deg, #101828 0%, #0B111D 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-frame-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: var(--shadow-hover);
}

/* Freshener Shape Stage inside card */
.freshener-tag-stage {
  position: relative;
  width: 100%;
  height: 320px;
  background: radial-gradient(circle at 50% 25%, #18233C 0%, #080D18 80%);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hanging cord from top */
.tag-hanging-cord {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 32px;
  background: linear-gradient(180deg, #334155 0%, #64748B 50%, #334155 100%);
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.tag-hanging-cord::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #080D18;
  border: 3px solid #D4AF37;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.9), 0 1px 2px rgba(255,255,255,0.4);
}

/* Real Paper Die-Cut Freshener Body */
.freshener-diecut-body {
  position: relative;
  width: 180px;
  height: 270px;
  border-radius: 16px 16px 22px 22px;
  overflow: hidden;
  background: #111827;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s ease;
}

.product-frame-card:hover .freshener-diecut-body {
  transform: scale(1.03);
}

.freshener-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}

.product-frame-card:hover .freshener-img {
  transform: scale(1.06);
}

/* Paper texture simulation overlay */
.freshener-diecut-body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.35) 0.5px, transparent 0.5px),
    radial-gradient(rgba(0, 0, 0, 0.35) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
}

/* Studio sheen */
.freshener-diecut-body::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 36%,
    transparent 52%,
    rgba(0, 0, 0, 0.3) 100%
  );
  opacity: 0.75;
}

/* Badge on top right of card */
.tag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #070B12;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Longevity pill */
.tag-longevity {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  z-index: 7;
}

/* Bottom Information */
.card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-num-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.card-title-arabic {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 2px;
}

.card-title-english {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.card-notes {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price & Buy Bar */
.card-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
}

.price-currency {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.card-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-add-cart {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--accent);
  color: #070B12;
}

.btn-order-wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-order-wa:hover {
  background: #25D366;
  color: #FFFFFF;
}

/* ==========================================================================
   FACTORY & SPECIFICATIONS SECTION (Dark Luxury)
   ========================================================================== */
.specs-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #080B11 0%, #0F1626 50%, #080B11 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.specs-container {
  max-width: 1240px;
  margin: 0 auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.spec-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-4px);
}

.spec-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.spec-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.spec-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Wholesale Banner */
.wholesale-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wholesale-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 8px;
}

.wholesale-content p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 650px;
}

/* ==========================================================================
   FOOTER (Dark Luxury)
   ========================================================================== */
.site-footer {
  background: #05080E;
  padding: 50px 24px 30px;
  border-top: 1px solid var(--border-subtle);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  background: #0E1626;
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   PASSWORD / PIN PROTECTION PROMPT MODAL (سرية لوحة التحكم)
   ========================================================================== */
.pin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.pin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pin-modal-box {
  background: #0D1424;
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px var(--brand-cyan-glow);
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pin-modal-overlay.active .pin-modal-box {
  transform: translateY(0) scale(1);
}

.pin-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pin-title {
  font-size: 19px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
}

.pin-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pin-input {
  width: 100%;
  background: #070B14;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 18px;
  letter-spacing: 3px;
  text-align: center;
  color: #FFF;
  margin-bottom: 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.pin-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--brand-cyan-glow);
}

.pin-actions {
  display: flex;
  gap: 10px;
}

.btn-pin-submit {
  flex: 1;
  background: var(--accent);
  color: #070B12;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-pin-submit:hover {
  background: #7CFCFF;
}

.btn-pin-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.pin-error-text {
  color: #EF4444;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  display: none;
}

/* ==========================================================================
   ADMIN CONTROL PANEL MODAL (Luxury Dark UI)
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-modal-box {
  background: #0B1322;
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 229, 255, 0.18);
  border-radius: 20px;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-overlay.active .admin-modal-box {
  transform: translateY(0) scale(1);
}

.admin-header {
  padding: 18px 24px;
  background: #0E1A2E;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-badge-lock {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-header-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFF;
}

.admin-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.admin-close-btn:hover {
  background: #EF4444;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #09101C;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.admin-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--accent);
}

/* Admin Body Content */
.admin-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

/* Bulk Price Bar */
.bulk-price-bar {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bulk-title {
  font-weight: 800;
  font-size: 14px;
  color: #FFF;
}

.bulk-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-input-small {
  background: #070D18;
  border: 1px solid var(--border-subtle);
  color: #FFF;
  padding: 7px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  width: 100px;
  text-align: center;
}

.btn-admin-action {
  background: var(--accent);
  color: #070B12;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-action:hover {
  background: #7CFCFF;
}

/* Product Cards in Admin */
.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.admin-product-card {
  background: #0E1728;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 14px;
  transition: border-color 0.2s ease;
}

.admin-product-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
}

.admin-item-thumb {
  width: 90px;
  height: 140px;
  border-radius: 10px;
  background: #070B12;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.admin-item-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 700;
}

.admin-input {
  background: #070C16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFF;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s;
}

.admin-input:focus {
  outline: none;
  border-color: var(--accent);
}

.admin-file-label {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}

.admin-file-label:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent);
  color: #FFF;
}

.admin-file-input {
  display: none;
}

/* Admin Footer */
.admin-footer {
  padding: 16px 24px;
  background: #0E1A2E;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-save-all {
  background: linear-gradient(135deg, var(--accent) 0%, #009BB5 100%);
  color: #070B12;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-save-all:hover {
  box-shadow: 0 0 20px var(--brand-cyan-glow);
  transform: translateY(-1px);
}

.btn-reset-defaults {
  background: transparent;
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-defaults:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #0F1D35;
  border: 1px solid var(--accent);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--brand-cyan-glow);
  z-index: 10002;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 420px;
  background: #0B1322;
  border-right: 1px solid var(--border-subtle);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 18px 20px;
  background: #0E1A2E;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0E1728;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.cart-footer {
  padding: 20px;
  background: #0E1A2E;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
}

.btn-checkout-wa {
  background: #25D366;
  color: #FFF;
  font-weight: 800;
  font-size: 15px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-checkout-wa:hover {
  background: #20BA5A;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 30px 16px 20px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .brand-title {
    font-size: 17px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .freshener-tag-stage {
    height: 290px;
  }
  .bulk-price-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
