/* ==============================================
   OUIIL HOME - Complete Stylesheet (CLEANED)
   Arabic RTL E-Commerce Landing Page
   ============================================== */

/* ==============================================
   1. CSS VARIABLES
   ============================================== */
:root {
    --primary: #2D6A4F;
    --primary-rgb: 45, 106, 79;
    --primary-light: #52B788;
    --primary-lighter: #B7E4C7;
    --primary-pale: #D8F3DC;
    --primary-dark: #1B4332;

    --accent: #E8772E;
    --accent-dark: #D35400;
    --accent-light: #FFF3E8;

    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --instapay: #5B2C8E;
    --wallet: #1A73E8;

    --bg-white: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-cream: #FFFDF7;
    --bg-section: #F4F7F5;

    --text-primary: #1A1A2E;
    --text-body: #4A4A5A;
    --text-muted: #8A8A9A;
    --text-white: #FFFFFF;

    --border: #E8ECF0;
    --border-light: #F0F2F5;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.14);

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
    --radius-full: 50%;

    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    --font: 'Cairo', sans-serif;
    --container: 1200px;
    --header-h: 72px;
}

/* ==============================================
   2. RESET & BASE
   ============================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: var(--font);
    font-size: 1rem;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ==============================================
   3. TYPOGRAPHY
   ============================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

.section-badge {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 10px;
    position: relative;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================================
   4. LAYOUT & CONTAINER
   ============================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

/* ==============================================
   5. BUTTONS
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 119, 46, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--text-white);
    border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ==============================================
   6. HEADER & NAVIGATION
   ============================================== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-pale);
}

.header-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 320px;
    margin: 0 12px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    transition: var(--transition-fast);
}

.header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    color: var(--text-primary);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    width: 46px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    padding: 10px 28px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: calc(100vh - var(--header-h));
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition-slow);
    overflow-y: auto;
    padding: 30px 24px;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--primary-pale);
    color: var(--primary);
}

.mobile-search {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    color: var(--text-primary);
}

.mobile-search button {
    width: 48px;
    height: 44px;
    background: var(--primary);
    color: #fff;
}

.mobile-nav .btn {
    margin-top: 20px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* ==============================================
   7. HERO SECTION (FIXED)
   ============================================== */
.hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-pale) 50%, var(--bg-cream) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.04);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* Product Gallery */
.hero-gallery {
    position: relative;
    width: 100%;
    min-width: 0;
}

.main-image {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.main-image:hover img {
    transform: scale(1.05);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

.thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-lighter) transparent;
}

.thumb-list::-webkit-scrollbar {
    height: 6px;
}

.thumb-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.thumb-list::-webkit-scrollbar-thumb {
    background: var(--primary-lighter);
    border-radius: 3px;
}

.thumb-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.thumb-item {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition);
    background: var(--bg-white);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
    line-height: 0;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero Info */
.hero-info {
    padding: 20px 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.hero-info .product-category {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.hero-info h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-info .product-brief {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.old-price {
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-badge {
    background: #FEE2E2;
    color: #DC2626;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-features {
    margin-bottom: 28px;
    width: 100%;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--text-body);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-features li i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 24px;
    height: 24px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    width: 100%;
}

.hero-guarantee {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-guarantee-item i {
    color: var(--primary-light);
}

/* ==============================================
   8. TRUST BADGES
   ============================================== */
.trust-section {
    padding: 50px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: var(--bg-light);
}

.trust-card:hover {
    background: var(--primary-pale);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.trust-card:hover .trust-icon {
    background: var(--primary);
    color: var(--text-white);
}

.trust-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==============================================
   9. FEATURES SECTION
   ============================================== */
.features-section {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lighter);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.05);
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ==============================================
   10. SPECIFICATIONS SECTION
   ============================================== */
.specs-section {
    background: var(--bg-section);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.specs-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.specs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specs-table {
    width: 100%;
}

.spec-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.spec-row:nth-child(odd) {
    background: var(--bg-white);
}

.spec-row:hover {
    background: var(--primary-pale);
}

.spec-label {
    font-weight: 700;
    color: var(--text-primary);
    width: 45%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-label i {
    color: var(--primary);
    font-size: 0.85rem;
}

.spec-value {
    color: var(--text-body);
    flex: 1;
}

/* ==============================================
   11. WHY US / BENEFITS
   ============================================== */
.benefits-section {
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.benefit-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.benefit-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary-lighter);
}

.benefit-num {
    width: 48px;
    height: 48px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-card:hover .benefit-num {
    background: var(--primary);
    color: var(--text-white);
}

.benefit-content h4 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ==============================================
   12. POLICIES PREVIEW
   ============================================== */
.policies-section {
    background: var(--bg-section);
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.policy-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
}

.policy-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.policy-card:hover .policy-icon {
    background: var(--primary);
    color: var(--text-white);
}

.policy-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.policy-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.policy-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.policy-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ==============================================
   13. FAQ SECTION
   ============================================== */
.faq-section {
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-lighter);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    gap: 16px;
}

.faq-question span {
    text-align: right;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==============================================
   14. CTA SECTION
   ============================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-section .btn-accent {
    background: var(--accent);
    border-color: var(--accent);
}

.cta-section .btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.cta-section .btn-outline {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-white);
}

/* ==============================================
   15. FOOTER
   ============================================== */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-right: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}

.footer-contact-item i {
    color: var(--primary-light);
    width: 20px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ==============================================
   16. FLOATING BUTTONS
   ============================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 800;
    transition: transform var(--transition);
}

    .floating-whatsapp:hover {
        transform: scale(1.08);
    }

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==============================================
   17. PAGE HEADER (Inner Pages)
   ============================================== */
.page-header {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 40px;
    background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg-light) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ==============================================
   18. ABOUT PAGE
   ============================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ==============================================
   19. CONTACT PAGE
   ============================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--primary-pale);
    transform: translateX(-4px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--primary);
    color: var(--text-white);
}

/* ==============================================
   20. FORMS
   ============================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label .required {
    color: #DC2626;
    margin-right: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control.error {
    border-color: #DC2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-error {
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 6px;
    display: none;
}

.form-error.show {
    display: block;
}

.form-error.show::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background: #DC2626;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238A8A9A' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==============================================
   21. CHECKOUT PAGE
   ============================================== */
.checkout-section {
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 60px;
    background: var(--bg-light);
    min-height: 100vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.checkout-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.checkout-form-card h3 {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-form-card h3 i {
    color: var(--primary);
}

.order-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.order-summary h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.summary-product {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.summary-product-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.summary-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-product-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.summary-product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-pale);
    color: var(--primary);
}

.qty-input {
    width: 50px;
    height: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
    color: var(--text-primary);
}

.coupon-section {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.coupon-input-group {
    display: flex;
    gap: 8px;
}

.coupon-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.coupon-input-group input:focus {
    border-color: var(--primary);
}

.coupon-input-group button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.coupon-msg {
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

.coupon-msg.success { color: var(--primary); display: block; }
.coupon-msg.error { color: #DC2626; display: block; }

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-line.discount { color: var(--primary); }

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 8px;
    border-top: 2px solid var(--border);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.payment-methods { margin-top: 20px; }

.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover { border-color: var(--primary-lighter); }

.payment-option.selected {
    border-color: var(--primary);
    background: var(--primary-pale);
}

.payment-option input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.payment-option-label { font-weight: 600; color: var(--text-primary); }
.payment-option-desc { font-size: 0.85rem; color: var(--text-muted); }

.payment-details {
    display: none;
    padding: 20px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    margin-top: 10px;
    border: 1px solid var(--border);
}

.payment-details.show { display: block; }

.transfer-number {
    background: var(--bg-white);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
    border: 2px dashed var(--primary-lighter);
    direction: ltr;
}

.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: var(--bg-white);
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--primary-pale);
}

.file-upload.drag-over {
    border-color: var(--primary);
    background: var(--primary-pale);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}

.file-upload i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.file-upload p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

.file-upload input[type="file"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}

.file-preview { display: none; margin-top: 12px; text-align: center; }
.file-preview img { max-width: 200px; border-radius: var(--radius-sm); margin: 0 auto; }
.file-preview .file-name { font-size: 0.85rem; color: var(--primary); margin-top: 8px; }

.shipping-preview-card,
.checkout-readiness {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-white);
}

.shipping-preview-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), .08), rgba(245, 158, 11, .08));
}

.shipping-preview-card.ready {
    border-color: rgba(var(--primary-rgb), .28);
}

.shipping-preview-icon,
.checkout-readiness > i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--primary-pale);
    color: var(--primary);
}

.shipping-preview-card strong,
.shipping-preview-card span,
.shipping-preview-card small {
    display: block;
}

.shipping-preview-card strong {
    color: var(--text-primary);
    margin-bottom: 3px;
}

.shipping-preview-card span,
.shipping-preview-card small,
.checkout-readiness span {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.7;
}

.shipping-preview-card small {
    margin-top: 2px;
    color: var(--primary);
    font-weight: 700;
}

.checkout-readiness {
    background: var(--bg-light);
    margin-top: 14px;
}

.checkout-readiness.ready {
    border-color: rgba(var(--primary-rgb), .28);
    background: var(--primary-pale);
}

.checkout-readiness.ready > i {
    background: var(--primary);
    color: #fff;
}

.btn.is-disabled,
.btn:disabled {
    opacity: .58;
    cursor: not-allowed;
    transform: none !important;
}

.checkout-submit { margin-top: 24px; }

/* ==============================================
   22. SUCCESS MESSAGE
   ============================================== */
.success-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.success-overlay.show { display: flex; }
.success-modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.success-modal h2 { margin-bottom: 12px; }
.success-modal p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }

/* ==============================================
   23. POLICY PAGES
   ============================================== */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.policy-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 14px;
}

.policy-content ul { padding-right: 20px; }

.policy-content li {
    padding: 8px 0;
    color: var(--text-body);
    position: relative;
    padding-right: 20px;
}

.policy-content li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ==============================================
   24. REPORTS PAGE
   ============================================== */
.reports-section {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 40px;
    background: var(--bg-light);
    min-height: 100vh;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-icon.blue { background: #EBF5FF; color: #1A73E8; }
.stat-icon.green { background: var(--primary-pale); color: var(--primary); }
.stat-icon.orange { background: #FFF3E8; color: var(--accent); }
.stat-icon.purple { background: #F3E8FF; color: #7C3AED; }

.stat-info h4 { font-size: 1.5rem; margin-bottom: 2px; }
.stat-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

.filters-bar {
    background: var(--bg-white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.filters-bar .form-control { width: auto; min-width: 180px; padding: 10px 16px; font-size: 0.9rem; }
.filters-bar .btn { padding: 10px 24px; font-size: 0.9rem; }

.table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.table-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.table-responsive { overflow-x: auto; }

.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
    background: var(--bg-section);
    padding: 14px 16px;
    text-align: right;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
    white-space: nowrap;
}

.data-table tr:hover { background: var(--bg-light); }

.status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.pending { background: #FEF3C7; color: #D97706; }
.status-badge.confirmed { background: #D1FAE5; color: #059669; }
.status-badge.shipped { background: #DBEAFE; color: #2563EB; }
.status-badge.delivered { background: var(--primary-pale); color: var(--primary); }
.status-badge.cancelled { background: #FEE2E2; color: #DC2626; }

.duplicate-flag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #D97706;
    font-size: 0.8rem;
    font-weight: 600;
}

.table-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px;
}

.table-pagination button {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.table-pagination button:hover,
.table-pagination button.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* ==============================================
   25. INVOICE PAGE
   ============================================== */
.invoice-section {
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 40px;
    background: var(--bg-light);
    min-height: 100vh;
}

.invoice-search {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    margin-bottom: 30px;
    display: flex;
    gap: 12px;
    align-items: end;
}

.invoice-paper {
    background: var(--bg-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.invoice-header-section {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 30px;
}

.invoice-brand h2 { color: var(--primary); font-size: 1.6rem; margin-bottom: 4px; }
.invoice-brand p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

.invoice-meta { text-align: left; }
.invoice-meta p { font-size: 0.9rem; margin-bottom: 4px; }

.invoice-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.invoice-detail-box h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.invoice-detail-box p { font-size: 0.9rem; margin-bottom: 6px; }

.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }

.invoice-table th {
    background: var(--primary);
    color: var(--text-white);
    padding: 12px 16px;
    text-align: right;
    font-size: 0.9rem;
}

.invoice-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

.invoice-totals { display: flex; justify-content: flex-start; margin-bottom: 30px; }
.invoice-totals-box { min-width: 280px; }

.invoice-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.invoice-totals-row.total {
    border-top: 2px solid var(--text-primary);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
}

.invoice-footer-section {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.invoice-actions { text-align: center; margin-top: 24px; }

/* ==============================================
   26. LOADING & STATES
   ============================================== */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    flex-direction: column;
    gap: 16px;
}

.loading-overlay.show { display: flex; }

.loading-overlay .loading-spinner { width: 48px; height: 48px; border-width: 4px; }

.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-light) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.toast {
    position: fixed;
    top: calc(var(--header-h) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 3000;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #D1FAE5; color: #059669; border: 1px solid #A7F3D0; }
.toast.error { background: #FEE2E2; color: #DC2626; border: 1px solid #FECACA; }
.toast.warning { background: #FEF3C7; color: #D97706; border: 1px solid #FDE68A; }

#toastContainer {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 28px));
    pointer-events: none;
}

.sale-notification-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(52, 211, 153, .28);
    border-radius: 12px;
    background: #111827;
    color: #fff;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .28);
    font-weight: 800;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: auto;
}

.sale-notification-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sale-notification-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(52, 211, 153, .14);
    color: #34d399;
    box-shadow: 0 8px 18px rgba(52, 211, 153, .2);
}

.sale-notification-toast__text {
    flex: 1;
}

.sale-notification-swal {
    border: 1px solid rgba(52, 211, 153, .28) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .28) !important;
    direction: rtl;
}

.sale-notification-swal__title {
    padding: 0 6px !important;
    color: #fff !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1.65 !important;
    text-align: right !important;
}

.my-progress-bar {
    background: #34d399 !important;
}

@media (max-width: 575px) {
    #toastContainer {
        right: 14px;
        left: 14px;
        bottom: 16px;
        max-width: none;
    }
}

/* ==============================================
   27. PRINT STYLES
   ============================================== */
@media print {
    .header, .footer, .floating-whatsapp, .scroll-top,
    .invoice-actions, .invoice-search, .no-print {
        display: none !important;
    }
    .invoice-paper { box-shadow: none; padding: 20px; margin: 0; }
    body { background: white; }
    .invoice-section { padding: 0; background: white; }
}

/* ==============================================
   28. CHECKOUT STEPS
   ============================================== */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    padding: 0 20px;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
}

.checkout-steps .step .step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkout-steps .step span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.checkout-steps .step.active .step-number { background: var(--primary); color: var(--text-white); }
.checkout-steps .step.active span { color: var(--primary); }
.checkout-steps .step.completed .step-number { background: var(--primary-light); color: var(--text-white); }
.checkout-steps .step.completed span { color: var(--primary-light); }

.checkout-steps .step-line {
    width: 60px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    transition: var(--transition);
}

.checkout-steps .step-line.active { background: var(--primary-light); }

.checkout-step-content { display: none; }

.checkout-step-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.step-actions.two-btns { display: flex; gap: 14px; }
.step-actions.two-btns .btn:last-child { flex: 1; }

.summary-trust {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.summary-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.summary-trust-item i { color: var(--primary); width: 18px; font-size: 0.85rem; }

.checkout-free-shipping {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 14px;
    padding: 12px;
}

.checkout-free-shipping-row {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .checkout-free-shipping-row span {
        align-items: center;
        color: var(--text-main);
        display: inline-flex;
        font-weight: 800;
        gap: 6px;
    }

    .checkout-free-shipping-row i,
    .checkout-free-shipping-row strong {
        color: var(--primary);
    }

.checkout-free-shipping-track {
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

    .checkout-free-shipping-track span {
        background: var(--primary);
        border-radius: inherit;
        display: block;
        height: 100%;
        transition: width .25s ease;
    }

.checkout-free-shipping p {
    color: var(--text-muted);
    font-size: .8rem;
    margin: 8px 0 0;
}

.checkout-recommendations {
    border-top: 1px solid var(--border);
    margin-top: 14px;
    padding-top: 14px;
}

.checkout-recommendations-head {
    display: grid;
    gap: 3px;
    margin-bottom: 10px;
}

    .checkout-recommendations-head strong {
        color: var(--text-main);
        font-size: .95rem;
    }

    .checkout-recommendations-head span {
        color: var(--text-muted);
        font-size: .78rem;
    }

.checkout-recommendation-card {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    margin-bottom: 8px;
    padding: 8px;
}

.checkout-recommendation-img {
    aspect-ratio: 1;
    background: var(--bg-section);
    border-radius: 10px;
    display: block;
    overflow: hidden;
}

    .checkout-recommendation-img img {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

.checkout-recommendation-info {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .checkout-recommendation-info a {
        color: var(--text-main);
        font-size: .82rem;
        font-weight: 800;
        overflow: hidden;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .checkout-recommendation-info span {
        color: var(--primary-dark);
        font-size: .8rem;
        font-weight: 800;
    }

.checkout-recommendation-btn {
    align-items: center;
    background: var(--primary-light);
    border: 1px solid rgba(29,158,117,.25);
    border-radius: 8px;
    color: var(--primary-dark);
    cursor: pointer;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    gap: 5px;
    justify-content: center;
    padding: 7px 10px;
}

@media (max-width: 420px) {
    .checkout-recommendation-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .checkout-recommendation-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Full-width product story imagery on the home page */
.product-proof-band {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f3f0eb;
    box-shadow: inset 0 1px rgba(25, 35, 31, .08),
                inset 0 -1px rgba(25, 35, 31, .08);
}

.product-proof-band img {
    display: block;
    width: 100%;
    height: auto;
}

.transfer-info-box { padding: 4px 0; }
.checkout-form-wrapper { min-width: 0; }
.order-summary-wrapper { min-width: 0; }

/* ==============================================
   29. SHIPPING FEES PAGE
   ============================================== */
.fees-section {
    min-height: auto;
}

.fees-card {
    max-width: 640px;
    margin: 0 auto;
}

.fees-free-shipping-notice {
    max-width: 640px;
    margin: 0 auto 18px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--primary-pale);
    border: 1px solid rgba(var(--primary-rgb), .22);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.fees-free-shipping-notice i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

.fees-free-shipping-notice strong,
.fees-free-shipping-notice span {
    display: block;
}

.fees-free-shipping-notice strong {
    margin-bottom: 3px;
}

.fees-free-shipping-notice span {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.7;
}

/* ==============================================
   30. PRODUCT VIDEO SECTION
   ============================================== */
.video-section {
    background: var(--bg-section);
    padding: 80px 0;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper.video-shorts {
    max-width: 350px;
    margin: 0 auto;
}

.video-wrapper.video-shorts .video-container {
    position: relative;
    width: 100%;
    padding-top: 177.78%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-wrapper.video-shorts .video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video-container video {
    display: block;
    object-fit: cover;
    background: #000;
}

.video-container.video-youtube {
    padding: 0;
    aspect-ratio: 16 / 9;
}

.video-container.video-youtube iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.home-deferred-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
}

.video-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.video-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
}

.video-info-item i { color: var(--primary); font-size: 1rem; }

/* ==============================================
   31. RESPONSIVE DESIGN (ALL IN ONE)
   ============================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .policies-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr);}
}

/* Mobile Large */
@media (max-width: 768px) {
	
    section { padding: 50px 0; }

    /* HERO */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 20px);
        padding-bottom: 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-gallery {
        order: -1;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .main-image { width: 100%; margin: 0 auto; }

    .thumb-list { justify-content: center; overflow-x: auto; gap: 8px; }
    .thumb-item { width: 60px; height: 60px; min-width: 60px; }

    .hero-info {
        width: 100%;
        text-align: center;
        padding: 0;
        overflow: hidden;
    }

    .hero-info h1 { word-wrap: break-word; overflow-wrap: break-word; }
    .hero-info .product-brief { word-wrap: break-word; overflow-wrap: break-word; }
    .hero-features li { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-guarantee { justify-content: center; }
    .price-box { justify-content: center; }

    /* NAVIGATION */
    .nav-links { display: none; }
    .header-search { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: block; }
    .header-cta { display: none; }

    /* GRIDS */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .policies-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .invoice-details-grid { grid-template-columns: 1fr; }

    /* PAGES */
    .invoice-paper { padding: 24px; }
    .invoice-header-section { flex-direction: column; gap: 16px; }
    .invoice-meta { text-align: right; }
    .checkout-form-card { padding: 24px; }
    .order-summary { padding: 24px; }
    .policy-content { padding: 24px; }
    .filters-bar { flex-direction: column; }
    .filters-bar .form-control { width: 100%; }
    .invoice-search { flex-direction: column; }

    /* VIDEO */
    .video-section { padding: 50px 0; }
    .video-wrapper.video-shorts { max-width: 300px; }
    .video-info { gap: 20px; }
    .video-info-item { font-size: 0.85rem; }

    /* CHECKOUT STEPS */
    .checkout-steps .step span { display: none; }
    .checkout-steps .step-line { width: 40px; }
    .checkout-steps { gap: 0; }
    .step-actions.two-btns { flex-direction: column-reverse; }
    .step-actions.two-btns .btn { width: 100%; }
	
    /* REVIEWS - Mobile Fix */
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        max-width: 100%;
    }

    .review-card {
        padding: 22px 18px;
        text-align: right;
    }

    .review-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .review-avatar,
    .review-avatar-placeholder {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .review-avatar-placeholder {
        font-size: 1rem;
    }

    .review-info h4 {
        font-size: 0.9rem;
    }

    .review-text {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .review-card::before {
        font-size: 2.2rem;
        top: 8px;
        left: 12px;
    }

    .reviews-summary-stars i {
        font-size: 1.1rem;
    }

    .reviews-summary-text {
        font-size: 0.88rem;
    }
	
}

/* Mobile Small */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-gallery { max-width: 100%; }
    .hero-info h1 { font-size: 1.3rem; }
    .hero-info .product-brief { font-size: 0.9rem; }
    .current-price { font-size: 1.8rem; }

    .btn { padding: 12px 28px; font-size: 0.95rem; }
    .btn-lg { padding: 14px 36px; font-size: 1rem; }

    .trust-grid { grid-template-columns: 1fr; }

    .thumb-item { width: 52px; height: 52px; min-width: 52px; border-width: 2px; }
    .thumb-list { gap: 6px; }
    .main-image { border-radius: var(--radius-lg); }

    .cta-buttons { flex-direction: column; align-items: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; }
    .hero-guarantee { gap: 12px; }
    .hero-guarantee-item { font-size: 0.8rem; }

    .data-table th, .data-table td { padding: 10px 12px; font-size: 0.82rem; }

    .video-wrapper.video-shorts { max-width: 260px; }
    .video-info { flex-direction: column; align-items: center; gap: 12px; }
    .video-container,
    .video-wrapper.video-shorts .video-container { border-radius: var(--radius-lg); }

    .checkout-steps .step-line { width: 24px; }
    .checkout-steps .step { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* ==============================================
   31. QUANTITY OFFERS BANNER (Checkout)
   ============================================== */
.quantity-offers-banner {
    background: linear-gradient(135deg, var(--primary-pale) 0%, #E8F5E9 50%, var(--accent-light) 100%);
    border: 2px solid var(--primary-lighter);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.quantity-offers-banner::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.06);
    pointer-events: none;
}

.offer-banner-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.offer-banner-title i {
    font-size: 1.2rem;
    color: var(--accent);
}

.offer-banner-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.offer-banner-item {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    cursor: default;
}

.offer-banner-item:hover {
    border-color: var(--primary-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.offer-banner-item.highlight {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-pale) 100%);
}

.offer-banner-item.best-deal {
    border-color: var(--accent);
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
}

.offer-banner-item.current-selection {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-3px);
}

.offer-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.offer-banner-item.best-deal .offer-banner-icon {
    background: var(--accent-light);
    color: var(--accent);
}

.offer-banner-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.offer-banner-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.offer-badge-save {
    background: var(--primary);
    color: white;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.offer-banner-item.best-deal .offer-badge-save {
    background: var(--accent);
}

.best-deal-tag {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 0 var(--radius-md) 0 var(--radius-sm);
}

/* ==============================================
   32. PAYMENT DISCOUNT STYLES
   ============================================== */
.payment-discount-notice {
    background: linear-gradient(135deg, #EBF5FF 0%, #E8F5E9 100%);
    border: 1px solid var(--primary-lighter);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.payment-discount-notice i {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.payment-discount-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}

/* ==============================================
   33. QUANTITY DISCOUNT HINT
   ============================================== */
.qty-discount-hint {
    display: none;
    margin-top: 10px;
    padding: 8px 14px;
    background: var(--accent-light);
    border: 1px solid #FFE0B2;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--accent-dark);
    font-weight: 600;
}

.qty-discount-hint i {
    margin-left: 6px;
}

/* ==============================================
   34. TOTAL SAVINGS BADGE
   ============================================== */
.total-savings {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary-pale) 0%, #D1FAE5 100%);
    border: 1px solid var(--primary-lighter);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    animation: savingsPulse 2s ease-in-out infinite;
}

.total-savings i {
    font-size: 1.1rem;
}

@keyframes savingsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ==============================================
   35. CUSTOMER REVIEWS SECTION (Index Page)
   ============================================== */
.reviews-section {
    background: var(--bg-section);
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 3rem;
    color: var(--primary-pale);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-lighter);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    border: 2px solid var(--primary-lighter);
}

.review-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.review-info .review-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-stars i {
    font-size: 0.85rem;
    color: #F59E0B;
}

.review-stars i.empty {
    color: var(--border);
}

.review-text {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 12px;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-date i {
    font-size: 0.75rem;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

.review-verified i {
    font-size: 0.8rem;
}

.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-summary-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.reviews-summary-stars i {
    font-size: 1.4rem;
    color: #F59E0B;
}

.reviews-summary-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.reviews-summary-text strong {
    color: var(--text-primary);
}

/* ==============================================
   FOOTER RESPONSIVE POLISH
   ============================================== */
.footer-grid,
.footer-brand,
.footer-col {
    min-width: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-col h4 {
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-light);
}

.footer-col a,
.footer-contact-item {
    min-width: 0;
    border-radius: var(--radius-sm);
}

.footer-col a {
    display: flex;
    align-items: center;
    min-height: 38px;
}

.footer-col a:hover {
    background: rgba(255, 255, 255, .06);
}

.footer-contact-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }

    .footer-grid {
        gap: 14px;
        padding-bottom: 26px;
    }

    .footer-brand,
    .footer-col {
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .04);
    }

    .footer-brand p {
        margin-bottom: 16px;
    }

    .footer-social {
        flex-wrap: wrap;
    }

    .footer-social a {
        width: 42px;
        height: 42px;
    }

    .footer-col h4 {
        margin-bottom: 10px;
    }

    .footer-col a,
    .footer-contact-item {
        min-height: 44px;
        padding: 9px 10px;
        background: rgba(255, 255, 255, .04);
    }

    .footer-contact-item {
        align-items: flex-start;
    }

    .footer-contact-item i {
        margin-top: 3px;
        flex-shrink: 0;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom p {
        margin: 0;
        line-height: 1.8;
    }
}

@media (max-width: 420px) {
    .footer .container {
        padding-inline: 12px;
    }

    .footer-brand,
    .footer-col {
        padding: 15px;
    }
}
