/*
 * ============================================
 * PRINSHINE WEBSITE - MAIN STYLESHEET
 * ============================================
 * Professional Headlight Restoration Chemicals & Kits
 * 
 * TODO: Customize colors in :root to match brand
 * ============================================
 */

/* ============================================
   CSS RESET & ROOT VARIABLES
   ============================================ */
:root {
    /* Brand Colors - TODO: Adjust to match exact brand colors */
    --primary-color: #1a237e;
    --primary-dark: #0d1642;
    --primary-light: #3949ab;
    --secondary-color: #c62828;
    --secondary-light: #ef5350;
    --accent-color: #ffc107;
    --accent-dark: #ff8f00;
    
    /* Neutral Colors */
    --text-dark: #212121;
    --text-medium: #616161;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-dark: #1a1a2e;
    
    /* WhatsApp Green */
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1em;
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
}

.section-title p {
    margin-top: 20px;
    font-size: 1.1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid {
    display: grid;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #a12020, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--text-light);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: var(--text-light);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 4px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ============================================
   HERO / SLIDER SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    margin-top: 80px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85), rgba(198, 40, 40, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.slide-content {
    max-width: 800px;
    color: var(--text-light);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.slide-content p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.slide-content .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: var(--text-light);
    transform: scale(1.3);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 1.5rem;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        margin-top: 80px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-arrows {
        display: none;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ============================================
   RESULTS / STATS SECTION
   ============================================ */
.results {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 80px 0;
}

.results .section-title h2 {
    color: var(--text-light);
}

.results .section-title h2::after {
    background: var(--accent-color);
}

.results .section-title p {
    color: rgba(255,255,255,0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   REVENUE POTENTIAL SECTION
   ============================================ */
.revenue-section {
    background: var(--bg-white);
}

.revenue-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff8e1, #ffffff);
    border: 3px solid var(--accent-color);
    border-radius: var(--radius-xl);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.revenue-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.revenue-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.revenue-item {
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.revenue-item .label {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 5px;
}

.revenue-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.revenue-highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--text-light);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.revenue-highlight .big-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.revenue-highlight .sub-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border: 3px solid var(--secondary-color);
}

.price-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.price-card .quantity {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.price-card .price-note {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.price-card .btn {
    width: 100%;
}

.pricing-notes {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-notes p {
    margin: 10px 0;
    font-size: 0.95rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
}

/* ============================================
   SHOP PAGE - PRODUCT GRID
   ============================================ */
.shop-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.shop-header h1 {
    margin-bottom: 15px;
}

.shop-header p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Loading State */
.products-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-medium);
}

/* ============================================
   PRODUCT MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--text-light);
}

#product-modal .modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: calc(90vh - 0px);
}

@media (max-width: 768px) {
    #product-modal .modal-content {
        grid-template-columns: 1fr;
        overflow-y: auto;
        max-height: calc(90vh - 0px);
    }
}

.modal-gallery {
    padding: 30px;
    background: var(--bg-light);
}

.modal-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.modal-thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    opacity: 1;
}

.modal-details {
    padding: 40px 30px;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.modal-details::-webkit-scrollbar {
    width: 6px;
}

.modal-details::-webkit-scrollbar-track {
    background: transparent;
}

.modal-details::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.modal-details::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-details {
        max-height: none;
        overflow-y: visible;
    }
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.modal-description {
    margin-bottom: 25px;
}

.modal-components {
    margin-bottom: 25px;
}

.modal-components h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.component-item {
    text-align: center;
    padding: 10px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.component-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.component-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.modal-actions .btn {
    flex: 1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.why-us {
    background: var(--bg-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.why-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

.contact-info {
    padding: 20px;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-light);
    transition: all var(--transition-normal);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.youtube { background: #ff0000; }
.social-icon.whatsapp { background: var(--whatsapp-green); }

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--text-light);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--text-light);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ============================================
   ADMIN PAGE STYLES
   ============================================ */
.admin-container {
    max-width: 1400px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

.admin-login {
    max-width: 400px;
    margin: 150px auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.admin-login h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.admin-header h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.admin-tab {
    padding: 12px 24px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.admin-tab.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.admin-card h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

/* Admin Form */
.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form .form-group.full-width {
    grid-column: 1 / -1;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Components Input */
.components-container {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.component-input {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
}

.component-input .remove-component {
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-self: end;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--bg-light);
}

.admin-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
}

.admin-table tr:hover {
    background: var(--bg-light);
}

.admin-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.admin-table .actions {
    display: flex;
    gap: 10px;
}

.admin-table .btn-edit {
    padding: 8px 12px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.admin-table .btn-delete {
    padding: 8px 12px;
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* Contact Queries Table */
.query-item {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.query-item .query-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.query-item .query-name {
    font-weight: 600;
    color: var(--primary-color);
}

.query-item .query-date {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.query-item .query-mobile {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.query-item .query-message {
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 2001;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cart-item-info .price {
    color: var(--secondary-color);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--bg-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-footer .btn {
    width: 100%;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-medium);
}

/* Cart Icon in Nav */
.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--text-light);
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease both;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease both;
}

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .section {
        padding: 50px 0;
    }
    
    .revenue-card {
        padding: 30px 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .component-input {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slide-content .btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .slide-content .btn-group .btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
    }
}

/* ============================================
   DUAL PRICING STYLES
   ============================================ */
.original-price {
    color: var(--text-medium);
    font-size: 0.9em;
    margin-right: 10px;
}

.original-price s {
    text-decoration: line-through;
}

.discounted-price {
    color: var(--secondary-color);
    font-weight: 700;
}

.price-note {
    display: block;
    font-size: 0.5em;
    color: var(--text-medium);
    font-weight: 400;
    margin-top: 5px;
}

.modal-price .original-price {
    font-size: 1.3rem;
}

.modal-price .discounted-price {
    font-size: 2rem;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.reviews-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-username {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.review-stars {
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-medium);
    line-height: 1.6;
    font-style: italic;
}

.review-text::before {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-light);
}

.review-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-light);
}

.reviews-actions {
    text-align: center;
    margin-top: 30px;
}

/* ============================================
   REVIEW MODAL
   ============================================ */
#review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#review-modal.active {
    display: flex;
}

#review-modal .modal {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.3s ease;
}

#review-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

#review-modal .modal-close:hover {
    background: var(--secondary-color);
    color: white;
}

#review-modal h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

#review-modal .form-group {
    margin-bottom: 20px;
}

#review-modal .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

#review-modal .form-group input,
#review-modal .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

#review-modal .form-group input:focus,
#review-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.review-modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.3s ease;
}

.review-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
}

.review-modal h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.star-rating-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.star-rating-input .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input .star:hover,
.star-rating-input .star.active {
    color: #ffc107;
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
#checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

#checkout-modal.active {
    display: flex;
}

#checkout-modal .modal {
    background: var(--bg-white);
    padding: 0;
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    margin: 20px 0;
    position: relative;
    animation: slideInUp 0.3s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#checkout-modal .modal-content {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    display: block;
    grid-template-columns: none;
}

#checkout-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

#checkout-modal .modal-close:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

#checkout-modal h2 {
    color: var(--primary-color);
    margin: 0;
    padding: 25px 40px;
    text-align: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

#checkout-modal h3 {
    color: var(--primary-color);
    margin: 0 0 25px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Checkout Two-Column Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
}

.checkout-left {
    padding: 35px 40px;
    background: white;
}

.checkout-right {
    background: linear-gradient(180deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 35px 30px;
    border-left: 1px solid #e8e8e8;
}

.checkout-right h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

@media (max-width: 850px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkout-left {
        order: 1;
        padding: 30px 25px;
    }
    
    .checkout-right {
        order: 2;
        border-left: none;
        border-top: 1px solid #e8e8e8;
        padding: 25px;
    }
    
    #checkout-modal h2 {
        padding: 20px;
        font-size: 1.5rem;
    }
}

/* Checkout Form Styling */
#checkout-form .form-group {
    margin-bottom: 22px;
}

#checkout-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

#checkout-form .form-group input,
#checkout-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: #fafafa;
}

#checkout-form .form-group input:focus,
#checkout-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

#checkout-form .form-group input::placeholder,
#checkout-form .form-group textarea::placeholder {
    color: #aaa;
}

#checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#checkout-form .checkout-pay-btn {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#checkout-form .checkout-pay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.35);
}

.checkout-note {
    text-align: center;
    margin-top: 15px;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Cart Summary in Checkout */
#checkout-cart-summary {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

#checkout-cart-summary .checkout-items {
    margin-bottom: 20px;
    max-height: 180px;
    overflow-y: auto;
}

#checkout-cart-summary .checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

#checkout-cart-summary .checkout-item:last-child {
    border-bottom: none;
}

#checkout-cart-summary .checkout-item .item-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

#checkout-cart-summary .checkout-item .item-price {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

#checkout-cart-summary .checkout-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
}

#checkout-cart-summary .total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

#checkout-cart-summary .shipping-row {
    color: var(--secondary-color);
}

#checkout-cart-summary .shipping-fee {
    font-weight: 700;
}

#checkout-cart-summary .grand-total-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

#checkout-cart-summary .payment-note {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 18px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #90caf9;
}

#checkout-cart-summary .payment-note .note-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

#checkout-cart-summary .payment-note .note-text strong {
    display: block;
    color: #1565c0;
    margin-bottom: 5px;
    font-size: 1rem;
}

#checkout-cart-summary .payment-note .note-text p {
    margin: 0;
    color: #1976d2;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    #checkout-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #checkout-modal .modal {
        margin: 10px 0;
    }
    
    #checkout-cart-summary .checkout-items {
        max-height: 120px;
    }
}

.checkout-modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    margin: 40px 0;
    position: relative;
    animation: slideInUp 0.3s ease;
}

.checkout-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
}

.checkout-modal h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.checkout-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.checkout-summary h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
}

.checkout-totals .line {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.checkout-totals .shipping {
    color: var(--secondary-color);
    font-weight: 600;
}

.checkout-totals .grand-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.checkout-totals .remaining-cod {
    background: #fff3cd;
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    text-align: center;
    color: #856404;
    font-weight: 600;
}

.checkout-notice {
    background: #e3f2fd;
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: #1565c0;
    font-size: 0.95rem;
    text-align: center;
}

.checkout-notice strong {
    display: block;
    margin-bottom: 5px;
}

.checkout-form h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pay-btn {
    background: linear-gradient(135deg, #528ff0, #1a237e);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all var(--transition-normal);
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
}

.pay-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Checkout Form Styling */
#checkout-form .form-group {
    margin-bottom: 20px;
}

#checkout-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

#checkout-form .form-group input,
#checkout-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

#checkout-form .form-group input:focus,
#checkout-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

#checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#checkout-form .checkout-pay-btn {
    background: linear-gradient(135deg, #528ff0, #1a237e);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all var(--transition-normal);
}

#checkout-form .checkout-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
}

.checkout-note {
    text-align: center;
    margin-top: 15px;
    color: var(--text-medium);
}

/* Cart Summary in Checkout */
#checkout-cart-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

#checkout-cart-summary .checkout-items {
    margin-bottom: 15px;
}

#checkout-cart-summary .checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

#checkout-cart-summary .checkout-item:last-child {
    border-bottom: none;
}

#checkout-cart-summary .checkout-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
}

#checkout-cart-summary .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

#checkout-cart-summary .shipping-row {
    color: var(--secondary-color);
}

#checkout-cart-summary .shipping-fee {
    font-weight: 600;
}

#checkout-cart-summary .grand-total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

#checkout-cart-summary .payment-note {
    background: #e3f2fd;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

#checkout-cart-summary .payment-note .note-icon {
    font-size: 1.5rem;
}

#checkout-cart-summary .payment-note .note-text strong {
    display: block;
    color: #1565c0;
    margin-bottom: 5px;
}

#checkout-cart-summary .payment-note .note-text p {
    margin: 0;
    color: #1976d2;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    #checkout-form .form-row {
        grid-template-columns: 1fr;
    }
    
    #checkout-modal .modal {
        padding: 25px 20px;
        margin: 20px 0;
        max-width: 95%;
    }
}

/* ============================================
   ORDER SUCCESS PAGE
   ============================================ */
.order-success-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.order-success-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: white;
}

.order-success-card h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.order-success-card .tagline {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.order-details {
    text-align: left;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin: 30px 0;
}

.order-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.order-info-row:last-child {
    border-bottom: none;
}

.order-info-row.highlight {
    background: #e8f5e9;
    padding: 15px;
    margin: 10px -15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: #2e7d32;
}

.order-info-row.warning {
    background: #fff3cd;
    padding: 15px;
    margin: 10px -15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: #856404;
}

.order-items-list {
    margin: 20px 0;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-name {
    flex: 1;
}

.order-item-qty {
    color: var(--text-medium);
    margin: 0 20px;
}

.order-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.order-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.order-actions .btn {
    min-width: 180px;
}

/* ============================================
   ADMIN ORDERS & REVIEWS PANELS
   ============================================ */
.order-card {
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.order-id {
    font-weight: 600;
    color: var(--primary-color);
}

.order-date {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.order-status {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #e3f2fd;
    color: #1565c0;
}

.order-status.shipped {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status.delivered {
    background: #4caf50;
    color: white;
}

.order-customer {
    margin-bottom: 15px;
}

.order-customer h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.order-customer p {
    margin: 5px 0;
    color: var(--text-medium);
}

.order-items {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.order-items h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.order-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.amount-item {
    text-align: center;
}

.amount-item .label {
    font-size: 0.85rem;
    color: var(--text-medium);
    display: block;
    margin-bottom: 5px;
}

.amount-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.amount-item .value.paid {
    color: #2e7d32;
}

.amount-item .value.remaining {
    color: var(--secondary-color);
}

.order-actions-admin {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-actions-admin select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

/* Admin Reviews */
.admin-review-card {
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 15px;
}

.admin-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.admin-review-user {
    font-weight: 600;
    color: var(--primary-color);
}

.admin-review-stars {
    color: #ffc107;
}

.admin-review-text {
    color: var(--text-medium);
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.admin-review-actions {
    display: flex;
    gap: 10px;
}

.admin-review-actions .btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* Status badge for reviews */
.review-status {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.review-status.visible {
    background: #e8f5e9;
    color: #2e7d32;
}

.review-status.hidden {
    background: #ffebee;
    color: #c62828;
}

/* ============================================
   NAVBAR INSTAGRAM ICON
   ============================================ */
.nav-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    margin-left: 10px;
    transition: transform var(--transition-fast);
}

.nav-social-icon:hover {
    transform: scale(1.1);
    color: white;
}

.nav-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-success {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.btn-success:hover {
    background: linear-gradient(135deg, #43a047, #1b5e20);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #c62828);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e53935, #b71c1c);
}

/* ============================================
   CART DUAL PRICING
   ============================================ */
.cart-item-info .original-price {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.cart-item-info .discounted-price {
    font-size: 1rem;
}

.cart-shipping-note {
    background: #e3f2fd;
    color: #1565c0;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .cart-sidebar,
    .reviews-section {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .order-success-container {
        margin-top: 0;
    }
    
    .order-actions {
        display: none;
    }
}

/* ============================================
   ORDER SUCCESS PAGE - DETAILED STYLES
   ============================================ */
.order-success-section {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: var(--bg-light);
}

.order-success-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.order-success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.order-success-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.order-success-subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.order-info-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.order-info-box .order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.order-section {
    margin-bottom: 30px;
}

.order-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.order-items-table {
    overflow-x: auto;
}

.order-items-table table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.order-items-table th {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

.payment-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.summary-row.shipping-highlight {
    color: var(--secondary-color);
}

.shipping-amount {
    font-weight: 600;
}

.summary-row.total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
    margin-top: 10px;
}

.summary-row.paid-row {
    color: #2e7d32;
}

.paid-amount {
    font-weight: 600;
}

.summary-row.cod-row {
    color: var(--secondary-color);
    font-weight: 600;
}

.cod-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.shipping-details {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
}

.shipping-details p {
    margin: 5px 0;
}

.order-note {
    background: #fff3cd;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    color: #856404;
}

.order-contact {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.order-contact p {
    margin-bottom: 15px;
    color: var(--text-medium);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Loading spinner */
.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   REVIEWS SECTION - ADDITIONAL STYLES
   ============================================ */
.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 15px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-stars .star {
    color: #ffc107;
}

.review-stars .star.empty {
    color: #ddd;
}

.review-text {
    color: var(--text-medium);
    line-height: 1.7;
    font-style: italic;
    padding: 0 10px;
}

.review-date {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.reviews-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
}

.reviews-loading {
    text-align: center;
    padding: 40px;
}

/* Star rating input for review form */
.star-rating-input .star-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s, transform 0.2s;
    padding: 5px;
}

.star-rating-input .star-btn:hover {
    transform: scale(1.2);
}

.star-rating-input .star-btn.active,
.star-rating-input .star-btn.hover {
    color: #ffc107;
}

/* ============================================
   CHECKOUT FORM STYLES
   ============================================ */
.checkout-items .checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.checkout-items .checkout-item:last-child {
    border-bottom: none;
}

.checkout-totals {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-color);
}

.checkout-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.checkout-totals .shipping-row {
    color: var(--secondary-color);
}

.checkout-totals .shipping-fee {
    font-weight: 600;
}

.checkout-totals .grand-total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.payment-note {
    background: #e3f2fd;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.payment-note .note-icon {
    font-size: 2rem;
}

.payment-note .note-text strong {
    display: block;
    color: #1565c0;
    margin-bottom: 5px;
}

.payment-note .note-text p {
    margin: 0;
    color: #1976d2;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS - ADDITIONAL
   ============================================ */
@media (max-width: 768px) {
    .order-success-card {
        padding: 30px 20px;
    }
    
    .order-success-title {
        font-size: 1.5rem;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        width: 100%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-modal-content {
        padding: 25px 20px;
    }
    
    .payment-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .order-items-table th:nth-child(3),
    .order-items-table td:nth-child(3) {
        display: none;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ============================================
   MULTI-STEP CHECKOUT
   ============================================ */

/* Step Indicators - Compact inline design */
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    font-size: 0.9rem;
}

.checkout-steps .step.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.checkout-steps .step.completed {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.checkout-steps .step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e0e0e0;
    color: #666;
}

.checkout-steps .step.active .step-number,
.checkout-steps .step.completed .step-number {
    background: rgba(255,255,255,0.3);
    color: white;
}

.checkout-steps .step-label {
    font-weight: 600;
    font-size: 0.85rem;
}

.checkout-steps .step-line {
    width: 40px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 2px;
}

.checkout-steps .step.completed + .step-line {
    background: #4caf50;
}

/* Step Content */
.checkout-step-content {
    display: none;
    padding: 25px 30px 30px;
}

.checkout-step-content.active {
    display: block;
}

/* Step 1: Shipping Form - Compact Design */
#checkout-form-step1 .form-group {
    margin-bottom: 16px;
}

#checkout-form-step1 .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

#checkout-form-step1 .form-group input,
#checkout-form-step1 .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

#checkout-form-step1 .form-group input:focus,
#checkout-form-step1 .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

#checkout-form-step1 .form-group input::placeholder,
#checkout-form-step1 .form-group textarea::placeholder {
    color: #aaa;
}

#checkout-form-step1 .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#checkout-form-step1 textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 100px;
}

/* Step Container Title */
.step-container h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Continue Button (Step 1) */
.btn-next {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
}

.step-actions {
    margin-top: 20px;
}

/* Step 2: Review Section */
.checkout-review-grid {
    display: grid;
    gap: 20px;
}

.review-section {
    background: #f8f9fa;
    padding: 15px 18px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}

.review-section .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-section .review-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1rem;
}

.btn-edit {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: var(--primary-color);
    color: white;
}

/* Shipping Summary Card */
.shipping-card {
    padding: 0;
}

.shipping-card .customer-name {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.shipping-card .customer-address,
.shipping-card .customer-city {
    color: var(--text-medium);
    margin: 3px 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.shipping-card .customer-phone {
    color: var(--primary-color);
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Step 2 Action Buttons */
.step-actions-split {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-back {
    flex: 0 0 auto;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

#checkout-form {
    flex: 1;
}

#checkout-form .checkout-pay-btn {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

#checkout-form .checkout-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
}

/* Step 2 Cart Summary Refinements */
#checkout-step-2 #checkout-cart-summary {
    background: white;
    padding: 0;
    border-radius: 0;
}

#checkout-step-2 #checkout-cart-summary .checkout-items {
    max-height: 150px;
    overflow-y: auto;
}

#checkout-step-2 #checkout-cart-summary .checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
}

#checkout-step-2 #checkout-cart-summary .checkout-item:last-child {
    border-bottom: none;
}

#checkout-step-2 #checkout-cart-summary .item-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

#checkout-step-2 #checkout-cart-summary .item-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* Mobile Responsive for Multi-Step */
@media (max-width: 768px) {
    .checkout-steps {
        padding: 15px 20px;
    }
    
    .checkout-steps .step {
        padding: 8px 12px;
    }
    
    .checkout-steps .step-label {
        font-size: 0.8rem;
    }
    
    .checkout-steps .step-line {
        width: 25px;
    }
    
    .checkout-step-content {
        padding: 20px !important;
    }
    
    #checkout-form-step1 .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step-actions-split {
        flex-direction: column;
    }
    
    .btn-back {
        order: 2;
        text-align: center;
    }
    
    #checkout-form {
        order: 1;
    }
}

@media (max-width: 480px) {
    .checkout-steps .step {
        padding: 6px 10px;
    }
    
    .checkout-steps .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
    
    .checkout-steps .step-label {
        font-size: 0.75rem;
    }
    
    .checkout-steps .step-line {
        display: none;
    }
}

/* ============================================
   CHECKOUT - DESKTOP ENHANCEMENTS
   ============================================ */
@media (min-width: 769px) {
    #checkout-modal .modal {
        max-width: 720px;
        width: 90%;
    }
    
    /* Compact header row */
    #checkout-modal h2 {
        padding: 20px 40px;
        font-size: 1.5rem;
    }
    
    /* Compact step indicators */
    .checkout-steps {
        padding: 16px 30px;
    }
    
    .checkout-step-content {
        padding: 30px 40px 35px;
    }
    
    /* Step 1: Name and Phone side by side */
    #checkout-form-step1 .form-group {
        margin-bottom: 18px;
    }
    
    #checkout-form-step1 .form-group input,
    #checkout-form-step1 .form-group textarea {
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    #checkout-form-step1 .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    #checkout-form-step1 textarea {
        min-height: 70px;
        max-height: 100px;
    }
    
    /* Step container title */
    .step-container h3 {
        font-size: 1.15rem;
        margin-bottom: 22px;
    }
    
    /* Two-column layout for Step 2 on desktop */
    .checkout-review-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .review-section {
        padding: 18px 20px;
    }
    
    .review-section .review-header h3 {
        font-size: 0.95rem;
    }
    
    /* Step 2 actions on desktop - side by side */
    .step-actions-split {
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }
    
    .step-actions-split .btn-back {
        flex: 0 0 auto;
        min-width: 120px;
    }
    
    .step-actions-split .checkout-pay-btn,
    .step-actions-split #checkout-form {
        flex: 1;
    }
    
    /* Checkout note */
    .checkout-note {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Continue button */
    .btn-next {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* ============================================
   REVIEWS SUMMARY & ENHANCED CARDS
   ============================================ */
.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-avg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 25px 50px;
    background: linear-gradient(135deg, #fff8e1, #ffffff);
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.15);
}

.reviews-avg .avg-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.reviews-avg .avg-stars {
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.reviews-avg .avg-stars .star.full,
.reviews-avg .avg-stars .star.half {
    color: #ffc107;
}

.reviews-avg .avg-stars .star.empty {
    color: #ddd;
}

.reviews-avg .avg-count {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Reviewer location */
.reviewer-location {
    display: block;
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: 4px;
}

/* Enhanced review card */
.review-card {
    background: var(--bg-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
}

.review-card .review-text {
    color: var(--text-medium);
    line-height: 1.7;
    font-style: italic;
    padding: 0;
    position: relative;
    margin-top: 5px;
}

.review-card .review-text::before {
    content: '\201C';
    font-size: 2.5rem;
    color: var(--primary-light);
    position: absolute;
    top: -15px;
    left: -5px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.review-card .review-text::after {
    content: '';
}

.review-card .review-date {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-medium);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}
