/* ==========================================================================
   FARAZ ENERGY ATLAS - Official Corporate Website Stylesheet
   Authentic Corporate Colors: Petroleum Teal (#006F77) & Energy Orange (#FF9C00)
   Pixel-Perfect RTL, Clean Corporate Backgrounds
   ========================================================================== */

/* Local Vazirmatn Fonts (100% Offline & Intranet Compatible) */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Corporate Colors (Faraz Energy Official: Petroleum Teal & Amber Orange) */
  --primary-950: #002b2e;
  --primary-900: #003e42;
  --primary-800: #00565c;
  --primary-700: #006f77;       /* Official Primary Brand Color */
  --primary-600: #0e8c95;
  --primary-500: #1ba5af;
  --primary-400: #33bcc6;
  --primary-200: #bce6e9;
  --primary-100: #dcf2f4;
  --primary-50:  #f0fafb;

  /* Accent Orange (Official Corporate Accent) */
  --orange-700: #cc7d00;
  --orange-600: #e68c00;
  --orange-500: #ff9c00;       /* Official Accent Orange */
  --orange-400: #ffa91a;
  --orange-300: #ffbc4d;
  --orange-100: #ffeccc;
  --orange-50:  #fff9f0;

  /* Neutral Slate / Clean Background Palette */
  --slate-950: #0f1416;
  --slate-900: #172023;
  --slate-800: #232f34;
  --slate-700: #364349;
  --slate-600: #4c5d65;
  --slate-500: #687b84;
  --slate-400: #8c9da5;
  --slate-300: #cbd5d9;
  --slate-200: #e5ecee;
  --slate-100: #f1f5f6;
  --slate-50:  #f8fafb;
  --white: #ffffff;

  /* Semantic Variables */
  --primary: #006f77;
  --primary-hover: #00565c;
  --primary-dark: #003e42;
  --primary-darker: #002b2e;
  --primary-light: #dcf2f4;
  --primary-subtle: #f0fafb;
  --primary-border: #bce6e9;
  --primary-glow: rgba(0, 111, 119, 0.25);

  --secondary: #003e42;
  --secondary-light: #00565c;
  --secondary-surface: #002b2e;

  --accent: #ff9c00;
  --accent-hover: #e68c00;
  --accent-glow: rgba(255, 156, 0, 0.35);

  --success: #10b981;
  --warning: #ff9c00;
  --danger: #ef4444;
  --info: #0284c7;

  /* Default Theme: Clean, Crisp White & Light Surface (همانند سایت اصلی) */
  --bg-main: #f7fafb;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f6;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-input: #f1f5f6;

  --border-color: #e2e8ea;
  --border-color-glow: rgba(0, 111, 119, 0.4);
  --border-subtle: #cbd5d9;

  --text-main: #172023;
  --text-muted: #4c5d65;
  --text-dim: #8c9da5;
  --text-inverse: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 4px 20px var(--primary-glow);
  --shadow-accent: 0 4px 20px var(--accent-glow);
  --shadow-teal: 0 8px 20px -4px rgba(0, 111, 119, 0.35);
  --shadow-orange: 0 8px 20px -4px rgba(255, 156, 0, 0.35);

  /* Layout & Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --container-max: 1280px;
  --header-height: 92px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Dark Mode Alternative */
  --bg-main: #0c1417;
  --bg-surface: #141f23;
  --bg-card: #141f23;
  --bg-card-hover: #1c2b30;
  --bg-surface-elevated: #1c2b30;
  --bg-surface-subtle: #182529;
  --bg-glass: rgba(20, 31, 35, 0.95);
  --bg-input: #182529;

  --border-color: #24353c;
  --border-color-glow: rgba(0, 111, 119, 0.5);

  --text-main: #f8fafb;
  --text-muted: #cbd5d9;
  --text-dim: #8c9da5;
  --text-inverse: #0c1417;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
}

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

html {
  direction: rtl;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 60px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

[data-theme="dark"] .section-tag {
  background: rgba(0, 111, 119, 0.25);
  color: var(--primary-400);
  border-color: rgba(0, 111, 119, 0.4);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

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

[data-theme="dark"] .section-title span {
  color: var(--orange-400);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
}

/* Cards & Panels */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary-700);
  color: #ffffff;
  box-shadow: var(--shadow-teal);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #ffffff;
}

.btn-accent {
  background: var(--orange-500);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-700);
  border: 1px solid var(--primary-border);
}

[data-theme="dark"] .btn-outline {
  background: transparent;
  color: var(--orange-400);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.badge-primary {
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
}

.badge-accent {
  background: var(--orange-100);
  color: var(--orange-700);
  border: 1px solid var(--orange-300);
}

.badge-success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* ==========================================================================
   Top Header Bar & Navigation (Corporate Dark Petroleum Green)
   ========================================================================== */
.top-bar {
  background: var(--primary-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 101;
}

[data-theme="dark"] .top-bar {
  background: var(--primary-950);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item a {
  color: rgba(255, 255, 255, 0.92);
  transition: var(--transition);
}

.top-bar-item a:hover {
  color: var(--orange-300);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--orange-400);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 111, 119, 0.12);
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 43, 46, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .site-header {
  background: rgba(15, 23, 27, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled {
  height: 76px;
  background: #ffffff;
  border-bottom-color: rgba(0, 111, 119, 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 43, 46, 0.1);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 23, 27, 0.98);
  border-bottom-color: rgba(0, 111, 119, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 0;
}

.brand-logo img {
  height: 56px !important;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  transition: var(--transition);
}

[data-theme="dark"] .brand-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.logo-symbol {
  width: 50px;
  height: 50px;
  background: var(--primary-700);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
}

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

.logo-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.4px;
  line-height: 1.25;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

@media (max-width: 1280px) {
  .nav-container {
    gap: 20px;
  }
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 14px !important;
  }
  .brand-logo {
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .nav-container {
    gap: 14px;
  }
  .nav-menu {
    gap: 8px;
  }
  .nav-link {
    font-size: 13px !important;
    padding: 8px 2px;
  }
}

@media (max-width: 992px) {
  .nav-container {
    justify-content: space-between !important;
    gap: 12px;
  }
  .nav-menu {
    display: none;
  }
}

.nav-link {
  padding: 10px 4px;
  color: #334155;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.2s ease;
  letter-spacing: -0.2px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary-700);
}

.nav-link.active {
  color: var(--primary-700);
  font-weight: 800;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-700);
  border-radius: var(--radius-full);
}

[data-theme="dark"] .nav-link {
  color: #94a3b8;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--orange-400);
}

[data-theme="dark"] .nav-link.active::after {
  background: var(--orange-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.top-bar-socials {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.top-bar-social-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background: transparent !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  flex-shrink: 0;
  position: static !important;
}

.top-bar-social-btn svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

.top-bar-social-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.top-bar-social-btn.whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}

.top-bar-social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  border-color: #e6683c !important;
  color: #ffffff !important;
}

.top-bar-social-btn.rubika svg path {
  fill: #ffffff !important;
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 8px;
  stroke-linejoin: round;
  transition: all var(--transition-base);
}

.top-bar-social-btn.rubika:hover {
  background: linear-gradient(135deg, #6c2bd9, #a855f7) !important;
  border-color: #a855f7 !important;
  color: #ffffff !important;
}

.top-bar-social-btn.rubika:hover svg path {
  fill: #ffffff !important;
  stroke: rgba(76, 29, 149, 0.4);
}

.search-trigger-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.search-trigger-btn:hover {
  border-color: var(--primary-700);
  color: var(--primary-700);
  background: var(--primary-50);
}

[data-theme="dark"] .search-trigger-btn:hover {
  border-color: var(--orange-400);
  color: var(--orange-400);
  background: rgba(255, 156, 0, 0.12);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--primary-700);
  border-color: var(--primary-700);
  background: var(--primary-50);
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile Drawer (RTL Optimized - Zero Horizontal Overflow) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 35, 38, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

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

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-nav a {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
}

.drawer-nav a:hover, .drawer-nav a.active {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-200);
}

/* ==========================================================================
   Hero Section (Authentic Corporate Petroleum Teal & Cyan-Teal Gradient)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(27, 165, 175, 0.28) 0%, transparent 55%),
              radial-gradient(circle at 15% 80%, rgba(0, 111, 119, 0.35) 0%, transparent 60%),
              linear-gradient(140deg, #003e46 0%, #005660 30%, #006f77 65%, #0e8c95 100%);
  color: #ffffff;
  padding: 55px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 111, 119, 0.3);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 156, 0, 0.18) 0%, rgba(255, 156, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

[data-theme="dark"] .hero {
  background: radial-gradient(circle at 85% 20%, rgba(27, 165, 175, 0.2) 0%, transparent 55%),
              radial-gradient(circle at 15% 80%, rgba(0, 111, 119, 0.25) 0%, transparent 60%),
              linear-gradient(140deg, #00282e 0%, #003c44 35%, #00545c 70%, #006f77 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.4;
  color: #ffffff;
}

.hero-title .gradient-text {
  color: var(--orange-400);
}

.hero-desc {
  font-size: 15.5px;
  color: var(--slate-100);
  line-height: 1.85;
  max-width: 620px;
}

@media (max-width: 992px) {
  .hero-desc {
    margin: 0 auto;
  }
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-cta {
    justify-content: center;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--orange-400);
}

.stat-number.gold {
  color: var(--orange-300);
}

.stat-label {
  font-size: 12px;
  color: var(--slate-200);
  font-weight: 600;
}

/* Multi-Layer 3D Depth Parallax Hero Showcase */
.parallax-stage {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 480px;
  margin: 0 auto;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-frame {
  position: relative;
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 250, 255, 0.85) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.3),
    0 0 45px rgba(0, 180, 196, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .parallax-frame {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.88) 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.3);
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 180, 196, 0.2);
}

.parallax-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.45) 0%, rgba(0, 242, 254, 0.15) 50%, transparent 80%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .parallax-glare {
  background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.25) 0%, rgba(255, 183, 3, 0.12) 50%, transparent 80%);
}

.core-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(240, 253, 250, 0.7) 40%, rgba(0, 180, 196, 0.2) 70%, transparent 90%);
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .core-spotlight {
  background: radial-gradient(circle, rgba(0, 180, 196, 0.3) 0%, rgba(255, 183, 3, 0.15) 50%, transparent 80%);
  filter: blur(35px);
}

.parallax-product-layer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s cubic-bezier(0.2, 0, 0.2, 1);
  pointer-events: none;
}

.parallax-product-img {
  max-width: 350px;
  max-height: 285px;
  width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 26px 36px rgba(0, 30, 40, 0.42));
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: gentleFloat 5s ease-in-out infinite;
}

.parallax-product-img.switching {
  opacity: 0 !important;
  transform: scale(0.92) translateY(8px) !important;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.parallax-badge {
  position: absolute;
  background: #ffffff;
  border: 1.5px solid rgba(0, 111, 119, 0.25);
  padding: 6px 13px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15), 0 0 12px rgba(0, 180, 196, 0.12);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  white-space: nowrap;
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease, opacity 0.3s ease;
}

[data-theme="dark"] .parallax-badge {
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  color: #ffffff;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.2);
}

.parallax-badge:hover {
  transform: scale(1.06) !important;
  border-color: #ffb703;
  box-shadow: 0 15px 30px rgba(255, 183, 3, 0.3);
}

.parallax-badge.badge-fade {
  opacity: 0.2;
  transform: scale(0.95);
}

/* Strategic Badge Coordinates - Spacious & Clean */
.badge-pos-tr { top: 46px; right: 18px; }
.badge-pos-tl { top: 46px; left: 18px; }
.badge-pos-br { bottom: 20px; right: 18px; }
.badge-pos-bl { bottom: 20px; left: 18px; }

.p-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.p-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.p-dot.gold { background: #ffb703; box-shadow: 0 0 8px #ffb703; }
.p-dot.cyan { background: #00b4c4; box-shadow: 0 0 8px #00b4c4; }

.hero-model-tag {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 111, 119, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 111, 119, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  z-index: 10;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

[data-theme="dark"] .hero-model-tag {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.35);
}

/* ==========================================================================
   Footer (Official Petroleum Teal-Black Palette)
   ========================================================================== */
/* ==========================================================================
   Footer (Corporate Petroleum Teal Palette matching Reference)
   ========================================================================== */
.site-footer {
  background: #005e66 !important;
  background: linear-gradient(180deg, #006670 0%, #00535b 100%) !important;
  color: #ffffff !important;
  padding: 55px 0 0;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .site-footer {
  background: #005e66 !important;
  background: linear-gradient(180deg, #006670 0%, #00535b 100%) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 1.3fr;
  gap: 40px;
  padding-bottom: 45px;
}

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

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

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-about .brand-logo {
  gap: 12px;
}

.footer-col-about .brand-logo img {
  height: 82px !important;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

.footer-col-about .logo-title {
  color: #ffffff !important;
  font-size: 19px;
  font-weight: 900;
}

.footer-col-about .logo-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 11.5px;
}

.footer-about-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  text-align: justify;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.footer-social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #e6683c;
  color: #ffffff;
}

.footer-social-btn.rubika svg path {
  fill: #ffffff !important;
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 8px;
  stroke-linejoin: round;
  transition: all var(--transition-base);
}

.footer-social-btn.rubika:hover {
  background: linear-gradient(135deg, #6c2bd9, #a855f7);
  border-color: #a855f7;
  color: #ffffff;
}

.footer-social-btn.rubika:hover svg path {
  fill: #ffffff !important;
  stroke: rgba(76, 29, 149, 0.4);
}

.footer-col-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.85;
}

.footer-contact-details strong {
  color: #ffffff;
  font-weight: 800;
}

.footer-contact-details a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-contact-details a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  background: #00454b !important;
  padding: 18px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

[data-theme="dark"] .footer-bottom {
  background: #00454b !important;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-bottom-text {
  text-align: center;
}

.footer-bottom-text a.ravian-link {
  color: #ff9c00;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom-text a.ravian-link:hover {
  text-decoration: underline;
}

/* Floating Action Speed Dial */
.floating-actions {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  color: #ffffff;
}

.float-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
  transform: scale(1.1);
}

.float-phone {
  background: var(--primary-700);
  box-shadow: var(--shadow-teal);
}

.float-phone:hover {
  background: var(--orange-500);
  transform: scale(1.1);
}

/* ==========================================================================
   Page Scroll Progress Bar (Top Luminous Bar & Floating Circular Ring)
   ========================================================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 43, 46, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  pointer-events: none;
}

[data-theme="dark"] .scroll-progress-container {
  background: rgba(255, 255, 255, 0.05);
}

.scroll-progress-bar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(270deg, var(--primary-700) 0%, var(--primary-500) 50%, var(--orange-500) 100%);
  box-shadow: 0 0 10px rgba(255, 156, 0, 0.65), 0 0 3px rgba(255, 156, 0, 0.85);
  border-radius: 0 0 0 3px;
  transition: width 0.08s cubic-bezier(0.2, 0, 0.38, 0.9);
}

/* Glowing Pulse Flare at the advancing tip of the progress bar */
.scroll-progress-bar::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ff9c00, 0 0 16px rgba(255, 156, 0, 0.95);
  opacity: 0.95;
}

.float-top {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-700);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

[data-theme="dark"] .float-top {
  background: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--orange-400);
}

.float-top:hover {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   Mobile-First & Strict Viewport Safety
   ========================================================================== */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
  .site-header {
    height: 74px;
    padding: 0 8px;
  }
  .site-header.scrolled {
    height: 66px;
  }
  .brand-logo img {
    height: 48px !important;
  }
  .logo-title {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
  }
  .logo-subtitle {
    display: none !important;
  }
  .search-trigger-btn {
    width: 38px;
    height: 38px;
  }
  .nav-actions {
    gap: 8px;
  }
  .hero {
    background: radial-gradient(circle at 85% 15%, rgba(27, 165, 175, 0.35) 0%, transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(14, 140, 149, 0.3) 0%, transparent 60%),
                linear-gradient(165deg, #00444c 0%, #005c66 35%, #00727e 70%, #0e8c95 100%);
    padding: 35px 0 50px;
  }
  [data-theme="dark"] .hero {
    background: radial-gradient(circle at 85% 15%, rgba(27, 165, 175, 0.22) 0%, transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(14, 140, 149, 0.22) 0%, transparent 60%),
                linear-gradient(165deg, #002d33 0%, #00454d 35%, #005963 70%, #006f77 100%);
  }
  .hero-title {
    font-size: 22px;
    line-height: 1.45;
  }
  .hero-badge-wrap {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-cta .btn-primary {
    background: #008792;
    border-color: #008792;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 135, 146, 0.3);
  }
  .hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: #006f77;
    border-color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-top-color: rgba(255, 255, 255, 0.2);
  }
  .stat-num {
    font-size: 22px;
  }
  .container {
    padding-left: 14px;
    padding-right: 14px;
    max-width: 100%;
  }
  .floating-actions {
    display: none !important;
  }
}

/* ==========================================================================
   Shopping Cart Drawer, Floating Trigger & Dynamic Price Box
   ========================================================================== */

/* Dynamic Total Price Box in Modals */
.modal-total-price-box {
  background: linear-gradient(135deg, rgba(0, 111, 119, 0.08) 0%, rgba(255, 156, 0, 0.08) 100%);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

[data-theme="dark"] .modal-total-price-box {
  background: rgba(14, 140, 149, 0.12);
  border-color: rgba(0, 111, 119, 0.35);
}

.modal-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.modal-total-row.highlight {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--primary);
  border-top: 1px dashed var(--border-color);
  padding-top: 8px;
  margin-top: 4px;
}

[data-theme="dark"] .modal-total-row.highlight {
  color: var(--orange-400);
}

.modal-total-sum {
  font-size: 19px;
  font-weight: 900;
  color: var(--primary-700);
  letter-spacing: -0.5px;
}

[data-theme="dark"] .modal-total-sum {
  color: var(--orange-400);
}

/* Header Cart Trigger Button */
.cart-trigger-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated, #ffffff);
  border: 1px solid var(--border-color);
  color: var(--primary-700);
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .cart-trigger-btn {
  background: var(--bg-surface);
  color: var(--orange-400);
}

.cart-trigger-btn:hover {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .cart-trigger-btn:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #ffffff;
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange-500);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(255, 156, 0, 0.4);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge-count.bounce {
  transform: scale(1.35);
}

/* Floating Cart Button in speed dial */
.float-cart {
  position: relative;
  background: var(--primary-700);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 111, 119, 0.4);
}

.float-cart:hover {
  background: var(--orange-500);
  transform: scale(1.1);
}

.float-cart .cart-badge-count {
  top: -2px;
  right: -2px;
  background: var(--orange-500);
}

/* Cart Drawer Overlay */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 27, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Cart Drawer Panel (Slides from left) */
.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 440px;
  max-width: 92vw;
  background: var(--bg-card);
  z-index: 100001;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

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

/* Drawer Header */
.cart-drawer-header {
  padding: 18px 22px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.cart-drawer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-clear-btn {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.cart-clear-btn:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

.cart-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  background: rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

[data-theme="dark"] .cart-drawer-close {
  background: rgba(255, 255, 255, 0.08);
}

.cart-drawer-close:hover {
  background: var(--danger);
  color: #ffffff;
}

/* Drawer Body (Items List) */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty State */
.cart-empty-state {
  margin: auto;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 111, 119, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
}

[data-theme="dark"] .cart-empty-icon {
  background: rgba(255, 156, 0, 0.1);
  color: var(--orange-400);
}

.cart-empty-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cart-empty-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

/* Cart Item Card */
.cart-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.cart-item-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 4px;
  object-fit: contain;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.cart-item-variant {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

[data-theme="dark"] .cart-item-variant {
  color: var(--orange-400);
}

.cart-item-unit-price {
  font-size: 11.5px;
  color: var(--text-muted);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

/* In-Cart Stepper */
.cart-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-stepper-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-main);
  background: transparent;
  transition: var(--transition);
}

.cart-stepper-btn:hover {
  background: var(--primary-700);
  color: #ffffff;
}

.cart-stepper-val {
  width: 32px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  font-family: inherit;
}

.cart-item-total {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-700);
}

[data-theme="dark"] .cart-item-total {
  color: var(--orange-400);
}

.cart-item-remove {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

/* Drawer Footer */
.cart-drawer-footer {
  padding: 18px 22px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
}

.cart-grand-total {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-700);
}

[data-theme="dark"] .cart-grand-total {
  color: var(--orange-400);
}

.cart-whatsapp-checkout-btn {
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  cursor: pointer;
}

.cart-whatsapp-checkout-btn:hover {
  background: #1ebc57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Add to Cart Button States */
.add-to-cart-btn {
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-to-cart-btn.added {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: #ffffff !important;
  transform: scale(1.03);
}

