/* ============================================
   BODY ORTHO CARE - PREMIUM STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #E6F0FA;
    --accent: #00B4D8;
    --accent-dark: #0096B4;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --white: #FFFFFF;
    --black: #0F172A;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --white: #0F172A;
    --black: #F8FAFC;
    --gray-50: #1E293B;
    --gray-100: #334155;
    --gray-200: #475569;
    --gray-300: #64748B;
    --gray-400: #94A3B8;
    --gray-500: #CBD5E1;
    --gray-600: #E2E8F0;
    --gray-700: #F1F5F9;
    --gray-800: #F8FAFC;
    --gray-900: #FFFFFF;
    --primary-light: #1E3A5F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    padding-top: 40px;
    font-family: var(--font-main);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    animation: loadProgress 2.5s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loader-text {
    color: var(--gray-500);
    font-size: 14px;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    z-index: 9999;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

.announcement-slider {
    position: relative;
    height: 40px;
}

.announcement-item {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    white-space: nowrap;
}

.announcement-item.active {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 40px;
    z-index: 100;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon {
    font-size: 28px;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-desktop a {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

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

.nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-bar input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    font-size: 14px;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 50;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    font-size: 20px;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 16px;
    box-shadow: var(--shadow-lg);
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

/* --- ISSUE 1 FIXED: High-end Glassmorphic Overlay --- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(15, 23, 42, 0.2));
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-trust {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.trust-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--gray-100);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

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

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 18px;
}

/* ============================================
   SIGNATURE PRODUCT
   ============================================ */
.signature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.signature-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.signature-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.signature-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--danger);
    color: var(--white);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.signature-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.signature-content p {
    color: var(--gray-500);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 15px;
}

.signature-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.original-price {
    font-size: 20px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.discount {
    background: var(--danger);
    color: var(--white);
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.signature-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   SHOP BY PAIN
   ============================================ */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.pain-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pain-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pain-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
}

.pain-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   BODY MAP
   ============================================ */
.body-map-section {
    background: linear-gradient(135deg, var(--primary-light), var(--gray-100));
}

.body-map-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.body-svg {
    width: 300px;
    height: 500px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

.body-part {
    fill: var(--gray-300);
    stroke: var(--gray-400);
    stroke-width: 1;
    cursor: pointer;
    transition: var(--transition);
}

.body-part:hover {
    fill: var(--primary);
    stroke: var(--primary-dark);
    filter: drop-shadow(0 0 10px rgba(0,102,204,0.4));
}

.body-map-info {
    max-width: 400px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.body-map-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.body-map-info p {
    color: var(--gray-500);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
}

.product-wishlist:hover,
.product-wishlist.active {
    background: var(--danger);
    color: var(--white);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
    color: var(--gray-800);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: var(--warning);
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: var(--gray-400);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price .current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.product-price .original {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-actions-footer {
    display: flex;
    gap: 8px;
    padding: 0 20px 20px;
}

.product-actions-footer .btn {
    flex: 1;
    padding: 10px;
    font-size: 13px;
}
.products-main-fullwidth {
    width: 100%;
    min-height: 400px; 
}

#productsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    min-height: 200px;
}
/* ============================================
   DOCTOR RECOMMENDED
   ============================================ */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.doctor-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.doctor-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--primary-light);
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.doctor-title {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.doctor-info p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.doctor-badge {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ============================================
   BULK DEALS
   ============================================ */
.bulk-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.bulk-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.bulk-content p {
    opacity: 0.9;
    margin-bottom: 32px;
    font-size: 16px;
}

.bulk-tiers {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tier {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 100px;
}

.tier-range {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.tier-discount {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.bulk-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.testimonial-card .stars {
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--gray-800);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-400);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    color: var(--white);
}

.newsletter-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-box p {
    opacity: 0.9;
    margin-bottom: 32px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-family: var(--font-main);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

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

.social-links a:hover {
    color: var(--accent);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

.whatsapp-text {
    display: inline;
}

/* ============================================
   POPUP
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: popupIn 0.4s ease;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    background: var(--gray-200);
}

.popup-badge {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.popup-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.popup-content p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.popup-timer {
    margin-bottom: 24px;
}

.popup-timer span {
    font-size: 14px;
    color: var(--gray-500);
}

.timer {
    font-size: 32px;
    font-weight: 800;
    color: var(--danger);
    font-variant-numeric: tabular-nums;
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
    padding: 40px 0 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 24px;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--gray-500);
    font-size: 18px;
}

.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.filters-sidebar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--gray-200);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-group label:hover {
    color: var(--primary);
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.products-toolbar select {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    font-family: var(--font-main);
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pagination button.active,
.pagination button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   PRODUCT DETAILS
   ============================================ */
.product-details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 16px;
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.zoom-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    border-color: var(--primary);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.product-brand {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.product-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-short-desc {
    color: var(--gray-500);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-price-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
}

.stock-status {
    margin-bottom: 24px;
    font-weight: 600;
}

.stock-status.in-stock {
    color: var(--success);
}

.stock-status.out-stock {
    color: var(--danger);
}

.size-selector {
    margin-bottom: 24px;
}

.size-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.size-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.size-guide-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: underline;
}

.quantity-selector {
    margin-bottom: 24px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    width: fit-content;
}

.qty-control button {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-control button:hover {
    background: var(--gray-200);
}

.qty-control input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-main);
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.feature-item {
    font-size: 14px;
    color: var(--gray-600);
}

.product-tabs {
    margin-top: 32px;
}

.tab-buttons {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    color: var(--gray-600);
    line-height: 1.8;
}

.tab-content.active {
    display: block;
}

.related-products {
    margin-top: 80px;
}

.related-products h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.size-table th,
.size-table td {
    padding: 14px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.size-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.size-table tr:nth-child(even) {
    background: var(--gray-50);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 24px;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-item-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-info p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-600);
}

.summary-row.total {
    border-top: 2px solid var(--gray-200);
    margin-top: 12px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
}

.discount-row {
    display: flex;
    gap: 8px;
    padding: 16px 0;
}

.discount-row input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
}

.discount-row button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
}

.empty-cart,
.empty-wishlist {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.empty-cart h2,
.empty-wishlist h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.empty-cart p,
.empty-wishlist p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ============================================
   WISHLIST
   ============================================ */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wishlist-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    position: relative;
}

.wishlist-card .remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.wishlist-card .remove-btn:hover {
    background: var(--danger);
    color: var(--white);
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step.completed .step-number {
    background: var(--success);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
}

.checkout-step-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.checkout-step-content.active {
    display: block;
}

.checkout-step-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.checkout-cart-items {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.checkout-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.shipping-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.payment-method input {
    display: none;
}

.payment-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.payment-method input:checked + .payment-card {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-icon {
    font-size: 28px;
}

.payment-card strong {
    display: block;
    font-size: 16px;
}

.payment-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

.payment-details {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
    background: var(--gray-100);
    min-height: 100vh;
    display: flex;
}

/* --- ISSUE 7 FIXED: Account Authentication Styling --- */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.auth-form-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #0f172a;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #334155;
}

.auth-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.auth-form input:focus {
    border-color: #0284c7;
    outline: none;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s ease;
}

.google-btn:hover {
    background: #f8fafc;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
}

.auth-switch a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.form-options a {
    color: var(--primary);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.back-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-500);
}

.terms-check a {
    color: var(--primary);
}

.auth-image {
    position: relative;
    overflow: hidden;
}

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

.auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85), rgba(15, 23, 42, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.auth-overlay h2 {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

/* ============================================
   ACCOUNT PAGES
   ============================================ */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--gray-200);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.account-user {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.user-info h3 {
    font-size: 16px;
    font-weight: 700;
}

.user-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.account-main h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--gray-200);
    text-align: center;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
}

.dashboard-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.dashboard-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.orders-table-wrap {
    overflow-x: auto;
}

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

.orders-table th,
.orders-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.orders-table th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.delivered {
    background: #DCFCE7;
    color: #166534;
}

.status.shipped {
    background: #DBEAFE;
    color: #1E40AF;
}

.status.pending {
    background: #FEF3C7;
    color: #92400E;
}

.address-list {
    display: grid;
    gap: 16px;
}

.address-card {
    padding: 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.address-card.default {
    border-color: var(--primary);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.default-badge {
    font-size: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Orders Page */
.orders-filters {
    margin-bottom: 24px;
}

.orders-filters select {
    padding: 10px 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.order-number {
    font-weight: 700;
    color: var(--gray-800);
}

.order-date {
    font-size: 14px;
    color: var(--gray-500);
    margin-left: 12px;
}

.order-items {
    padding: 20px 24px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.order-item p {
    font-weight: 600;
    margin-bottom: 4px;
}

.order-item span {
    font-size: 14px;
    color: var(--gray-500);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whatsapp-section {
    text-align: center;
    margin-top: 60px;
    padding: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.whatsapp-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.whatsapp-section p {
    opacity: 0.9;
    margin-bottom: 24px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.value-item {
    text-align: center;
}

.value-item span {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.value-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 14px;
    margin: 0;
}

.trust-section {
    margin-bottom: 80px;
}

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

.trust-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

.trust-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.trust-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    color: var(--white);
}

.stats-grid .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
}

.stats-grid .stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   PRESCRIPTION PAGE
   ============================================ */
.prescription-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-card ol,
.info-card ul {
    padding-left: 20px;
    color: var(--gray-600);
    line-height: 2;
}

.prescription-upload {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.upload-form {
    margin-bottom: 40px;
}

.upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.upload-hint {
    font-size: 13px;
    color: var(--gray-400);
}

.file-preview {
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: none;
}

.prescription-history h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.prescription-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prescription-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.prescription-icon {
    font-size: 32px;
}

.prescription-details p {
    margin-bottom: 4px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.verified {
    background: #DCFCE7;
    color: #166534;
}

.status-badge.pending {
    background: #FEF3C7;
    color: #92400E;
}

/* ============================================
   BULK ORDER PAGE
   ============================================ */
.bulk-pricing-table {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
    margin-bottom: 40px;
}

.bulk-pricing-table h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

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

.tier-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.tier-card:hover,
.tier-card.highlight {
    border-color: var(--primary);
    background: var(--primary-light);
}

.tier-qty {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.tier-percent {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.tier-label {
    font-size: 13px;
    color: var(--gray-500);
}

.bulk-minimum {
    text-align: center;
    font-size: 16px;
    color: var(--gray-600);
}

.bulk-calculator {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
    margin-bottom: 40px;
}

.bulk-calculator h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.calculator-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.calculator-result {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.result-row.total {
    border-top: 2px solid var(--gray-300);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.result-row.per-unit {
    font-size: 14px;
    color: var(--gray-500);
}

.bulk-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.bulk-checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.bulk-checkout-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.bulk-checkout-form h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.bulk-checkout-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .product-grid,
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pain-grid,
    .tiers-grid,
    .trust-grid,
    .stats-grid,
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .signature-grid,
    .about-hero,
    .contact-layout,
    .products-layout,
    .cart-layout,
    .account-layout,
    .prescription-layout,
    .bulk-checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .bulk-banner {
        grid-template-columns: 1fr;
    }
    
    .doctor-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .product-grid,
    .wishlist-grid,
    .pain-grid,
    .tiers-grid,
    .trust-grid,
    .stats-grid,
    .dashboard-stats,
    .about-values,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-trust {
        gap: 24px;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-image {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .checkout-steps {
        gap: 20px;
    }
    
    .step-label {
        font-size: 12px;
    }
}

/* Mobile Menu Active */
.mobile-menu.active {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.6s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
/* ============================================
   FIX: CLEAN FULL-WIDTH PRODUCTS LAYOUT
   ============================================ */

.products-layout {
    display: block;
}

.products-main-fullwidth {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

#productsCount {
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-weight: 500;
}

#sortSelect {
    padding: 0.625rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 180px;
    font-family: var(--font-main);
}

#sortSelect:hover,
#sortSelect:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

/* ============================================
   FIX: PREMIUM PRODUCT CARD HOVER (Apple-Style)
   ============================================ */

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Glass sheen overlay */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 45%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.5) 55%,
        transparent 60%
    );
    background-size: 200% 200%;
    background-position: 100% 100%;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

/* Top reflection glow */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* HOVER STATE */
.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 0 60px rgba(0, 102, 204, 0.08);
    animation: glassGlow 3s ease-in-out infinite;
}

/* Animate sheen on hover */
.product-card:hover::before {
    opacity: 1;
    background-position: 0% 0%;
    transition: background-position 0.8s ease, opacity 0.3s ease;
}

.product-card:hover::after {
    opacity: 1;
}

/* Image zoom */
.product-card:hover .product-image img {
    transform: scale(1.08);
}

@keyframes glassGlow {
    0%, 100% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 102, 204, 0.1),
            0 0 60px rgba(0, 102, 204, 0.06);
    }
    50% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 102, 204, 0.2),
            0 0 80px rgba(0, 102, 204, 0.12);
    }
}

/* ============================================
   FIX: SIZE SELECTOR - Single Select + Active State
   ============================================ */

.size-selector {
    margin: 1.5rem 0;
}

.size-selector label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-options {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    align-items: center;
}

.size-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.size-btn:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ACTIVE STATE - Single selection highlight */
.size-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 
        0 4px 15px rgba(0, 102, 204, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    font-weight: 700;
}

/* Active glow ring */
.size-btn.active::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    border: 2px solid rgba(0, 102, 204, 0.3);
    pointer-events: none;
    animation: sizePulse 2s ease-in-out infinite;
}

@keyframes sizePulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.size-guide-link {
    margin-left: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.size-guide-link:hover {
    color: var(--primary);
}

/* ============================================
   FIX: BUY NOW BUTTON STYLES
   ============================================ */

.btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.product-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
    .products-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .product-actions .btn {
        min-width: 120px;
    }
}
/* ============================================
   MOBILE PRODUCT GRID, HERO, AND HEADER FIXES
   ============================================ */
@media (max-width: 768px) {
    .products-grid,
    .product-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-card,
    .wishlist-card {
        width: 100%;
        min-width: 0;
        border-radius: 16px;
        overflow: hidden;
    }

    .product-image {
        height: 150px;
        aspect-ratio: auto;
        object-fit: cover;
    }

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

    .product-info {
        padding: 10px;
    }

    .product-brand {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .product-name {
        font-size: 14px;
        line-height: 1.3;
        min-height: 38px;
        overflow-wrap: anywhere;
    }

    .product-rating {
        gap: 4px;
        margin-bottom: 8px;
    }

    .stars,
    .rating-count {
        font-size: 11px;
    }

    .product-price {
        font-size: 15px;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .product-price .current {
        font-size: 15px;
    }

    .product-price .original {
        font-size: 12px;
    }

    .product-actions-footer {
        flex-direction: column;
        gap: 8px;
        padding: 0 10px 10px;
    }

    .product-actions-footer .btn {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        white-space: normal;
    }

    .product-wishlist {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 52px);
        font-size: 9px;
        padding: 3px 7px;
        white-space: normal;
    }

    .hero {
        min-height: 70vh;
        padding: 120px 20px 60px;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        align-items: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title,
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle,
    .hero p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 36px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        justify-content: center;
    }

    .header-inner {
        gap: 12px;
        padding: 10px 0;
    }

    .header-actions {
        gap: 8px;
        margin-left: auto;
    }

    .action-btn,
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
        flex: 1 0 100%;
    }
}

@media (max-width: 400px) {
    .products-grid,
    .product-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        gap: 10px;
    }

    .product-image {
        height: 130px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-price,
    .product-price .current {
        font-size: 14px;
    }

    .product-actions-footer .btn {
        font-size: 12px;
        padding: 9px 6px;
    }
}


/* English header label sizing */
.action-btn,
.theme-toggle {
    width: auto;
    min-width: 42px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.product-wishlist {
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .action-btn,
    .theme-toggle {
        width: auto;
        min-width: 38px;
        padding: 0 8px;
        font-size: 11px;
    }
}

/* Restored logo and emoji icon buttons */
.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    flex-shrink: 0;
}

.action-btn,
.theme-toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
}

.search-btn,
.mobile-menu-btn,
.product-wishlist {
    line-height: 1;
}

@media (max-width: 768px) {
    .logo-img {
        width: 38px;
        height: 38px;
    }

    .action-btn,
    .theme-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
        padding: 0;
        font-size: 18px;
    }
}

/* Final premium ecommerce layout fixes */
.hero-buttons {
    gap: 12px;
    margin-bottom: 42px;
}

.hero-buttons .btn,
.hero-buttons .btn-lg {
    padding: 12px 24px;
    min-height: 44px;
    font-size: 14px;
    border-radius: 12px;
}

.product-grid,
.products-grid,
.wishlist-grid,
#productsGrid,
#featuredProducts,
#bestSellers,
#relatedProducts,
#recentlyViewed,
#wishlistGrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px;
}

.product-card,
.wishlist-card {
    min-width: 0;
    height: 100%;
}

.product-card .product-name,
.wishlist-card .product-name {
    overflow-wrap: anywhere;
}

.product-details-layout {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 56px;
}

.product-gallery {
    position: sticky;
    top: 112px;
}

.main-image {
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.main-image img {
    height: 380px;
    object-fit: contain;
    background: var(--white);
    padding: 18px;
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.thumbnail-list img {
    width: 100%;
    height: 72px;
    object-fit: contain;
    background: var(--white);
}

.product-details-layout > .product-info {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.product-info h1,
#productName {
    font-size: 28px;
    line-height: 1.18;
    margin-bottom: 12px;
}

.product-short-desc {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.product-price-block {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-actions .btn,
.product-actions .btn-lg {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    min-height: 44px;
    font-size: 14px;
    border-radius: 12px;
    white-space: normal;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-tabs {
    margin-top: 18px;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tab-btn {
    min-width: 0;
    white-space: normal;
}

.tab-content {
    line-height: 1.65;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .product-grid,
    .products-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        gap: 14px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-lg {
        width: 100%;
        padding: 11px 10px;
        min-height: 42px;
        font-size: 13px;
    }

    .product-details-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-gallery {
        position: static;
    }

    .main-image img {
        height: 280px;
        padding: 12px;
    }

    .product-details-layout > .product-info {
        padding: 16px;
    }

    .product-info h1,
    #productName {
        font-size: 22px;
    }

    .product-actions,
    .product-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-actions .btn,
    .product-actions .btn-lg {
        padding: 10px 8px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .product-grid,
    .products-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        gap: 10px;
    }

    .main-image img {
        height: 230px;
    }
}

/* Site-wide double-grid presentation */
.pain-grid,
.doctor-grid,
.trust-grid,
.stats-grid,
.about-values,
.contact-info,
.tiers-grid,
.dashboard-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px;
}

.product-actions-footer {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.product-actions-footer .btn {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    font-size: 13px;
    white-space: normal;
}

@media (max-width: 768px) {
    .pain-grid,
    .doctor-grid,
    .trust-grid,
    .stats-grid,
    .about-values,
    .contact-info,
    .tiers-grid,
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }

    .product-actions-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0 10px 10px;
    }

    .product-actions-footer .btn {
        padding: 9px 6px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .pain-grid,
    .doctor-grid,
    .trust-grid,
    .stats-grid,
    .about-values,
    .contact-info,
    .tiers-grid,
    .dashboard-stats {
        gap: 10px;
    }
}

/* Checkout validation and customer review polish */
.empty-checkout {
    padding: 18px;
    border: 1px dashed var(--gray-300);
    border-radius: 12px;
    color: var(--gray-500);
    background: var(--gray-50);
}

.review-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--gray-50);
}

.review-form h4 {
    margin: 0;
    font-size: 18px;
}

.review-stars {
    display: flex;
    gap: 6px;
}

.review-star-btn {
    border: 0;
    background: transparent;
    color: var(--gray-300);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 2px;
}

.review-star-btn.active,
.review-star-btn:hover,
.review-star-btn:hover ~ .review-star-btn {
    color: var(--warning);
}

.customer-reviews-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.customer-review {
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
}

.customer-review span {
    display: block;
    color: var(--gray-400);
    font-size: 12px;
    margin-top: 2px;
}

.customer-review p {
    margin-top: 8px;
    color: var(--gray-600);
}


/* ============================================
   SHOPIFY-STYLE PROFESSIONAL STOREFRONT POLISH
   ============================================ */
:root {
    --primary: #0b5cab;
    --primary-dark: #073f78;
    --accent: #16a34a;
    --accent-dark: #15803d;
    --ink: #122033;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
}

body { background: #f6f8fb; color: var(--ink); letter-spacing: 0; }
.announcement-bar { background: #0f2f55; font-weight: 700; letter-spacing: .01em; }
.header { background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(15,23,42,.1); }
.header-inner { padding: 12px 0; }
.logo-text { font-size: 16px; letter-spacing: .02em; color: #123b70; }
.nav-desktop { gap: 22px; }
.nav-desktop a { font-size: 14px; font-weight: 700; }
.search-bar input, #sortSelect, .form-group input, .form-group select, .form-group textarea { border-radius: 8px; border: 1px solid var(--gray-200); background: #fff; }
.search-btn, .action-btn, .theme-toggle, .mobile-menu-btn { width: auto; min-width: 46px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-700); font-size: 12px; font-weight: 800; box-shadow: var(--shadow-sm); }
.action-btn:hover, .theme-toggle:hover, .search-btn:hover, .mobile-menu-btn:hover { color: var(--primary); border-color: rgba(11,92,171,.35); background: #f4f9ff; }
.badge { background: var(--accent); border: 2px solid #fff; }
.hero { min-height: 76vh; background: #eaf4fb; }
.hero-overlay { background: linear-gradient(90deg, rgba(5, 26, 52, .82) 0%, rgba(5, 26, 52, .58) 38%, rgba(5, 26, 52, .08) 72%); }
.hero-content { color: #fff; max-width: 650px; padding: 44px 0; }
.hero-title { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: 0; }
.hero-title .highlight { color: #86efac; }
.hero-subtitle { color: rgba(255,255,255,.9); }
.btn { border-radius: 8px; min-height: 44px; font-weight: 800; box-shadow: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-accent:hover, .btn-outline:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-secondary, .btn-outline { border-color: var(--gray-300); }
.hero-trust { gap: 14px; }
.trust-item { min-width: 138px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); text-align: left; }
.trust-number { color: #fff; font-size: 28px; }
.trust-label { color: rgba(255,255,255,.78); opacity: 1; }
.section { padding: 68px 0; }
.section-header { margin-bottom: 34px; }
.section-label { color: var(--accent-dark); letter-spacing: .08em; }
.page-header { padding: 52px 0 28px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.page-header h1, .section-header h2 { color: var(--ink); letter-spacing: 0; }
.product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px; }
.product-card, .wishlist-card, .doctor-card, .pain-card, .contact-card, .body-map-info, .newsletter-box, .product-details-layout > .product-info { border-radius: 8px; border: 1px solid var(--gray-200); background: #fff; box-shadow: 0 1px 0 rgba(15,23,42,.04); }
.product-card::before, .product-card::after { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); animation: none; }
.product-image { background: #f8fafc; aspect-ratio: 4 / 5; }
.product-image img { object-fit: contain; padding: 14px; background: #fff; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-badge, .signature-badge, .discount { border-radius: 999px; background: #0f2f55; letter-spacing: .04em; }
.product-wishlist { border: 1px solid var(--gray-200); color: var(--gray-700); }
.product-info { padding: 16px; }
.product-brand { color: var(--accent-dark); font-size: 11px; }
.product-name { min-height: 44px; font-size: 15px; color: var(--ink); }
.product-price .current, .current-price { color: var(--primary-dark); }
.product-actions-footer { padding: 0 16px 16px; }
.product-actions-footer .btn { font-size: 12px; min-height: 38px; }
.signature-product, .featured-products, .testimonials { background: #fff; }
.signature-grid, .bulk-banner { border-radius: 8px; }
.signature-image { border-radius: 8px; box-shadow: var(--shadow-md); background: #fff; }
.pain-card { padding: 26px 20px; text-align: left; }
.pain-card:hover, .doctor-card:hover, .contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bulk-banner { background: linear-gradient(135deg, #0f2f55, #0b5cab); box-shadow: var(--shadow-lg); }
.footer { background: #071d36; color: rgba(255,255,255,.82); }
.footer .logo-text, .footer h4 { color: #fff; }
.footer a:hover, .contact-line a, .contact-card a { color: var(--accent); }
.whatsapp-float { background: #1fa855; border-radius: 999px; min-width: 58px; height: 50px; padding: 0 18px; font-size: 13px; font-weight: 800; }
.popup-content { border-radius: 8px; }
@media (max-width: 1024px) { .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .header-inner { gap: 10px; }
    .logo-text { font-size: 13px; }
    .search-btn, .action-btn, .theme-toggle, .mobile-menu-btn { min-width: 38px; height: 36px; padding: 0 8px; font-size: 10px; }
    .hero { min-height: 68vh; padding: 88px 0 42px; }
    .hero-overlay { background: linear-gradient(180deg, rgba(5,26,52,.82), rgba(5,26,52,.5)); }
    .hero-content { text-align: left; }
    .hero-buttons { grid-template-columns: 1fr; }
    .trust-item { min-width: calc(50% - 8px); }
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
    .product-image { height: auto; aspect-ratio: 1 / 1; }
    .product-image img { padding: 8px; }
    .product-info { padding: 11px; }
    .product-name { font-size: 13px; min-height: 38px; }
    .product-actions-footer { padding: 0 10px 10px; }
    .product-actions-footer .btn { font-size: 11px; padding: 8px 4px; }
    .pain-grid, .doctor-grid, .trust-grid, .stats-grid, .about-values, .contact-info, .tiers-grid, .dashboard-stats { grid-template-columns: 1fr !important; }
}

/* ============================================
   FINAL STORE QUALITY REFINEMENTS
   ============================================ */
.header-actions { flex-wrap: nowrap; }
.action-btn span:first-child, .theme-toggle, .mobile-menu-btn, .search-btn { letter-spacing: 0; }
.mobile-menu { border-radius: 0 0 8px 8px; }
.hero-bg img { object-position: center; }
.hero-buttons .btn { min-width: 150px; }

.feature-list li { position: relative; padding-left: 26px; color: var(--gray-700); }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22,163,74,.14); }

.product-card { display: flex; flex-direction: column; }
.product-info { flex: 1; }
.product-actions-footer { margin-top: auto; }
.product-wishlist { width: auto; min-width: 46px; height: 32px; border-radius: 999px; padding: 0 10px; font-size: 11px; font-weight: 800; }
.product-wishlist:hover, .product-wishlist.active { background: #ecfdf5; color: var(--accent-dark); border-color: rgba(22,163,74,.35); }
.product-rating { min-height: 22px; }

.pain-card h3, .contact-card h3, .doctor-info h3 { color: var(--ink); }
.pain-card p, .contact-card p, .doctor-info p { color: var(--gray-500); }
.pain-count { display: inline-flex; margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: #eef6ff; }

.contact-layout { align-items: start; }
.contact-info { align-items: stretch; }
.contact-card { min-height: 150px; }
.contact-card a, .footer a { overflow-wrap: anywhere; }
.contact-line { margin: 4px 0; }
.footer-contact, .footer-brand { display: grid; gap: 8px; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); }
.whatsapp-float span:empty { display: none; }
.whatsapp-float .whatsapp-text { display: inline; }

@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; }
    .nav-desktop { order: 3; width: 100%; justify-content: center; }
    .header-actions { margin-left: auto; }
}

@media (max-width: 768px) {
    body { padding-top: 36px; }
    .announcement-bar, .announcement-slider { height: 36px; }
    .header { top: 36px; }
    .nav-desktop { display: none; }
    .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 15px; }
    .signature-grid, .bulk-banner { grid-template-columns: 1fr; gap: 24px; }
    .signature-image img { height: 340px; object-fit: contain; background: #fff; padding: 16px; }
    .section { padding: 48px 0; }
    .page-header { padding-top: 36px; }
    .whatsapp-float { right: 14px; bottom: 14px; height: 46px; }
}

@media (max-width: 420px) {
    .logo-text { max-width: 120px; line-height: 1.1; }
    .header-actions { gap: 5px; }
    .search-btn, .action-btn, .theme-toggle, .mobile-menu-btn { font-size: 9px; min-width: 34px; padding: 0 6px; }
    .product-actions-footer { grid-template-columns: 1fr; }
    .trust-item { min-width: 100%; }
}

/* ============================================
   FIXED DARK PROFESSIONAL THEME + GLASS INTERACTIONS
   ============================================ */
:root,
[data-theme="dark"] {
    --primary: #4aa3ff;
    --primary-dark: #7cc0ff;
    --primary-light: rgba(74, 163, 255, 0.16);
    --accent: #4ade80;
    --accent-dark: #86efac;
    --success: #31d986;
    --warning: #ffcb47;
    --danger: #ff5b6b;
    --white: #101826;
    --black: #f8fbff;
    --gray-50: #0b1220;
    --gray-100: #101826;
    --gray-200: rgba(255,255,255,.1);
    --gray-300: rgba(255,255,255,.16);
    --gray-400: #8ea0b8;
    --gray-500: #a8b6c8;
    --gray-600: #c5d0df;
    --gray-700: #dde6f3;
    --gray-800: #eef5ff;
    --gray-900: #ffffff;
    --ink: #f8fbff;
    --glass: rgba(16, 24, 38, .64);
    --glass-strong: rgba(18, 29, 48, .82);
    --line: rgba(255,255,255,.12);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.25);
    --shadow-md: 0 14px 36px rgba(0,0,0,.34);
    --shadow-lg: 0 24px 70px rgba(0,0,0,.46);
    color-scheme: dark;
}

html, body {
    background: #0b1220;
}

body {
    color: var(--gray-700);
    background:
        radial-gradient(circle at 18% 0%, rgba(74,163,255,.15), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(74,222,128,.10), transparent 30%),
        linear-gradient(180deg, #0b1220 0%, #0d1524 42%, #0a101b 100%);
}

.theme-toggle { display: none !important; }

.announcement-bar {
    background: linear-gradient(90deg, #07111f, #102d4c, #07111f);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.header {
    background: rgba(10, 17, 30, .82);
    border-bottom: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 16px 44px rgba(0,0,0,.28);
}

.logo-text,
.nav-desktop a,
.mobile-menu a,
.page-header h1,
.section-header h2,
.signature-content h2,
.product-name,
.contact-card h3,
.doctor-info h3,
.footer .logo-text,
.footer h4 {
    color: #f8fbff;
}

.logo-img {
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

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

.search-bar input,
.form-group input,
.form-group select,
.form-group textarea,
#sortSelect {
    background: rgba(255,255,255,.08);
    color: #f8fbff;
    border-color: rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.search-bar input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(221,230,243,.62);
}

.search-suggestions,
.mobile-menu,
.product-card,
.wishlist-card,
.doctor-card,
.pain-card,
.contact-card,
.body-map-info,
.newsletter-box,
.product-details-layout > .product-info,
.auth-form-wrap,
.cart-summary,
.checkout-card,
.order-card,
.prescription-card,
.review-form,
.customer-review,
.bulk-calculator,
.tier-card,
.account-card {
    background: linear-gradient(145deg, rgba(17, 28, 47, .86), rgba(10, 17, 30, .7));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(16px) saturate(135%);
}

.search-btn,
.action-btn,
.mobile-menu-btn,
.product-wishlist,
.slider-btn,
.popup-close,
.quantity-btn,
.tab-btn,
.size-btn {
    background: rgba(255,255,255,.08);
    color: #f8fbff;
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
}

.icon-action,
.action-btn,
.search-btn,
.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.action-btn:hover,
.search-btn:hover,
.mobile-menu-btn:hover,
.product-wishlist:hover,
.slider-btn:hover,
.tab-btn:hover,
.size-btn:hover {
    transform: translateY(-3px) scale(1.08);
    background: rgba(255,255,255,.16);
    border-color: rgba(124,192,255,.42);
    box-shadow: 0 18px 42px rgba(0,0,0,.38), 0 0 38px rgba(74,163,255,.16), inset 0 1px 0 rgba(255,255,255,.12);
}

.product-wishlist.active,
.product-wishlist:hover {
    color: #ff7a92;
    background: rgba(255,91,107,.14);
    border-color: rgba(255,91,107,.38);
}

.badge {
    background: var(--danger);
    color: #fff;
    border-color: #101826;
}

.hero {
    background: #07111f;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(8,20,36,.78) 40%, rgba(8,20,36,.24) 76%),
        radial-gradient(circle at 28% 30%, rgba(74,163,255,.18), transparent 35%);
}

.hero-content,
.hero-subtitle,
.trust-label {
    color: rgba(248,251,255,.88);
}

.trust-item {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.btn {
    border-radius: 10px;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}

.btn-primary {
    color: #07111f;
    background: linear-gradient(135deg, #7cc0ff, #4aa3ff);
    border-color: rgba(124,192,255,.88);
}

.btn-accent {
    color: #1e1005;
    background: linear-gradient(135deg, #86efac, #4ade80);
    border-color: rgba(134,239,172,.90);
}

.btn-secondary,
.btn-outline {
    color: #f8fbff;
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.18);
}

.btn:hover {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 18px 42px rgba(0,0,0,.32), 0 0 36px rgba(74,163,255,.13);
}

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease, border-color .32s ease;
}

.product-card::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.22) 46%, rgba(124,192,255,.18) 52%, transparent 68%);
    transform: translateX(-120%);
    transition: transform .75s ease, opacity .28s ease;
    mix-blend-mode: screen;
}

.product-card::after {
    content: '';
    display: block;
    position: absolute;
    inset: -1px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(124,192,255,.22), transparent 58%);
    transition: opacity .28s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.035);
    border-color: rgba(124,192,255,.42);
    box-shadow: 0 28px 70px rgba(0,0,0,.46), 0 0 70px rgba(74,163,255,.13), inset 0 1px 0 rgba(255,255,255,.09);
}

.product-card:hover::before {
    opacity: 1;
    transform: translateX(120%);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    background: rgba(255,255,255,.06);
}

.product-image img,
.main-image img,
.signature-image img,
.thumbnail-list img {
    background: rgba(255,255,255,.92);
    border-radius: 8px;
}

.product-badge,
.signature-badge,
.discount,
.pain-count,
.doctor-badge {
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.section-header p,
.signature-content p,
.pain-card p,
.contact-card p,
.doctor-info p,
.product-short-desc,
.tab-content,
.footer,
.footer p,
.footer a {
    color: rgba(221,230,243,.76);
}

.body-map-section,
.signature-product,
.featured-products,
.testimonials,
.shop-by-pain,
.doctor-recommended,
.newsletter,
.page-content {
    background: transparent;
}

.bulk-banner,
.whatsapp-section {
    background: linear-gradient(135deg, rgba(16,45,76,.88), rgba(10,17,30,.78));
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.footer {
    background: #060d18;
    border-top: 1px solid rgba(255,255,255,.1);
}

.whatsapp-float {
    background: linear-gradient(135deg, #21d66b, #13964d);
    color: #fff;
    box-shadow: 0 16px 42px rgba(19,150,77,.38);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
}

.popup-content {
    background: linear-gradient(145deg, rgba(17, 28, 47, .96), rgba(10, 17, 30, .94));
    color: #f8fbff;
    border: 1px solid rgba(255,255,255,.13);
}

@media (max-width: 900px) {
    .header-inner { flex-wrap: nowrap; }
    .logo-text { font-size: 13px; max-width: 128px; line-height: 1.08; }
    .nav-desktop { display: none; }
    .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 768px) {
    body { padding-top: 36px; }
    .container { padding: 0 14px; }
    .header-inner { gap: 8px; padding: 9px 0; }
    .header-actions { gap: 6px; }
    .icon-action,
    .action-btn,
    .search-btn,
    .mobile-menu-btn {
        width: 36px;
        min-width: 36px;
        height: 36px;
        font-size: 17px;
        padding: 0;
    }
    .logo-img { width: 34px; height: 34px; }
    .hero { min-height: 66vh; padding: 74px 0 38px; }
    .hero-title { font-size: 31px; line-height: 1.08; }
    .hero-subtitle { font-size: 14px; line-height: 1.6; }
    .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .hero-buttons .btn { width: 100%; min-width: 0; }
    .hero-trust { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .trust-item { min-width: 0; }
    .section { padding: 42px 0; }
    .section-header { margin-bottom: 24px; }
    .product-grid,
    .products-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }
    .product-card:hover { transform: translateY(-5px) scale(1.015); }
    .product-info { padding: 10px; }
    .product-name { font-size: 13px; min-height: 40px; }
    .product-actions-footer { grid-template-columns: 1fr; padding: 0 10px 10px; }
    .product-actions-footer .btn { min-height: 36px; font-size: 11px; }
    .contact-layout, .auth-container, .checkout-layout, .cart-layout, .bulk-checkout-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 390px) {
    .logo-text { display: none; }
    .product-grid,
    .products-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid { gap: 10px; }
    .icon-action,
    .action-btn,
    .search-btn,
    .mobile-menu-btn { width: 34px; min-width: 34px; height: 34px; font-size: 16px; }
}

/* ============================================
   MOBILE RELIABILITY + PRODUCTS FALLBACK POLISH
   ============================================ */
.products-main-fullwidth { width: 100%; }
.products-toolbar {
    gap: 12px;
    flex-wrap: wrap;
}
.products-toolbar #productsCount { color: rgba(221,230,243,.78); }
#productsGrid:not(:empty) + .pagination:empty { display: none; }

@media (max-width: 900px) {
    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
    .header .search-bar {
        grid-column: 1 / -1;
        order: 4;
        width: 100%;
        max-width: none;
        margin-top: 8px;
    }
    .header-actions {
        justify-content: flex-end;
        margin-left: 0;
    }
    .mobile-menu.active {
        display: grid;
        gap: 4px;
        background: rgba(10,17,30,.96);
        backdrop-filter: blur(18px);
    }
}

@media (max-width: 620px) {
    .announcement-item { font-size: 11px; padding: 0 10px; }
    .page-header h1 { font-size: 28px; line-height: 1.15; }
    .page-header p { font-size: 14px; }
    .products-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    #sortSelect { width: 100%; min-width: 0; }
    .product-grid,
    .products-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
    .product-image { aspect-ratio: 1 / 1; }
    .product-image img { padding: 7px; }
    .product-brand { font-size: 9px; }
    .product-name { font-size: 12px; line-height: 1.25; min-height: 34px; }
    .stars, .rating-count { font-size: 10px; }
    .product-price { gap: 5px; }
    .product-price .current { font-size: 13px; }
    .product-price .original { font-size: 10px; }
    .product-actions-footer {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .product-actions-footer .btn {
        width: 100%;
        min-height: 34px;
        font-size: 10px;
        padding: 7px 5px;
    }
    .product-wishlist {
        min-width: 34px;
        width: 34px;
        height: 30px;
        padding: 0;
        font-size: 15px;
    }
    .product-badge {
        max-width: calc(100% - 50px);
        font-size: 8px;
        padding: 3px 6px;
    }
}

@media (max-width: 360px) {
    .product-grid,
    .products-grid,
    .wishlist-grid,
    #productsGrid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed,
    #wishlistGrid {
        grid-template-columns: 1fr !important;
    }
    .product-name { min-height: 0; }
    .header-actions { gap: 4px; }
}

/* ============================================
   DEPLOYMENT FINAL: MOBILE + LIGHT/DARK THEME
   ============================================ */
:root {
    --primary: #0b5cab;
    --primary-dark: #073f78;
    --primary-light: #eaf4ff;
    --accent: #16a34a;
    --accent-dark: #15803d;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --white: #ffffff;
    --black: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --ink: #0f172a;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --line: #e2e8f0;
    color-scheme: light;
}

[data-theme="dark"] {
    --primary: #4aa3ff;
    --primary-dark: #7cc0ff;
    --primary-light: rgba(74, 163, 255, 0.16);
    --accent: #4ade80;
    --accent-dark: #86efac;
    --success: #31d986;
    --warning: #ffcb47;
    --danger: #ff5b6b;
    --white: #101826;
    --black: #f8fbff;
    --gray-50: #0b1220;
    --gray-100: #101826;
    --gray-200: rgba(255,255,255,.1);
    --gray-300: rgba(255,255,255,.16);
    --gray-400: #8ea0b8;
    --gray-500: #a8b6c8;
    --gray-600: #c5d0df;
    --gray-700: #dde6f3;
    --gray-800: #eef5ff;
    --gray-900: #ffffff;
    --ink: #f8fbff;
    --surface: #101826;
    --surface-soft: #0b1220;
    --line: rgba(255,255,255,.12);
    color-scheme: dark;
}

html, body { background: var(--gray-50); }
body { color: var(--gray-800); background: var(--gray-50); }
[data-theme="dark"] body {
    color: var(--gray-700);
    background: radial-gradient(circle at 18% 0%, rgba(74,163,255,.15), transparent 34%), radial-gradient(circle at 82% 12%, rgba(74,222,128,.10), transparent 30%), linear-gradient(180deg, #0b1220 0%, #0d1524 42%, #0a101b 100%);
}

.theme-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: var(--surface);
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
}

[data-theme="light"] .header,
[data-theme="light"] .mobile-menu {
    background: rgba(255,255,255,.96);
    border-color: var(--gray-200);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    backdrop-filter: blur(14px);
}

[data-theme="light"] .logo-text,
[data-theme="light"] .nav-desktop a,
[data-theme="light"] .mobile-menu a,
[data-theme="light"] .page-header h1,
[data-theme="light"] .section-header h2,
[data-theme="light"] .signature-content h2,
[data-theme="light"] .product-name,
[data-theme="light"] .pain-card h3,
[data-theme="light"] .contact-card h3,
[data-theme="light"] .doctor-info h3,
[data-theme="light"] .review-form h4,
[data-theme="light"] .customer-review strong {
    color: #0f172a;
}

[data-theme="light"] .search-bar input,
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea,
[data-theme="light"] #sortSelect {
    background: #ffffff;
    color: #0f172a;
    border-color: var(--gray-200);
}

[data-theme="light"] .search-suggestions,
[data-theme="light"] .product-card,
[data-theme="light"] .wishlist-card,
[data-theme="light"] .doctor-card,
[data-theme="light"] .pain-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .body-map-info,
[data-theme="light"] .newsletter-box,
[data-theme="light"] .product-details-layout > .product-info,
[data-theme="light"] .auth-form-wrap,
[data-theme="light"] .cart-summary,
[data-theme="light"] .checkout-card,
[data-theme="light"] .order-card,
[data-theme="light"] .prescription-card,
[data-theme="light"] .review-form,
[data-theme="light"] .customer-review,
[data-theme="light"] .bulk-calculator,
[data-theme="light"] .tier-card,
[data-theme="light"] .account-card {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(15,23,42,.07);
    backdrop-filter: none;
}

[data-theme="light"] .section-header p,
[data-theme="light"] .signature-content p,
[data-theme="light"] .pain-card p,
[data-theme="light"] .contact-card p,
[data-theme="light"] .doctor-info p,
[data-theme="light"] .product-short-desc,
[data-theme="light"] .tab-content,
[data-theme="light"] .customer-review p,
[data-theme="light"] .footer p,
[data-theme="light"] .footer a {
    color: #475569;
}

[data-theme="light"] .body-map-section,
[data-theme="light"] .signature-product,
[data-theme="light"] .featured-products,
[data-theme="light"] .testimonials,
[data-theme="light"] .shop-by-pain,
[data-theme="light"] .doctor-recommended,
[data-theme="light"] .newsletter,
[data-theme="light"] .page-content {
    background: #ffffff;
}

[data-theme="light"] .search-btn,
[data-theme="light"] .action-btn,
[data-theme="light"] .mobile-menu-btn,
[data-theme="light"] .product-wishlist,
[data-theme="light"] .slider-btn,
[data-theme="light"] .popup-close,
[data-theme="light"] .quantity-btn,
[data-theme="light"] .tab-btn,
[data-theme="light"] .size-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(15,23,42,.06);
}

[data-theme="light"] .hero { background: #eaf4fb; }
[data-theme="light"] .hero-overlay { background: linear-gradient(90deg, rgba(5,26,52,.76) 0%, rgba(5,26,52,.48) 38%, rgba(5,26,52,.06) 76%); }
[data-theme="light"] .hero-content,
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .trust-label { color: #ffffff; }
[data-theme="light"] .hero-title .highlight { color: #86efac; }
[data-theme="light"] .trust-item { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); }
[data-theme="light"] .trust-number { color: #ffffff; }

[data-theme="light"] .bulk-banner { background: linear-gradient(135deg, #0f2f55, #0b5cab); color: #ffffff; }
[data-theme="light"] .bulk-banner h2,
[data-theme="light"] .bulk-banner p,
[data-theme="light"] .bulk-banner .section-label { color: #ffffff; }
[data-theme="light"] .footer { background: #071d36; color: rgba(255,255,255,.82); }
[data-theme="light"] .footer .logo-text,
[data-theme="light"] .footer h4 { color: #ffffff; }

.hero { min-height: 74vh; }
.hero-bg img { object-position: center center; }
.hero-content { max-width: 650px; }

@media (max-width: 768px) {
    body { padding-top: 36px; }
    .container { padding: 0 14px; }
    .announcement-bar, .announcement-slider { height: 36px; }
    .announcement-item { font-size: 11px; white-space: normal; line-height: 1.25; }
    .header { top: 36px; }
    .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; padding: 8px 0; }
    .logo-img { width: 34px; height: 34px; }
    .logo-text { font-size: 12px; max-width: 112px; line-height: 1.08; }
    .header-actions { gap: 5px; }
    .icon-action, .action-btn, .search-btn, .theme-toggle, .mobile-menu-btn { width: 34px; min-width: 34px; height: 34px; font-size: 15px; padding: 0; }
    .hero { min-height: 430px; height: auto; padding: 48px 0 24px; align-items: flex-end; }
    .hero-bg img { object-fit: cover; object-position: 61% center; }
    .hero-overlay { background: linear-gradient(180deg, rgba(5,26,52,.18) 0%, rgba(5,26,52,.72) 46%, rgba(5,26,52,.92) 100%) !important; }
    .hero-content { max-width: 100%; padding: 0; text-align: left; }
    .hero-title { font-size: 27px; line-height: 1.1; margin-bottom: 10px; }
    .hero-subtitle { font-size: 13px; line-height: 1.45; margin-bottom: 14px; max-width: 96%; }
    .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
    .hero-buttons .btn { width: 100%; min-width: 0; min-height: 38px; padding: 8px 6px; font-size: 11px; border-radius: 8px; }
    .hero-buttons .btn-accent { grid-column: 1 / -1; }
    .hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .trust-item { min-width: 0; padding: 8px 6px; border-radius: 8px; text-align: center; }
    .trust-number { font-size: 18px; }
    .trust-label { font-size: 10px; line-height: 1.2; }
    .section { padding: 34px 0; }
    .section-header { margin-bottom: 18px; }
    .section-label { font-size: 10px; letter-spacing: .08em; }
    .section-header h2 { font-size: 24px; line-height: 1.15; }
    .section-header p { font-size: 13px; }
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
    .pain-card { padding: 14px 12px; border-radius: 8px; }
    .pain-card h3 { font-size: 14px; margin-bottom: 4px; }
    .pain-card p { font-size: 11px; line-height: 1.35; margin-bottom: 8px; }
    .pain-count { font-size: 10px; padding: 4px 7px; }
    .body-map-container { gap: 18px; }
    .body-svg { width: min(220px, 80vw); height: auto; max-height: 320px; }
    .body-map-info { padding: 16px; border-radius: 8px; width: 100%; }
    .body-map-info h3 { font-size: 18px; }
    .body-map-info p { font-size: 13px; }
    .bulk-banner { padding: 18px; grid-template-columns: 1fr; gap: 16px; border-radius: 8px; }
    .bulk-content h2 { font-size: 24px; line-height: 1.15; }
    .bulk-content p { font-size: 13px; line-height: 1.45; }
    .bulk-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .tier { padding: 10px; border-radius: 8px; }
    .tier-range { font-size: 11px; }
    .tier-discount { font-size: 13px; }
    .bulk-image img { max-height: 220px; width: 100%; object-fit: cover; border-radius: 8px; }
    .testimonial-track { gap: 10px; }
    .testimonial-card { min-width: 82%; padding: 14px; border-radius: 8px; }
    .testimonial-card .stars { font-size: 13px; margin-bottom: 8px; }
    .testimonial-card p { font-size: 12px; line-height: 1.45; margin-bottom: 10px; }
    .testimonial-author strong { font-size: 13px; }
    .testimonial-author span { font-size: 11px; }
    .slider-controls { margin-top: 14px; }
    .review-form { padding: 14px; gap: 10px; border-radius: 8px; }
    .review-form h4 { font-size: 16px; }
    .review-star-btn { font-size: 22px; }
    .reviews-summary { display: block; }
    .avg-rating { font-size: 32px; }
    .customer-review { padding: 12px; border-radius: 8px; }
    .customer-review p { font-size: 12px; line-height: 1.45; }
}

@media (max-width: 420px) {
    .hero { min-height: 405px; padding-top: 38px; }
    .hero-bg img { object-position: 64% center; }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 12px; }
    .hero-trust { grid-template-columns: repeat(3, 1fr); }
    .trust-label { font-size: 9px; }
    .pain-grid { grid-template-columns: 1fr 1fr !important; }
    .testimonial-card { min-width: 88%; }
}

/* ============================================
   FINAL GREEN MEDICAL UI SYSTEM - 2026
   Single source of truth for responsive theme polish
   ============================================ */
:root,
[data-theme="light"] {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #dff7f0;
    --accent: #16a34a;
    --accent-dark: #15803d;
    --accent-soft: #dcfce7;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --white: #ffffff;
    --black: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --ink: #0f172a;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-muted: #eef7f3;
    --line: #dbe7e2;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg: 0 18px 46px rgba(15, 23, 42, .12);
    --shadow-xl: 0 24px 70px rgba(15, 23, 42, .16);
    color-scheme: light;
}

[data-theme="dark"] {
    --primary: #5eead4;
    --primary-dark: #99f6e4;
    --primary-light: rgba(94, 234, 212, .16);
    --accent: #4ade80;
    --accent-dark: #86efac;
    --accent-soft: rgba(74, 222, 128, .16);
    --success: #4ade80;
    --warning: #facc15;
    --danger: #fb7185;
    --white: #101826;
    --black: #f8fafc;
    --gray-50: #07110f;
    --gray-100: #101826;
    --gray-200: rgba(255,255,255,.11);
    --gray-300: rgba(255,255,255,.18);
    --gray-400: #91a7a0;
    --gray-500: #adc2bc;
    --gray-600: #cad8d4;
    --gray-700: #e4efeb;
    --gray-800: #f3fbf8;
    --gray-900: #ffffff;
    --ink: #ffffff;
    --surface: #101826;
    --surface-soft: #0b1412;
    --surface-muted: #13221e;
    --line: rgba(255,255,255,.13);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.28);
    --shadow-md: 0 14px 34px rgba(0,0,0,.34);
    --shadow-lg: 0 24px 64px rgba(0,0,0,.44);
    --shadow-xl: 0 30px 90px rgba(0,0,0,.54);
    color-scheme: dark;
}

* { min-width: 0; }
html { overflow-x: hidden; }
body {
    overflow-x: hidden;
    background: var(--gray-50) !important;
    color: var(--gray-800) !important;
    text-rendering: optimizeLegibility;
}
[data-theme="dark"] body {
    background:
        radial-gradient(circle at 18% 0%, rgba(94,234,212,.14), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(74,222,128,.10), transparent 30%),
        linear-gradient(180deg, #07110f 0%, #0b1412 46%, #060d0b 100%) !important;
    color: var(--gray-700) !important;
}

.announcement-bar { background: linear-gradient(90deg, var(--primary-dark), var(--accent), var(--primary-dark)) !important; color: #ffffff !important; }
.header {
    background: color-mix(in srgb, var(--surface) 92%, transparent) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 10px 32px rgba(15,23,42,.08);
    backdrop-filter: blur(18px) saturate(150%);
}
[data-theme="dark"] .header { box-shadow: 0 16px 44px rgba(0,0,0,.30); }
.logo-text, .page-header h1, .section-header h2, .signature-content h2, .product-name, .product-name a,
.pain-card h3, .doctor-info h3, .contact-card h3, .review-form h4, .customer-review strong,
.product-details-layout h1, .related-products h2, .bulk-content h2, .newsletter-box h2 { color: var(--ink) !important; }
.nav-desktop a, .mobile-menu a { color: var(--gray-600) !important; }
.nav-desktop a:hover, .nav-desktop a.active, .mobile-menu a:hover { color: var(--primary) !important; }
[data-theme="dark"] .nav-desktop a:hover, [data-theme="dark"] .nav-desktop a.active, [data-theme="dark"] .mobile-menu a:hover { color: var(--primary-dark) !important; }

.search-bar input, .form-group input, .form-group select, .form-group textarea, #sortSelect,
.quantity-input, .coupon-input, input, select, textarea {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
    caret-color: var(--primary);
}
.search-bar input::placeholder, .form-group input::placeholder, textarea::placeholder { color: var(--gray-400) !important; }

.search-btn, .action-btn, .theme-toggle, .mobile-menu-btn, .product-wishlist, .slider-btn, .popup-close,
.quantity-btn, .tab-btn, .size-btn, .remove-btn, .modal-close {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm) !important;
}
.search-btn:hover, .action-btn:hover, .theme-toggle:hover, .mobile-menu-btn:hover, .product-wishlist:hover,
.slider-btn:hover, .popup-close:hover, .quantity-btn:hover, .tab-btn:hover, .size-btn:hover, .modal-close:hover {
    color: var(--primary-dark) !important;
    background: var(--primary-light) !important;
    border-color: color-mix(in srgb, var(--primary) 42%, var(--line)) !important;
    transform: translateY(-1px);
}
[data-theme="dark"] .search-btn:hover, [data-theme="dark"] .action-btn:hover, [data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .mobile-menu-btn:hover, [data-theme="dark"] .product-wishlist:hover, [data-theme="dark"] .slider-btn:hover,
[data-theme="dark"] .tab-btn:hover, [data-theme="dark"] .size-btn:hover, [data-theme="dark"] .modal-close:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.12) !important;
}

.badge, .product-badge, .signature-badge, .discount, .doctor-badge, .popup-badge {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}
.pain-count { background: var(--accent-soft) !important; color: var(--accent-dark) !important; }
[data-theme="dark"] .pain-count { color: #d1fae5 !important; }
.stars, .avg-stars, .review-star-btn.active { color: var(--warning) !important; }

.btn, button, a { -webkit-tap-highlight-color: transparent; }
.btn {
    border-radius: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    min-height: 42px;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease !important;
}
.btn-primary, .btn-success, .btn-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 22%, transparent) !important;
}
[data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-success, [data-theme="dark"] .btn-accent {
    color: #062018 !important;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark)) !important;
}
.btn-secondary, .btn-outline, .product-actions-footer .btn-outline {
    background: var(--surface) !important;
    color: var(--primary-dark) !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
}
[data-theme="dark"] .btn-secondary, [data-theme="dark"] .btn-outline, [data-theme="dark"] .product-actions-footer .btn-outline {
    color: #ffffff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(153,246,228,.54) !important;
}
.btn:hover, .product-actions-footer .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}
.product-actions-footer .btn, .product-actions .btn { white-space: nowrap; color: inherit; }
.product-actions-footer .btn-outline, .product-actions-footer .btn-outline:visited { color: var(--primary-dark) !important; }
[data-theme="dark"] .product-actions-footer .btn-outline, [data-theme="dark"] .product-actions-footer .btn-outline:visited { color: #ffffff !important; }

.search-suggestions, .mobile-menu, .product-card, .wishlist-card, .doctor-card, .pain-card, .contact-card, .body-map-info,
.newsletter-box, .product-details-layout > .product-info, .auth-form-wrap, .cart-summary, .checkout-card, .order-card,
.prescription-card, .review-form, .customer-review, .bulk-calculator, .tier-card, .account-card, .modal-content,
.popup-content, .main-image, .thumbnail-list img {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: none !important;
}
[data-theme="dark"] .search-suggestions, [data-theme="dark"] .mobile-menu, [data-theme="dark"] .product-card,
[data-theme="dark"] .wishlist-card, [data-theme="dark"] .doctor-card, [data-theme="dark"] .pain-card,
[data-theme="dark"] .contact-card, [data-theme="dark"] .body-map-info, [data-theme="dark"] .newsletter-box,
[data-theme="dark"] .product-details-layout > .product-info, [data-theme="dark"] .auth-form-wrap, [data-theme="dark"] .cart-summary,
[data-theme="dark"] .checkout-card, [data-theme="dark"] .order-card, [data-theme="dark"] .prescription-card,
[data-theme="dark"] .review-form, [data-theme="dark"] .customer-review, [data-theme="dark"] .bulk-calculator,
[data-theme="dark"] .tier-card, [data-theme="dark"] .account-card, [data-theme="dark"] .modal-content, [data-theme="dark"] .popup-content,
[data-theme="dark"] .main-image, [data-theme="dark"] .thumbnail-list img {
    background: linear-gradient(145deg, rgba(16,24,38,.94), rgba(8,17,14,.90)) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.13) !important;
    box-shadow: var(--shadow-lg) !important;
    backdrop-filter: blur(14px) saturate(130%) !important;
}
.section-header p, .signature-content p, .pain-card p, .doctor-info p, .contact-card p, .product-short-desc,
.tab-content, .customer-review p, .avg-count, .rating-count, .footer p, .footer a, .product-description,
.body-map-info p, .newsletter-box p { color: var(--gray-500) !important; }
[data-theme="dark"] .section-header p, [data-theme="dark"] .signature-content p, [data-theme="dark"] .pain-card p,
[data-theme="dark"] .doctor-info p, [data-theme="dark"] .contact-card p, [data-theme="dark"] .product-short-desc,
[data-theme="dark"] .tab-content, [data-theme="dark"] .customer-review p, [data-theme="dark"] .avg-count,
[data-theme="dark"] .rating-count, [data-theme="dark"] .footer p, [data-theme="dark"] .footer a,
[data-theme="dark"] .body-map-info p, [data-theme="dark"] .newsletter-box p { color: var(--gray-600) !important; }

.product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
    align-items: stretch;
}
.product-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    min-height: 100%;
    transform: translateZ(0);
}
.product-card::before, .product-card::after { display: none !important; }
.product-card:hover { transform: translateY(-4px) !important; border-color: color-mix(in srgb, var(--primary) 35%, var(--line)) !important; }
.product-image {
    aspect-ratio: 4 / 5 !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .product-image { background: rgba(255,255,255,.92) !important; }
.product-image img, .main-image img, .signature-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: clamp(8px, 2vw, 16px) !important;
    background: #ffffff !important;
    border-radius: 0 !important;
}
.product-info { padding: 14px !important; display: grid; gap: 7px; flex: 1; }
.product-brand { color: var(--primary) !important; font-size: 10px !important; letter-spacing: .08em !important; }
.product-name { margin: 0 !important; min-height: 42px; font-size: 15px !important; line-height: 1.35 !important; }
.product-rating { margin: 0 !important; min-height: 20px; }
.product-price { gap: 8px !important; flex-wrap: wrap; }
.product-price .current, .current-price { color: var(--primary-dark) !important; }
[data-theme="dark"] .product-price .current, [data-theme="dark"] .current-price { color: var(--primary-dark) !important; }
.product-price .original, .original-price { color: var(--gray-400) !important; }
.product-actions-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) !important;
    gap: 8px !important;
    padding: 0 14px 14px !important;
    margin-top: auto !important;
}
.product-actions-footer .btn { min-height: 38px !important; padding: 8px 10px !important; font-size: 12px !important; }
.products-toolbar { align-items: center; gap: 12px !important; color: var(--gray-600) !important; }
.products-toolbar #productsCount { color: var(--gray-600) !important; }

.hero {
    min-height: clamp(520px, 76vh, 760px) !important;
    background: #061411 !important;
    isolation: isolate;
}
.hero-bg img {
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(1.02) contrast(1.01);
}
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(4,18,15,.90) 0%, rgba(6,32,26,.70) 39%, rgba(6,32,26,.12) 75%),
        radial-gradient(circle at 24% 32%, rgba(22,163,74,.22), transparent 38%) !important;
}
.hero-content { max-width: 650px !important; color: #ffffff !important; padding: 44px 0 !important; }
.hero-title { color: #ffffff !important; font-size: clamp(34px, 5vw, 64px) !important; line-height: 1.08 !important; letter-spacing: 0 !important; }
.hero-title .highlight { color: #86efac !important; }
.hero-subtitle { color: rgba(255,255,255,.90) !important; font-size: clamp(15px, 1.6vw, 18px) !important; }
.hero-trust { gap: 12px !important; }
.trust-item { background: rgba(255,255,255,.11) !important; border: 1px solid rgba(255,255,255,.20) !important; border-radius: 8px !important; padding: 13px 15px !important; backdrop-filter: blur(10px); }
.trust-number { color: #ffffff !important; font-size: 28px !important; }
.trust-label { color: rgba(255,255,255,.82) !important; }

.body-map-section, .signature-product, .featured-products, .testimonials, .shop-by-pain, .doctor-recommended, .newsletter, .page-content {
    background: transparent !important;
}
[data-theme="light"] .body-map-section, [data-theme="light"] .signature-product, [data-theme="light"] .featured-products,
[data-theme="light"] .testimonials, [data-theme="light"] .shop-by-pain, [data-theme="light"] .doctor-recommended,
[data-theme="light"] .newsletter, [data-theme="light"] .page-content { background: #ffffff !important; }
.feature-list li::before { background: var(--accent) !important; box-shadow: 0 0 0 4px rgba(22,163,74,.14) !important; }
.body-part:hover { fill: var(--accent) !important; stroke: var(--primary-dark) !important; filter: drop-shadow(0 0 10px rgba(22,163,74,.38)) !important; }
.bulk-banner, .whatsapp-section {
    background: linear-gradient(135deg, #064e3b, #0f766e 52%, #16a34a) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: var(--shadow-lg) !important;
}
.bulk-banner h2, .bulk-banner p, .bulk-banner .section-label, .bulk-banner .tier-range, .bulk-banner .tier-discount { color: #ffffff !important; }
.tier { background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.18) !important; border-radius: 8px !important; }
.whatsapp-float { background: linear-gradient(135deg, #22c55e, #15803d) !important; color: #ffffff !important; box-shadow: 0 16px 42px rgba(21,128,61,.35) !important; }
.footer { background: #061411 !important; color: rgba(255,255,255,.82) !important; border-top: 1px solid rgba(255,255,255,.10) !important; }
.footer .logo-text, .footer h4 { color: #ffffff !important; }
.footer a:hover { color: #86efac !important; }

.modal, .popup-overlay { color: var(--ink) !important; }
.modal-content h2, .modal-content h3, .modal-content p, .popup-content h2, .popup-content p, .popup-content strong { color: var(--ink) !important; }
[data-theme="dark"] .modal-content h2, [data-theme="dark"] .modal-content h3, [data-theme="dark"] .modal-content p,
[data-theme="dark"] .popup-content h2, [data-theme="dark"] .popup-content p, [data-theme="dark"] .popup-content strong { color: #ffffff !important; }
.tab-btn.active, .size-btn.active { background: var(--primary) !important; color: #ffffff !important; border-color: var(--primary) !important; }
[data-theme="dark"] .tab-btn.active, [data-theme="dark"] .size-btn.active { background: var(--primary-dark) !important; color: #062018 !important; }

@media (max-width: 1180px) {
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
    .header-inner { display: grid !important; grid-template-columns: auto 1fr auto !important; align-items: center !important; gap: 10px !important; }
    .nav-desktop { display: none !important; }
    .mobile-menu-btn { display: inline-flex !important; }
    .mobile-menu.active { display: grid !important; background: var(--surface) !important; color: var(--ink) !important; }
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
    body { padding-top: 36px !important; }
    .container { padding-inline: 14px !important; }
    .announcement-bar, .announcement-slider { height: 36px !important; }
    .announcement-item { font-size: 11px !important; line-height: 1.25 !important; white-space: normal !important; padding-inline: 10px !important; }
    .header { top: 36px !important; }
    .header-inner { padding: 8px 0 !important; }
    .logo-img { width: 34px !important; height: 34px !important; }
    .logo-text { font-size: 12px !important; max-width: 110px !important; line-height: 1.08 !important; }
    .header-actions { gap: 5px !important; }
    .icon-action, .action-btn, .search-btn, .theme-toggle, .mobile-menu-btn { width: 34px !important; min-width: 34px !important; height: 34px !important; padding: 0 !important; font-size: 15px !important; }
    .hero { min-height: 430px !important; padding: 44px 0 22px !important; align-items: flex-end !important; }
    .hero-bg img { object-position: 62% center !important; }
    .hero-overlay { background: linear-gradient(180deg, rgba(4,18,15,.12) 0%, rgba(4,18,15,.62) 44%, rgba(4,18,15,.94) 100%) !important; }
    .hero-content { padding: 0 !important; max-width: 100% !important; text-align: left !important; }
    .hero-title { font-size: clamp(24px, 7.5vw, 30px) !important; margin-bottom: 9px !important; }
    .hero-subtitle { font-size: 12.5px !important; line-height: 1.45 !important; margin-bottom: 13px !important; max-width: 98% !important; }
    .hero-buttons { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; margin-bottom: 12px !important; }
    .hero-buttons .btn { width: 100% !important; min-width: 0 !important; min-height: 38px !important; padding: 8px 6px !important; font-size: 11px !important; }
    .hero-buttons .btn-accent { grid-column: 1 / -1 !important; }
    .hero-trust { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
    .trust-item { min-width: 0 !important; padding: 8px 5px !important; text-align: center !important; }
    .trust-number { font-size: 18px !important; }
    .trust-label { font-size: 9px !important; line-height: 1.2 !important; }
    .section { padding: 34px 0 !important; }
    .section-header { margin-bottom: 18px !important; }
    .section-label { font-size: 10px !important; letter-spacing: .08em !important; }
    .section-header h2 { font-size: 24px !important; line-height: 1.15 !important; }
    .section-header p { font-size: 13px !important; }
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .pain-card { padding: 14px 12px !important; border-radius: 8px !important; text-align: left !important; }
    .pain-icon { display: none !important; }
    .pain-card h3 { font-size: 14px !important; margin-bottom: 4px !important; }
    .pain-card p { font-size: 11px !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
    .pain-count { font-size: 10px !important; padding: 4px 7px !important; }
    .body-map-container { gap: 18px !important; }
    .body-svg { width: min(220px, 80vw) !important; height: auto !important; max-height: 320px !important; }
    .body-map-info { padding: 16px !important; border-radius: 8px !important; width: 100% !important; }
    .signature-grid, .bulk-banner, .contact-layout, .auth-container, .checkout-layout, .cart-layout, .bulk-checkout-layout, .product-details-layout { grid-template-columns: 1fr !important; gap: 18px !important; }
    .bulk-banner { padding: 18px !important; }
    .bulk-content h2 { font-size: 24px !important; line-height: 1.15 !important; }
    .bulk-content p { font-size: 13px !important; line-height: 1.45 !important; }
    .bulk-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
    .bulk-image img { max-height: 220px !important; width: 100% !important; object-fit: cover !important; border-radius: 8px !important; }
    .testimonial-card { min-width: 82% !important; padding: 14px !important; border-radius: 8px !important; }
    .testimonial-card p { font-size: 12px !important; line-height: 1.45 !important; }
    .review-form { padding: 14px !important; gap: 10px !important; border-radius: 8px !important; }
    .customer-review { padding: 12px !important; border-radius: 8px !important; }
}
@media (max-width: 560px) {
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .product-image { aspect-ratio: 1 / 1 !important; }
    .product-info { padding: 10px !important; gap: 5px !important; }
    .product-brand { font-size: 9px !important; }
    .product-name { font-size: 12px !important; line-height: 1.25 !important; min-height: 32px !important; }
    .stars, .rating-count { font-size: 10px !important; }
    .product-price .current { font-size: 13px !important; }
    .product-price .original { font-size: 10px !important; }
    .product-actions-footer { grid-template-columns: 1fr !important; gap: 7px !important; padding: 0 10px 10px !important; }
    .product-actions-footer .btn { width: 100% !important; min-height: 34px !important; font-size: 10.5px !important; padding: 7px 5px !important; }
    .product-wishlist { width: 32px !important; min-width: 32px !important; height: 30px !important; padding: 0 !important; font-size: 15px !important; }
    .product-badge { max-width: calc(100% - 48px) !important; font-size: 8px !important; padding: 3px 6px !important; }
    .products-toolbar { align-items: stretch !important; flex-direction: column !important; }
    #sortSelect { width: 100% !important; }
}
@media (max-width: 380px) {
    .logo-text { display: none !important; }
    .hero { min-height: 400px !important; }
    .hero-bg img { object-position: 65% center !important; }
    .hero-title { font-size: 23px !important; }
    .hero-subtitle { font-size: 12px !important; }
    .trust-label { font-size: 8.5px !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}



/* ============================================
   FINAL BLUE/NAVY MOBILE-FIRST UX LAYER
   ============================================ */
:root,
[data-theme="light"] {
    --primary: #0b5cab;
    --primary-dark: #073f78;
    --primary-light: #e6f3ff;
    --accent: #38bdf8;
    --accent-dark: #0284c7;
    --accent-soft: #e0f2fe;
    --success: #0ea5e9;
    --warning: #d97706;
    --danger: #dc2626;
    --white: #ffffff;
    --black: #0b1220;
    --gray-50: #f8fbff;
    --gray-100: #eef6ff;
    --gray-200: #d7e7f8;
    --gray-300: #bfdbfe;
    --gray-400: #7d94b5;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #172033;
    --gray-900: #0b1220;
    --ink: #0b1220;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --line: #d7e7f8;
    --shadow-sm: 0 1px 2px rgba(7, 63, 120, .06);
    --shadow-md: 0 8px 24px rgba(7, 63, 120, .08);
    --shadow-lg: 0 18px 46px rgba(7, 63, 120, .12);
    --shadow-xl: 0 24px 70px rgba(7, 63, 120, .16);
    color-scheme: light;
}

[data-theme="dark"] {
    --primary: #60a5fa;
    --primary-dark: #93c5fd;
    --primary-light: rgba(96, 165, 250, .16);
    --accent: #38bdf8;
    --accent-dark: #7dd3fc;
    --accent-soft: rgba(56, 189, 248, .16);
    --success: #38bdf8;
    --warning: #facc15;
    --danger: #fb7185;
    --white: #0b1220;
    --black: #f8fbff;
    --gray-50: #050b16;
    --gray-100: #0b1220;
    --gray-200: rgba(255,255,255,.11);
    --gray-300: rgba(255,255,255,.18);
    --gray-400: #88a4c7;
    --gray-500: #a9bfdd;
    --gray-600: #c9d8ec;
    --gray-700: #e5efff;
    --gray-800: #f3f8ff;
    --gray-900: #ffffff;
    --ink: #ffffff;
    --surface: #0b1220;
    --surface-soft: #07101f;
    --line: rgba(255,255,255,.13);
    color-scheme: dark;
}

* { min-width: 0; }
html, body { overflow-x: hidden !important; }
body {
    background: var(--gray-50) !important;
    color: var(--gray-800) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
[data-theme="dark"] body {
    background:
        radial-gradient(circle at 18% 0%, rgba(96,165,250,.16), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(56,189,248,.11), transparent 30%),
        linear-gradient(180deg, #050b16 0%, #081426 46%, #040914 100%) !important;
    color: var(--gray-700) !important;
}

.announcement-bar { background: linear-gradient(90deg, #061a33, var(--primary), #061a33) !important; color: #fff !important; }
.header {
    background: color-mix(in srgb, var(--surface) 94%, transparent) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 10px 32px rgba(7,63,120,.08) !important;
    backdrop-filter: blur(18px) saturate(150%);
}
[data-theme="dark"] .header { box-shadow: 0 16px 44px rgba(0,0,0,.30) !important; }
.logo-text, .page-header h1, .section-header h2, .signature-content h2, .product-name, .product-name a,
.pain-card h3, .doctor-info h3, .contact-card h3, .review-form h4, .customer-review strong,
.product-details-layout h1, .related-products h2, .bulk-content h2, .newsletter-box h2 { color: var(--ink) !important; }
.nav-desktop a, .mobile-menu a { color: var(--gray-600) !important; }
.nav-desktop a:hover, .nav-desktop a.active, .mobile-menu a:hover { color: var(--primary) !important; }
[data-theme="dark"] .nav-desktop a:hover, [data-theme="dark"] .nav-desktop a.active, [data-theme="dark"] .mobile-menu a:hover { color: var(--primary-dark) !important; }
.mobile-menu.active {
    display: grid !important;
    gap: 4px !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-top: 1px solid var(--line) !important;
}
.mobile-menu a { min-height: 44px; display: flex !important; align-items: center; border-radius: 8px !important; }

.search-bar input, .form-group input, .form-group select, .form-group textarea, #sortSelect,
.quantity-input, .coupon-input, input, select, textarea {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
    caret-color: var(--primary);
}
.search-bar input::placeholder, .form-group input::placeholder, textarea::placeholder { color: var(--gray-400) !important; }

.search-btn, .action-btn, .theme-toggle, .mobile-menu-btn, .product-wishlist, .slider-btn, .popup-close,
.quantity-btn, .tab-btn, .size-btn, .remove-btn, .modal-close {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm) !important;
}
.search-btn:hover, .action-btn:hover, .theme-toggle:hover, .mobile-menu-btn:hover, .product-wishlist:hover,
.slider-btn:hover, .popup-close:hover, .quantity-btn:hover, .tab-btn:hover, .size-btn:hover, .modal-close:hover {
    color: var(--primary-dark) !important;
    background: var(--primary-light) !important;
    border-color: color-mix(in srgb, var(--primary) 42%, var(--line)) !important;
    transform: translateY(-1px);
}
[data-theme="dark"] .search-btn:hover, [data-theme="dark"] .action-btn:hover, [data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .mobile-menu-btn:hover, [data-theme="dark"] .product-wishlist:hover, [data-theme="dark"] .slider-btn:hover,
[data-theme="dark"] .tab-btn:hover, [data-theme="dark"] .size-btn:hover, [data-theme="dark"] .modal-close:hover {
    color: #fff !important;
    background: rgba(255,255,255,.12) !important;
}

.badge, .product-badge, .signature-badge, .discount, .doctor-badge, .popup-badge {
    background: var(--accent-dark) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}
.pain-count { background: var(--accent-soft) !important; color: var(--primary-dark) !important; }
[data-theme="dark"] .pain-count { color: #e0f2fe !important; }
.stars, .avg-stars, .review-star-btn.active { color: var(--warning) !important; }

.btn {
    border-radius: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    min-height: 42px;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease !important;
    -webkit-tap-highlight-color: transparent;
}
.btn-primary, .btn-success, .btn-accent {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent-dark)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 22%, transparent) !important;
}
[data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-success, [data-theme="dark"] .btn-accent {
    color: #061226 !important;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark)) !important;
}
.btn-secondary, .btn-outline, .product-actions-footer .btn-outline {
    background: var(--surface) !important;
    color: var(--primary-dark) !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
}
[data-theme="dark"] .btn-secondary, [data-theme="dark"] .btn-outline, [data-theme="dark"] .product-actions-footer .btn-outline {
    color: #ffffff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(147,197,253,.56) !important;
}
.btn:hover, .product-actions-footer .btn:hover { transform: translateY(-2px) !important; box-shadow: var(--shadow-md) !important; }
.product-actions-footer .btn, .product-actions .btn { white-space: nowrap; color: inherit; }
.product-actions-footer .btn-outline, .product-actions-footer .btn-outline:visited { color: var(--primary-dark) !important; }
[data-theme="dark"] .product-actions-footer .btn-outline, [data-theme="dark"] .product-actions-footer .btn-outline:visited { color: #ffffff !important; }

.search-suggestions, .mobile-menu, .product-card, .wishlist-card, .doctor-card, .pain-card, .contact-card, .body-map-info,
.newsletter-box, .product-details-layout > .product-info, .auth-form-wrap, .cart-summary, .checkout-card, .order-card,
.prescription-card, .review-form, .customer-review, .bulk-calculator, .tier-card, .account-card, .modal-content,
.popup-content, .main-image, .thumbnail-list img {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: none !important;
}
[data-theme="dark"] .search-suggestions, [data-theme="dark"] .mobile-menu, [data-theme="dark"] .product-card,
[data-theme="dark"] .wishlist-card, [data-theme="dark"] .doctor-card, [data-theme="dark"] .pain-card,
[data-theme="dark"] .contact-card, [data-theme="dark"] .body-map-info, [data-theme="dark"] .newsletter-box,
[data-theme="dark"] .product-details-layout > .product-info, [data-theme="dark"] .auth-form-wrap, [data-theme="dark"] .cart-summary,
[data-theme="dark"] .checkout-card, [data-theme="dark"] .order-card, [data-theme="dark"] .prescription-card,
[data-theme="dark"] .review-form, [data-theme="dark"] .customer-review, [data-theme="dark"] .bulk-calculator,
[data-theme="dark"] .tier-card, [data-theme="dark"] .account-card, [data-theme="dark"] .modal-content, [data-theme="dark"] .popup-content,
[data-theme="dark"] .main-image, [data-theme="dark"] .thumbnail-list img {
    background: linear-gradient(145deg, rgba(11,18,32,.96), rgba(7,16,31,.92)) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.13) !important;
    box-shadow: var(--shadow-lg) !important;
    backdrop-filter: blur(14px) saturate(130%) !important;
}
.section-header p, .signature-content p, .pain-card p, .doctor-info p, .contact-card p, .product-short-desc,
.tab-content, .customer-review p, .avg-count, .rating-count, .footer p, .footer a, .product-description,
.body-map-info p, .newsletter-box p { color: var(--gray-500) !important; }
[data-theme="dark"] .section-header p, [data-theme="dark"] .signature-content p, [data-theme="dark"] .pain-card p,
[data-theme="dark"] .doctor-info p, [data-theme="dark"] .contact-card p, [data-theme="dark"] .product-short-desc,
[data-theme="dark"] .tab-content, [data-theme="dark"] .customer-review p, [data-theme="dark"] .avg-count,
[data-theme="dark"] .rating-count, [data-theme="dark"] .footer p, [data-theme="dark"] .footer a,
[data-theme="dark"] .body-map-info p, [data-theme="dark"] .newsletter-box p { color: var(--gray-600) !important; }

.product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
    align-items: stretch;
}
.product-card { display: flex !important; flex-direction: column !important; overflow: hidden !important; border-radius: 8px !important; min-height: 100%; transform: translateZ(0); }
.product-card::before, .product-card::after { display: none !important; }
.product-card:hover { transform: translateY(-4px) !important; border-color: color-mix(in srgb, var(--primary) 35%, var(--line)) !important; }
.product-image { aspect-ratio: 4 / 5 !important; background: #ffffff !important; border-bottom: 1px solid var(--line); }
[data-theme="dark"] .product-image { background: rgba(255,255,255,.94) !important; }
.product-image img, .main-image img, .signature-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: clamp(8px, 2vw, 16px) !important; background: #ffffff !important; border-radius: 0 !important; }
.product-info { padding: 14px !important; display: grid; gap: 7px; flex: 1; }
.product-brand { color: var(--primary) !important; font-size: 10px !important; letter-spacing: .08em !important; }
.product-name { margin: 0 !important; min-height: 42px; font-size: 15px !important; line-height: 1.35 !important; }
.product-rating { margin: 0 !important; min-height: 20px; }
.product-price { gap: 8px !important; flex-wrap: wrap; }
.product-price .current, .current-price { color: var(--primary-dark) !important; }
[data-theme="dark"] .product-price .current, [data-theme="dark"] .current-price { color: var(--primary-dark) !important; }
.product-price .original, .original-price { color: var(--gray-400) !important; }
.product-actions-footer { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) !important; gap: 8px !important; padding: 0 14px 14px !important; margin-top: auto !important; }
.product-actions-footer .btn { min-height: 38px !important; padding: 8px 10px !important; font-size: 12px !important; }
.products-toolbar { align-items: center; gap: 12px !important; color: var(--gray-600) !important; }
.products-toolbar #productsCount { color: var(--gray-600) !important; }

.hero { min-height: clamp(520px, 76vh, 760px) !important; background: #061226 !important; isolation: isolate; }
.hero-bg img { object-fit: cover !important; object-position: center center !important; filter: saturate(1.02) contrast(1.01); }
.hero-overlay { background: linear-gradient(90deg, rgba(4,13,31,.92) 0%, rgba(7,31,61,.72) 39%, rgba(7,31,61,.12) 75%), radial-gradient(circle at 24% 32%, rgba(56,189,248,.20), transparent 38%) !important; }
.hero-content { max-width: 650px !important; color: #ffffff !important; padding: 44px 0 !important; }
.hero-title { color: #ffffff !important; font-size: clamp(34px, 5vw, 64px) !important; line-height: 1.08 !important; letter-spacing: 0 !important; }
.hero-title .highlight { color: #93c5fd !important; }
.hero-subtitle { color: rgba(255,255,255,.90) !important; font-size: clamp(15px, 1.6vw, 18px) !important; }
.hero-trust { gap: 12px !important; }
.trust-item { background: rgba(255,255,255,.11) !important; border: 1px solid rgba(255,255,255,.20) !important; border-radius: 8px !important; padding: 13px 15px !important; backdrop-filter: blur(10px); }
.trust-number { color: #ffffff !important; font-size: 28px !important; }
.trust-label { color: rgba(255,255,255,.82) !important; }

.body-map-section, .signature-product, .featured-products, .testimonials, .shop-by-pain, .doctor-recommended, .newsletter, .page-content { background: transparent !important; }
[data-theme="light"] .body-map-section, [data-theme="light"] .signature-product, [data-theme="light"] .featured-products,
[data-theme="light"] .testimonials, [data-theme="light"] .shop-by-pain, [data-theme="light"] .doctor-recommended,
[data-theme="light"] .newsletter, [data-theme="light"] .page-content { background: #ffffff !important; }
.feature-list li::before { background: var(--accent-dark) !important; box-shadow: 0 0 0 4px rgba(56,189,248,.16) !important; }
.body-part:hover { fill: var(--accent-dark) !important; stroke: var(--primary-dark) !important; filter: drop-shadow(0 0 10px rgba(56,189,248,.38)) !important; }
.bulk-banner, .whatsapp-section { background: linear-gradient(135deg, #061a33, #0b5cab 52%, #38bdf8) !important; color: #ffffff !important; border: 1px solid rgba(255,255,255,.18) !important; box-shadow: var(--shadow-lg) !important; }
.bulk-banner h2, .bulk-banner p, .bulk-banner .section-label, .bulk-banner .tier-range, .bulk-banner .tier-discount { color: #ffffff !important; }
.tier { background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.18) !important; border-radius: 8px !important; }
.whatsapp-float { background: linear-gradient(135deg, #0ea5e9, #075985) !important; color: #ffffff !important; box-shadow: 0 16px 42px rgba(7,89,133,.35) !important; }
.footer { background: #061226 !important; color: rgba(255,255,255,.82) !important; border-top: 1px solid rgba(255,255,255,.10) !important; }
.footer .logo-text, .footer h4 { color: #ffffff !important; }
.footer a:hover { color: #93c5fd !important; }

.modal, .popup-overlay { color: var(--ink) !important; }
.modal-content { width: min(92vw, 560px) !important; max-height: 86vh !important; overflow: auto !important; padding: clamp(18px, 4vw, 28px) !important; border-radius: 8px !important; }
.modal-content h2, .modal-content h3, .modal-content p, .popup-content h2, .popup-content p, .popup-content strong { color: var(--ink) !important; }
[data-theme="dark"] .modal-content h2, [data-theme="dark"] .modal-content h3, [data-theme="dark"] .modal-content p,
[data-theme="dark"] .popup-content h2, [data-theme="dark"] .popup-content p, [data-theme="dark"] .popup-content strong { color: #ffffff !important; }
.modal-close, .popup-close { min-width: 42px !important; min-height: 42px !important; }
.tab-btn.active, .size-btn.active { background: var(--primary) !important; color: #ffffff !important; border-color: var(--primary) !important; }
[data-theme="dark"] .tab-btn.active, [data-theme="dark"] .size-btn.active { background: var(--primary-dark) !important; color: #061226 !important; }

@media (max-width: 1180px) {
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
    .header-inner { display: grid !important; grid-template-columns: auto 1fr auto !important; align-items: center !important; gap: 10px !important; }
    .nav-desktop { display: none !important; }
    .mobile-menu-btn { display: inline-flex !important; }
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
    body { padding-top: 36px !important; }
    .container { padding-inline: 14px !important; }
    .announcement-bar, .announcement-slider { height: 36px !important; }
    .announcement-item { font-size: 11px !important; line-height: 1.25 !important; white-space: normal !important; padding-inline: 10px !important; }
    .header { top: 36px !important; }
    .header-inner { padding: 8px 0 !important; }
    .logo-img { width: 34px !important; height: 34px !important; }
    .logo-text { font-size: 12px !important; max-width: 110px !important; line-height: 1.08 !important; }
    .header-actions { gap: 5px !important; }
    .icon-action, .action-btn, .search-btn, .theme-toggle, .mobile-menu-btn { width: 34px !important; min-width: 34px !important; height: 34px !important; padding: 0 !important; font-size: 15px !important; }
    .hero { min-height: 430px !important; padding: 44px 0 22px !important; align-items: flex-end !important; }
    .hero-bg img { object-position: 62% center !important; }
    .hero-overlay { background: linear-gradient(180deg, rgba(4,13,31,.12) 0%, rgba(4,13,31,.62) 44%, rgba(4,13,31,.94) 100%) !important; }
    .hero-content { padding: 0 !important; max-width: 100% !important; text-align: left !important; }
    .hero-title { font-size: clamp(24px, 7.5vw, 30px) !important; margin-bottom: 9px !important; }
    .hero-subtitle { font-size: 12.5px !important; line-height: 1.45 !important; margin-bottom: 13px !important; max-width: 98% !important; }
    .hero-buttons { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; margin-bottom: 12px !important; }
    .hero-buttons .btn { width: 100% !important; min-width: 0 !important; min-height: 38px !important; padding: 8px 6px !important; font-size: 11px !important; }
    .hero-buttons .btn-accent { grid-column: 1 / -1 !important; }
    .hero-trust { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
    .trust-item { min-width: 0 !important; padding: 8px 5px !important; text-align: center !important; }
    .trust-number { font-size: 18px !important; }
    .trust-label { font-size: 9px !important; line-height: 1.2 !important; }
    .section { padding: 34px 0 !important; }
    .section-header { margin-bottom: 18px !important; }
    .section-label { font-size: 10px !important; letter-spacing: .08em !important; }
    .section-header h2 { font-size: 24px !important; line-height: 1.15 !important; }
    .section-header p { font-size: 13px !important; }
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .pain-card { padding: 14px 12px !important; border-radius: 8px !important; text-align: left !important; }
    .pain-icon { display: none !important; }
    .pain-card h3 { font-size: 14px !important; margin-bottom: 4px !important; }
    .pain-card p { font-size: 11px !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
    .pain-count { font-size: 10px !important; padding: 4px 7px !important; }
    .body-map-container { gap: 18px !important; }
    .body-svg { width: min(220px, 80vw) !important; height: auto !important; max-height: 320px !important; }
    .body-map-info { padding: 16px !important; border-radius: 8px !important; width: 100% !important; }
    .signature-grid, .bulk-banner, .contact-layout, .auth-container, .checkout-layout, .cart-layout, .bulk-checkout-layout, .product-details-layout { grid-template-columns: 1fr !important; gap: 18px !important; }
    .bulk-banner { padding: 18px !important; }
    .bulk-content h2 { font-size: 24px !important; line-height: 1.15 !important; }
    .bulk-content p { font-size: 13px !important; line-height: 1.45 !important; }
    .bulk-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
    .bulk-image img { max-height: 220px !important; width: 100% !important; object-fit: cover !important; border-radius: 8px !important; }
    .testimonial-card { min-width: 82% !important; padding: 14px !important; border-radius: 8px !important; }
    .testimonial-card p { font-size: 12px !important; line-height: 1.45 !important; }
    .review-form { padding: 14px !important; gap: 10px !important; border-radius: 8px !important; }
    .customer-review { padding: 12px !important; border-radius: 8px !important; }
}
@media (max-width: 560px) {
    .product-grid, .products-grid, .wishlist-grid, #productsGrid, #featuredProducts, #bestSellers, #relatedProducts, #recentlyViewed, #wishlistGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .product-image { aspect-ratio: 1 / 1 !important; }
    .product-info { padding: 10px !important; gap: 5px !important; }
    .product-brand { font-size: 9px !important; }
    .product-name { font-size: 12px !important; line-height: 1.25 !important; min-height: 32px !important; }
    .stars, .rating-count { font-size: 10px !important; }
    .product-price .current { font-size: 13px !important; }
    .product-price .original { font-size: 10px !important; }
    .product-actions-footer { grid-template-columns: 1fr !important; gap: 7px !important; padding: 0 10px 10px !important; }
    .product-actions-footer .btn { width: 100% !important; min-height: 34px !important; font-size: 10.5px !important; padding: 7px 5px !important; }
    .product-wishlist { width: 32px !important; min-width: 32px !important; height: 30px !important; padding: 0 !important; font-size: 15px !important; }
    .product-badge { max-width: calc(100% - 48px) !important; font-size: 8px !important; padding: 3px 6px !important; }
    .products-toolbar { align-items: stretch !important; flex-direction: column !important; }
    #sortSelect { width: 100% !important; }
}
@media (max-width: 380px) {
    .logo-text { display: none !important; }
    .hero { min-height: 400px !important; }
    .hero-bg img { object-position: 65% center !important; }
    .hero-title { font-size: 23px !important; }
    .hero-subtitle { font-size: 12px !important; }
    .trust-label { font-size: 8.5px !important; }
}
@media (orientation: landscape) and (max-height: 520px) {
    .hero { min-height: 420px !important; }
    .hero-content { padding-block: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Final small mobile hero height tune */
@media (max-width: 768px) {
    .hero {
        min-height: 465px !important;
        padding-top: 50px !important;
        padding-bottom: 26px !important;
    }
}
@media (max-width: 380px) {
    .hero {
        min-height: 430px !important;
    }
}

/* ============================================
   PROFESSIONAL HOMEPAGE AND TRUST UPGRADES
   ============================================ */
.hero-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: var(--radius-sm);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.32);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -36px 0 34px;
}

.hero-assurance span {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.92);
    color: var(--gray-800);
    font-size: 13px;
    font-weight: 700;
}

.condition-grid {
    grid-template-columns: repeat(5, 1fr);
}

.condition-card {
    text-align: left;
    padding: 28px 22px;
    border-radius: var(--radius-md);
}

.condition-tag {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 9px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.guide-grid,
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card,
.bundle-card,
.checkout-trust-panel,
.wear-guide-card,
.product-faq-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.guide-card,
.bundle-card {
    padding: 28px;
}

.guide-step {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
}

.guide-card h3,
.bundle-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.guide-card p,
.bundle-card p {
    color: var(--gray-500);
    font-size: 15px;
}

.bundle-card strong {
    display: block;
    margin: 18px 0;
    color: var(--primary);
    font-size: 18px;
}

.featured-bundle {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.size-recommend-btn {
    display: inline-flex;
    margin-left: 12px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.product-helper-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 22px 0;
}

.wear-guide-card,
.product-faq-card {
    padding: 20px;
}

.wear-guide-card h3,
.product-faq-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.mini-steps {
    display: grid;
    gap: 12px;
}

.mini-steps div {
    display: grid;
    gap: 3px;
}

.mini-steps span,
.product-faq-card p {
    color: var(--gray-500);
    font-size: 13px;
}

.product-faq-card details {
    border-top: 1px solid var(--gray-200);
    padding: 10px 0;
}

.product-faq-card details:first-of-type {
    border-top: 0;
}

.product-faq-card summary {
    cursor: pointer;
    font-weight: 700;
}

.size-recommend-form {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.size-recommend-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
}

.size-recommend-result {
    padding: 14px;
    background: var(--primary-light);
    color: var(--gray-800);
    border-radius: var(--radius-md);
    font-size: 14px;
}

.size-whatsapp {
    display: inline-flex;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 700;
}

.checkout-trust-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 20px;
    margin-bottom: 24px;
}

.checkout-trust-panel div {
    display: grid;
    gap: 4px;
}

.checkout-trust-panel strong {
    color: var(--gray-800);
    font-size: 14px;
}

.checkout-trust-panel span {
    color: var(--gray-500);
    font-size: 13px;
}

@media (max-width: 900px) {
    .condition-grid,
    .guide-grid,
    .bundle-grid,
    .product-helper-sections,
    .checkout-trust-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .condition-grid,
    .guide-grid,
    .bundle-grid,
    .product-helper-sections,
    .checkout-trust-panel {
        grid-template-columns: 1fr !important;
    }

    .hero-assurance {
        margin: -4px 0 14px !important;
        gap: 6px !important;
    }

    .hero-assurance span {
        font-size: 10px !important;
        padding: 6px 7px !important;
    }

    .hero-kicker {
        font-size: 9px !important;
        padding: 5px 7px !important;
        margin-bottom: 8px !important;
    }

    .guide-card,
    .bundle-card,
    .wear-guide-card,
    .product-faq-card,
    .checkout-trust-panel {
        padding: 16px !important;
        border-radius: 8px !important;
    }

    .size-recommend-btn {
        display: block;
        margin: 8px 0 0;
        text-align: left;
    }
}

/* ============================================
   PREMIUM GLASS CLEANUP 20260519
   ============================================ */
:root {
    --premium-ink: #0f172a;
    --premium-muted: #475569;
    --premium-surface: rgba(255,255,255,.78);
    --premium-line: rgba(15,23,42,.12);
    --premium-glow: rgba(0, 180, 216, .28);
    --whatsapp-green: #16a34a;
    --whatsapp-green-dark: #0f7a36;
}

[data-theme="dark"] {
    --premium-ink: #f8fafc;
    --premium-muted: #cbd5e1;
    --premium-surface: rgba(15,23,42,.64);
    --premium-line: rgba(255,255,255,.16);
    --premium-glow: rgba(94, 234, 212, .30);
}

body {
    color: var(--premium-ink) !important;
}

[data-theme="light"] body,
[data-theme="light"] .section-header h2,
[data-theme="light"] .pain-card h3,
[data-theme="light"] .product-name,
[data-theme="light"] .signature-content h2,
[data-theme="light"] .footer h4 {
    color: #0f172a !important;
}

[data-theme="dark"] body,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .pain-card h3,
[data-theme="dark"] .product-name,
[data-theme="dark"] .signature-content h2,
[data-theme="dark"] .footer h4,
[data-theme="dark"] .contact-line strong {
    color: #f8fafc !important;
}

[data-theme="light"] .section-header p,
[data-theme="light"] .pain-card p,
[data-theme="light"] .signature-content p,
[data-theme="light"] .product-short-desc {
    color: #475569 !important;
}

[data-theme="dark"] .section-header p,
[data-theme="dark"] .pain-card p,
[data-theme="dark"] .signature-content p,
[data-theme="dark"] .product-short-desc,
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a {
    color: #cbd5e1 !important;
}

.hero-assurance,
.how-to-wear-section,
.bundle-offers-section {
    display: none !important;
}

.nav-desktop a[href="index.html#medical-conditions"],
.mobile-menu a[href="index.html#medical-conditions"],
.footer-links a[href="index.html#medical-conditions"] {
    display: none !important;
}

.hero .btn-accent,
a[href*="wa.me"].btn,
.whatsapp-float {
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-green-dark)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 18px 44px rgba(22, 163, 74, .34) !important;
}

.hero .btn-accent:hover,
a[href*="wa.me"].btn:hover,
.whatsapp-float:hover {
    background: linear-gradient(135deg, #22c55e, #12803c) !important;
    box-shadow: 0 22px 54px rgba(22, 163, 74, .44) !important;
}

.hero-title,
.hero-subtitle,
.hero-kicker,
.trust-label,
.trust-number {
    text-shadow: 0 2px 18px rgba(0,0,0,.26);
}

.trust-label {
    color: rgba(255,255,255,.88) !important;
}

.condition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.condition-card,
.product-card,
.doctor-card,
.testimonial-card,
.contact-card,
.newsletter-box,
.body-map-info,
.bulk-calculator,
.checkout-summary,
.payment-card,
.cart-summary,
.product-details-layout > .product-info {
    position: relative;
    overflow: hidden;
    background: var(--premium-surface) !important;
    border: 1px solid var(--premium-line) !important;
    box-shadow: 0 18px 48px rgba(15,23,42,.10) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
}

.condition-card::before,
.product-card::before,
.doctor-card::before,
.testimonial-card::before,
.contact-card::before,
.newsletter-box::before,
.body-map-info::before,
.bulk-calculator::before,
.checkout-summary::before,
.payment-card::before,
.cart-summary::before,
.product-details-layout > .product-info::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, var(--premium-glow), transparent 42%),
        linear-gradient(135deg, rgba(255,255,255,.34), transparent 36%, rgba(255,255,255,.12));
    transition: opacity .28s ease;
    z-index: 0;
}

.condition-card > *,
.product-card > *,
.doctor-card > *,
.testimonial-card > *,
.contact-card > *,
.newsletter-box > *,
.body-map-info > *,
.bulk-calculator > *,
.checkout-summary > *,
.payment-card > *,
.cart-summary > *,
.product-details-layout > .product-info > * {
    position: relative;
    z-index: 1;
}

.condition-card:hover,
.product-card:hover,
.doctor-card:hover,
.testimonial-card:hover,
.contact-card:hover,
.newsletter-box:hover,
.body-map-info:hover,
.bulk-calculator:hover,
.checkout-summary:hover,
.payment-card:hover,
.cart-summary:hover,
.product-details-layout > .product-info:hover {
    transform: translateY(-5px) !important;
    border-color: color-mix(in srgb, var(--accent) 42%, var(--premium-line)) !important;
    box-shadow: 0 26px 72px rgba(0, 102, 204, .18) !important;
}

.condition-card:hover::before,
.product-card:hover::before,
.doctor-card:hover::before,
.testimonial-card:hover::before,
.contact-card:hover::before,
.newsletter-box:hover::before,
.body-map-info:hover::before,
.bulk-calculator:hover::before,
.checkout-summary:hover::before,
.payment-card:hover::before,
.cart-summary:hover::before,
.product-details-layout > .product-info:hover::before {
    opacity: 1;
}

.body-part {
    transition: fill .22s ease, filter .22s ease, stroke .22s ease;
}

.body-part:hover {
    fill: var(--accent) !important;
    stroke: #ffffff !important;
    filter: drop-shadow(0 0 16px var(--premium-glow)) drop-shadow(0 0 34px var(--premium-glow));
}

.whatsapp-float {
    min-width: 132px !important;
    height: 52px !important;
    border-radius: 999px !important;
}

.whatsapp-text {
    color: #ffffff !important;
    font-weight: 800 !important;
}

@media (max-width: 900px) {
    .condition-grid,
    .pain-grid,
    .product-grid,
    .products-grid,
    #featuredProducts,
    #bestSellers,
    #relatedProducts,
    #recentlyViewed {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero {
        min-height: 620px !important;
        align-items: flex-end !important;
    }

    .hero-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        padding-inline: 12px !important;
    }
}

@media (max-width: 560px) {
    .container {
        padding-inline: 16px !important;
    }

    .condition-grid,
    .pain-grid {
        grid-template-columns: 1fr !important;
    }

    .hero {
        min-height: 560px !important;
        padding-top: 64px !important;
        padding-bottom: 28px !important;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 38px) !important;
        line-height: 1.08 !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }

    .hero-buttons {
        grid-template-columns: 1fr !important;
        margin-bottom: 18px !important;
    }

    .hero-trust {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
        gap: 8px !important;
    }

    .trust-item {
        padding: 9px 6px !important;
        border-radius: 8px !important;
        background: rgba(255,255,255,.14) !important;
        border: 1px solid rgba(255,255,255,.18) !important;
    }

    .trust-number {
        font-size: 20px !important;
    }

    .trust-label {
        font-size: 9px !important;
        line-height: 1.15 !important;
    }

    .condition-card {
        padding: 18px !important;
    }

    .whatsapp-float {
        right: 12px !important;
        bottom: 12px !important;
        min-width: 116px !important;
        height: 46px !important;
        font-size: 12px !important;
    }
}

/* ============================================
   SIGNATURE MOBILE RESTORE 20260519
   ============================================ */
@media (max-width: 560px) {
    .signature-product {
        padding-block: 44px !important;
    }

    .signature-product .container {
        padding-inline: 16px !important;
    }

    .signature-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        align-items: stretch !important;
    }

    .signature-image {
        width: 100% !important;
        border-radius: 8px !important;
        min-height: 300px !important;
        background: #ffffff !important;
    }

    .signature-image img {
        width: 100% !important;
        height: 340px !important;
        padding: 18px !important;
        object-fit: contain !important;
        background: #ffffff !important;
    }

    .signature-badge {
        top: 16px !important;
        left: 16px !important;
        padding: 7px 14px !important;
        font-size: 11px !important;
        letter-spacing: .5px !important;
    }

    .signature-content .section-label {
        display: inline-block !important;
    }

    .signature-content h2 {
        font-size: 28px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .signature-content p {
        font-size: 15px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }

    .signature-content .feature-list {
        display: block !important;
        margin-bottom: 22px !important;
    }

    .signature-content .feature-list li {
        font-size: 14px !important;
        padding-block: 6px !important;
    }

    .signature-price {
        gap: 12px !important;
        margin-bottom: 22px !important;
        flex-wrap: wrap !important;
    }

    .signature-price .current-price {
        font-size: 30px !important;
    }

    .signature-price .original-price {
        font-size: 18px !important;
    }

    .signature-price .discount {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .signature-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .signature-actions .btn {
        width: 100% !important;
        min-height: 46px !important;
        padding: 13px 14px !important;
        font-size: 14px !important;
    }

    .condition-grid,
    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* ============================================
   CODEX PREMIUM MOBILE + WHATSAPP UPDATE 20260611
   ============================================ */
:root {
    --boc-whatsapp: #16a34a;
    --boc-whatsapp-dark: #0f7a36;
    --boc-support-line: rgba(34, 197, 94, .28);
}

.header-inner {
    gap: 14px !important;
}

.premium-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.premium-header-nav a,
.premium-header-nav button,
.theme-toggle.premium-theme-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: auto !important;
    width: auto !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(148, 163, 184, .32) !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08) !important;
    cursor: pointer;
}

.premium-header-nav a[href*="wa.me"] {
    background: linear-gradient(135deg, var(--boc-whatsapp), var(--boc-whatsapp-dark)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 12px 28px rgba(22, 163, 74, .24) !important;
}

.premium-header-nav a:hover,
.premium-header-nav button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12) !important;
}

[data-theme="dark"] .premium-header-nav a,
[data-theme="dark"] .premium-header-nav button,
[data-theme="dark"] .theme-toggle.premium-theme-toggle {
    background: rgba(15, 23, 42, .92) !important;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, .14) !important;
}

[data-theme="dark"] .premium-header-nav a[href*="wa.me"] {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
}

.hero {
    min-height: clamp(560px, 82vh, 790px) !important;
}

.hero-buttons .btn:first-child,
.hero-buttons a[href="products.html"]:first-child {
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    min-height: 42px !important;
    padding: 11px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.whatsapp-float {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    right: 18px !important;
    bottom: 18px !important;
    min-width: 146px !important;
    width: auto !important;
    height: 54px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #25d366, #128c3f) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: 0 18px 46px rgba(18, 140, 63, .36) !important;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease !important;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 24px 58px rgba(18, 140, 63, .46) !important;
    filter: saturate(1.08);
}

.whatsapp-icon {
    display: grid !important;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.whatsapp-text {
    display: inline !important;
    color: #ffffff !important;
    font-size: 13px !important;
    white-space: nowrap;
}

.support-service-card {
    position: fixed;
    right: 18px;
    bottom: 84px;
    z-index: 98;
    display: grid;
    gap: 3px;
    width: min(280px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid var(--boc-support-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    color: #0f172a;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
    backdrop-filter: blur(12px);
}

.support-service-card strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.support-service-card span {
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
}

[data-theme="dark"] .support-service-card {
    background: rgba(15, 23, 42, .94);
    color: #f8fafc;
    border-color: rgba(34, 197, 94, .34);
}

[data-theme="dark"] .support-service-card strong {
    color: #f8fafc;
}

[data-theme="dark"] .support-service-card span {
    color: #cbd5e1;
}

.premium-footer-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
}

.premium-footer-column h4 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 900;
}

.premium-footer-column a {
    display: block;
    padding: 7px 0;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 14px;
    line-height: 1.35;
}

.premium-footer-column a:hover {
    color: #86efac !important;
}

.btn,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1180px) {
    .premium-header-nav {
        order: 3;
        flex: 0 0 100%;
        justify-content: center;
        margin: 6px 0 0;
    }
}

@media (max-width: 768px) {
    .header-inner {
        align-items: center !important;
    }

    .premium-header-nav {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        margin-top: 8px;
    }

    .premium-header-nav a,
    .premium-header-nav button,
    .theme-toggle.premium-theme-toggle {
        min-height: 36px !important;
        height: 36px !important;
        padding: 0 6px !important;
        font-size: 10px !important;
        text-align: center;
        white-space: normal;
    }

    .hero {
        min-height: 500px !important;
        padding-top: 56px !important;
        padding-bottom: 28px !important;
        align-items: flex-end !important;
    }

    .hero-title {
        font-size: clamp(26px, 8vw, 34px) !important;
        line-height: 1.08 !important;
        margin-bottom: 10px !important;
    }

    .hero-subtitle {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
        margin-bottom: 14px !important;
    }

    .hero-buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        margin-bottom: 16px !important;
    }

    .hero-buttons .btn {
        min-height: 40px !important;
        padding: 9px 10px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
    }

    .hero-buttons .btn:first-child,
    .hero-buttons a[href="products.html"]:first-child {
        justify-self: start;
        min-height: 38px !important;
        padding: 9px 16px !important;
        font-size: 11px !important;
    }

    .hero-buttons .btn-accent {
        grid-column: 1 / -1 !important;
    }

    .section {
        padding-block: 46px !important;
    }

    .product-card,
    .pain-card,
    .doctor-card,
    .contact-card,
    .newsletter-box,
    .signature-grid,
    .bulk-banner {
        border-radius: 8px !important;
    }

    .support-service-card {
        left: 12px;
        right: 12px;
        bottom: 76px;
        width: auto;
        padding: 12px 14px;
    }

    .whatsapp-float {
        right: 12px !important;
        bottom: 12px !important;
        min-width: 126px !important;
        height: 50px !important;
        padding: 0 14px !important;
    }

    .whatsapp-text {
        font-size: 12px !important;
    }

    .premium-footer-panel {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 18px;
        margin-bottom: 26px;
    }
}

@media (max-width: 420px) {
    .premium-header-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 462px !important;
    }

    .premium-footer-panel {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CODEX FINAL SUPPORT UX PASS 20260611
   ============================================ */
:root {
    --boc-support-green: #16a34a;
    --boc-support-green-dark: #0b7a34;
    --boc-footer-ink: #061826;
}

.premium-header-nav {
    row-gap: 8px !important;
}

.premium-header-nav a,
.premium-header-nav button,
.theme-toggle.premium-theme-toggle {
    min-height: 40px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.hero-buttons .btn:first-child,
.hero-buttons a[href="products.html"]:first-child {
    max-width: none !important;
    min-height: 40px !important;
    padding: 10px 18px !important;
    border-radius: 7px !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .02em !important;
}

.whatsapp-float {
    isolation: isolate;
    min-width: 148px !important;
    height: 54px !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 48%, #0b7a34 100%) !important;
    box-shadow: 0 18px 44px rgba(11, 122, 52, .36), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(37, 211, 102, .18);
    opacity: .85;
    animation: supportHalo 2.8s ease-in-out infinite;
}

@keyframes supportHalo {
    0%, 100% { transform: scale(.96); opacity: .36; }
    50% { transform: scale(1.08); opacity: .18; }
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.025) !important;
    box-shadow: 0 24px 58px rgba(11, 122, 52, .46), inset 0 1px 0 rgba(255,255,255,.24) !important;
}

.support-service-card {
    border-radius: 8px !important;
    border-color: rgba(22, 163, 74, .28) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,253,244,.96)) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .14) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.support-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .18) !important;
}

.premium-footer-panel {
    position: relative;
    overflow: hidden;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(14,165,233,.06)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.premium-footer-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(134,239,172,.56), transparent);
}

.premium-footer-column a {
    position: relative;
    padding: 8px 0 8px 14px !important;
    font-weight: 700;
}

.premium-footer-column a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #22c55e;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .container { padding-left: 18px !important; padding-right: 18px !important; }

    .premium-header-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .premium-header-nav a,
    .premium-header-nav button,
    .theme-toggle.premium-theme-toggle {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 5px !important;
        font-size: 10px !important;
        line-height: 1.12 !important;
    }

    .hero {
        min-height: min(575px, 86svh) !important;
        padding-top: 64px !important;
        padding-bottom: 34px !important;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(4,18,15,.10) 0%, rgba(4,18,15,.62) 44%, rgba(4,18,15,.95) 100%) !important;
    }

    .hero-title {
        font-size: clamp(27px, 7.8vw, 34px) !important;
        line-height: 1.08 !important;
    }

    .hero-subtitle {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
        max-width: 98% !important;
    }

    .hero-buttons {
        align-items: center !important;
        gap: 8px !important;
    }

    .hero-buttons .btn:first-child,
    .hero-buttons a[href="products.html"]:first-child {
        justify-self: start !important;
        width: auto !important;
        min-height: 36px !important;
        padding: 8px 14px !important;
        font-size: 10.5px !important;
        border-radius: 7px !important;
    }

    .support-service-card {
        display: grid !important;
        left: 12px !important;
        right: 12px !important;
        bottom: 76px !important;
        padding: 11px 13px !important;
    }

    .support-service-card strong { font-size: 13px !important; }
    .support-service-card span { font-size: 11.5px !important; }

    .whatsapp-float {
        right: 12px !important;
        bottom: 12px !important;
        min-width: 132px !important;
        height: 50px !important;
        padding: 0 13px !important;
    }

    .whatsapp-icon {
        width: 26px !important;
        height: 26px !important;
        flex-basis: 26px !important;
    }

    .whatsapp-text { font-size: 12px !important; }

    .premium-footer-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 18px !important;
    }
}

@media (max-width: 420px) {
    .premium-header-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero {
        min-height: min(525px, 88svh) !important;
    }

    .hero-buttons {
        grid-template-columns: 1fr 1fr !important;
    }

    .premium-footer-panel {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   CODEX CLEAN HEADER TWO COLUMN FOOTER 20260611
   ============================================ */
.premium-header-nav,
.support-service-card {
    display: none !important;
}

.header-inner {
    flex-wrap: nowrap !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

.footer-grid .footer-brand {
    grid-column: 1 !important;
}

.footer-grid .footer-links {
    min-width: 0 !important;
}

.footer-grid .footer-links:nth-of-type(2),
.footer-grid .footer-links:nth-of-type(3),
.footer-grid .footer-links:nth-of-type(4) {
    grid-column: 2 !important;
}

.footer-grid .footer-links + .footer-links {
    margin-top: 4px !important;
}

.premium-footer-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 768px) {
    .header-inner {
        gap: 12px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .footer-grid .footer-brand {
        grid-column: span 2;
    }
}

/* ==========================================================
   BUTTON ANTI-ENLARGEMENT & STABLE LAYOUT (Strict Rule)
   ========================================================== */
.btn,
.action-btn,
.theme-toggle,
.search-btn,
.mobile-menu-btn,
.product-wishlist,
.slider-btn,
.size-btn,
.tab-btn,
.quantity-btn,
.popup-close,
.review-star-btn,
.google-btn,
.luxury-button {
    transform: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease !important;
    box-sizing: border-box;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.2) !important;
}

.btn:active {
    transform: translateY(0) scale(0.99) !important;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.15) !important;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--gray-100) !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.btn-secondary:active {
    transform: scale(0.99) !important;
}

.action-btn:hover,
.action-btn:focus-visible {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    transform: none !important;
}

.action-btn:active {
    transform: scale(0.98) !important;
}

.icon-action:hover .nav-icon {
    transform: none !important;
    filter: none !important;
}

.product-wishlist:hover,
.product-wishlist.active {
    transform: none !important;
}

.product-wishlist:hover svg,
.product-wishlist.active svg {
    transform: none !important;
    fill: #EF4444;
    color: #EF4444;
}

.whatsapp-float {
    background: #25D366 !important;
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
}

.whatsapp-float:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
}

/* ==========================================================
   MOBILE-FIRST HEADER & MENU CONTROLS
   ========================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .header-actions {
        gap: 12px;
    }
}

.desktop-only-action {
    display: none !important;
}

@media (min-width: 769px) {
    .desktop-only-action {
        display: inline-flex !important;
    }
}

.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-800);
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Mobile Menu Drawer */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 12px 16px 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 999;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: mobileMenuSlide 0.22s ease-out;
}

@keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--gray-800);
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-badge {
    position: static !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
}

/* Theme Toggle Item inside Mobile Menu */
.mobile-theme-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    margin-top: 10px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.mobile-theme-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

/* Modern Accessible Theme Switch */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch-slider {
    position: absolute;
    inset: 0;
    background-color: var(--gray-300);
    border-radius: 34px;
    transition: background-color 0.25s ease;
}

.theme-switch-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-switch input:checked + .theme-switch-slider {
    background-color: var(--primary);
}

.theme-switch input:checked + .theme-switch-slider::before {
    transform: translateX(20px);
}

/* ==========================================================
   HERO SECTION — MOBILE-FIRST RESPONSIVE BANNER
   ========================================================== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0 40px;
    overflow: hidden;
    background: #091a32;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero {
        min-height: 640px;
        padding: 64px 0 56px;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 75vh;
        max-height: 840px;
        padding: 72px 0 64px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #091a32;
}

.hero-bg img,
.hero-bg-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 21, 42, 0.76) 0%, rgba(7, 21, 42, 0.62) 50%, rgba(7, 21, 42, 0.85) 100%) !important;
}

@media (min-width: 768px) {
    .hero-overlay {
        background: linear-gradient(90deg, rgba(7, 21, 42, 0.84) 0%, rgba(7, 21, 42, 0.65) 48%, rgba(7, 21, 42, 0.32) 100%) !important;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
        margin: 0;
    }
}

.hero-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    margin-bottom: 14px;
    background: rgba(0, 180, 216, 0.14);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 180, 216, 0.35);
}

.hero-title {
    font-size: clamp(26px, 6vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--white);
}

.hero-title .highlight {
    color: var(--accent);
    display: inline;
}

.hero-subtitle {
    font-size: clamp(14px, 3.6vw, 17px);
    line-height: 1.6;
    color: rgba(241, 245, 249, 0.9);
    margin-bottom: 26px;
    max-width: 500px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin-inline: 0;
        margin-bottom: 34px;
    }
}

/* HERO BUTTONS: Vertically stacked on mobile, row on tablet/desktop */
.hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto 32px !important;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row !important;
        max-width: 100% !important;
        margin: 0 0 40px 0 !important;
        gap: 16px !important;
    }
}

.hero-buttons .btn {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: var(--radius-md) !important;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .hero-buttons .btn {
        width: auto !important;
        min-width: 160px !important;
    }
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
    .hero-trust {
        justify-content: flex-start;
        gap: 36px;
    }
}

.trust-item {
    text-align: center;
}

@media (min-width: 768px) {
    .trust-item {
        text-align: left;
    }
}

.trust-number {
    display: block;
    font-size: clamp(20px, 4.5vw, 28px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.trust-label {
    font-size: 12px;
    color: rgba(241, 245, 249, 0.75);
    font-weight: 500;
}

/* ==========================================================
   FOOTER — RESPONSIVE (2 COLUMNS MOBILE, 4 COLUMNS DESKTOP)
   ========================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 44px 0 0;
    border-top: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px 16px !important;
    margin-bottom: 32px !important;
}

@media (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
        gap: 36px !important;
        margin-bottom: 36px !important;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        gap: 48px !important;
    }
}

.footer-brand {
    grid-column: span 2 !important;
}

@media (min-width: 769px) {
    .footer-brand {
        grid-column: span 1 !important;
    }
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.footer-contact p {
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--gray-300);
}

.footer-contact a {
    color: var(--accent);
}

.footer-links h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: var(--gray-400);
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.premium-footer-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-800);
}

.premium-footer-column h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.premium-footer-column a {
    display: block;
    padding: 3px 0;
    font-size: 13px;
    color: var(--gray-400);
}

.premium-footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    font-size: 12.5px;
    color: var(--gray-500);
}

@media (min-width: 769px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

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

.social-links a {
    color: var(--gray-400);
    font-size: 13px;
    transition: color 0.15s ease;
}

.social-links a:hover {
    color: var(--accent);
}

