/*
==================================================
MODERN E-COMMERCE - UNIFIED STYLE.CSS
==================================================
Enhanced e-commerce website stylesheet with modern design
and clean professional theming.

Table of Contents:
1. CSS Variables & Root Settings
2. Base Styles & Typography
3. Top Bar & Navigation
4. Hero Section & Carousel
5. Categories Section
6. Product Cards & Carousels
7. Production Process Section
8. CTA Section
9. Compact Offer Section
10. Enhanced Product Sections
11. Testimonials & Features
12. Footer Styles
13. Utility Classes
14. Mobile Responsive Design

Version: 2.0
==================================================
*/

/* ===============================================
   1. CSS VARIABLES & ROOT SETTINGS
   =============================================== */
   :root {
    /* Primary Brand Colors - Modern Indigo Theme */
    --primary-color: #4f46e5;
    --secondary-color: #06b6d4;
    --tertiary-color: #f59e0b;
    --accent-color: #8b5cf6;
    --danger-color: #ef4444;
    
    /* Extended Color Palette */
    --wood-color: #d4a574;
    --earth-color: #92877d;
    --vintage-gold: #fbbf24;
    
    /* Text Colors */
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    
    /* Border & Background */
    --border-light: #e9ecef;
    --body-color: #f8f9fa;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    /* Shadows */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-tertiary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Additional Utility Colors */
    --blue-color: #3b82f6;
    --yellow-color: #fbbf24;
    --border-color: #dee2e6;
}

/* ===============================================
   2. BASE STYLES & TYPOGRAPHY
   =============================================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===============================================
   3. TOP BAR & NAVIGATION
   =============================================== */

/* Top Bar Styles */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    font-size: 0.85rem;
}

.top-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.top-links a:hover {
    color: var(--yellow-color);
}

.social-links a {
    color: white;
    transition: color 0.3s;
}

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

/* Main Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

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

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.nav-icon {
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-icon:hover {
    color: var(--primary-color);
}

/* ===============================================
   4. HERO SECTION & CAROUSEL
   =============================================== */

/* Hero Carousel Styles */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
}

.carousel-background {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
    animation-duration: 1.5s;
}

.hero-title {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Custom carousel indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    opacity: 1;
}

/* Custom control styling */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-size: 50%;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 0.8;
}

.play-icon {
    display: inline;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: white;
    width: 30px;
    height: 30px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ===============================================
   5. CATEGORIES SECTION - MODERN SOLID DESIGN
   =============================================== */

/* Modern Solid Background for Categories */
.category-section,
.pt-5.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: relative;
    padding: 60px 0;
}

/* Clean modern accent strip */
.pt-5.bg-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--accent-color) 100%);
}

/* Ensure content stays properly positioned */
.pt-5.bg-light .container {
    position: relative;
    z-index: 2;
}

/* Category Carousel Styles */
.category-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: transparent;
    margin: 30px 0;
}

.category-carousel-inner {
    display: flex;
    animation: infiniteScroll 25s linear infinite;
    width: max-content;
    transition: transform 0.3s ease;
    gap: 20px;
}

.category-carousel:hover .category-carousel-inner {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.category-item {
    flex: 0 0 auto;
    width: 200px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover {
    transform: translateY(-8px);
}

.category-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.img-container {
    position: relative;
    overflow: hidden;
    height: 160px;
    width: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-img {
    transform: scale(1.12);
}

.category-content {
    padding: 20px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffffff;
}

.category-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.category-count {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Section Title Styling */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.section-title h6 {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title h2 {
    color: #1e293b;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-item {
        width: 180px;
    }
}

@media (max-width: 992px) {
    .category-item {
        width: 160px;
    }
    
    .img-container {
        height: 140px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .category-item {
        width: 140px;
    }
    
    .img-container {
        height: 120px;
    }
    
    .category-title {
        font-size: 13px;
    }
    
    .category-count {
        font-size: 11px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title h6 {
        font-size: 11px;
    }
    
    .category-carousel {
        padding: 30px 0;
        margin: 20px 0;
    }
}

@media (max-width: 576px) {
    .category-item {
        width: 130px;
    }
    
    .img-container {
        height: 100px;
    }
    
    .category-content {
        padding: 15px 12px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .pt-5.bg-light {
        padding: 40px 0;
    }
}

/* Animation Controls */
.category-carousel-inner.animate {
    animation: infiniteScroll 25s linear infinite;
}

.category-carousel-inner.static {
    animation: none;
}

.category-carousel-inner.fast {
    animation-duration: 15s;
}

.category-carousel-inner.medium {
    animation-duration: 25s;
}

.category-carousel-inner.slow {
    animation-duration: 40s;
}

/* Accessibility */
.category-card:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.category-card:focus:not(:focus-visible) {
    outline: none;
}

/* Print Styles */
@media print {
    .category-carousel {
        overflow: visible;
    }
    
    .category-carousel-inner {
        animation: none;
        flex-wrap: wrap;
    }
    
    .category-item {
        page-break-inside: avoid;
    }
}

/* Performance Optimization */
.category-img {
    will-change: transform;
}

.category-card {
    will-change: box-shadow, border-color, transform;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .category-card {
        border: 2px solid var(--dark-color);
    }
    
    .category-title {
        font-weight: 700;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .category-carousel-inner {
        animation: none;
    }
    
    .category-card,
    .category-img,
    .category-item {
        transition: none;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .category-card {
        background: #1e293b;
        border-color: #334155;
    }
    
    .category-content {
        background: #1e293b;
    }
    
    .category-title {
        color: #f1f5f9;
    }
    
    .category-count {
        color: #94a3b8;
    }
    
    .section-title h2 {
        color: #f1f5f9;
    }
}


/* ===============================================
   6. ENHANCED PRODUCT SECTIONS
   =============================================== */

/* Enhanced Product Card */
.enhanced-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.enhanced-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.enhanced-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.badge-discount {
    background: var(--danger-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-new {
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

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

.product-category-tag {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.enhanced-product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.enhanced-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.product-rating .stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 12px;
}

.rating-count {
    font-size: 12px;
    color: var(--text-muted);
}

.enhanced-product-price {
    margin-bottom: 12px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.stock-status {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-status.in-stock {
    color: #10b981;
}

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

.btn-add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-add-to-cart:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* Enhanced Section Title */
.enhanced-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.enhanced-section-title h6 {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.enhanced-section-title h2 {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
}

/* Quick View Modal */
.product-quick-view .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.btn-close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.quick-view-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
}

.quick-view-content {
    padding: 30px;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

/* ===============================================
   7. WHY CHOOSE US / FEATURES SECTION
   =============================================== */

.why-choose-us-section {
    padding: 60px 0;
    background: white;
}

.feature-card {
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    background: var(--light-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* ===============================================
   8. CTA SECTION
   =============================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 60px;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-icon-main {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: white;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-feature .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    padding: 14px 32px;
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.trust-icon {
    font-size: 18px;
}

/* ===============================================
   9. FOOTER STYLES
   =============================================== */

.footer {
    background: var(--dark-color);
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-brand img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-contact .content {
    flex: 1;
}

.footer-contact .content span {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact .content small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.payment-methods span {
    transition: color 0.3s ease;
}

.payment-methods span:hover {
    color: white;
}

/* ===============================================
   10. FLOATING CTA
   =============================================== */

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-cta .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#backToTop.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================================
   11. UTILITY CLASSES
   =============================================== */

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* ===============================================
   12. PROMOTIONAL BANNER
   =============================================== */

.promotional-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promotional-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-content {
    color: white;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.text-slider {
    position: relative;
    height: 18px;
    overflow: hidden;
    display: inline-block;
    min-width: 400px;
}

.text-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease-in-out;
    white-space: nowrap;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.text-slide.prev {
    transform: translateY(-25px);
    opacity: 0;
}

.code-highlight {
    background: rgba(255, 235, 59, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ffeb3b;
    font-weight: bold;
    border: 1px solid rgba(255, 235, 59, 0.3);
}

.banner-icon {
    color: #ffeb3b;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

/* ===============================================
   13. MOBILE RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    .banner-content {
        font-size: 11px;
    }
    .text-slider {
        min-width: 280px;
        height: 16px;
    }
    .close-banner {
        display: none;
    }
    .text-slide {
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .enhanced-section-title h2 {
        font-size: 24px;
    }
    
    .floating-cta {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .promotional-banner {
        padding: 6px 0;
    }
    .text-slider {
        min-width: 250px;
        height: 16px;
    }
    .banner-content {
        font-size: 10px;
    }
    .text-slide {
        white-space: normal;
        line-height: 1.1;
    }
    
    .carousel-background {
        height: 50vh;
    }
}

/* ===============================================
   14. PRINT STYLES
   =============================================== */
@media print {
    .navbar,
    .footer,
    .floating-icons,
    .carousel-control,
    .product-nav,
    .btn,
    .cta-section {
        display: none !important;
    }
    
    * {
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
    
    .product-card,
    .enhanced-product-card {
        page-break-inside: avoid;
        margin-bottom: 20pt;
    }
}

/* ===============================================
   15. ACCESSIBILITY & PERFORMANCE
   =============================================== */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn,
    .category-card,
    .enhanced-product-card {
        border: 2px solid currentColor;
    }
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Performance Optimization */
.category-img,
.enhanced-product-image img {
    will-change: transform;
}