/* =================================
  GLOBAL STYLES & RESET
  =================================
*/
:root {
    --font-family: 'Inter', sans-serif;
    --primary-color: #F97316;
    --primary-dark: #EA580C;
    --primary-light: #FFF7ED;
    --header-font: 'Inter', sans-serif;
  --header-primary: #F97316;
  --header-primary-dark: #EA580C;
  --header-primary-light: #FFF7ED;
  --header-bg: #ffffff;
  --header-border: #e5e7eb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-light: #6b7280;
  --text-on-primary: #ffffff;
  --header-max-width: 95%;
  --header-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
                   0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --dropdown-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                     0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --header-radius: 8px;
  --header-radius-sm: 6px;
    --text-color: #333;
    --text-light: #555;
    --text-lighter: #777;
    --border-color: #ddd;
    --bg-color: #ffffff;
    --bg-light: #f4f4f4;
    --bg-grey: #f9f9f9;
    --star-color: #f39c12;
    --green-color: #28a745;
    --red-color: #dc3545;
    --header-height: 70px;
    --max-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 8px 20px rgba(0,0,0,0.1);
    --footer-bg: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    --footer-text-primary: #ffffff;
    --footer-text-secondary: #9ca3af; /* Gray 400 */
    --footer-text-hover: #3b82f6; /* Blue 500 */
    --footer-border: #374151; /* Gray 700 */
    --footer-accent: #3b82f6; /* Blue 500 */
    --blue-color: #007bff;
    --bg-white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    /* overflow: hidden is managed by JS */
}

/* Hide content visually */
.hidden {
    display: none !important;
}

/* Base styles for icons */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    flex-shrink: 0;
}
.icon--chevron {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}
.icon--chevron-sm {
    width: 14px;
    height: 14px;
    margin-left: 2px;
    stroke-width: 2.5;
}

/* Utility class for links */
a {
    text-decoration: none;
    color: var(--primary-color);
}


/* Utility class for buttons */
button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}





/* ==============================
  HEADER - MAIN STRUCTURE
=============================== */
.adv-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--header-shadow);
}

.adv-header-container {
    width: 100%;
    max-width: var(--header-max-width);
    margin: 0 20px;
    /*padding: 0 1rem;*/
    display: flex;
    align-items: center;
}

@media only screen and (max-width:1024px){
    .adv-header-container {
    margin: none !important;
    padding: none !important;
}
.adv-header-main .adv-header-container {
    width: unset !important;
    padding-left: unset !important;
  }
.adv-header-top-bar .adv-header-container {
	width: unset !important;
}
.adv-header-secondary {
	display: none;
}
.adv-search-bar {
	overflow: visible !important;
}
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}
.icon-md {
    width: 1.5rem;
    height: 1.5rem;
}


.adv-header-top-bar {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.adv-header-top-bar .adv-header-container {
	justify-content: space-between;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar-link, .social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.top-bar-link:hover, .social-link:hover {
  opacity: 0.8;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .adv-header-top-bar .adv-header-container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ==============================
  2. MAIN HEADER
=============================== */
.adv-header-main {
    padding: 1rem 0;
}
.adv-header-main .adv-header-container {
    gap: 1.5rem;
    height: 60px; /* Fixed height for alignment */
}

/* 2a. Logo */
.adv-header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-svg {
    width: 40px;
    height: 40px;
}
.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    display: none; /* Hidden by default */
}

/* 2b. Search Bar */
.adv-search-bar {
    display: flex;
    flex-grow: 1;
    max-width: 600px;
    height: 44px;
    border: 2px solid var(--header-primary);
    /* border-radius: var(--header-radius); */
    overflow: hidden;
}
.adv-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.adv-search-btn-icon {
    display: none; /* Hidden by default */
    border: none;
    background: none;
    padding: 0 0.75rem;
    color: var(--text-light);
    cursor: pointer;
}
.adv-search-btn-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.adv-search-btn-text {
    border: none;
    background-color: var(--header-primary);
    color: var(--text-on-primary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.adv-search-btn-text svg {
    width: 1.25rem;
    height: 1.25rem;
}
.adv-search-btn-text:hover {
    background-color: var(--header-primary-dark);
}

/* 2c. Main Navigation */
.adv-header-nav {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* Push to the right */
}
.adv-nav-item {
    position: relative;
    flex-shrink: 0;
}
.adv-nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--header-radius-sm);
    transition: color 0.2s, background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}
.adv-nav-link:hover {
    color: var(--text-primary);
    background-color: #f3f4f6; /* Gray 100 */
}
.adv-nav-link .link-label {
    font-size: 0.8rem;
    color: var(--text-light);
}
.adv-nav-link .link-value {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-primary);
}
.adv-nav-link svg {
    width: 1.5rem; /* Larger icons */
    height: 1.5rem;
}
.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    border: 1px solid var(--header-border);
}
.adv-nav-btn-primary {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-on-primary);
    background-color: var(--blue-color);
    padding: 0.6rem 1rem;
    border-radius: var(--header-radius-sm);
    text-decoration: none;
    transition: background-color 0.2s;
}
.adv-nav-btn-secondary {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background-color: #f3f4f6; /* Gray 100 */
    padding: 0.6rem 1rem;
    border-radius: var(--header-radius-sm);
    text-decoration: none;
    transition: background-color 0.2s;
}
.adv-nav-btn-secondary:hover {
    background-color: #e5e7eb; /* Gray 200 */
}

/* 2d. Mobile Toggle */
.adv-header-mobile-toggle {
    display: none; /* Hidden on desktop */
    
    border: none;
    background: none;
    padding: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
  z-index: 1100; /* Keep above flyout panel */
}
.adv-header-mobile-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
}
.adv-header-mobile-toggle .icon-open {
  display: inline-block;
}

.adv-header-mobile-toggle .icon-close {
    display: none;
}
/* When menu is open, swap icons */
body.mobile-flyout-open .adv-header-mobile-toggle .icon-open {
  display: none;
}
body.mobile-flyout-open .adv-header-mobile-toggle .icon-close {
  display: inline-block;
}

/* ==============================
  3. SECONDARY NAVIGATION
=============================== */
.adv-header-secondary {
  background-color: var(--header-bg);
  border-top: 1px solid var(--header-border);
  position: relative;
}
.adv-header-secondary .adv-header-container {
  height: 48px;
  gap: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
}
/* Hide scrollbar */
.adv-header-secondary .adv-header-container::-webkit-scrollbar {
    display: none;
}
/* .adv-header-secondary .adv-header-container {
    -ms-overflow-style: none; 
    scrollbar-width: none; 
} */
.adv-nav-link-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-med);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  padding-bottom: 4px;
}
.adv-nav-link-secondary:hover {
  color: var(--header-primary);
  border-bottom-color: var(--header-primary);
}
.adv-nav-link-secondary svg {
    width: 1.25rem;
    height: 1.25rem;
}
.adv-header-secondary-menus {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s ease;
}

/* When active */
.adv-header-secondary:hover + .adv-header-secondary-menus,
.adv-header-secondary-menus:hover {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.adv-header.secondary-menu-open {
    border-bottom-color: transparent;
}



/* ==============================
  4. DROPDOWN & MEGA-MENUS
=============================== */

/* Wrapper for hover logic */
.dropdown-hover-wrapper {
    /* This empty wrapper solves the hover bug. */
    padding-bottom: 10px; /* Spacing to catch mouse */
    margin-bottom: -10px; /* Pull layout back up */
}

/* Base Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Positioned right below the wrapper */
    right: 0;
    width: 320px;
    background-color: var(--header-bg);
    border-radius: var(--header-radius);
    box-shadow: var(--dropdown-shadow);
    border: 1px solid var(--header-border);
    padding: 1.25rem;
    z-index: 1010;
    display: none; /* Hidden by default */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Show on hover */
.dropdown-hover-wrapper:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
/* Dropdown Content */
.dropdown-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}
.dropdown-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}
.dropdown-btn-primary {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--header-radius-sm);
    background-color: var(--blue-color);
    color: var(--text-on-primary);
    cursor: pointer;
    transition: background-color 0.2s;
}
.dropdown-btn-primary:hover {
    background-color: var(--blue-color);
}
.dropdown-btn-secondary {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--header-border);
    border-radius: var(--header-radius-sm);
    background-color: var(--header-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}
.dropdown-btn-secondary:hover {
    background-color: #f9fafb; /* Gray 50 */
}
.dropdown-divider {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
}
.dropdown-divider::before,
.dropdown-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--header-border);
}
.dropdown-divider::before { margin-right: 0.5em; }
.dropdown-divider::after { margin-left: 0.5em; }
.dropdown-form-group {
    margin-bottom: 1rem;
}
.dropdown-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.dropdown-form-group select,
.dropdown-form-group input {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--header-border);
    border-radius: var(--header-radius-sm);
    background-color: var(--header-bg);
}

.dropdown-empty-state {
    text-align: center;
    padding: 1rem 0;
}
.dropdown-empty-state p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}
.dropdown-social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.dropdown-social-login button {
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    width: 40px;
    height: 40px;
}
.dropdown-social-login svg {
    width: 40px;
    height: 40px;
}
.dropdown-links-list {
    border-top: 1px solid var(--header-border);
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.dropdown-links-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--header-radius-sm);
}
.dropdown-links-list a:hover {
    background-color: #f3f4f6; /* Gray 100 */
}


/* Secondary Nav Mega-Menu */
.mega-menu-secondary {
  display: none;
  background: #fff;
  padding: 2rem;
  gap: 2rem;
  align-items: flex-start;
}

.mega-menu-secondary.active {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu-secondary .adv-header-container {
	gap: 20px;
}

.adv-nav-link-secondary[data-menu]:hover ~ .adv-header-secondary-menus .mega-menu-secondary {
  display: none !important;
}

.adv-header-secondary .dropdown-hover-wrapper:hover .mega-menu-secondary[data-menu-id="desktop-categories-toggle"] {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.adv-nav-link-secondary[data-menu="desktop-categories-toggle"]:hover ~ .adv-header-secondary-menus [data-menu-id="desktop-categories-toggle"],
.adv-nav-link-secondary[data-menu="desktop-featured-menu"]:hover ~ .adv-header-secondary-menus [data-menu-id="desktop-featured-menu"],
.adv-nav-link-secondary[data-menu="desktop-order-menu"]:hover ~ .adv-header-secondary-menus [data-menu-id="desktop-order-menu"],
.adv-nav-link-secondary[data-menu="desktop-buyer-menu"]:hover ~ .adv-header-secondary-menus [data-menu-id="desktop-buyer-menu"],
.adv-nav-link-secondary[data-menu="desktop-help-menu"]:hover ~ .adv-header-secondary-menus [data-menu-id="desktop-help-menu"] {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.mega-menu-categories {
  width: 350px;
  border-right: 1px solid #eee;
  padding: 1rem;
  background: #fafafa;
  overflow-y: auto;
  max-height: 450px;
  border-radius: 8px 0 0 8px;
}

.mega-menu-category-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}
.mega-menu-category-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-light);
    flex-shrink: 0;
}
.mega-menu-category-item:hover {
  background: var(--header-primary-light);
  color: var(--header-primary);
}
.mega-menu-category-item.active {
    background-color: var(--header-primary-light);
    color: var(--header-primary);
}
.mega-menu-content {
	padding: 1.5rem 2rem;
	width: 100%;
}
.mega-menu-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-menu-grid.custom_all_categories_grid {
	display: grid !important;
	grid-template-columns: repeat(4,1fr) !important;
	gap: 1rem !important;
}

.mega-menu-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    gap: 0.5rem;
}
.mega-menu-grid-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #f3f4f6; /* Gray 100 */
    border-radius: 50%;
    padding: 0.5rem;
    transition: box-shadow 0.2s;
}
.mega-menu-grid-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}
.mega-menu-grid-item:hover span {
    color: var(--header-primary);
}
.mega-menu-grid-item:hover img {
    box-shadow: 0 0 0 4px var(--header-primary-light);
}

/* Secondary Mega-Menus (Featured, Order, etc.) */
.secondary-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    flex-grow: 1;
}

.secondary-menu-grid.order-protection-custom-grid {
	display: grid !important;
	grid-template-columns: repeat(4,1fr) !important;
	gap: 1rem !important;
}

.secondary-menu-grid.full-width {
    grid-template-columns: repeat(5, 1fr);
}
.secondary-menu-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: var(--header-radius);
	background-color: #f9fafb;
	text-decoration: none;
	transition: background-color 0.2s, transform 0.2s;
	border: 1px solid #ddd;
}
.secondary-menu-item:hover {
    background-color: var(--header-primary-light);
    transform: translateY(-4px);
}
.secondary-menu-item svg {
    width: 2rem;
    height: 2rem;
    color: var(--header-primary);
}
.secondary-menu-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}
.secondary-menu-links {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 1px solid var(--header-border);
    padding-left: 2rem;
}
.secondary-menu-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--header-radius-sm);
}
.secondary-menu-links a:hover {
    background-color: #f3f4f6; /* Gray 100 */
    color: var(--header-primary);
}
/* Large Card (Trade Assurance) */
.secondary-menu-card {
    width: 300px;
    flex-shrink: 0;
    background-color: var(--header-primary-light);
    border-radius: var(--header-radius);
    padding: 1.5rem;
    text-align: center;
}
.secondary-menu-card svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--header-primary);
    margin-bottom: 0.75rem;
}
.secondary-menu-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}
.secondary-menu-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}
.secondary-menu-card-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-on-primary);
    background-color: var(--blue-color);
    padding: 0.6rem 1rem;
    border-radius: var(--header-radius-sm);
    text-decoration: none;
    display: inline-block;
}
.secondary-menu-card-btn:hover {
    background-color: var(--blue-color);
}
/* Large Grid Items (Payments, etc.) */
.secondary-menu-item-lg {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem;
	border-radius: var(--header-radius);
	background-color: #f9fafb;
	text-decoration: none;
	transition: background-color 0.2s, transform 0.2s;
	border: 1px solid #ddd;
}
.secondary-menu-item-lg:hover {
    background-color: #f3f4f6; /* Gray 100 */
    transform: translateY(-4px);
}
.secondary-menu-item-lg div {
    flex-grow: 1;
}
.secondary-menu-item-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin: 10px 0px 20px 0px !important;
}
.secondary-menu-item-lg p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}
.secondary-menu-item-lg svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--header-primary);
    flex-shrink: 0;
    padding: 0.5rem;
    background-color: var(--header-primary-light);
    border-radius: 50%;
}

/* Col layout for Buyer Central */
.secondary-menu-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.secondary-menu-col-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}
.secondary-menu-col a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
}
.secondary-menu-col a:hover {
    color: var(--header-primary);
    text-decoration: underline;
}

/* ==============================
  5. MOBILE FLYOUT PANEL
=============================== */
.mobile-flyout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-flyout-panel {
    position: fixed;
    top: 0;
    left: -320px; /* Start off-screen */
    width: 320px;
    height: 100%;
    background-color: var(--header-bg);
    z-index: 1030;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Open State */
body.mobile-flyout-open {
    overflow: hidden;
}
body.mobile-flyout-open .mobile-flyout-overlay {
    opacity: 1;
    visibility: visible;
}
body.mobile-flyout-open .mobile-flyout-panel {
    transform: translateX(320px);
}

/* Panel Header (Login/Sign up) */
.mobile-flyout-header {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--header-border);
    /* height: 60px; */ /* Match main header height */
    align-items: center;
    flex-shrink: 0;
    padding-top: 1rem; /* Adjust for top bar */
    padding-bottom: 1rem;
    margin-top: 50px; /* Space for top bar */
    justify-content: space-between;
}

/* Sign In button aligned left */
  .mobile-flyout-header .signin-btn {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
  }


/* Re-adjusting mobile header for both bars */
.mobile-flyout-header {
    margin-top: 0;
    height: auto;
    padding: 1rem;
}

/* Close (cross) button on right side */
  .mobile-flyout-header .close-flyout-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.4rem;
  }

  .mobile-flyout-header .close-flyout-btn svg {
    width: 25px;
    height: 25px;
    stroke-width: 2;
    color: #fff;
}

/* Panel Navigation */
.mobile-flyout-nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}
.mobile-nav-group {
    border-bottom: 1px solid var(--header-border);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
.mobile-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--header-radius-sm);
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-nav-item:hover {
    background-color: #f3f4f6; /* Gray 100 */
}
.mobile-nav-item .link-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-align: left;
}
.mobile-nav-item .icon-chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-light);
    transition: transform 0.2s ease;
}
.mobile-nav-item.open .icon-chevron {
    transform: rotate(180deg);
}

/* Mobile Submenus */
.mobile-nav-submenu {
    padding: 0.5rem 0.75rem 1rem 0.75rem;
    display: none; /* Hidden by default */
}
.mobile-nav-submenu .dropdown-title {
    font-size: 1rem;
    padding-left: 0.75rem;
}
.mobile-nav-submenu .dropdown-form-group {
    padding: 0 0.75rem;
}
.mobile-nav-submenu .dropdown-btn-secondary {
    margin-top: 1rem;
    margin-left: 0.75rem;
    width: calc(100% - 1.5rem);
}
.mobile-nav-sublink {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--header-radius-sm);
}
.mobile-nav-sublink:hover {
    background-color: #f3f4f6; /* Gray 100 */
    color: var(--text-primary);
}


/* ==============================
  6. RESPONSIVE MEDIA QUERIES
=============================== */

/* Tablet */
@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
    .adv-search-btn-icon {
        display: block;
    }
    .adv-header-secondary .adv-header-container {
        padding: 0 1rem; /* Restore padding */
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .adv-header-nav {
        display: flex;
    }
    .adv-header-mobile-toggle {
        display: none;
    }
}

/* Mobile & Tablet */
@media (max-width: 1023px) {
    /* Hide desktop nav elements */
    .adv-header-nav {
        display: none;
    }
    /* Show mobile toggle */
    .adv-header-mobile-toggle {
        display: block;
    }
    /* Hide secondary menus container */
    .adv-header-secondary-menus {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .adv-header-main .adv-header-container {
        gap: 1rem;
    }
    .logo-text {
        display: none;
    }
    .adv-search-bar {
        max-width: none;
        flex-grow: unset;
    }
    .adv-search-btn-text {
        display: none;
    }
    .adv-search-btn-icon {
        display: block;
        padding: 0 0.75rem;
        background-color: var(--header-primary);
        color: var(--text-on-primary);
        height: 100%;
        border-radius: 0;
    }
    .adv-header-secondary .adv-header-container {
        padding: 0 1rem; /* Add padding for scrolled items */
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .mobile-flyout-panel {
        width: 100%;
        left: -100%;
    }
    body.mobile-flyout-open .mobile-flyout-panel {
        transform: translateX(100%);
    }
    .adv-search-bar {
        display: none; /* Hide search on smallest screens */
    }
    .adv-header-logo {
        margin-right: auto;
    }
}



/* --- Fix stacking for dropdowns --- */
.adv-nav-item.dropdown-hover-wrapper {
  position: relative;
  z-index: 1050;
}
.adv-header-secondary {
	position: relative;
	z-index: 1040;
	padding: 5px 0px;
}
.adv-header-secondary-menus {
  top: 100%;
  z-index: 1060;
}

    /* --- Fix for Mobile Flyout UI --- */
    .mobile-flyout-panel {
      height: 100vh;
      box-shadow: var(--dropdown-shadow);
    }
    .mobile-nav-group {
      margin-bottom: 0.5rem;
      padding-bottom: 0.5rem;
    }
    .mobile-flyout-header {
      background-color: var(--header-primary);
      color: var(--text-on-primary);
    }
    .mobile-flyout-overlay {
      backdrop-filter: blur(4px);
    }

    /* --- Make dropdowns properly overlap other elements --- */
    .dropdown-menu {
      z-index: 2000;
    }










/* =================================
  FOOTER WRAPPER
  =================================
*/
.site-footer {
    background: #fff;
    color: #000;
    padding: 4rem 1rem 0 1rem; /* More top padding, no bottom padding */
    border-top: 4px solid var(--primary-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* =================================
  FOOTER LINK GRID
  =================================
*/
.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--footer-border);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Underline accent for titles */
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links li a {
    color: #000;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(5px);
}

/* Optional: hover underline effect */
.footer-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links li a:hover::before {
    width: 100%;
}


/* =================================
  SECONDARY ROW (SOCIAL & APPS)
  =================================
*/
.footer-secondary-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--footer-border);
}

.footer-title-sm {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    color: var(--footer-text-secondary);
    background-color: #374151; /* Gray 700 */
    border-radius: 9999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: var(--footer-text-hover);
    background-color: var(--primary-color); /* Gray 600 */
    transform: translateY(-2px);
}

.social-icon svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.app-badge img {
    height: 40px;
    width: auto;
    border-radius: 6px;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.app-badge:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* =================================
  PAYMENT ICONS
  =================================
*/
.footer-payments {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--footer-border);
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    color: var(--footer-text-secondary); /* SVGs will inherit this */
}

.payment-icons svg {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.payment-icons svg:hover {
    opacity: 1;
    color: var(--footer-text-primary);
}


/* =================================
  BOTTOM BAR (COPYRIGHT & LEGAL)
  =================================
*/
.footer-bottom {
    display: flex;
    flex-direction: column-reverse; /* Puts copyright first on mobile */
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    padding: 2.5rem 0; /* Final padding */
    font-size: 0.8rem; /* Slightly larger text */
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
}

.footer-legal a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-copyright {
    color: #000;
}


/* =================================
  RESPONSIVE STYLES
  =================================
*/

/* Small tablets */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-secondary-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-legal {
        justify-content: flex-start;
    }
}

/* Desktops */
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}





/*Company Profile CSS*/

.main_profile_section {
    background: #111827;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rekha-profile-card {
  display: flex;
  align-items: center;
  gap: 24px; /* Slightly more space */
  background: #fff;
  border-radius: 12px;
  padding: 24px 30px;
  box-shadow: var(--shadow-lg); /* Use global shadow */
  border: 1px solid var(--border-color);
  position: relative; /* For positioning the rate widget */
  width: 100%;
}

.rekha-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color); /* Use theme color */
  box-shadow: var(--shadow);
}

.rekha-info {
  flex: 1;
}

.rekha-name {
  font-size: 2rem; /* Larger */
  color: var(--text-dark);
  margin: 0 0 12px 0;
  font-weight: 700; /* Bolder */
}

.rekha-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Tighter gap */
  font-size: 0.85rem; /* Slightly smaller for pills */
  color: var(--text-secondary);
}

/* "Pill" style for meta items */
.rekha-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-light);
  padding: 4px 10px;
  border-radius: 99px; /* Pill shape */
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.rekha-meta i {
  color: var(--primary-color); /* Use theme color */
}

.action-btn.contact-supplier {
  background-color: var(--primary-color, #F97316);
  color: var(--text-on-primary, #fff);
}
.action-btn.contact-supplier:hover {
  background-color: var(--primary-dark, #EA580C);
}
.custom_meta_details {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width:768px){
    .custom_meta_details {
	flex-direction: column;
	gap: 20px;
}
}
.trust-icon {
  color: var(--green-color); /* Use green for trust */
}
.rekha-meta span strong {
  color: var(--green-color);
}

.rekha-stats {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color); /* Separator */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* Changed from max-width */
  flex-wrap: wrap;
  gap: 10px;
}

.profile_btn_Section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rekha-rating {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.stars {
  color: var(--star-color); /* Use global star color */
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.score {
  font-weight: 700;
  color: var(--text-dark);
}
.count {
  font-size: 0.9rem;
  color: var(--text-light);
}

.rekha-response {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-color); /* Use global green color */
  font-weight: 500;
  font-size: 0.95rem;
}

.rekha-response i {
  color: var(--green-color);
}

/* Keep your original responsive structure */
@media (max-width: 768px) {
  .rekha-profile-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .rekha-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .rekha-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    justify-content: flex-start;
    width: 100%;
  }
  .main_profile_section {
    padding: 40px 20px;
}
}



.profile_tage {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}
.profile_tage a {
  background: #f4f4f4;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 5px;
}
.profile_tage a:hover {
  background: var(--primary-color);
  color: #fff;
}

@media only screen and (max-width:768px){
    .profile_tage {
      display: none;
}
}



/* --- Click to Rate Widget --- */
.click-to-rate {
	position: absolute;
	top: 50px;
	right: 25px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.rate-title {
	font-size: 1rem;
	font-weight: 600;
	color: #000;
	padding-bottom: 5px;
}
.rating-stars-container {
    display: flex;
    /* FIX: Removed row-reverse */
}
.rating-star-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-left: 4px;
    cursor: pointer;
    background-color: var(--bg-white);
    color: var(--text-light);
    transition: all 0.2s ease;
}
.rating-star-box i {
    font-size: 1.1rem;
    transition: all 0.2s ease;
}
/* Hover & Active States (Handled by JS now) */
.rating-star-box.hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--primary-light);
}
.rating-star-box.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}


@media only screen and (max-width:768px){
 .click-to-rate {
    top: 25px;
}
}





/* ==============================
  2. PRODUCT CAROUSEL (NEW)
=============================== */
.product-carousel-section {
    position: relative;
    font-family: var(--font-family, 'Inter', sans-serif);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark, #111827);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #F97316);
    display: inline-block;
    /* Remove centering */
    position: static;
    left: auto;
    transform: none;
    text-align: left;
}

/* --- Main Carousel --- */
.carousel-wrapper {
    overflow: hidden; 
    position: relative;
}

.carousel-track {
    display: flex;
    padding-bottom: 1rem; /* Space for shadow */
    transition: transform 0.5s ease;
}

.main-carousel-btn {
    position: absolute;
    top: 70%;
    transform: translateY(-70%); /* Align with card center */
    z-index: 10;
    background-color: var(--bg-white, #fff);
    color: var(--text-dark, #111);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.05));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.main-carousel-btn:hover {
    background-color: var(--primary-color, #F97316);
    color: var(--text-on-primary, #fff);
    border-color: var(--primary-color, #F97316);
    transform: translateY(-70%) scale(1.05);
}
.main-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-70%) scale(1);
    background-color: var(--bg-white, #fff);
    color: var(--text-dark, #111);
    border-color: var(--border-color, #e5e7eb);
}
.main-carousel-btn svg { width: 24px; height: 24px; }
.main-carousel-btn.prev { left: 10px; } /* Half out */
.main-carousel-btn.next { right: 10px; } /* Half out */

/* --- New Product Card --- */
.product-card-new {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex-shrink: 0; /* Critical for carousel */
    /* Width/gap set by JS */
}
.product-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.product-card-link { text-decoration: none; }

/* --- FIX: Product Overlay Logic --- */
.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.86);
    padding: 1.5rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom */
    text-align: left;
    
    /* FIX: Set default height for title */
    height: 100px; 
    
    /* FIX: Smooth transition for height */
    transition: height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.product-card-new:hover .product-card-overlay {
    height: 140px; /* Expanded height on hover */
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-on-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    transition: all 0.3s ease;
    
    /* FIX: Title is always visible */
    opacity: 1;
    transform: translateY(0);
}
.product-card-new:hover .product-card-title {
    margin-bottom: 0.75rem; /* Make space for button */
}

.product-card-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    text-decoration: none;
    /* Hide by default */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    height: 0; /* Hide completely */
    overflow: hidden;
    align-self: flex-start; /* Button aligns left */
}
.product-card-new:hover .product-card-btn {
    opacity: 1;
    transform: translateY(0);
    height: auto; /* Show on hover */
}
.product-card-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}

/* --- Inner Card Slider --- */
.card-image-slider {
    width: 100%;
    height: 100%; /* Fill the card */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
.card-image-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}
.card-image-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.card-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 3; /* FIX: On top of overlay */
}
.product-card-new:hover .card-slider-btn {
    opacity: 1;
    visibility: visible;
}
.card-slider-btn:hover { background-color: var(--bg-white); }
.card-slider-btn svg { width: 20px; height: 20px; color: #333; }
.card-slider-btn.prev { left: 10px; }
.card-slider-btn.next { right: 10px; }
.card-slider-btn:disabled { opacity: 0.2; cursor: not-allowed; }

.card-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 3; /* FIX: On top of overlay */
}
.product-card-new:hover .card-slider-dots {
    opacity: 1;
    visibility: visible;
}

/* FIX: Move dots up *outside* the overlay area */
.product-card-new:hover .card-slider-dots {
    bottom: 110px; /* 100px overlay + 10px spacing */
}
/* On hover of card, if also hovering overlay, hide dots */
.product-card-new:hover .product-card-overlay:hover ~ .card-slider-dots {
    opacity: 0;
}
/* On hover of card, if also hovering dots, keep them */
.product-card-new:hover .card-slider-dots:hover {
    opacity: 1;
}
/* When card overlay expands, move dots up */
.product-card-new:hover:hover .card-slider-dots {
     bottom: 10px; /* 140px expanded overlay + 10px spacing */
}


.card-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.card-slider-dot.active { background-color: var(--bg-white); }
.card-image-slider[data-total-slides="1"] .card-slider-btn,
.card-image-slider[data-total-slides="1"] .card-slider-dots {
    display: none;
}




@media only screen and (max-width: 1024px){
    /* Mobile: Product Card Overlay */
    .product-card-new:hover .product-card-overlay,
    .product-card-overlay {
        /* FIX: Always show title and button on mobile */
        height: auto; /* Let content define height */
        min-height: 100px; /* Ensure enough space */
        padding-top: 1rem;
        justify-content: center;
        position: relative; /* Change from absolute */
        background: var(--bg-white); /* White background */
        color: var(--text-dark);
        background: #fff;
    }
    .product-card-new:hover .product-card-btn,
    .product-card-btn {
        opacity: 1;
    transform: translateY(0);
    height: auto;
    background-color: var(--primary-color);
    color: var(--bg-white);
    }
    .product-card-btn:hover {
        background-color: var(--primary-color);
        color: var(--text-on-primary);
    }
    .product-card-new:hover .product-card-title,
    .product-card-title {
        margin-bottom: 0.75rem; /* Always have margin */
        color: #000; /* Dark text on white bg */
    }
    .product-card-new:hover .card-slider-dots,
    .card-slider-dots {
        bottom: 10px; /* Keep dots at bottom */
    }
    /* FIX: Ensure mobile inner dots are clickable */
    .product-card-new:hover .card-slider-dots {
        bottom: 10px;
    }
    /* Override dots on mobile card */
    .card-slider-dots {
        bottom: 10px;
        z-index: 3;
    }
    .product-card-new:hover .card-slider-dots {
        bottom: 10px;
    }
    .product-card-new:hover:hover .card-slider-dots {
         bottom: 10px;
    }
    .product-card-new .product-card-overlay:hover ~ .card-slider-dots {
        opacity: 1; /* Keep dots visible */
    }
    /* Ensure inner slider is behind new content bg */
    .card-image-slider {
        height: auto; /* Let aspect ratio define height */
        position: relative; /* Change from absolute */
        z-index: 1;
        aspect-ratio: 1 / 1;
    }
    .product-card-new {
        aspect-ratio: unset; /* Remove fixed aspect ratio */
    }
    .product-card-new:hover .card-image-track img {
        transform: scale(1.0); /* Disable zoom on mobile */
    }
}








/* =================================
  ABOUT US SECTION - V6 (50:50 Slider + Text)
  (Uses variables from global.css)
================================= */
.about-section {
    /* Dark background using your global variable */
    background-color: var(--text-dark, #111827);
    color: var(--bg-light, #f9fafb);
    padding: 4rem 1.5rem; /* More padding */
    margin-top: 1.5rem; /* Space from the content above */
    overflow: hidden; 
    position: relative;
    border-top: 4px solid var(--primary-color, #F97316);
    border-radius: var(--border-radius, 8px);
    box-shadow: var(--shadow-lg);
}

/* Decorative background element */
.about-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color, #F97316) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.about-container {
    max-width: 1200px; /* Match your header max-width */
    margin: 0 auto;
    position: relative; 
    z-index: 1;
    
    /* 50/50 layout */
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: 2rem; /* Gap between slider and text */
    align-items: center; /* Vertically align slider and text */
}

/* =================================
  1. IMAGE SLIDER (Left)
================================= */
.about-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Common aspect ratio for images */
    border-radius: var(--border-radius, 8px);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 2px solid #374151; /* Gray-700 border */
}

.about-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.about-slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.about-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--bg-white, #fff);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.about-slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.about-slider-btn.prev {
    left: 1rem;
}
.about-slider-btn.next {
    right: 1rem;
}
.about-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.about-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.about-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.about-slider-dot.active {
    background-color: var(--bg-white, #fff);
}


/* =================================
  2. ABOUT TEXT CONTENT (Right)
================================= */
.about-text-content {
    /* Styles are mostly the same */
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-white, #fff);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #F97316);
    display: inline-block;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #d1d5db; /* Gray-300 */
    max-width: 65ch; /* Limit line length for readability */
}


/* =================================
  RESPONSIVE GRID
================================= */

/* Desktop: 50/50 layout */
@media (min-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr 1fr; /* 50/50 split */
        gap: 2rem; /* Wider gap for desktop */
    }
}






/* =================================
  COMPANY FACTS SECTION
  (Uses variables from global.css)
================================= */
.facts-section {
    /* Light background using your global variable */
    background-color: var(--bg-white, #fff);
    color: var(--text-dark, #111827);
    padding: 60px 1.5rem; /* Section padding */
    border-radius: var(--border-radius, 8px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color, #e5e7eb);
}

.facts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.facts-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark, #111827);
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #F97316);
    display: inline-block;
    /* Center the title block */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.facts-grid {
    display: grid;
    /* 1 column on mobile, 2 on tablet, 4 on desktop */
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--bg-light, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: var(--border-radius, 8px);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color, #F97316);
}

.fact-item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* UPDATED STYLES */
    background-color: var(--primary-dark, #EA580C);
    color: var(--text-on-primary, #fff);
    font-size: 1.25rem; /* Icon size */
}

.fact-item-content {
    flex-grow: 1;
}

.fact-item-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 0.25rem;
}

.fact-item-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #111827);
    /* Handle long text like GST number */
    word-break: break-all;
}

/* Special style for the Trust Seal item (REMOVED) */
/* .trust-seal-item { ... }
.trust-seal-item .fact-item-icon { ... }
.trust-seal-item .fact-item-value { ... }
*/

/* =================================
  RESPONSIVE GRID
================================= */

/* Tablet: 2 columns */
@media (min-width: 640px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}






/* =================================
  PRODUCT GRID SECTION
  (Uses styles from product-carousel.css)
================================= */


.product-grid-section {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark, #111827);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #F97316);
    display: inline-block;
}



/* --- Product Filter Bar --- */
.product-filter-bar {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    background-color: var(--bg-white);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.store-search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    min-width: 220px;
    background-color: var(--bg-white);
}
.store-search-box i {
    color: var(--text-light);
    margin-right: 0.5rem;
}
.store-search-box input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    width: 100%;
    color: var(--text-dark);
}

.filter-chips-slider {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 0.5rem;
    overflow: hidden; /* Hide overflow of chips */
}

.filter-chip {
    white-space: nowrap;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.filter-chip:hover {
    background-color: var(--bg-light);
    border-color: #ccc;
    color: var(--text-dark);
}
.filter-chip.active {
    background-color: var(--primary-light); /* Light orange bg */
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Ensure chips track wrapper allows scrolling */
.chips-track-wrapper {
    flex-grow: 1;
    overflow-x: auto; /* Allow JS scroll */
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE */
    position: relative;
}

.chips-track-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome */
}
.chips-track {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    width: max-content; /* Allow content to determine width */
}

.chips-next-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background-color: var(--bg-white);
    cursor: pointer;
    color: var(--text-light);
    flex-shrink: 0;
    box-shadow: var(--shadow);
    margin-left: 0.5rem;
}
.chips-next-btn:hover {
    color: var(--text-dark);
    background-color: var(--bg-light);
}


/* NEW: Styles for Filter Bar Previous Button */
.chips-prev-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background-color: var(--bg-white);
    cursor: pointer;
    color: var(--text-light);
    flex-shrink: 0;
    box-shadow: var(--shadow);
    margin-right: 0.5rem; /* Space between btn and chips */
}
.chips-prev-btn:hover {
    color: var(--text-dark);
    background-color: var(--bg-light);
}
.chips-prev-btn.hidden {
    display: none;
}



/* Mobile adjustments for filter bar */
@media (max-width: 767px) {
    .product-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .store-search-box {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    .filter-chips-slider {
        width: 100%;
        overflow-x: auto; /* Allow native scroll on mobile */
    }
    .chips-next-btn {
        display: none; /* Hide scroll button on mobile */
    }
    .chips-track-wrapper {
        overflow: visible;
    }
    .chips-track {
        /* Let it flow naturally with scroll */
        transform: none !important; 
    }
}



/* =================================
  NEW GRID CONTAINER
================================= */
.product-grid-container {
    display: grid;
    gap: 1.5rem; /* 24px */
    
    /* 1 column on mobile by default */
    grid-template-columns: 1fr;
}

.product-grid-section .product-card {
    width: unset !important;
}

/* =================================
  PRODUCT CARD (Copied from carousel)
================================= */
.product-card {
    /* No width, flex-shrink, or scroll-snap needed */
    background-color: var(--bg-white, #fff);
    border-radius: var(--border-radius, 8px);
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.05));
    border: 1px solid var(--border-color, #e5e7eb);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
    box-shadow: var(--shadow-lg, 0 8px 20px rgba(0,0,0,0.1));
    transform: translateY(-5px);
}

/* =================================
  INNER CARD SLIDER (Copied)
================================= */
.card-image-slider {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-grey, #f3f4f6);
}
.card-image-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}
.card-image-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.card-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.product-card:hover .card-slider-btn {
    opacity: 1;
    visibility: visible;
}
.card-slider-btn:hover {
    background-color: var(--bg-white, #fff);
}
.card-slider-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
}
.card-slider-btn.prev {
    left: 10px;
}
.card-slider-btn.next {
    right: 10px;
}
.card-slider-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.card-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.product-card:hover .card-slider-dots {
    opacity: 1;
    visibility: visible;
}
.card-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.card-slider-dot.active {
    background-color: var(--bg-white, #fff);
}

.card-image-slider[data-total-slides="1"] .card-slider-btn,
.card-image-slider[data-total-slides="1"] .card-slider-dots {
    display: none;
}

/* =================================
  CARD CONTENT (Copied)
================================= */
.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}
.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #111);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em; 
}
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color, #F97316);
    margin-bottom: 1rem;
}
.product-price .price-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light, #6b7280);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: auto; /* Pushes buttons to bottom */
}
.action-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius, 8px);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.action-btn i {
    font-size: 0.8rem;
}

.btn-show-number {
    background-color: var(--bg-light, #f9fafb);
    color: var(--text-secondary, #4b5563);
    border: 1px solid var(--border-color, #e5e7eb);
    grid-column: 1 / -1; 
}
.btn-show-number:hover {
    background-color: var(--bg-grey, #f3f4f6);
}

.btn-get-price {
    background-color: var(--primary-color, #F97316);
    color: var(--text-on-primary, #fff);
}
.btn-get-price:hover {
    background-color: var(--primary-dark, #EA580C);
}

.btn-whatsapp {
    background-color: var(--green-color, #28a745);
    color: var(--text-on-primary, #fff);
}
.btn-whatsapp:hover {
    background-color: #218838; /* Darker green */
}

/* =================================
  RESPONSIVE GRID (4/2/1 Layout)
================================= */

/* Tablet: 2 items */
@media (min-width: 768px) {
    .product-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 items */
@media (min-width: 1024px) {
    .product-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}









/* =================================
  RATINGS & REVIEWS SECTION
  (Uses variables from global.css)
================================= */
.ratings-reviews-section {
    background-color: var(--text-dark, #111827); /* Dark background */
    color: var(--text-on-primary, #ffffff); /* White text on dark background */
    padding: 40px 1.5rem; /* Section padding */
    border-radius: var(--border-radius, 8px);
    box-shadow: var(--shadow-lg);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.reviews-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #F97316); /* Orange accent */
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-on-primary, #ffffff); /* Ensure title is white */
}

.reviews-content-wrapper {
    display: flex;
    flex-direction: column; /* Stack on mobile by default */
    gap: 2rem;
}

/* =================================
  RATINGS SUMMARY (Left Column)
================================= */
.ratings-summary {
    flex: 1; /* Takes up available space */
}

.summary-card {
    background-color: var(--bg-white, #ffffff); /* White card */
    color: var(--text-dark, #111827); /* Dark text inside card */
    border-radius: var(--border-radius, 8px);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color, #e5e7eb);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overall-rating {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rating-score {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color, #F97316);
    display: block;
    line-height: 1;
}

.stars-display {
    color: var(--star-color, #f39c12); /* Orange for stars */
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.total-reviews {
    font-size: 0.95rem;
    color: var(--text-secondary, #4b5563);
}

.rating-breakdown {
    width: 100%;
    max-width: 300px; /* Constrain width of breakdown bars */
    margin-bottom: 1.5rem;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.breakdown-row .star-count {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary, #4b5563);
    width: 35px; /* Fixed width for alignment */
    text-align: right;
}
.breakdown-row .star-count i {
    color: var(--star-color, #f39c12);
    font-size: 0.8rem;
}

.progress-bar-bg {
    flex-grow: 1;
    height: 8px;
    background-color: var(--bg-light, #e5e7eb);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color, #F97316);
    border-radius: 4px;
}

.breakdown-row .percentage {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary, #4b5563);
    width: 40px; /* Fixed width for alignment */
}

.write-review-btn {
    background-color: var(--primary-color, #F97316);
    color: var(--text-on-primary, #ffffff);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius, 8px);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.write-review-btn:hover {
    background-color: var(--primary-dark, #EA580C);
}

/* =================================
  INDIVIDUAL REVIEWS (Right Column) - UPDATED UI
================================= */
.individual-reviews-list {
    flex: 2; /* Takes up more space on wider screens */
    background-color: var(--bg-light, #f9fafb); /* Light grey background */
    border-radius: var(--border-radius, 8px);
    padding: 1rem; /* Padding for the container */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); /* Inner shadow */
    border: 1px solid var(--border-color, #e5e7eb);
    max-height: 470px; /* Allow scrolling for many reviews */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between review cards */
}

/* Scrollbar styles */
.individual-reviews-list::-webkit-scrollbar {
    width: 8px;
}
.individual-reviews-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}
.individual-reviews-list::-webkit-scrollbar-thumb {
    background: var(--text-light, #ccc);
    border-radius: 10px;
}
.individual-reviews-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary, #999);
}

/* Individual Review Card */
.review-item {
    background-color: var(--bg-white, #fff); /* Each review is a white card */
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: var(--border-radius, 8px);
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.05));
    padding: 1.25rem;
    display: flex;
    gap: 1rem; /* Space between avatar and content */
    transition: box-shadow 0.2s ease;
}
.review-item:hover {
    box-shadow: var(--shadow-lg, 0 8px 20px rgba(0,0,0,0.1));
}

.reviewer-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color, #F97316); /* Orange avatar bg */
    color: var(--text-on-primary, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.review-content {
    flex-grow: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark, #111827);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light, #6b7280);
}

.review-stars {
    color: var(--star-color, #f39c12);
    font-size: 0.9rem;
    margin-bottom: 0.75rem; /* Space between stars and text */
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary, #4b5563);
    line-height: 1.6;
}


/* =================================
  RESPONSIVE LAYOUT
================================= */
@media (min-width: 768px) {
    .reviews-content-wrapper {
        flex-direction: row; /* Side-by-side on tablet and desktop */
        align-items: flex-start; /* Align content to the top */
    }
    .ratings-summary {
        flex: 1; /* More balanced flex */
    }
    .individual-reviews-list {
        flex: 2; /* More balanced flex */
    }
}

@media (min-width: 1024px) {
    .ratings-summary {
        flex: 0 0 350px; /* Fixed width for summary on large screens */
    }
    .individual-reviews-list {
        flex: 1; /* Takes remaining space */
    }
}







.page-container {
	padding: 40px;
}
.sticky-nav {
    position: sticky;
    /* FIX: Set top offset to 173px 
      (50px top-bar + 75px main-bar + 48px secondary-bar = 173px) 
      (Assuming header is sticky and 173px tall)
    */
    top: 190px; 
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 990;
    margin-bottom: 1.5rem;
    background: #fff;
}
.nav-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 0.5rem;
}
/* Hide scrollbar */
.nav-container::-webkit-scrollbar { display: none; }
.nav-container { -ms-overflow-style: none; scrollbar-width: none; }

.nav-tab {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-tab:hover {
    color: var(--text-dark);
}
.nav-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.nav-tab i {
    font-size: 0.8rem;
}

.page-layout {
	display: grid;
	grid-template-columns: 67% 30%;
	gap: 2.7rem;
	padding-top: 40px;
}

@media only screen and (max-width:1024px){
    .page-layout {
	display: unset;
}
.sidebar{
    margin-top: 40px;
}
.page-container {
	padding: 40px 20px;
}
.sticky-nav {
    top: 130px;
}
}


@media only screen and (max-width:768px){
.sticky-nav {
    top: 155px;
}
}



.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-section {
    /* Each section (Products, About, etc.) */
    scroll-margin-top: 80px; /* Offset for sticky nav */
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Sticky sidebar on desktop */
    position: sticky;
    top: 270px; /* (nav height + margin) */
    align-self: start;
}

.sidebar-widget {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}
.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.sidebar-list-contact-detils {
    display: flex;
    gap: 10px;
}
.sidebar-widget .action-btn.btn-show-number {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.sidebar-list li:hover {
    color: var(--primary-color);
}
.sidebar-list li i {
    width: 20px;
    text-align: center;
    color: var(--text-light);
}
.sidebar-list li:hover i {
    color: var(--primary-color);
}

.list-item-action {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}
.list-item-action i {
    color: var(--primary-color) !important;
}

.address-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.address-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.address-btn {
    flex: 1;
    padding: 0.6rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #007bff;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #007bff;
    color: #fff;
}

.list-item-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.list-item-dropdown i.fa-clock { color: var(--green-color); }
.list-item-dropdown i.fa-chevron-down { margin-left: auto; }

.gstin-item {
    font-size: 0.9rem !important;
}
.gstin-item strong {
    color: var(--text-dark);
    margin-right: 0.25rem;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sidebar-tag {
    font-size: 0.8rem;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--primary-light);
    transition: all 0.2s ease;
}
.sidebar-tag:hover {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}

/* Timing Dropdown Content */
.timing-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.timing-dropdown-content ul {
    list-style: none;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.timing-dropdown-content li {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}
.timing-dropdown-content li strong {
    color: var(--text-dark);
}
.timing-dropdown-content li .text-red {
    color: var(--red-color);
    font-weight: 600;
}



.breadcrumbs {
	font-size: 0.8rem;
	color: var(--text-lighter);
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	padding: 20px 40px;
}

.breadcrumbs a {
	color: var(--text-light);
}

.breadcrumbs a:hover {
	color: var(--primary-color);
}


@media only screen and (max-width:1024px){
    .breadcrumbs {
    padding: 20px;
}
}






/* =========================================
   GOOGLE STYLE REVIEWS UI
========================================= */
.google-review-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

/* --- Header --- */
.gr-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.gr-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #202124;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-icon { font-size: 0.9rem; color: #5f6368; cursor: pointer; }

.gr-write-btn {
    background: #fff;
    color: #1a73e8; /* Google Blue */
    border: 1px solid #dadce0;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.gr-write-btn:hover { background: #f1f8ff; }

/* --- Summary Row (Bars + Score) --- */
.gr-summary-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

/* Bars Column */
.gr-bars-col {
    flex-grow: 1;
    width: 100%;
}
.gr-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.gr-num { width: 10px; font-size: 0.85rem; color: #5f6368; }

.gr-track {
    flex-grow: 1;
    height: 8px;
    background-color: #e0e0e0; /* Light Grey */
    border-radius: 4px;
    overflow: hidden;
}
.gr-fill {
    height: 100%;
    background-color: #f4b400; /* Google Yellow/Orange */
    border-radius: 4px;
}

/* Score Column */
.gr-score-col {
    text-align: center;
    min-width: 100px;
}
.gr-big-rating {
    font-size: 3.5rem;
    font-weight: 400;
    color: #202124;
    line-height: 1;
}
.gr-stars {
    color: #f4b400;
    font-size: 0.9rem;
    margin: 5px 0;
}
.gr-total-count {
    font-size: 0.8rem;
    color: #5f6368;
}

/* --- Chips (Filters & Sort) --- */
.gr-section-label {
    font-size: 1rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
    margin-top: 20px;
}

.gr-chips-row, .gr-sort-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.gr-chip {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 18px; /* Pill shape */
    padding: 6px 16px;
    font-size: 0.9rem;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s;
}

.gr-chip:hover { background: #f8f9fa; }

/* Active State (Blue bg like image) */
.gr-chip.active {
    background: #e8f0fe;
    color: #1967d2;
    border-color: #e8f0fe;
    font-weight: 500;
}

/* --- Review Cards --- */
.gr-review-list {
    margin-top: 30px;
}

.gr-card {
    margin-bottom: 30px;
    padding-bottom: 20px;
    /* Optional: Border bottom only if you want list style */
    /* border-bottom: 1px solid #eee; */
}

.gr-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.gr-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.gr-card-meta { flex-grow: 1; }

.gr-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #202124;
    margin: 0 0 2px 0;
}

.gr-card-sub {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gr-card-stars { color: #f4b400; font-size: 0.8rem; }
.gr-card-date { font-size: 0.85rem; color: #5f6368; }

.gr-kebab-menu {
    color: #5f6368;
    cursor: pointer;
    padding: 5px;
}

.gr-card-text {
    font-size: 0.95rem;
    color: #3c4043;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Response */
@media (max-width: 600px) {
    .gr-summary-row {
        flex-direction: column-reverse; /* Score on top for mobile */
        align-items: flex-start;
        gap: 20px;
    }
    .gr-score-col {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .gr-big-rating { font-size: 3rem; }

    .google-review-container {
    padding: 20px;
}
}




/* =========================================
   LOAD MORE REVIEWS (Google Style)
========================================= */
.gr-load-more-wrapper {
    position: relative;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    display: none; /* Hidden by default, JS shows it if needed */
}

/* The horizontal line behind */
.gr-load-more-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* The Pill Button */
.gr-load-more-btn {
    position: relative;
    z-index: 2; /* Sits on top of line */
    background-color: #f1f3f4; /* Google Grey */
    border: 1px solid #f1f3f4; /* Match bg or slight border */
    padding: 10px 24px;
    border-radius: 20px;
    color: #3c4043;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.gr-load-more-btn:hover {
    background-color: #e8eaed; /* Darker grey on hover */
    color: #202124;
}

.gr-load-more-btn i {
    font-size: 0.8rem;
}
.letter-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ff7a00; /* orange */
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ff9c42;
    text-transform: uppercase;
    box-sizing: border-box;
}
