/* =========================================================================
   SMATRIX FOOD PROCESSING MACHINES - STYLESHEET
   
   SECTION DIRECTORY:
   1. BRAND VARIABLES & CORE UTILITIES
   2. BASE RESETS & SCROLLBARS
   3. BUTTON COMPONENTS
   4. NAVIGATION HEADER & TOP BAR
   5. MEGA DROPDOWN MENU
   6. CATEGORY BAR
   7. HERO BANNER
   8. WHY CHOOSE US
   9. BEST SELLERS CAROUSEL
   10. TESTIMONIALS & ELFSIGHT
   11. CONTACT FORM & ADDRESS
   12. DYNAMIC CATEGORY PAGE GRID
   13. DYNAMIC PRODUCT DETAIL TEMPLATE
   14. SEARCH & QUOTE MODALS
   15. FOOTER
   16. FLOATING WHATSAPP CHAT DRAWER
   17. MEDIA QUERY RESPONSIVENESS (MOBILE DEVIATIONS)
   ========================================================================= */

/* =========================================================================
   1. BRAND VARIABLES & CORE UTILITIES
   ========================================================================= */
:root {
  /* Brand Palette (Extracted from logo.png) */
  --primary-orange: #E65C00;
  --primary-orange-hover: #FF7518;
  --primary-orange-light: rgba(230, 92, 0, 0.08);
  --dark-charcoal: #1E1816;
  --dark-charcoal-medium: #352B28;
  --dark-charcoal-light: #4E413D;
  --accent-red: #C82B1B;
  --accent-red-hover: #E53935;
  --bg-light: #F9F8F6;
  --bg-metallic: #ECEAE6;
  --border-color: rgba(30, 24, 22, 0.08);
  --border-color-glow: rgba(230, 92, 0, 0.25);
  
  /* Typography */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px rgba(30, 24, 22, 0.05);
  --shadow-md: 0 10px 20px rgba(30, 24, 22, 0.08);
  --shadow-lg: 0 20px 40px rgba(30, 24, 22, 0.12);
  --shadow-orange: 0 10px 25px rgba(230, 92, 0, 0.25);
  --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);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  font-family: var(--font-heading);
  color: var(--primary-orange);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
  background: var(--primary-orange-light);
  padding: 6px 14px;
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  line-height: 1.25;
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--dark-charcoal-light);
  opacity: 0.85;
}

.page-padding {
  padding-top: 155px; /* Offset for header + top bar + category bar */
}

/* =========================================================================
   2. BASE RESETS & SCROLLBARS
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--dark-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-charcoal-medium);
  border: 1px solid var(--bg-light);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* =========================================================================
   3. BUTTON COMPONENTS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  gap: 8px;
  border: none;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 92, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-charcoal);
  border: 2px solid var(--dark-charcoal);
}

.btn-secondary:hover {
  background-color: var(--dark-charcoal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-orange {
  background-color: transparent;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
}

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

.btn-whatsapp-direct {
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
  border-radius: 8px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: var(--transition-normal);
}

.btn-whatsapp-direct:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* =========================================================================
   4. NAVIGATION HEADER & TOP BAR
   ========================================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  background: white;
  border-bottom: 1px solid var(--border-color);
}

/* Top contact bar styling */
.header-top-bar {
  background-color: var(--dark-charcoal);
  color: #B3A4A0;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-link {
  color: #B3A4A0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--primary-orange);
}

.whatsapp-top-link {
  color: #25D366;
  font-weight: 600;
}

.whatsapp-top-link:hover {
  color: #20ba5a;
}

/* Lower navbar styling */
.header-main-nav {
  background: white;
  padding: 14px 0;
  position: relative;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

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

.nav-item a {
  font-family: var(--font-heading);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-charcoal-medium);
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item a:hover, .nav-item a.active {
  color: var(--primary-orange);
}

.nav-arrow {
  font-size: 0.72rem;
  transition: var(--transition-normal);
}

.nav-item.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Actions in navbar */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--dark-charcoal);
  transition: var(--transition-fast);
  padding: 6px;
}

.search-trigger:hover {
  color: var(--primary-orange);
}

.nav-contact-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--dark-charcoal);
  border-radius: 2px;
}

/* =========================================================================
   5. MEGA DROPDOWN MENU
   ========================================================================= */
.has-dropdown {
  position: static; /* Required for full width mega menu */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: white;

    box-shadow: 0 15px 30px rgba(30, 24, 22, 0.1);

    border-top: 1px solid var(--border-color);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.3s;

    /* Keep the menu within the visible browser window */
    padding: 12px 0;
    max-height: calc(100vh - 110px);

    /* Enable vertical scrolling when content overflows */
    overflow-y: auto;
    overflow-x: hidden;

    /* Keep scrolling inside the menu */
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;

    /* Position above page content */
    z-index: 999;
}

/* Products dropdown scrollbar - Chrome and Edge */
.mega-menu::-webkit-scrollbar {
    width: 7px;
}

.mega-menu::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.mega-menu::-webkit-scrollbar-thumb {
    background: #F26500;
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb:hover {
    background: #D95500;
}

/* Firefox scrollbar */
.mega-menu {
    scrollbar-width: thin;
    scrollbar-color: #F26500 #f5f5f5;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  /* Smaller vertical spacing */
  gap: 10px 24px;

  max-width: 1280px;

  margin: 0 auto;

  padding: 0 24px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-menu-title {
  font-family: var(--font-heading);

  font-size: 0.86rem;

  font-weight: 800;

  border-bottom: 2px solid var(--primary-orange-light);

  padding-bottom: 4px;

  margin-bottom: 5px;
}

.mega-menu-title a {
  color: var(--dark-charcoal) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-menu-title a:hover {
  color: var(--primary-orange) !important;
}

.col-num {
  color: var(--primary-orange);
  font-weight: 700;
}

.mega-menu-links {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 2px;

  margin: 0;

  padding: 0;
}

.mega-menu-links a {
   color: var(--dark-charcoal-light) !important;

  font-size: 0.80rem;

  font-weight: 500;

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  padding: 1px 0;

  transition: var(--transition-fast);
}

.list-arrow {
  font-size: 0.65rem;
  margin-right: 6px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.mega-menu-links a:hover {
  color: var(--primary-orange) !important;
  padding-left: 6px;
}

.mega-menu-links a:hover .list-arrow {
  color: var(--primary-orange);
  opacity: 1;
}

/* Mega menu callout card */
.mega-menu-expert-card-col {
  grid-column: span 1;
}

.mega-menu-expert-card {
  padding: 24px;
  border-radius: 12px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mega-menu-expert-card h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.mega-menu-expert-card p {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 16px;
  z-index: 2;
}

.mega-menu-expert-card .btn {
  z-index: 2;
  align-self: flex-start;
}

/* =========================================================================
   6. CATEGORY BAR
   ========================================================================= */
.category-bar-section {
  background: #FFF;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  margin-top: 110px; /* Sits below sticky header */
}

.category-bar-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide for firefox */
  padding-bottom: 2px;
}

.category-bar-wrapper::-webkit-scrollbar {
  display: none; /* Hide for Chrome/Safari */
}

.category-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--dark-charcoal-medium);
  gap: 6px;
  padding: 6px 14px;
  min-width: 90px;
  border-bottom: 3px solid transparent;
  transition: var(--transition-normal);
}

.category-bar-icon-box {
  font-size: 1.25rem;
  color: var(--dark-charcoal-medium);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.category-bar-item span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.category-bar-item:hover, .category-bar-item.active {
  border-bottom-color: var(--primary-orange);
  color: var(--primary-orange);
}

.category-bar-item:hover .category-bar-icon-box, .category-bar-item.active .category-bar-icon-box {
  color: var(--primary-orange);
  transform: translateY(-2px);
}

/* =========================================================================
   7. HERO BANNER
   ========================================================================= */
.hero-banner-section {
  padding: 140px 0 120px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.hero-banner-content {
  max-width: 700px;
  z-index: 2;
  position: relative;
}

.hero-banner-tag {
  color: var(--primary-orange);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  border-left: 3px solid var(--primary-orange);
  padding-left: 10px;
}

.hero-banner-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.hero-banner-title span {
  color: var(--primary-orange);
}

.hero-banner-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-banner-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* WhatsApp dropdown button in Hero */
.hero-whatsapp-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.hero-wa-dropdown-content {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 240px;
  margin-bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 10;
}

.hero-wa-dropdown-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-wa-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-charcoal);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 18px;
  transition: var(--transition-fast);
}

.hero-wa-dropdown-content a:hover {
  background: var(--bg-light);
  color: var(--primary-orange);
}

.hero-wa-dropdown-content a i {
  color: #25D366;
  font-size: 1.15rem;
}

/* =========================================================================
   8. WHY CHOOSE US
   ========================================================================= */
.why-choose-section {
  background: #FFF;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 16px;
  transition: var(--transition-normal);
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--primary-orange);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 92, 0, 0.15);
  background: white;
}

.why-card:hover::before {
  height: 100%;
}

.why-icon-box {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 1.6rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-card:hover .why-icon-box {
  background: var(--primary-orange);
  color: #fff;
  transform: rotateY(180deg);
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 0.88rem;
  color: var(--dark-charcoal-light);
  opacity: 0.85;
  line-height: 1.55;
}

/* =========================================================================
   9. BEST SELLERS CAROUSEL
   ========================================================================= */
.bestsellers-section {
  position: relative;
}

.carousel-container-outer {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-card-container {
  flex: 0 0 calc((100% - 48px) / 3);

    width: calc((100% - 48px) / 3);

    min-width: 0;

    height: 525px;

    display: flex;

    align-items: stretch;

    overflow: visible
}

/* Bestseller container cards */
.bestseller-card {
  position: relative;

    width: 100%;

    height: 525px;

    min-height: 525px;

    max-height: 525px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border-radius: 16px;

    border: 1px solid rgba(30, 24, 22, 0.08);

    box-shadow:
        0 8px 24px rgba(30, 24, 22, 0.08);

    /*
       IMPORTANT:
       Do not let the natural image/content
       determine the card size.
    */

    box-sizing: border-box;

    transform: scale(1);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    z-index: 1;
}


.bestseller-card:hover {
  transform: scale(1.04);

    box-shadow:
        0 20px 45px rgba(30, 24, 22, 0.20);

    z-index: 20;
}

.bestseller-img-box {
  width: 100%;

    height: 240px;

    min-height: 240px;

    max-height: 240px;

    flex: 0 0 240px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    padding: 20px;

    background: #ffffff;

    border-bottom: 1px solid rgba(30, 24, 22, 0.08);

    box-sizing: border-box;
}

.bestseller-card-img {
   width: 100%;

    height: 100%;

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    display: block;

    transition:
        transform 0.3s ease;
}

.bestseller-card:hover .bestseller-card-img {
  transform: scale(1.05);
}

.bestseller-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.bestseller-body {
  width: 100%;

    height: 285px;

    min-height: 285px;

    max-height: 285px;

    padding: 22px 24px;

    display: flex;

    flex-direction: column;

    flex: 0 0 285px;

    box-sizing: border-box;
}

.bestseller-series {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.bestseller-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 10px;
}

.bestseller-desc {
  height: 44px;

    min-height: 44px;

    max-height: 44px;

    margin-bottom: 14px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    line-height: 1.5;
}

.bestseller-specs-mini {
  min-height: 70px;

    height: 70px;

    max-height: 70px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 8px;
}

.bs-spec {
  font-size: 0.8rem;
  color: var(--dark-charcoal-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bs-spec i {
  color: var(--primary-orange);
  font-size: 0.88rem;
}

.bestseller-footer {
  margin-top: auto;

    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.bs-wa-link {
  color: #25D366;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.bs-wa-link:hover {
  color: #20ba5a;
  transform: scale(1.05);
}

/* Arrows controls styling */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-charcoal);
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.carousel-arrow:hover {
  background: var(--dark-charcoal);
  color: white;
  border-color: var(--dark-charcoal);
}

.carousel-arrow:disabled {
  opacity: 0;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-arrow.prev {
  left: -20px;
}

.carousel-arrow.next {
  right: -20px;
}

/* Carousel indicator dots */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(30, 24, 22, 0.15);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.carousel-dot.active {
  background: var(--primary-orange);
  width: 24px;
  border-radius: 50px;
}

/* =========================================================================
   10. TESTIMONIALS & ELFSIGHT
   ========================================================================= */
.reviews-section {
  background: white;
}

.elfsight-container {
  margin-top: 20px;
  min-height: 250px;
}

/* =========================================================================
   11. CONTACT FORM & ADDRESS
   ========================================================================= */
.contact-section {
  background-color: var(--bg-metallic);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 6px;
}

.contact-detail-box p {
  color: var(--dark-charcoal-light);
  opacity: 0.85;
  font-size: 0.92rem;
}

.contact-detail-box a {
  color: var(--dark-charcoal);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
}

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

/* Mini WhatsApp Box inside contacts column */
.contact-whatsapp-box {
  background: #FFF;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.whatsapp-box-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--dark-charcoal);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-box-title i {
  color: #25D366;
  font-size: 1.3rem;
}

.whatsapp-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-channel-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--dark-charcoal);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-normal);
}

.whatsapp-channel-btn:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
  transform: translateY(-2px);
}

.whatsapp-channel-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.whatsapp-channel-label span:first-child {
  font-size: 0.72rem;
  color: var(--dark-charcoal-light);
  opacity: 0.75;
  font-weight: 400;
  margin-bottom: 2px;
}

.whatsapp-channel-btn i {
  color: #25D366;
}

/* Leads form card */
.contact-form-panel {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-charcoal-medium);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark-charcoal);
  background-color: var(--bg-light);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.1);
}

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

/* =========================================================================
   12. DYNAMIC CATEGORY PAGE GRID (`category.html`)
   ========================================================================= */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--dark-charcoal-light);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.breadcrumbs a {
  color: var(--dark-charcoal-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.category-page-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.category-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.category-icon-wrapper {
  width: 50px;
  height: 50px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.category-page-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-charcoal);
}

.category-page-desc {
  font-size: 1.02rem;
  color: var(--dark-charcoal-light);
  opacity: 0.85;
  max-width: 800px;
}

.category-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.category-product-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.category-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 92, 0, 0.15);
}

.cat-prod-img-box {
  height: 220px;
  background: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cat-prod-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-slow);
}

.category-product-card:hover .cat-prod-img {
  transform: scale(1.04);
}

.cat-prod-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-orange-light);
  color: var(--primary-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

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

.cat-prod-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 8px;
}

.cat-prod-desc {
  font-size: 0.88rem;
  color: var(--dark-charcoal-light);
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.cat-prod-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.cat-spec-badge {
  font-size: 0.8rem;
  color: var(--dark-charcoal-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-spec-badge strong {
   text-transform: capitalize;
}
.cat-spec-badge i {
  color: var(--primary-orange);
  font-size: 0.8rem;
}

.error-page-card {
  grid-column: span 3;
  text-align: center;
  padding: 60px 24px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.error-page-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--accent-red);
}

/* =========================================================================
   13. DYNAMIC PRODUCT DETAIL TEMPLATE (`product.html`)
   ========================================================================= */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

/* Left Column Styling */
.product-image-frame {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  position: relative;
}

.product-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-orange);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Technical specifications table card */
.specs-table-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.specs-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--primary-orange-light);
  padding-bottom: 10px;
}

.specs-card-title i {
  color: var(--primary-orange);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(30, 24, 22, 0.05);
  font-size: 0.9rem;
}


.specs-table tr:last-child td {
  border-bottom: none;
}

.spec-label {
  color: var(--dark-charcoal-light);
  opacity: 0.8;
  font-weight: 600;
  width: 45%;
}

.spec-value {
  color: var(--dark-charcoal);
  font-weight: 700;
  text-align: right;
}

/* Right Column Styling */
.product-category-tag {
  color: var(--primary-orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.product-detail-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark-charcoal);
  margin-bottom: 16px;
}

.product-short-desc {
  font-size: 1.1rem;
  color: var(--dark-charcoal-medium);
  line-height: 1.6;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.detail-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 12px;
}

.product-full-desc-box {
  margin-bottom: 30px;
}

.product-full-desc-box p {
  color: var(--dark-charcoal-light);
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.65;
}

.product-features-box {
  margin-bottom: 40px;
}

.features-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-bullet-list li {
  font-size: 0.92rem;
  color: var(--dark-charcoal);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.features-bullet-list li i {
  color: #25D366;
  font-size: 1.1rem;
  margin-top: 2px;
}

.product-cta-group {
  display: flex;
  gap: 16px;
}

.product-cta-group .btn {
  flex-grow: 1;
}

/* Related Products Grid spacing */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* =========================================================================
   14. SEARCH & QUOTE MODALS
   ========================================================================= */
/* A. Search Modal Overlay */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 24, 22, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.search-modal-content {
  background: white;
  width: 100%;
  max-width: 650px;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active .search-modal-content {
  transform: scale(1);
}

.search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--dark-charcoal-light);
  opacity: 0.6;
  transition: var(--transition-fast);
}

.search-close:hover {
  opacity: 1;
  color: var(--accent-red);
}

.search-modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.search-input-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--dark-charcoal-light);
  opacity: 0.6;
  font-size: 1.1rem;
}

.search-results {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark-charcoal);
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.search-result-item:hover {
  background: var(--bg-light);
  border-color: var(--primary-orange-light);
}

.search-result-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.search-result-info {
  flex-grow: 1;
}

.search-result-cat {
  font-size: 0.72rem;
  color: var(--primary-orange);
  font-weight: 700;
  text-transform: uppercase;
}

.search-result-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.search-result-desc {
  font-size: 0.78rem;
  color: var(--dark-charcoal-light);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.search-no-results {
  text-align: center;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* B. Quote Modal Form Overlay */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 24, 22, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.quote-modal-panel {
  background: white;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-modal-overlay.active .quote-modal-panel {
  transform: scale(1);
}

.quote-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--dark-charcoal-light);
  opacity: 0.6;
}

.quote-modal-close:hover {
  opacity: 1;
  color: var(--accent-red);
}

.quote-modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.quote-modal-subtitle {
  font-size: 0.88rem;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* =========================================================================
   15. FOOTER
   ========================================================================= */
footer {
  background-color: var(--dark-charcoal);
  color: #fff;
  padding: 70px 0 24px 0;
  border-top: 4px solid var(--primary-orange);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-logo {
  height: 44px;
  width: auto;
  align-self: flex-start;
}

.footer-about-text {
  color: #B3A4A0;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

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

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--primary-orange);
}

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

.footer-links-list a {
  color: #B3A4A0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary-orange);
  padding-left: 4px;
}

.footer-col-newsletter {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-text {
  color: #B3A4A0;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #FFF;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.newsletter-btn {
  padding: 10px 16px;
  background: var(--primary-orange);
  color: #FFF;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--primary-orange-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #B3A4A0;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  color: #B3A4A0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary-orange);
}

/* =========================================================================
   16. FLOATING WHATSAPP CHAT DRAWER
   ========================================================================= */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1900;
}

.whatsapp-trigger-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition-normal);
  position: relative;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.06) rotate(8deg);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-notification-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 15px;
  height: 15px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  border: 2px solid #FFF;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(200, 43, 27, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(200, 43, 27, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(200, 43, 27, 0); }
}

/* Chat Drawer Box */
.whatsapp-chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 330px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  background: #FFF;
  border: 1px solid var(--border-color);
  animation: slideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
}

.whatsapp-chat-box.active {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-box-header {
  background: #075E54;
  color: #FFF;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.chat-box-header-icon {
  font-size: 1.8rem;
}

.chat-box-header-title h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.chat-box-header-title p {
  font-size: 0.72rem;
  opacity: 0.85;
}

.chat-box-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.75;
}

.chat-box-close:hover {
  opacity: 1;
}

.chat-box-body {
  padding: 16px;
  background-color: #ECE5DD;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 300px;
  overflow-y: auto;
}

.chat-welcome-msg {
  background: #FFF;
  padding: 10px 14px;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  max-width: 85%;
  align-self: flex-start;
}

.chat-welcome-msg p {
  font-size: 0.8rem;
  color: var(--dark-charcoal);
  margin-bottom: 4px;
}

.chat-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  display: block;
}

.chat-agent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-agent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFF;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--dark-charcoal);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.chat-agent-card:hover {
  border-color: rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.chat-agent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: relative;
  background: var(--bg-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-weight: 700;
  border: 2px solid var(--bg-metallic);
}

.chat-agent-card:hover .chat-agent-avatar {
  border-color: #25D366;
}

.status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
  border: 1.5px solid #FFF;
}

.chat-agent-info {
  flex-grow: 1;
}

.chat-agent-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
}

.chat-agent-dept {
  font-size: 0.72rem;
  color: var(--dark-charcoal-light);
  opacity: 0.8;
}

.chat-agent-arrow {
  color: var(--dark-charcoal-light);
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.chat-agent-card:hover .chat-agent-arrow {
  color: #25D366;
  transform: translateX(2px);
}

/* =========================================================================
   17. MEDIA QUERY RESPONSIVENESS (MOBILE DEVIATIONS)
   ========================================================================= */
@media (max-width: 1024px) {
  section {
    padding: 70px 0;
  }
  
  .hero-banner-title {
    font-size: 2.8rem;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-card-container {
    min-width: 50%;
  }
  
  .category-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-image-frame {
    height: 320px;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page-padding {
    padding-top: 130px;
  }

  .header-top-bar {
    display: none; /* Hide top bar on mobile screens to save space */
  }
  
  header {
    border-bottom: 1px solid var(--border-color);
  }
  
  .category-bar-section {
    margin-top: 76px; /* Offset adjusted for header only */
  }

  .menu-toggle {
    display: flex;
  }
  
  /* Mobile Navigation Drawer Overlay */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.06);
    transition: var(--transition-normal);
    z-index: 1005;
    align-items: flex-start;
    gap: 20px;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Disallow hover triggers on mobile mega menu */
  /* ==========================================
   MOBILE PRODUCTS MENU
   ========================================== */

@media (max-width: 768px) {

    .nav-menu {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu .has-dropdown {
        width: 100%;
    }

    .nav-menu .has-dropdown > a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Products mega menu becomes a normal
       scrollable section inside mobile menu */

    .nav-menu .mega-menu {
        position: static;

        display: none;

        width: 100%;

        max-height: 55vh;

        overflow-y: auto;
        overflow-x: hidden;

        margin-top: 10px;

        padding: 12px 0;

        background: #ffffff;

        box-shadow: none;

        border: 0;

        visibility: visible;
        opacity: 1;

        transform: none;
    }

    /* When Products is opened */

    .nav-menu .has-dropdown.active .mega-menu {
        display: block;
    }

    /* One category at a time */

    .nav-menu .mega-menu-grid {
        display: flex;

        flex-direction: column;

        gap: 18px;

        width: 100%;
    }

    .nav-menu .mega-menu-col {
        width: 100%;

        padding: 0 0 14px;

        border-bottom: 1px solid #eeeeee;
    }

    .nav-menu .mega-menu-title {
        margin: 0 0 8px;

        font-size: 13px;
    }

    .nav-menu .mega-menu-title a {
        color: #171717;
    }

    .nav-menu .mega-menu-links {
        display: flex;

        flex-direction: column;

        gap: 4px;

        margin: 0;

        padding: 0;

        list-style: none;
    }

    .nav-menu .mega-menu-links li a {
        display: block;

        padding: 6px 0;

        font-size: 12px;

        color: #666;

        line-height: 1.3;
    }

    .nav-menu .mega-menu-links li a:hover {
        color: #f56600;
    }

    /* Hide expert card on mobile */

    .nav-menu .mega-menu-expert-card-col {
        display: none;
    }

}
  
  .category-bar-wrapper {
    gap: 6px;
  }
  
  .carousel-arrow {
    display: none; /* Hide arrows on mobile carousel */
  }
}

@media (max-width: 600px) {
  .hero-banner-title {
    font-size: 2.2rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-card-container {
    min-width: 100%;
  }
  
  .category-products-grid {
    grid-template-columns: 1fr;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .contact-form-panel {
    padding: 24px;
  }
  
  .product-cta-group {
    flex-direction: column;
  }
  
  .search-modal-content {
    padding: 24px;
  }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .carousel-card-container {
        flex: 0 0 calc((100% - 24px) / 2);

        width: calc((100% - 24px) / 2);
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .carousel-card-container {
        flex: 0 0 100%;

        width: 100%;
    }

    .bestseller-card {
        height: 520px;

        min-height: 520px;

        max-height: 520px;
    }

    .bestseller-img-box {
        height: 230px;

        min-height: 230px;

        max-height: 230px;

        flex-basis: 230px;
    }

    .bestseller-body {
        height: 290px;

        min-height: 290px;

        max-height: 290px;

        flex-basis: 290px;
    }

    .bestseller-card:hover {
        transform: scale(1.02);
    }

}
/* Product Price Display */
.product-price-box {
    margin: 24px 0;
}

.product-price-box .price-label {
    font-size: 16px;
    font-weight: 800;
    color: #d88900;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-price-box .product-price {
    font-size: 34px;
    font-weight: 800;
    color: #d88900;
    line-height: 1.15;
    margin-bottom: 10px;
}

.product-price-box .price-note {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    max-width: 520px;
}
/* ==========================================
   EXPLORE PAGE - PRODUCT CARD FIX
   ========================================== */

.explore-product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.explore-product-image {
    position: relative;

    width: 100%;
    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 25px;

    box-sizing: border-box;

    background: #ffffff;

    overflow: hidden;
}

.explore-product-image img {
    position: static !important;

    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 90% !important;
    max-height: 350px !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none;
}

.explore-product-card:hover
.explore-product-image img {
    transform: scale(1.03);
}

.explore-product-body {
    position: relative;
    z-index: 5;

    width: 100%;
    box-sizing: border-box;

    background: #ffffff;

    padding: 21px 22px 22px;
}

.explore-product-body h3 {
    position: relative;
    z-index: 6;

    margin: 0 0 9px;

    color: #171717;
}

.explore-product-description {
    position: relative;
    z-index: 6;

    color: #777;
}

.explore-product-footer {
    position: relative;
    z-index: 6;

    background: #ffffff;
}
.product-custom-note {
  display: none;

  margin-top: 22px;
  padding: 13px 16px;

  background: #fff7ef;
  border-left: 4px solid #f56600;
  border-radius: 5px;

  color: #444;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
/* ==========================================
   MACHINE FINDER
   ========================================== */

.machine-finder-card {
    background: #ffffff;

    padding: 35px;

    border-radius: 16px;

    border: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);
}


.machine-finder-header {
    margin-bottom: 25px;
}


.machine-finder-header .section-tag {
    display: inline-block;

    margin-bottom: 12px;
}


.machine-finder-header h2 {
    margin: 0 0 10px;

    font-size: 30px;

    line-height: 1.15;

    color: #171717;
}


.machine-finder-header h2 span {
    color: #f56600;
}


.machine-finder-header p {
    margin: 0;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


/* Fields */

.machine-finder-form {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.finder-field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.finder-field label {
    color: #222;

    font-size: 13px;

    font-weight: 700;
}


.finder-field select {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #dddddd;

    border-radius: 7px;

    background: #ffffff;

    color: #444;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    cursor: pointer;
}


.finder-field select:focus {
    border-color: #f56600;

    box-shadow:
        0 0 0 3px rgba(245, 102, 0, 0.10);
}


/* Button */

.machine-finder-btn {
    width: 100%;

    margin-top: 5px;

    padding: 14px 20px;

    border: none;

    border-radius: 7px;

    background: #f56600;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.machine-finder-btn:hover {
    background: #df5800;

    transform: translateY(-1px);
}


/* Result */

.machine-finder-result {
    margin-top: 22px;
}


.finder-result-placeholder {
    padding: 22px;

    border-radius: 9px;

    background: #faf8f6;

    text-align: center;

    color: #888;
}


.finder-result-placeholder i {
    display: block;

    margin-bottom: 9px;

    color: #f56600;

    font-size: 25px;
}


.finder-result-placeholder p {
    margin: 0;

    font-size: 13px;

    line-height: 1.5;
}


/* Actual result */

.finder-result-card {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 15px;

    border-radius: 10px;

    background: #faf8f6;

    border: 1px solid #eeeeee;
}


.finder-result-image {
    width: 100px;

    height: 100px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border-radius: 8px;

    overflow: hidden;
}


.finder-result-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;
}


.finder-result-info {
    flex: 1;
}


.finder-result-category {
    display: block;

    margin-bottom: 4px;

    color: #f56600;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


.finder-result-info h3 {
    margin: 0 0 5px;

    color: #171717;

    font-size: 18px;
}


.finder-result-info p {
    margin: 0 0 12px;

    color: #777;

    font-size: 12px;

    line-height: 1.5;
}


.finder-view-btn {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 8px 12px;

    border-radius: 5px;

    background: #f56600;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;
}


/* Mobile */

@media (max-width: 900px) {

    .machine-finder-card {
        margin-top: 30px;

        padding: 25px;
    }

    .finder-result-card {
        align-items: flex-start;

        flex-direction: column;
    }

    .finder-result-image {
        width: 100%;

        height: 180px;
    }

}
/* ==========================================
   FULL WIDTH LOCATION MAP
   ========================================== */

.full-width-map {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.full-width-map iframe {
    display: block;

    width: 100%;
    height: 500px;

    border: 0;
}
/* Customisation note on product page */
.product-custom-note {
    display: none;
    margin: 0 0 24px 0;
    padding: 20px 22px;
    background: #FFF7F0;
    border-left: 4px solid #F26500;
    border-radius: 8px;
    color: #553D2B;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}