/* ============================================
   EXPERT SHOP - EDITORIAL E-COMMERCE THEME
   Based on DESIGN.md Specifications
   ============================================ */

/* ============================================
   1. FONTS & IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;700;800&display=swap');

/* ============================================
   2. CSS VARIABLES (DESIGN TOKENS)
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #0050d4;
    --primary-container: #7b9cff;
    --on-primary: #ffffff;
    
    /* Surface Colors */
    --surface: #f8f5ff;
    --surface-container-low: #f1efff;
    --surface-container-lowest: #ffffff;
    --surface-container-high: #ebe8f9;
    --surface-container-highest: #e5e2f4;
    --surface-bright: #ffffff;
    
    /* Text Colors */
    --on-surface: #282b51;
    --outline: #74777f;
    --outline-variant: #c4c6d0;
    
    /* Accent Colors */
    --secondary: #fbc24d;
    --secondary-hover: #f9b425;
    --tertiary: #e63946;
    
    /* Typography */
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-gap: 48px;
    --card-gap: 24px;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --ambient-shadow: 0 8px 32px rgba(40, 43, 81, 0.06);
    --glass-blur: 20px;
}

/* ============================================
   3. MATERIAL ICONS
   ============================================ */
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   5. VERTICAL SLIDER
   ============================================ */
.vertical-slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: y mandatory;
}

.vertical-slider::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    scroll-snap-align: start;
}

/* ============================================
   6. CARD CAROUSEL
   ============================================ */
.card-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.card-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* ============================================
   7. GRADIENTS (DESIGN.MD SIGNATURE)
   ============================================ */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
}

.gradient-yellow {
    background: linear-gradient(to bottom, var(--secondary) 0%, var(--secondary-hover) 100%);
}

/* ============================================
   8. HERO SECTION
   ============================================ */
.hero-bg {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuCgbgTPVhhSylqKDZBdb7XmoneWFnylZrCQ-1POc6NmHcX2X3UEg0ThdAO0CXiFJB54eDX0wHqdBB-nDYy2QyEylv1sC-b0zIFsqWaYx-2TKacJf6f3OCWT-QdbvZwoF5vwDMkg0F_klwygguAWjrbm5X0mXc_lrB8cdKVAmWosKGqPEV8g48flMQSyrq7p19bq3VilifA4syQdUEkJVLVCoYAVVZGjhmFummI_oWxdWNMcOUijlseuxJyXKAbR2kF2zzSxmHUdVOM8);
    background-size: cover;
    background-position: center;
}

/* ============================================
   9. GLASSMORPHISM EFFECTS
   ============================================ */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.glass-overlay {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   10. AMBIENT SHADOWS
   ============================================ */
.ambient-shadow {
    box-shadow: var(--ambient-shadow);
}

/* ============================================
   11. SURFACE HIERARCHY
   ============================================ */
.surface-base {
    background-color: var(--surface);
}

.surface-container-low {
    background-color: var(--surface-container-low);
}

.surface-container-lowest {
    background-color: var(--surface-container-lowest);
}

.surface-container-high {
    background-color: var(--surface-container-high);
}

/* ============================================
   12. TYPOGRAPHY CLASSES
   ============================================ */
.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.text-display-lg {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.text-headline-sm {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.text-title-sm {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.text-label-md {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ============================================
   13. BUTTON STYLES
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    border-radius: var(--radius-full);
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: var(--ambient-shadow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 80, 212, 0.2);
}

.btn-secondary {
    background-color: var(--surface-container-high);
    color: var(--on-surface);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--surface-container-highest);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--outline-variant);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

/* ============================================
   14. PRODUCT CARD STYLES
   ============================================ */
.product-card {
    background-color: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--ambient-shadow);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(40, 43, 81, 0.1);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}

.badge-new {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-discount {
    background-color: var(--tertiary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* ============================================
   15. INPUT STYLES
   ============================================ */
.input-field {
    background-color: var(--surface-container-low);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: 2px solid var(--outline-variant);
    outline-offset: 2px;
}

.input-field::placeholder {
    color: var(--outline);
}

/* ============================================
   16. CHIP STYLES
   ============================================ */
.chip {
    background-color: var(--surface-container-high);
    color: var(--on-surface);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chip:hover {
    background-color: var(--surface-container-highest);
}

.chip-active {
    background-color: var(--primary);
    color: var(--on-primary);
}

/* ============================================
   17. COUNTDOWN TIMER
   ============================================ */
.countdown-box {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 50px;
    box-shadow: var(--ambient-shadow);
}

.countdown-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1;
}

.countdown-label {
    font-size: 0.5625rem;
    color: var(--outline);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* ============================================
   18. NEWSLETTER SECTION
   ============================================ */
.newsletter-input {
    background-color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    width: 18rem;
    box-shadow: var(--ambient-shadow);
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

/* ============================================
   19. SOCIAL ICONS
   ============================================ */
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--outline);
    transition: all 0.3s ease;
    box-shadow: var(--ambient-shadow);
}

.social-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 80, 212, 0.15);
}

/* ============================================
   20. EXIT POPUP
   ============================================ */
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem;
}

.exit-popup-content {
    background-color: white;
    max-width: 32rem;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.coupon-box {
    background-color: var(--surface-container-low);
    border: 2px dashed var(--secondary);
    padding: 1rem;
    margin-bottom: 2rem;
}

/* ============================================
   21. RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .max-w-7xl {
        max-width: 1400px;
    }
    
    .text-display-lg {
        font-size: 4rem;
    }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .max-w-7xl {
        max-width: 1200px;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) {
    .max-w-7xl {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .text-display-lg {
        font-size: 2.5rem;
    }
    
    .text-headline-sm {
        font-size: 1.25rem;
    }
    
    .hero-bg {
        min-height: 400px;
    }
    
    .hero-bg .grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-bg .order-1 {
        order: 2;
    }
    
    .hero-bg .order-2 {
        order: 1;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    /* Navigation */
    nav .flex-1 {
        display: none;
    }
    
    nav .relative.group {
        width: 100%;
    }
    
    nav button {
        width: 100%;
        justify-content: center;
    }
    
    /* Grid adjustments */
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-collections {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    footer .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Sidebar */
    aside {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    /* Quick View */
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet Portrait (640px - 767px) */
@media (max-width: 767px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-display-lg {
        font-size: 2rem;
    }
    
    .text-headline-sm {
        font-size: 1.125rem;
    }
    
    .hero-bg {
        min-height: 350px;
    }
    
    .hero-bg .px-12 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-bg .py-16 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .btn-primary {
        padding: 0.625rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.6875rem;
    }
    
    .countdown-box {
        min-width: 40px;
        padding: 0.375rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 0.75rem;
    }
    
    /* Header */
    header .flex-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    header .max-w-2xl {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }
    
    /* Promotional Banners */
    .promo-banner {
        height: auto;
        min-height: 200px;
    }
    
    .promo-banner h2 {
        font-size: 2rem;
    }
    
    .promo-banner h3 {
        font-size: 1rem;
    }
    
    /* Product Grid */
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-card .aspect-\[2\/3\] {
        padding: 0.5rem;
    }
    
    /* Vertical Slider */
    .vertical-slider {
        max-height: 500px;
    }
    
    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Footer */
    footer .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer .flex-col {
        text-align: center;
    }
    
    /* Newsletter */
    footer form {
        flex-direction: column;
        width: 100%;
    }
    
    footer form input {
        width: 100%;
        border-radius: var(--radius-lg);
    }
    
    footer form button {
        width: 100%;
        border-radius: var(--radius-lg);
    }
    
    /* Social Icons */
    footer .flex.space-x-4 {
        justify-content: center;
    }
    
    /* Blog Grid */
    .blog-card .grid {
        grid-template-columns: 1fr;
    }
    
    /* Tabs */
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
    }
    
    /* Modal */
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    /* Pricing Table */
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    /* Comparison Table */
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Mobile (480px - 639px) */
@media (max-width: 639px) {
    .text-display-lg {
        font-size: 1.75rem;
    }
    
    .text-headline-sm {
        font-size: 1rem;
    }
    
    .text-title-sm {
        font-size: 0.875rem;
    }
    
    .hero-bg {
        min-height: 300px;
    }
    
    .hero-bg h1 {
        font-size: 1.5rem;
    }
    
    .hero-bg p {
        font-size: 0.875rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.25rem;
        font-size: 0.6875rem;
    }
    
    .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.625rem;
    }
    
    .countdown-box {
        min-width: 36px;
        padding: 0.25rem 0.375rem;
    }
    
    .countdown-number {
        font-size: 0.6875rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
    }
    
    /* Header */
    header .py-6 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    header .space-x-6 {
        gap: 0.75rem;
    }
    
    header .material-symbols-outlined.text-3xl {
        font-size: 1.5rem;
    }
    
    header .text-\[13px\] {
        font-size: 0.6875rem;
    }
    
    header .text-\[10px\] {
        font-size: 0.5625rem;
    }
    
    /* Search */
    header form {
        flex-direction: column;
    }
    
    header form button[type="button"] {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--outline-variant);
    }
    
    /* Navigation */
    nav .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Product Grid */
    .grid-products {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    
    .product-card .aspect-\[2\/3\] {
        width: 120px;
        flex-shrink: 0;
    }
    
    .product-card .space-y-2 {
        flex: 1;
    }
    
    /* Vertical Slider */
    .vertical-slider {
        max-height: 400px;
    }
    
    .scroll-item {
        flex-direction: row;
    }
    
    .scroll-item .aspect-\[2\/3\] {
        width: 100px;
        flex-shrink: 0;
    }
    
    /* Promotional Banners */
    .promo-banner {
        padding: 1rem;
        min-height: 150px;
    }
    
    .promo-banner h2 {
        font-size: 1.5rem;
    }
    
    .promo-banner h3 {
        font-size: 0.875rem;
    }
    
    /* Sidebar */
    aside .p-8 {
        padding: 1.5rem;
    }
    
    aside h2 {
        font-size: 0.875rem;
    }
    
    /* Blog */
    .blog-card .h-64 {
        height: 12rem;
    }
    
    .blog-card h3 {
        font-size: 1rem;
    }
    
    /* Footer */
    footer .pt-24 {
        padding-top: 3rem;
    }
    
    footer .pb-16 {
        padding-bottom: 2rem;
    }
    
    footer h3 {
        font-size: 0.75rem;
    }
    
    footer ul {
        font-size: 0.75rem;
    }
    
    /* Exit Popup */
    #exitIntentPopup .p-8 {
        padding: 1.5rem;
    }
    
    #exitIntentPopup h3 {
        font-size: 1.25rem;
    }
    
    #exitIntentPopup p {
        font-size: 0.875rem;
    }
    
    #exitIntentPopup .text-3xl {
        font-size: 1.5rem;
    }
    
    /* Badges */
    .badge {
        font-size: 0.5625rem;
        padding: 0.1875rem 0.5rem;
    }
    
    /* Material Icons */
    .material-symbols-outlined {
        font-size: 1.25rem;
    }
    
    /* Feature Highlight */
    .feature-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    /* Testimonial */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
    }
    
    /* Stats */
    .stats-value {
        font-size: 1.5rem;
    }
    
    /* Timeline */
    .timeline {
        padding-left: 1.5rem;
    }
    
    /* Gallery */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Search Results */
    .search-result-item {
        flex-direction: column;
    }
    
    .search-result-image {
        width: 100%;
        height: 150px;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 479px) {
    .max-w-7xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .text-display-lg {
        font-size: 1.5rem;
    }
    
    .hero-bg {
        min-height: 250px;
    }
    
    .hero-bg h1 {
        font-size: 1.25rem;
    }
    
    .hero-bg .w-64 {
        width: 120px;
    }
    
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.625rem;
    }
    
    /* Header */
    header .shrink-0 {
        flex-shrink: 1;
    }
    
    header .h-12 {
        height: 2.5rem;
    }
    
    header .text-3xl {
        font-size: 1.25rem;
    }
    
    /* Product Card Mobile */
    .product-card {
        padding: 0.5rem;
    }
    
    .product-card .aspect-\[2\/3\] {
        width: 100px;
    }
    
    .product-card .text-xl {
        font-size: 1rem;
    }
    
    .product-card .text-\[13px\] {
        font-size: 0.75rem;
    }
    
    .product-card .text-\[11px\] {
        font-size: 0.625rem;
    }
    
    /* Scroll Items */
    .scroll-item {
        padding: 0.75rem;
    }
    
    .scroll-item .aspect-\[2\/3\] {
        width: 80px;
    }
    
    /* Banners */
    .promo-banner {
        padding: 0.75rem;
        min-height: 120px;
    }
    
    .promo-banner h2 {
        font-size: 1.25rem;
    }
    
    .promo-banner h3 {
        font-size: 0.75rem;
    }
    
    /* Sidebar */
    aside .p-8 {
        padding: 1rem;
    }
    
    aside .text-3xl {
        font-size: 1.5rem;
    }
    
    /* Footer */
    footer .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    footer .text-lg {
        font-size: 1rem;
    }
    
    /* Popup */
    #exitIntentPopup .max-w-lg {
        max-width: calc(100% - 2rem);
    }
    
    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
    }
    
    /* Pagination */
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-bg {
        min-height: 250px;
    }
    
    .hero-bg .py-16 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .vertical-slider {
        max-height: 300px;
    }
    
    #exitIntentPopup {
        align-items: flex-start;
        padding-top: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets */
    .btn-primary,
    .btn-secondary,
    .btn-ghost {
        min-height: 44px;
        min-width: 44px;
    }
    
    nav ul li a {
        padding: 0.75rem;
    }
    
    /* Remove hover effects that don't work well on touch */
    .product-card:hover {
        transform: none;
    }
    
    .promo-banner:hover {
        transform: none;
    }
    
    .blog-card:hover {
        transform: none;
    }
    
    /* Always show carousel nav */
    .carousel-nav {
        opacity: 1;
    }
    
    /* Larger checkboxes and radios */
    .checkbox,
    .radio {
        width: 24px;
        height: 24px;
    }
    
    /* Larger toggle */
    .toggle {
        width: 52px;
        height: 28px;
    }
    
    .toggle::after {
        width: 24px;
        height: 24px;
    }
    
    .toggle.active::after {
        left: 26px;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp rendering */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Use SVG icons when possible */
    .material-symbols-outlined {
        font-smooth: always;
    }
}

/* Print Styles */
@media print {
    header,
    nav,
    footer,
    .exit-popup,
    .fab,
    .back-to-top,
    .newsletter-input,
    .social-icon {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .product-card,
    .blog-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .ambient-shadow {
        box-shadow: none;
    }
}

/* ============================================
   22. ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease forwards;
}

/* ============================================
   23. SCROLL BEHAVIOR
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   24. SELECTION STYLING
   ============================================ */
::selection {
    background-color: var(--primary);
    color: var(--on-primary);
}

/* ============================================
   25. FOCUS STATES (ACCESSIBILITY)
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   26. TRANSITIONS
   ============================================ */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* ============================================
   27. HOVER EFFECTS
   ============================================ */
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(40, 43, 81, 0.15);
}

/* ============================================
   28. GRID LAYOUTS
   ============================================ */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--card-gap);
}

.grid-collections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0;
}

/* ============================================
   29. SECTION STYLING
   ============================================ */
.section-spacing {
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   30. BADGE STYLES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.badge-secondary {
    background-color: var(--secondary);
    color: var(--on-surface);
}

.badge-tertiary {
    background-color: var(--tertiary);
    color: white;
}

/* ============================================
   31. STAR RATING
   ============================================ */
.star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary);
}

.star-filled {
    font-variation-settings: "FILL" 1;
}

.star-empty {
    font-variation-settings: "FILL" 0;
}

/* ============================================
   32. PRICE STYLING
   ============================================ */
.price-current {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
}

.price-original {
    font-size: 0.75rem;
    color: var(--outline);
    text-decoration: line-through;
}

/* ============================================
   33. AVAILABILITY INDICATOR
   ============================================ */
.availability {
    font-size: 0.6875rem;
    color: var(--outline);
}

.availability-in-stock {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   34. CARD IMAGE CONTAINER
   ============================================ */
.card-image-container {
    aspect-ratio: 2/3;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.card-image-container:hover .card-image {
    transform: scale(1.05);
}

/* ============================================
   35. FLOATING ELEMENTS
   ============================================ */
.floating-badge {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 700;
    box-shadow: var(--ambient-shadow);
}

/* ============================================
   36. NO-LINE RULE (DESIGN.MD)
   ============================================ */
.no-border {
    border: none !important;
}

.separator-space {
    height: 24px;
}

/* ============================================
   37. GHOST BORDER FALLBACK
   ============================================ */
.ghost-border {
    border: 1px solid rgba(196, 198, 208, 0.15);
}

/* ============================================
   38. SURFACE TRANSITIONS
   ============================================ */
.surface-transition {
    transition: background-color 0.3s ease;
}

/* ============================================
   39. MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   40. LOADING STATES
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--surface-container-low) 25%, var(--surface-container-high) 50%, var(--surface-container-low) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   41. PRINT STYLES
   ============================================ */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background-color: white;
    }
    
    .ambient-shadow {
        box-shadow: none;
    }
}

/* ============================================
   42. HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
    :root {
        --ambient-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    
    .ghost-border {
        border: 2px solid var(--on-surface);
    }
}

/* ============================================
   43. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   44. DARK MODE SUPPORT (OPTIONAL)
   ============================================ */
@media (prefers-color-scheme: dark) {
    :root {
        --surface: #1a1a2e;
        --surface-container-low: #16213e;
        --surface-container-lowest: #0f0f23;
        --on-surface: #e8e8e8;
        --outline: #a0a0a0;
    }
}

/* ============================================
   45. VENDOR PREFIXES (Applied inline where needed)
   ============================================ */

/* ============================================
   46. HEADER SPECIFIC STYLES
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Search Bar Enhancement */
header form {
    transition: all 0.3s ease;
}

header form:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 80, 212, 0.1);
}

header input:focus {
    outline: none;
}

/* User Actions Hover */
header .flex.items-center.space-x-6 a:hover {
    color: var(--primary);
}

header .flex.items-center.space-x-6 a:hover .material-symbols-outlined {
    color: var(--primary);
}

/* ============================================
   47. NAVIGATION BAR STYLES
   ============================================ */
nav {
    border-top: 1px solid var(--outline-variant);
    border-bottom: 1px solid var(--outline-variant);
}

nav button {
    transition: all 0.3s ease;
}

nav button:hover {
    background: var(--secondary-hover);
}

nav ul li a {
    position: relative;
    padding: 0.75rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ============================================
   48. HERO SECTION ENHANCEMENTS
   ============================================ */
.hero-bg {
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.hero-bg .relative.z-10 {
    position: relative;
    z-index: 2;
}

/* Hero Slider Dots */
.hero-bg .absolute.bottom-6 div {
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-bg .absolute.bottom-6 div:hover {
    transform: scale(1.2);
}

/* ============================================
   49. PROMOTIONAL BANNERS
   ============================================ */
.promo-banner {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(40, 43, 81, 0.15);
}

.promo-banner img {
    transition: transform 0.7s ease;
}

.promo-banner:hover img {
    transform: scale(1.1);
}

/* ============================================
   50. PRODUCT GRID ENHANCEMENTS
   ============================================ */
.product-grid-item {
    position: relative;
    transition: all 0.3s ease;
}

.product-grid-item:hover {
    transform: translateY(-8px);
}

.product-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 80, 212, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-xl);
}

.product-grid-item:hover::before {
    opacity: 1;
}

/* ============================================
   51. SIDEBAR STYLES
   ============================================ */
aside {
    position: sticky;
    top: 100px;
}

aside .ambient-shadow {
    transition: all 0.3s ease;
}

aside .ambient-shadow:hover {
    box-shadow: 0 16px 48px rgba(40, 43, 81, 0.12);
}

/* Countdown Timer Enhancement */
aside .bg-white\/80 {
    transition: all 0.3s ease;
}

aside .bg-white\/80:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
}

/* ============================================
   52. BLOG SECTION STYLES
   ============================================ */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card img {
    transition: transform 0.7s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-card .absolute.top-4 {
    transition: all 0.3s ease;
}

.blog-card:hover .absolute.top-4 {
    background: var(--primary);
    color: white;
}

/* ============================================
   53. FOOTER ENHANCEMENTS
   ============================================ */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%);
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary);
    padding-left: 4px;
}

footer .social-icon {
    transition: all 0.3s ease;
}

footer .social-icon:hover {
    transform: translateY(-4px) scale(1.1);
    background: var(--primary);
    color: white;
}

/* Newsletter Form */
footer form {
    transition: all 0.3s ease;
}

footer form:focus-within {
    box-shadow: 0 8px 32px rgba(0, 80, 212, 0.15);
}

/* ============================================
   54. EXIT POPUP ENHANCEMENTS
   ============================================ */
#exitIntentPopup {
    animation: fadeIn 0.3s ease;
}

#exitIntentPopup .bg-white {
    animation: zoomIn 0.3s ease;
}

#exitIntentPopup button:hover {
    transform: scale(1.02);
}

/* ============================================
   55. MOBILE MENU STYLES
   ============================================ */
.mobile-menu-trigger {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-menu-trigger {
        display: flex;
    }
    
    nav .flex-1 {
        display: none;
    }
    
    nav .relative.group {
        width: auto;
    }
}

/* ============================================
   56. SCROLL ANIMATIONS
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   57. LOADING SKELETON
   ============================================ */
.skeleton-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.skeleton-image {
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, var(--surface-container-low) 25%, var(--surface-container-high) 50%, var(--surface-container-low) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 1rem;
    background: linear-gradient(90deg, var(--surface-container-low) 25%, var(--surface-container-high) 50%, var(--surface-container-low) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

/* ============================================
   58. TOOLTIP STYLES
   ============================================ */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--on-surface);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* ============================================
   59. RIPPLE EFFECT
   ============================================ */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   60. GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   61. BORDER GLOW
   ============================================ */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.border-glow:hover::before {
    opacity: 1;
}

/* ============================================
   62. FLOATING ACTION BUTTON
   ============================================ */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 80, 212, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 80, 212, 0.4);
}

/* ============================================
   63. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ambient-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

/* ============================================
   64. NOTIFICATION BADGE
   ============================================ */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--tertiary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   65. PRICE TAG STYLES
   ============================================ */
.price-tag {
    position: relative;
    display: inline-block;
}

.price-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--secondary);
    transform: translateY(-50%);
}

/* ============================================
   66. AVATAR STYLES
   ============================================ */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--ambient-shadow);
}

.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar-lg {
    width: 56px;
    height: 56px;
}

/* ============================================
   67. DIVIDER STYLES
   ============================================ */
.divider {
    height: 1px;
    background: var(--outline-variant);
    margin: 1.5rem 0;
}

.divider-vertical {
    width: 1px;
    height: 100%;
    background: var(--outline-variant);
    margin: 0 1rem;
}

/* ============================================
   68. OVERLAY STYLES
   ============================================ */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   69. MODAL STYLES
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* ============================================
   70. TAB STYLES
   ============================================ */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--outline-variant);
    margin-bottom: 1.5rem;
}

.tab {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--outline);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    color: var(--on-surface);
}

.tab.active {
    color: var(--primary);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

/* ============================================
   71. ACCORDION STYLES
   ============================================ */
.accordion {
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--outline-variant);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1rem 1.5rem;
    background: var(--surface-container-low);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--surface-container-high);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 1.5rem;
}

/* ============================================
   72. PROGRESS BAR
   ============================================ */
.progress-bar {
    height: 8px;
    background: var(--surface-container-low);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-container) 100%);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* ============================================
   73. TOGGLE SWITCH
   ============================================ */
.toggle {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--surface-container-high);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--ambient-shadow);
    transition: all 0.3s ease;
}

.toggle.active {
    background: var(--primary);
}

.toggle.active::after {
    left: 26px;
}

/* ============================================
   74. CHECKBOX & RADIO STYLES
   ============================================ */
.checkbox,
.radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--outline-variant);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox:hover,
.radio:hover {
    border-color: var(--primary);
}

.checkbox.checked,
.radio.checked {
    background: var(--primary);
    border-color: var(--primary);
}

.radio {
    border-radius: 50%;
}

/* ============================================
   75. SELECT STYLES
   ============================================ */
.select {
    position: relative;
    width: 100%;
}

.select select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: var(--surface-container-low);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.select select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.select::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--outline);
}

/* ============================================
   76. TEXTAREA STYLES
   ============================================ */
.textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    background: var(--surface-container-low);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   77. FILE UPLOAD STYLES
   ============================================ */
.file-upload {
    border: 2px dashed var(--outline-variant);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--surface-container-low);
}

.file-upload input {
    display: none;
}

/* ============================================
   78. IMAGE GALLERY
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   79. RATING STARS
   ============================================ */
.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-star {
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star:hover {
    transform: scale(1.2);
}

.rating-star.filled {
    color: var(--secondary);
}

.rating-star.empty {
    color: var(--outline-variant);
}

/* ============================================
   80. QUANTITY SELECTOR
   ============================================ */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

/* ============================================
   81. COLOR SWATCH
   ============================================ */
.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

/* ============================================
   82. SIZE SELECTOR
   ============================================ */
.size-selector {
    display: flex;
    gap: 0.5rem;
}

.size-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: var(--primary);
}

.size-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============================================
   83. BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--outline);
}

.breadcrumb a {
    color: var(--outline);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--outline-variant);
}

/* ============================================
   84. PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   85. EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--outline-variant);
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--outline);
    margin-bottom: 1.5rem;
}

/* ============================================
   86. ERROR STATE
   ============================================ */
.error-state {
    text-align: center;
    padding: 2rem;
    background: rgba(230, 57, 70, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.error-state-icon {
    font-size: 3rem;
    color: var(--tertiary);
    margin-bottom: 1rem;
}

.error-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tertiary);
    margin-bottom: 0.5rem;
}

/* ============================================
   87. SUCCESS STATE
   ============================================ */
.success-state {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 80, 212, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 80, 212, 0.2);
}

.success-state-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ============================================
   88. TAG STYLES
   ============================================ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: var(--surface-container-high);
    color: var(--on-surface);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--surface-container-highest);
}

.tag-removable {
    padding-right: 0.5rem;
}

.tag-remove {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--outline-variant);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    transition: all 0.3s ease;
}

.tag-remove:hover {
    background: var(--tertiary);
}

/* ============================================
   89. TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--outline-variant);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--ambient-shadow);
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--outline);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--ambient-shadow);
}

/* ============================================
   90. STATS CARD
   ============================================ */
.stats-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--ambient-shadow);
}

.stats-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--on-surface);
    font-family: var(--font-display);
}

.stats-label {
    font-size: 0.875rem;
    color: var(--outline);
    margin-top: 0.25rem;
}

.stats-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stats-change.positive {
    color: var(--primary);
}

.stats-change.negative {
    color: var(--tertiary);
}

/* ============================================
   91. FEATURE HIGHLIGHT
   ============================================ */
.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-container-low);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: var(--surface-container-high);
    transform: translateX(4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-title {
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--outline);
}

/* ============================================
   92. TESTIMONIAL CARD
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--ambient-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--on-surface);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--on-surface);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--outline);
}

/* ============================================
   93. PRICING TABLE
   ============================================ */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--ambient-shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(40, 43, 81, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.pricing-card.featured::before {
    content: 'Popüler';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--outline);
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--on-surface);
}

.pricing-features li::before {
    content: 'check';
    font-family: 'Material Symbols Outlined';
    color: var(--primary);
}

/* ============================================
   94. COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--outline-variant);
}

.comparison-table th {
    background: var(--surface-container-low);
    font-weight: 700;
    color: var(--on-surface);
}

.comparison-table tr:hover {
    background: var(--surface-container-low);
}

.comparison-check {
    color: var(--primary);
}

.comparison-cross {
    color: var(--tertiary);
}

/* ============================================
   95. SEARCH RESULTS
   ============================================ */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--ambient-shadow);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(40, 43, 81, 0.1);
}

.search-result-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.search-result-excerpt {
    font-size: 0.875rem;
    color: var(--outline);
    line-clamp: 2;
}

/* ============================================
   96. FILTER SIDEBAR
   ============================================ */
.filter-sidebar {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--ambient-shadow);
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filter-option input {
    accent-color: var(--primary);
}

/* ============================================
   97. SORT DROPDOWN
   ============================================ */
.sort-dropdown {
    position: relative;
    display: inline-block;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    border-color: var(--primary);
}

.sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.sort-dropdown:hover .sort-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-option:hover {
    background: var(--surface-container-low);
}

.sort-option.active {
    background: var(--primary);
    color: white;
}

/* ============================================
   98. QUICK VIEW MODAL
   ============================================ */
.quick-view-modal {
    max-width: 900px;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.quick-view-image {
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   99. WISHLIST BUTTON
   ============================================ */
.wishlist-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ambient-shadow);
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: var(--tertiary);
    color: white;
}

.wishlist-btn.active {
    background: var(--tertiary);
    color: white;
}

.wishlist-btn.active .material-symbols-outlined {
    font-variation-settings: "FILL" 1;
}

/* ============================================
   100. SHARE BUTTONS
   ============================================ */
.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-container-high);
    color: var(--on-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-btn.copy:hover {
    background: var(--primary);
    color: white;
}
