
/*start of new website css */



/* --- Global Navbar Reset & Variables --- */
:root {
  --nav-bg: #ffffff;
  --nav-text: #0f4c81;     /* Deep Blue */
  --nav-accent: #800020;   /* Burgundy */
  --dropdown-bg: #f8f9fa;
}
/* In-Page Jump Menu Bar Container */
.in-page-nav-menu {
  display: flex;
  justify-content: space-around;
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 8px 16px;
  margin-top: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Individual Clickable Options */
.nav-menu-item {
  color: #800020; /* Primary brand burgundy color */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
}

/* Interactive States */
.nav-menu-item:hover {
  background-color: #800020;
  color: #ffffff;
}

/* Optional: Smooth transition movement down the page upon click */
html {
  scroll-behavior: smooth;
}
/* --- BASE/DESKTOP STYLES (Restored to your exact style) --- */
.fixed-navbar {
  position: fixed;
  top: 20px;               /* Floating look */
  left: 50%;
  transform: translateX(-50%);
  width: max-content;      /* Tight fit around links */
  height: 60px;
  background-color: var(--nav-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 30px;     /* Pill shapes */
  padding: 0 1.5rem;       
  z-index: 9999;
  font-family: sans-serif;
  box-sizing: border-box;
  display: block;
}

/* Hard constraint: Ensures the mobile trigger is strictly hidden on desktop */
.menu-toggle {
  display: none !important; 
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-links > li {
  display: flex;
  align-items: center;
  position: static; /* Change from relative to static */
}

.nav-links > li > a {
  color: var(--nav-text);
  text-decoration: none;
  padding: 0 1.5rem;       
  font-weight: 500;
  font-size: 1rem;
  font-family: sans-serif;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  white-space: nowrap;    
}

.nav-links > li:hover > a {
  color: var(--nav-accent);
}

.arrow {
  font-size: 0.75rem;
  margin-left: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--dropdown-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex; 
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  border-top: 3px solid var(--nav-accent);
}

/* Desktop Hover Interaction */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-category {
  min-width: 160px;
  text-align: left;        
}

.category-title {
  display: block;
  font-weight: bold;
  color: var(--nav-accent);
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-products {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-products li a {
  display: block;
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.category-products li a:hover {
  color: var(--nav-accent);
  transform: translateX(4px);
}

/* --- RESPONSIVE MOBILE OVERRIDES --- */
@media screen and (max-width: 768px) {
  
  /* Reset layout structure for phones and tablets */

  .fixed-navbar {
    top: 0;
    left: 0;
    transform: none;
    width: 100% !important; 
    height: auto;            
    border-radius: 0;        
    padding: 12px 20px;
    
    /* ADD THESE THREE LINES: */
    max-height: 100vh;       /* Limits the menu height to 100% of the screen height */
    overflow-y: auto;        /* Adds a vertical scrollbar inside the menu if it gets too long */
    box-sizing: border-box;  /* Prevents padding from pushing the menu wider/taller than the screen */
  }

  /* Explicitly reveal the menu-toggle button only inside this media block */
  .menu-toggle {
    display: block !important;
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 100%;
    text-align: left;
  }

  /* Collapse the container by default on small mobile views */
  .nav-container {
    display: none;
    width: 100%;
    height: auto;
    padding-top: 10px;
  }

  /* Uncollapses container when user targets menu button */
  .nav-container.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .nav-links > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-links > li > a {
    padding: 14px 5px;
    width: 100%;
    box-sizing: border-box;
    display: block; 
  }

  /* Force disable standard desktop hover configurations on touch screens */
  .dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: none;
  }

  /* Reshapes floating absolute dropdown panel layout into accordion styles */
  .dropdown-menu {
    position: static;       
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;          
    pointer-events: auto;
    box-shadow: none;       
    border-top: none;
    border-left: 3px solid var(--nav-accent); 
    padding: 10px 0 10px 15px; 
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
  }

  /* Triggered via JS click handlers */
.dropdown.active .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  
  /* ADD THESE THREE LINES TO OVERRIDE THE DESKTOP HOVER RESTRICTIONS: */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
  
  .dropdown-category {
    min-width: 100%;
  }
}


/* ==========================================================================
   1. Outer Component Wrapper (Fixes Broken Site Formatting)
   ========================================================================== */
.page-top-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ==========================================================================
   2. Hero Banner Container Section
   ========================================================================== */
/* ==========================================================================
   2. Hero Banner Container Section
   ========================================================================== */
.hero-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  
  /* Adjusted to sit right beneath the logo header without covering it */
  margin: -0.8rem auto 0 auto; 
  width: 100%;
}

/* --- Left Side --- */
.hero-image {
  grid-column: 1 / 9; 
  grid-row: 1;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  
  /* Slightly trimmed from 460px to ensure the bottom navigation bar is fully visible */
  height: 430px;       
  
  display: block;
  object-fit: cover;
  object-position: left center; 
}

/* --- Right Side: Restored to your preferred squarer shape and placement --- */
.hero-card {
  grid-column: 7 / 13; 
  grid-row: 1;
  background-color: #c5cbd3; 
  padding: 2.5rem 2rem;      
  min-height: 280px;         
  
  display: flex;
  flex-direction: column;
  justify-content: center;   
  z-index: 2;
  box-shadow: -4px 4px 15px rgba(0,0,0,0.15);
  box-sizing: border-box;
  border-radius: 0px; 
}

.hero-card h2 {
  color: #800020; 
  font-size: 2.2rem;
  font-family: sans-serif;
  line-height: 1.2 !important;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero-card p {
  color: #0f4c81; 
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
  font-family: sans-serif;
}

/* ==========================================================================
   3. Sticky Rectangular In-Page Navigation Menu
   ========================================================================== */
.in-page-nav-menu {
  position: -webkit-sticky; /* Safari compatibility support */
  position: sticky;
  top: 90px;                  /* Sticky behavior position under top header */
  z-index: 999;               
  
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0px;         /* Square shape layout */
  padding: 0;                 
  display: flex;
  flex-direction: row;        
  flex-wrap: nowrap;          
  justify-content: space-between; 
  align-items: stretch;       
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  box-sizing: border-box;
  width: 100%;
  margin-top: 0rem;
}

/* Individual Links — Vertically and Horizontally Centered */
.nav-menu-item {
  color: #0f4c81;             
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.82rem;         
  text-align: center;         /* Centers text strings */
  display: flex;
  align-items: center;        /* Vertically centers text */
  justify-content: center;    /* Horizontally centers text */
  padding: 14px 4px;          
  flex: 1 1 0px;              
  min-width: 0;               
  word-wrap: break-word;      
  line-height: 1.2;           
  border-radius: 0px;         /* Square corners for hover highlights */
  transition: all 0.2s ease-in-out;
}

/* Vertical Dividing Lines Between Menu Items */
.nav-menu-item:not(:last-child) {
  border-right: 1px solid #d1d5db; 
}

/* Hover State — Burgundy Background with White Text */
.nav-menu-item:hover {
  background-color: #800020;  
  color: #ffffff !important;  
}


/* ==========================================================================
   4. Global Responsive Breakpoints
   ========================================================================== */

@media screen and (max-width: 950px) {
  .in-page-nav-menu {
    position: relative;       /* Disables sticky positioning on mobile displays */
    top: auto;
    flex-wrap: wrap;          
    margin-top: 1.5rem;       
    border-radius: 4px;
    padding: 8px;
    gap: 6px;
  }
  
  .nav-menu-item {
    font-size: 0.85rem;
    padding: 10px 4px;
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    flex: none;
    width: calc(33.33% - 4px); 
  }
  
  .nav-menu-item:not(:last-child) {
    border-right: none; /* Softens borders on small grid layouts */
  }
}

@media screen and (max-width: 768px) {
  .page-top-wrapper {
    padding: 0;
  }

  .hero-container {
    display: flex !important;
    flex-direction: column !important; 
    margin-top: 1rem;
  }
  
  .hero-image img {
    height: auto; 
  }
  
  .hero-card {
    margin-top: -2rem !important; 
    padding: 1.5rem !important;
    min-height: auto;
    width: 100%;
  }

  .in-page-nav-menu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 6px;
    margin-top: 1.5rem !important;
    border-radius: 4px;
    padding: 6px;
  }
  
  .nav-menu-item {
    width: 100%;
    border: 1px solid #edf2f7;
    padding: 12px 4px;
  }
  
  .nav-menu-item:not(:last-child) {
    border-right: none;
  }
}
/* Container Layout */
.features-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
  font-family: sans-serif;
}

.section-title {
  text-align: center;
  font-family: sans-serif;
  color: #800020; /* Burgundy */
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr; /* 3 Columns: Text, Image, Text */
  gap: 20px;
  align-items: center;
}

.features-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Feature Boxes Styling */
.feature-box {
  position: relative;
  border: 2px solid #800020; /* Burgundy border */
  border-radius: 4px;
  padding: 10px 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-box p {
  margin: 0;
  color: #0f4c81; /* Blue text color matching screenshot */
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Center Image */
.features-image-wrapper {
  text-align: center;
}

.features-image {
  max-width: 100%;
  height: auto;
}

/* Bottom centered feature box */
.bottom-feature {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.bottom-feature .feature-box {
  max-width: 400px;
  text-align: center;
}

/* --- Burgundy Circle PDF Section --- */
.pdf-footer-container {
  display: flex;
  justify-content: flex-end; 
  margin-top: -2rem;          
  padding-right: 2rem;
  position: relative;        
  z-index: 10;
}

.pdf-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #800020; 
  color: #ffffff;            /* Sets base text color to white */
  font-family: sans-serif;
  text-decoration: none;
  width: 150px;              
  height: 150px;             
  border-radius: 50%;        
  padding: 15px;             
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.pdf-badge:hover {
  transform: scale(1.05);
}

.pdf-badge p {
  margin: 0 0 6px 0;
  font-size: 0.95rem;        
  line-height: 1.3;
  color: #ffffff !important; /* Explicitly forces the paragraph text to white */
}

.pdf-icon-mock {
  font-weight: bold;
  background: #ffffff;       /* Keeps the icon background pill white */
  color: #800020;            /* Keeps the inner icon text burgundy for contrast */
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.7rem;         
}


/* --- Mobile Responsive Rules --- */
@media (max-width: 900px) {
  .features-container {
    grid-template-columns: 1fr; /* Drop to single column stack */
  }

  .features-image-wrapper {
    grid-row: 1; /* Move image to the top on mobile so users see it first */
    margin-bottom: 1.5rem;
  }

  .features-column {
    gap: 15px;
  }
  
  /* UPDATED: Fixes the overlap and centers the container */
  .pdf-footer-container {
    margin-top: 1.5rem; /* Forces it below the text instead of dragging it upward */
    justify-content: center; /* Center the link on mobile */
    padding-right: 0;
  }

  /* NEW: Keeps the text from spilling out of the circle on mobile */
  .pdf-badge {
    width: 90%; 
    max-width: 320px;
    height: auto; 
    border-radius: 12px; 
    padding: 18px;
  }

  .pdf-badge p {
    font-size: 0.85rem; 
    margin-bottom: 10px;
  }
}

/* --- CLOUD PUSHCHAIR SPECIFIC OVERRIDES --- */

/* Scope everything specifically to the cloud container */
.features-section.cloud-version {
  /* Change font/base color variations here if needed */
}

/* Headrest alignment layout (Left Column Top) */
.features-section.cloud-version .cloud-headrest-callout {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.features-section.cloud-version .headrest-circle-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #800020; /* Matching Burgundy border from your image */
  overflow: hidden;
  flex-shrink: 0;
}

.features-section.cloud-version .headrest-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom Feature Grid (Since Cloud has 4 distinct bottom blocks) */
.features-section.cloud-version .cloud-bottom-features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding: 0 20px;
}

/* Individual box modifications if arrows need fine-tuning relative to your image background */
.features-section.cloud-version .cloud-box-left-2 { margin-top: 40px; }
.features-section.cloud-version .cloud-box-right-1 { margin-bottom: 10px; }

/* Responsive break for mobile screens */
@media (max-width: 768px) {
  .features-section.cloud-version .cloud-bottom-features-container {
    grid-template-columns: 1fr;
  }
  .features-section.cloud-version .cloud-headrest-callout {
    flex-direction: column;
    text-align: center;
  }
}

/*Snappi cloud bottom row */

.snappi-bottom-features-container {
  display: flex;
  justify-content: space-between;
  gap: 20px; 
  width: 100%;
  margin-top: 40px; /* Pushes the entire bottom row down to clear the side boxes */
  clear: both;      /* Standard layout safety net to reset element flows */
}

.snappi-bottom-features-container .feature-box {
  flex: 1; 
}

/* Unique styling for Modular Seating bottom feature section */
#key-features .cloud-bottom-features-container.modular-centered-bottom {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 30px auto 0 auto !important;
  padding: 0 15px !important;
}

#key-features .modular-centered-bottom .cloud-box-bottom-custom {
  flex: 1 1 400px !important;
  max-width: 480px !important;
  margin: 0 !important;
}

/* Document & Downloads Library UI Styling */

.download-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
    color: #0f4c81;
}
.download-header {
    text-align: center;
    margin-bottom: 30px;
}
/* Document Library */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

/* style the search box */
#docSearch {
    width: 46ch;            
    max-width: 100%;        
    padding: 10px 15px;     
    font-size: 16px;        
    border: 1px solid #ccc; 
    border-radius: 4px;     
    box-sizing: border-box; 
}

.docSearch {
    padding: 10px;
    font-size: 14px;
    width: 100%;
    max-width: 350px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* style the search box placeholder text */
#docSearch::placeholder,
.docSearch::placeholder {
    color: #0f4c81;
    opacity: 1; /* Firefox default opacity override */
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-btn {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #0f4c81;
    transition: all 0.2s ease;
}
/* Generic fallback for active/hover state */
.filter-btn:hover, 
.filter-btn.active {
    background: #800020;
    color: #ffffff;
    border-color: #800020;
}

/* Category-specific button colors matching badges */
.filter-btn[data-filter="pushchair"]:hover,
.filter-btn[data-filter="pushchair"].active {
    background: #e3f2fd;
    color: #0d47a1;
    border-color: #0d47a1;
}

.filter-btn[data-filter="car-seat"]:hover,
.filter-btn[data-filter="car-seat"].active {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #1b5e20;
}

.filter-btn[data-filter="modular"]:hover,
.filter-btn[data-filter="modular"].active {
    background: #F28C28;
    color: #8B4000;
    border-color: #8B4000;
}

.filter-btn[data-filter="harnessing"]:hover,
.filter-btn[data-filter="harnessing"].active {
    background: #fadadd;
    color: #e75480;
    border-color: #e75480;
}

.filter-btn[data-filter="wheelbase"]:hover,
.filter-btn[data-filter="wheelbase"].active {
    background: #FFFBB8;
    color: #857f00;
    border-color: #857f00;
}

.filter-btn[data-filter="orderforms"]:hover,
.filter-btn[data-filter="orderforms"].active {
    background: #FF0000;
    color: #ffffff;
    border-color: #FF0000;
}

.filter-btn[data-filter="policies"]:hover,
.filter-btn[data-filter="policies"].active {
    background: #e7d1ff;
    color: #784890;
    border-color: #784890;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.product-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #800020; /*TC burgundy*/
    font-size: 18px;
    font-family: sans-serif;
}
.badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: #eee;
    color: #666;
}
.badge.pushchair { background: #e3f2fd; color: #0d47a1; }
.badge.car-seat { background: #e8f5e9; color: #1b5e20; }
.badge.modular { background: #F28C28; color: #8B4000; }
.badge.harnessing { background: #fadadd; color: #e75480; }
.badge.wheelbase { background: #FFFBB8; color: #D1C700; }
.badge.policies { background: #e7d1ff; color: #784890; }
.badge.orderforms { background: #FF0000; color: #ffffff; }

/* Custom Native Accordions */
details {
    border-top: 1px solid #f0f0f0;
    padding: 8px 0;
}
summary {
    font-weight: bold;
    cursor: pointer;
    padding: 4px 0;
    color: #0f4c81;
    outline: none;
    font-size: 14px;
}
summary:hover { color: #000; }
details ul {
    list-style: none;
    padding-left: 10px;
    margin: 8px 0 4px 0;
}
details li {
    margin-bottom: 8px;
}
details a {
    color: #800020;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
details a:hover { text-decoration: underline; }
.pdf-tag {
    font-size: 10px;
    background: #ffebee;
    color: #666;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* --- Tendercare Modular Visualizer Styles --- */
/* ==========================================================================
       1. CORE CONTAINER & TYPOGRAPHY
       ========================================================================== */
    .colour-options-section {
      font-family: sans-serif;
      background-color: #ffffff;
      padding: 30px 15px;
      color: #333333;
      box-sizing: border-box;
    }

    .colour-options-section *,
    .colour-options-section *::before,
    .colour-options-section *::after {
      box-sizing: border-box;
    }

    .tc-container {
      max-width: 1100px;
      margin: 0 auto;
    }

    
    /* ==========================================================================
       2. VISUALIZER GRID & CARDS
       ========================================================================== */
    .tc-visualizer-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 25px;
      background-color: #f8f9fa;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 20px;
    }

    .tc-preview-card {
      background-color: #ffffff;
      border: 1px solid #701628;
      border-radius: 6px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* SVG Layer Wrapper */
    .tc-svg-wrapper {
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
    }

    .tc-svg-wrapper svg {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Blend Mode for Photorealistic Folds & Shadows */
    .layer-multiply {
      mix-blend-mode: multiply;
      opacity: 0.9;
    }

    /* Status Readout Badge */
    .tc-selection-badge {
      margin-top: 15px;
      background-color: #f4f5f7;
      border-left: 4px solid #701628;
      padding: 10px 14px;
      border-radius: 0 4px 4px 0;
    }

    .tc-badge-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #666666;
      font-weight: bold;
    }

    .tc-combo-text {
      font-size: 13.5px;
      color: #333333;
      margin-top: 4px;
    }

    /* ==========================================================================
       3. CONTROLS PANEL & RANGE SELECTORS
       ========================================================================== */
    .tc-controls-card {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .tc-control-group {
      background: #ffffff;
      border: 1px solid #e0e0e0;
      padding: 14px 16px;
      border-radius: 6px;
    }

    .tc-group-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      gap: 10px;
      flex-wrap: wrap;
    }

    .tc-group-title {
      font-size: 13px;
      font-weight: 700;
      color: #701628;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .step-num {
      background-color: #701628;
      color: #ffffff;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
    }

    .tc-range-dropdown {
      padding: 5px 10px;
      font-size: 12px;
      font-weight: 600;
      color: #701628;
      border: 1px solid #701628;
      border-radius: 4px;
      background-color: #ffffff;
      cursor: pointer;
      outline: none;
    }

    .tc-range-dropdown:focus {
      box-shadow: 0 0 0 2px rgba(112, 22, 40, 0.2);
    }

    /* ==========================================================================
       4. SWATCH GRID & BUTTONS
       ========================================================================== */
    .tc-swatch-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 8px;
      max-height: 200px;
      overflow-y: auto;
      padding-right: 4px;
    }

    .tc-swatch-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #ffffff;
      border: 1px solid #d1d5db;
      border-radius: 4px;
      padding: 6px 8px;
      cursor: pointer;
      transition: all 0.15s ease;
      text-align: left;
      width: 100%;
    }

    .tc-swatch-btn:hover {
      border-color: #701628;
    }

    .tc-swatch-btn.active {
      border: 2px solid #701628;
      background-color: #fdf2f4;
    }

    .swatch-img {
      width: 24px;
      height: 24px;
      border-radius: 3px;
      object-fit: cover;
      border: 1px solid #ccc;
      flex-shrink: 0;
    }

    .swatch-name {
      font-size: 11px;
      font-weight: 600;
      color: #1f2937;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

/* ==========================================================================
   REAL-LIFE EXAMPLE CARD (LARGER IMAGE)
   ========================================================================== */
.tc-example-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
}

.tc-example-header {
  margin-bottom: 12px;
}

.tc-example-badge {
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f4c81;
  background-color: #fdf2f4;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

.tc-example-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Image enlarged from 75px to 170px */
.tc-example-img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 4px;
  flex-shrink: 0;
}

.tc-example-caption {
  font-size: 15px;
  color: #0f4c81;
  margin: 0;
  line-height: 1.5;
}

/* Optional: Stacks image and text vertically on mobile devices */
@media (max-width: 500px) {
  .tc-example-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tc-example-img {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
}
    /* Responsive Breakpoint */
    @media (max-width: 800px) {
      .tc-visualizer-grid {
        grid-template-columns: 1fr;
      }
    }
  /* End of modular colours */

  /* Contact Page */
.contact-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  @media (max-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }
  .contact-form-container, .contact-map-container {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
  }
  .contact-form-container h2, .contact-map-container h2 {
    margin-top: 0;
    color: #800020; /* Updated to your requested color code */
    font-family: sans-serif;
    border-bottom: 2px solid #efefef;
    padding-bottom: 10px;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #0f4c81;
  }
  .form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: sans-serif;
  }
  .form-group input:focus, .form-group textarea:focus {
    border-color: #800020;
    outline: none;
  }
  
  /* Style form input and textarea placeholder text */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #0f4c81;
    opacity: 1; /* Prevents browsers like Firefox from fading the color */
}
  .submit-btn {
    background-color: #800020; /* Matching button theme color */
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s ease;
    font-family: inherit;
  }
  .submit-btn:hover {
    background-color: #5a0016; /* Darkened variation for modern hover effect */
  }
  .map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    margin-top: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
  }
  .map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
  }
  
/* Lifestyle Section Styles */
.lifestyle-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

/* Scrollable Container */
.lifestyle-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px; /* Space for the scrollbar */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Lifestyle Items - Configured for 400x400 on Desktop */
.lifestyle-item {
  flex: 0 0 400px; /* Forces the item width to exactly 400px on desktop */
  scroll-snap-align: start;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  background: #fff;
}

.lifestyle-item img {
  width: 100%;
  height: 400px; /* Forces the image height to exactly 400px on desktop */
  object-fit: cover; /* Keeps images perfectly square without distortion */
  display: block;
}

/* --- Custom Burgundy Scrollbar --- */
.lifestyle-container::-webkit-scrollbar {
  height: 8px;
}
.lifestyle-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.lifestyle-container::-webkit-scrollbar-thumb {
  background: #800020;
  border-radius: 10px;
}
.lifestyle-container::-webkit-scrollbar-thumb:hover {
  background: #5a0016;
}
.lifestyle-container {
  scrollbar-width: thin;
  scrollbar-color: #800020 #f1f1f1;
}

/* --- Responsive Layout for Mobile & Tablets --- */
@media (max-width: 768px) {
  .lifestyle-item {
    /* Scaling smoothly down to 80% of the screen width on smaller screens */
    flex: 0 0 80%; 
  }
  
  .lifestyle-item img {
    /* Maintains the perfect 1:1 square aspect ratio dynamically as the width scales down */
    height: auto;
    aspect-ratio: 1 / 1; 
  }
}

/* --- Desktop Table Layout (Default) --- */
.mobile-accordion-view {
  display: none; /* Hide the accordion component on desktop view */
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  text-align: center;
}
.specs-table th {
  background-color: #800020;
  color: #ffffff;
  padding: 14px;
  border: 1px solid #b3b9c1;
}
.specs-table td {
  padding: 14px;
  color: #0f4c81;
  border: 1px solid #b3b9c1;
}
.specs-table td:first-child {
  text-align: left;
  font-weight: 500;
}

/* --- Responsive Breakpoint for Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .desktop-table-view {
    display: none; /* Turn off table view completely on mobile */
  }
  
  .mobile-accordion-view {
    display: block; /* Turn on mobile layout */
    background: #ffffff;
    border-left: 2px solid #0f4c81;
    border-right: 2px solid #0f4c81;
    border-bottom: 2px solid #0f4c81;
  }

  .accordion-top-bar {
    background-color: #800020; /* The clean burgundy accent line at the top */
    height: 25px;
    width: 100%;
  }

  .accordion-item {
    border-bottom: 1px solid #b3b9c1;
  }

  /* Accordion Headers Button Style */
  .accordion-header {
    width: 100%;
    background: #ffffff;
    border: none;
    outline: none;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.05rem;
    color: #0f4c81;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: 400;
  }

  /* Absolute position the plus/minus icon to the right side */
  .accordion-icon {
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #b3b9c1;
    transition: transform 0.2s ease;
  }

  /* Hidden Panel Structure */
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #ffffff;
    transition: max-height 0.3s ease-out; /* Creates a smooth slide animation */
    padding: 0 20px;
  }

  .model-row {
    padding: 12px 0;
    color: #0f4c81;
    font-size: 0.95rem;
    line-height: 1.5;
    border-top: 1px dashed #e1e4e8;
  }
  
  /* Class applied via JavaScript when an item is clicked */
  .accordion-item.active .accordion-content {
    max-height: 250px; /* Expands smoothly */
    padding-bottom: 15px;
  }
}



/*New Homepage Styling */

/* ==========================================================================
   TENDERCARE HOMEPAGE STYLES (Consolidated & Isolated)
   ========================================================================== */

/* Main Home Container Isolation */
.tc-home-wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px 15px !important;
  box-sizing: border-box !important;
  clear: both !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #2b2b2b;
  line-height: 1.6;
}

/* Global Section Spacing */
.tc-section {
  margin-bottom: 50px;
  width: 100%;
  box-sizing: border-box;
}

.tc-bg-light {
  background-color: #f4f7f9;
  padding: 35px 20px;
  border-radius: 8px;
}

/* Headings & Dividers */
.tc-section-header {
  text-align: center;
  margin-bottom: 30px;
}

.tc-section-header h2 {
  color: #7a1228;
  font-size: 2.2rem;
  margin: 0 0 8px 0;
  font-weight: bold;
}

.tc-section-header p {
  color: #555555;
  margin: 0;
  font-size: 1rem;
}

.tc-divider {
  width: 60px;
  height: 4px;
  background-color: #7a1228;
  margin: 12px auto 0;
  border-radius: 2px;
}


/* ==========================================================================
   1. HERO BANNER SECTION (Left-Aligned Card)
   ========================================================================== */
.tc-hero-section {
  width: 100%;
  margin-bottom: 45px;
}

.tc-hero-inner {
  position: relative;
  width: 100%;
  min-height: 440px;
  background-color: #d5dee5;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns card to the left */
}

.tc-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;         /* FORCES the image to pin to the bottom of the container */
  height: auto;       /* Allows auto height calculation between top & bottom */
  min-height: 100%;   /* Ensures it fully stretches even if the container grows */
  object-fit: cover;
  z-index: 1;
}

.tc-hero-card {
  position: relative;
  z-index: 2;
  background-color: rgba(213, 222, 229, 0.92);
  padding: 35px;
  margin: 30px 0 30px 40px; /* Left inset spacing */
  max-width: 440px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.tc-hero-card h1 {
  color: #7a1228;
  margin-top: 0;
  font-size: 2.2rem;
  line-height: 1.2;
}

.tc-hero-card p {
  color: #0f4c81;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.5;
  margin: 15px 0 20px 0;
}

.tc-btn-primary {
  display: inline-block;
  background-color: #7a1228;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.tc-btn-primary:hover {
  background-color: #5c0d1e;
}


/* ==========================================================================
   2. ABOUT US SECTION
   ========================================================================== */
.tc-about-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.tc-card {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tc-highlight-card {
  border-left: 5px solid #7a1228;
  background-color: #faf8f8;
}

.tc-highlight-card h3 {
  color: #7a1228;
  margin-top: 0;
  font-size: 1.4rem;
}


/* ==========================================================================
   GLOBAL EXPORT MAP SECTION (VECTOR MAP INTEGRATION)
   ========================================================================== */

#export-map {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: inherit;
}

.tc-section-header {
  text-align: center;
  margin-bottom: 25px;
}

.tc-section-header h2 {
  color: #7a1228;
  margin-bottom: 5px;
}

.tc-divider {
  width: 60px;
  height: 3px;
  background-color: #7a1228;
  margin: 10px auto;
}

/* Search Dropdown & Controls */
.tc-search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 25px auto;
}

.tc-search-box {
  display: flex;
  gap: 8px;
}

.tc-search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.tc-search-btn {
  background: #7a1228;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.tc-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 0 0 6px 6px;
  z-index: 100;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tc-search-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.tc-search-item:hover {
  background-color: #f5f5f5;
  color: #7a1228;
}

/* Main Layout Grids */
.tc-map-layout {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: stretch;
}

.tc-svg-map-wrapper {
  flex: 2;
  min-width: 320px;
}

/* Region Filter Tabs */
.tc-region-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tc-region-btn {
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.tc-region-btn.active,
.tc-region-btn:hover {
  background: #7a1228;
  color: #ffffff;
  border-color: #7a1228;
}

/* ==========================================================================
   MAP FRAME & VECTOR CONTAINER (PERFECT CENTER FIX)
   ========================================================================== */

.tc-map-container {
  position: relative;
  background-color: #d8e3ea;
  border: 2px solid #7a1228;
  border-radius: 8px;
  height: 540px !important;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tc-vector-world-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 540px !important;
}

/* Push the internal map SVG downward and scale it slightly so both poles fit */
#tc-vector-world-map svg {
  overflow: visible !important;
  transform: translateY(25px);
}

/* Fix jsVectorMap zoom buttons position and usability */
.jvm-zoom-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background-color: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px;
}



/* Country Pill Quick Links Grid */
.tc-country-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tc-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tc-country-pill img {
  width: 16px;
  height: auto;
  border-radius: 2px;
}

.tc-country-pill.active,
.tc-country-pill:hover {
  background: #7a1228;
  color: #ffffff;
  border-color: #7a1228;
}

/* Dealer Information Card (Sidebar) */
.tc-dealer-card {
  flex: 1;
  min-width: 280px;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.tc-dealer-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.tc-badge {
  background: #7a1228;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85rem;
}

.tc-dealer-card h3 {
  color: #7a1228;
  margin: 0;
  font-size: 1.2rem;
}

.tc-dealer-block h4 {
  margin-top: 0;
  color: #333;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .tc-map-layout {
    flex-direction: column;
  }
  .tc-map-container,
  #tc-vector-world-map,
  #tc-vector-world-map .jvm-container {
    height: 400px !important;
    min-height: 400px !important;
  }
}

/* =========================================================
   NEWS & COMPANY UPDATES SECTION
   ========================================================= */

.tc-news-section {
  padding: 60px 20px;
  background-color: #ffffff;
  clear: both;
}

.tc-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styling (Matches "About Tendercare" style) */
.tc-news-header {
  margin-bottom: 40px;
}

.tc-news-header h2 {
  color: #7a1228; /* The signature Tendercare burgundy */
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.tc-news-header p {
  color: #0f4c81;
}
.tc-header-divider {
  width: 50px;
  height: 4px;
  background-color: #7a1228;
  border-radius: 2px;
}


/* Grid Layout */
.tc-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Card Styling */
.tc-news-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 12px; /* Matches the rounded image in the About section */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tc-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.tc-news-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.tc-news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tc-news-card:hover .tc-news-img-wrapper img {
  transform: scale(1.05);
}

.tc-news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tc-news-date {
  font-size: 0.85rem;
  color: #0f4c81;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: 600;
}

.tc-news-content h3 {
  color: #7a1228;
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.tc-news-content p {
  color: #0f4c81;
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.6; /* Matches the line-height in your About text */
  margin: 0 0 20px 0;
  flex-grow: 1;
}

/* Read More Link (Matches navigation blue) */
.tc-read-more {
  color: #0056b3; 
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.tc-read-more:hover {
  color: #7a1228;
  text-decoration: underline;
}

/* Centered View All Button */
.tc-news-footer {
  text-align: center;
  margin-top: 20px;
}

.tc-view-all-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #7a1228;
  border: 2px solid #7a1228;
  padding: 10px 30px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tc-view-all-btn:hover {
  background-color: #7a1228;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tc-news-header h2 {
    font-size: 1.8rem;
  }
  .tc-news-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   2-COLUMN ABOUT & SHOWCASE SECTION
   ========================================== */
.tc-about-showcase-grid {
  display: flex;
  gap: 40px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* LEFT COLUMN STYLES */
.tc-about-col {
  flex: 1.1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tc-header-left {
  text-align: left !important;
  margin-bottom: 20px;
}

.tc-divider-left {
  width: 50px;
  height: 4px;
  background-color: #7a1228;
  margin: 10px 0 0 0;
  border-radius: 2px;
}

.tc-lead-text {
  font-size: 1.1rem;
  text-align: justify;
  line-height: 1.6;
  color: #0f4c81;
  margin-bottom: 15px;
}

.tc-commitment-box {
  background-color: #faf8f8;
  border-left: 4px solid #7a1228;
  padding: 18px 22px;
  margin-top: 20px;
  border-radius: 0 8px 8px 0;
}

.tc-commitment-box h3 {
  color: #7a1228;
  margin: 0 0 8px 0;
  font-size: 1.15rem;
}

.tc-commitment-box p {
  margin: 0;
  text-align: justify;
  font-size: 0.95rem;
  color: #0f4c81;
}

/* RIGHT COLUMN (LIFESTYLE GALLERY CARD) */
.tc-showcase-col {
  flex: 1;
  min-width: 300px;
}

.tc-lifestyle-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

/* Edge-to-Edge Lifestyle Image Display */
.tc-lifestyle-stage {
  width: 100%;
  flex-grow: 1;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background-color: #f0f4f7;
}

.tc-lifestyle-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Edge-to-edge full bleed fit */
  display: block;
  transition: opacity 0.25s ease;
}

/* 5 Thumbnail Navigation Bar */
.tc-lifestyle-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 16px;
}

.tc-l-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.tc-l-thumb:hover {
  opacity: 1;
}

.tc-l-thumb.active {
  opacity: 1;
  border-color: #7a1228;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(122, 18, 40, 0.25);
}

/* Responsive Scaling for Mobile */
@media (max-width: 768px) {
  .tc-lifestyle-stage {
    min-height: 300px;
  }
  .tc-l-thumb {
    width: 48px;
    height: 48px;
  }
}


/*--------------CAR SEAT PAGES -----------*/

/* Container layout for the image and the car seat text card */
.car-seat-hero-container {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1100px;
  margin: 0px auto;
}

.car-seat-hero-image {
  flex: 1;
  z-index: 1;
}

.car-seat-hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/* The main content car seat card - back to standard padding so it doesn't get wide */
.car-seat-hero-card {
  flex: 1;
  background-color: #d3d3e2; 
  position: relative;
  z-index: 2;
  margin-top: -100px;
  margin-left: -100px; 
  box-sizing: border-box;
  padding: 40px; /* Normal clean padding */
}

/* Matching heading style */
.car-seat-hero-card h2 {
  color: #6a1b29; 
  font-size: 2.5rem;
  font-family: sans-serif;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Matching body text style and color */
.car-seat-hero-card p {
  color: #0f4c81; 
  font-size: 0.95rem;
  font-family: sans-serif;
  line-height: 1.6;
  margin-bottom: 15px;
}

.car-seat-hero-card ul {
  color: #0f4c81; 
  font-size: 0.95rem;
  font-family: sans-serif;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Container for positioning the badge */
.car-seat-footer-container {
  position: relative;
}

/* The Burgundy Circle Badge - moved further down so it drops below the text */
.ajm-assessment-badge {
  position: absolute;
  bottom: -190px;   /* Pushes the circle lower down outside the card */
  right: -30px;    
  width: 230px;    
  height: 230px;
  background-color: #6a1b29; 
  border-radius: 50%;        
  display: flex;
  align-items: center;
  text-align: center;
  padding: 22px;
  box-sizing: border-box;
  z-index: 10;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Text inside the burgundy circle */
.ajm-assessment-badge p {
  color: #ffffff !important; 
  font-family: sans-serif;
  font-size: 0.8rem; 
  line-height: 1.35;
  margin: 0;
}

/* ==========================================
   MOBILE RESPONSIVE OVERRIDES (Screens under 768px)
   ========================================== */
@media screen and (max-width: 768px) {
  
  /* Stack the image and card vertically on mobile */
  .car-seat-hero-container {
    flex-direction: column !important;
    margin: 20px 10px !important;
    padding-bottom: 120px !important; /* Space at the bottom for the absolute circle */
  }

  /* Reset image sizing for mobile width */
  .car-seat-hero-image {
    width: 100% !important;
  }

  .car-seat-hero-image img {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Reset the negative margins so the grey box centers nicely under the image */
  .car-seat-hero-card {
    width: 100% !important;
    margin-top: -20px !important;
    margin-left: 0 !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
  }

  /* Adjust heading sizes for mobile screens */
  .car-seat-hero-card h2 {
    font-size: 1.8rem !important;
  }

  /* Center or anchor the burgundy badge safely on mobile screens */
  .ajm-assessment-badge {
    position: absolute !important;
    bottom: -200px !important;
    right: 50% !important;
    transform: translateX(50%) !important; /* Centers the circle horizontally on mobile */
    width: 200px !important;
    height: 200px !important;
    padding: 18px !important;
  }

  .ajm-assessment-badge p {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
  }
}

/* Container for the entire Key Features section */
.car-seat-features-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  font-family: sans-serif;
}

/* Main Heading */
.car-seat-features-title {
  text-align: center;
  color: #6a1b29; /* Deep burgundy */
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 25px;
}

/* Intro paragraph */
.car-seat-features-intro  {
  font-size: 1.05rem;
  font-family: sans-serif;
  color: #0f4c81;
  margin-bottom: 15px;
}

/* Bullet point list */
.car-seat-features-list {
  margin-bottom: 40px;
  padding-left: 20px;
}

.car-seat-features-list li {
  font-size: 0.95rem;
  font-family: sans-serif;
  line-height: 1.6;
  color: #0f4c81;
   font-family: sans-serif;
  margin-bottom: 8px;
}

.car-seat-features-list strong {
  font-weight: bold;
   font-family: sans-serif;
  color: #0f4c81;
}

/* Grid layout for the 4 image columns */
.car-seat-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Individual grid items */
.car-seat-feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Images inside the grid */
.car-seat-feature-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* Subtitles under the images */
.car-seat-feature-subtitle {
  color: #6a1b29; /* Deep burgundy */
  font-size: 1.05rem;
   font-family: sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Description text under the images */
.car-seat-feature-desc {
  font-size: 0.95rem;
   font-family: sans-serif;
  line-height: 1.4;
  color: #0f4c81;
  margin: 0;
}

/* ==========================================
   MOBILE RESPONSIVE RULES
   ========================================== */
@media screen and (max-width: 768px) {
  /* Switch to a 2-column grid on tablets/smaller screens */
  .car-seat-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
}

@media screen and (max-width: 480px) {
  /* Switch to a single column grid on mobile phones */
  .car-seat-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .car-seat-features-title {
    font-size: 1.8rem;
  }
}
/* END OF CAR SEAT PAGES*/

/* ==========================================
   INTERACTIVE MAP & SEARCH STYLES
   ========================================== */
/* =========================================================
   GLOBAL EXPORT PARTNERS SECTION & DEALER DISPLAY
   ========================================================= */

/* Left-aligned search container with unified pill outline */
#export-map .tc-search-container {
  max-width: 550px;
  margin: 0 0 25px 0; /* Left-aligned */
  position: relative;
}

#export-map .tc-search-box {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #d0d0d0; /* Restores the outer border */
  border-radius: 30px;
  overflow: hidden; /* Clips the button to the right rounded edge */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#export-map .tc-search-box input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  outline: none;
  background: transparent; /* Allows wrapper border and background to shine through */
  font-size: 0.95rem;
  color: #333333;
}

#export-map .tc-search-btn {
  background-color: #7a1228;
  color: #ffffff;
  border: none;
  border-radius: 0; /* Prevents button from separating from the pill container */
  padding: 12px 28px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#export-map .tc-search-btn:hover {
  background-color: #580c1c;
}

#export-map .tc-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin-top: 6px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

#export-map .tc-search-item {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

#export-map .tc-search-item:hover {
  background-color: #f8fafc;
  color: #7a1228;
  font-weight: bold;
}

/* Map & Card Layout */
#export-map .tc-map-layout {
  display: flex;
  gap: 25px;
  align-items: stretch;
  flex-wrap: wrap;
}

#export-map .tc-svg-map-wrapper {
  flex: 1.4;
  min-width: 320px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* Region Tabs */
#export-map .tc-region-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

#export-map .tc-region-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

#export-map .tc-region-btn:hover,
#export-map .tc-region-btn.active {
  background-color: #7a1228;
  color: #ffffff;
  border-color: #7a1228;
}

/* Country Pill Grid */
#export-map .tc-country-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

#export-map .tc-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f4c81;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

#export-map .tc-country-pill img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

#export-map .tc-country-pill:hover,
#export-map .tc-country-pill.active {
  background-color: #7a1228;
  color: #ffffff;
  border-color: #7a1228;
}

/* Dealer Information Sidebar Card */
#export-map .tc-dealer-card {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

#export-map .tc-dealer-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

#export-map .tc-dealer-card-header h3 {
  margin: 0;
  color: #7a1228;
  font-size: 1.15rem;
  line-height: 1.3;
}

#export-map .tc-badge {
  background-color: #7a1228;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

#export-map .tc-dealer-block h4 {
  margin: 0 0 6px 0;
  color: #0f4c81;
  font-size: 1rem;
}

#export-map .tc-dealer-block p {
  margin: 0 0 8px 0;
  line-height: 1.5;
  color: #0f4c81;
  font-size: 0.9rem;
}

#export-map .tc-dealer-block a {
  color: #7a1228;
  text-decoration: underline;
  font-weight: 500;
}

#export-map .tc-dealer-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 16px 0;
}

@media (max-width: 768px) {
  #export-map .tc-map-layout {
    flex-direction: column;
  }
}


/* End of New Homepage --- */

/* --- FAQ Page Re-design --- */

.faq-page-wrapper {
    max-width: 950px; /* Scaled down container to reduce overall image size */
    margin: 10px auto 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

/* Hero Container */
.faq-hero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

/* Grey Text Box (Compact & Squarer Card) */
.faq-hero-text {
    grid-column: 1 / 6; /* Spans 5 columns for a squarer aspect ratio */
    grid-row: 1;
    background-color: #c5cbd3;
    padding: 35px 30px;
    box-sizing: border-box;
    z-index: 2; /* Sits in front */
    display: flex;
    flex-direction: column;
}

.faq-hero-text h2 {
  color: #6a1b29; 
    font-size: 25px;
    margin-top: 0;
    font-family: sans-serif;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.faq-hero-text p {
    color: #0f4c81;
    line-height: 1.45;
    font-size: 0.95rem;
    font-family: sans-serif;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: justify;
}

/* Image Container (Scaled Down with Minimal Overlap) */
.faq-hero-image {
    grid-column: 4 / 13; /* Overlaps only columns 4 and 5 (slight left-edge overlap) */
    grid-row: 1;
    height: 380px; /* Reduced height to keep image compact */
    z-index: 1;
}

.faq-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Main Content Area */
.faq-main-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Header & Search */
.faq-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.faq-header-row h3 {
    color: #8c1c2f;
    font-family: sans-serif;
    font-size: 30px;
    margin: 0;
}

.faq-search-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    width: 250px;
}

.faq-search-wrapper input {
    border: none;
    outline: none;
    width: 100%;
    font-family: sans-serif;
    font-size: 0.95rem;
    color: #0f4c81;
    background: transparent;
}

.faq-search-wrapper input::placeholder {
    color: #0f4c81;
    opacity: 1; /* Prevents browsers (like Firefox) from making the color semi-transparent */
}

.faq-search-wrapper .search-icon {
    color: #0f4c81;
    margin-left: 10px;
}

/* Category Tabs */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
}

.faq-tab {
    background: none;
    border: none;
    color: #0f4c81;
    font-size: 0.95rem;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-tab:hover {
    color: #8c1c2f;
}

.faq-tab.active {
    color: #8c1c2f;
    border-bottom: 2px solid #8c1c2f;
    font-weight: bold;
}

/* Accordion Items */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 0.95rem;
    color: #0f4c81;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #fdfdfd;
}

.chevron {
    transition: transform 0.3s ease;
    color: #666;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #0f4c81;
    line-height: 1.6;
    font-family: sans-serif;
    font-size: 0.95rem;
}

/* Styling for lists inside FAQ answers to match paragraph text */
.faq-answer ul, 
.faq-answer ol {
    color: #0f4c81;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding-left: 40px;
    padding-right: 20px;
}

.faq-answer li {
    color: #0f4c81;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Optional: Ensures bold text within list items matches cleanly */
.faq-answer li strong {
    color: #0f4c81;
    font-weight: bold;
}


/* Active State */
.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-item.active .chevron {
    transform: rotate(180deg);
}

/* Styling for clickable links inside FAQ answers */
.faq-answer a,
.faq-page-wrapper a {
    color: #8c1c2f; /* Tendercare Burgundy */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faq-answer a:hover,
.faq-page-wrapper a:hover {
    color: #550e1b; /* Slightly darker shade on hover */
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #0f4c81;
    font-family: sans-serif;
    font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-hero {
        display: flex;
        flex-direction: column;
    }
    .faq-hero-text, .faq-hero-image {
        width: 100%;
    }
    .faq-hero-image {
        height: 250px;
    }
    .faq-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .faq-search-wrapper {
        width: 100%;
    }
    .faq-tabs {
        gap: 15px;
    }
}



/* --- Colour Options Section --- */
/* Base Section Setup */
.colour-options-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    font-family: sans-serif; /* Clean font stack matching your tables */
}

/* The Tidy Solid Grey Container Box */
.product-widget-box {
    display: flex;
    max-width: 720px; /* Slimmed down from 850px to reduce the page footprint */
    margin: 0 auto;
    background: #e2e7ec; 
    border-radius: 16px;
    overflow: hidden;
    padding: 30px; /* Compacted slightly to pull everything closer together */
    gap: 35px;
    box-sizing: border-box;
    align-items: center;
}

/* Left Column: White Image Display Card */
.widget-left {
    flex: 1;
    max-width: 240px; /* Restricts the image frame from scaling out too large */
    width: 100%;
}

.image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.7; /* Maintained to fit the portrait crop of your JPGs */
    overflow: hidden;
    background-color: #ffffff; 
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); 
}

.image-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.2s ease-in-out;
}

.image-frame img.active {
    opacity: 1;
    z-index: 2;
}

/* Right Column: Content Alignment */
.widget-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Product Title Styling */
.product-name-title {
    margin: 0 0 8px 0;
    font-size: 2.2rem;
    color: #800020; /* Brand Burgundy */
    font-weight: 700;
}

/* Label string color setting */
.selected-color-text {
    font-size: 1.1rem;
    color: #0f4c81; /* Deep Slate Blue */
    margin-bottom: 24px;
    font-weight: 500;
}

/* Target color variant string */
.selected-color-text span {
    color: #800020; /* Brand Burgundy */
    font-weight: 700;
}

/* Help Text Instruction Style */
.click-instruction {
    font-size: 0.95rem;
    text-transform: none; /* Disables forced browser capitalization */
    letter-spacing: normal; /* Removes wide letter gaps to look more natural */
    color: #0f4c81; /* Deep Slate Blue */
    font-weight: 600;
    margin-bottom: 16px;
}

/* Swatch Circle Row */
.swatch-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.swatch-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
    transition: transform 0.15s ease;
}

/* Indicator selection ring */
.swatch-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #0f4c81; /* Blue ring highlighting active color choice */
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.swatch-btn:hover {
    transform: scale(1.05);
}

.swatch-btn.selected::after {
    opacity: 1;
    transform: scale(1);
}

/* Direct Swatch Color Assignments (Bypasses root rules completely) */
.swatch-btn[data-color="lime"] { background-color: #00cc22 !important; }
.swatch-btn[data-color="magenta"] { background-color: #d11375 !important; }
.swatch-btn[data-color="red"] { background-color: #e61212 !important; }
.swatch-btn[data-color="blue"] { background-color: #0051ba !important; }
.swatch-btn[data-color="grey"] { background-color: #828286 !important; }
.swatch-btn[data-color="skyblue"] { background-color: #87CEEB !important; }

/* Black background with a diagonal red line running through the center */
.swatch-btn[data-color="Red Piping"] { 
    background: linear-gradient(
        135deg, 
        #000000 0%, 
        #000000 42%, 
        #e61212 42%, 
        #e61212 58%, 
        #000000 58%, 
        #000000 100%
    ) !important; 
}

/* Black background with a diagonal pink line running through the center */
.swatch-btn[data-color="Pink Piping"] { 
    background: linear-gradient(
        135deg, 
        #000000 0%, 
        #000000 42%, 
        #ff69b4 42%, 
        #ff69b4 58%, 
        #000000 58%, 
        #000000 100%
    ) !important; 
}

/* Mobile View adjustments */
@media (max-width: 680px) {
    .product-widget-box {
        flex-direction: column;
        padding: 30px 20px;
        gap: 24px;
    }
    .widget-left {
        max-width: 220px; /* Keeps the size compact on mobile phones */
    }
    .widget-right {
        align-items: center;
        text-align: center;
    }
    .swatch-grid {
        justify-content: center;
    }
}
/* --- End of Colour Options Section --- */

/* --- Accessories Main Container Section --- */
.accessories-section {
  max-width: 1200px; /* Forces full screen breathing room layout */
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-family: sans-serif;
  text-align: center; /* Centers the top main heading context */
}

/* --- Clean 4-Column Row Layout System --- */
#accessory-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 15px;
}

/* --- Structural Reset for the Figure Blocks --- */
#accessory-gallery figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;    /* Center elements horizontally inside the column */
  justify-content: start;
  text-align: center;      /* Center aligned captions */
  width: 100%;
}

/* --- Force 150px x 150px Image Boxes --- */
#accessory-gallery figure img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  object-fit: cover; /* Keeps images cropped cleanly into uniform squares */
  border-radius: 4px;
  display: block;
  margin: 0 auto 15px auto; /* Centers image container block perfectly */
}

/* Text layout alignment block */
.accessory-card-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Bold Red Section Titles --- */
.accessory-title {
  color: #800020 !important;
  font-weight: bold;
  font-size: 1.1rem !important;
  margin: 5px 0 8px 0;
  display: block;
  line-height: 1.3;
  width: 100%;
}

/* --- Description Captions --- */
#accessory-gallery figcaption {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0f4c81;
  margin: 0 auto;
  max-width: 250px; /* Prevents long descriptions from running into adjacent items */
}

#accessory-gallery figcaption a {
  color: #0f4c81;
  text-decoration: underline;
}

/* --- Load More / Less Actions Button Layout --- */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 4rem;
  clear: both;
}

.control-btn {
  background-color: #ffffff;
  border: 1px solid #b3b9c1;
  color: #333333;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background-color: #f5f5f5;
  border-color: #800020;
  color: #800020;
}

/* --- JavaScript Visibility States --- */
#accessory-gallery figure.accessory-hidden,
.control-btn.hidden {
  display: none !important;
}

/* --- Breakpoints for Mobile Fluid Design --- */
@media (max-width: 1024px) {
  #accessory-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row on tablet devices */
  }
}

@media (max-width: 650px) {
  #accessory-gallery {
    grid-template-columns: 1fr; /* Single column layout stack on mobile smartphones */
    gap: 45px 0;
  }
}

/* --- Video Section Main Structural Frame --- */
.video-guides-section {
  background-color: #c5cbd3; /* Grey background matching system styles */
  width: 100%;
  padding: 4rem 0;
  font-family: sans-serif;
}

.video-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.video-section-title {
  text-align: center;
  color: #800020; /* Burgundy */
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Search Box Container */
.video-search-container {
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

#videoSearchInput {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  border: 1px solid #b3b9c1;
  border-radius: 25px;
  outline: none;
  color: #0f4c81;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#videoSearchInput:focus {
  border-color: #800020;
}

/* --- Theater Player Block --- */
.featured-video-player {
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Forces beautiful fluid 16:9 widescreen ratio */
}

.main-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-video-text {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
}

.main-video-text p {
  margin: 0;
  color: #0f4c81; /* Blue */
  line-height: 1.5;
  font-size: 1.05rem;
}

/* --- Horizontal Carousel Scroll Deck --- */
.video-library-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Individual Video Item Deck Cards */
.vidbox-card {
  flex: 0 0 280px; /* Precise width limits for uniform display items */
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.vidbox-card:hover {
  transform: translateY(-4px);
  border-color: #800020;
}

/* Highlights the video item currently playing */
.vidbox-card.active {
  border: 2px solid #800020;
}

/* Card Mock Thumbnail Frame */
.thumbnail-overlay {
  position: relative;
  width: 100%;
  height: 160px;
  background: #000;
}

.thumbnail-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* CSS Mock Play button over thumbnails */
.play-icon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(128, 0, 32, 0.9); /* Burgundy with transparency */
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  padding-left: 3px; /* Centers the visual triangle */
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.vidbox-card:hover .play-icon-badge {
  background: #800020;
  scale: 1.1;
}

.vid-desc {
  padding: 10px 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #0f4c81;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Clips descriptions cleanly at 3 lines maximum inside the card */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hide filtered elements */
.vidbox-card.video-hidden {
  display: none !important;
}

/* --- Carousel Scrollbar Customization --- */
.video-library-carousel::-webkit-scrollbar {
  height: 8px;
}
.video-library-carousel::-webkit-scrollbar-track {
  background: #e1e4e8;
  border-radius: 10px;
}
.video-library-carousel::-webkit-scrollbar-thumb {
  background: #800020;
  border-radius: 10px;
}
.video-library-carousel::-webkit-scrollbar-thumb:hover {
  background: #5a0016;
}
.video-library-carousel {
  scrollbar-width: thin;
  scrollbar-color: #800020 #e1e4e8;
}

/* Full-width container setup */
.gallery-wrapper {
  position: relative;
  width: 100%;
  margin: 20px 0;
  padding: 0 40px; /* Leave space for the absolute arrows on the sides */
  box-sizing: border-box;
}

/* The actual scrolling container row */
.gallery-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  padding: 10px 0;
  /* Hide standard scrollbars for a cleaner visual look */
  scrollbar-width: none; /* Firefox */
}

.gallery-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Base Desktop Sizing Constraints (150px x 150px) */
.gallery-item {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps image aspect ratios perfect without squishing */
  display: block;
}

/* Navigation Arrow Designs */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 76, 129, 0.85); /* Deep Blue theme match */
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.gallery-arrow:hover {
  background-color: #800020; /* Burgundy hover accent */
}

.prev-arrow { left: 5px; }
.next-arrow { right: 5px; }

/* Responsive Adjustments: Shrink images smoothly on mobile screens */
@media screen and (max-width: 600px) {
  .gallery-wrapper {
    padding: 0 35px; /* Slightly tighter edges for small screens */
  }
  
  .gallery-item {
    flex: 0 0 110px; /* Scales box boundary to 110px on mobile */
    width: 110px;
    height: 110px;
  }
  
  .gallery-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* --- START OF HARNESSING --- */

/* --- HERO SECTION --- */
.product-hero.split-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 2rem;
}

.hero-image-container {
    flex: 1 1 50%;
    min-width: 300px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-box {
    flex: 1 1 50%;
    background-color: #e8eaf1; /* Matches the light grayish-blue box from Hercules page */
    padding: 3rem;
    position: relative;
    color: #0f4c81; /* blue text */
}

.hero-text-box h1 {
    color: #7c2331; /* Tendercare Maroon */
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Circular CTA */
.cta-circle {
    background-color: #7c2331;
    color: #ffffff;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    position: absolute;
    bottom: -30px;
    right: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cta-circle a {
    color: #ffffff;
    text-decoration: underline;
}


/* --- CONTENT SECTIONS --- */
.product-info-section {
    padding: 2rem 5%;
    color: #0f4c81;
}


.custom-bullet-list {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    
}

.custom-bullet-list li {
    margin-bottom: 1rem;
    font-family: Arial, Helvetica, sans-serif; /* Forces sans-serif to match site */
    font-size: 1.1rem; /* Slightly larger to match standard body text */
}

.custom-bullet-list strong {
    color: #0f4c81;
        font-family: Arial, Helvetica, sans-serif; /* Forces sans-serif to match site */
    font-size: 1.1rem; /* Slightly larger to match standard body text */
}

/* Intro Text styling */
.section-intro {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    line-height: 1.6;
    color: #0f4c81; /* Tendercare Blue */
    font-family: Arial, Helvetica, sans-serif; /* Forces sans-serif to match site */
    font-size: 1.1rem; /* Slightly larger to match standard body text */

}

/* --- GRID LAYOUT (The Space Filler) --- */
.harness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch; /* Equalizes card heights */
}

/* Individual Card Styling */
.harness-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.25rem;
    text-align: left; /* Left align copy for readability */
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif; /* Forces sans-serif */
}

/* Centered Header Elements inside Card */
.harness-card h3 {
    color: #7c2331; /* Tendercare Maroon */
    text-align: center;
    font-size: 1.3rem; /* Increased size to match headers */
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-family: Arial, Helvetica, sans-serif;
}

/* Base Image Style */
.harness-card img {
    width: 100%;
    height: 260px; /* Fixed height for visual consistency */
    object-fit: contain; /* Prevents image stretching */
    margin-bottom: 1rem;
    transition: transform 0.3s ease-in-out; /* Ensures the zoom is smooth, not instant */
}

/* Smart Hover Effect */
.harness-card:hover img {
    transform: scale(1.25); /* zooms the image in by 25% */
}

/* Subheadings and Lists */
.card-subheading {
    display: block;
    font-weight: bold;
    color: #0f4c81; /* Blue */
    font-size: 0.9rem; /* Increased size */
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.harness-card p {
    font-size: 0.95rem; /* Increased size from 0.9rem */
    line-height: 1.45;
    color: #0f4c81; /* Replaced dark grey with Slate Blue */
    margin-bottom: 0.5rem;
}

.harness-card ul {
    margin: 0 0 0.5rem 0;
    padding-left: 1.1rem;
}

.harness-card li {
    font-size: 0.9rem; /* Increased size from 0.85rem */
    line-height: 1.4;
    color: #0f4c81; /* Replaced dark grey with Slate Blue */
    margin-bottom: 0.35rem;
}

/* Sizing Tabs Navigation */
.sizing-tabs-container {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.sizing-tabs {
    display: flex;
    flex-wrap: wrap; /* Allows tabs to stack on mobile */
    justify-content: center;
    gap: 0.5rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #1a4369; /* Slate Blue */
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #7c2331; /* Maroon */
}

.tab-button.active {
    color: #7c2331;
    border-bottom: 3px solid #7c2331;
}

/* Tab Content Visibility */
.sizing-content {
    display: none; /* Hides all tabs by default */
    animation: fadeEffect 0.5s;
}

.sizing-content.active-content {
    display: block; /* Shows the active tab */
}

/* Fade Animation */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* 2-Column Grid for Image and Instructions */
.sizing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.sizing-diagram img {
    max-width: 100%; /* Ensures it never overflows on small mobile screens */
    max-height: 250px; /* Prevents square images from getting too tall */
    height: auto; /* Keeps the proportions perfect */
    display: block;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.sizing-instructions h3 {
    color: #0f4c81;
    margin-top: 0;
    font-size: 1.3rem;
    font-family: sans-serif;
}

.sizing-instructions p {
    color: #0f4c81;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-family: sans-serif;
}

/* Responsive Table Styling */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling on mobile */
    -webkit-overflow-scrolling: touch;
}

.sizing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px; /* Forces scrolling if screen is too small */
    font-family: sans-serif;
}

.sizing-table th {
    background-color: #7c2331; /* Maroon */
    color: #ffffff;
    text-align: left;
    padding: 1rem;
    font-size: 1rem;
}

.sizing-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #0f4c81; /* TC Blue */
    font-size: 1rem;
}

.sizing-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Mobile Breakpoints */
@media (max-width: 768px) {
    .sizing-grid {
        grid-template-columns: 1fr; /* Stacks image and text on phones */
        text-align: center;
    }
    
    .tab-button {
        flex: 1 1 45%; /* Makes buttons fit neatly in 2 rows on mobile */
        text-align: center;
        padding: 0.75rem;
    }
}











/* --- END OF HARNESSING --- */

/* --- IN PAGE DOCUMENT LIBRARY STYLES --- */
.documents-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.doc-category-title {
  font-family: sans-serif;
  color: var(--nav-text);
  font-size: 1.3rem;
  margin: 30px 0 15px 0;
  border-left: 4px solid var(--nav-accent); /* Burgundy accent flag block */
  padding-left: 10px;
}

/* Fluid responsive grid layout */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* Individual Card Styling */
.document-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.document-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-color: var(--nav-text);
}

.doc-icon {
  font-size: 2rem;
  color: var(--nav-text);
  background: #f0f4f8;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-info {
  flex-grow: 1;
}

.doc-info h4 {
  margin: 0 0 4px 0;
  font-family: sans-serif;
  color: #333333;
  font-size: 1rem;
  font-weight: 600;
}

/* Clean, integrated call to action link button */
.doc-download-btn {
  background-color: transparent;
  color: var(--nav-text);
  border: 1px solid var(--nav-text);
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.doc-download-btn:hover {
  background-color: var(--nav-text);
  color: #ffffff;
}

/* Mobile Tweak: Ensure smooth column reduction */
@media screen and (max-width: 480px) {
  .document-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }
  .doc-download-btn {
    width: 100%;
    text-align: center;
  }
} /* <--- THIS BRACKET WAS FIXED TO CLOSE THE MEDIA QUERY CLEANLY */

/* Styling for the clickable title banner */
.doc-category-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-left: 4px solid var(--nav-accent); /* Burgundy flag indicator */
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
  user-select: none;
  transition: background-color 0.2s ease;
}

.doc-category-trigger:hover {
  background-color: #f0f4f8;
}

.doc-category-trigger h3 {
  font-family: sans-serif;
  color: var(--nav-text);
  font-size: 1.2rem;
  margin: 0;
}

.accordion-arrow {
  font-size: 1rem;
  color: var(--nav-text);
  transition: transform 0.25s ease;
}

/* Hide the content section by default */
.doc-accordion-content {
  display: none;
  padding: 20px 0;
}

/* --- Toggle Visibility Classes --- */
.doc-accordion-item.open .doc-accordion-content {
  display: block; /* Reveals grid when clicked */
}

.doc-accordion-item.open .accordion-arrow {
  transform: rotate(180deg); /* Flips the arrow marker up when active */
}

/* --- Full-Width Grey Footer Base --- */
.site-footer {
  width: 100%;
 background-color: #c5cbd3; 
  color: #ffffff;            /* Soft white for readable text contrast */
  padding: 3rem 1.5rem;
  box-sizing: border-box;
  font-family: sans-serif;
  margin-top: 4rem;          /* Generous separation from page sections */
}

/* Outer layout container to align inner components */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Company text block rules */
.footer-info h3 {
  color: #800020;
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
}

.footer-info p {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 450px; /* Keeps text paragraphs crisp and easy to scan */
}

.footer-info .footer-meta {
  font-size: 0.8rem;
  color: #ffffff;   /* Dimmed text for legal registration details */
  margin: 0;
}

/* ISO Badges Section layout */
.footer-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Individual wrapper ensures all logos render uniformly */
.logo-item img {
  width: auto;
  height: 75px;      /* Standard clean height for multi-certification arrays */
  display: block;
  filter: brightness(1.2); /* Optional: makes colorful logos match the aesthetic */
  transition: filter 0.3s ease;
}

.logo-item img:hover {
  filter: none;      /* Pops back to full color when hovered */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-info p {
    max-width: 100%; /* Spans natural mobile device width safely */
  }

  .footer-logos {
    justify-content: center;
    flex-wrap: wrap; /* Wraps cleanly if a screen is too narrow */
    gap: 1.2rem;
  }

  .logo-item img {
    height: 65px;    /* Marginally smaller sizing for mobile views */
  }
}

/* --- Global Styles (at end of CSS) --- */
.tech-specs-section {
  background-color: #c5cbd3;
  width: 100%;
  padding: 4rem 0;
  font-family: sans-serif;
}
.tech-specs-section .inner-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.specs-title {
  text-align: center;
  color: #800020;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.specs-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #0f4c81;
  max-width: 750px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
  font-family: sans-serif;
}


/* =========================================================
   DESKTOP HERO STYLES (Desktop / Large Screens)
   ========================================================= */
body#products .tc-home-wrapper .tc-hero-section {
  padding-top: 0 !important;
  margin-top: -15px !important;  /* Pulls hero banner up closer to header */
  margin-bottom: 15px !important;
}

/* Constrain hero height so secondary nav is visible above the fold */

body#products .tc-home-wrapper .tc-hero-inner {
  max-height: 420px; 
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

body#products .tc-home-wrapper .tc-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
} 



/* 2. MOBILE OVERRIDES (Triggers when screen width is under 992px) */
@media screen and (max-width: 992px) {

  /* 1. Strip background & shadow from parent container to kill extra outer box */
  body#products #home .tc-hero-inner {
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: transparent !important; /* Removes duplicate outer background */
    box-shadow: none !important;
  }

  /* 2. Photo banner on top */
  body#products #home .tc-hero-img {
    position: relative !important;
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: 85% center !important;
    border-radius: 12px 12px 0 0 !important;
    order: 1 !important;
  }

  /* 3. Text card sits cleanly attached directly underneath photo */
  body#products #home .tc-hero-card {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: rgba(225, 232, 238, 0.88) !important;
    padding: 20px !important;
    border-radius: 0 0 12px 12px !important;
    box-sizing: border-box !important;
    order: 2 !important;
    box-shadow: none !important;
  }

  body#products #home .tc-hero-card h1 {
    font-size: 1.3rem !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  body#products #home .tc-hero-card p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
  }
}
