/* ============================================
   KRONN — Design System & Global Styles
   Modern 2024+ Design with Lato + Poppins
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors — matching KRONN brand identity */
  --primary: #0B3D6F;
  --primary-light: #155299;
  --primary-dark: #062A4E;
  --accent: #E8A230;
  --accent-light: #F0B84D;
  --accent-dark: #CC8A1E;
  --surface: #F5F7FA;
  --card: #FFFFFF;
  --text: #1A202C;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --success: #38A169;
  --danger: #E53E3E;
  --warning: #ECC94B;

  /* Typography — Lato for body, Poppins for headings */
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows — refined for modern feel */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(11, 61, 111, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px rgba(11, 61, 111, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(232, 162, 48, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container-max: 1320px;
  --header-height: 80px;

  /* iOS Safe Areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

/* iOS Specific resets */
input,
textarea,
select,
button {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 16px;
  /* Prevent iOS auto-zoom */
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  text-align: center;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.98) translateY(0);
  transition: transform 0.1s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn.added, .btn-added {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: #fff !important;
  pointer-events: none;
  animation: btnAddedPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes btnAddedPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ---------- Nav Overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1001;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.topbar-left a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-left a:hover {
  color: var(--accent-light);
}

.topbar-left svg {
  width: 16px;
  height: 16px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-social {
  display: flex;
  gap: 0.5rem;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
}

.topbar-social a:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.topbar-social svg {
  width: 14px;
  height: 14px;
}

/* ---------- Header / Navigation ---------- */
.header {
  background: var(--card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  height: 45px !important;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  padding: 0.5rem 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-link svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -5px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.search-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition-fast);
}

.search-toggle:hover {
  background: var(--surface);
  color: var(--accent-dark);
}

.search-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 5px 0;
}

.nav-toggle span {
  width: 100%;
  height: 2.7px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 61, 111, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-overlay-inner {
  width: 90%;
  max-width: 700px;
}

.search-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.search-overlay-input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: #fff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-overlay-input:focus {
  border-color: var(--accent);
}

.search-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.search-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.search-suggestions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.search-suggestions span {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-suggestions span:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  height: 85vh;
  height: 85svh;
  /* More reliable on mobile */
  min-height: 550px;
  max-height: 800px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 61, 111, 0.88) 0%, rgba(11, 61, 111, 0.35) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-title span {
  color: var(--accent-light);
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero navigation dots */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.5);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 3;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---------- Highlights Section ---------- */
.highlights {
  background: var(--card);
  margin-top: -60px;
  position: relative;
  z-index: 5;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-2xl) var(--space-xl);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.highlight-card {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.highlight-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 15px 35px rgba(11, 61, 111, 0.2);
}

.highlight-card:hover .highlight-icon {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(232, 162, 48, 0.4);
}

.highlight-card:hover h3 {
  color: #fff;
}

.highlight-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.highlight-icon {
  transition: all var(--transition-base);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.highlight-icon svg {
  width: 28px;
  height: 28px;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.highlight-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Categories Section ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.category-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card-img {
  transform: scale(1.1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.9) 0%, transparent 60%);
  transition: background var(--transition-base);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(27, 42, 74, 0.95) 0%, rgba(27, 42, 74, 0.3) 60%);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  color: #fff;
  transform: translateY(10px);
  transition: transform var(--transition-base);
}

.category-card:hover .category-card-content {
  transform: translateY(0);
}

.category-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.category-card-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.category-card:hover .category-card-content p {
  opacity: 1;
}

.category-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.category-card:hover .category-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Featured Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* ✅ exactly 4 per row */
  gap: 24px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}


.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fdfdfd;
}

.product-card-img img {
  position: relative;
  z-index: 1;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.3rem 0.8rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.product-card-actions {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--text);
  transition: all var(--transition-fast);
}

.product-card-action:hover {
  background: var(--accent);
  color: #fff;
}

.product-card-action svg {
  width: 18px;
  height: 18px;
}

.product-card-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.product-card-category {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

/* Blog Article Body Alignment & Readability Update */
.article-body p, .article-body li, .blog-content p, .blog-content li {
  text-align: justify !important;
  color: var(--text-light) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
}

.product-card-name-top {
  padding: var(--space-md) var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-card .btn-whatsapp {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.product-card .btn-outline {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-width: 1.5px;
}

/* ---------- About / Stats Section ---------- */
.about-section {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.about-content h2 span {
  color: var(--accent-light);
}

.about-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  background: var(--accent);
  color: #fff;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-section p {
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  opacity: 0.9;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
}

.cta-buttons .btn {
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
}

.cta-buttons .btn:hover {
  background: var(--primary);
  color: #fff;
}

.cta-buttons .btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(5px);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.03);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.footer-contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.footer-contact-card .footer-contact-icon {
  margin: 0 auto var(--space-md);
  width: 50px;
  height: 50px;
}

.footer-contact-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-contact-card h4::after {
  display: none;
}

.footer-contact-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-float a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* ---------- Page Header ---------- */
.page-header {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 61, 111, 0.85), rgba(11, 61, 111, 0.7));
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--accent-light);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Products Page ---------- */
.products-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

.products-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}

.category-tree li {
  margin-bottom: 0.3rem;
}

.category-tree>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition-fast);
}

.category-tree>li>a:hover,
.category-tree>li>a.active {
  background: var(--surface);
  color: var(--accent-dark);
}

.category-tree>li>a.active {
  font-weight: 600;
  border-left: 3px solid var(--accent);
}

.subcategory-list {
  padding-left: var(--space-lg);
  display: none;
}

.subcategory-list.open {
  display: block;
}

.subcategory-list li a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.subcategory-list li a:hover,
.subcategory-list li a.active {
  color: var(--accent-dark);
  background: rgba(212, 168, 83, 0.08);
}

.products-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.products-count {
  color: var(--text-light);
  font-size: 0.95rem;
}

.products-sort select {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--card);
  cursor: pointer;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.contact-info-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-container {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- About Page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}

.about-hero-content .section-label {
  text-align: left;
}

.about-hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.about-hero-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-hero-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--space-2xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid var(--card);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-content {
  background: var(--card);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.timeline-content h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---------- Brochure Page ---------- */
.brochures-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.brochure-card {
  background: var(--card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  gap: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.brochure-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.brochure-thumb {
  width: 40px;
  height: 48px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.brochure-thumb svg {
  width: 28px;
  height: 28px;
}

.brochure-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: var(--space-lg);
}

.brochure-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0;
}

.brochure-body .btn {
  margin-top: 0 !important;
  width: auto !important;
  white-space: nowrap;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-lg);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-xl);
  margin-top: var(--space-2xl);
}

.why-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  user-select: none;
}

.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 61, 111, 0.08), rgba(232, 162, 48, 0.12));
  transition: all var(--transition-base);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0;
  flex: 1;
  text-align: left;
}

.why-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 50%;
  color: var(--text-light);
  transition: all var(--transition-base);
}

.why-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.why-card.active .why-toggle {
  background: var(--accent);
  color: #fff;
}

.why-card.active .why-toggle svg {
  transform: rotate(180deg);
}

.why-content {
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-slow);
  opacity: 0;
}

.why-card.active .why-content {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--border);
}

.why-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.why-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 12px 30px rgba(11, 61, 111, 0.12);
  transform: translateY(-4px);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.why-card:hover .why-icon svg {
  color: #fff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--primary);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 162, 48, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonials-section .section-title {
  color: #fff;
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(5px);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-stars span {
  color: var(--accent);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  font-size: 2rem;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Product Filter Tabs ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.filter-tab {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: 2px solid var(--border);
  color: var(--text-light);
  background: var(--card);
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Gallery Lightbox ---------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3500;
  background: rgba(6, 42, 78, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.gallery-lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.gallery-lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.gallery-lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.gallery-lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.gallery-lightbox-prev {
  left: 1.5rem;
}

.gallery-lightbox-next {
  right: 1.5rem;
}

.gallery-lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-heading);
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- WhatsApp Float Tooltip ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 999;
}

.whatsapp-float::before {
  content: 'Chat with us!';
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--primary);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  opacity: 1;
}

/* ---------- Catalogue CTA Strip ---------- */
.catalogue-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: var(--space-2xl) 0;
}

.catalogue-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.catalogue-strip-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.catalogue-strip-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.catalogue-strip .btn-accent {
  white-space: nowrap;
  flex-shrink: 0;
}


/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 350px;
  }

  .products-page {
    grid-template-columns: 240px 1fr;
  }

  .contact-form-section {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-image img {
    height: 350px;
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 65px;
  }

  .topbar {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card);
    flex-direction: column;
    padding: var(--space-xl) var(--space-xl) calc(var(--space-xl) + var(--safe-bottom));
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-link {
    width: 100%;
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: 70vh;
    min-height: 450px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-content {
    padding: 0 var(--space-xl);
  }

  .hero-scroll {
    display: none;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    top: auto;
    bottom: 1rem;
    transform: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .hero-dots {
    bottom: 1.2rem;
  }

  .hero-arrow-prev {
    left: 1rem;
  }

  .hero-arrow-next {
    right: 1rem;
  }

  .hero-arrow:hover {
    transform: scale(1.1);
  }

  .hero-content {
    padding: 0 var(--space-xl);
    padding-bottom: 4rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .highlights {
    margin-top: -40px;
    margin-left: var(--space-md);
    margin-right: var(--space-md);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .section-title {
    font-size: 1.8rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 250px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .product-card-img {
    height: 180px;
  }

  .product-card-body {
    padding: var(--space-md);
  }

  .product-card-name {
    font-size: 0.95rem;
  }

  .product-card-footer {
    flex-direction: column;
    gap: 0.4rem;
  }

  .product-card-footer .btn {
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer h4::after {
    margin: 0.5rem 0 0;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-contact li {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .products-page {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    position: static;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    margin-left: 0;
  }

  .timeline-item .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }

  .gallery-grid {
    columns: 2;
  }

  .whatsapp-float a {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .search-overlay-input {
    font-size: 1rem;
    padding: 1rem;
  }


  .back-to-top {
    bottom: calc(80px + var(--safe-bottom));
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
  }

  .hero-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
  }

  .hero-description {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: var(--space-md) !important;
  }

  .hero-content {
    padding: 0 var(--space-md) !important;
    padding-bottom: 3.5rem !important;
  }

  .hero {
    min-height: 400px;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
    bottom: 0.8rem;
  }

  .hero-arrow svg {
    width: 16px;
    height: 16px;
  }

  .hero-dots {
    bottom: 1rem;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .highlights {
    padding: var(--space-md);
  }

  .about-section h2 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.4rem !important;
  }

  .section-subtitle {
    font-size: 0.85rem !important;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 1;
  }

  .brochures-grid {
    flex-direction: column;
  }

  .brochure-card {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .brochure-body {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-section p {
    font-size: 0.9rem;
  }

  .catalogue-strip-text h3 {
    font-size: 1.1rem;
  }

  .catalogue-strip-text p {
    font-size: 0.85rem;
  }
}

/* Side by Side Form & Info */
.contact-main-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: stretch;
  margin-top: var(--space-2xl);
  position: relative;
}

@media (min-width: 993px) {
  /* Keep standard card styles but side-by-side */
}

.contact-side-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-side-info .contact-info-card {
  padding: var(--space-lg);
  display: flex;
  text-align: left;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
}

.contact-side-info .contact-info-icon {
  margin: 0;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.contact-side-info .contact-info-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.contact-side-info .contact-info-card p {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .contact-main-split {
    grid-template-columns: 1fr;
  }

  .contact-side-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Side by Side Form & Map (Old) */
.contact-form-map-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
  margin-top: var(--space-3xl);
}

.contact-form-map-grid .form-card {
  margin: 0 !important;
  height: 100%;
}

.contact-form-map-grid .map-container {
  margin: 0 !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  box-shadow: var(--shadow-lg);
}

.contact-form-map-grid .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 992px) {
  .contact-form-map-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-map-grid .map-container {
    min-height: 400px;
  }
}

/* ============================================
   SEO & Responsiveness Enhancements (Advanced)
   ============================================ */
@media (max-width: 768px) {

  /* Increase touch targets for mobile */
  .btn {
    padding: 0.85rem 1.5rem;
    margin-bottom: 0.5rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  /* Stabilize font sizes for better mobile readability */
  .hero-title {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-description {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }

  h1,
  h2,
  h3 {
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Prevent horizontal overlap in highlights */
  .highlights-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .highlight-card {
    padding: 1.5rem !important;
  }
}

/* Base improvement for spacing */
.hero-buttons {
  flex-wrap: wrap;
  gap: 1.2rem;
}




/* ---------- Footer Product Categories ---------- */
.footer-categories {
  padding-bottom: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.footer-cat-card {
  background: rgba(255, 255, 255, 0.03);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.footer-cat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.footer-cat-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 162, 48, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.footer-cat-card:hover .footer-cat-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-10deg) scale(1.1);
}

.footer-cat-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.footer-cat-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-categories-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide Eye Icon from Product Cards */
.product-card-actions {
  display: none !important;
}

@media (max-width: 900px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   GLOBAL FONT SIZE OVERRIDES (USER REQUESTED)
   ============================================ */

/* Uniform Main Title Size (For h1, h2 and main section headings) */
h1, h2, 
.section-title, 
.hero-title, 
.page-header h1, 
.page-header-title,
.product-title, 
.about-content h2,
.blog-content h1,
.blog-content h2 {
  font-size: 2.2rem !important;
  line-height: 1.3 !important;
}

/* Uniform Body Size */
body,
p, 
.section-subtitle, 
.hero-description, 
.text-content, 
.why-content p, 
.testimonial-text, 
.footer-cat-card p, 
.footer-contact-card p, 
.blog-content p, 
.contact-info p,
.highlight-card p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Mobile Responsiveness for Uniform Sizes */
@media (max-width: 768px) {
  /* Smaller uniform size for titles on mobile */
  h1, h2, 
  .section-title, 
  .hero-title, 
  .page-header h1, 
  .page-header-title,
  .product-title, 
  .about-content h2,
  .blog-content h1,
  .blog-content h2 {
    font-size: 1.6rem !important;
  }
  
  /* Body size on mobile */
  body,
  p, 
  .section-subtitle, 
  .hero-description, 
  .text-content, 
  .why-content p, 
  .testimonial-text, 
  .footer-cat-card p, 
  .footer-contact-card p, 
  .blog-content p, 
  .contact-info p,
  .highlight-card p {
    font-size: 0.95rem !important;
  }
}

/* ---------- Image Lightbox Modal ---------- */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: lightboxFadeIn 0.3s ease;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 4px solid #fff;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -20px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3.5rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--accent-light);
}

@media (max-width: 768px) {
  .image-lightbox-modal {
    padding: 1rem;
  }
  .lightbox-close {
    top: -60px;
    right: 0;
  }
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Dynamic Catalog Styles ---------- */
#products-ajax-container {
  transition: opacity 0.3s ease;
}

.subcategory-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 15px;
}

.subcategory-list.open {
  max-height: 500px; /* Large enough to fit content */
  margin-top: 5px;
  margin-bottom: 10px;
}

.category-link {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.category-item.active > h3 .toggle-icon {
  color: var(--primary);
}

.ajax-link.active {
  color: var(--primary) !important;
  font-weight: 700;
}

.product-card.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.product-card.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Brochures Page ---------- */
.brochures-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.brochure-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.brochure-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.brochure-thumb {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(30, 64, 175, 0.08);
  border-radius: var(--radius-md);
  padding: 8px;
}

.brochure-thumb svg {
  width: 100%;
  height: 100%;
  stroke: #1e40af;
}

.brochure-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-width: 0;
}

.brochure-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brochure-body .btn {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .brochure-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }
  .brochure-body {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    width: 100%;
  }
  .brochure-body .btn {
    width: 100%;
    justify-content: center;
  }
  .brochure-body h3 {
    white-space: normal;
    font-size: 0.95rem;
  }
}

/* ═══════════════════════════════════════════
   GALLERY MODAL (ZOOM EFFECT)
   ═══════════════════════════════════════════ */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.gallery-modal-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-modal.active .gallery-modal-img {
  transform: scale(1);
  opacity: 1;
}

.gallery-modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: white;
  font-size: 32px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 10000;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.gallery-modal-close:hover {
  transform: scale(1.1);
  background: var(--accent);
  color: white;
}

@media (max-width: 768px) {
  .gallery-modal-close {
    top: -50px;
    right: 0;
  }
}


/* ═══════════════════════════════════════════
   FINAL RESPONSIVENESS & INTERACTION FIXES
   ═══════════════════════════════════════════ */

/* ---------- Global Layout FIXes ---------- */

/* ═══════════════════════════════════════════
   FINAL RESPONSIVENESS & INTERACTION FIXES
   ═══════════════════════════════════════════ */

/* ---------- Global Layout FIXes ---------- */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.container {
  width: 100% !important;
  max-width: var(--container-max);
  padding: 0 var(--space-md) !important;
  box-sizing: border-box;
}

/* ---------- Nav Overlay (Backdrop) ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Much darker for focus */
  backdrop-filter: blur(8px);
  z-index: 1500; /* Above header background but below nav */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- Header & Mobile Navigation ---------- */
.header .container {
  position: relative;
}

@media (max-width: 1024px) {
  /* Critical: Hide the desktop menu properly */
  .nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    height: 100vh !important;
    background: var(--card) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 120px 40px !important; /* Extra top padding for brand space */
    gap: 1.5rem !important;
    box-shadow: -15px 0 45px rgba(0,0,0,0.2) !important;
    z-index: 2000 !important; /* Stay on top */
    margin-left: 0 !important;
    display: flex !important;
    
    /* THE FIX: Use Transform for Visibility */
    transform: translateX(105%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    visibility: hidden;
  }

  .nav.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    padding: 15px 0 !important;
    width: 100% !important;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start !important;
    color: var(--primary) !important;
  }

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

  .nav-toggle {
    display: flex !important;
    z-index: 2100 !important; /* Above the nav drawer */
    position: relative;
    cursor: pointer;
  }
  
  .logo img {
    height: 38px !important;
  }

  .header-actions {
    gap: 0.5rem !important;
  }
}

/* ---------- Page Specific Fixes ---------- */

/* Products Page Stacking */
@media (max-width: 992px) {
  .products-page {
    flex-direction: column !important;
  }
  
  .products-sidebar {
    width: 100% !important;
    position: static !important;
    margin-bottom: 2rem;
  }
  
  .sidebar-whatsapp-cta {
    display: none !important;
  }
}

/* Gallery & Product Grid Stack */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.8rem !important;
  }
  
  .gallery-grid, .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
  }

  .logo-text {
    font-size: 1.3rem !important;
    letter-spacing: 2px !important;
  }
}

/* Footer Improvements */
@media (max-width: 768px) {
  .footer-categories-grid, 
  .footer-contact-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  
  .footer-cat-icon, 
  .footer-contact-icon {
    margin: 0 auto 1rem !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Multimedia constraints */
img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}
