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

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  --primary: #D90429; /* Crimson deep red */
  --primary-hover: #B30320;
  --primary-light: #EF233C; /* Bright light red */
  --primary-rgb: 217, 4, 41;
  --primary-light-rgb: 239, 35, 60;
  
  --secondary: #2B2D42; /* Dark charcoal/navy */
  --secondary-hover: #1E2030;
  
  --text-dark: #2B2D42;
  --text-muted: #8D99AE;
  --text-light: #EDF2F4;
  
  --bg-body: #EDF2F4; /* Ice White/Light-grey background */
  --bg-white: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-dark: #2B2D42;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --gradient-red: linear-gradient(135deg, #D90429 0%, #EF233C 100%);
  --gradient-red-soft: linear-gradient(135deg, rgba(217, 4, 41, 0.08) 0%, rgba(239, 35, 60, 0.04) 100%);
  
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;
  
  --border-color: rgba(141, 153, 174, 0.25);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 15px rgba(43, 45, 66, 0.03);
  --shadow-md: 0 10px 30px rgba(43, 45, 66, 0.06);
  --shadow-lg: 0 20px 40px rgba(43, 45, 66, 0.08);
  --shadow-red: 0 8px 20px rgba(217, 4, 41, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 60px;
  --radius-xxl: 80px; /* Massive curve for main blocks */
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* html clips horizontal overflow without creating a scroll container */
html {
  overflow-x: clip;
  overflow-y: auto;
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
}

/* body must NOT have overflow-x set � doing so auto-promotes
   overflow-y to 'auto', creating a SECOND scroll container
   that fights html and causes double scrollbars + stuck scroll */
body {
  overflow: visible;
  max-width: 100%;
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
}

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

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

/* --- UTILITIES --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.section-title-wrapper {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: none; /* Premium title case */
  margin-bottom: 0.75rem;
  letter-spacing: -0.8px;
  color: var(--secondary);
}

.section-title span {
  color: inherit;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- STRUCTURAL CURVED BLOCKS --- */
.top-curved-block {
  background-color: var(--bg-white);
  border-radius: 0 0 var(--radius-xxl) var(--radius-xxl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.bottom-curved-block {
  background-color: var(--bg-white);
  border-radius: var(--radius-xxl) var(--radius-xxl) 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
  margin-top: 3rem;
  padding-top: 2rem;
}

/* Remove dark section completely */
.bg-dark-section {
  background-color: var(--bg-white); /* Fallback if still used */
  color: var(--text-dark);
}

.bg-dark-section h1, 
.bg-dark-section h2, 
.bg-dark-section h3, 
.bg-dark-section h4 {
  color: var(--secondary);
}

/* --- RESPONSIVE GRIDS --- */
.grid-2col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full); /* Crisp pill shape */
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--bg-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 4, 41, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--gradient-red);
  color: var(--bg-white);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.btn-white:hover {
  background-color: var(--bg-body);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--bg-white);
  font-weight: 700;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--bg-white);
  font-weight: 600;
  border: none;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(141, 153, 174, 0.2);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  padding: 0 1.5rem;
}

.header.scrolled {
  top: 0.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border-color: rgba(141, 153, 174, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 63px;
}

.header-action-desktop {
  display: block;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
  text-transform: none;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 0.15rem;
}

.logo-img {
  height: 51px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo-img:hover {
  transform: scale(1.03);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

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

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

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  visibility: hidden;
  transition: right var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav-drawer.open {
  right: 0;
  visibility: visible;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

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

.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--secondary);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.20) 45%,
      rgba(0, 0, 0, 0.50) 100%
    ),
    linear-gradient(135deg, rgba(217, 4, 41, 0.52) 0%, rgba(239, 35, 60, 0.52) 100%),
    url('../assets/shop_interior.webp') center center / cover no-repeat;
  color: var(--bg-white);
  padding: 11rem 0 8rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  /* Flat top, curved bottom */
  border-radius: 0 0 80px 80px;
  margin-bottom: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bg-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: rgba(255, 255, 255, 0.95);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 680px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-image-container {
  width: 90%;
  max-width: 960px;
  margin: 3rem auto 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  border-bottom: none;
  overflow: hidden;
  display: flex;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.hero-image-container:hover {
  transform: translateY(-2px);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: block;
}

.stats-floating-row {
  margin-top: -4rem;
  position: relative;
  z-index: 30; /* Higher than hero's z-index 20 */
  margin-bottom: 6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

/* Every 3rd stat card gets the dark #2B2B2F treatment */
.stat-card:nth-child(3) {
  background-color: #2B2B2F;
  border-color: rgba(255,255,255,0.06);
}
.stat-card:nth-child(3) h3 {
  color: var(--primary-light);
}
.stat-card:nth-child(3) p {
  color: rgba(255,255,255,0.75);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.stat-card h3 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* --- TRUST BADGES --- */
.badges-section {
  background-color: var(--bg-white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.badge-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.badge-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- PRODUCT TYPES (LARGE CARDS) --- */
.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.type-card {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  min-height: 360px;
}

.type-card-body, .type-card-img-wrapper {
  position: relative;
  z-index: 1;
}

/* Colored accent top-bar per card */
.type-card::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--gradient-red);
  width: 100%;
  flex-shrink: 0;
  transition: height var(--transition-normal);
  position: relative;
  z-index: 2;
}

.type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(217, 4, 41, 0.25);
  border-color: rgba(217, 4, 41, 0.7);
}
.type-card:hover::before {
  height: 7px;
  box-shadow: 0 0 15px var(--primary);
}

/* Card body padding wrapper */
.type-card-body {
  padding: 2rem 2rem 0 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Segment number badge */
.type-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.type-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.type-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.type-card-img-wrapper {
  margin-top: auto;
  text-align: right;
  width: 100%;
  overflow: hidden;
  padding-right: 1rem;
}

.type-card img {
  max-height: 175px;
  width: auto;
  object-fit: contain;
  transform: scale(1.05) translateX(12px) translateY(8px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.08));
}

.type-card:hover img {
  transform: scale(1.12) translateX(6px) translateY(2px);
}

/* --- PART CATEGORIES GRID (PREMIUM CARD LAYOUT) --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(219, 4, 41, 0.03) 0%, rgba(239, 35, 60, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(217, 4, 41, 0.08);
  border-color: rgba(217, 4, 41, 0.25);
}

.category-icon-box {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: rgba(217, 4, 41, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  border: 1px solid rgba(217, 4, 41, 0.1);
}

.category-card:hover .category-icon-box {
  background: var(--gradient-red);
  color: var(--bg-white);
  transform: scale(1.08) rotate(5deg);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.3);
}

.category-info {
  flex: 1;
  min-width: 0;
  z-index: 2;
}

.category-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.3rem;
  transition: color var(--transition-fast);
}

.category-card:hover .category-info h4 {
  color: var(--primary);
}

.category-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-card .arrow-icon {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all var(--transition-normal);
  margin-left: auto;
  flex-shrink: 0;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
}

.category-card:hover .arrow-icon {
  color: var(--bg-white);
  background-color: var(--primary);
  border-color: transparent;
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .category-card {
    padding: 1.25rem 1.1rem;
    gap: 1rem;
  }
  .category-icon-box {
    width: 46px;
    height: 46px;
    min-width: 46px;
    font-size: 1.2rem;
  }
  .category-info h4 {
    font-size: 0.9rem;
  }
  .category-info p {
    display: none;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .category-info p {
    display: block;
  }
}

/* --- BRANDS IN HOME --- */
/* --- CATEGORY POPUP MODAL --- */
.cat-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cat-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cat-popup-modal {
  position: relative;
  width: 92%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

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

.cat-popup-texture {
  position: absolute;
  inset: 0;
  background-color: #1a1d20;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 16px 16px;
  z-index: 0;
}

.cat-popup-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%, rgba(var(--primary-rgb), 0.05) 100%);
}

.cat-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.85rem;
}

.cat-popup-close:hover {
  background: rgba(var(--primary-rgb), 0.25);
  color: white;
  border-color: rgba(var(--primary-rgb), 0.4);
}

.cat-popup-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  text-align: center;
}

.cat-popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #c0161d);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
  animation: popupIconPulse 2s ease-in-out infinite;
}

@keyframes popupIconPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35); }
  50% { box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.55); }
}

.cat-popup-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.cat-popup-content p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cat-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-popup.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  border: none;
}

.btn-popup.btn-whatsapp:hover {
  background-color: #1fa855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-popup.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

@media (max-width: 480px) {
  .cat-popup-content {
    padding: 2.5rem 1.5rem;
  }
  .cat-popup-content h3 {
    font-size: 1.25rem;
  }
  .btn-popup {
    padding: 0.9rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* --- BRANDS IN HOME (continued) --- */
.brands-row-wrapper {
  overflow: hidden;
  padding: 1.5rem 0;
  background-color: var(--bg-white);
  /* borders removed per user request */
  position: relative;
}

.brands-scroller {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollBrands 35s linear infinite;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 280px;
  height: 160px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.brand-logo-item:hover {
  opacity: 1;
}

.brand-logo-img {
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.4;
  transition: all var(--transition-fast);
}

.brand-logo-item:hover .brand-logo-img {
  opacity: 0.85;
  transform: scale(1.05);
}

.brand-logo-item span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- FEATURED PRODUCTS --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-image-container {
  height: 200px;
  background: radial-gradient(circle, #fcfcfc 0%, #ececec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.product-image-placeholder {
  font-size: 4rem;
  color: #c9c9c9;
  transition: transform var(--transition-normal);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 10;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover .product-image-placeholder {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.product-sku {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* --- BANNER COVER IN ABOUT / OTHER PAGES --- */
.page-banner {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 30%, rgba(var(--primary-rgb), 0.35) 100%);
  color: var(--bg-white);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-banner.banner-about {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.88) 30%, rgba(var(--primary-rgb), 0.3) 100%),
              url('../assets/about us/hero.webp') center/cover no-repeat;
}

.page-banner.banner-catalog {
  background: linear-gradient(135deg, rgba(15, 15, 20, 0.85) 0%, rgba(217, 4, 41, 0.6) 100%),
              url('../assets/catalog/heroimg.webp') center/cover no-repeat;
  border-bottom: 2px solid rgba(217, 4, 41, 0.5);
}

.page-banner.banner-brands {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.88) 30%, rgba(var(--primary-rgb), 0.3) 100%),
              url('../assets/banner-brands.webp') center/cover no-repeat;
}

.page-banner.banner-contact {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.88) 30%, rgba(var(--primary-rgb), 0.3) 100%),
              url('../assets/banner-contact.webp') center/cover no-repeat;
}

.page-banner h1 {
  color: var(--bg-white);
  font-size: 2.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

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

/* --- ABOUT PAGE SPECIFICS --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-box .illustration-box {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: radial-gradient(circle, #25282c 0%, #121517 100%);
  border: 1px solid var(--border-color-dark);
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  text-align: center;
  padding: 2rem;
}

.about-img-box::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 8px solid var(--primary);
  border-left: 8px solid var(--primary);
  border-radius: var(--radius-sm) 0 0 0;
  z-index: -1;
}

.about-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-feature-item i {
  color: var(--primary);
}

/* --- CATALOG SEARCH & CALLOUTS --- */
.catalog-search-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  background-color: var(--bg-white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.catalog-search-container .search-icon {
  color: var(--text-muted);
  font-size: 1rem;
}

.catalog-search-container .search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
}

.sidebar-callout {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  text-align: center;
  margin-top: 1.5rem;
}

/* --- CATALOG / BRAND FILTERS --- */
.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.sidebar-filters {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.sidebar-filters::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../assets/widget_engine.webp');
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.sidebar-filters > * {
  position: relative;
  z-index: 1;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-dark);
}

.filter-btn:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.filter-btn.active {
  background-color: rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  font-weight: 700;
}

.filter-btn span.count {
  background-color: var(--bg-light);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.filter-btn.active span.count {
  background-color: var(--primary);
  color: var(--bg-white);
}

/* --- BRANDS PAGE GRID --- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.brand-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 0;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.brand-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
  position: relative;
  overflow: hidden;
}

/* Stamped Logo Watermarks */
.brand-card::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 220px;
  height: 220px;
  opacity: 0.04;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: rotate(-15deg);
  pointer-events: none;
  filter: grayscale(100%);
}
.brand-card:nth-child(1)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/toyota.svg'); }
.brand-card:nth-child(2)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/nissan.svg'); }
.brand-card:nth-child(3)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/hyundai.svg'); }
.brand-card:nth-child(4)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/kia.svg'); }
.brand-card:nth-child(5)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/renault.svg'); }
.brand-card:nth-child(6)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/suzuki.svg'); }
.brand-card:nth-child(7)::before { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/mitsubishi.svg'); }
.brand-card:nth-child(8)::before { background-image: url('../assets/brands/MG.webp'); }

/* Ensure contents sit above the texture */
.brand-card > * {
  position: relative;
  z-index: 1;
}

.brand-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.brand-card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--primary-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card-icon-box svg {
  width: 36px;
  height: 36px;
  fill: var(--primary);
}

.brand-card-title h3 {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-card-title p {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.brand-card p.description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.brand-card-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.brand-card-spec-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
  align-items: flex-start;
}

.brand-card-spec-item span:first-child {
  color: var(--text-muted);
}

.brand-card-spec-item span:last-child {
  font-weight: 700;
  color: var(--secondary);
  text-align: left;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* --- CONTACT PAGE --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3.5rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.contact-detail-card:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.contact-detail-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-detail-content a {
  display: block;
  font-weight: 600;
  color: var(--secondary);
}

.contact-detail-content a:hover {
  color: var(--primary);
}

.whatsapp-agents {
  margin-top: 1rem;
}

.whatsapp-agents h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.whatsapp-agent-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.whatsapp-agent-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.whatsapp-agent-card:hover {
  border-color: var(--whatsapp);
  box-shadow: var(--shadow-sm);
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.agent-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.agent-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #28a745;
  font-weight: 600;
  font-size: 0.75rem;
  background-color: rgba(40, 167, 69, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Contact Form */
.contact-form-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  border-top: 5px solid var(--primary);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Lead Form Wrapper */
.lead-form-wrapper {
  max-width: 850px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lead-form-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.lead-form-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.lead-form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.lead-form .form-group label i {
  color: var(--primary);
  margin-right: 0.35rem;
  width: 16px;
}

.lead-form-actions {
  margin-top: 2rem;
  text-align: center;
}

.lead-form-actions .btn-lg {
  padding: 1.1rem 3rem;
  font-size: 1rem;
}

.form-disclaimer {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-disclaimer i {
  margin-right: 0.3rem;
  color: var(--primary);
}

/* Contact Grid Bottom */
.contact-grid-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}

.contact-whatsapp-section h3 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-store-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Dark card variant */
.contact-detail-card.dark-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-detail-card.dark-card .contact-detail-content h4 {
  color: white;
}

.contact-detail-card.dark-card .contact-detail-content p,
.contact-detail-card.dark-card .contact-detail-content a {
  color: rgba(255, 255, 255, 0.65);
}

.contact-detail-card.dark-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  background-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .lead-form-wrapper {
    padding: 2rem 1.25rem;
  }
  .lead-form-header h2 {
    font-size: 1.5rem;
  }
  .contact-grid-bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .lead-form-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
  .lead-form-actions .btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    width: 100%;
  }
}

/* Styled Map Placeholder */
.map-container {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 400px;
  position: relative;
  background-color: #e5e3df;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--secondary);
  padding: 2rem;
  background: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(240,240,240,0.95) 100%), url('https://api.mapbox.com/styles/v1/mapbox/streets-v11/static/55.390,25.335,13,0/1200x400?access_token=mock') center/cover;
}

.map-pin {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: var(--shadow-red);
  margin-bottom: 1.5rem;
  animation: bounce 2s infinite;
}

.map-pin i {
  transform: rotate(45deg);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(-10px) rotate(-45deg); }
}

.map-card {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 350px;
}

.map-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.map-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 8rem 0 3rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-column h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-about p {
  font-size: 0.95rem;
  margin-top: 1.5rem;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.25rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--secondary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.success-modal {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
  transition: all var(--transition-normal);
}

.modal-overlay.active .success-modal {
  transform: translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.success-modal p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  html { font-size: 14.5px; }
  .grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .grid-3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .grid-4col {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .contact-layout {
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.5rem;
  }
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .sidebar-filters {
    position: static;
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
    box-shadow: none;
  }
  .sidebar-filters .filter-group {
    margin-bottom: 0;
  }
  .sidebar-filters .filter-title {
    display: none;
  }
  .sidebar-callout {
    display: none;
  }
  .filter-options {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem 0.75rem;
    scrollbar-width: none;
  }
  .filter-options::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
  }
  .filter-btn.active {
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root, html {
    --radius-xxl: 24px; /* Slight section curve instead of huge 80px capsule curve */
    --radius-xl: 18px;
    --radius-lg: 16px;  /* Slighter card curve */
    --radius-md: 12px;
    --radius-sm: 6px;
  }

  html { font-size: 12px; }
  
  .header {
    top: 0.5rem;
    width: calc(100% - 1rem);
  }
  .header-container { height: 53px; }
  .logo-img { height: 41px; }
  .nav-list { display: none; }
  .mobile-nav-toggle { display: block; }
  .header-action-desktop { display: none; }
  
  .hero { padding: 8rem 0 6rem 0; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-title { font-size: 2.8rem; }
  .hero-ctas { justify-content: center; }
  
  .hero-search-box { flex-direction: column; gap: 0.5rem; padding: 0.5rem; background: transparent; box-shadow: none; border: none; }
  .hero-search-box input { background: var(--bg-white); border-radius: var(--radius-md); padding: 1rem; border: 1px solid var(--border-color); }
  .hero-search-box button { padding: 1rem; border-radius: var(--radius-md); }
  
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 1.85rem; }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
  .stat-card {
    padding: 1.25rem 0.5rem;
    border-radius: var(--radius-md);
  }
  .stat-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
  }
  .stat-card p {
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about-img-box img {
    max-height: 250px;
    width: auto;
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .type-card {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }
  .type-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .type-card p {
    display: none;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }
  .form-group.full-width { grid-column: span 1; }
  .contact-form-card { padding: 1.5rem; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .whatsapp-agent-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }
  .whatsapp-agent-card > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 10.5px; }
  
  .header-container { height: 48px; }
  .logo-img { height: 35px; }
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-subtitle {
    font-size: 0.5rem;
  }
  
  .hero-title { font-size: 2.4rem; }
  .success-modal { padding: 2rem; }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .stat-card {
    padding: 1rem 0.25rem;
  }
  .stat-card h3 {
    font-size: 1.2rem;
  }
  .stat-card p {
    font-size: 0.6rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-card {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .map-container {
    height: 250px;
    margin-top: 2rem;
  }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
.reveal-visible {
    opacity: 1;
    transform: none;
  }

/* Delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }


/* --- FLOATING MAP WIDGET --- */
.floating-map-widget {
  position: fixed;
  bottom: 105px;
  right: 35px; /* Centered above the 60px whatsapp button */
  z-index: 9998;
}

.map-trigger-btn {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(227, 27, 35, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.map-trigger-btn:hover {
  background-color: var(--secondary);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

/* --- FLOATING WHATSAPP CHAT WIDGET --- */
.whatsapp-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.whatsapp-trigger-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: #ff3333;
  border: 2px solid var(--bg-white);
  border-radius: 50%;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
}

.whatsapp-chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-chat-header {
  background-color: var(--whatsapp-hover);
  color: var(--bg-white);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-chat-header i.brand-icon {
  font-size: 2.2rem;
}

.whatsapp-chat-header-info h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 700;
}

.whatsapp-chat-header-info p {
  font-size: 0.75rem;
  opacity: 0.9;
}

.whatsapp-chat-body {
  padding: 1.25rem;
  background-color: #f5f7f9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
}

.whatsapp-chat-body p.intro-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.25rem;
}

.whatsapp-chat-agent {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.whatsapp-chat-agent:hover {
  border-color: var(--whatsapp);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.agent-avatar.agent-green { background-color: var(--whatsapp); }
.agent-avatar.agent-orange { background-color: #ff9900; }
.agent-avatar.agent-blue { background-color: #0052cc; }

.agent-details h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

.agent-details p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.agent-status-dot {
  width: 8px;
  height: 8px;
  background-color: #28a745;
  border-radius: 50%;
  position: relative;
}

.agent-status-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid #28a745;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
  opacity: 0.4;
}

@keyframes pulseDot {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* --- UAE DELIVERY & COVERAGE SECTION --- */
.delivery-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 1.5rem;
  align-items: center;
}

.delivery-map-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.delivery-map-card h3 {
  color: var(--text-dark);
}

.delivery-map-card i.delivery-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.delivery-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.timeline-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-normal);
  text-align: left;
}

.timeline-item:hover {
  transform: translateX(5px);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.timeline-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.timeline-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--text-dark);
}

.timeline-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --- ABOUT SECTION BACKGROUND --- */
.about-section-bg {
  background-color: var(--bg-white);
}
.about-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(43, 43, 47, 0.6)),
    url('../assets/Sharjah\'s Premier Automotive Wholesale.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 1;
  border-radius: inherit;
}
.about-text {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.about-text h2,
.about-text p,
.about-text span {
  position: relative;
  z-index: 2;
}

/* --- BENTO GRID (WHY CHOOSE US) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Large card: spans 2 cols and 2 rows */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem;
  min-height: 260px;
}

/* Medium card: spans 1 col, normal height */
.bento-medium {
  grid-column: span 1;
  grid-row: span 2;
}

/* Small card: 1 col, 1 row */
.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Wide card: spans 3 cols */
.bento-wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
}
.bento-wide h3 {
  flex-shrink: 0;
}
.bento-wide p {
  flex: 1;
}

/* Color variants */
.bento-red {
  background: var(--gradient-red);
  color: white;
  box-shadow: var(--shadow-red);
}
.bento-red h3 { color: white; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.bento-red p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.6; }

.bento-white {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.bento-white h3 { color: var(--secondary); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; }
.bento-white p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.bento-dark {
  background-color: var(--secondary);
  color: white;
}
.bento-dark h3 { color: white; font-size: 1.25rem; font-weight: 700; }
.bento-dark p { color: rgba(255,255,255,0.72); font-size: 0.9rem; line-height: 1.6; }

/* Dark card with faded image overlay */
.bento-img-bg {
  background-image: url('../assets/about us/demo.webp');
  background-size: cover;
  background-position: center;
}
.bento-img-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(43, 45, 66, 0.88);
  border-radius: inherit;
  z-index: 0;
}
.bento-img-bg > * { position: relative; z-index: 1; }

/* Icons */
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}
.bento-icon-dark {
  background: var(--gradient-red-soft);
  border: 1px solid rgba(217,4,41,0.12);
  color: var(--primary);
}

/* Stats inside large card */
.bento-stat-row {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: auto;
}
.bento-stat span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.bento-stat small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA button inside bento */
.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background-color: var(--whatsapp);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.bento-cta:hover {
  background-color: var(--whatsapp-hover);
}

/* Bento responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large { grid-column: span 2; grid-row: span 1; min-height: auto; }
  .bento-medium { grid-column: span 1; grid-row: span 1; }
  .bento-wide { grid-column: span 2; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .bento-large { grid-column: span 2; grid-row: span 1; padding: 1.5rem; }
  .bento-medium { grid-column: span 1; grid-row: span 1; padding: 1.25rem; }
  .bento-small { padding: 1rem; }
  .bento-wide { grid-column: span 2; flex-direction: column; padding: 1.25rem; gap: 0.75rem; }
  .bento-red h3, .bento-dark h3 { font-size: 1.1rem; }
  .bento-white h3 { font-size: 1rem; }
  .bento-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .bento-stat span { font-size: 1.5rem; }
  .bento-stat-row { gap: 1rem; padding-top: 1rem; }
  .bento-cta { font-size: 0.8rem; padding: 0.6rem 1rem; }
}

/* --- WHY CHOOSE US SECTION --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-red-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.why-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.5px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- SERVICES SECTION --- */
/* --- B2B SERVICES / CAPABILITIES SECTION --- */
.b2b-section-bg {
  position: relative;
  overflow: hidden;
  padding-bottom: 10rem !important; /* Extra padding to prevent overlapping section from squishing content */
}
.b2b-section-bg .b2b-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%),
    url('../assets/about_hero.webp');
  background-size: cover;
  background-position: center;
  opacity: 1; /* High visibility */
  z-index: 0;
  border-radius: inherit;
}
.b2b-section-bg > .container {
  position: relative;
  z-index: 1;
}
.b2b-section-bg .section-subtitle {
  color: #111111 !important;
  font-weight: 600;
  opacity: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.service-card {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-card h3 {
  color: var(--secondary);
}
.service-card p {
  color: #111111;
  font-weight: 600;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.95);
}
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(217, 4, 41, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.5px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CONTACT / INQUIRY FORM SECTION (WHITE BG, RED FORM BOX) --- */
.contact-red-section {
  background: var(--bg-white) !important;
  position: relative;
  overflow: hidden;
}
.contact-red-section::before {
  content: none;
}
.contact-red-section > .container {
  position: relative;
  z-index: 1;
}
.contact-red-section .section-title { color: var(--secondary); }
.contact-red-section .section-title span { color: var(--primary); }
.contact-red-section .section-subtitle { color: var(--text-muted); }

/* --- CTA RED SECTION (RED BG) --- */
.cta-red-section {
  background: var(--gradient-red) !important;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-red-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 100%);
  z-index: 0;
}
.cta-red-section > .container {
  position: relative;
  z-index: 1;
}

/* RED form box - only the form is red */
.contact-form-glass {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  }
  .contact-form-glass label {
    display: block;
    font-weight: 600;
    color: #111 !important;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  .contact-form-glass .form-control {
    background: #f8f9fa;
    border: 1px solid #ddd !important;
    color: #111 !important;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .contact-form-glass .form-control::placeholder {
    color: #888;
  }
  .contact-form-glass .form-control:focus {
    background: #ffffff;
    border-color: #25D366 !important;
  }

/* #2B2B2F dark side boxes */
.contact-side-glass {
  background: #2B2B2F !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.contact-side-glass h4 {
  color: white !important;
}
.contact-side-glass p, .contact-side-glass li {
  color: rgba(255,255,255,0.72) !important;
}
.contact-side-glass i.fas {
  color: rgba(255,255,255,0.85) !important;
}

/* --- PROCESS SECTION BACKGROUND & OVERLAYS --- */
.process-section-bg {
  position: relative;
  background-color: #2B2B2F; /* Ensure it falls back to a dark color */
}
.process-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(43, 43, 47, 0.6)),
    url('../assets/partner-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
  border-radius: inherit;
}
/* Force white text in the Partner section because of dark background */
.process-section-bg .section-title,
.process-section-bg .section-title span,
.process-section-bg .section-subtitle,
.process-section-bg h3,
.process-section-bg p {
  color: var(--bg-white) !important;
}
.process-section-bg .section-subtitle {
  opacity: 0.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

/* Convert process cards to glassmorphism */
.process-card {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}
.process-card:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Alternate process cards get slightly darker tint */
.process-card:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.2);
}
.process-card:nth-child(even):hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.process-card:nth-child(even) .process-number {
  border-color: #2B2B2F;
}
.process-card:nth-child(even) h3 {
  color: white;
}
.process-card:nth-child(even) p {
  color: rgba(255,255,255,0.65);
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.process-number {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: var(--bg-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-body);
  box-shadow: var(--shadow-sm);
}
.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}
.process-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.stars {
  color: #e10600;
  font-size: 1rem;
  display: flex;
  gap: 0.25rem;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.6;
  font-style: italic;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}
.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-body);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1.5px solid var(--border-color);
}
.reviewer-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}
.reviewer-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- RESPONSIVE MEDIA QUERIES FOR NEW SECTIONS --- */
@media (max-width: 1024px) {
  .why-grid, .services-grid, .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .why-card {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
    border-radius: var(--radius-md);
  }
  .why-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .why-card h3 {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .why-card p {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .service-card {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
    border-radius: var(--radius-md);
  }
  .service-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .service-card h3 {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .service-card p {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .testimonial-card {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
    border-radius: var(--radius-md);
  }
  .stars {
    font-size: 0.65rem;
    gap: 0.1rem;
    justify-content: center;
  }
  .testimonial-text {
    font-size: 0.65rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.9em;
  }
  .reviewer-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  .reviewer-details h4 {
    font-size: 0.7rem;
  }
  .reviewer-details p {
    font-size: 0.55rem;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .process-card {
    padding: 1rem 0.25rem;
    border-radius: var(--radius-md);
  }
  .process-number {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    top: -0.75rem;
    border-width: 1.5px;
  }
  .process-card h3 {
    font-size: 0.75rem;
    white-space: nowrap;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  .process-card p {
    display: none;
  }
}


/* ============================================
   SECTION LAYOUT SYSTEM 
   Every section has a flat top and a curved bottom.
   They physically overlap to hide corner gaps.
   ============================================ */

/* Force descending z-index so top sections overlap bottom sections */
body > section:nth-of-type(1) { z-index: 20; position: relative; }
body > section:nth-of-type(2) { z-index: 19; position: relative; }
body > section:nth-of-type(3) { z-index: 18; position: relative; }
body > section:nth-of-type(4) { z-index: 17; position: relative; }
body > section:nth-of-type(5) { z-index: 16; position: relative; }
body > section:nth-of-type(6) { z-index: 15; position: relative; }
body > section:nth-of-type(7) { z-index: 14; position: relative; }
body > section:nth-of-type(8) { z-index: 13; position: relative; }
body > section:nth-of-type(9) { z-index: 12; position: relative; }
body > section:nth-of-type(10) { z-index: 11; position: relative; }
body > section:nth-of-type(11) { z-index: 10; position: relative; }
body > section:nth-of-type(12) { z-index: 9; position: relative; }
body > section:nth-of-type(13) { z-index: 8; position: relative; }
body > section:nth-of-type(14) { z-index: 7; position: relative; }
body > section:nth-of-type(15) { z-index: 6; position: relative; }

/* Base curved section (bottom only) */
.section-curve-bottom {
  border-radius: 0 0 80px 80px !important;
  margin-bottom: -80px; /* Pull the next section UP behind this one */
  padding-bottom: 10rem !important; /* Extra padding so content clears the curve with room to breathe */
  position: relative;
  overflow: hidden;
}

.section-curve-top {
  border-radius: 80px 80px 0 0 !important;
  margin-top: -80px;
  padding-top: 10rem !important;
  position: relative;
  overflow: hidden;
  z-index: 25 !important; /* High enough to overlap hero, low enough for stats to float over */
}

.section-curve-both {
  border-radius: 80px 80px 80px 80px !important;
  margin-top: -80px;
  margin-bottom: -80px;
  padding-top: 10rem !important;
  padding-bottom: 10rem !important;
  position: relative;
  overflow: hidden;
  z-index: 30 !important; /* Must override nth-of-type descending z-index */
}

/* Add top padding to the next section so its content clears the overlapping curve */
.section-curve-bottom + section,
.section-curve-both + section {
  padding-top: 9rem !important;
}

/* Ensure hero has enough padding */
.hero.section-curve-bottom {
  padding-bottom: 9rem;
}

/* White background section */
.bg-white {
  background-color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Light grey background section */
.bg-light-grey {
  background-color: #F4F4F6;
}

/* Ensure container inside transparent section is visible */
.section-curve-bottom .section-title {
  color: var(--secondary);
}

.footer-curved-top {
  border-radius: 0 !important;
}

@media (max-width: 768px) {
  .hero { border-radius: 0 0 40px 40px !important; margin-bottom: -40px; padding-bottom: 5rem; }
  .section-curve-bottom { border-radius: 0 0 40px 40px !important; margin-bottom: -40px; padding-bottom: 5rem; }
  .section-curve-top { border-radius: 40px 40px 0 0 !important; margin-top: -40px; padding-top: 6rem !important; }
  .section-curve-both { border-radius: 40px !important; margin-top: -40px; margin-bottom: -40px; padding-top: 6rem; padding-bottom: 5rem; }
  .section-curve-bottom + section, .section-curve-both + section, .section-curve-top + section { padding-top: 5rem; }
  .hero.section-curve-bottom { padding-bottom: 5rem; }
}

@media (max-width: 768px) {
  .section-curve-bottom { border-radius: 0 0 24px 24px !important; margin-bottom: -24px; padding-bottom: 4rem; }
  .section-curve-top { border-radius: 24px 24px 0 0 !important; margin-top: -24px; padding-top: 5rem !important; }
  .section-curve-both { border-radius: 24px !important; margin-top: -24px; margin-bottom: -24px; padding-top: 5rem; padding-bottom: 4rem; }
  .section-curve-bottom + section, .section-curve-both + section, .section-curve-top + section { padding-top: 4rem; }
  .hero.section-curve-bottom { padding-bottom: 4rem; }
  .footer-curved-top { border-radius: 0 !important; }
}

/* --- NEW SECTION BACKGROUNDS --- */
.segments-section-bg {
  position: relative;
  background-color: #2B2B2F;
  overflow: hidden;
}
.segments-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(0,0,0,0.6), rgba(43,43,47,0.4)), 
    url('../assets/spare parts segments.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
  border-radius: inherit;
}
.segments-section-bg .section-title, 
.segments-section-bg .section-title span, 
.segments-section-bg .section-subtitle {
  color: var(--bg-white) !important;
}

.categories-section-bg {
  position: relative;
  background-color: #2B2B2F;
  overflow: hidden;
}
.categories-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6)),
    url('../assets/spare catagories.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
  border-radius: inherit;
}
.categories-section-bg .section-title, 
.categories-section-bg .section-title span {
  color: var(--secondary) !important;
}
.categories-section-bg .section-subtitle {
  color: #111111 !important;
  font-weight: 600;
}

/* --- CATALOG BACKGROUND --- */
.catalog-section-bg {
  position: relative;
  background-color: var(--bg-body);
}
.catalog-section-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../assets/catalog/mainbg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}
.catalog-section-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(15,15,20,0.85) 0%, rgba(15,15,20,0) 100%);
  z-index: 0;
}
.catalog-section-bg > * {
  position: relative;
  z-index: 1;
}
.catalog-section-bg .section-title,
.catalog-section-bg .section-title span {
  color: var(--bg-white) !important;
}
.catalog-section-bg .section-subtitle {
  color: rgba(255,255,255,0.85) !important;
}

/* --- MISSION VISION SECTION BG --- */
.mission-vision-section-bg {
  position: relative;
  background-image: url('../assets/about us/our vission and mission section bg.webp');
  background-size: cover;
  background-position: center;
}
.mission-vision-section-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(244, 245, 247, 0.75);
  z-index: 0;
}
.mission-vision-section-bg > .container {
  position: relative;
  z-index: 1;
}

/* --- CATALOG HEADER BANNER --- */
.catalog-header-banner {
  position: relative;
  background-color: #131418;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.catalog-header-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../assets/widget_engine.webp');
  background-position: right 10% center;
  background-repeat: no-repeat;
  background-size: 300px;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
.catalog-header-banner > * {
  position: relative;
  z-index: 1;
}
.catalog-header-banner .section-title,
.catalog-header-banner .section-title span {
  color: var(--bg-white) !important;
}
.catalog-header-banner .section-subtitle {
  color: rgba(255,255,255,0.85) !important;
}





/* --- BRAND SPECIALIZATIONS ANIMATED BG --- */
.brand-specializations-bg {
  position: relative;
  background-color: #fcfcfd;
  overflow: hidden;
  z-index: 1;
}

.brand-specializations-bg::before,
.brand-specializations-bg::after {
  content: '';
  position: absolute;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.6;
  border-radius: 50%;
  animation: floatOrb 25s infinite alternate ease-in-out;
  pointer-events: none;
}

.brand-specializations-bg::before {
  width: 40vw;
  height: 40vw;
  min-width: 400px;
  min-height: 400px;
  background: rgba(var(--primary-rgb), 0.08); /* Extremely subtle red */
  top: -10%;
  left: -5%;
}

.brand-specializations-bg::after {
  width: 50vw;
  height: 50vw;
  min-width: 500px;
  min-height: 500px;
  background: rgba(15, 15, 20, 0.04); /* Extremely subtle dark/grey */
  bottom: -20%;
  right: -10%;
  animation-delay: -7s;
  animation-duration: 30s;
}

.brand-specializations-bg .bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3vw, 5vh) scale(1.05); }
  66% { transform: translate(-2vw, 8vh) scale(0.95); }
  100% { transform: translate(4vw, -2vh) scale(1); }
}

.brand-specializations-bg > .container {
  position: relative;
  z-index: 2;
}

/* Brands Scroller Base Padding */
.brands-scroller-section {
  padding-top: 4.8rem;
    padding-bottom: 6rem;
}

/* --- COMPREHENSIVE MOBILE OPTIMIZATION --- */
@media (max-width: 1024px) {
  .grid-4col { grid-template-columns: repeat(2, 1fr); }
  .grid-3col { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 3rem; }
  .hero-description { font-size: 1.1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* --- PREMIUM MOBILE APP-LIKE REDESIGN --- */

  /* Body & Container */
  body { 
    background-color: #f8f9fa !important; 
    padding-top: 0 !important;
    padding-bottom: 90px;
  }
  .container {
    padding: 0 16px !important;
  }

  /* Header - App Style */
  .header {
    background-color: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    height: 65px !important;
    padding: 0 16px !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
  .header.scrolled { top: 0 !important; border-radius: 0 !important; }
  .header-container { height: 65px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
  .mobile-header-left { display: flex; align-items: center; width: 100%; justify-content: space-between; flex-direction: row-reverse; }
  .mobile-actions { display: none !important; }
  .mobile-action-btn { background: none; border: none; font-size: 1.35rem; color: var(--secondary); cursor: pointer; position: relative; padding: 0; display: flex; }
  .cart-badge { position: absolute; top: -5px; right: -8px; background: var(--primary); color: white; font-size: 0.65rem; padding: 2px 5px; border-radius: 10px; font-weight: bold; border: 2px solid white; line-height: 1; }
  .logo-img { height: 42px !important; }
  .logo-title { font-size: 1.15rem !important; }
  .logo-subtitle { display: none !important; }
  .nav-list, .header-action-desktop { display: none !important; }
  .mobile-nav-toggle { display: block !important; padding: 5px; margin-left: -5px; }

  /* Typography */
  html { font-size: 14px; }
  .section-title {
    font-size: 1.75rem !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }
  .section-title-wrapper > span { position: static !important; display: block !important; margin-bottom: 0.5rem !important; }
  .section-title span { display: inline !important; }
  .section-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #666 !important;
  }
  .hero-title { font-size: 2.25rem !important; line-height: 1.1 !important; }

  /* Spacing */
  .reveal-hidden { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .section-padding { padding: 3rem 0 !important; }
  .hero { padding: 5rem 0 3rem 0 !important; border-radius: 0 0 30px 30px !important; }
  .page-banner + section { padding-top: 2rem !important; }
  .b2b-section-bg { padding-top: 2rem !important; padding-bottom: 5rem !important; }
  .brands-scroller-section { padding-top: 1rem !important; padding-bottom: 1rem !important; margin: 0 !important; border-radius: 0 !important; }
  .brands-scroller-section .text-center, .brands-btn-wrap { margin-top: 1rem !important; }
  .brands-row-wrapper { padding: 0.5rem 0 !important; height: auto !important; }
  .brand-logo-img { height: 35px !important; }
  .brand-logo-item { font-size: 0.8rem !important; }
  /* Buttons */
  .btn {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
  }
  .btn-full { width: 100% !important; justify-content: center !important; }

  /* Grids */
  .grid-2col, .grid-3col, .grid-4col, .types-grid, 
  .bento-grid, .services-grid, .process-grid, .testimonials-grid, .brands-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Category Cards - Clean flex grid with reduced width */
  .categories-section-bg {
    position: relative !important;
    background-image: url('../assets/stamp_bg.webp') !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: multiply !important;
  }
  .categories-section-bg::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.85) !important;
    z-index: 0;
  }
  .categories-section-bg > * { position: relative; z-index: 1; }

  .categories-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 1.5rem !important;
  }
  .category-card {
    width: 47% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 1rem !important;
    text-align: center !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    background: #ffffff !important;
    gap: 8px !important;
  }
  .category-card p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
  }
  .category-icon-box { margin-bottom: 4px !important; }
  .category-card h4 { font-size: 0.95rem !important; margin: 0 !important; }
  .category-info p, .category-card p { 
    font-size: 0.75rem !important; 
    line-height: 1.3 !important; 
    margin: 0 !important; 
    color: #666 !important; 
    display: block !important; 
    visibility: visible !important; 
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }
  .category-card i.arrow-icon { display: none !important; }

  /* Segment Cards (Type Cards) - Fully visible contents */
  .type-card {
    min-height: 0 !important;
    height: auto !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
    background: #fff !important; 
    border: 1px solid rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .type-card::before { display: none !important; }
  .type-card-body { padding: 0 !important; display: block !important; width: 100% !important; }
  .type-card h3 { color: #111 !important; font-size: 1.25rem !important; margin-bottom: 0.75rem !important; }
  .type-card p { 
    color: #555 !important; 
    font-size: 0.95rem !important; 
    line-height: 1.5 !important;
    margin-bottom: 0 !important; 
    display: block !important; 
    visibility: visible !important;
    position: static !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  /* Make sure all box paragraphs are visible */
  .process-card p, .brand-card p, .bento-card p, .brand-card-specs {
    display: block !important; 
    visibility: visible !important; 
    opacity: 1 !important; 
    height: auto !important; 
    overflow: visible !important;
  }
  
  /* Reduce brands scroller distance */
  .brands-scroller {
    gap: 0px !important;
    }
    .brand-logo-item { padding: 0 4px !important; margin: 0 !important; }
  .type-card-num {
    background: rgba(217, 4, 41, 0.1) !important;
    color: var(--primary) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
    font-weight: bold !important;
  }

  /* Bento Grid specific fixes */
  .bento-card { border-radius: 16px !important; padding: 24px !important; width: 100% !important; margin: 0 !important; }

  /* Stats row */
  .stats-floating-row { margin-top: -30px !important; margin-bottom: 2rem !important; }
  .stats-grid { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 12px !important; }
  .stat-card { flex: 1 1 calc(50% - 12px) !important; padding: 20px 16px !important; border-radius: 16px !important; }
  .stat-card h3 { font-size: 1.75rem !important; }
  .stat-card p { font-size: 0.8rem !important; }

  /* Footer layout */
  .footer-grid { display: flex !important; flex-direction: column !important; gap: 2.5rem !important; }
  .footer-column { text-align: center !important; }
  .footer-column .logo-link { justify-content: center !important; }
  .social-links { justify-content: center !important; }
  .footer-contact-list .footer-contact-item { flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .footer-contact-item i { margin-bottom: 0.5rem !important; margin-right: 0 !important; }

  /* Floating Widgets */
  .whatsapp-chat-widget { bottom: 10px !important; right: 10px !important; z-index: 9999 !important; }
  .floating-map-widget { bottom: 10px !important; left: 10px !important; right: auto !important; z-index: 9999 !important; }
  .whatsapp-trigger-btn, .map-trigger-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 25px !important;
    font-size: 1.25rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
  }

  /* General width safeties */
  img, iframe, video { max-width: 100% !important; height: auto !important; }
  .container { padding: 0 16px !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; }
  
  /* Forms and specific elements */
  .contact-layout, .about-timeline, .service-grid { flex-direction: column !important; }
  .catalog-layout { display: flex !important; flex-direction: column !important; }
  .catalog-sidebar, .sidebar-filters { width: 100% !important; margin-bottom: 2rem !important; word-break: break-word !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem !important; }
  .hero-ctas { flex-direction: column !important; width: 100% !important; gap: 0px !important;
    }
    .brand-logo-item { padding: 0 4px !important; margin: 0 !important; }
}

.brands-btn-wrap { margin-top: 3rem; }

/* --- BENTO CATEGORIES GRID --- */
.bento-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-category-card {
  position: relative;
  border-radius: 20px !important;
  overflow: hidden;
  background-color: var(--bg-light);
  min-height: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.03);
}




.bento-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.bento-category-card .bento-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-category-card:hover .bento-bg-image {
  transform: scale(1.08);
}

/* Gradient overlay so text is readable */


.bento-category-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
}

.bento-category-content h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: white;
}

.bento-category-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.bento-arrow-icon {
  align-self: flex-start;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.bento-category-card:hover .bento-arrow-icon {
  background: var(--primary);
  transform: translateX(5px);
}

/* Bento Asymmetry Classes */
.bento-span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 460px;
}

.bento-span-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-span-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-span-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-span-2x2, .bento-span-2x1, .bento-span-1x2, .bento-span-1x1 {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }
  .bento-span-2x1 {
    grid-column: span 2; /* Keep some wide ones on tablet */
  }
}

@media (max-width: 768px) {
  .bento-categories-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2x2, .bento-span-2x1, .bento-span-1x2, .bento-span-1x1 {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
  }
}



/* PREMIUM CATALOG OVERRIDES */
.catalog-section-bg {
  background-color: #f5f7fa !important;
}

.catalog-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
}

.sidebar-filters {
  position: static !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.sidebar-callout {
  display: none !important;
}

.filter-title {
  display: none !important;
}

.filter-options {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.75rem !important;
}

.filter-btn {
  border-radius: 50px !important;
  padding: 0.6rem 1.5rem !important;
  background: white !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
  font-weight: 600 !important;
  color: #333 !important;
}

.filter-btn.active {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.filter-btn .count {
  background: rgba(0,0,0,0.1) !important;
  border-radius: 20px !important;
  padding: 2px 8px !important;
  font-size: 0.75rem !important;
}

.filter-btn.active .count {
  background: rgba(255,255,255,0.2) !important;
}

.products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 2.5rem !important;
  align-items: stretch !important;
}

.product-card {
  border-radius: 48px 16px 48px 16px !important;
  background: white !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  transition: all 0.4s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-card:nth-child(even) {
  border-radius: 16px 48px 16px 48px !important;
}

.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.product-image-container {
  height: 240px !important;
  background: white !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.03) !important;
  position: relative !important;
}

.product-image-container img.product-real-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 2rem !important;
  transition: transform 0.5s ease !important;
}

.product-card:hover .product-image-container img.product-real-img {
  transform: scale(1.05) !important;
}

.product-badge {
  position: absolute !important;
  top: 1.5rem !important;
  left: 1.5rem !important;
  z-index: 10 !important;
  background: var(--primary) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 0.4rem 1rem !important;
  border-radius: 30px !important;
  font-size: 0.75rem !important;
  box-shadow: 0 4px 10px rgba(227, 27, 35, 0.3) !important;
}

.product-info {
  padding: 2rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.product-brand {
  font-weight: 800 !important;
  color: var(--secondary) !important;
  letter-spacing: 1px !important;
  font-size: 0.7rem !important;
}

.product-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.3 !important;
  color: #111 !important;
}

.product-sku {
  font-size: 0.8rem !important;
  margin-bottom: 1rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.product-desc {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #555 !important;
  margin-bottom: 1.5rem !important;
  flex-grow: 1 !important;
}

.product-card .btn-whatsapp {
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: 0.8rem 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-size: 0.85rem !important;
}

/* Premium Catalog Banner */
.banner-catalog {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%) !important;
  position: relative;
  overflow: hidden;
}
.banner-catalog::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(227,27,35,0.15) 0%, transparent 60%);
}



/* =========================================================
   EXACT REFERENCE CATALOG STYLING
   ========================================================= */

/* --- 1. HERO SECTION --- */
.premium-catalog-hero {
  background: #f5f6f8;
  padding: 9rem 0 3rem !important;
  border-bottom: none !important;
  overflow: hidden;
}
.premium-catalog-hero .container { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 2rem; 
  align-items: center; 
}
.hero-badge { 
  color: #555; 
  font-weight: 500; 
  text-transform: none; 
  letter-spacing: 0; 
  font-size: 0.9rem; 
  margin-bottom: 1.5rem; 
  display: block; 
}
.hero-content-left h1 { 
  color: #111 !important; 
  text-shadow: none !important; 
  font-size: 4rem; 
  line-height: 1.1; 
  letter-spacing: -1px; 
  margin-bottom: 1rem; 
  font-weight: 800; 
  position: relative;
}
.hero-content-left h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 6px;
  background: #e10600;
  margin-top: 15px;
  border-radius: 3px;
}
.hero-content-left p { 
  color: #555 !important; 
  font-size: 1.1rem; 
  line-height: 1.6; 
  margin-bottom: 2.5rem; 
  max-width: 450px; 
  font-weight: 400; 
}
.hero-image-right { 
  position: relative; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

/* Ensure no overlapping */
.hero-image-right img { 
  max-width: 100%; 
  height: auto; 
  max-height: 450px;
  object-fit: contain; 
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); 
  animation: float 6s ease-in-out infinite; 
}
.hero-image-right::before { display: none !important; }

.btn-whatsapp {
  background: #e10600 !important;
  color: #111 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3) !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  display: inline-flex !important;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.4) !important;
}

/* --- 2. EXACT FEATURE STRIP (Continuous Line) --- */
.catalog-trust-bar { 
  background: #f5f6f8; 
  padding: 0 0 3rem 0 !important; 
  position: relative; 
  z-index: 5; 
  border: none !important;
}
.trust-bar-grid { 
  background: #ffffff; 
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  border-radius: 20px; 
  padding: 2rem 1rem; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
  border: 1px solid rgba(0,0,0,0.02);
}
.trust-item { 
  background: transparent; 
  padding: 0 1.5rem; 
  border-radius: 0; 
  box-shadow: none; 
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  justify-content: flex-start;
  gap: 1rem; 
  border: none;
  border-right: 1px solid #eee;
  flex: 1;
  transition: none; 
}
.trust-item:last-child {
  border-right: none;
}
.trust-item:hover { transform: none; box-shadow: none; border-color: #eee; }
.trust-item:last-child:hover { border-color: transparent; }

.trust-icon { 
  width: 40px; 
  height: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.8rem; 
  border-radius: 0; 
  background: transparent !important; 
  color: #e10600; 
  transition: none; 
  border: none !important;
  box-shadow: none !important;
}
.trust-item:hover .trust-icon { background: transparent !important; color: #e10600 !important; transform: none; box-shadow: none !important; }
.trust-item h4 { color: #111 !important; font-size: 0.85rem; font-weight: 700; margin: 0; text-transform: uppercase; }

/* --- 3. EXACT CATEGORY PILLS --- */
.catalog-showcase-bg { background: #f5f6f8; padding-bottom: 6rem; }
.catalog-filter-nav { background: transparent !important; padding: 0 0 3rem 0; text-align: center; }
.filter-options { background: transparent !important; padding: 0 !important; display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0.8rem !important; }
.filter-btn { border-radius: 50px !important; padding: 0.6rem 1.8rem !important; font-weight: 600 !important; font-size: 0.9rem !important; background: #ffffff !important; color: #555 !important; border: 1px solid #eaeaea !important; box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important; transition: all 0.2s ease; }
.filter-btn:hover { color: #111 !important; border-color: #ddd !important; }
.filter-btn.active { background: #e10600 !important; color: #111 !important; box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3) !important; border-color: #e10600 !important; transform: none; }
.filter-btn .count { display: none !important; } 

/* --- 4. EXACT PRODUCT GRID --- */
.premium-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.premium-product-card { overflow: hidden; display: flex; flex-direction: column; position: relative; transition: all 0.3s ease; border-radius: 16px !important; background: #ffffff !important; border: 1px solid #eaeaea !important; box-shadow: 0 8px 25px rgba(0,0,0,0.03) !important; padding: 1.25rem !important; }
.premium-product-card:nth-child(even) { border-radius: 16px !important; } 
.premium-product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important; border-color: #ddd !important; }

.premium-card-image { height: 200px; padding: 1rem; display: flex; align-items: center; justify-content: center; position: relative; background: transparent !important; border-bottom: none !important; margin-bottom: 0.5rem; }
.premium-card-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); mix-blend-mode: multiply; }
.premium-product-card:hover .premium-card-image img { transform: scale(1.05); }

.premium-card-badge { position: absolute; top: 1.25rem; right: 1.25rem; left: auto; background: #ff1a1a !important; color: white; font-weight: 800; font-size: 0.75rem; padding: 0.3rem 0.6rem; border-radius: 6px; text-transform: uppercase; box-shadow: none !important; border: none !important; z-index: 2; }
.premium-product-card:nth-child(even) .premium-card-badge { border-radius: 6px; }

.premium-card-content { padding: 0; display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 2; }
.premium-card-brand { font-size: 0.75rem; font-weight: 500; margin-bottom: 0.3rem; color: #999 !important; text-transform: none; letter-spacing: 0; }
.premium-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; color: #111 !important; letter-spacing: 0; }
.premium-card-sku { font-size: 0.85rem; margin-bottom: 0.5rem; padding-bottom: 0; border-bottom: none !important; display: flex; align-items: center; gap: 0.4rem; color: #111 !important; font-weight: 600; }
.premium-card-sku::before { content: '�'; color: #28a745; font-size: 1.2rem; line-height: 0; }
.premium-card-sku span { display: none; } 
.premium-card-desc { display: none !important; } 

.premium-card-content .btn-whatsapp { background: #25D366 !important; color: #fff !important; border-radius: 8px; padding: 0.7rem; font-weight: 600; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.85rem; box-shadow: none !important; transition: background 0.3s ease; margin-top: 1rem; }
.premium-card-content .btn-whatsapp:hover { background: #1ebc59 !important; box-shadow: none !important; transform: none; }

/* --- 5. EXACT PROMO BANNER --- */
.catalog-promo-banner { padding: 4rem; position: relative; overflow: hidden; text-align: left; border-radius: 20px; margin: 2rem 0 6rem; background: #ffffff !important; border: 1px solid #eaeaea !important; box-shadow: 0 15px 40px rgba(0,0,0,0.04) !important; display: flex; align-items: center; justify-content: space-between; }
.promo-bg { display: none !important; }
.catalog-promo-banner::after { display: none !important; }
.promo-content { position: relative; z-index: 2; max-width: 500px; margin: 0; }
.promo-content h2 { color: #111; font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -1px; line-height: 1.1; }
.promo-content p { color: #555; font-size: 1.1rem; margin-bottom: 2rem; }
.promo-content .btn-whatsapp { display: inline-flex; width: auto; padding: 1rem 2.5rem !important; border-radius: 12px; background: #e10600 !important; color: #111 !important; }

.catalog-promo-banner::before {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 500px;
  height: 500px;
  background: url('../assets/categories/cat_engine.webp') no-repeat center center;
  background-size: contain;
  z-index: 1;
}

@media (max-width: 1024px) {
  .premium-catalog-hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content-left h1::after { margin: 15px auto 0; }
  .hero-content-left p { margin: 0 auto 2rem; }
  .trust-bar-grid { flex-wrap: wrap; }
  .trust-item { border-right: none; border-bottom: 1px solid #eee; padding: 1rem; width: 50%; }
  .catalog-promo-banner { flex-direction: column; text-align: center; padding: 3rem 1.5rem; }
  .catalog-promo-banner::before { right: 50%; transform: translateX(50%); bottom: auto; top: -10%; opacity: 0.1; }
}

@media (max-width: 768px) {
  .hero-content-left h1 { font-size: 2.8rem; }
  .trust-item { width: 100%; }
  .premium-product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
}
/* --- NAVBAR FIXES --- */
.header-action-desktop .btn-whatsapp {
  background: #25D366 !important; /* WhatsApp Green */
  color: white !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
  font-weight: 600 !important;
}

.header-action-desktop .btn-whatsapp:hover {
  background: #128C7E !important;
  transform: translateY(-2px);
}


.header-container {
  height: 50px !important;
}

/* =========================================================
   EDITORIAL BLOG STYLING
   ========================================================= */

/* --- GENERAL UTILITIES --- */
.btn-primary-red {
  background: linear-gradient(135deg, #e10600 0%, #aa0000 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 1rem 2rem !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 25px rgba(225, 6, 0, 0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: inline-block;
}
.btn-primary-red:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(225, 6, 0, 0.4) !important;
}
.highlight-red { color: #e10600 !important; }

/* --- HERO SECTION --- */
.blog-hero {
  background: #f8f9fa;
  padding: 10rem 0 5rem;
  overflow: hidden;
}
.blog-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.blog-hero-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e10600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.blog-hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #111;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.blog-hero-desc {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.blog-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.blog-hero-actions .btn-link {
  color: #111 !important;
  font-weight: 700 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease !important;
}
.blog-hero-actions .btn-link:hover { color: #e10600 !important; }

.blog-hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blog-hero-image::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.03);
  z-index: 0;
}
.blog-hero-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}

/* --- FEATURED POST --- */
.blog-featured-section {
  padding: 3rem 0;
  background: #fff;
}
.featured-post-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.featured-post-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(1.2);
  transition: transform 0.8s ease;
  z-index: 1;
}
.featured-post-card:hover .featured-post-bg {
  transform: scale(1.05);
}
.featured-post-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 2;
}
.featured-post-content {
  position: relative;
  z-index: 3;
  padding: 4rem;
  max-width: 800px;
}
.post-meta {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.post-category {
  background: #e10600;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.post-date { color: #ccc; font-size: 0.9rem; font-weight: 500; }
.featured-post-title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.featured-post-excerpt {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2) !important;
  transition: background 0.3s ease !important;
}
.btn-read-more:hover {
  background: #e10600 !important;
  border-color: #e10600 !important;
}

/* --- MAIN LAYOUT (GRID + SIDEBAR) --- */
.blog-main-section {
  padding: 5rem 0;
  background: #f8f9fa;
}
.blog-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.5rem;
}

/* --- ARTICLE GRID --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.06);
}
.blog-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.blog-img-wrapper {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-img-wrapper { transform: scale(1.08); }
.blog-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #e10600;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(225, 6, 0, 0.3);
}
.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.blog-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
}
.blog-card-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.blog-card-link:hover { color: #e10600; }

.blog-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.page-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.page-btn:hover { background: #f0f0f0; }
.page-btn.active { background: #e10600; color: #fff; border-color: #e10600; box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3); }

/* --- SIDEBAR --- */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-widget {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.02);
}
.widget-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #e10600;
  border-radius: 2px;
}

/* Search */
.search-box {
  position: relative;
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 50px;
  overflow: hidden;
}
.search-box input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 0.95rem;
}
.search-box button {
  background: transparent;
  border: none;
  padding: 0 1.5rem;
  color: #e10600;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Categories */
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { margin-bottom: 0.75rem; }
.category-list li:last-child { margin-bottom: 0; }
.category-list a {
  display: flex;
  justify-content: space-between;
  color: #555;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.3s ease;
}
.category-list a:hover { color: #e10600; }
.category-list a span { background: #f5f6f8; padding: 0.1rem 0.5rem; border-radius: 12px; font-size: 0.8rem; color: #888; }

/* Popular Posts */
.popular-post-list { display: flex; flex-direction: column; gap: 1.25rem; }
.popular-post-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.pop-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.popular-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.popular-post-item:hover h5 { color: #e10600; }
.popular-content span { font-size: 0.8rem; color: #888; }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-cloud a {
  background: #f8f9fa;
  color: #555;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.tag-cloud a:hover {
  background: #e10600;
  color: #fff;
  box-shadow: 0 4px 10px rgba(225, 6, 0, 0.2);
}

/* --- PROMO BANNER --- */
.blog-promo-section {
  padding: 2rem 0 5rem;
  background: #f8f9fa;
}
.promo-banner-ad {
  background: #fff;
  border-radius: 24px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
}
.promo-ad-content { max-width: 500px; }
.promo-ad-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #e10600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.promo-ad-content h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #111;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.promo-ad-content p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2rem;
}
.promo-ad-image img {
  max-width: 400px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

/* --- NEWSLETTER SECTION --- */
.blog-newsletter-section {
  padding: 4rem 0 8rem;
  background: #f8f9fa;
}
.newsletter-premium-box {
  background: #050505;
  border-radius: 30px;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 8px 16px rgba(255,255,255,0.2), inset 0 -8px 16px rgba(0,0,0,0.4), 0 30px 60px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.1);
}
.newsletter-premium-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.newsletter-content h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.newsletter-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 550px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 1.5rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form .btn-primary-red {
  padding: 1rem 2.5rem !important;
}

@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-hero-container { grid-template-columns: 1fr; text-align: center; }
  .blog-hero-desc { margin: 0 auto 2.5rem; }
  .blog-hero-actions { justify-content: center; }
  .blog-hero-image::before { width: 300px; height: 300px; }
  .featured-post-content { padding: 3rem 2rem; }
  .featured-post-title { font-size: 2.2rem; }
  .promo-banner-ad { flex-direction: column; text-align: center; gap: 2rem; }
  .promo-ad-content { margin: 0 auto; }
}

@media (max-width: 768px) {
  .blog-hero-title { font-size: 3rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-content h2 { font-size: 2.2rem; }
  .newsletter-form { flex-direction: column; background: transparent; border: none; padding: 0; }
  .newsletter-form input { background: rgba(255,255,255,0.05); padding: 1.25rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
  .newsletter-form .btn-primary-red { border-radius: 12px !important; }
}
.blog-hero-image::before {
  display: none !important;
}
.blog-hero-image img {
  mix-blend-mode: multiply !important;
  filter: none !important; /* Remove drop shadow so it blends purely into the background */
  transform: scale(1.1);
}

/* --- CATALOG FULL-WIDTH ADJUSTMENT --- */
.premium-catalog-hero .container,
.catalog-trust-bar .container,
.catalog-showcase-bg .container,
.catalog-promo-banner .container {
  max-width: 1600px !important;
  width: 95% !important;
}

/* Adjust trust bar grid if necessary to stretch fully */
.trust-bar-grid {
  width: 100%;
}

/* Ensure promo banner itself also expands nicely but stays centered */
.catalog-promo-banner {
  max-width: 1600px !important;
  width: 95% !important;
  margin: 2rem auto 6rem !important;
}

/* Ensure the inner container of the promo banner stretches fully */
.catalog-promo-banner .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* =========================================================
   BRANDS SHOWROOM STYLING
   ========================================================= */

/* --- HERO SECTION --- */
.brands-hero {
  background: #f8f9fa;
  padding: 10rem 0 5rem;
  overflow: hidden;
}
.brands-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.brands-hero-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e10600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.brands-hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  color: #111;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.brands-hero-desc {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  max-width: 500px;
}
.brands-hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brands-hero-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: float 6s ease-in-out infinite;
}

/* --- BRANDS SHOWCASE GRID --- */
.brands-showcase-section {
  padding: 5rem 0;
  background: #f8f9fa;
}
.premium-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.premium-brand-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.premium-brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.06);
}
.brand-cover-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.brand-cover-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}
.brand-logo-badge {
  position: absolute;
  top: 160px;
  right: 2rem;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 15px;
  border: 1px solid #f0f0f0;
}
.brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-card-body {
  padding: 3.5rem 2rem 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.brand-card-body h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}
.brand-subtitle {
  color: #e10600;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
  letter-spacing: 1px;
}
.brand-card-body p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.brand-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  gap: 0.75rem;
}
.brand-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 0.5rem;
}
.brand-specs li strong {
  color: #111;
  font-weight: 700;
}
.btn-whatsapp-solid {
  background: #25D366 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  text-decoration: none !important;
}
.btn-whatsapp-solid:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3) !important;
  color: #fff !important;
}

@media (max-width: 1024px) {
  .brands-hero-container { grid-template-columns: 1fr; text-align: center; }
  .brands-hero-desc { margin: 0 auto; }
}

@media (max-width: 768px) {
  .brands-hero-title { font-size: 3rem; }
  .premium-brands-grid { grid-template-columns: 1fr; }
}

/* --- BRANDS HERO ANIMATED SHAPES --- */
.brands-hero-shapes {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex; justify-content: flex-end; padding-right: 0; margin-right: -2rem;
  align-items: center;
}
.shape-circle-large {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 10px 20px rgba(255,255,255,0.9), inset 0 -10px 20px rgba(0,0,0,0.1), 0 20px 50px rgba(0,0,0,0.08); border: 1px solid rgba(255,255,255,0.6);
  animation: floatShape 8s ease-in-out infinite;
  z-index: 1;
}
.shape-square-rounded {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 35px;
  background: #111111;
  transform: rotate(15deg);
  box-shadow: inset 0 8px 16px rgba(255,255,255,0.2), inset 0 -8px 16px rgba(0,0,0,0.4), 0 30px 60px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.1);
  animation: floatShapeReverse 10s ease-in-out infinite;
  z-index: 2;
  right: 15%;
  top: 15%;
}
.shape-circle-small {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #e10600;
  box-shadow: inset 0 8px 16px rgba(255,255,255,0.4), inset 0 -8px 16px rgba(0,0,0,0.3), 0 15px 35px rgba(225, 6, 0, 0.3); border: 1px solid rgba(255,255,255,0.3);
  animation: floatShapeFast 6s ease-in-out infinite;
  z-index: 3;
  left: 20%;
  bottom: 20%;
}
.shape-line-accent {
  position: absolute;
  width: 120px;
  height: 8px;
  border-radius: 10px;
  background: #e10600;
  transform: rotate(-45deg);
  animation: floatShape 7s ease-in-out infinite;
  z-index: 2;
  top: 30%;
  left: 10%;
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(-20px) rotate(-40deg); }
}
@keyframes floatShapeReverse {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(25px) rotate(10deg); }
}
@keyframes floatShapeFast {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

/* Fix large circle animation rotation which doesn't need -45deg initially */
.shape-circle-large {
  animation: floatCircleLarge 8s ease-in-out infinite;
}
@keyframes floatCircleLarge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}


/* --- PREMIUM FROSTED GLASS & WATER DROPS --- */

.frosted-glass {
  backdrop-filter: blur(25px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(25px) saturate(1.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1), inset 0 0 20px rgba(255,255,255,0.2) !important;
}

.shape-circle-large.frosted-glass {
  background: rgba(255, 255, 255, 0.25) !important;
}

.black-glass {
  background: rgba(17, 17, 17, 0.4) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.red-glass {
  background: rgba(225, 6, 0, 0.4) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.glass-drop {
  position: absolute;
  border-radius: 50%;
  background: transparent;
  box-shadow: 
    inset 0 4px 5px rgba(255,255,255,0.6),
    inset 0 -2px 5px rgba(0,0,0,0.15),
    0 10px 15px rgba(0,0,0,0.1);
  z-index: 10;
  backdrop-filter: blur(2px); /* Magnification effect */
}

.glass-drop::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 25%;
  height: 25%;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  filter: blur(0.5px);
  transform: rotate(-45deg);
}


/* Hide the old CSS background image pseudo-element in catalog promo banner */
.catalog-promo-banner::before {
  display: none !important;
  background: none !important;
}

/* --- PREMIUM ANIMATION OVERRIDES FOR BRANDS HERO SHAPES --- */
.shape-circle-large {
  animation: floatCirclePremium 15s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}
.shape-square-rounded {
  animation: floatSquarePremium 18s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}
.shape-circle-small {
  animation: floatSmallPremium 12s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

@keyframes floatCirclePremium {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.02); }
}
@keyframes floatSquarePremium {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(30px) rotate(8deg); }
}
@keyframes floatSmallPremium {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}



/* --- PREMIUM GLITCH CYCLE FOR BRANDS HERO --- */
.brands-hero-shapes .shape-circle-large {
  width: 200px !important;
  height: 200px !important;
  position: relative;
  overflow: hidden;
}
.fade-logo {
  position: absolute;
  opacity: 0;
  width: 110px !important;
  filter: brightness(0) invert(0.25) drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  animation: simpleFadeCycle 16s infinite ease-in-out;
}
.fade-logo:nth-child(1) { animation-delay: 0s; }
.fade-logo:nth-child(2) { animation-delay: 4s; }
.fade-logo:nth-child(3) { animation-delay: 8s; }
.fade-logo:nth-child(4) { animation-delay: 12s; }

@keyframes simpleFadeCycle {
  0% { opacity: 0; transform: scale(0.95); }
  5% { opacity: 0.85; transform: scale(1); }
  20% { opacity: 0.85; transform: scale(1); }
  25% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; }
}








.about-hero-shapes {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-shapes .shape-circle-large {
  width: 240px !important;
  height: 240px !important;
}




/* --- PREMIUM CONTACT PAGE --- */
.premium-contact-hero {
  position: relative;
  background-color: var(--bg-body);
  background-image: 
    linear-gradient(to right, var(--bg-body) 35%, rgba(248, 249, 250, 0.7) 60%, rgba(255,255,255,0) 100%),
    linear-gradient(to top, var(--bg-body) 0%, rgba(248, 249, 250, 0.2) 20%, rgba(255,255,255,0) 100%),
    url('../assets/hero_bg.webp');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 9rem 0 3rem !important;
  border-bottom: none !important;
  overflow: hidden;
}

.premium-contact-hero .container { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 2rem; 
  align-items: center; 
}

@media (max-width: 768px) {
  .premium-contact-hero {
    background-image: 
      linear-gradient(to top, var(--bg-body) 40%, rgba(248, 249, 250, 0.8) 70%, rgba(255,255,255,0.4) 100%),
      url('../assets/hero_bg.webp');
  }
  .premium-contact-hero .container { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
}

.bento-map-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden;
}

.bento-map-card iframe {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  border: none;
}

.contact-bento-input {
  background: rgba(245, 246, 248, 0.5);
  border: 1px solid var(--border-color) !important;
  color: var(--secondary) !important;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-bento-input:focus {
  background: white;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.1);
}





@media (max-width: 768px) {
  .about-hero-shapes {
    height: 250px !important;
    transform: scale(0.65);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .about-hero-shapes {
    height: 180px !important;
    transform: scale(0.5);
  }
  .about-grid, .delivery-grid {
    grid-template-columns: 1fr !important;
    gap: 0px !important;
    }
    .brand-logo-item { padding: 0 4px !important; margin: 0 !important; }
  .about-timeline::before {
    left: 20px !important;
  }
  .timeline-item {
    width: 100% !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    left: 0 !important;
  }
  .timeline-item::after {
    left: 11px !important;
  }
}


/* --- REMOVE EMPTY SPACE UNDER MOBILE NAVBAR --- */
@media (max-width: 768px) {
  .hero, 
  .page-banner, 
  .premium-catalog-hero, 
  .premium-contact-hero,
  .brand-specializations-bg {
    padding-top: 5.5rem !important;
  }
}





/* --- MOBILE BENTO GRID OVERRIDE --- */
@media (max-width: 768px) {
  .bento-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .bento-span-2x2 {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    min-height: 260px !important;
  }
  .bento-span-2x1 {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
    min-height: 140px !important;
  }
  .bento-span-1x2 {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
    min-height: 280px !important;
  }
  .bento-span-1x1 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    min-height: 140px !important;
  }
  .bento-category-content {
    padding: 1.25rem !important;
  }
  .bento-category-content h4 {
    font-size: 1.05rem !important;
    margin-bottom: 0.25rem !important;
  }
  .bento-category-content p {
    font-size: 0.75rem !important;
  }
  .bento-arrow-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }
}






/* --- STRICT MOBILE BRANDS SCROLLER OVERRIDE --- */
@media (max-width: 768px) {
  .brands-scroller-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .brand-logo-item {
    height: 85px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    gap: 0.25rem !important;
  }
  .brand-logo-img {
    height: 45px !important;
    max-width: 90px !important;
  }
  .brand-logo-item span {
    font-size: 0.6rem !important;
    letter-spacing: 0 !important;
  }
  .brands-scroller {
    gap: 0.5rem !important;
  }
}



/* --- CRITICAL MOBILE BRANDS SCROLLER OVERRIDE --- */
@media (max-width: 768px) {
  /* Fix height overriding specificity issue */
  .section-curve-bottom + section.brands-scroller-section,
  section.brands-scroller-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  /* Fix hardcoded 280px width issue */
  .brand-logo-item {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    padding: 0 16px !important;
  }
}



/* =========================================================
   COMPREHENSIVE MOBILE OPTIMIZATION - CATALOG PAGE
   ========================================================= */
@media (max-width: 768px) {
  /* 1. Hero Section */
  .premium-catalog-hero {
    padding-top: 5.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .premium-catalog-hero .hero-content-left h1 {
    font-size: 2.2rem !important;
  }
  .hero-image-right img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 2. Trust Bar (2x2 Grid instead of 1x4 stack) */
  .trust-bar-grid {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .trust-item {
    width: 50% !important;
    padding: 1rem 0.5rem !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    border-right: 1px solid rgba(0,0,0,0.05) !important;
  }
  .trust-item:nth-child(even) {
    border-right: none !important;
  }
  .trust-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .trust-item h4 {
    font-size: 0.85rem !important;
  }

  /* 3. Filter Navigation (Horizontal Scroll Ribbon) */
  .catalog-filter-nav {
    padding: 0 0 1.5rem 0 !important;
  }
  .filter-options {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 15px !important;
    gap: 0.5rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .filter-options::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .filter-btn {
    flex: 0 0 auto !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
  }

  /* 4. Product Grid (2 Columns) */
  .premium-product-grid { grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .premium-product-card {
    padding: 0.75rem !important;
    border-radius: 12px !important;
  }
  .premium-card-image {
    height: 120px !important;
    padding: 0.5rem !important;
  }
  .premium-product-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
  }
  .premium-card-price {
    font-size: 1rem !important;
  }
  .premium-card-content .btn-whatsapp {
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
    margin-top: 0.5rem !important;
  }

  /* 5. Promo Banner */
  .catalog-promo-banner {
    padding: 2rem 1.5rem !important;
    margin-bottom: 3rem !important;
    border-radius: 16px !important;
  }
  .promo-content h2 {
    font-size: 1.8rem !important;
  }
  .promo-content p {
    font-size: 0.95rem !important;
  }
  .promo-ad-image img {
    margin-top: 1.5rem !important;
  }
}



/* --- REMOVE CORRUPTED SKU ICON --- */
.premium-card-sku::before {
  display: none !important;
  content: none !important;
}


/* =========================================================
   COMPREHENSIVE MOBILE OPTIMIZATION - BRANDS PAGE
   ========================================================= */
@media (max-width: 768px) {
  /* 1. Brands Hero Shapes Animation Disabled on Mobile */
  .brands-hero-shapes {
    display: none !important;
  }
  .brand-specializations-bg .hero-title {
    font-size: 2.2rem !important;
  }

  /* 2. Premium Brand Cards (Tighter Layout) */
  .premium-brand-card {
    border-radius: 16px !important;
  }
  .brand-cover-img {
    height: 130px !important;
  }
  .brand-logo-badge {
    top: 90px !important;
    width: 65px !important;
    height: 65px !important;
    padding: 10px !important;
    right: 1.5rem !important;
  }
  .brand-card-body {
    padding: 2rem 1.5rem 1.5rem !important;
  }
  .brand-card-body h3 {
    font-size: 1.3rem !important;
  }
  .brand-specs {
    flex-direction: column !important;
    gap: 0.25rem !important;
    margin-bottom: 1.5rem !important;
  }
  .brand-specs li {
    padding: 0 !important;
    border-right: none !important;
    font-size: 0.85rem !important;
  }

  /* 3. Promo Ad Banner (Special Order) */
  .promo-banner-ad {
    padding: 2rem 1.5rem !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .promo-ad-content {
    max-width: 100% !important;
  }
  .promo-ad-content h2 {
    font-size: 1.8rem !important;
  }
  .promo-ad-image {
    margin: 1.5rem auto 0 !important;
    max-width: 100% !important;
  }
  .promo-ad-image img {
    margin: 0 auto !important;
  }
}



/* =========================================================
   BRANDS PAGE OVERHAUL (HERO & OEM SECTION)
   ========================================================= */

/* Hero Container Grid */
.brands-hero-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 4rem !important;
  text-align: left !important;
}
.brands-hero-left {
  text-align: left;
  position: relative;
  z-index: 2;
}

/* Sliding Logo Cards Animation */
.brands-hero-right {
  position: relative;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sliding-logo-card {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 25px;
  opacity: 0;
  transform: translateX(50px);
  animation: slideFadeCard 9s infinite linear;
}
.sliding-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}
.sliding-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* Delay staggered animations */
.sliding-logo-card.card-1 { animation-delay: 0s; right: 20%; top: 20%; }
.sliding-logo-card.card-2 { animation-delay: 3s; right: 40%; top: 50%; }
.sliding-logo-card.card-3 { animation-delay: 6s; right: 10%; top: 60%; }

@keyframes slideFadeCard {
  0% { opacity: 0; transform: translateX(100px); }
  20% { opacity: 1; transform: translateX(0); }
  80% { opacity: 1; transform: translateX(-50px); }
  100% { opacity: 0; transform: translateX(-150px); }
}

/* Genuine OEM Section */
.genuine-oem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.oem-card {
  background: #f8f9fa;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}
.oem-card:hover {
  background: #fff;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.oem-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(225,6,0,0.05);
  color: #e10600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  transition: all 0.3s ease;
}
.oem-card:hover .oem-icon {
  background: #e10600;
  color: #fff;
  transform: scale(1.1);
}
.oem-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}
.oem-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile Overrides */
@media (max-width: 768px) {
  .brands-hero-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  .brands-hero-left {
    text-align: center;
  }
  .brands-hero-title {
    font-size: 2.5rem !important;
  }
  .brands-hero-desc {
    margin: 0 auto;
  }
  .brands-hero-right {
    height: 200px;
    justify-content: center;
  }
  .sliding-logo-card {
    width: 90px;
    height: 90px;
    padding: 15px;
  }
  .sliding-logo-card.card-1 { right: auto; top: 10%; }
  .sliding-logo-card.card-2 { right: auto; top: 40%; margin-left: 100px; }
  .sliding-logo-card.card-3 { right: auto; top: 50%; margin-right: 100px; }
  
  .genuine-oem-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .oem-card {
    padding: 2rem 1.5rem;
  }
}


/* --- OVERRIDE SLIDING ANIMATION & MOBILE LAYOUT --- */
.brands-hero-right {
  position: relative;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sliding-logo-card {
  position: absolute;
  right: 10%;
  margin: auto;
  opacity: 0;
  transform: translateX(-40px);
  animation: slideFadeInOut 9s infinite;
}

.sliding-logo-card.card-1 { animation-delay: 0s; right: 10%; top: auto; }
.sliding-logo-card.card-2 { animation-delay: 3s; right: 10%; top: auto; margin-left: 0; }
.sliding-logo-card.card-3 { animation-delay: 6s; right: 10%; top: auto; margin-right: 0; }

@keyframes slideFadeInOut {
  0% { opacity: 0; transform: translateX(-40px); }
  10% { opacity: 1; transform: translateX(0); }
  23% { opacity: 1; transform: translateX(0); }
  33% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 0; transform: translateX(-40px); }
}

@media (max-width: 768px) {
  .brands-hero-container {
    grid-template-columns: 55% 45% !important;
    gap: 1rem !important;
    text-align: left !important;
  }
  .brands-hero-left {
    text-align: left !important;
  }
  .brands-hero-title {
    font-size: 1.8rem !important;
    letter-spacing: -1px !important;
  }
  .brands-hero-desc {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
  .brands-hero-right {
    height: 150px !important;
    justify-content: center !important;
  }
  .sliding-logo-card {
    width: 80px !important;
    height: 80px !important;
    padding: 12px !important;
    right: 0 !important;
    left: 0 !important;
    margin: 0 auto !important;
  }
}



/* --- ANIMATION DISPLAY TOGGLES --- */
.desktop-only { display: block; }
.mobile-only { display: none !important; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
}


/* --- BENTO GRID OVERRIDE FOR OEM SECTION --- */
.genuine-oem-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 2rem !important;
}

.oem-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Card 1: Top Left (Wide) */
.oem-card:nth-child(1) {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  text-align: left !important;
  align-items: flex-start;
}

/* Card 2: Right Side (Tall) */
.oem-card:nth-child(2) {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 3 !important;
  text-align: center !important;
}

/* Card 3: Bottom Left (Wide) */
.oem-card:nth-child(3) {
  grid-column: 1 / 2 !important;
  grid-row: 2 / 3 !important;
  text-align: left !important;
  align-items: flex-start;
}

/* Adjust icons for wide cards */
.oem-card:nth-child(1) .oem-icon,
.oem-card:nth-child(3) .oem-icon {
  margin: 0 0 1.5rem 0 !important;
}

@media (max-width: 768px) {
  .genuine-oem-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 1rem !important;
  }
  
  /* Mobile Bento: Card 1 Full Width */
  .oem-card:nth-child(1) {
    grid-column: 1 / 3 !important;
    grid-row: 1 / 2 !important;
  }
  
  /* Mobile Bento: Card 2 & 3 Side by Side */
  .oem-card:nth-child(2) {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    padding: 1.5rem 1rem !important;
  }
  .oem-card:nth-child(3) {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    align-items: center !important;
  }
  
  .oem-card:nth-child(3) .oem-icon {
    margin: 0 auto 1rem auto !important;
  }
  
  .oem-card h3 {
    font-size: 1rem !important;
  }
  .oem-card p {
    font-size: 0.85rem !important;
  }
}


/* --- GLOBAL WHATSAPP BUTTON COLOR FIX --- */
.btn-whatsapp,
.promo-content .btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.btn-whatsapp:hover,
.promo-content .btn-whatsapp:hover {
  background: #1ebc59 !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
  color: #ffffff !important;
}


/* --- ABOUT PAGE MOBILE SHAPE SPACING FIX --- */
@media (max-width: 768px) {
  .about-hero-shapes {
    transform: scale(0.8) !important;
    height: 300px !important;
    margin-bottom: 2rem !important;
  }
  .about-hero-shapes .shape-square-rounded {
    right: -15% !important;
    top: 0% !important;
  }
  .about-hero-shapes .shape-circle-small {
    left: -10% !important;
    bottom: 0% !important;
  }
}
@media (max-width: 480px) {
  .about-hero-shapes {
    transform: scale(0.65) !important;
  }
  .about-hero-shapes .shape-square-rounded {
    right: -25% !important;
    top: -5% !important;
  }
  .about-hero-shapes .shape-circle-small {
    left: -20% !important;
    bottom: -5% !important;
  }
}



/* --- CATEGORIES BENTO CARD MOBILE FIX --- */
@media (max-width: 768px) {
  .bento-category-card {
    border-radius: 16px !important;
  }
}



/* --- BENTO CARD THEMES --- */

/* White Theme */
.bento-theme-white {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.bento-theme-white h4, .bento-theme-white p, .bento-theme-white i {
  color: #111 !important;
}
.bento-theme-white .bento-arrow-icon {
  background: #f8f9fa;
  color: #e10600;
  border: 1px solid #eee;
}

/* Red Theme */
.bento-theme-red {
  background: linear-gradient(135deg, #d90429 0%, #ef233c 100%) !important;
  box-shadow: 0 15px 35px rgba(217,4,41,0.25);
  border: none;
}
.bento-theme-red h4, .bento-theme-red p, .bento-theme-red i {
  color: #ffffff !important;
}
.bento-theme-red p {
  opacity: 0.9;
}
.bento-theme-red .bento-arrow-icon {
  background: #ffffff;
  color: #d90429;
}

/* Gray Theme */
.bento-theme-gray {
  background: #2b2b2f !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
}
.bento-theme-gray h4, .bento-theme-gray i {
  color: #ffffff !important;
}
.bento-theme-gray p {
  color: rgba(255,255,255,0.7) !important;
}
.bento-theme-gray .bento-arrow-icon {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

/* Icon Resizing */
.bento-large-icon { font-size: 3.5rem; margin-bottom: 1.5rem; opacity: 0.9; }
.bento-medium-icon { font-size: 2.5rem; margin-bottom: 1.2rem; opacity: 0.9; }
.bento-small-icon { font-size: 2rem; margin-bottom: 1rem; opacity: 0.9; }

/* Hide paragraph on mobile */
@media (max-width: 768px) { .bento-large-icon, .bento-medium-icon, .bento-small-icon { font-size: 2rem !important; margin-bottom: 0.5rem !important; } .bento-category-content h4 { font-size: 1.1rem !important; margin-bottom: 0 !important; } }


.bento-category-content {
  position: relative;
  z-index: 2;
}

/* --- BENTO FEATURE LISTS --- */
.bento-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.bento-feature-list li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}
.bento-theme-red .bento-feature-list li i {
  color: #fff !important;
  font-size: 1rem;
}
.bento-theme-white .bento-feature-list li {
  color: #333 !important;
}




/* --- MOBILE BENTO SHOW MORE LOGIC --- */
@media (max-width: 768px) {
  /* Hide cards 5 through 10 by default */
  .bento-categories-grid:not(.bento-grid-expanded) .bento-category-card:nth-child(n+5) {
    display: none !important;
  }
  
  /* Show the Show More button wrapper only on mobile */
  .mobile-show-more-wrap {
    display: block !important;
  }
}


/* --- UNIQUE BENTO BACKGROUND PATTERNS --- */

/* All patterns use a ::before pseudo-element */
.bento-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 1. Engine (Red) - Ultra-Flat 3D Grid */
.pattern-engine::before {
  inset: -150%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(82deg) translateY(-200px) translateZ(-100px);
  transform-origin: center top;
  opacity: 0.7;
}

/* 2. Brakes (White) - Dotted Matrix */
.pattern-brakes::before {
  background-image: radial-gradient(rgba(0,0,0,0.05) 2px, transparent 2px);
  background-size: 15px 15px;
}

/* 3. Suspension (Gray) - Carbon Fiber Mesh */
.pattern-suspension::before {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 4px
  ), repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 4px
  );
}

/* 4. Air Con (White) - Frost Glow */
.pattern-ac::before {
  background: radial-gradient(circle at top right, rgba(0,0,0,0.04) 0%, transparent 50%),
              radial-gradient(circle at bottom left, rgba(0,0,0,0.03) 0%, transparent 50%);
}

/* 5. Batteries (White) - Circuit Nodes (Plus signs) */
.pattern-batteries::before {
  background-image: radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
                    radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
}

/* 6. Cooling (Gray) - Geometric Chevrons / Honeycomb illusion */
.pattern-cooling::before {
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%) -25px 0,
    linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%) -25px 0,
    linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
  background-size: 50px 50px;
}

/* 7. Performance (Red) - Speed Lines */
.pattern-performance::before {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.04) 10px,
    rgba(255,255,255,0.04) 12px
  );
}

/* 8. Filters (White) - Micro-Mesh */
.pattern-filters::before {
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 8px 8px;
}

/* 9. Wipers (White) - Rain Pattern */
.pattern-wipers::before {
  background-image: repeating-linear-gradient(
    -20deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.03) 20px,
    rgba(0,0,0,0.03) 21px
  );
}

/* 10. Oils & Fluids (White) - Fluid Waves (Overlapping large radial gradients) */
.pattern-oils::before {
  background: 
    radial-gradient(circle at 20% 50%, rgba(0,0,0,0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(0,0,0,0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0,0,0,0.02) 0%, transparent 40%);
}


/* --- UPDATED MOBILE CATEGORY RULES --- */
@media (max-width: 768px) {
  /* Remove arrow icon from all boxes on mobile */
  .bento-arrow-icon {
    display: none !important;
  }
  
  /* Small boxes (1x1) only need heading, hide paragraph */
  .bento-span-1x1 .bento-category-content p {
    display: none !important;
  }
  
  /* Ensure paragraphs on big boxes (2x2, 2x1, etc) are visible */
  .bento-span-2x2 .bento-category-content p,
  .bento-span-2x1 .bento-category-content p,
  .bento-span-1x2 .bento-category-content p {
    display: block !important;
  }
  
  /* Ensure feature lists on big boxes are visible */
  .bento-span-2x2 .bento-feature-list,
  .bento-span-2x1 .bento-feature-list,
  .bento-span-1x2 .bento-feature-list {
    display: block !important;
  }
}



/* --- CATALOG REDESIGN CSS --- */
.most-purchased-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Hide extra products in main grid by default */


/* Specific Offer Banner Mobile styling */
@media (max-width: 768px) {
  .most-purchased-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  .most-purchased-grid .premium-product-card:first-child {
    grid-column: span 2;
  }
  .most-purchased-grid .premium-product-card:nth-child(n+2) {
    grid-column: span 1;
    padding: 1rem !important;
  }
  .most-purchased-grid .premium-product-card:nth-child(n+2) .premium-card-title {
    font-size: 0.95rem !important;
  }
  .most-purchased-grid .premium-product-card:nth-child(n+2) .premium-card-desc {
    display: none !important;
  }
  .most-purchased-grid .premium-product-card:nth-child(n+2) .btn-whatsapp {
    font-size: 0.75rem !important;
    padding: 0.5rem !important;
  }
  .offer-banner {
    padding: 3rem 1.5rem 2rem 1.5rem !important;
    text-align: center;
    flex-direction: column-reverse !important;
    gap: 0 !important;
  }
  .offer-content h2 {
    font-size: 2rem !important;
  }
  .offer-image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: -4rem !important;
  }
  .offer-content { margin: 0 auto !important; width: 100% !important; text-align: center !important; }
  .offer-image img {
    max-height: 250px !important;
    margin-top: -5rem !important; /* Bleed out top of banner */
    margin-bottom: 0 !important;
    transform: rotate(0deg) !important;
    object-fit: contain;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .catalog-view-more-wrap {
    margin-top: 2rem !important;
  }
}




/* --- WIDE CATALOG SECTIONS --- */
.most-purchased-section .container,
.special-offers-section .container {
  max-width: 1600px !important;
  width: 95% !important;
}
@media (max-width: 768px) {
  .most-purchased-section .container,
  .special-offers-section .container {
    width: 100% !important;
    padding: 0 1rem !important;
  }
}



/* --- MOBILE IMAGE SHRINK FIX --- */
@media (max-width: 768px) {
  .premium-card-image {
    height: 140px !important; /* Slightly taller container to give padding */
  }
  .premium-card-image img {
    max-width: 60% !important; /* Constrain width drastically so it scales down */
    max-height: 100px !important; /* Constrain height */
    margin: 0 auto !important;
  }
  
  /* Ensure the bento small cards don't shrink the image too much */
  .most-purchased-grid .premium-product-card:nth-child(n+2) .premium-card-image {
    height: 100px !important;
  }
  .most-purchased-grid .premium-product-card:nth-child(n+2) .premium-card-image img {
    max-width: 80% !important;
    max-height: 80px !important;
  }
}


/* --- CAN'T FIND YOUR PART MOBILE LAYOUT OVERRIDE --- */
@media (max-width: 768px) {
  .catalog-promo-banner {
    padding: 2rem 1.5rem !important;
  }
  .catalog-promo-banner .container {
    display: grid !important;
    grid-template-columns: 1fr 100px !important;
    gap: 0.5rem 1rem !important;
    text-align: left !important;
    align-items: center !important;
  }
  .catalog-promo-banner .promo-content {
    display: contents !important;
  }
  .catalog-promo-banner .promo-content h2,
  .catalog-promo-banner .promo-content p {
    grid-column: 1 / 2 !important;
    text-align: left !important;
    margin-bottom: 0 !important;
  }
  .catalog-promo-banner .promo-content h2 {
    font-size: 1.6rem !important;
    grid-row: 1 !important;
    align-self: end !important;
  }
  .catalog-promo-banner .promo-content p {
    font-size: 0.85rem !important;
    grid-row: 2 !important;
    align-self: start !important;
  }
  .catalog-promo-banner .promo-ad-image {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }
  .catalog-promo-banner .promo-ad-image img {
    max-width: 100px !important;
    height: auto !important;
  }
  .catalog-promo-banner .btn-whatsapp-solid {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1rem !important;
    padding: 0.85rem 1.5rem !important; /* Slightly smaller button for mobile */
  }
}


/* --- FIX OVERLAPPING BADGE: ANCHOR TO TOP-RIGHT OF ENTIRE CARD --- */
.premium-card-image {
  position: static !important; /* Allow badge to escape image padding */
}
.premium-card-badge {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  border-radius: 0 16px 0 16px !important; /* Match top-right curve of the card */
  padding: 0.4rem 0.8rem !important;
  font-size: 0.75rem !important;
  z-index: 10 !important;
}

/* Adjust radius for even/odd cards if they have different radius */
.premium-product-card:nth-child(even) .premium-card-badge {
  border-radius: 0 16px 0 16px !important; 
}

/* Mobile specific font size for badge */
@media (max-width: 768px) {
  .premium-card-badge {
    font-size: 0.65rem !important;
    padding: 0.3rem 0.6rem !important;
  }
}


/* --- METALLIC GLARE ANIMATION FOR MOST PURCHASED CARDS --- */
.most-purchased-grid .premium-product-card {
  position: relative;
  overflow: hidden; /* Ensure glare doesn't spill out */
}

.most-purchased-grid .premium-product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: metallicGlare 2.5s infinite;
  z-index: 100;
  pointer-events: none; /* Let clicks pass through */
}

/* Stagger the animation so they flare in sequence like a luxury cascade */
.most-purchased-grid .premium-product-card:nth-child(1)::after { animation-delay: 0s; }
.most-purchased-grid .premium-product-card:nth-child(2)::after { animation-delay: 0.2s; }
.most-purchased-grid .premium-product-card:nth-child(3)::after { animation-delay: 0.4s; }

@keyframes metallicGlare {
  0% { left: -150%; }
  40% { left: 250%; }
  100% { left: 250%; }
}


/* --- PREMIUM RED-TINTED BACKGROUND FOR MOST PURCHASED CARDS --- */
.most-purchased-grid .premium-product-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff0f0 100%) !important;
  border: 1px solid #ffd6d6 !important;
  box-shadow: 0 10px 30px rgba(227, 27, 35, 0.08) !important;
}



/* --- EYE CATCHING DEEP RED VIEW MORE BUTTON --- */
#btnViewMoreCatalog {
  background: var(--gradient-red) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 10px 25px rgba(227, 27, 35, 0.4) !important;
  transition: all 0.3s ease !important;
  font-weight: 700 !important;
}
#btnViewMoreCatalog:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(227, 27, 35, 0.6) !important;
}




/* --- PC vs MOBILE PRODUCT LIMIT --- */
.premium-product-grid:not(.catalog-expanded) .premium-product-card:nth-child(n+11) {
  display: none;
}

@media (max-width: 768px) {
  .premium-product-grid:not(.catalog-expanded) .premium-product-card:nth-child(n+5) {
    display: none !important;
  }
}



/* --- BRANDS PROMO BANNER MOBILE LAYOUT OVERRIDE --- */
@media (max-width: 768px) {
  .promo-banner-ad {
    display: grid !important;
    grid-template-columns: 1fr 100px !important;
    gap: 0.5rem 1rem !important;
    text-align: left !important;
    align-items: center !important;
    padding: 2rem 1.5rem !important;
  }
  .promo-banner-ad .promo-ad-content {
    display: contents !important;
  }
  .promo-banner-ad .promo-ad-content .promo-ad-label {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin-bottom: 0.5rem !important;
    display: inline-block !important;
  }
  .promo-banner-ad .promo-ad-content h2,
  .promo-banner-ad .promo-ad-content p {
    grid-column: 1 / 2 !important;
    text-align: left !important;
    margin-bottom: 0 !important;
  }
  .promo-banner-ad .promo-ad-content h2 {
    font-size: 1.5rem !important;
    grid-row: 2 !important;
    align-self: end !important;
  }
  .promo-banner-ad .promo-ad-content p {
    font-size: 0.85rem !important;
    grid-row: 3 !important;
    align-self: start !important;
    margin-top: 0.5rem !important;
  }
  .promo-banner-ad .promo-ad-image {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }
  .promo-banner-ad .promo-ad-image img {
    max-width: 100px !important;
    height: auto !important;
  }
  .promo-banner-ad .btn-whatsapp-solid {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1rem !important;
    padding: 0.85rem 1.5rem !important;
  }
}

