/* ==========================================================================
   Noor Al Arab Co. - Design System & Global Stylesheet
   Luxury B2B FMCG Theme (Gold & Matte Black)
   ========================================================================== */

/* --- Import Premium Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens & Global Variables --- */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors - Dark Theme (Default Luxury) */
  --bg-color: #080808;
  --bg-card: #0F0F0F;
  --bg-card-hover: #151515;
  --text-color: #F5F5F5;
  --text-muted: #A0A0A0;
  --border-color: #222222;
  
  /* Brand Accents */
  --gold-color: #D4AF37;
  --gold-dark: #AA7C11;
  --gold-light: #F3E5AB;
  --gold-gradient: linear-gradient(135deg, #AA7C11 0%, #D4AF37 50%, #F3E5AB 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(15, 15, 15, 0.7);
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-blur: blur(12px);

  /* Layout */
  --container-max: 1280px;
  --header-height: 100px;
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Light Mode System Toggles --- */
[data-theme="light"] {
  --bg-color: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F3F5;
  --text-color: #1A1A1A;
  --text-muted: #6B7280;
  --border-color: #E9ECEF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(212, 175, 55, 0.2);
  --gold-glow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

/* --- Base & Reset Rules --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition-smooth);
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); position: relative; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p { font-size: 1rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }

/* --- Layout Utility Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }
.max-w-xl { max-width: 650px; margin-inline: auto; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-md { gap: 24px; }

/* --- Glassmorphic Elements --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-large);
  padding: 32px;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--gold-glow);
  transform: translateY(-4px);
}

/* --- Luxury Gradient Headers & Text --- */
.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 24px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 16px 0 0 0;
}
[dir="rtl"] .section-title::after {
  margin: 16px 0 0 auto;
}
.text-center .section-title::after {
  margin-inline: auto;
}

/* --- Premium Buttons Design --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000000;
  box-shadow: var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  border-color: var(--border-color);
  background: transparent;
  color: var(--text-color);
}
.btn-outline:hover {
  border-color: var(--gold-color);
  color: var(--gold-color);
  background: rgba(212, 175, 55, 0.05);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-small);
}

.btn-icon {
  padding: 12px;
  border-radius: 50%;
  aspect-ratio: 1;
}

/* --- Header & Luxury Sticky Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}
.header.scrolled {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  height: 80px;
}
[data-theme="light"] .header.scrolled {
  background: rgba(248, 249, 250, 0.9);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container img {
  height: 85px;
  width: auto;
  transition: var(--transition-smooth);
}
.header.scrolled .logo-container img {
  height: 68px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-color);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Hamburger Mobile Trigger --- */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-color);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* --- Full-Width Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, rgba(8, 8, 8, 1) 70%);
  overflow: hidden;
}
[data-theme="light"] .hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, rgba(248, 249, 250, 1) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  z-index: 10;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Abstract Premium Globe / Core visual elements */
.visual-glow-orb {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(0,0,0,0) 70%);
  animation: orbPulse 8s infinite alternate ease-in-out;
}

.visual-sphere {
  width: 70%;
  height: 70%;
  border: 1px dashed var(--gold-color);
  border-radius: 50%;
  position: relative;
  animation: sphereRotate 30s infinite linear;
}
.hero-showcase-img {
  position: absolute;
  width: 80%;
  z-index: 5;
  animation: heroFloat 6s infinite ease-in-out;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

/* --- Category Segment Cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  text-align: center;
  border-radius: var(--radius-large);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 32px;
  background: linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.9) 100%);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.category-card:hover {
  border-color: var(--gold-color);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}
.category-card:hover::before {
  opacity: 0.15;
}
.category-card i, .category-card svg {
  margin: auto auto 12px;
  transition: var(--transition-smooth);
}
.category-card:hover i, .category-card:hover svg {
  transform: translateY(-6px) scale(1.2);
  color: var(--gold-color) !important;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}
.category-card h3 {
  color: var(--text-color);
  font-size: 1.35rem;
  margin-top: 12px;
  transition: var(--transition-smooth);
}
.category-card:hover h3 {
  color: var(--gold-light);
}

/* --- Enterprise Product Grid & Cards --- */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.filter-group:last-child {
  border: none;
}
.filter-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-color);
  font-weight: 600;
}

.cat-filter-list {
  list-style: none;
}
.cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-align: start;
  cursor: pointer;
  border-radius: var(--radius-small);
  transition: var(--transition-smooth);
}
.cat-btn:hover, .cat-btn.active {
  color: var(--gold-color);
  background: rgba(212, 175, 55, 0.05);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-small);
  z-index: 10;
}
[dir="rtl"] .product-card-badge {
  right: auto;
  left: 16px;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 1.1;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}
.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}
.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-card-specs {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}
.product-card-specs li {
  margin-bottom: 6px;
}

.product-card-ctas {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}
.product-card .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  height: 38px;
}
.product-card .btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-card-link {
  font-size: 0.85rem;
  color: #25D366;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* --- Dynamic Product Details Sheet --- */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.gallery-container {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  background: rgba(255,255,255,0.02);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 100px;
}
.gallery-container img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
}

.details-info h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.details-meta-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.meta-spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 16px;
  text-align: center;
}
.meta-spec-box h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-color);
  margin-bottom: 6px;
}
.meta-spec-box p {
  font-size: 0.95rem;
  color: var(--text-color);
  font-weight: 600;
}

.tabs-container {
  margin-top: 48px;
}
.tab-headers {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  gap: 24px;
}
.tab-header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding-bottom: 12px;
  cursor: pointer;
  position: relative;
}
.tab-header.active {
  color: var(--gold-color);
}
.tab-header.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-color);
}

.tab-pane {
  padding: 24px 0;
  display: none;
}
.tab-pane.active {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid var(--border-color);
}
.spec-table td {
  padding: 12px 0;
  font-size: 0.95rem;
}

/* --- Enterprise Forms --- */
.form-card {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-family: var(--font-body);
  border-radius: var(--radius-medium);
  outline: none;
  transition: var(--transition-smooth);
}
.form-control:focus {
  border-color: var(--gold-color);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* --- Interactive map segment --- */
.map-container {
  height: 450px;
  width: 100%;
  border-radius: var(--radius-large);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  background: #0d0d0d;
}
.map-svg {
  width: 100%;
  height: 100%;
  padding: 24px;
}
.map-pin {
  fill: var(--gold-color);
  stroke: #000;
  stroke-width: 1.5;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.map-pin:hover {
  fill: #fff;
  r: 10;
}
.map-pin-pulse {
  fill: rgba(212, 175, 55, 0.4);
  animation: mapPulse 2s infinite ease-out;
}

/* --- B2B RFQ Basket Styling --- */
.rfq-table-wrapper {
  overflow-x: auto;
}
.rfq-table th {
  padding: 16px;
  font-family: var(--font-heading);
  color: var(--gold-color);
  font-weight: 600;
}
.rfq-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}
.rfq-tbl-prod {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rfq-tbl-prod img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #111;
  padding: 4px;
  border-radius: var(--radius-small);
}

/* --- Modals Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  width: 90%;
  max-width: var(--container-max);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-color);
  cursor: pointer;
}
[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

/* --- Sticky Floating CTA Panel --- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
[dir="rtl"] .floating-actions {
  right: auto;
  left: 30px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--gold-color);
  color: var(--gold-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: relative;
}
.float-btn:hover {
  background: var(--gold-color);
  color: #000;
  transform: scale(1.1);
}
.float-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.float-whatsapp:hover {
  background: #128C7E;
  color: #fff;
}
.float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4757;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Toast Container --- */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}
[dir="rtl"] .toast-container {
  left: auto;
  right: 30px;
}
.toast {
  padding: 12px 24px;
  background: rgba(15,15,15,0.9);
  color: var(--gold-color);
  border: 1px solid var(--gold-color);
  border-radius: var(--radius-medium);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: start;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
.faq-answer p {
  padding-bottom: 12px;
}
.faq-item.active .faq-answer {
  max-height: 200px;
}
.faq-question svg, .faq-question i {
  transition: var(--transition-smooth);
}
.faq-item.active .faq-question svg, .faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--gold-color);
}

/* --- Footer Area --- */
.footer {
  background: #050505;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
}
[data-theme="light"] .footer {
  background: #F1F3F5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-logo img {
  height: 80px;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--gold-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  color: var(--text-muted);
}
.footer-col ul a:hover {
  color: var(--gold-color);
  padding-left: 4px;
}
[dir="rtl"] .footer-col ul a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Keyframe Animations --- */
@keyframes orbPulse {
  0% { transform: scale(0.95); opacity: 0.65; }
  100% { transform: scale(1.05); opacity: 0.95; }
}

@keyframes sphereRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes mapPulse {
  0% { r: 6; opacity: 1; }
  100% { r: 20; opacity: 0; }
}

@keyframes heroFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* --- Product Mini Cards (Related / Recent) --- */
.product-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  transition: var(--transition-smooth);
}
.product-mini-card:hover {
  border-color: var(--gold-color);
  transform: translateY(-4px);
}
.product-mini-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}
.product-mini-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 1.4em;
}
.product-mini-card .btn {
  width: 100%;
}

/* --- Media Breakpoints --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual {
    max-width: 450px;
    margin: 0 auto;
  }
  .products-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
  .gallery-container {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    order: 3;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.rating-badge-card {
  transition: var(--transition-smooth);
}
.rating-badge-card:hover {
  border-color: var(--gold-color) !important;
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}
.google-review-card {
  transition: var(--transition-smooth);
}
.google-review-card:hover {
  border-color: var(--gold-color) !important;
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
}
