/* Fonts loaded non-blocking via <link rel="preload"> in header.php */

/* ── SVG Icon System ──────────────────────────────────────────────── */
svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-chevron {
    vertical-align: middle;
    opacity: 0.7;
    margin-left: 2px;
}

.footer-icon {
    vertical-align: middle;
    opacity: 0.8;
    margin-right: 6px;
}

.meta-icon {
    vertical-align: middle;
    opacity: 0.6;
}

.btn-icon {
    vertical-align: middle;
    margin-right: 5px;
}

.wishlist-icon {
    color: var(--text-muted);
}

.wishlist-icon-active {
    color: #e74c3c;
}

.health-icon {
    color: var(--primary);
    vertical-align: middle;
    margin-right: 6px;
}


:root {
    /* ── Core Colors ── */
    --primary: var(--p, #06b6d4);
    --primary-light: var(--p-light, #22d3ee);
    --primary-rgb: var(--p-rgb, 6, 182, 212);
    --primary-soft: rgba(6, 182, 212, 0.1);
    --secondary: var(--s, #0f172a);
    --accent: var(--a, #0891b2);

    /* ── Surface Colors ── */
    --bg-canvas: #cce3f5;        /* Light blue outer background */
    --bg-body: #ffffff;          /* Site content background */
    --bg-soft: #f0f8fc;          /* Light tinted surfaces */
    --border-color: #e2e8f0;     /* Standard borders */

    /* ── Typography ── */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* ── Effects ── */
    --glass: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;

    /* ── Premium Tokens ── */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(6, 182, 212, 0.15);
    --glass-blur: blur(10px);

    /* ── Compatibility Aliases ── */
    --bg-cream: #f8fafc;        /* Alias: soft page backgrounds */
    --text-dark: #0f172a;       /* Alias: strong dark text */
    --accent-blue: #06b6d4;     /* Alias: primary accent */
}

/* ── CONTRAST SAFETY ── */
.text-on-dark { color: #ffffff !important; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.text-on-light { color: var(--secondary) !important; }
.bg-premium-gradient { background: linear-gradient(135deg, var(--secondary), var(--primary)); }

/* ── GLOBAL HEADER ── */
.nav-header {
    position: relative;
    width: 100%;
    z-index: 1100;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.top-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    gap: 25px;
}

.top-left { flex-shrink: 0; width: 220px; }
.logo-img { height: 50px; width: auto; object-fit: contain; transition: all 0.3s ease; }
.logo-img:hover { transform: scale(1.05); }
.top-center { flex: 1; max-width: 650px; }
.top-right { flex-shrink: 0; }

.header-search-container { position: relative; width: 100%; }
.search-input-wrapper {
    background: #f8fafc; border: 1.5px solid #e2e8f0;
    border-radius: 12px; padding: 0 18px; display: flex; align-items: center; gap: 10px;
    transition: 0.3s;
}
.search-input-wrapper:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }
#ajaxSearchInput { width: 100%; height: 42px; background: transparent; border: none; font-size: 0.92rem; font-family: inherit; color: var(--text-main); }
#ajaxSearchInput:focus { outline: none; }

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    z-index: 2000;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #f8fafc; }

.result-img {
    width: 60px;
    height: 60px;
    object-fit: cover !important; /* Fix distortion */
    border-radius: 8px;
    background: #f1f5f9;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.result-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--secondary);
}

.result-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.result-price {
    font-weight: 850;
    color: var(--primary);
    font-size: 1rem;
    padding-left: 10px;
}

.no-results {
    padding: 25px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: 18px; }
.action-btn { 
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--secondary); text-decoration: none; font-size: 0.65rem; font-weight: 800;
    transition: 0.3s; opacity: 0.85; text-transform: uppercase;
}
.action-btn:hover { opacity: 1; color: var(--primary); transform: translateY(-2px); }
.action-btn i, .action-btn svg { color: var(--primary); width: 22px; height: 22px; }

/* Content Padding */
body { padding-top: 0 !important; }

@media (max-width: 991px) {
    body { padding-top: 0 !important; }
}

/* ── LIVE CRYPTO TICKER ── */
.crypto-ticker-bar {
    background: #060a0f;
    color: #fff;
    height: 32px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
    z-index: 1200;
    font-family: 'JetBrains Mono', 'Inter', monospace;
}

.live-indicator {
    background: #ef4444; 
    color: #fff;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    box-shadow: 10px 0 30px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.live-indicator::after {
    content: '';
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: tickerBlink 1s infinite;
}

.news-tag {
    background: #1e293b;
    color: #fff;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.ticker-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    padding-left: 20px;
    animation: tickerMove 40s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.ticker-item span { margin-left: 6px; }
.ticker-item.up span { color: #10b981; }
.ticker-item.down span { color: #ef4444; }

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes tickerBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── THE 4-CARD RULE (Desktop 1200px+) ── */
.product-grid, .marketplace-grid, .arrivals-grid, .m-testi-grid, .c-inventory-grid, .ds-premium-grid, .bt-product-mesh {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 1199px) {
    .product-grid, .marketplace-grid, .arrivals-grid, .m-testi-grid, .c-inventory-grid, .ds-premium-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 991px) {
    .product-grid, .marketplace-grid, .m-testi-grid, .c-inventory-grid, .ds-premium-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    .product-grid, .marketplace-grid, .m-testi-grid, .c-inventory-grid, .ds-premium-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}


/* ─── Global Product Image Standardization ─── */
.standard-product-image {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
    background: #f8fafc; /* Fallback for transparency */
    transition: transform 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--bg-canvas);
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-canvas);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

.site-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-body);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.10);
    border-radius: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.container {
    width: 100%;
    max-width: 100%; /* Fill the box */
    margin: 0 auto;
    padding: 0 40px; /* Consistent inner padding */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    line-height: 1.25;
    color: var(--secondary);
    margin-bottom: 0.5em;
    text-wrap: balance;
}

h1, .h1-style { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; line-height: 1; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }

h4 {
    font-size: 1.35rem;
}

p, li {
    font-size: clamp(1rem, 1.1vw, 1.2rem);
}

/* ─── Typography Utilities ─── */
.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.body-copy {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.section-heading {
    margin-bottom: 1.5rem;
}

/* ─── Glassmorphism ─── */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px !important;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    width: fit-content;
    max-width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #4E342E;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #0ea5e9;
    color: white;
    text-align: center;
    padding: 18px;
    font-size: 1rem;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #38bdf8;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-muted {
    border: 2px solid #ddd;
    color: var(--text-muted);
    background: transparent;
}

.btn-outline-muted:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-wishlist-active {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

/* Makes entire product card clickable */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:hover .product-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ─── Hero Slider ─── */
.hero-slider {
    position: relative;
    height: 63vh;
    min-height: 420px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    visibility: hidden;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s linear;
    transform: scale(1);
    z-index: 0;
}

.slide.active .slide-bg {
    transform: scale(1.15);
    /* Subtle Ken Burns zoom */
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content h2 {
    color: #fff !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 2px 5px rgba(0,0,0,0.3);
}

.slide-content p {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(14, 165, 233, 0.18) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1400px;
    padding: 0 5vw;
    transform: translateY(30px);
    transition: transform 0.8s ease-out 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    /* Premium Gold */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    /* Enforce single row */
}

@media (max-width: 992px) {
    .slide-content h2 {
        white-space: normal;
        /* Safe wrapping for tablets/mobile */
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    }
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-nav, .slider-dot, .slider-dots {
    display: none !important;
}

/* ─── Stats Section ─── */
.stats-section {
    background: linear-gradient(135deg, #0891b2, #0f172a);
    padding: clamp(40px, 6vh, 60px) 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Shared Layout Utilities ─── */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* ─── Auth Forms ─── */
.auth-page {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 10vw, 80px) 5vw;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.03), transparent);
}

.auth-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: clamp(30px, 8vw, 60px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 550px;
}

.auth-card h2 {
    margin-bottom: 15px;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary);
}

.auth-card p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.auth-card .btn-primary {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.form-footer a:hover {
    border-bottom-color: var(--primary);
}

/* ─── Forms ─── */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: var(--transition);
    margin-bottom: 16px;
    background: white;
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
    background: white;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ─── Animations ─── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* ─── Page Header (inner pages) ─── */
.page-header {
    padding: clamp(30px, 5vh, 50px) 0 clamp(20px, 3vh, 35px);
    background: linear-gradient(135deg, #0891b2, #0f172a);
    color: #fff !important;
    text-align: center;
}

.page-header h1, .page-header p {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.85;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Section title ─── */
.section-title {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    margin-top: 10px;
}

/* Legacy duplicated header block removed to fix conflicts */


.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 380px;
    justify-content: flex-end;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.action-btn {
    text-decoration: none;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    position: relative;
}
.action-btn:hover { color: var(--primary); transform: translateY(-2px); }
.action-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Main Navigation Bar */
.header-menu {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    gap: 2px;
    padding: 2px 5px;
    min-height: 40px;
}
.nav-row:nth-child(even) { background: #f8fafc; }
.nav-row:last-child { border-bottom: none; }

.nav-link {
    padding: 8px 12px;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s;
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link:hover { color: var(--primary); background: rgba(0,0,0,0.03); }

/* Mobile Toggles */
.mobile-menu-toggle { display: none; }

/* ─── Mobile Nav Drawer ─────────────────────────────────────────── */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.mobile-nav.active {
    transform: translateX(0);
}
.mobile-nav-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
.mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: var(--secondary);
}
.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}
.mobile-nav-scroll {
    padding: 16px 0;
    flex: 1;
}
.mobile-nav-scroll a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-scroll a:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
}
.mobile-nav-section {
    margin-top: 8px;
}
.mobile-nav-label {
    display: block;
    padding: 8px 22px 4px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    opacity: 0.7;
}
.mobile-nav-hr {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 12px 0;
}

/* Responsive Adaptations */
@media (max-width: 1200px) {
    .top-container { padding: 0 20px; gap: 20px; }
    .top-right { width: auto; gap: 15px; }
    .nav-link { padding: 14px 12px; font-size: 0.72rem; }
}

@media (max-width: 991px) {
    .nav-header { height: auto; }
    .top-container {
        flex-direction: column;
        height: auto;
        padding: 0;
        gap: 0;
    }
    /* Row 1: logo + mobile icons + hamburger */
    .top-left {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    /* Row 2: search bar full width */
    .top-center { width: 100%; max-width: 100%; padding: 0 15px 10px; }
    /* Hide the original right column — icons are now in top-left */
    .top-right { display: none; }

    .logo-img { height: 38px; }

    /* Mobile icon group (Support, Wishlist, Account, Hamburger) */
    .mobile-icon-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-icon-group .action-btn {
        flex-direction: row;
        font-size: 0;
        gap: 0;
        opacity: 0.85;
        padding: 4px;
    }
    .mobile-icon-group .action-btn svg,
    .mobile-icon-group .action-btn i {
        width: 22px;
        height: 22px;
    }
    .mobile-icon-group .action-label { display: none; }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 4px;
    }
    .mobile-menu-toggle span {
        width: 24px;
        height: 2.5px;
        background: var(--secondary);
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .top-container { padding: 12px 15px; }
}

/* Mobile icon group: visible only on mobile, hidden on desktop */
@media (max-width: 991px) {
    .mobile-icon-group { display: flex !important; }
}
/* Desktop: hide the in-header mobile-menu-toggle (it's now only in mobile-icon-group) */
@media (min-width: 992px) {
    #mobileToggle { display: none; }
}

/* ─── Category Grid (Home) ─── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 0;
}

.category-card {
    position: relative;
    height: 175px;
    border-radius: 0 !important;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 15px;
}

.category-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.category-overlay p {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ─── Marketplace / Product Grid ─── */
.filter-bar {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-link {
    padding: 10px 24px;
    border-radius: var(--radius) !important;
    background: var(--bg-body);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}


.filter-link.active,
.filter-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ─── Consolidated Product Grid (4-Card Rule) ─── */
.product-grid, .marketplace-grid, .related-grid, .clinical-grid, .rc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

/* ─── Senior Contrast & Typography Guard ─── */
.text-on-dark { color: #ffffff !important; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.text-on-light { color: var(--secondary) !important; }
.contrast-high { opacity: 1 !important; color: var(--secondary) !important; }
.label-premium { color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }

.bg-premium-gradient {
    background: linear-gradient(135deg, #061731 0%, #0d1117 100%);
    color: white;
}

/* ══════════════════════════════════════════
   UNIVERSAL PRODUCT CARD  —  .pc namespace
   Inherited from Shop for Platform Unity
   ══════════════════════════════════════════ */

.pc {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    text-decoration: none;
}

.pc:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-8px);
}


/* Full-card link spacer */
.pc__link {
    position: absolute;
    inset: 0;
    bottom: 110px;
    z-index: 1;
    cursor: pointer;
}

/* Image block */
.pc__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f5f7;
    flex-shrink: 0;
}

.pc__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.25,.8,.25,1);
}

.pc:hover .pc__img { transform: scale(1.07); }

/* Category pill */
.pc__cat {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(6px);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(6,182,212,0.15);
}

/* Wishlist button */
.pc__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #aaa;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.pc__wish:hover, .pc__wish--on {
    background: #fff;
    color: #e74c3c;
    transform: scale(1.12);
}

/* Card Body */
.pc__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 10px;
}

.pc__name {
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--secondary);
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Cross-compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.pc__brand {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

/* Footer: price + CTA */
.pc__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px 16px;
    border-top: 1px solid #e8eef4;
    background: #f8fbff;
}

.pc__pricing {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.pc__price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.pc__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all .2s ease;
    box-shadow: 0 2px 8px rgba(14,165,233,0.2);
    font-family: inherit;
}

.pc__btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Response Grids (Senior Optimization) */
@media (max-width: 1200px) {
    .product-grid, .related-grid, .clinical-grid, .rc-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 991px) {
    .product-grid, .related-grid, .clinical-grid, .rc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 600px) {
    .product-grid, .marketplace-grid, .related-grid, .clinical-grid, .rc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .pc { max-width: 100%; margin: 0 auto; width: 100%; }
}

/* ─── Product Details Page ─── */
.details-container {
    padding: 60px 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.image-gallery {
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.image-gallery img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.info-panel h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.status-pill {
    display: inline-block;
    padding: 6px 22px;
    background: #e0f2fe;
    color: #0c4a6e;
    color: var(--primary);
    border-radius: 0 !important;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.spec-item {
    padding: 18px;
    background: white;
    border-radius: 0 !important;
    border: 1px solid #eee;
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.spec-value {
    font-weight: 700;
    font-size: 1.05rem;
}

.product-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ─── FAQ Item (reused across pages) ─── */
.faq-item {
    background: white;
    border-radius: 0 !important;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border-left: 5px solid var(--primary);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── PLATFORM MODULES ─── */

/* Auth Pages */
.auth-page {
    background: var(--bg-soft);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card {
    background: var(--bg-body);
    width: 100%;
    max-width: 650px; /* Slightly wider for register */
    padding: 60px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.auth-card--login { max-width: 450px; }

.auth-card h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 12px;
}

.auth-card p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-soft);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.error-banner {
    background: #fef2f2;
    color: #991b1b;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    border: 1px solid #fee2e2;
    font-weight: 600;
}

.success-banner {
    background: #f0fdf4;
    color: #166534;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    border: 1px solid #dcfce7;
    font-weight: 600;
}

/* Marketplace Layout */
.marketplace-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 60px 0;
    align-items: start;
}

@media (max-width: 1200px) {
    .marketplace-layout { grid-template-columns: 260px 1fr; gap: 30px; }
}

@media (max-width: 991px) {
    .marketplace-layout { 
        grid-template-columns: 1fr; 
        padding: 30px 0;
    }
}

/* Sidebar Design */
.sidebar {
    position: sticky;
    top: 20px; /* Adjusted for relative header */
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-only-hidden { display: none !important; }

@media (max-width: 991px) {
    .desktop-only-hidden { display: block !important; }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        padding: 30px;
        transform: translateX(-100%);
        overflow-y: auto;
        box-shadow: 20px 0 60px rgba(0,0,0,0.15);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary);
    cursor: pointer;
    line-height: 1;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

.sidebar-card h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.2s;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    color: var(--primary);
}

.sidebar-nav a.active {
    font-weight: 900;
}

.sidebar-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #F8FAFC;
    transition: 0.3s;
    font-family: inherit;
}

.sidebar-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

/* Sort & Meta Bar */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 18px 25px;
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    font-size: 0.95rem;
    color: var(--text-main);
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-soft);
    font-weight: 600;
    cursor: pointer;
}

/* Product Details Layout */
.details-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: clamp(40px, 8vh, 80px) 0;
    align-items: start;
}

@media (max-width: 991px) {
    .details-container { grid-template-columns: 1fr; gap: 40px; }
}

.gallery-main {
    background: var(--bg-body);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

/* Info Panel */
.info-panel {
    display: flex;
    flex-direction: column;
}

.info-panel h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 10px 0 20px;
    color: var(--secondary);
    line-height: 1.1;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 30px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.spec-item {
    background: var(--bg-soft);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.spec-value {
    font-weight: 700;
    color: var(--text-main);
}

.swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.swatch-item {
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    background: var(--bg-body);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.swatch-item:hover { border-color: var(--primary-light); }
.swatch-item.active {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

/* ─── Footer ─── */
.main-footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 0;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand p {
    opacity: 0.9;
    font-size: 0.92rem;
    margin-bottom: 20px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-grid h4 {
    color: var(--accent);
    margin-bottom: 22px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 11px;
}

.footer-grid ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.92rem;
}

.footer-grid ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .main-nav {
        gap: 6px;
    }
    .nav-link {
        font-size: 0.7rem;
        padding: 6px 5px;
    }
}

@media (max-width: 1024px) {
    .header-menu {
        display: none;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    opacity: 0.9;
    /* FIX: raised from 0.7 for better WCAG AA contrast ratio */
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 6px;
}

.footer-bottom a:hover {
    color: white;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .details-container {
        grid-template-columns: 1fr;
        padding-top: 110px;
    }

    .image-gallery img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    /* Global Accessibility: High Visibility Fonts for Human Readability */
    html { font-size: 22px !important; } /* Further increased to 22px base */
    body { 
        font-size: 1rem; 
        line-height: 1.8; 
        -webkit-text-size-adjust: 100%; 
        overflow-x: hidden;
    }
    .container {
        padding: 0 16px !important; /* Standardized container padding */
    }
    p, a, span, li, div { font-size: 1.1rem; }
    h1 { font-size: clamp(2.4rem, 12vw, 3.2rem) !important; }
    h2 { font-size: clamp(2rem, 10vw, 2.8rem) !important; }
    h3 { font-size: clamp(1.6rem, 8vw, 2.2rem) !important; }
    h4 { font-size: 1.3rem !important; }

    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .footer-grid {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: unset;
        gap: 30px;
    }
    .footer-brand, .footer-contact {
        flex: 0 0 100%;
    }
    .footer-links, .footer-support {
        flex: 0 0 calc(50% - 15px); /* Two columns on mobile */
    }
}


/* ─── Landing Page Enhancements ─── */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: white;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Keep advantages as 4 for balance */
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 40px;
    border-radius: 0 !important;
    transition: var(--transition);
}

.advantage-item:hover {
    background: var(--bg-cream);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.arrivals-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-cream);
}

.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.newsletter-shelf {
    background: var(--primary);
    padding: clamp(60px, 8vh, 80px) 0;
    color: white;
    text-align: center;
    margin-top: clamp(40px, 6vh, 80px);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    color: var(--text-dark);
    /* FIX: prevent white-on-white invisible text */
    background: white;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn {
    padding: 0 40px;
}

@media (max-width: 992px) {

    .arrivals-grid,
    .advantage-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {

    .arrivals-grid,
    .advantage-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .featured-product-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .featured-product-grid ul {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .product-card h4 {
        font-size: 1.1rem;
    }

    .product-info {
        padding: 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .featured-product-grid h2 {
        font-size: 2.2rem !important;
    }
}

/* --- Landing Page Utilities --- */
.section-spacer {
    padding: clamp(60px, 8vh, 80px) 0;
}

.card-listing {
    background: white;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: block;
    transition: var(--transition);
}

.card-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-img-container {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.listing-price {
    font-weight: 800;
    color: var(--secondary);
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-img-panel {
    padding: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.feature-img-panel img {
    width: 100%;
    border-radius: 15px;
    display: block;
    filter: saturate(1.1);
    transition: var(--transition);
}

.feature-img-panel:hover img {
    filter: saturate(1.2);
    transform: scale(1.02);
}

.quote-panel {
    padding: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-text {
    font-size: 1.6rem;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    max-width: 850px;
    line-height: 1.6;
    font-style: italic;
    text-wrap: balance;
}

.quote-author {
    margin-top: 30px;
}

.quote-author h4 {
    margin-bottom: 5px;
}

/* --- Account Dashboard --- */
.account-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .account-layout aside {
        position: static !important;
    }
}

/* --- Product Detail Page --- */
.details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 130px 0 80px;
    align-items: start;
}

.gallery-main {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    margin-bottom: 15px;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: .6;
    transition: var(--transition);
    flex-shrink: 0;
    border: 3px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-panel h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    color: var(--primary);
    margin-bottom: 12px;
}

.status-pill {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 15px;
}

.status-available {
    background: #e0f2fe;
    color: #0c4a6e;
    color: var(--primary);
}

.status-reserved {
    background: #FFF8E1;
    color: #F57F17;
}

.status-sold {
    background: #FFEBEE;
    color: #c0392b;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 25px 0;
}

.spec-item {
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
}

.spec-label {
    display: block;
    font-size: .72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.spec-value {
    font-weight: 700;
    font-size: 1rem;
}

.product-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 20px 0;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-row {
    display: flex;
    gap: 12px;
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.share-bar span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.share-btn {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.share-fb {
    background: #1877F2;
    color: white;
}

.share-tw {
    background: #1DA1F2;
    color: white;
}

.share-wa {
    background: #0ea5e9;
    color: white;
}

.share-link {
    background: #f0f0f0;
    color: var(--text-dark);
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.health-callout {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-cream);
    border-radius: 16px;
}

.health-callout p {
    font-size: .88rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .details-container {
        grid-template-columns: 1fr;
        padding-top: 100px;
    }

    .action-row {
        flex-direction: column;
    }

    .hide-mobile { display: none !important; }
}

@media (min-width: 901px) {
    .show-mobile { display: none !important; }
}
/* Responsive Buttons */

/* ─── Hero Hub (Panoramic Redesign - v2) ─── */
.hero-hub {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 75% 35%, rgba(0, 123, 255, 0.15), transparent 40%),
                linear-gradient(180deg, rgba(13,17,23,0.85) 0%, rgba(13,17,23,1) 100%),
                url('../images/cat-research.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0 160px;
    overflow: hidden;
}

/* Slider Integration */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
}

/* ─── Hero Hub (Panoramic Showcase) ─── */
.hero-hub {
    position: relative;
    overflow: hidden;
    background: #0a0a0b;
    color: #fff;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    align-items: center;
    visibility: hidden;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.3) 50%, rgba(10,10,11,0.85) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.hero-split-container {
    display: grid !important; /* Ensure grid is active */
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 20; /* High z-index to stay above overlay */
    height: 100%;
}

/* Left Content */
.hero-text-content {
    max-width: 750px;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.trust-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-hub h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #fff, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 45px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.btn-glow:hover::after {
    transform: translate(0, 0);
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: #fff;
}

/* Right Visual */
.hero-visual-content {
    display: flex;
    justify-content: flex-end;
}

.premium-glass-card {
    width: 100%;
    max-width: 400px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.glass-inner {
    background: rgba(15, 15, 20, 0.8);
    padding: 40px;
    border-radius: 27px;
    text-align: center;
}

.glass-icon {
    width: 80px;
    height: 80px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.glass-inner h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.glass-inner p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 30px;
}

.glass-footer {
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.check-mark {
    margin-left: 10px;
    color: #10b981;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.active .animate-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.active .animate-slide-up {
    opacity: 1;
    transform: translateY(0);
}

.active .hero-text-content .animate-slide-up:first-child { transition-delay: 0.1s; }
.active .hero-text-content .animate-fade-in:nth-child(2) { transition-delay: 0.3s; }
.active .hero-text-content .animate-fade-in:nth-child(3) { transition-delay: 0.5s; }
.active .hero-text-content .animate-slide-up:nth-child(4) { transition-delay: 0.7s; }

/* Pulse Stats Integration */
.hero-hub > .container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    width: 100%;
}

.hero-pulse-stats {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.pulse-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 35px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: var(--transition);
}

.pulse-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.pulse-count {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.pulse-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    font-weight: 700;
}

/* Category Icon Navigation (Desktop Only Icons) - Clean Minimalist */
.hero-navigator {
    position: relative;
    background: transparent;
    padding: 100px 0;
    z-index: 10;
}

.cat-navigator-header {
    text-align: center;
    margin-bottom: 50px;
}

.cat-navigator-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.navigator-scroller {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr;
    gap: 20px;
    justify-items: center;
    padding: 30px 0;
    overflow: hidden;
}

.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 15px;
    border: none;
    background: none;
    width: 100%;
}

.nav-icon-item:hover {
    transform: translateY(-8px);
}

.nav-icon-box {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.4rem;
    transition: all 0.3s ease;
    background: none !important;
}

.nav-icon-label {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

.nav-icon-item:hover .nav-icon-label {
    color: var(--primary);
}

/* Visibility Control */
.mobile-hide, .desktop-hide {
    display: none !important;
}

/* Desktop: always 5 columns, 1 row */
@media (min-width: 992px) {
    .navigator-scroller {
        grid-template-columns: repeat(5, 1fr) !important;
        grid-template-rows: 1fr !important;
    }
}

/* Desktop Visibility Enhancement (Min 992px) */
@media (min-width: 992px) {
    .mobile-hide {
        display: flex !important;
    }
    .grid-expanded .desktop-hide {
        display: flex !important;
    }
}

/* Mobile Visibility & Grid (Max 991px) */
@media (max-width: 991px) {
    .navigator-scroller {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 15px;
    }
    .grid-expanded .mobile-hide,
    .grid-expanded .desktop-hide {
        display: flex !important;
    }
}

.navigator-expansion-cta {
    display: block;
    text-align: center;
    margin-top: 50px;
}

.btn-view-more {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}


/* Reviews Section */
.reviews-section .glass-panel {
    background: #fff !important;
    border: 1px solid #eee !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03) !important;
}

.reviews-section .glass-panel:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}

@media (max-width: 1200px) {
    .hero-hub h1 { font-size: 4rem; }
}

@media (max-width: 992px) {
    .hide-mobile { display: none !important; }
    .hero-hub { padding: 40px 0 80px; text-align: center; min-height: auto; }
    .hero-hub h1 { font-size: clamp(2.2rem, 8vw, 3.5rem) !important; margin-bottom: 15px; }
    .hero-hub-lead { font-size: 1rem !important; line-height: 1.5; margin-bottom: 30px; padding: 0 15px; }
    .hero-hub-actions { flex-direction: column; align-items: center; gap: 12px; padding: 0 20px; }
    .hero-hub-actions .btn { width: 100% !important; max-width: 300px; }
    .hero-pulse-stats.stats-grid { display: grid !important; flex-direction: unset; align-items: stretch; margin-top: 40px; }
    .pulse-card { width: 100%; max-width: none; }
    .hero-navigator { display: block !important; padding-top: 40px !important; }
    .reviews-grid { grid-template-columns: 1fr !important; }
}
.btn-responsive {
    width: fit-content;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .btn-responsive {
        width: 100% !important;
    }
}
/* ─── MOBILE RESETS (Strict enforcement of user requirements) ─── */
@media (max-width: 768px) {
    /* Hero Headers */
    .page-header {
        padding: 30px 0 !important;
        min-height: auto !important;
    }
    .page-header h1 {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }
    .page-header p {
        font-size: 0.9rem !important;
        max-width: 90%;
        margin: 0 auto !important;
    }

    /* Buttons */
    .btn {
        padding: 10px 8px !important; /* 0.2cm approx 8px */
        width: fit-content !important;
        min-width: auto !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }
    
    /* Grids (2-column default) */
    .stats-grid, 
    .arrivals-grid, 
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
    }
    
    /* Table overflow (for orders) */
    .table-responsive,
    .wc-account-content table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Card adjustments */
    .glass-panel {
        padding: 20px 15px !important;
    }
}

/* ─── Pagination Design (Retail Standard) ─── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #E2E8F0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.page-btn:not(.active):not(:hover) {
    color: var(--text-muted);
}

/* ─── Product Description Panel (Medical Information) ─── */
.desc-panel {
    margin-top: 50px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.desc-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.product-description {
    line-height: 1.7;
    color: var(--text-main);
    font-size: 0.95rem;
}

.read-more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 15px;
    padding: 5px 0;
    transition: 0.3s;
}

.read-more-btn:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.read-more-chevron {
    transition: transform 0.3s;
}
/* ── TOR SHIELD: Guaranteed 4 Columns on Onion Browser ── */
@media (min-width: 800px) {
    .marketplace-grid { 
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 18px !important; 
    }
    .marketplace-layout { 
        grid-template-columns: 240px 1fr !important; 
        gap: 25px !important; 
    }
}

@media (max-width: 1200px) and (min-width: 991px) {
    .container { max-width: 100% !important; padding: 0 20px !important; }
    body { font-size: 15px; }
}

/* ── BULLETPROOF MOBILE GRID (2 COLUMNS) ── */
@media (max-width: 600px) {
    .product-grid, 
    .marketplace-grid, 
    .m-testi-grid, 
    .c-inventory-grid, 
    .ds-premium-grid, 
    .related-grid, 
    .clinical-grid, 
    .rc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        display: grid !important;
    }
    .pc { max-width: 100% !important; margin: 0 auto !important; width: 100% !important; }
}

/* -- GLOBAL RESPONSIVE GRID (4 DESKTOP / 2 MOBILE) -- */
.standard-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

@media (max-width: 1199px) {
    .standard-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .standard-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 576px) {
    .standard-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* === BASE COMPONENTS === */
/* Merittra Master-Grade Component Styles */

/* 1. Global Component Tokens */
:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 10px 40px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Product Card Component */
.mt-product-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 15px;
    height: 100%;
    min-height: 480px; /* Enforce uniform vertical height */
    display: flex;
    flex-direction: column;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.mt-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.mt-card-image {
    width: 100%;
    aspect-ratio: 1/1 !important; /* Force 1:1 regardless of original file */
    border-radius: 12px !important;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* Center and crop to fill square */
    transition: transform 0.6s var(--transition);
}

.mt-product-card:hover .mt-card-image img {
    transform: scale(1.1);
}

.mt-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mt-card-body {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mt-card-title {
    font-size: 1rem !important; /* Standardize font size */
    height: 2.6em; /* Fixed height for 2 lines */
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mt-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.mt-card-stars {
    color: var(--accent);
    font-size: 0.8rem;
    display: flex;
}

.mt-card-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-top: auto;
}

.mt-card-actions {
    margin-top: 15px;
    display: flex;
    gap: 8px;
}

/* Landing Page Primary Action Button */
.lp-add-btn {
    width: 100%; 
    border: 1.5px solid var(--primary); 
    background: transparent; 
    color: var(--primary); 
    padding: 10px; 
    border-radius: 8px; 
    font-weight: 800; 
    font-size: 0.85rem; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    transition: 0.3s;
    font-family: inherit;
}

.lp-add-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 99, 240, 0.3);
}

.mt-wish-btn:hover {
    transform: scale(1.1);
    background: #fdf2f8 !important;
}

.mt-btn-wish {
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: #64748b;
}

.mt-btn-wish:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

/* 3. Hero Hub Styles */
.mt-hero-hub {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.mt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.mt-hero-content {
    position: relative;
    z-index: 5;
    padding: 60px;
    color: white;
    max-width: 600px;
}

.mt-hero-label {
    display: inline-block;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.mt-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .mt-hero-title { font-size: 2.2rem; }
    .mt-hero-content { padding: 30px; }
}

/* 4. Review Bubble Component */
.mt-review-bubble {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    position: relative;
    transition: 0.4s;
    border-bottom: 4px solid var(--primary-soft);
}

.mt-review-bubble:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

.mt-rev-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mt-rev-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* 5. Utility: Reveal on Scroll */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* === THEME CUSTOM STYLES === */

/*
Theme Name: Biotech Lab
Theme URI: #
Author: Roths Market Team
Author URI: #
Description: Advanced clinical laboratory theme for high-purity chemicals and equipment. Features a clean, clinical aesthetic across all pages.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: biotech-lab
*/

:root {
    --biotech-bg: #f8fafc;
    --biotech-accent: #3b82f6;
    --biotech-dark: #1e293b;
}

/* Custom theme overrides for root components can go here */

/* ─── MOLECULAR REGISTRY GRID (PHASE 11 UNIFICATION) ─── */
.bl-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.bl-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 40px; padding: 35px; transition: 0.5s; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.02); position: relative; text-decoration: none !important; display: flex !important; flex-direction: column; }
.bl-card:hover { transform: translateY(-20px) scale(1.02); border-color: #2563eb; box-shadow: 0 50px 100px rgba(37, 100, 235, 0.12); }
.bl-card-img-wrap { background: #f1f5f9; border-radius: 24px; aspect-ratio: 1; margin-bottom: 35px; overflow: hidden; position: relative; border: 2px solid #e2e8f0; flex-shrink: 0; }
.bl-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.bl-card:hover .bl-card-img-wrap img { transform: scale(1.1); }
.bl-card h4 { margin: 0; font-size: 2.2rem; color: #1e293b; font-weight: 950; line-height: 1.05; height: 2.2em; overflow: hidden; letter-spacing: -1.5px; text-transform: uppercase; transition: 0.3s; }
.bl-card:hover h4 { color: #2563eb; }
.bl-card-foot { margin-top: auto; padding-top: 45px; display: flex !important; justify-content: space-between; align-items: baseline; }
.bl-card-price { font-size: 3.5rem; font-weight: 950; color: #1e293b; letter-spacing: -4px; }
.bl-card-btn { background: #2563eb; color: #fff; width: 65px; height: 65px; border-radius: 20px; display: grid; place-items: center; box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45); transform: rotate(45deg); font-weight: normal !important; padding: 0 !important; cursor: pointer; border: none; }
.bl-card-btn i, .bl-card-btn svg { transform: rotate(-45deg); color: white; }

@media (max-width: 1200px) { .bl-product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media (max-width: 768px) { .bl-product-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   BIOTECH-LAB THEME: Shop Product Card Override
   Matches screenshot design — really curved images, clean card layout,
   fully responsive from desktop → tablet → mobile.
═══════════════════════════════════════════════════════════════════ */

/* ── Shop grid base ── */
.bh-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

/* ── Card wrapper ── */
.bh-shop-grid .bl-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 12px 12px 0 12px !important;
    transition: all 0.28s ease !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    text-decoration: none !important;
    cursor: pointer;
}

.bh-shop-grid .bl-card:hover {
    border-color: #06b6d4 !important;
    box-shadow: 0 10px 32px rgba(6,182,212,0.16) !important;
    transform: translateY(-5px) !important;
}

/* ── Image wrap — REALLY curved ── */
.bh-shop-grid .bl-card .bl-card-img-wrap {
    width: 100% !important;
    height: 180px !important;
    aspect-ratio: unset !important;
    background: #f0f9fb !important;
    border-radius: 16px !important;
    border: 1.5px solid #e8f4f8 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    position: relative;
}

.bh-shop-grid .bl-card .bl-card-img-wrap img,
.bh-shop-grid .bl-card .bl-card-img-wrap .standard-product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 14px !important;
    border-radius: 0 !important;
    transition: transform 0.35s ease !important;
    display: block !important;
}

.bh-shop-grid .bl-card:hover .bl-card-img-wrap img {
    transform: scale(1.07) !important;
}

/* ── Hide ISO_9001 inline badge ── */
.bh-shop-grid .bl-card .bl-card-img-wrap > div[style] {
    display: none !important;
}

/* ── Product name ── */
.bh-shop-grid .bl-card h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    height: auto !important;
    min-height: 2.5em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin: 0 !important;
    padding: 11px 4px 5px !important;
    transition: color 0.2s !important;
}

.bh-shop-grid .bl-card:hover h4 {
    color: #06b6d4 !important;
}

/* ── Footer (price + button row) ── */
.bh-shop-grid .bl-card .bl-card-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 4px 14px !important;
    margin-top: auto !important;
    border-top: 1px solid #f1f5f9 !important;
    flex-wrap: nowrap !important;
}

/* ── Price ── */
.bh-shop-grid .bl-card .bl-card-price {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    flex: 1 !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Add-to-cart button — cyan pill ── */
.bh-shop-grid .bl-card .bl-card-btn {
    background: #06b6d4 !important;
    color: #ffffff !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(6,182,212,0.3) !important;
    transform: none !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, transform 0.2s !important;
    flex-shrink: 0 !important;
}

.bh-shop-grid .bl-card .bl-card-btn svg {
    transform: none !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    width: 16px !important;
    height: 16px !important;
}

.bh-shop-grid .bl-card .bl-card-btn:hover {
    background: #0891b2 !important;
    transform: scale(1.08) !important;
}

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS — SHOP PAGE
   Desktop → Tablet → Mobile → XSmall
══════════════════════════════════════ */

/* ── Mobile filter bar (hidden on desktop) ── */
.bh-mobile-filter-bar { display: none; }
.bh-sidebar-close     { display: none; }
.bh-sidebar-overlay   { display: none; }

/* ── Large desktop: sidebar + 3 columns ── */
@media (min-width: 1025px) {
    .bh-shop-layout {
        grid-template-columns: 240px 1fr !important;
    }
    .bh-shop-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ── Tablet landscape (768px – 1024px): narrow sidebar + 2 columns ── */
@media (max-width: 1024px) {
    .bh-shop-layout {
        grid-template-columns: 210px 1fr !important;
        gap: 20px !important;
        padding: 20px 20px 50px !important;
    }
    .bh-shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

/* ══════════════════════════════════════════════════
   MOBILE (≤ 767px): SIDEBAR HIDDEN — FILTER DRAWER
   Best practice: no sidebar on mobile.
   Sidebar slides in as a drawer when user taps Filters.
══════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* Show mobile filter bar */
    .bh-mobile-filter-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 60px;
        z-index: 100;
    }

    /* Filter toggle button */
    .bh-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: #06b6d4;
        color: #ffffff;
        border: none;
        border-radius: 50px;
        padding: 8px 18px;
        font-size: 0.85rem;
        font-weight: 700;
        font-family: 'Inter', sans-serif;
        cursor: pointer;
        transition: background 0.2s;
        position: relative;
    }
    .bh-filter-toggle:hover { background: #0891b2; }

    /* Active filter dot indicator */
    .bh-filter-active-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #f59e0b;
        position: absolute;
        top: 6px;
        right: 10px;
    }

    /* Product count on mobile bar */
    .bh-mobile-count {
        font-size: 0.82rem;
        color: #64748b;
        font-weight: 600;
    }

    /* Layout becomes single column — sidebar is HIDDEN by default */
    .bh-shop-layout {
        grid-template-columns: 1fr !important;
        padding: 14px 14px 40px !important;
        gap: 0 !important;
    }

    /* SIDEBAR: hidden by default, slides in from left as drawer */
    .bh-shop-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        z-index: 1000 !important;
        transform: translateX(-110%) !important;
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1) !important;
        border-radius: 0 16px 16px 0 !important;
        box-shadow: 4px 0 24px rgba(0,0,0,0.12) !important;
        padding-bottom: 40px !important;
    }

    /* Sidebar open state */
    .bh-shop-sidebar.bh-sidebar-open {
        transform: translateX(0) !important;
    }

    /* Close button inside sidebar */
    .bh-sidebar-close {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin: 14px 14px 0;
        background: none;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 0.82rem;
        font-weight: 600;
        color: #64748b;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        transition: 0.2s;
    }
    .bh-sidebar-close:hover { color: #0f172a; border-color: #0f172a; }

    /* Overlay backdrop behind the drawer */
    .bh-sidebar-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15,23,42,0.45) !important;
        z-index: 999 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease !important;
    }
    .bh-sidebar-overlay.bh-overlay-active {
        opacity: 1 !important;
        pointer-events: all !important;
    }

    /* Product grid: 2 columns on tablet-mobile */
    .bh-shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .bh-shop-banner { padding: 36px 16px !important; }
    .bh-shop-banner h1 { font-size: clamp(1.3rem, 5vw, 1.9rem) !important; }
    .bh-shop-banner p  { font-size: 0.88rem !important; }

    .bh-shop-grid .bl-card .bl-card-img-wrap { height: 150px !important; }
}

/* ── Small mobile (≤ 480px): single column cards ── */
@media (max-width: 480px) {
    .bh-shop-layout { padding: 10px 10px 30px !important; }

    .bh-shop-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Card becomes horizontal row: image left, content right */
    .bh-shop-grid .bl-card {
        flex-direction: row !important;
        padding: 10px !important;
        align-items: center !important;
        gap: 12px !important;
        border-radius: 16px !important;
    }
    .bh-shop-grid .bl-card .bl-card-img-wrap {
        width: 90px !important;
        height: 90px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }
    .bh-shop-grid .bl-card h4 {
        font-size: 0.82rem !important;
        min-height: unset !important;
        padding: 0 0 4px !important;
    }
    .bh-shop-grid .bl-card .bl-card-foot {
        padding: 4px 0 0 !important;
        border-top: none !important;
    }
    .bh-shop-grid .bl-card .bl-card-price { font-size: 0.83rem !important; }
    .bh-shop-banner { padding: 26px 14px !important; }
    .bh-breadcrumb  { padding: 10px 14px !important; }
    .bh-mobile-filter-bar { top: 56px; }
}

/* ── Extra small (≤ 360px) ── */
@media (max-width: 360px) {
    .bh-shop-grid .bl-card .bl-card-img-wrap {
        width: 75px !important;
        height: 75px !important;
    }
    .bh-shop-grid .bl-card h4 { font-size: 0.76rem !important; }
    .bh-shop-grid .bl-card .bl-card-price { font-size: 0.78rem !important; }
}

/* ══════════════════════════════════════════════════════════
   BIOTECH-LAB GLOBAL RESPONSIVE OVERRIDES
   Covers all pages: cart, checkout, product-details, etc.
   Applied after all other rules so they always win.
══════════════════════════════════════════════════════════ */

/* Global container padding on mobile */
@media (max-width: 767px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .page-header .container {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
    .page-header h1 {
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
    }
}

/* ── Cart page: stack on mobile ── */
@media (max-width: 767px) {
    .bh-cart-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    /* Cart item rows: stack image + info */
    .bh-cart-layout > div:first-child > div {
        grid-template-columns: 80px 1fr !important;
        gap: 14px !important;
    }
    /* Order summary: remove sticky */
    .bh-cart-layout > div:last-child {
        position: static !important;
    }
}

/* ── Checkout page: stack on mobile ── */
@media (max-width: 767px) {
    .bh-checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    /* Checkout form inner grids: go single-col */
    .bh-checkout-layout .md-form-row,
    .bh-checkout-layout [style*="grid-template-columns: 1fr 1fr"],
    .bh-checkout-layout [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .bh-checkout-layout > div:last-child {
        position: static !important;
    }
}

/* ── Product details: stack on mobile ── */
@media (max-width: 767px) {
    .bh-pd-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 20px 14px !important;
    }
    .bh-pd-main-img {
        height: 280px !important;
    }
    .bh-pd-breadcrumb {
        padding: 12px 14px !important;
    }
}
@media (max-width: 480px) {
    .bh-pd-main-img {
        height: 220px !important;
        padding: 16px !important;
    }
    .bh-pd-qty-row {
        grid-template-columns: 1fr !important;
    }
}

/* ── Images: globally curved edges ── */
.bh-prod-img-wrap img,
.bh-cat-img-wrap img,
.bh-pd-main-img img,
.standard-product-image {
    border-radius: 12px !important;
}
.bh-prod-img-wrap,
.bh-cat-img-wrap {
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* ── Account / login / register pages ── */
@media (max-width: 767px) {
    /* Generic two-col page layouts → stack */
    [class*="account"] [style*="grid-template-columns"],
    [class*="login"] [style*="grid-template-columns"],
    [class*="register"] [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── Footer: responsive ── */
@media (max-width: 767px) {
    .bh-footer-inner,
    .bh-footer-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .bh-footer-nav {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
}

/* ── Prevent horizontal overflow globally ── */
*, *::before, *::after {
    max-width: 100%;
}
img, video, iframe, embed, object {
    max-width: 100% !important;
}
/* Allow grid/flex containers to overflow-x: scroll if needed on mobile */
@media (max-width: 480px) {
    table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* ── About-Us: Stats row 4-col → 2-col → 1-col ── */
@media (max-width: 767px) {
    .bh-about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 32px 20px !important;
        gap: 20px !important;
    }
}
@media (max-width: 480px) {
    .bh-about-stats {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── Contact page grid ── */
@media (max-width: 767px) {
    .bh-contact-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* ── Services page grid ── */
@media (max-width: 991px) {
    .bh-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px !important;
    }
}
@media (max-width: 580px) {
    .bh-services-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   UNIVERSAL MOBILE GRID COLLAPSE
   Catches ALL inline grid patterns so nothing breaks on mobile.
══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* ── Any 2-col inline grid → single column ── */
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns: 1fr 360px"],
    div[style*="grid-template-columns:1fr 340px"],
    div[style*="grid-template-columns: 1fr 340px"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns:2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* ── Any 3-col or 4-col inline grid → 2 columns ── */
    div[style*="repeat(3,"],
    div[style*="repeat(4,"],
    div[style*="repeat(3, "],
    div[style*="repeat(4, "] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    /* ── Any inline flex row with gap > 30px → wrap ── */
    div[style*="display:flex"][style*="gap:50px"],
    div[style*="display:flex"][style*="gap:60px"],
    div[style*="display: flex"][style*="gap: 50px"],
    div[style*="display: flex"][style*="gap: 60px"],
    div[style*="display:flex"][style*="gap:40px"],
    div[style*="display: flex"][style*="gap: 40px"] {
        flex-wrap: wrap !important;
    }

    /* ── Sticky sidebars → static on mobile ── */
    aside > div[style*="position:sticky"],
    aside > div[style*="position: sticky"],
    div[style*="position:sticky"] {
        position: static !important;
    }

    /* ── Clamp oversized inline fonts ── */
    div[style*="font-size:3rem"],
    div[style*="font-size: 3rem"],
    h1[style*="font-size:3rem"],
    h1[style*="font-size: 3rem"],
    div[style*="font-size:2.8rem"],
    div[style*="font-size:2.2rem"] {
        font-size: clamp(1.4rem, 5vw, 2rem) !important;
    }

    /* ── Large padding → smaller on mobile ── */
    div[style*="padding:100px"],
    div[style*="padding: 100px"],
    main[style*="padding: 100px"],
    main[style*="padding:100px"] {
        padding: 40px 16px !important;
    }
    div[style*="padding:80px"],
    div[style*="padding: 80px"],
    main[style*="padding: 80px"],
    main[style*="padding:80px"] {
        padding: 32px 16px !important;
    }
    div[style*="padding:60px"],
    div[style*="padding: 60px"] {
        padding: 28px 16px !important;
    }

    /* ── Oversized border-radius → reasonable on mobile ── */
    div[style*="border-radius:60px"],
    div[style*="border-radius:40px"],
    div[style*="border-radius: 60px"],
    div[style*="border-radius: 40px"] {
        border-radius: 20px !important;
    }
}

@media (max-width: 460px) {
    /* ── 3/4-col → single column on small phones ── */
    div[style*="repeat(3,"],
    div[style*="repeat(4,"],
    div[style*="repeat(3, "],
    div[style*="repeat(4, "] {
        grid-template-columns: 1fr !important;
    }

    /* ── Inline 2-col sub-grids (form rows etc) → single ── */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}


/* === EXTRACTED THEME STYLES (HEADER, FOOTER, HOME) === */


/* Stretched Link for Product Cards */
.bh-stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; content: ""; cursor: pointer; }

/* ── Global Reset for this theme ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #cce3f5;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ── Header ── */
.bh-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.bh-header-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bh-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ── Logo ── */
.bh-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.bh-logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.bh-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.bh-logo-text strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.bh-logo-text span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Search Bar ── */
.bh-search-wrap {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.bh-search-bar {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 0 6px 0 16px;
    height: 40px;
    transition: all 0.25s;
    width: 100%;
}
.bh-search-bar:focus-within {
    border-color: #06b6d4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}
.bh-search-icon {
    flex-shrink: 0;
    color: #94a3b8;
    margin-right: 10px;
}
.bh-search-bar:focus-within .bh-search-icon { color: #06b6d4; }
.bh-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.84rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    outline: none;
    min-width: 0;
}
.bh-search-input::placeholder { color: #94a3b8; font-weight: 500; }
.bh-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #06b6d4;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.bh-search-btn:hover { background: #0891b2; }

/* AJAX Search Results Dropdown */
.bh-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 3000;
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 0;
}
.bh-search-results--mobile,
.bh-search-results--mobile-header {
    position: relative;
    top: 6px;
    border-radius: 12px;
    max-height: 300px;
}
.bh-sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.bh-sr-item:hover { background: #f0f9ff; }
.bh-sr-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}
.bh-sr-info { flex: 1; min-width: 0; }
.bh-sr-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bh-sr-meta {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}
.bh-sr-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: #06b6d4;
    flex-shrink: 0;
}
.bh-sr-empty {
    padding: 20px 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #94a3b8;
}
.bh-sr-loading {
    padding: 16px;
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
}
.bh-sr-all {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #06b6d4;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
}
.bh-sr-all:hover { background: #f0f9ff; }

/* Mobile header search bar */
.bh-mobile-header-search {
    display: none;
    padding: 0 16px 10px;
    position: relative;
}
.bh-mobile-header-search .bh-search-bar { height: 36px; }
.bh-mobile-header-search .bh-search-btn { width: 26px; height: 26px; }

@media (max-width: 991px) {
    .bh-search-wrap { display: none; }
    .bh-mobile-header-search { display: block; }
}

/* ── Desktop Nav Bar (2-row menu) ── */
.bh-nav-bar {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.bh-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.bh-nav-item {
    position: relative;
}

.bh-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s;
    white-space: nowrap;
}

.bh-nav-link:hover,
.bh-nav-link.active {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.06);
}

.bh-nav-link.active {
    color: #06b6d4;
    font-weight: 700;
    background: rgba(6, 182, 212, 0.08);
}

.bh-nav-chevron {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ── Dropdown ── */
.bh-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 2000;
    padding: 8px 0;
}

.bh-nav-item:hover .bh-dropdown {
    display: block;
}

.bh-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: 0.2s;
}

.bh-dropdown a:hover {
    background: #f0f9ff;
    color: #06b6d4;
}

/* ── Header Actions ── */
.bh-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.bh-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s;
    position: relative;
}

.bh-action-link:hover {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.06);
}

.bh-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #06b6d4;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ── Mobile Toggle ── */
.bh-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}

.bh-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    transition: 0.3s;
}

/* ── Mobile Drawer ── */
.bh-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.bh-mobile-nav.open {
    transform: translateX(0);
}

.bh-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.bh-mobile-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
}

.bh-mobile-search {
    padding: 14px 18px 6px;
}

.bh-mobile-links {
    padding: 12px 0;
}

.bh-mobile-links a {
    display: block;
    padding: 13px 22px;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #f8fafc;
    transition: 0.2s;
}

.bh-mobile-links a:hover {
    color: #06b6d4;
    background: #f0f9ff;
}

.bh-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.bh-backdrop.open {
    display: block;
}

@media (max-width: 991px) {
    .bh-nav-bar { display: none; }
    .bh-mobile-toggle { display: flex; }
    .bh-mobile-nav { display: flex; }
}

@media (max-width: 600px) {
    .bh-header-inner { padding: 0 16px; }
}

/* ══════════════════════════════════════════
   BIOTECH HUB — FOOTER MENU
══════════════════════════════════════════ */
.bh-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
}

/* ── Top section ── */
.bh-footer-top {
    padding: 52px 0 40px;
}

.bh-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

/* ── Brand column ── */
.bh-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.bh-footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.bh-footer-logo-text strong {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.bh-footer-logo-text span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bh-footer-tagline {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 280px;
}

/* ── Social icons ── */
.bh-footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bh-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.bh-social-btn:hover {
    background: #06b6d4;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ── Menu columns ── */
.bh-footer-heading {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #06b6d4;
    display: inline-block;
}

.bh-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bh-footer-links--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
}

@media (max-width: 640px) {
    .bh-footer-links--2col {
        grid-template-columns: 1fr;
    }
}

.bh-footer-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bh-footer-links a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e2e8f0;
    flex-shrink: 0;
    transition: background 0.2s;
}

.bh-footer-links a:hover {
    color: #06b6d4;
    padding-left: 4px;
}

.bh-footer-links a:hover::before {
    background: #06b6d4;
}

/* ── Footer Bottom ── */
.bh-footer-bottom { border-top: 1px solid #f1f5f9; padding: 16px 0; background: #f8fafc; }
.bh-footer-bottom-inner { max-width: 1400px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bh-footer-bottom-links { display: flex; gap: 20px; }
.bh-footer-bottom-links a { font-size: 0.78rem; color: #94a3b8; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.bh-footer-bottom-links a:hover { color: #06b6d4; }

@media (max-width: 1024px) {
    .bh-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .bh-footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 24px; align-items: start; }
    .bh-footer-logo { grid-column: 1; grid-row: 1; }
    .bh-footer-tagline { grid-column: 2; grid-row: 1; margin-bottom: 0; }
    .bh-footer-social { grid-column: 1 / -1; grid-row: 2; margin-top: 16px; }
}
    background: transparent;
    font-size: 0.84rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    outline: none;
    min-width: 0;
}
.bh-search-input::placeholder { color: #94a3b8; font-weight: 500; }
.bh-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #06b6d4;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.bh-search-btn:hover { background: #0891b2; }

.bh-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 3000;
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 0;
}
.bh-search-results--mobile,
.bh-search-results--mobile-header {
    position: relative;
    top: 6px;
    border-radius: 12px;
    max-height: 300px;
}
.bh-sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.bh-sr-item:hover { background: #f0f9ff; }
.bh-sr-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}
.bh-sr-info { flex: 1; min-width: 0; }
.bh-sr-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bh-sr-meta {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}
.bh-sr-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: #06b6d4;
    flex-shrink: 0;
}
.bh-sr-empty {
    padding: 20px 16px;
    text-align: center;
    font-size: 0.82rem;
    color: #94a3b8;
}
.bh-sr-loading {
    padding: 16px;
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
}
.bh-sr-all {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #06b6d4;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
}
.bh-sr-all:hover { background: #f0f9ff; }

.bh-mobile-header-search {
    display: none;
    padding: 0 16px 10px;
    position: relative;
}
.bh-mobile-header-search .bh-search-bar { height: 36px; }
.bh-mobile-header-search .bh-search-btn { width: 26px; height: 26px; }

@media (max-width: 991px) {
    .bh-search-wrap { display: none; }
    .bh-mobile-header-search { display: block; }
}

.bh-nav-bar {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.bh-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.bh-nav-item {
    position: relative;
}

.bh-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s;
    white-space: nowrap;
}

.bh-nav-link:hover,
.bh-nav-link.active {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.06);
}

.bh-nav-link.active {
    color: #06b6d4;
    font-weight: 700;
    background: rgba(6, 182, 212, 0.08);
}

.bh-nav-chevron {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    flex-shrink: 0;
}

.bh-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 2000;
    padding: 8px 0;
}

.bh-nav-item:hover .bh-dropdown {
    display: block;
}

.bh-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: 0.2s;
}

.bh-dropdown a:hover {
    background: #f0f9ff;
    color: #06b6d4;
}

.bh-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.bh-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s;
    position: relative;
}

.bh-action-link:hover {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.06);
}

.bh-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #06b6d4;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.bh-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}

.bh-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    transition: 0.3s;
}

.bh-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.bh-mobile-nav.open {
    transform: translateX(0);
}

.bh-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.bh-mobile-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
}

.bh-mobile-search {
    padding: 14px 18px 6px;
}

.bh-mobile-links {
    padding: 12px 0;
}

.bh-mobile-links a {
    display: block;
    padding: 13px 22px;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #f8fafc;
    transition: 0.2s;
}

.bh-mobile-links a:hover {
    color: #06b6d4;
    background: #f0f9ff;
}

.bh-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.bh-backdrop.open {
    display: block;
}

@media (max-width: 991px) {
    .bh-nav-bar { display: none; }
    .bh-mobile-toggle { display: flex; }
    .bh-mobile-nav { display: flex; }
}

@media (max-width: 600px) {
    .bh-header-inner { padding: 0 16px; }
}

/* ── Home Page Styles (Extracted) ── */
.bh-home { background: #ffffff; }

.bh-hero-wrap {
    padding: 30px 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.bh-hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: #0b2340;
}

.bh-hero-slide-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.bh-hero-slide-bg.active { opacity: 0.55; }

.bh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(8,24,50,0.92) 0%,
        rgba(8,24,50,0.7) 45%,
        rgba(6,182,212,0.15) 100%);
    z-index: 1;
}

.bh-hero-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.bh-hero-icon {
    position: absolute;
    opacity: 0.07;
    color: #fff;
    animation: bhFloat 8s ease-in-out infinite;
}
.bh-hero-icon:nth-child(1) { top: 12%; right: 8%; animation-delay: 0s; }
.bh-hero-icon:nth-child(2) { top: 55%; right: 15%; animation-delay: 2s; }
.bh-hero-icon:nth-child(3) { bottom: 15%; right: 28%; animation-delay: 4s; }
.bh-hero-icon:nth-child(4) { top: 25%; right: 35%; animation-delay: 1s; }
.bh-hero-icon:nth-child(5) { bottom: 25%; right: 6%; animation-delay: 3s; }

@keyframes bhFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(6deg); }
}

.bh-hero-content {
    position: relative;
    z-index: 3;
    padding: 56px 60px;
    max-width: 600px;
}

.bh-hero-slide-content {
    display: none;
    animation: bhSlideIn 0.7s ease forwards;
}
.bh-hero-slide-content.active { display: block; }

@keyframes bhSlideIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6,182,212,0.15);
    border: 1px solid rgba(6,182,212,0.3);
    color: #67e8f9;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.bh-hero-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.bh-hero-title span { color: #67e8f9; }

.bh-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    line-height: 1.7;
    font-weight: 400;
}

.bh-hero-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.bh-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #06b6d4;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(6,182,212,0.35);
}
.bh-btn-explore:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6,182,212,0.45);
}

.bh-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.25s;
    backdrop-filter: blur(4px);
}
.bh-btn-ghost:hover {
    border-color: #06b6d4;
    background: rgba(6,182,212,0.1);
    color: #fff;
}

.bh-hero-dots {
    position: absolute;
    bottom: 28px;
    left: 60px;
    z-index: 4;
    display: flex;
    gap: 10px;
}
.bh-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}
.bh-hero-dot.active {
    background: #06b6d4;
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(6,182,212,0.5);
}

.bh-hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #67e8f9);
    z-index: 4;
    border-radius: 0 3px 3px 0;
    transition: width 0.3s linear;
}

.bh-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 50px;
}

.bh-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.bh-cat-slider-wrap {
    position: relative;
    overflow: hidden;
}
.bh-cat-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.bh-cat-card {
    flex: 0 0 180px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}
.bh-cat-card:hover {
    border-color: #06b6d4;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6,182,212,0.15);
}
.bh-cat-icon-box {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    overflow: hidden;
    position: relative;
}
.bh-cat-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.bh-cat-card:hover .bh-cat-icon-box img {
    transform: scale(1.06);
}
.bh-cat-icon-box .bh-cat-svg-icon {
    color: #06b6d4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bh-cat-label {
    padding: 10px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bh-cat-count {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    padding: 0 12px 10px;
}
.bh-cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
    color: #334155;
}
.bh-cat-arrow:hover { background: #06b6d4; color: #fff; border-color: #06b6d4; }
.bh-cat-arrow--left { left: 0; }
.bh-cat-arrow--right { right: 0; }

.bh-products-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
}

.bh-sidebar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.bh-filter-group {
    border-bottom: 1px solid #e2e8f0;
}

.bh-filter-group:last-child {
    border-bottom: none;
}

.bh-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.bh-filter-toggle:hover {
    background: #f1f5f9;
}

.bh-filter-toggle svg {
    transition: transform 0.2s;
    flex-shrink: 0;
    color: #64748b;
}

.bh-filter-toggle.open svg {
    transform: rotate(180deg);
}

.bh-filter-body {
    display: none;
    padding: 8px 16px 14px;
    background: #ffffff;
}

.bh-filter-body.open {
    display: block;
}

.bh-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.82rem;
    color: #475569;
    cursor: pointer;
}

.bh-filter-item input[type="checkbox"] {
    accent-color: #06b6d4;
    width: 14px;
    height: 14px;
}

.bh-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.bh-prod-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.bh-prod-card:hover {
    border-color: #06b6d4;
    box-shadow: 0 8px 28px rgba(6,182,212,0.14);
    transform: translateY(-4px);
}

.bh-prod-num {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 2;
}

.bh-prod-img-wrap {
    height: 160px;
    background: #f0f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bh-prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.3s;
}

.bh-prod-card:hover .bh-prod-img-wrap img {
    transform: scale(1.06);
}

.bh-prod-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bh-prod-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bh-prod-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bh-prod-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bh-star {
    color: #f59e0b;
    font-size: 0.8rem;
}

.bh-star-count {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.bh-prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.bh-prod-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.bh-btn-view {
    display: inline-block;
    background: #06b6d4;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.bh-btn-view:hover {
    background: #0891b2;
    transform: scale(1.04);
}

@media (min-width: 1201px) {
    .bh-products-grid    { grid-template-columns: repeat(4, 1fr); }
    .bh-products-layout  { grid-template-columns: 180px 1fr; }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .bh-products-grid   { grid-template-columns: repeat(4, 1fr); }
    .bh-products-layout { grid-template-columns: 1fr !important; }
    .bh-sidebar         { display: none; }
}

@media (max-width: 991px) {
    .bh-products-layout {
        grid-template-columns: 1fr !important;
    }
    .bh-sidebar { display: none; }
    .bh-products-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .bh-hero-card       { min-height: 360px; }
}

@media (max-width: 767px) {
    .bh-hero-wrap       { padding: 14px 14px 24px; }
    .bh-hero-card       { min-height: 320px; }
    .bh-hero-content    { padding: 36px 28px; max-width: 100%; }
    .bh-hero-title      { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
    .bh-hero-sub        { font-size: 0.88rem; }
    .bh-hero-icons      { display: none; }
    .bh-hero-dots       { left: 28px; bottom: 20px; }
    .bh-hero-badge      { font-size: 0.65rem; padding: 4px 10px; }
    .bh-hero-btns       { flex-direction: column; align-items: flex-start; gap: 10px; }
    .bh-btn-ghost       { padding: 10px 20px; font-size: 0.82rem; }
    .bh-section         { padding: 0 14px 36px; }
    .bh-cat-card { flex: 0 0 150px; }
    .bh-cat-icon-box { height: 90px; }
    .bh-products-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bh-sidebar { display: none; }
}

@media (max-width: 480px) {
    .bh-hero-wrap    { padding: 10px 10px 20px; }
    .bh-hero-card    { min-height: 280px; }
    .bh-hero-content { padding: 28px 20px; }
    .bh-hero-title   { font-size: clamp(1.3rem, 7vw, 1.8rem) !important; letter-spacing: 0; }
    .bh-hero-sub     { font-size: 0.82rem; margin-bottom: 20px; }
    .bh-btn-explore  { padding: 10px 22px; font-size: 0.82rem; }
    .bh-btn-ghost    { padding: 8px 16px; font-size: 0.78rem; }
    .bh-hero-dots    { left: 20px; bottom: 16px; gap: 8px; }
    .bh-hero-dot     { width: 8px; height: 8px; }
    .bh-hero-dot.active { width: 24px; }
    .bh-section      { padding: 0 10px 28px; }
    .bh-section-title { font-size: 0.88rem; }
    .bh-cat-card { flex: 0 0 140px; }
    .bh-cat-icon-box { height: 80px; }
    .bh-cat-arrow { width: 28px; height: 28px; }
    .bh-products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
    .bh-prod-card {
        flex-direction: row !important;
        align-items: center;
    }
    .bh-prod-img-wrap {
        width: 90px !important;
        height: 90px !important;
        flex-shrink: 0;
    }
    .bh-prod-body { gap: 4px; }
    .bh-prod-name { font-size: 0.8rem !important; }
    .bh-prod-desc { display: none; }
    .bh-prod-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .bh-btn-view {
        padding: 5px 10px !important;
        font-size: 0.62rem !important;
        width: auto;
        text-align: center;
        box-sizing: border-box;
    }
    .bh-prod-price { font-size: 0.82rem !important; }
}

@media (min-width: 481px) and (max-width: 767px) {
    .bh-prod-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    .bh-btn-view {
        padding: 5px 12px !important;
        font-size: 0.65rem !important;
        width: auto;
        text-align: center;
        box-sizing: border-box;
    }
    .bh-prod-price { font-size: 0.82rem !important; }
}

@media (max-width: 360px) {
    .bh-hero-content { padding: 22px 16px; }
    .bh-cat-card { flex: 0 0 120px; }
    .bh-cat-label { font-size: 0.65rem; }
}

.bh-products-grid {
    position: relative;
}
.bh-prod-card {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.bh-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.bh-review-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s;
}
.bh-review-card:hover {
    border-color: #06b6d4;
    box-shadow: 0 6px 20px rgba(6,182,212,0.1);
    transform: translateY(-3px);
}
.bh-review-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 1px; }
.bh-review-text {
    font-size: 0.88rem; color: #475569; line-height: 1.65; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.bh-review-author { font-size: 0.78rem; font-weight: 700; color: #0f172a; }
.bh-review-product { font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }

@media (max-width: 1200px) { .bh-reviews-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px)  { .bh-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .bh-reviews-grid { grid-template-columns: 1fr; } }

.bh-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.bh-why-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.25s;
}
.bh-why-card:hover {
    border-color: #06b6d4;
    box-shadow: 0 8px 24px rgba(6,182,212,0.1);
    transform: translateY(-4px);
}
.bh-why-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.5rem;
}
.bh-why-title { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.bh-why-desc { font-size: 0.88rem; color: #64748b; line-height: 1.65; }

@media (max-width: 767px) {
    .bh-why-grid { grid-template-columns: 1fr; gap: 16px; }
    .bh-why-card { padding: 28px 22px; }
}

.bh-blog-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Footer Styles (Extracted) ── */
.bh-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
}

.bh-footer-top {
    padding: 52px 0 40px;
}

.bh-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

.bh-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.bh-footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.bh-footer-logo-text strong {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.bh-footer-logo-text span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


.bh-pd-qty-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 8px;
.bh-pd-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.bh-pd-review-card {
    .bh-pd-rel-card { flex-direction: row; align-items: center; }
    .bh-pd-rel-img { width: 90px; height: 90px; flex-shrink: 0; }
    .bh-pd-rel-body { gap: 4px; }
}

/* --- Utility Classes --- */
.stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; content: ''; }
.bh-prod-card, .bh-cat-card, .bh-blog-card, .bh-review-card { position: relative !important; }

/* --- BIOTECH-LAB GLOBAL GRID OVERRIDES (4-COL DESKTOP / 2-COL MOBILE) --- */
.bh-products-grid, .bh-shop-grid, .bh-vendor-products, .bh-wishlist-grid, .bh-pd-related-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

@media (max-width: 991px) {
    .bh-products-grid, .bh-shop-grid, .bh-vendor-products, .bh-wishlist-grid, .bh-pd-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 480px) {
    .bh-products-grid, .bh-shop-grid, .bh-vendor-products, .bh-wishlist-grid, .bh-pd-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .bh-prod-img-wrap, .bh-pd-rel-img, .bh-pd-rel-card .bh-pd-rel-img {
        height: 140px !important;
        width: 100% !important;
    }
    .bh-prod-card, .bh-pd-rel-card {
        flex-direction: column !important;
        align-items: stretch !important;
    }
}

/* --- MOBILE CART ICON OVERRIDE --- */
@media (max-width: 768px) {
    .bh-btn-view {
        padding: 8px !important;
        border-radius: 50% !important;
        width: 32px !important;
        height: 32px !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .bh-btn-view .bh-btn-text {
        display: none !important;
    }
}

/* --- CATEGORY ICON (SVG) STYLING --- */
.bh-cat-custom-svg-wrap, .custom-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.bh-cat-custom-svg-wrap svg, .custom-cat-icon svg {
    width: 40px;
    height: 40px;
    max-width: 80%;
    max-height: 80%;
    fill: currentColor;
    display: block;
}
.cat-icon-box .bh-cat-custom-svg-wrap svg {
    width: 2.2rem;
    height: 2.2rem;
}
