/* ==========================================================================
   SOUQ TECH - COMPLETE MODERN & MINIMALIST DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary: #8B1E4A;
    --primary-hover: #701439;
    --primary-light: #FDF2F7;
    --primary-glow: rgba(139, 30, 74, 0.15);
    
    --dark: #0F172A;
    --dark-surface: #1E293B;
    
    --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;
    --white: #FFFFFF;
    
    --accent-red: #EF4444;
    --accent-red-light: #FEF2F2;
    --accent-green: #10B981;
    --accent-green-light: #ECFDF5;
    --accent-blue: #3B82F6;
    --accent-blue-light: #EFF6FF;
    --accent-amber: #F59E0B;
    --accent-amber-light: #FFFBEB;
    
    /* Typography */
    --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
    
    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
    
    /* Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    
    /* Transition */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--gray-50);
    color: var(--gray-800);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Utilities */
.text-primary { color: var(--primary) !important; }
.text-green { color: var(--accent-green) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-muted { color: var(--gray-500) !important; }
.fw-bold { font-weight: 700 !important; }
.d-none { display: none !important; }

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
    background-color: var(--dark);
    color: var(--gray-300);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   2. SITE HEADER & NAVBAR
   ========================================================================== */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

/* Brand Logo */
.header-brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray-800);
    cursor: pointer;
    padding: 6px;
}

/* Desktop Nav Links */
.header-nav-desktop {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gray-700);
    transition: var(--transition);
}

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

.nav-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.has-dropdown {
    position: relative;
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
    list-style: none;
    z-index: 1050;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--accent-red);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--white);
}

/* Search Drawer Overlay */
.search-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    z-index: 990;
}

.search-drawer.active {
    display: block;
}

.search-drawer-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-drawer-form input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-pill);
    background: var(--gray-50);
}

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

.search-drawer-form button[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    height: 44px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
}

.search-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0 8px;
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid var(--gray-200);
}

.drawer-logo {
    height: 36px;
    width: auto;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-700);
    cursor: pointer;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.drawer-nav {
    list-style: none;
}

.drawer-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    border-radius: var(--radius-md);
}

.drawer-nav li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.drawer-section-title {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gray-400);
    text-transform: uppercase;
    padding: 16px 10px 6px 10px;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1990;
}

.menu-overlay.active {
    display: block;
}

/* ==========================================================================
   3. HERO BANNER SECTION
   ========================================================================== */
.hero-banner-section {
    padding: 24px 0 16px 0;
}

.hero-banner-card {
    background: linear-gradient(135deg, #181326 0%, #2D1022 45%, #561635 80%, #7E1843 100%);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(45, 16, 34, 0.2);
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FBBF24;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.hero-banner-title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 14px;
}

.text-gradient {
    background: linear-gradient(135deg, #FFD54F, #FF9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-banner-text {
    font-size: 14.5px;
    color: #E2E8F0;
    max-width: 480px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.hero-banner-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-hero-cta {
    background: linear-gradient(135deg, #E11D48 0%, #8B1E4A 100%);
    color: white;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
    transition: var(--transition);
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(225, 29, 72, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-guarantee-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #CBD5E1;
    font-weight: 600;
}

.hero-guarantee-row i {
    color: var(--accent-green);
}

.hero-featured-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.hero-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.preview-item:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   4. TRUST FEATURE STRIP
   ========================================================================== */
.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0 36px 0;
}

.trust-feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.icon-burgundy { background: var(--primary-light); color: var(--primary); }
.icon-emerald { background: var(--accent-green-light); color: var(--accent-green); }
.icon-blue { background: var(--accent-blue-light); color: var(--accent-blue); }
.icon-amber { background: var(--accent-amber-light); color: var(--accent-amber); }

.trust-card-text h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

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

/* ==========================================================================
   5. VISUAL CATEGORIES SECTION
   ========================================================================== */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.categories-visual-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.category-visual-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 18px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-visual-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cat-icon-container {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 10px;
    background: var(--primary-light);
    color: var(--primary);
}

.cat-card-title {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1.35;
}

/* ==========================================================================
   6. PRODUCT CARDS & STORE GRID
   ========================================================================== */
.products-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.store-product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.store-product-card:hover {
    border-color: var(--gray-300);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-image-box {
    position: relative;
    height: 190px;
    background: var(--white);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-100);
}

.product-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-tag-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.tag-discount {
    background: var(--accent-red);
    color: white;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
}

.tag-new {
    background: var(--dark);
    color: white;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
}

.card-body-box {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    min-height: 38px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.price-main {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
}

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

.card-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 6px;
    margin-top: auto;
}

.btn-card-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 8px 6px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-card-secondary:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.btn-card-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 6px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-card-primary:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   7. PRODUCT DETAIL PAGE
   ========================================================================== */
.product-page-wrapper {
    padding: 20px 0 60px 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.crumb-sep {
    color: var(--gray-300);
}

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

.product-breadcrumb .active-crumb {
    color: var(--dark);
    font-weight: 700;
}

.product-main-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

/* Gallery Side */
.product-gallery-side {
    position: sticky;
    top: 90px;
}

.gallery-main-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.gallery-main-card:hover .gallery-main-img {
    transform: scale(1.04);
}

.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.thumb-btn {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    background: var(--white);
    padding: 4px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-btn.active, .thumb-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.product-trust-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.bg-primary-light { background: var(--primary-light); }
.bg-green-light { background: var(--accent-green-light); }
.bg-blue-light { background: var(--accent-blue-light); }

.trust-pill strong {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--dark);
}

.trust-pill small {
    font-size: 11px;
    color: var(--gray-500);
}

/* Info Side & Header */
.product-header-block {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.category-pill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.product-category-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.stock-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-green);
    background: var(--accent-green-light);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
}

.product-main-heading {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 14px;
}

.product-price-container {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 14px;
}

.price-current-large {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--primary);
}

.price-old-large {
    font-size: 1.15rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: 10px;
}

.discount-saved-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-red);
    background: var(--accent-red-light);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    margin-right: 8px;
}

.product-short-text {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Express COD Form Box */
.express-cod-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.cod-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.cod-header-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #E11D48, #8B1E4A);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cod-box-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.cod-box-header p {
    font-size: 12px;
    color: var(--gray-500);
}

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

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-field input, .form-field select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--gray-50);
    font-size: 14px;
    transition: var(--transition);
}

.form-field input:focus, .form-field select:focus {
    border-color: var(--primary);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.delivery-options-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.delivery-radio-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: var(--gray-50);
    transition: var(--transition);
}

.delivery-radio-card i {
    font-size: 20px;
    color: var(--gray-400);
}

.delivery-radio-card strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--gray-900);
}

.delivery-radio-card small {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
}

.delivery-radio-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.delivery-radio-card.active i {
    color: var(--primary);
}

.qty-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
}

.qty-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
}

.qty-counter-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-qty {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-qty:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-counter-box input {
    width: 36px;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    border: none;
    background: transparent;
}

.live-summary-box {
    background: var(--primary-light);
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--gray-700);
}

.summary-line.total-line {
    border-top: 1px solid rgba(139, 30, 74, 0.15);
    padding-top: 8px;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 14.5px;
}

.summary-line.total-line strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary);
}

.btn-cod-submit {
    width: 100%;
    background: linear-gradient(135deg, #E11D48 0%, #8B1E4A 100%);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
    transition: var(--transition);
}

.btn-cod-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(225, 29, 72, 0.45);
}

.secondary-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.btn-add-cart-alt {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-add-cart-alt:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.btn-wa-inquire {
    background: #ECFDF5;
    color: var(--accent-green);
    border: 1px solid #A7F3D0;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-wa-inquire:hover {
    background: var(--accent-green);
    color: white;
}

/* Product Description Card */
.product-description-container {
    margin-bottom: 40px;
}

.desc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.desc-card-header {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 18px;
}

.desc-card-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.desc-card-body {
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ==========================================================================
   8. FOOTER & FLOATING ACTIONS
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: var(--gray-300);
    padding: 50px 0 20px 0;
    margin-top: 60px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 14px;
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 16px;
}

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

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--primary);
}

.footer-nav-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    color: var(--gray-400);
    font-size: 13px;
}

.footer-nav-col a:hover {
    color: var(--white);
    transform: translateX(-4px);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-300);
    margin-bottom: 10px;
}

.footer-contact-list i {
    color: var(--primary);
    width: 18px;
}

.footer-bottom-bar {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 12px;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-wa-btn:hover {
    transform: scale(1.1);
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.sticky-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 700;
    gap: 2px;
    flex: 1;
}

.sticky-bar-item i { font-size: 17px; }
.sticky-bar-item.active, .sticky-bar-item:hover { color: var(--primary); }
.sticky-bar-item.wa-item { color: var(--accent-green); }
.sticky-bar-icon { position: relative; }

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (MOBILE FIRST AUDIT)
   ========================================================================== */
@media (max-width: 1100px) {
    .categories-visual-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .products-main-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .product-main-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery-side {
        position: static;
    }

    .gallery-main-card {
        height: 320px;
    }

    .hero-banner-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
        gap: 24px;
    }
    
    .hero-banner-title { font-size: 1.85rem; }
    .hero-banner-text { margin: 0 auto 20px auto; }
    .hero-banner-btns { justify-content: center; }
    .hero-guarantee-row { justify-content: center; }
    
    .footer-main-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }

    .mobile-sticky-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .floating-wa-btn { display: none !important; }

    .header-container { height: 60px; }
    .brand-logo { height: 34px; }
    .header-nav-desktop { display: none; }
    .d-none-mobile { display: none !important; }
    .mobile-toggle-btn { display: block; }

    .product-page-wrapper {
        padding: 12px 0 24px 0;
    }

    .gallery-main-card {
        height: 280px;
        padding: 14px;
        border-radius: var(--radius-lg);
    }

    .thumb-btn {
        width: 58px;
        height: 58px;
    }

    .product-header-block {
        padding: 16px;
        border-radius: var(--radius-lg);
    }

    .product-main-heading {
        font-size: 1.35rem;
    }

    .price-current-large {
        font-size: 1.55rem;
    }

    .express-cod-box {
        padding: 18px 14px;
        border-radius: var(--radius-lg);
    }

    .form-field input, .form-field select {
        height: 46px;
        font-size: 15px; /* Prevents auto-zoom on iOS Safari */
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .delivery-options-group {
        grid-template-columns: 1fr;
    }

    .secondary-actions-row {
        grid-template-columns: 1fr;
    }

    .desc-card {
        padding: 18px;
        border-radius: var(--radius-lg);
    }

    /* 2 products per row on mobile */
    .products-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-image-box { height: 145px; }
    .card-body-box { padding: 10px; }
    .product-card-title { font-size: 12px; min-height: 32px; margin-bottom: 6px; }
    .price-main { font-size: 1.05rem; }
    
    .card-btn-grid { grid-template-columns: 1fr; gap: 4px; }
    .btn-card-secondary, .btn-card-primary { padding: 6px 4px; font-size: 11px; }

    /* Categories 2 per row */
    .categories-visual-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .category-visual-card { padding: 12px 8px; }
    .cat-icon-container { width: 42px; height: 42px; font-size: 17px; }
    .cat-card-title { font-size: 11.5px; }

    .trust-cards-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-main-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 420px) {
    .categories-visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
