/* ============================================================
   PRINTO - MAIN CSS
   Premium Apple-Style Design System
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS Variables === */
:root {
    --primary:    #111827;
    --secondary:  #FFFFFF;
    --accent:     #92C33E;
    --success:    #10B981;
    --warning:    #F59E0B;
    --danger:     #EF4444;
    --bg:         #F9FAFB;
    --text:       #1F2937;
    --text-muted: #4B5563;
    --border:     #e2e8f0;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius:     16px;
    --radius-sm:  10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* === Base === */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

a { text-decoration: none; color: inherit; }
img { 
    max-width: 100%; 
    color: transparent; 
}

/* === Notification Bar === */
.notification-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
}

/* === Sticky Header === */
.site-header {
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    border-bottom: 1px solid var(--border);
    z-index: 1030;
}

.navbar { padding: 12px 0; }

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.brand-dot { color: var(--accent); }

.navbar-toggler {
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2817%2c 24%2c 39%2c 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop Nav Links */
.navbar-nav .nav-link {
    color: #374151 !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
    background: rgba(0, 0, 0, 0.02);
}

/* === Mega Menu === */
.mega-menu-parent { position: static; }

.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    background: #fff;
    border: none;
    border-top: 3px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-radius: 0 0 20px 20px;
    padding: 0;
    margin-top: 12px !important;
}

.mega-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    gap: 8px;
    text-align: center;
}

.mega-menu-item:hover {
    background: var(--bg);
    color: var(--accent);
    transform: translateY(-2px);
}

.mega-icon { font-size: 2rem; }

/* === Search Bar === */
.search-wrapper { position: relative; }

.search-input {
    width: 260px;
    background: rgba(0,0,0,0.03);
    border: 1.5px solid var(--border);
    color: var(--text);
    border-radius: 25px;
    padding: 8px 16px 8px 40px;
    font-size: 14px;
    transition: var(--transition);
}

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

.search-input:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: none;
    outline: none;
    color: var(--text);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
}

.search-results {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow-hover);
    max-height: 350px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

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

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    transition: background 0.2s;
}

.search-result-item:hover { background: var(--bg); }
.search-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }

/* === Header Action Buttons === */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(0,0,0,0.03);
    color: #374151;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.btn-icon:hover {
    background: rgba(0,0,0,0.06);
    color: var(--accent);
}

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

.btn-primary-custom {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: #e63e26;
    color: #fff;
}

/* === Alert Floating === */
.alert-floating {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow-hover);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* === Hero Section === */
.hero-section { position: relative; height: 85vh; min-height: 500px; }

.heroSwiper { height: 100%; }

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 40%, rgba(15,23,42,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    animation: fadeInLeft 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(146,195,62,0.2);
    border: 1px solid rgba(146,195,62,0.4);
    color: #FF4D30;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: white;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-btn {
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 700;
}

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

.btn-accent:hover {
    background-color: #e63e26;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(146,195,62,0.35);
}

/* Swiper Buttons */
.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px; }

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--accent);
}

/* === Hero Features Overlay === */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-features-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2px 0;
}

.hero-features-overlay .feature-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 12px;
    background: transparent;
    border: none;
    transition: var(--transition);
}

.hero-features-overlay .feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-features-overlay .feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.hero-features-overlay .feature-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

/* For mobile screen scaling of features strip */
@media (max-width: 767.98px) {
    .hero-features-overlay {
        position: relative;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 2px 0;
    }
    .hero-features-overlay .feature-badge {
        padding: 4px 6px;
    }
    .hero-features-overlay .feature-icon {
        background: rgba(146, 195, 62, 0.1);
        color: var(--accent);
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .hero-features-overlay .feature-title {
        color: var(--text);
        font-size: 12px;
    }
    .hero-features-overlay .feature-sub {
        color: var(--text-muted);
        font-size: 10px;
    }
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(146,195,62,0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.feature-sub   { font-size: 12px; color: var(--text-muted); }

/* === Sections === */
.section-padding { padding: 80px 0; }
.bg-light-custom { background: #F8FAFC; }
.bg-primary-dark { background: var(--primary); }

.section-header { margin-bottom: 8px; }

.section-badge {
    display: inline-block;
    background: rgba(146,195,62,0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-badge-light {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-sub { color: var(--text-muted); font-size: 15px; }

.btn-link-arrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-link-arrow:hover { gap: 8px; }

/* === Category Cards === */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    gap: 8px;
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.category-icon { font-size: 2.5rem; margin-bottom: 4px; }
.category-name { font-size: 14px; font-weight: 700; color: var(--text); }
.category-count { font-size: 12px; color: var(--text-muted); }

/* === Product Cards === */
.product-card {
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-quick-view {
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 20px;
}

.product-badge-sale, .product-badge-trend {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}

.product-badge-sale { background: var(--accent); color: white; }
.product-badge-trend { background: var(--warning); color: var(--primary); }

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: none;
    background: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 15px;
    color: var(--text-muted);
}

.wishlist-btn:hover, .wishlist-btn.active { color: var(--accent); }

.product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category { margin-bottom: 4px; }

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a { color: var(--text); transition: color 0.2s; }
.product-title a:hover { color: var(--accent); }

.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.price-current { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

.product-rating { color: var(--warning); }
.product-actions { margin-top: auto; }

/* === Flash Sale === */
.flash-sale-banner {
    background: linear-gradient(135deg, #0F172A, #1e293b);
    border-radius: 20px;
    padding: 32px 40px;
    border: 1px solid rgba(146,195,62,0.3);
}

.flash-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flash-title { font-size: 1.6rem; font-weight: 800; color: white; margin-bottom: 4px; }

.countdown-timer { display: flex; align-items: center; gap: 8px; }

.countdown-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    min-width: 64px;
    color: white;
}

.countdown-box span { font-size: 1.5rem; font-weight: 800; display: block; }
.countdown-box small { font-size: 11px; color: rgba(255,255,255,0.6); }
.countdown-sep { color: white; font-size: 1.5rem; font-weight: 800; }

/* === Flash Sale Swiper === */
.flashSaleSwiper .swiper-slide { width: 280px; }

/* === How It Works === */
.how-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.how-step:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(146,195,62,0.08);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.how-step h5 { font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* === Testimonials === */
.testimonialSwiper { padding: 20px 8px 50px !important; }

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    height: 100%;
}

.testimonial-stars { color: #F59E0B; font-size: 18px; margin-bottom: 16px; }
.testimonial-text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.7; margin-bottom: 24px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }

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

.author-name { font-weight: 700; color: white; font-size: 14px; }
.author-city { font-size: 12px; color: rgba(255,255,255,0.6); }

/* === Blog Cards === */
.blog-card {
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg);
}

.blog-body { padding: 20px; }
.blog-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.blog-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.blog-link { font-size: 13px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }

/* === Newsletter === */
.newsletter-section {
    background: linear-gradient(135deg, var(--accent), #ff6b50);
    padding: 80px 0;
}

.newsletter-title { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 8px; }
.newsletter-sub   { color: rgba(255,255,255,0.85); margin-bottom: 0; }

.newsletter-form .form-control {
    border-radius: 30px;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    flex: 1;
}

.newsletter-form .btn-accent {
    border-radius: 30px;
    background: var(--primary);
    padding: 14px 28px;
    font-weight: 700;
}

/* === Footer === */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-brand { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 12px; }
.text-accent  { color: var(--accent); }
.footer-text  { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: white; }

.footer-heading { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 32px 0; }
.footer-copyright { font-size: 13px; margin: 0; }

.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.payment-icon-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* === Mobile Bottom Nav === */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1040;
    display: flex;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 0;
    transition: var(--transition);
    position: relative;
}

.mobile-nav-item i { font-size: 20px; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--accent); }

.mobile-cart-badge {
    position: absolute;
    top: -2px;
    right: calc(50% - 22px);
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Give body bottom padding for mobile nav */
@media (max-width: 991.98px) {
    body { padding-bottom: 70px; }
}

/* === Mobile Actions === */
.mobile-actions .btn-icon-mobile {
    color: white;
    font-size: 22px;
    position: relative;
}

/* === Scroll to Top === */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(146,195,62,0.4);
}

.scroll-top-btn.visible { opacity: 1; pointer-events: all; }

/* === Cart Page === */
.cart-wrapper { padding: 60px 0; }
.cart-title { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 32px; }

.cart-item {
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.cart-item:hover { box-shadow: var(--card-shadow); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }

.cart-summary {
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 28px;
    position: sticky;
    top: 90px;
}

.cart-summary-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 20px; }

.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.summary-divider { border-color: var(--border); margin: 16px 0; }

.summary-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

/* Qty Buttons */
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* === Product Detail === */
.product-detail-section { padding: 60px 0; }
.product-detail-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.product-price-detail { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.price-detail-current { font-size: 2rem; font-weight: 800; color: var(--primary); }
.price-detail-original { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.price-detail-discount { background: rgba(16,185,129,0.1); color: var(--success); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }

.variant-option-btn {
    border: 2px solid var(--border);
    background: var(--secondary);
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}

.variant-option-btn:hover, .variant-option-btn.active {
    border-color: var(--accent);
    background: rgba(146,195,62,0.05);
    color: var(--accent);
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    outline: 2px solid transparent;
}

.color-swatch:hover, .color-swatch.active {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Thumbnail Gallery */
.thumb-gallery { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.thumb-img:hover, .thumb-img.active { border-color: var(--accent); }

/* === Customizer === */
.customizer-wrapper { background: var(--bg); min-height: calc(100vh - 120px); }
.customizer-canvas-area { background: white; border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 40px; }
.customizer-tools { background: white; padding: 20px; overflow-y: auto; height: calc(100vh - 120px); }

/* === Checkout === */
.checkout-wrapper { padding: 60px 0; }
.checkout-title { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 32px; }
.checkout-card { background: var(--secondary); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 28px; margin-bottom: 20px; }
.checkout-card-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

/* === Account Dashboard === */
.account-wrapper { padding: 60px 0; }
.account-sidebar { background: var(--secondary); border-radius: var(--radius); border: 1.5px solid var(--border); overflow: hidden; }
.account-nav-link { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--text); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--border); transition: var(--transition); }
.account-nav-link:hover, .account-nav-link.active { background: rgba(146,195,62,0.05); color: var(--accent); }
.account-nav-link i { font-size: 18px; }

/* === Animations === */
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse      { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* === Dropdown Styling === */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.dropdown-item { padding: 10px 20px; color: var(--text); transition: var(--transition); }
.dropdown-item:hover { background: var(--bg); color: var(--accent); }

/* === Responsive === */
@media (max-width: 991.98px) {
    .search-input { width: 200px; }
    .section-padding { padding: 60px 0; }
    .hero-section { height: 70vh; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; font-weight: 800; line-height: 1.2; }
    .hero-section { height: 75vh; }
    .hero-subtitle { display: block; font-size: 14px; margin-top: 10px; margin-bottom: 20px; opacity: 0.9; }
    .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
    .hero-cta .btn { padding: 10px 18px; font-size: 14px; margin: 0 !important; }
    .section-padding { padding: 48px 0; }
    .flash-sale-banner { padding: 24px; }
    .flash-title { font-size: 1.2rem; }
    body { padding-bottom: 70px !important; }
}

/* Mobile Sticky Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1040;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav { display: flex; }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    gap: 3px;
    width: 20%;
}

.mobile-nav-item i {
    font-size: 20px;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--accent);
}

/* Category Hover Micro-interactions */
.category-card:hover .category-image-wrapper {
    box-shadow: 0 8px 25px rgba(146, 195, 62, 0.25) !important;
    border-color: var(--accent) !important;
}
.category-card:hover .category-image-wrapper img {
    transform: scale(1.12);
}
