/* =================================
  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);
    }
}



.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;
}
}






/* =================================
   PRODUCT PAGE LAYOUT (70:30)
================================= */
.prod-main-container {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0px 20px 60px 20px;
}

.prod-layout {
    display: grid;
    grid-template-columns: 2.3fr 1.1fr; /* Approx 70% - 30% ratio */
    gap: 20px;
    align-items: start;
}

/* --- LEFT COLUMN (Product Info) --- */
.prod-content-area {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    align-items: start;
}

.main_product_section {
    display: grid;
    grid-template-columns: 40% 60%; /* Split Image vs Text inside the 70% block */
    gap: 30px;
}

.sticky-gallery {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 200px; /* Distance from top of screen */
    height: fit-content;
    z-index: 10;
}

/* Gallery */
.prod-main-img-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer; /* Shows hand icon */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}
.prod-main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.prod-thumbnails {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.priceing_box {
	display: flex;
	align-items: center;
	gap: 20px;
}
.prod-share-container {
	padding-top: 20px;
}
.prod-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
}
.prod-thumb.active {
    border-color: #ff5252; /* Red highlight from screenshot */
}
.prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info Text */
.prod-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
}
.prod-rating-stars {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.prod-rating-stars .fas {
    color: #ffb400;
}
.prod-specs p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #333;
}
.prod-specs strong {
    font-weight: 600;
    color: #111;
}
.prod-about {
    margin-top: 20px;
    margin-bottom: 20px;
}
.prod-about h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.prod-about ul {
    color: #555;
}
.prod-about li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.prod-desc-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Variants */
.prod-variants {
    margin-top: 20px;
}
.variant-label {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.variant-box {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 80px;
    text-align: center;
}
.variant-box.active {
    border-color: #ff5252;
    background-color: #fff5f5;
}
.variant-box img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}
.variant-box span {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
/* --- PRICE STYLES --- */
.prod-price-box {
    margin: 15px 0;
    display: flex;
    align-items: baseline; /* Align currency symbols */
    gap: 12px;
}
.price-old {
    text-decoration: line-through;
    color: #9ca3af; /* Lighter grey */
    font-size: 1.1rem;
}
.price-new {
    color: #ef4444; /* Vibrant Red */
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Expand Icon overlay */
.zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    pointer-events: none;
}

/* --- LIGHTBOX (POPUP) STYLES --- */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

.lightbox-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

/* Close Button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
}
.close-lightbox:hover { color: #bbb; }

/* Next/Prev Buttons */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: none;
    border: none;
    z-index: 10000;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@keyframes zoomIn {
    from {transform:scale(0.9); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.share-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

.social-icons-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* Fixed size circles */
    height: 36px;
    border-radius: 50%; /* Circular shape */
    background-color: #f3f4f6; /* Light grey background */
    color: #4b5563; /* Dark grey icon */
    font-size: 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Individual Brand Hover Colors */
.social-icons-list a:hover {
    transform: translateY(-2px); /* Slight lift effect */
    color: #fff;
}
.social-icons-list a:hover .fa-facebook { color: #fff; }
.social-icons-list a:hover[title="Facebook"] { background-color: #1877F2; }
.social-icons-list a:hover[title="Twitter"] { background-color: #1DA1F2; }
.social-icons-list a:hover[title="Instagram"] { background-color: #E1306C; }
.social-icons-list a:hover[title="LinkedIn"] { background-color: #0077B5; }
.social-icons-list a:hover[title="Copy Link"] { background-color: #333; }


/* --- RIGHT COLUMN (Sidebar - 30%) --- */
.prod-sidebar {
    width: 100%;
}

.seller-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.seller-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
}

.seller-profile {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.seller-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eee;
}
.seller-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.seller-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.seller-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #555;
}
.loc-city {
    color: #888;
}
.seller-badge {
    background-color: #fff3e0; /* Light Orange */
    color: #f57c00; /* Dark Orange */
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    border: 1px solid #ffe0b2;
}

.seller-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.seller-rating-box {
    background-color: #00b517; /* Green */
    color: #fff;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.seller-rating-box i {
    font-size: 0.8rem;
}
.rating-count {
    color: #666;
    font-size: 0.95rem;
}

.business-years {
    background-color: #f3f4f6;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 15px;
}

.seller-metrics {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 20px;
}
.seller-metrics i {
    margin-right: 5px;
}
.green-text {
    color: #00b517;
    font-weight: 600;
}

/* Sidebar Buttons */
.seller-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-seller {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.2s;
}

/* Style for when the number is revealed */
.btn-phone.number-revealed {
    font-size: 1.1rem;
    font-weight: 800; /* Make numbers thick */
    letter-spacing: 0.5px;
    background-color: #008f11; /* Ensure it stays green */
}

/* Ensure the icon has a little spacing */
.btn-phone.number-revealed i {
    margin-right: 10px;
}

.btn-phone {
    background-color: #008f11; /* Darker Green */
    color: white;
}
.btn-phone:hover { background-color: #007a0e; }

.btn-price {
    background-color: #0067e6; /* Blue */
    color: white;
}
.btn-price:hover { background-color: #0056c2; }

.btn-whatsapp {
    background-color: #fff;
    color: #008f11;
    border: 1px solid #008f11;
}
.btn-whatsapp:hover { background-color: #f0fff0; }

/* =================================
   RESPONSIVE
================================= */
@media (max-width: 1024px) {
    .prod-layout {
        grid-template-columns: 1fr; /* Stack columns on tablet */
    }
    .prod-sidebar {
        order: 2; /* Sidebar below info on mobile */
        width: 63%;
    }
}

@media (max-width: 768px) {
    .main_product_section {
        grid-template-columns: 1fr; /* Stack Gallery and Text */
    }
    .sticky-gallery {
    position: unset;
    top: 0px;
}

.prod-content-area {
    width: 63%;
}
.priceing_box {
	display: flex;
	align-items: start;
	gap: 10px;
	flex-direction: column;
}

}





/* --- PRODUCT TABS SECTION --- */
.prod-tabs-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    /* Optional: Add border/shadow if you want it to stand out */
    /* border: 1px solid #eee; */
}

/* Tab Navigation */
.prod-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #555; /* Inactive Color */
    padding: 15px 5px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: #111;
}

/* Active State (Red Underline) */
.tab-btn.active {
    color: #ef4444; /* Theme Red */
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Sits exactly on the border line */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ef4444;
    border-radius: 3px 3px 0 0;
}

/* Tab Content Panels */
.tab-panel {
    display: none; /* Hidden by default */
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    max-width: 950px;
    margin: 0 auto; /* Center content text */
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block; /* Show active */
}

.tab-panel p {
    margin-bottom: 20px;
}

/* Additional Styling for Information Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.info-table th, .info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.info-table th {
    width: 30%;
    color: #111;
    font-weight: 600;
}

/* Placeholder Reviews Styling */
.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.review-header .stars {
    color: #ffb400;
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}




/* --- DESCRIPTION FEATURE CARDS --- */

.desc-feature-card {
    margin-top: 30px;
    padding: 30px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.desc-feature-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

/* Alternate layout for 2nd box */
.desc-feature-row.reverse-layout {
    flex-direction: row-reverse;
}

/* Columns */
.feature-text-col {
    flex: 1;
}
.feature-img-col {
    flex: 1;
    text-align: center;
    position: relative;
}
.feature-img-col img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.1));
}

/* --- STYLE 1: Soft Safe Snuggly (Green Gradient) --- */
.card-style-1 {
    background: linear-gradient(120deg, #e0f2f1 0%, #b2dfdb 100%);
    box-shadow: 0 4px 10px rgba(0,128,128,0.1);
}
.text-teal { color: #004d40; }
.icon-teal { color: #00796b; width: 25px; text-align: center; margin-right: 10px;}

/* --- STYLE 2: Safe for Skin (White/Grid) --- */
.card-style-2 {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px; /* Dot pattern effect */
}
.text-blue { color: #4db6ac; }
.section-mini-header { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #fff; background: #222; display: inline-block; padding: 5px 10px; margin-bottom: 20px; border-radius: 4px;}

/* Typography */
.feature-heading {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
    font-family: 'Inter', sans-serif; /* Ensure using main font */
}

.feature-sub {
    font-size: 1.1rem;
    color: #555;
    background: rgba(255,255,255,0.6);
    padding: 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Icon Lists */
.feature-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-icon-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}
.feature-icon-list i {
    font-size: 1.3rem;
}

/* Large Gap List (Style 2) */
.feature-icon-list.large-gap li {
    margin-bottom: 20px;
}
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4db6ac;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #00796b;
}

/* Safety Badge */
.safety-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #81c784;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer Text */
.feature-footer-text {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .desc-feature-row, 
    .desc-feature-row.reverse-layout {
        flex-direction: column-reverse; /* Image on top for mobile */
        text-align: center;
    }
    .feature-icon-list li {
        justify-content: center;
        text-align: left; /* Keep text aligned left inside centered container if preferred, or center all */
    }
    .icon-circle {
        margin-bottom: 0; /* Reset margin for flex alignment */
    }
}





/* =========================================
   1. DARK PRODUCT HIGHLIGHTS SECTION
========================================= */
.desc-dark-highlights {
    background-color: #111827; /* Very dark blue-grey */
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.dark-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
    border-left: 5px solid #3b82f6; /* Blue accent bar */
    padding-left: 15px;
}

.dark-highlight-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.highlight-img-wrapper {
    flex: 1;
}
.highlight-img-wrapper img {
    width: 100%;
    border-radius: 8px;
    border: 4px solid #fff; /* White border frame effect */
}

.highlight-checklist {
    flex: 1.2;
    list-style: none;
    padding: 0;
}

.highlight-checklist li {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #9ca3af; /* Light grey text */
    display: flex;
    align-items: flex-start;
}

/* Custom Bullet Point */
.highlight-checklist li::before {
    content: "•";
    color: #3b82f6; /* Bullet color */
    font-size: 1.5rem;
    line-height: 1rem;
    margin-right: 15px;
}

.text-blue {
    color: #60a5fa; /* Highlighted text color in dark mode */
    font-weight: 600;
}

/* =========================================
   2. 3-COLUMN FEATURE GRID (Diagonal Style)
========================================= */
.desc-three-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-box-vertical {
    display: flex;
    flex-direction: column;
}

/* Top Visual Part (The Card) */
.box-visual {
    /* The Diagonal Split Magic */
    background: linear-gradient(135deg, #ffffff 50%, #fff0f3 50%);
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.feature-box-vertical:hover .box-visual {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.box-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #d32f2f; /* Red outline */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #fff;
}

.box-icon-circle i {
    font-size: 2rem;
    color: #d32f2f; /* Red Icon */
}

.box-visual-title {
    font-size: 1.2rem;
    color: #0d47a1; /* Dark Blue Text */
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

/* Bottom Details Part */
.box-details {
    text-align: center;
    padding: 0 10px;
}

.box-details-head {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.box-details p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .dark-highlight-content {
        flex-direction: column;
    }
    .desc-three-features {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}





/* =========================================
   COMPANY DETAILS CARD UI
========================================= */
.company-card-ui {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* --- HEADER SECTION --- */
.cd-header-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

/* Avatar Circle */
.cd-avatar {
    width: 80px;
    height: 80px;
    background-color: #f97316; /* Theme Orange */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.cd-main-info {
    flex-grow: 1;
}

.cd-company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1;
}

/* Pill Badges */
.cd-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f3f4f6; /* Light Grey */
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.text-orange { color: #f97316; }

/* --- DIVIDER --- */
.cd-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 20px 0;
}

/* --- FOOTER SECTION --- */
.cd-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Rating Left */
.cd-rating-block {
    display: flex;
    align-items: center;
    gap: 8px;
}
.stars-gold { color: #fbbf24; font-size: 1.1rem; }
.rating-val { font-weight: 800; color: #111; font-size: 1.1rem; }
.rating-count { color: #6b7280; }

/* Actions Right */
.cd-action-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.response-rate {
    color: #059669; /* Green */
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

/* Buttons */
.cd-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
}

/* Show Number (Outline) */
.btn-outline {
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
}
.btn-outline:hover { background-color: #f9fafb; border-color: #9ca3af; }

/* Contact Supplier (Orange) */
.btn-orange {
    background-color: #f97316;
    color: #fff;
}
.btn-orange:hover { background-color: #ea580c; }

/* WhatsApp (Green) */
.btn-whatsapp {
    background-color: #22c55e;
    color: #fff;
}
.btn-whatsapp:hover { background-color: #16a34a; }

/* Responsive for Mobile */
@media (max-width: 768px) {
    .cd-header-row {
        flex-direction: column;
        text-align: center;
    }
    .cd-badges-list {
        justify-content: center;
    }
    .cd-footer-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .cd-action-group {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .cd-btn {
        justify-content: center;
    }
    .response-rate {
        justify-content: center;
        margin-bottom: 10px;
    }
}





/* =========================================
   MODERN REVIEWS UI
========================================= */

/* --- 1. Summary Header --- */
.review-summary-header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 30px;
}

/* Left: Score */
.rs-score-box {
    text-align: center;
    min-width: 120px;
}
.rs-big-num {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}
.rs-stars {
    color: #fbbf24; /* Gold */
    font-size: 0.9rem;
    margin: 5px 0;
}
.rs-total {
    font-size: 0.85rem;
    color: #666;
}

/* Middle: Bars */
.rs-distribution {
    flex-grow: 1;
    max-width: 400px;
}
.dist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #555;
}
.star-label { width: 45px; }
.count-label { width: 35px; text-align: right; }

.bar-bg {
    flex-grow: 1;
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background-color: #fbbf24; /* Gold bar */
    border-radius: 4px;
}

/* Right: Button */
.write-review-btn {
    background-color: #fff;
    border: 1px solid #111;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.write-review-btn:hover {
    background-color: #111;
    color: #fff;
}

/* Divider */
.review-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 0 0 30px 0;
}

/* --- 2. Review Cards --- */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

/* Header: Avatar + Name */
.rc-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.rc-avatar {
    width: 45px;
    height: 45px;
    background-color: #3b82f6; /* Blue */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}
.rc-avatar.color-2 { background-color: #f97316; /* Orange */ }

.rc-meta { display: flex; flex-direction: column; }
.rc-name { margin: 0; font-size: 1rem; font-weight: 700; color: #111; }
.rc-date { font-size: 0.8rem; color: #888; }

/* Rating Row */
.rc-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.rc-stars { color: #fbbf24; font-size: 0.9rem; }
.verified-badge {
    font-size: 0.8rem;
    color: #dc2626; /* Amazon-style Red/Orange text for verified, or Green #059669 */
    color: #059669; 
    font-weight: 600;
}

/* Content */
.rc-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #111;
}
.rc-body {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Footer */
.helpful-btn {
    background: none;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
.helpful-btn:hover {
    border-color: #999;
    background-color: #f9fafb;
}

/* Responsive */
@media (max-width: 768px) {
    .review-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .rs-distribution {
        width: 100%;
        max-width: 100%;
    }
    .rs-score-box {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
}





/* =========================================
   RELATED PRODUCTS TAB
========================================= */

/* Grid Layout: 3 Boxes per Row */
.rel-prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 0;
}

/* Card Style */
.rel-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.rel-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Image Section */
.rel-img-box {
    position: relative;
    height: 220px;
    background: #f9f9f9;
    overflow: hidden;
}

.rel-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Arrows */
.rel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s;
}
.rel-card:hover .rel-arrow { opacity: 1; }
.rel-arrow.prev { left: 10px; }
.rel-arrow.next { right: 10px; }

/* Details Section */
.rel-details {
    padding: 15px;
}

.rel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
    /* Truncate after 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px; 
}

/* Price Row */
.rel-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rel-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
}

.rel-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
}

.rel-bulk-btn {
    background-color: #f97316; /* Orange */
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Meta Info */
.rel-meta {
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}
.meta-orange { color: #f97316; margin-right: 5px; cursor: pointer;}
.meta-gray { color: #6b7280; }

/* Action Buttons Grid */
.rel-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-rel {
    border: none;
    border-radius: 4px;
    padding: 8px 2px; /* Narrow padding */
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Specific Button Colors */
.btn-rel-blue {
    background-color: #007bff;
    color: #fff;
}
.btn-rel-blue:hover { background-color: #0056b3; }

.btn-rel-orange {
    background-color: #f97316;
    color: #fff;
}
.btn-rel-orange:hover { background-color: #e65100; }

.btn-rel-wa {
    background-color: #eee;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.btn-rel-wa i {
    color: #25D366; /* WhatsApp Green */
    font-size: 1.1rem;
}
.btn-rel-wa:hover { background-color: #e0e0e0; }

/* Responsive */
@media (max-width: 1024px) {
    .rel-prod-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
    }
}

@media (max-width: 600px) {
    .rel-prod-grid {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }
    .rel-actions {
        grid-template-columns: 1fr; /* Stack buttons on mobile */
    }
}



/* =========================================
   RELATED PRODUCTS: IMAGE SLIDER
========================================= */
.rel-img-box {
    position: relative;
    height: 220px;
    background: #f9f9f9;
    overflow: hidden;
}

/* Stack images on top of each other */
.rel-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

/* Show only the active image */
.rel-slider-img.active {
    opacity: 1;
    z-index: 2;
}

/* Arrows stay on top */
.rel-arrow {
    z-index: 10; 
}


/* =========================================
   RELATED PRODUCTS: BULK DROPDOWN
========================================= */

/* Wrapper to position dropdown relative to button */
.rel-bulk-container {
    position: relative; 
    display: inline-block;
}

/* The Dropdown Box */
.bulk-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Right below the button */
    right: 0;  /* Align to right edge */
    width: 220px;
    background-color: #f97316; /* Theme Orange Background */
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 10px 0;
    z-index: 100;
    margin-top: 5px;
}

/* Show dropdown on hover over container */
.rel-bulk-container:hover .bulk-dropdown {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

/* Triangle Tip at top */
.bulk-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 20px;
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #f97316;
}

/* Dropdown Title */
.bulk-title {
    color: #333; /* Dark text for title like reference */
    font-weight: 700;
    font-size: 0.95rem;
    padding: 5px 15px 8px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 5px;
}

/* List Items */
.bulk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bulk-list li {
    padding: 6px 15px;
    display: flex;
    justify-content: space-between;
    color: #fff; /* White text */
    font-size: 0.9rem;
    font-weight: 600;
}

.bulk-list li .qty {
    opacity: 0.95;
}

.bulk-list li .rate {
    opacity: 1;
}

/* Dropdown wrapper */
.product-price-dropdown {
    position: relative;
}

/* Select Field */
.ppd-select {
    width: 100%;
    padding: 0.25rem 0.5rem;
    padding-right: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: #f97316;
    border: 1px solid #f97316;
    border-radius: 8px;
    color: var(--text-color);
    appearance: none;
    outline: none;
    transition: all 0.25s ease;
    color: #fff;
}

/* Hover + Focus */
.ppd-select:hover {
    border-color: var(--primary-color);
}

.ppd-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}


/* Custom dropdown arrow */
.product-price-dropdown::after {
    content: "";
    position: absolute;
    right: 15px;
    top: calc(50% + 4px);
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
    transition: 0.25s ease;
    top: 12px;
    color: #fff;
}

/* Rotate arrow when focused */
.ppd-select:focus + .dummy ~ .product-price-dropdown::after,
.ppd-select:focus ~ * .product-price-dropdown::after {
    transform: translateY(-50%) rotate(225deg);
}



/* =========================================
   MOBILE SCROLLABLE TABS
========================================= */
@media (max-width: 768px) {
    .prod-tabs-nav {
        /* 1. Enable Horizontal Scroll */
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        
        /* 2. Alignment & Spacing */
        justify-content: flex-start; /* Align to start so first tab isn't cut off */
        gap: 15px;
        padding-left: 10px;  /* Add side padding so text isn't flush with edge */
        padding-right: 10px;
        
        /* 3. Smooth Scrolling Experience */
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; /* Hide scrollbar (Firefox) */
        -ms-overflow-style: none;  /* Hide scrollbar (IE) */
    }

    /* Hide Scrollbar (Chrome/Safari/Edge) */
    .prod-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        /* 4. Prevent buttons from shrinking or wrapping text */
        flex-shrink: 0;
        white-space: nowrap; 
        font-size: 0.95rem; /* Slightly smaller font for mobile */
        padding: 12px 10px; /* Adjust padding */
    }
}



/* =========================================
   STICKY SIDEBAR (DESKTOP ONLY)
========================================= */
@media (min-width: 1024px) {
    .prod-sidebar {
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        
        /* 90px = Header Height (~70px) + 20px Gap */
        top: 200px; 
        
        /* Important: Ensures the div doesn't stretch to full height */
        height: fit-content; 
        
        z-index: 9; /* Below header, above content */
    }
}




/* =========================================
   QUOTE / QUANTITY SECTION
========================================= */
.prod-quote-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px; /* Spacing from next section */
}

/* Quantity Input */
.quote-input {
    padding: 10px 15px;
    border: 1px solid #d1d5db; /* Light grey border */
    border-radius: 6px;
    font-size: 0.95rem;
    width: 120px;
    outline: none;
    transition: border-color 0.2s;
    color: #333;
}

.quote-input:focus {
    border-color: #007bff;
}

/* Unit Dropdown */
.quote-select {
    padding: 10px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    width: 80px;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    color: #333;
}

/* Get Quote Button */
.quote-btn {
    background-color: #0072ce; /* Specific Blue from image */
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.quote-btn:hover {
    background-color: #005bb5; /* Darker blue on hover */
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .prod-quote-row {
        flex-wrap: wrap;
        margin-top: 20px;
    }
    .quote-input, .quote-select, .quote-btn {
        flex-grow: 1;
        height: 44px; /* Touch friendly height */
    }
    .quote-select {
        width: auto; /* Let it expand */
    }
    .quote-btn {
        width: 100%; /* Full width button on mobile */
    }
}




.wapxrfq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 9998;
  backdrop-filter: blur(6px);
}

.wapxrfq-form .wapxrfq-group input {
    padding: 0.8rem;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 10px;
}

.wapxrfq-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  border-radius: 14px;
  width: 90%;
  max-width: 760px;
  padding: 2rem;
  z-index: 9999;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: all 0.3s ease;
}

.wapxrfq-modal.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.wapxrfq-overlay.active {
  display: block;
}

/* Close */
.wapxrfq-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  transition: 0.2s;
}
.wapxrfq-close-btn:hover {
  color: #007bff;
}
.wapxrfq-close-btn svg {
  width: 26px;
  height: 26px;
}

/* Text */
.wapxrfq-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.4rem;
}
.wapxrfq-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Grid */
.wapxrfq-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .wapxrfq-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Form */
.wapxrfq-group {
  margin-bottom: 1rem;
}
.wapxrfq-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.wapxrfq-quantity {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}
.wapxrfq-quantity input,
.wapxrfq-quantity select {
  border: none;
  padding: 0.75rem;
  font-size: 0.9rem;
  outline: none;
}
.wapxrfq-quantity input {
  flex: 1;
}
.wapxrfq-quantity select {
  border-left: 1px solid #ddd;
}

/* Options */
.wapxrfq-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.wapxrfq-option {
  padding: 0.45rem 1rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #f8f8f8;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.wapxrfq-option:hover,
.wapxrfq-option.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Buttons */
.wapxrfq-btn-primary {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.9rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: 0.25s;
}
.wapxrfq-btn-primary:hover {
  background: #0056cc;
}

/* Info */
.wapxrfq-info {
  text-align: center;
}
.wapxrfq-img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.wapxrfq-info-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.wapxrfq-list {
  list-style: none;
  padding: 0;
  color: #555;
}
.wapxrfq-list li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* Login Step */
.wapxrfq-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0.8rem;
}
.wapxrfq-mobile span {
  font-weight: 600;
  color: #555;
}
.wapxrfq-terms {
  margin: 1rem 0;
  font-size: 0.85rem;
  color: #666;
}
.wapxrfq-terms a {
  color: #007bff;
  text-decoration: none;
}
.wapxrfq-skip {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
}

/* ✅ Mobile Optimization */
@media (max-width: 600px) {
  .wapxrfq-modal {
    width: 95%;
    height: auto;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    padding: 1.2rem;
    border-radius: 12px;
  }

  .wapxrfq-title {
    font-size: 1.2rem;
  }

  .wapxrfq-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .wapxrfq-btn-primary {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  .wapxrfq-option {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .wapxrfq-img {
    width: 100px;
    margin: 0 auto 0.5rem;
  }

  .wapxrfq-grid {
    display: block;
  }
}




/* =========================================
   CUSTOMERS ALSO VIEWED SLIDER CSS
========================================= */

/* Wrapper */
.customers-viewed-wrapper {
    max-width: 860px;
    margin: 50px 0px;
    
    position: relative; /* Context for slider */
}

/* Header */
.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cv-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

/* Nav Arrows (Top Right) */
.cv-nav-arrows {
    display: flex;
    gap: 10px;
}

.cv-nav-btn {
    width: 40px;
    height: 40px;
    background-color: #9ca3af; /* Grey */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 1rem;
}
.cv-nav-btn:hover { background-color: #6b7280; }
.cv-nav-btn:active { transform: scale(0.95); }

/* Viewport (Hides Overflow) */
.cv-slider-viewport {
    overflow-x: auto; /* Allows scrolling */
    overflow-y: hidden;
    scroll-behavior: smooth; /* Smooth scroll effect */
    
    /* Hide Scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    padding-bottom: 10px; /* Space for card shadows */
}
.cv-slider-viewport::-webkit-scrollbar { 
    display: none; /* Chrome/Safari/Webkit */
}

/* Track (Holds Cards in Row) */
.cv-track {
    display: flex;
    gap: 20px;
    width: max-content; /* Expands to fit all cards */
}

/* Individual Card (Fixed Width for Slider) */
.cv-card {
    width: 270px; /* Fixed width ensures consistent sliding */
    flex-shrink: 0; /* Prevent shrinking */
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: box-shadow 0.3s;
}

.cv-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* --- Internal Image Slider Logic (Kept Same) --- */
.cv-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f9f9f9;
}
.cv-slide-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 0.3s;
}
.cv-slide-img.active { opacity: 1; }

.cv-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    width: 25px; height: 25px; font-size: 12px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 2; opacity: 0; transition: opacity 0.2s;
}
.cv-card:hover .cv-arrow { opacity: 1; }
.cv-arrow.prev { left: 5px; }
.cv-arrow.next { right: 5px; }

/* Text & Buttons */
.cv-prod-title {
    font-size: 0.95rem; font-weight: 600; color: #111;
    line-height: 1.4; margin-bottom: 8px; height: 42px; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.cv-company-name {
    font-size: 0.9rem; font-weight: 700; color: #111; margin-bottom: 15px;
}
.cv-btn-group { display: flex; flex-direction: column; gap: 8px; }
.cv-btn {
    width: 100%; padding: 10px 0; border: none; border-radius: 4px;
    font-weight: 700; font-size: 0.9rem; cursor: pointer; text-align: center; color: #fff;
}
.btn-green { background-color: #008f11; }
.btn-blue { background-color: #0072ce; }



@media only screen and (max-width: 1024px){
    .customers-viewed-wrapper {
    max-width: 700px;
}
}
@media only screen and (max-width: 768px){
    .customers-viewed-wrapper {
    max-width: 550px;
}
}



/* Style for revealed number in slider cards */
.cv-btn.cv-number-revealed {
    background-color: #006400; /* Darker Green to indicate active state */
    font-weight: 800;
    font-size: 0.85rem; /* Adjust font to fit */
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}







/* =========================================
   FIXED MAIN IMAGE WRAPPER
========================================= */
.prod-main-img-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    
    /* CRITICAL CHANGE: Must be visible for side popup to show */
    overflow: visible !important; 
    
    cursor: crosshair; 
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* Apply rounded corners directly to image since wrapper is visible */
.prod-main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px; 
}

/* Ensure the Zoom Result is on top of everything */
.zoom-result {
    position: absolute;
    top: 0;
    left: 105%; /* Push it to the right */
    width: 500px;
    height: 400px;
    border: 1px solid #d4d4d4;
    background-color: #fff; /* White background is important */
    background-repeat: no-repeat;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000; /* High Z-index to float over other content */
    border-radius: 8px;
}

/* The Square Lens on the Main Image */
.img-lens {
    position: absolute;
    border: 1px solid #888;
    background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent white */
    width: 150px; /* Size of the lens */
    height: 150px;
    cursor: crosshair;
    display: none; /* Hidden until hover */
    z-index: 10;
}

/* Hide zoom on mobile/tablet (Touch devices) */
@media (max-width: 1024px) {
    .img-lens, .zoom-result {
        display: none !important;
    }
}




/* =========================================
   HYBRID TABS (Vertical Default -> Tabbed)
========================================= */

/* Default State: All sections visible, stacked vertically */
.tab-panel {
    display: block; /* Visible by default */
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee; /* Separator line between sections */
    animation: fadeIn 0.5s ease;
}

/* Remove border from the last item */
.tab-panel:last-child {
    border-bottom: none;
}

/* --- SINGLE VIEW MODE (Triggered by JS) --- */

/* 1. When in Single View, HIDE all panels by default */
.prod-tabs-content.single-view-mode .tab-panel {
    display: none;
}

/* 2. But SHOW the one that is Active */
.prod-tabs-content.single-view-mode .tab-panel.active {
    display: block;
    border-bottom: none; /* No separator needed in single view */
    margin-bottom: 0;
}






/* =========================================
   GOOGLE STYLE REVIEWS UI
========================================= */
.google-review-container {
    max-width: 800px;
    margin: 0 auto; /* Center content */
    font-family: 'Roboto', 'Inter', sans-serif; /* Clean font */
}

/* --- 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; }
}


/* =========================================
   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;
}