/* Modern Landing Page Styles - Migrelux Inspired */

/* Reset and Base Styles */
.modern-page {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

.modern-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container */
.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation */
.modern-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

/* Announcement Bar */
.modern-announcement {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.modern-announcement-inner {
    position: relative;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}

.modern-announcement-slider {
    display: inline-flex;
    gap: 48px;
    animation: slide 25s linear infinite;
    padding-right: 48px;
}

.modern-announcement-slider span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.modern-announcement-slider span:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Shimmer animation */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Slide animation */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.modern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-logo {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.modern-nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.modern-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.modern-nav-links a:hover {
    color: #007bff;
}



/* Product Section */
.modern-product {
    background: white;
    padding: 60px 0 80px;
    margin-top: 0;
    position: relative;
    z-index: 3;
    border-radius: 0;
    box-shadow: none;
}

/* Order summary block inside order panel */
.modern-cart-summary {
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    margin-bottom: 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px;
    background: #fafafa;
}

.modern-summary-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.modern-summary-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.modern-summary-info { flex: 1; }
.modern-summary-name { font-weight: 700; font-size: 15px; color: #111827; }
.modern-summary-meta { margin-top: 4px; font-size: 13px; color: #6b7280; }
.modern-summary-variant { color: var(--color-primary); font-weight: 600; }

.modern-summary-unit { text-align: right; }
.modern-summary-unit .label { font-size: 12px; color: #6b7280; }
.modern-summary-unit .price { font-weight: 600; color: #111827; }

.modern-summary-discount {
    margin-top: 8px;
    font-size: 12px;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 6px 10px;
    border-radius: 8px;
}

.modern-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-top: 1px dashed #e5e7eb;
    padding-top: 10px;
}
.modern-summary-total .label { font-weight: 600; color: #374151; }
.modern-summary-total .value { font-weight: 800; color: #111827; }

.modern-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Modern Product Image Display - Mobile First */
.product-image-display {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Image Gallery Wrapper - Mobile Optimized */
.image-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .image-gallery-wrapper {
        gap: 30px;
    }
}

/* Modern Thumbnails - Mobile First Design */
.modern-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
    background: transparent;
    
    /* Hide scrollbar on mobile */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modern-thumbnails::-webkit-scrollbar {
    display: none;
}

/* Tablet and up */
@media (min-width: 768px) {
    .modern-thumbnails {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 400px;
        background: rgba(255,255,255,0.8);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0,0,0,0.05);
        scrollbar-width: thin;
        scrollbar-color: rgba(37,99,235,0.4) transparent;
    }
    
.modern-thumbnails::-webkit-scrollbar {
        display: block;
        width: 6px;
}

.modern-thumbnails::-webkit-scrollbar-track {
        background: transparent;
}

.modern-thumbnails::-webkit-scrollbar-thumb {
        background: rgba(37,99,235,0.4);
        border-radius: 3px;
}
}

/* Modern Thumbnail - Mobile First */
.modern-thumbnail {
    position: relative;
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Tablet and up */
@media (min-width: 768px) {
    .modern-thumbnail {
        width: 90px;
        height: 90px;
        min-width: 90px;
        border-radius: 14px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .modern-thumbnail {
        width: 100px;
        height: 100px;
        min-width: 100px;
        border-radius: 16px;
    }
}

/* Thumbnail States */
        .modern-thumbnail.active {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
    transform: scale(1.05);
}

/* Desktop hover effects only */
@media (hover: hover) and (min-width: 768px) {
    .modern-thumbnail:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

.modern-thumbnail.active:hover {
        transform: scale(1.08);
        box-shadow: 0 0 0 3px rgba(37,99,235,0.3), 0 8px 20px rgba(37,99,235,0.2);
    }
}



@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(37,99,235,0.25);
    }
    50% {
        box-shadow: 0 0 20px rgba(37,99,235,0.35);
    }
}

@keyframes thumbnailPulse {
    0% {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(37,99,235,0.2), 0 4px 16px rgba(37,99,235,0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(37,99,235,0.3), 0 6px 18px rgba(37,99,235,0.35);
    }
    100% {
        transform: scale(1.03);
        box-shadow: 0 0 0 3px rgba(37,99,235,0.2), 0 4px 16px rgba(37,99,235,0.25);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
}

/* Enhanced active thumbnail styles - Clean and stylish */
.modern-thumbnail.active {
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 16px rgba(37,99,235,0.12);
    transform: scale(1.02);
    z-index: 5;
    position: relative;
    background: linear-gradient(135deg, rgba(37,99,235,0.02) 0%, rgba(255,255,255,0.98) 100%);
    animation: activeThumbnailGlow 3s ease-in-out infinite alternate;
}

@keyframes activeThumbnailGlow {
    0% {
        box-shadow: 0 4px 16px rgba(37,99,235,0.12);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37,99,235,0.18);
    }
}

/* Mobile-specific active thumbnail enhancements */
@media (max-width: 768px) {
    .modern-thumbnail.active {
        border: 2px solid var(--color-primary);
        box-shadow: 0 4px 14px rgba(37,99,235,0.15);
        transform: scale(1.02);
        z-index: 10;
    }
    
    /* Enhanced mobile thumbnail container */
    .modern-thumbnails {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(37,99,235,0.15);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    /* Mobile thumbnail hover effects */
    .modern-thumbnail:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }
    
    .modern-thumbnail.active:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 18px rgba(37,99,235,0.2);
    }
}





.modern-thumbnails {
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(37,99,235,0.6) rgba(0,0,0,0.1);
}

.modern-thumbnails::-webkit-scrollbar {
    width: 8px;
}

.modern-thumbnails::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.modern-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(37,99,235,0.6);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
}

.modern-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(37,99,235,0.8);
}

/* Modern Image Gallery - Mobile First Design */
.primary-image-holder {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Enhanced border with gradient */
    border: 2px solid transparent;
    background-clip: padding-box;
    
    /* Mobile First - Default mobile size */
    min-height: 450px;
    height: auto;
    max-height: 80vh;
    
    /* Subtle inner glow effect */
    position: relative;
    z-index: 1;
}

.primary-image-holder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(147, 51, 234, 0.1) 25%, 
        rgba(236, 72, 153, 0.1) 50%, 
        rgba(245, 158, 11, 0.1) 75%, 
        rgba(34, 197, 94, 0.1) 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.primary-image-holder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .primary-image-holder {
        padding: 15px;
        min-height: 400px;
        border-radius: 24px;
        box-shadow: 
            0 12px 24px rgba(0, 0, 0, 0.08),
            0 4px 8px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    
    .primary-image-holder::before {
        border-radius: 24px;
    }
    
    .primary-image-holder::after {
        border-radius: 24px;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .primary-image-holder {
        height: 600px;
        max-height: 75vh;
        padding: 35px;
        border-radius: 32px;
    }
    
    .primary-image-holder::before {
        border-radius: 32px;
    }
    
    .primary-image-holder::after {
        border-radius: 32px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .primary-image-holder {
        height: 700px;
        max-height: 80vh;
        padding: 45px;
        border-radius: 36px;
    }
    
    .primary-image-holder::before {
        border-radius: 36px;
    }
    
    .primary-image-holder::after {
        border-radius: 36px;
    }
}

/* Product Image - Mobile Optimized */
.primary-product-image {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    position: relative;
    margin: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    /* Resmin daha net görünmesi için */
    opacity: 1;
    filter: none;
    z-index: 2;
}

/* Small mobile - smaller padding */
@media (max-width: 480px) {
    .primary-product-image {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        padding: 15px;
        border-radius: 16px;
    }
}

/* Tablet and up - larger padding */
@media (min-width: 768px) {
    .primary-product-image {
        width: calc(100% - 70px);
        height: calc(100% - 70px);
        border-radius: 24px;
        padding: 25px;
    }
}

/* Desktop - even larger padding */
@media (min-width: 1024px) {
    .primary-product-image {
        width: calc(100% - 90px);
        height: calc(100% - 90px);
        padding: 30px;
        border-radius: 28px;
    }
}

/* Desktop hover effect */
@media (hover: hover) {
.primary-product-image:hover {
    transform: scale(1.02);
    }
}

/* Modern Navigation Controls - Mobile First */
.image-navigation-controls {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

/* Small mobile adjustments 
@media (max-width: 480px) {
    .image-navigation-controls {
        bottom: 20px;
        gap: 8px;
    }
}*/

/* Navigation Buttons - Mobile Optimized */
.nav-control-btn {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-control-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* Mobile hover/active states */
.nav-control-btn:active {
    transform: scale(0.9);
    background: rgba(0, 0, 0, 0.8);
}

/* Desktop styles */
@media (min-width: 768px) {
    .image-navigation-controls {
        bottom: 30px;
        top: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        justify-content: center;
        padding: 0;
        gap: 20px;
        width: auto;
    }
    
    .nav-control-btn {
        width: 56px;
        height: 56px;
        background: rgba(255, 255, 255, 0.9);
        color: #333;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transition: all 0.3s ease, opacity 0.3s ease;
}

.nav-control-btn svg {
        width: 24px;
        height: 24px;
}

.primary-image-holder:hover .nav-control-btn {
    opacity: 1;
}

.nav-control-btn:hover {
    background: var(--color-primary);
        color: white;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    }
}

@media (min-width: 1024px) {
    .image-navigation-controls {
        left: 40px;
        right: 40px;
    }
}

/* Modern Image Counter - Mobile Optimized */
.image-count-display {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .image-count-display {
        padding: 5px 10px;
        font-size: 12px;
    }
}

.current-image-number {
    color: #60a5fa;
    font-weight: 700;
}

.total-image-count {
    opacity: 0.8;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .image-count-display {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .image-count-display {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Clickable Main Image - removed duplicate rules */

/* Loading State */
.modern-main-image.loading {
    opacity: 0.7;
    filter: blur(1px);
    transition: all 0.2s ease;
}

/* Premium Image Modal */
.modern-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 11000; /* Above order panel (10000) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Modal kapalıyken hiçbir event almaz */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0; /* Remove padding to prevent white space */
}

.modern-image-modal.active {
    display: flex !important; /* Force display flex when active */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Modal açıkken event'leri kabul eder */
}

.modern-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent; /* Remove white background */
    border-radius: 20px;
    overflow: visible;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 11005; /* Higher than modal background and order panel */
    pointer-events: auto; /* Force interactive */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modern-image-modal.active .modern-modal-content {
    transform: scale(1);
}

.modern-modal-image {
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 60vh; /* Leave space for navigation on mobile */
    object-fit: contain;
    display: block;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto; /* Center the image */
}

/* Desktop Modal Image */
@media (min-width: 768px) {
    .modern-modal-image {
        max-width: 80vw;
        max-height: 80vh;
    }
}

/* Modal Slide Transition Classes */
.modern-modal-image.sliding-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.modern-modal-image.sliding-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.modern-modal-image.sliding-in-left {
    transform: translateX(-100%);
    opacity: 0;
}

.modern-modal-image.sliding-in-right {
    transform: translateX(100%);
    opacity: 0;
}

.modern-modal-image.sliding-in-center {
    transform: translateX(0);
    opacity: 1;
}

.modern-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    pointer-events: auto;
    color: #fff;
}

/* Desktop Modal Close */
@media (min-width: 768px) {
    .modern-modal-close {
        position: absolute;
        top: -20px;
        right: -20px;
        background: var(--color-primary, #3b82f6);
        border: none;
        width: 48px;
        height: 48px;
    }
}

.modern-modal-close:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.modern-modal-close:active {
    transform: scale(0.95);
}

.modern-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* Bottom Navigation Bar - Mobile First */
.modern-modal-bottom-nav {
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    pointer-events: auto;
}

/* Desktop positioning */
@media (min-width: 768px) {
    .modern-modal-bottom-nav {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }
}

.modern-modal-nav {
    background: var(--color-primary, #3b82f6);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    z-index: 99999;
    color: #fff;
}

.modern-modal-nav:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.modern-modal-nav:active {
    transform: scale(0.95);
}

.modern-modal-nav svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* Modal Counter */
.modern-modal-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modal backdrop click area */
.modern-image-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Modal Mobile Responsive */
@media (max-width: 768px) {
    .modern-image-modal {
        padding: 20px;
    }
    
    .modern-modal-content {
        max-width: 100%;
        padding: 0;
        margin: auto;
    }
    
    .modern-modal-image {
        max-width: calc(100vw - 40px);
        max-height: 50vh;
        border-radius: 12px;
    }
    
    .modern-modal-bottom-nav {
        position: relative;
        gap: 16px;
        padding: 10px 16px;
        border-radius: 40px;
        margin-top: 20px;
    }
    
    .modern-modal-nav {
        width: 44px;
        height: 44px;
    }
    
    .modern-modal-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .modern-modal-close {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 480px) {
    .modern-image-modal {
        padding: 15px;
    }
    
    .modern-modal-image {
        max-width: calc(100vw - 30px);
        max-height: 45vh;
    }
    
    .modern-modal-bottom-nav {
        gap: 12px;
        padding: 8px 14px;
        border-radius: 35px;
        margin-top: 15px;
    }
    
    .modern-modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modern-modal-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .modern-modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
    
    .modern-modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .modern-modal-counter {
        font-size: 14px;
        padding: 5px 12px;
        min-width: 50px;
    }
}



/* Rating and trust */
.modern-rating { margin-top: 12px; display: flex; gap: 10px; align-items: center; justify-content: center; }
.modern-stars { color: #ffd166; letter-spacing: 2px; font-size: 22px; }
.modern-rating-text { opacity: 0.9; }
.modern-trust-row { margin-top: 18px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.modern-trust-item { background: rgba(255,255,255,0.15); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); }

/* Product Info */
.modern-product-info {
    padding: 0 20px;
}

.modern-product-info h1 {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Product Title */
.modern-product-title {
    margin-bottom: 20px;
}

.modern-product-title h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.3px;
}

/* TM symbol color for product title */
.modern-product-title h1 .tm {
    color: #7e22ce;
}

/* Price Section */
.modern-price-section {
    margin: 20px 0 24px;
    padding: 0;
}

.modern-price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.modern-current-price {
    font-size: 2.4em;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: -0.8px;
    line-height: 1;
}

.modern-original-price {
    font-size: 1.1em;
    font-weight: 400;
    text-decoration: line-through;
    color: #9ca3af;
    margin-left: 8px;
}

.modern-discount-badge {
    background: #ef4444;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 8px;
    white-space: nowrap;
}

.modern-stock-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.95em;
    color: #374151;
}

.modern-warning-icon {
    font-size: 1.1em;
}

.modern-warning-text {
    font-weight: 400;
}

.modern-cart-count {
    font-weight: 700;
    color: #ef4444;
}

/* Quantity Selector */
.modern-quantity-section {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

.modern-quantity-card {
    width: 100%;
    max-width: 360px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.modern-quantity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-quantity-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #111827;
}

.modern-quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.modern-quantity-selector--elevated {
    border-radius: 10px;
    border: 1px solid #dbe3ff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.modern-qty-btn {
    background: #f9fafb;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.modern-qty-btn:active {
    transform: scale(0.96);
}

.modern-qty-btn:hover {
    background: #2563eb;
    color: #fff;
}

.modern-qty-btn:disabled {
    background: #f3f4f6;
    color: #d1d5db;
    cursor: not-allowed;
}

.modern-qty-input {
    border: none;
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.modern-qty-input::-webkit-outer-spin-button,
.modern-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Order Button */
.modern-order-btn {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    margin-top: 8px;
}

.modern-order-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.modern-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Trust Images */
.trust-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    flex-wrap: nowrap;
    max-width: 600px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-image {
    height: 60px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.trust-image:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.trust-text {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    margin-top: 2px;
}



/* Bulk Deals */
.modern-bulk-deals {
    margin: 10px 0 24px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.bulk-deals-title {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    font-size: 16px;
}

.bulk-deals-options {
    display: grid;
    gap: 10px;
}

.bulk-deal-option {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all .2s ease;
    background: #f9fafb;
    position: relative;
}

.bulk-deal-option:has(.bulk-deal-radio:checked) {
    background: #eef2ff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.bulk-deal-option:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}

.bulk-deal-option input[type="radio"] {
    display: none;
}

.bulk-deal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.bulk-deal-qty { 
    font-weight: 700; 
    color: #111827; 
    flex-shrink: 0;
}

.bulk-deal-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    position: absolute;
    right: 12px;
    top: 12px;
}

.bulk-deal-discount { 
    font-weight: 700; 
    color: var(--color-accent);
    font-size: 13px;
}

.bulk-deal-popular {
    background: #fde68a;
    color: #92400e;
    border: 1px solid #f59e0b;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.bulk-deal-prices {
    display: grid;
    gap: 4px;
}

.bulk-deal-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--color-text);
}

.bulk-deal-row-label {
    min-width: 70px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.old-price { text-decoration: line-through; color: #9ca3af; }
.new-price { font-weight: 700; color: var(--color-primary); }

/* Order Panel */
.modern-order-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-order-panel.active {
    pointer-events: auto;
    opacity: 1;
    /* Prevent mobile zoom when form is active */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.modern-order-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modern-order-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

@media (min-width: 768px) {
    .modern-order-content { width: 480px; }
}

.modern-order-panel.active .modern-order-content {
    transform: translateX(0);
}

.modern-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.modern-order-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #1f2937;
}

.modern-order-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.modern-order-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.modern-order-body {
    padding: 24px;
}

.modern-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(17,24,39,0.06);
}

.modern-form-section-title {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    margin-bottom: 8px;
}

.modern-form-section-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0;
}

.modern-order-placeholder {
    text-align: center;
    color: #6b7280;
    padding: 40px 20px;
}

.modern-order-placeholder p {
    margin: 8px 0;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Color Variants */
.modern-color-selection {
    margin: 32px 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.modern-selected-color {
    color: var(--color-primary);
    font-weight: 700;
}

.modern-color-options {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.modern-color-option {
    display: inline-flex;
    align-items: center;
    position: relative;
    min-height: 44px;
    padding: 10px 14px 10px 44px;
    border-radius: 9999px;
    border: 2px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: var(--shadow-sm);
}

.modern-color-option.active { border-color: var(--color-primary); box-shadow: 0 0 0 6px rgba(37,99,235,.12); }

.modern-color-option::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--color);
    box-shadow: 0 1px 2px rgba(0,0,0,.06) inset;
}

.modern-color-option::before {
    content: attr(data-color-name) ' - ' attr(data-price) ' TL';
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
}

/* Urgency Timer */
.modern-urgency {
    background: linear-gradient(45deg, #ff6b6b, #ff9f43);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(255,107,107,0.3);
}

.modern-urgency h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.modern-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.modern-countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 70px;
}

.modern-countdown-number {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.modern-countdown-label {
    font-size: 12px;
    opacity: 0.8;
}

.modern-progress { height: 6px; background: rgba(255,255,255,.25); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.modern-progress-bar { height: 100%; background: #fff; width: 0; transition: width .6s ease; opacity: .9; }

/* Social Proof */
.modern-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.modern-social-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

.modern-social-text {
    color: #92400e;
    font-weight: 500;
    font-size: 14px;
}

.modern-social-text strong {
    color: #78350f;
    font-weight: 700;
}

/* CTA Button */
.modern-cta {
    margin: 36px 0 24px;
}

.modern-cta-button {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(37,99,235,.35);
    position: relative;
    overflow: hidden;
}

.modern-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left 0.6s;
}

.modern-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37,99,235,.45);
}

.modern-cta-button:hover::before {
    left: 100%;
}

.modern-cta-button:active {
    transform: translateY(0);
}

/* Custom Font */
@font-face {
    font-family: 'Bright Morning';
    src: url('../fonts/Bright Morning.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Features Section */
.modern-features {
    background: #f8f9fa;
    padding: 80px 0;
}

.modern-features-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #333;
}

.modern-features-box {
    background: linear-gradient(180deg,#fff 0%,#fafafa 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.modern-feature-item {
    display: flex;
    align-items: center;
    padding: 2px 0;
    gap: 20px;
    margin-bottom: 8px;
}

.modern-feature-item:last-child {
    border-bottom: none;
}

.modern-feature-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #007bff;
    flex-shrink: 0;
    min-width: 55px;
}

.modern-feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* Show original icon colors */
    filter: none;
}

.modern-feature-content {
    flex: 1;
    min-width: 0;
}

.modern-feature-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #374151;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.025em;
}

.modern-feature-description {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

/* Testimonials */
.modern-testimonials {
    background: white;
    padding: 80px 0;
}

.modern-testimonials-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #333;
}

.modern-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.modern-testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border-left: 4px solid #007bff;
}

.modern-testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

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

.modern-testimonial-name {
    font-weight: bold;
    color: #333;
}

.modern-testimonial-stars {
    color: #ffc107;
    margin-left: auto;
}

/* FAQ Section */
.modern-faq {
    background: #f8f9fa;
    padding: 80px 0;
}

.modern-faq-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #333;
}

.modern-faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modern-faq-question {
    background: #007bff;
    color: white;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-faq-question:hover {
    background: #0056b3;
}

.modern-faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.modern-faq-answer.active {
    padding: 20px 30px;
    max-height: 200px;
}

.modern-faq-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

.modern-faq-item.active .modern-faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.modern-footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.modern-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.modern-footer-section h3 {
    margin-bottom: 20px;
    color: #007bff;
}

.modern-footer-section p,
.modern-footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.modern-footer-section a:hover {
    color: white;
}

.modern-footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

/* Mobile Responsive - Enhanced */
@media (max-width: 768px) {
    /* Global Mobile Adjustments */
    body {
        overflow-x: hidden;
    }
    
    .modern-container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    /* Header Mobile */
    .modern-header {
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .modern-nav {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 0 10px;
    }
    
    .modern-logo {
        font-size: 18px;
    }
    
    .modern-nav-links {
        gap: 15px;
        font-size: 14px;
    }
    
    /* Announcement Bar Mobile */
    .modern-announcement {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .modern-announcement-slider span {
        padding: 4px 10px;
        font-size: 11px;
        gap: 5px;
    }
    
    /* Hero Mobile */
    .modern-title { 
        font-size: 1.6em; 
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .modern-hero { 
        padding: 30px 0; 
        min-height: auto;
    }
    
    /* Product Section Mobile */
    .modern-product {
        padding: 30px 0 40px;
        margin-top: 0;
    }
    
    .modern-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    /* Image Gallery Mobile - Remove duplicates, already defined with mobile-first approach */
    /* Most styles are already defined in the main mobile-first sections above */
    
    /* Product Info Mobile */
    .modern-product-info {
        padding: 0 8px;
        margin-top: 10px;
    }
    
    .modern-product-title h1 {
        font-size: 1.4em;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    /* Price Section Mobile */
    .modern-price-section {
        margin: 12px 0 16px;
    }
    
    .modern-price-main {
        flex-wrap: wrap;
        gap: 8px;
        align-items: baseline;
    }
    
    .modern-current-price {
        font-size: 1.8em;
    }
    
    .modern-original-price {
        font-size: 0.9em;
    }
    
    .modern-discount-badge {
        font-size: 0.65em;
        padding: 3px 6px;
    }
    
    /* Stock Warning Mobile */
    .modern-stock-warning {
        font-size: 0.8em;
        padding: 8px;
        margin-top: 8px;
    }
    
    /* Quantity Selector Mobile */
    .modern-quantity-section {
        margin: 16px 0;
    }
    
    .modern-qty-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1em;
    }
    
    .modern-qty-input {
        width: 55px;
        height: 38px;
        font-size: 1em;
    }
    
    /* Order Button Mobile */
    .modern-order-btn {
        padding: 14px 24px;
        font-size: 1em;
        border-radius: 10px;
        width: 100%;
    }
    
    /* Urgency Timer Mobile */
    .modern-urgency {
        padding: 16px;
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .modern-urgency h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .modern-countdown {
        gap: 8px;
    }
    
    .modern-countdown-item {
        min-width: 55px;
        padding: 8px;
        border-radius: 8px;
    }
    
    .modern-countdown-number {
        font-size: 20px;
    }
    
    .modern-countdown-label {
        font-size: 10px;
    }
    
    /* Color Selection Mobile */
    .modern-color-selection {
        padding: 16px;
        margin: 16px -8px;
        border-radius: 8px;
    }
    
    .modern-color-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .modern-color-options {
        gap: 10px;
    }
    
    .modern-color-option {
        min-height: 40px;
        padding: 8px 12px 8px 40px;
        font-size: 13px;
    }
    
    /* Social Proof Mobile */
    .modern-social-proof {
        padding: 12px;
        margin: 16px 0;
        font-size: 13px;
    }
    

    
    /* Features Grid Mobile */
    .modern-features {
        padding: 40px 0;
    }
    
    .modern-features-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .modern-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-feature-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .modern-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .modern-feature-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .modern-feature-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Testimonials Mobile */
    .modern-testimonials {
        padding: 40px 0;
    }
    
    .modern-testimonials-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .modern-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modern-testimonial-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .modern-testimonial-text {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    /* FAQ Mobile */
    .modern-faq {
        padding: 40px 0;
    }
    
    .modern-faq-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .modern-faq-item {
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .modern-faq-question {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .modern-faq-answer {
        font-size: 13px;
        padding: 0 20px;
    }
    
    .modern-faq-answer.active {
        padding: 16px 20px;
    }
    
    /* Footer Mobile */
    .modern-footer {
        padding: 40px 0 20px;
    }
    
    .modern-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modern-footer-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .modern-footer-section p,
    .modern-footer-section a {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Sticky Bar Mobile */
    .modern-sticky-bar {
        padding: 0;
    }
    
    .modern-sticky-inner {
        padding: 10px 12px;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .modern-sticky-info {
        gap: 8px;
        flex: 1;
    }
    
    .modern-sticky-info img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .modern-sticky-title {
        font-size: 13px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .modern-sticky-price {
        font-size: 12px;
    }
    
    .modern-sticky-btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 8px;
        white-space: nowrap;
    }
    
    /* Order Panel Mobile */
    .modern-order-content {
        width: 100%;
        max-width: 100vw;
    }
    
    .modern-order-header {
        padding: 16px 20px;
    }
    
    .modern-order-header h3 {
        font-size: 1.1em;
    }
    
    .modern-order-body {
        padding: 20px;
    }
    
    .modern-form-group {
        margin-bottom: 16px;
    }
    
    .modern-form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .modern-form-group input,
    .modern-form-group textarea {
        padding: 10px 14px;
        font-size: 16px; /* 16px to prevent mobile zoom */
        border-radius: 6px;
    }
    
    .modern-submit-btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* Small Mobile Devices - Enhanced */
@media (max-width: 480px) {
    /* Global Small Mobile */
    .modern-page {
        font-size: 14px;
    }
    
    .modern-container {
        padding: 0 10px;
    }
    
    /* Header Small Mobile */
    .modern-header {
        padding: 8px 0;
    }
    
    .modern-logo {
        font-size: 16px;
    }
    
    /* Announcement Small Mobile */
    .modern-announcement {
        padding: 6px 0;
    }
    
    .modern-announcement-slider span {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    /* Product Section Small Mobile */
    .modern-product {
        padding: 20px 0 30px;
    }
    
    /* Image Gallery Small Mobile */
    .primary-image-holder {
        max-height: 350px;
        border-radius: 8px;
    }
    
    .primary-product-image {
        max-height: 350px;
    }
    
    /* Image Counter Small Mobile */
    .image-count-display {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 14px;
    }
    
    /* Navigation Controls Small Mobile
    .image-navigation-controls {
        bottom: 10px;
        gap: 6px;
    } */
    
    .nav-control-btn {
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
    }
    
    .nav-control-btn svg {
        width: 14px;
        height: 14px;
    }
    
    /* Thumbnails Small Mobile */
    .modern-thumbnails {
        padding: 8px;
        gap: 8px;
        max-height: 80px;
    }
    
    .modern-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: 8px;
    }
    
    /* Product Info Small Mobile */
    .modern-product-info {
        padding: 0 5px;
    }
    
    .modern-product-title h1 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    /* Price Section Small Mobile */
    .modern-price-section {
        margin: 10px 0 14px;
    }
    
    .modern-current-price {
        font-size: 1.5em;
        letter-spacing: -0.5px;
    }
    
    .modern-original-price {
        font-size: 0.8em;
    }
    
    .modern-discount-badge {
        font-size: 0.6em;
        padding: 2px 4px;
        border-radius: 4px;
    }
    
    /* Stock Warning Small Mobile */
    .modern-stock-warning {
        font-size: 0.75em;
        padding: 6px;
        margin-top: 6px;
    }
    
    /* Quantity Selector Small Mobile */
    .modern-quantity-section {
        margin: 12px 0;
    }
    
    .modern-qty-btn {
        width: 34px;
        height: 34px;
        font-size: 1em;
    }
    
    .modern-qty-input {
        width: 45px;
        height: 34px;
        font-size: 0.9em;
    }
    
    /* Order Button Small Mobile */
    .modern-order-btn {
        padding: 12px 20px;
        font-size: 0.95em;
        border-radius: 8px;
    }
    
    /* CTA Button Small Mobile */
    .modern-cta-button {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
        letter-spacing: 0.3px;
    }
    
    /* Urgency Timer Small Mobile */
    .modern-urgency {
        padding: 14px;
        margin: 16px 0;
        border-radius: 10px;
    }
    
    .modern-urgency h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .modern-countdown {
        gap: 6px;
    }
    
    .modern-countdown-item {
        min-width: 50px;
        padding: 6px;
        border-radius: 6px;
    }
    
    .modern-countdown-number {
        font-size: 18px;
    }
    
    .modern-countdown-label {
        font-size: 9px;
    }
    
    /* Color Selection Small Mobile */
    .modern-color-selection {
        padding: 14px;
        margin: 14px -5px;
    }
    
    .modern-color-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .modern-color-option {
        min-height: 36px;
        padding: 6px 10px 6px 36px;
        font-size: 12px;
    }
    
    .modern-color-option::after {
        width: 16px;
        height: 16px;
        left: 10px;
    }
    
    /* Social Proof Small Mobile */
    .modern-social-proof {
        padding: 10px;
        margin: 12px 0;
        font-size: 12px;
        gap: 8px;
    }
    
    .modern-social-icon {
        font-size: 20px;
    }
    

    
    /* Features Small Mobile */
    .modern-features {
        padding: 30px 0;
    }
    
    .modern-features-title {
        font-size: 1.5em;
        margin-bottom: 24px;
    }
    
    .modern-feature-card {
        padding: 20px 16px;
    }
    
    .modern-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .modern-feature-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .modern-feature-description {
        font-size: 13px;
    }
    
    /* Testimonials Small Mobile */
    .modern-testimonials {
        padding: 30px 0;
    }
    
    .modern-testimonials-title {
        font-size: 1.5em;
        margin-bottom: 24px;
    }
    
    .modern-testimonial-card {
        padding: 16px;
    }
    
    .modern-testimonial-text {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    /* FAQ Small Mobile */
    .modern-faq {
        padding: 30px 0;
    }
    
    .modern-faq-title {
        font-size: 1.5em;
        margin-bottom: 24px;
    }
    
    .modern-faq-question {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .modern-faq-answer {
        font-size: 12px;
    }
    
    .modern-faq-answer.active {
        padding: 14px 16px;
    }
    
    /* Footer Small Mobile */
    .modern-footer {
        padding: 30px 0 16px;
    }
    
    .modern-footer-section h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .modern-footer-section p,
    .modern-footer-section a {
        font-size: 13px;
    }
    
    /* Sticky Bar Small Mobile */
    .modern-sticky-inner {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .modern-sticky-info img {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }
    
    .modern-sticky-title {
        font-size: 12px;
    }
    
    .modern-sticky-price {
        font-size: 11px;
    }
    
    .modern-sticky-btn {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* Modal Small Mobile - already handled above */
    
    /* Order Panel Small Mobile */
    .modern-order-header {
        padding: 14px 16px;
    }
    
    .modern-order-header h3 {
        font-size: 1em;
    }
    
    .modern-order-close {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }
    
    .modern-order-body {
        padding: 16px;
    }
    
    .modern-form-group {
        margin-bottom: 14px;
    }
    
    .modern-form-group label {
        font-size: 12px;
    }
    
    .modern-form-group input,
    .modern-form-group textarea {
        padding: 8px 12px;
        font-size: 16px; /* 16px to prevent mobile zoom */
        border-radius: 5px;
    }
    
    .modern-submit-btn {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    /* Bulk deals mobile adjustments */
    .bulk-deal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .bulk-deal-badges {
        position: absolute;
        right: 8px;
        top: 8px;
        align-items: flex-end;
        gap: 3px;
    }
    
    .bulk-deal-discount {
        font-size: 12px;
    }
    
    .bulk-deal-popular {
        font-size: 11px;
        padding: 1px 6px;
    }
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.modern-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.modern-pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.modern-text-center { text-align: center; }
.modern-text-left { text-align: left; }
.modern-text-right { text-align: right; }
.modern-mb-20 { margin-bottom: 20px; }
.modern-mb-30 { margin-bottom: 30px; }
.modern-mb-40 { margin-bottom: 40px; }
.modern-mt-20 { margin-top: 20px; }
.modern-mt-30 { margin-top: 30px; }
.modern-mt-40 { margin-top: 40px; }

/* =========================================
   Professional Overrides (v2) — Conversion Focused
   - Keeps class names intact
   - Refines spacing, typography, colors
   - Adds missing sticky bar styles
   ========================================= */

/* Design tokens */
.modern-page {
    --color-primary: #2563eb; /* blue-600 */
    --color-primary-hover: #1d4ed8; /* blue-700 */
    --color-accent: #16a34a; /* green-600 */
    --color-danger: #e11d48; /* rose-600 */
    --color-text: #0f172a; /* slate-900 */
    --color-text-muted: #475569; /* slate-600 */
    --color-border: #e2e8f0; /* slate-200 */
    --color-bg: #f8fafc; /* slate-50 */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 6px 18px rgba(2,6,23,.08);
    --shadow-lg: 0 14px 34px rgba(2,6,23,.10);
}

/* Base refinement */
.modern-page {
    color: var(--color-text);
    background: var(--color-bg);
}

.modern-container { 
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.modern-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: none;
}

.modern-logo { color: var(--color-primary); letter-spacing: .2px; }

.modern-nav-links a {
    color: var(--color-text);
    position: relative;
    padding: 6px 0;
}

.modern-nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: width .25s ease;
}

.modern-nav-links a:hover { color: var(--color-primary); }
.modern-nav-links a:hover::after { width: 100%; }

/* Announcement */
.modern-announcement { background: #0b1220; }
.modern-announcement-inner span { opacity: .95; }

/* Hero Section - Professional Redesign */
.modern-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #d946ef 50%, #ec4899 75%, #f43f5e 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.modern-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(217, 70, 239, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
    animation: badgeGlow 3s ease infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
    50% { box-shadow: 0 8px 40px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset; }
}

.modern-badge:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.15);
}

.modern-badge-icon {
    font-size: 14px;
}

.modern-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.modern-title-highlight {
    background: linear-gradient(45deg, #fff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.modern-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 400;
}

.modern-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.modern-stat-item {
    text-align: center;
}

.modern-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}

.modern-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.modern-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

.modern-hero-cta {
    margin-top: 20px;
}

.modern-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.98);
    color: #1e293b;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.modern-hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.modern-hero-btn:hover::before {
    left: 100%;
}

.modern-hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 255, 255, 0.3);
    background: #fff;
}

.modern-btn-arrow {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: bounce 2s infinite;
}

/* Floating Elements */
.modern-hero-floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.modern-float-1,
.modern-float-2,
.modern-float-3 {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.modern-float-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.modern-float-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.modern-float-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

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

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

/* Homepage Products List */
.modern-products-list {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 80px 0;
    margin-top: -60px;
    position: relative;
    z-index: 3;
    border-radius: 30px 30px 0 0;
}

.modern-products-section {
    margin-bottom: 60px;
}

.modern-section-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-text);
    text-align: left;
    padding: 0 20px;
}

.modern-products-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 20px 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.4) transparent;
}

.modern-products-scroll::-webkit-scrollbar {
    height: 8px;
}

.modern-products-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.modern-products-scroll::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 4px;
}

.modern-products-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

.modern-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

/* Small Product Cards for Horizontal Scroll */
.modern-product-card-small {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    flex: 0 0 220px;
    min-width: 220px;
    scroll-snap-align: start;
}

.modern-product-card-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef, #ec4899, #f43f5e);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.modern-product-card-small:hover::before {
    opacity: 1;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.modern-product-card-small:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.15), 0 0 32px rgba(139, 92, 246, 0.1), 0 0 0 1px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.modern-product-image-small {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-product-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1);
}

.modern-product-card-small:hover .modern-product-image-small img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.modern-discount-tag-small {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    z-index: 2;
}

.modern-product-info-small {
    padding: 16px;
}

.modern-product-info-small h3 {
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
}

.modern-product-price-small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.modern-price-current-small {
    font-size: 1.15em;
    font-weight: 800;
    color: var(--color-primary);
}

.modern-price-old-small {
    font-size: 0.85em;
    color: #94a3b8;
    text-decoration: line-through;
}

.modern-product-btn-small {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
    background-size: 200% 100%;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-product-btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-product-btn-small:hover::before {
    left: 100%;
}

.modern-product-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4), 0 0 16px rgba(139, 92, 246, 0.3);
    background-position: 100% 0;
    color: #fff;
}

/* Regular Product Cards */
.modern-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.modern-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef, #ec4899, #f43f5e);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.modern-product-card:hover::before {
    opacity: 1;
    animation: gradientFlow 3s linear infinite;
}

.modern-product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15), 0 0 40px rgba(139, 92, 246, 0.1), 0 0 0 1px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.modern-product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1);
}

.modern-product-card:hover .modern-product-image img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.modern-discount-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.modern-product-info {
    padding: 24px;
}

.modern-product-info h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.3;
}

.modern-product-desc {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.modern-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.modern-price-current {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color-primary);
}

.modern-price-old {
    font-size: 1em;
    color: #94a3b8;
    text-decoration: line-through;
}

.modern-product-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
    background-size: 200% 100%;
    color: #fff;
    text-align: center;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-product-btn:hover::before {
    left: 100%;
}

.modern-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4), 0 0 20px rgba(139, 92, 246, 0.3);
    background-position: 100% 0;
    color: #fff;
}

.modern-no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
    font-size: 1.1em;
}

/* About Section */
.modern-about {
    background: #fff;
    padding: 80px 0;
}

.modern-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.modern-about-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.modern-about-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-about-item:hover::before {
    opacity: 1;
}

.modern-about-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12), 0 0 30px rgba(139, 92, 246, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.modern-about-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.modern-about-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.modern-about-item p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Product */
.modern-product { box-shadow: none; }

.modern-product-grid { align-items: start; }

.modern-product-gallery { gap: 24px; }
.modern-thumbnails { gap: 12px; padding: 10px; }

.modern-thumbnail {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    background: #fff;
}



/* Removed duplicate .modern-main-image rule */

.modern-product-info h1 { color: var(--color-text); font-weight: 700; }

.modern-price-section { 
    margin: 16px 0 20px; 
    padding: 0;
}
.modern-price-main { 
    gap: 10px; 
    flex-wrap: wrap; 
}

.modern-current-price { 
    font-size: 2.0em; 
    letter-spacing: -0.4px;
}
.modern-original-price { 
    font-size: 0.9em; 
}
.modern-discount-badge { 
    padding: 2px 5px;
    font-size: 0.65em;
}

.modern-stock-warning {
    font-size: 0.8em;
    margin-top: 6px;
}

.modern-quantity-section {
    margin: 20px 0;
}

/* Urgency */
.modern-urgency {
    background: linear-gradient(90deg, #fb7185 0%, #f59e0b 100%);
    box-shadow: 0 10px 30px rgba(245,158,11,.25);
}
.modern-countdown-item { border: 1px solid rgba(255,255,255,.35); }
.modern-progress { background: rgba(255,255,255,.35); }
.modern-progress-bar { background: #fff; opacity: .95; }

/* Social proof */
.modern-social-proof { border-left-color: var(--color-accent); background: #f1f5f9; }
.modern-social-text { color: var(--color-text); }

/* Color variants */
.modern-color-option { border: 2px solid #e5e7eb; }
.modern-color-option.active { border-color: var(--color-primary); box-shadow: 0 0 0 6px rgba(37,99,235,.12); }

/* CTA */
.modern-cta { margin: 28px 0 16px; }
.modern-cta-button {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    box-shadow: 0 10px 30px rgba(37,99,235,.35);
    border-radius: 14px;
}
.modern-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(37,99,235,.45);
}
.modern-cta-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37,99,235,.25), 0 10px 30px rgba(37,99,235,.35);
}



/* Testimonials */
.modern-testimonial-card { background: #f8fafc; border: 1px solid var(--color-border); }
.modern-testimonial-text { color: var(--color-text-muted); }

/* FAQ */
.modern-faq { background: #f8fafc; }
.modern-faq-item { border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.modern-faq-answer { transition: max-height .35s ease, padding .25s ease; }
.modern-faq-answer.active { max-height: 800px; }

/* Footer */
.modern-footer { background: #0f172a; }
.modern-footer-section h3 { color: #e2e8f0; }
.modern-footer-section p, .modern-footer-section a { color: #94a3b8; }
.modern-footer-section a:hover { color: #e2e8f0; }
.modern-footer-bottom { border-top-color: rgba(148,163,184,.25); color: #94a3b8; }

/* Sticky CTA Bar (missing styles added) */
.modern-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.modern-sticky-bar.active {
    transform: translateY(0);
}

.modern-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.modern-sticky-info { display: flex; align-items: center; gap: 12px; }
.modern-sticky-info img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; border: 1px solid var(--color-border); }
.modern-sticky-title { font-weight: 600; color: var(--color-text); }
.modern-sticky-price { display: flex; gap: 8px; align-items: baseline; }
.modern-sticky-price .now { color: var(--color-primary); font-weight: 800; }
.modern-sticky-price .old { color: #94a3b8; text-decoration: line-through; font-size: .9em; }

.modern-sticky-btn {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(37,99,235,.3);
}
.modern-sticky-btn:hover { box-shadow: 0 12px 28px rgba(37,99,235,.4); transform: translateY(-1px); }
.modern-sticky-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(37,99,235,.25), 0 8px 22px rgba(37,99,235,.3); }

/* Stock alert visual */
.modern-stock-alert {
    background: #fff;
    border: 1px dashed var(--color-border);
    border-left: 4px solid var(--color-accent);
    padding: 14px 16px;
    border-radius: 12px;
}
.modern-stock-count { font-weight: 800; color: var(--color-danger); }

/* Focus states */
button, a, [role="button"], input, select, textarea {
    outline-offset: 2px;
}

/* Responsive refinements */
@media (max-width: 992px) {
    .modern-product-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .modern-product-gallery { 
        grid-template-columns: 100px 1fr; 
        max-width: 500px;
        margin: 0 auto;
    }
    
    .modern-product-info {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .modern-products-list {
        padding: 60px 0;
    }

    .modern-products-section {
        margin-bottom: 40px;
    }

    .modern-section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
        padding: 0 12px;
    }

    .modern-products-scroll {
        padding: 10px 12px 30px;
        gap: 16px;
    }

    .modern-product-card-small {
        flex: 0 0 180px;
        min-width: 180px;
    }

    .modern-product-image-small {
        height: 150px;
    }

    .modern-product-info-small {
        padding: 12px;
    }

    .modern-product-info-small h3 {
        font-size: 0.85em;
        min-height: 2.4em;
    }

    .modern-price-current-small {
        font-size: 1em;
    }

    .modern-product-btn-small {
        padding: 8px 12px;
        font-size: 12px;
    }

    .modern-product { 
        padding: 40px 0 60px; 
        margin-top: -20px;
    }
    
    .modern-product-grid { 
        gap: 30px; 
    }
    
    .modern-product-gallery { 
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    
    .modern-thumbnails { 
        flex-direction: row; 
        justify-content: flex-start; 
        overflow-x: auto; 
        padding: 16px 20px; 
        gap: 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        max-height: none;
        max-width: 100%;
        scroll-snap-type: x proximity;
        scroll-padding: 20px;
        /* Ensure proper mobile scrolling */
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        z-index: 10;
        isolation: isolate;
        /* Enhanced mobile scrolling */
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) rgba(0,0,0,0.1);
    }
    
    .modern-thumbnails::-webkit-scrollbar {
        height: 8px;
        width: auto;
    }
    
    .modern-thumbnails::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 4px;
    }
    
    .modern-thumbnails::-webkit-scrollbar-thumb {
        background: rgba(0,123,255,0.6);
        border-radius: 4px;
        transition: background 0.3s ease;
    }
    
    .modern-thumbnails::-webkit-scrollbar-thumb:hover {
        background: rgba(0,123,255,0.8);
    }
    
    .modern-thumbnail {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        border-radius: 16px;
        /* Ensure active state is visible on mobile */
        border: 2px solid transparent;
        transition: all 0.3s ease;
        /* Enhanced mobile visibility */
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        background: #fff;
    }
    
    .modern-thumbnails::before,
    .modern-thumbnails::after {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        height: 20px;
        pointer-events: none;
        z-index: 5;
    }
    
    .modern-thumbnails::before {
        top: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, transparent 100%);
        border-radius: 16px 16px 0 0;
    }
    
    .modern-thumbnails::after {
        bottom: 0;
        background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, transparent 100%);
        border-radius: 0 0 16px 16px;
    }
    
    .modern-countdown {
        gap: 10px;
    }
    
    .modern-countdown-item {
        min-width: 60px;
        padding: 10px;
    }
    
    .primary-image-holder {
        min-height: 400px;
    }
    
    .modern-features-grid, .modern-testimonials-grid { grid-template-columns: 1fr; }
    
    .modern-features-box {
        padding: 15px 15px;
        margin: 0 15px;
    }
    
    .modern-feature-item {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        margin-bottom: 8px;
    }
    
    .modern-feature-icon {
        margin: 0;
        width: 60px;
        height: 60px;
        min-width: 60px;
        color: #007bff;
    }
    
    .modern-feature-icon img {
        width: 45px;
        height: 45px;
        /* Keep original icon colors on mobile too */
        filter: none;
    }
    
    .modern-feature-title {
        font-size: 20px;
        font-weight: 600;
        /* Removed decorative font to prevent mobile overlap */
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        color: #374151;
    }
    
    .modern-feature-description {
        font-size: 15px;
        line-height: 1.6;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        color: #6b7280;
    }
}

@media (max-width: 480px) {
    .modern-nav { gap: 12px; }
    .modern-nav-links { gap: 14px; }
    
    /* Hero Mobile Small */
    .modern-hero {
        min-height: 35vh;
        padding: 20px 0;
    }
    
    .modern-title {
        font-size: 1.7rem;
        margin-bottom: 8px;
    }
    
    .modern-subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .modern-badge {
        padding: 6px 12px;
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .modern-hero-stats {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .modern-stat-number {
        font-size: 1.1rem;
    }
    
    .modern-stat-label {
        font-size: 10px;
    }
    
    .modern-stat-divider {
        height: 20px;
    }
    
    .modern-hero-btn {
        padding: 10px 16px;
        font-size: 13px;
        gap: 6px;
    }
    
    .modern-btn-arrow {
        width: 18px;
        height: 18px;
    }
    
    .modern-announcement {
        font-size: 12px;
    }
    
    .modern-announcement-inner {
        padding: 8px 0;
    }
    
    .modern-announcement-slider {
        gap: 24px;
        animation-duration: 18s;
    }
    
    .modern-announcement-slider span {
        padding: 3px 10px;
        font-size: 12px;
        gap: 4px;
    }
    
    .modern-product-info {
        padding: 0 5px;
    }
    
    .modern-product-info h1 { 
        font-size: 1.6em; 
    }
    
    .modern-current-price { 
        font-size: 1.9em; 
    }
    
    .modern-price-section {
        margin: 12px 0 16px;
        padding: 0;
    }
    
    /* Small Mobile Image Display Optimization */
    .primary-image-holder {
        border: 2px solid rgba(59, 130, 246, 0.3);
        max-height: 350px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
        border-radius: 24px;
        box-shadow: 
            0 12px 24px rgba(0, 0, 0, 0.08),
            0 4px 8px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        position: relative;
        overflow: hidden;
    }
    
    .primary-image-holder::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
        border-radius: 24px;
        pointer-events: none;
        z-index: 1;
    }
    
    .primary-image-holder::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 1px solid rgba(59, 130, 246, 0.15);
        border-radius: 24px;
        pointer-events: none;
        z-index: 2;
    }
    
    .image-count-display {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 16px;
    }
    
    .image-navigation-controls {
        gap: 6px;
    }
    
    .nav-control-btn {
        width: 28px;
        height: 28px;
    }
    
    .nav-control-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .modern-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: 6px;
    }
    
    .modern-price-main {
        gap: 8px;
        align-items: baseline;
    }
    
    .modern-current-price {
        font-size: 1.8em;
        letter-spacing: -0.3px;
    }
    
    .modern-original-price {
        font-size: 0.8em;
    }
    
    .modern-discount-badge {
        padding: 1px 4px;
        font-size: 0.6em;
        margin-left: 3px;
    }
    
    .modern-stock-warning {
        font-size: 0.75em;
        margin-top: 4px;
    }
    
    .modern-quantity-section {
        margin: 16px 0;
    }
    
    .modern-qty-btn {
        width: 36px;
        height: 36px;
        font-size: 1.0em;
    }
    
    .modern-qty-input {
        width: 50px;
        height: 36px;
        font-size: 1.0em;
    }
    
    .modern-order-content {
        width: 100vw;
        max-width: 100vw;
    }
    
    .modern-color-selection {
        padding: 16px;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .modern-sticky-title { font-size: .95rem; }
}

/* Smooth image transition animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.image-fade-in {
    animation: fadeInScale 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* AKTIF: Fade In Efekti (Yeni resim belirme) */
}

.image-fade-out {
    /* animation: fadeOutScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    /* PASIF: Fade Out Efekti */
    opacity: 0.5;
}

/* Smooth slide transitions */
@keyframes slideInLeft {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.slide-in-left {
    /* animation: slideInLeft 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    /* PASIF: Sola Kayma Efekti */
    opacity: 1;
}

.slide-in-right {
    /* animation: slideInRight 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    /* PASIF: Sağa Kayma Efekti */
    opacity: 1;
}

/* Enhanced thumbnail hover effects */
.modern-thumbnail {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-thumbnail:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 15;
}

.modern-thumbnail:hover::after {
    opacity: 1;
    scale: 1;
}


/* Add a subtle border to thumbnails to make them more distinct */
.modern-thumbnail {
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-thumbnail:hover {
    border-color: rgba(37,99,235,0.3);
}

/* Removed duplicate .modern-main-image-container rule */

/* Removed duplicate .modern-main-image rule */

/* New Slide System Styles */
/* Removed duplicate .modern-main-image-container and .modern-main-image rules */

/* Navigation Arrows */
.modern-image-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 100%;
}

.modern-main-image-container:hover .modern-image-nav {
    opacity: 1;
}

.modern-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none; /* Remove outline */
    position: relative;
    top: 0;
    transform: none;
}

.modern-nav-btn:focus {
    outline: none; /* Remove outline on focus */
}

.modern-nav-btn:focus-visible {
    outline: none; /* Remove outline on focus-visible */
}

.modern-nav-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.modern-nav-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modern-nav-btn:active {
    transform: scale(0.95);
}

/* Image Counter */


/* Thumbnails */
.modern-thumbnails {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.modern-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.modern-thumbnails::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.modern-thumbnails::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.modern-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.modern-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    flex-shrink: 0;
}

.modern-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-thumbnail::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-thumbnail:hover::before {
    opacity: 1;
}

.modern-thumbnail:hover::after {
    opacity: 1;
}

.modern-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modern-thumbnail.active {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.modern-thumbnail.active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

.modern-thumbnail.active::after {
    opacity: 1;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}











/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modern-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .modern-nav-btn {
        width: 40px;
        height: 40px;
        outline: none; /* Remove outline on mobile */
    }
    
    .modern-nav-btn:focus {
        outline: none; /* Remove outline on focus for mobile */
    }
    
    .modern-nav-btn:focus-visible {
        outline: none; /* Remove outline on focus-visible for mobile */
    }
    
    /* Mobilde ok tuşlarını her zaman göster */
    .modern-image-nav {
        opacity: 1;
        pointer-events: auto;
        z-index: 1000;
    }
    
    .modern-nav-btn {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        outline: none; /* Remove outline on mobile */
    }
    

}

@media (max-width: 480px) {
    .modern-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .modern-nav-btn {
        width: 36px;
        height: 36px;
        outline: none; /* Remove outline on mobile */
    }
    
    .modern-nav-btn:focus {
        outline: none; /* Remove outline on focus for mobile */
    }
    
    .modern-nav-btn:focus-visible {
        outline: none; /* Remove outline on focus-visible for mobile */
    }
    
    /* Mobilde ok tuşlarını her zaman göster */
    .modern-image-nav {
        opacity: 1;
        pointer-events: auto;
        z-index: 1000;
    }
    
    .modern-nav-btn {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        outline: none; /* Remove outline on mobile */
    }
    

}

.modern-order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.modern-form-group input,
.modern-form-group textarea,
.modern-form-group select {
    padding: 12px 16px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    font-size: 16px; /* 16px to prevent mobile zoom */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.modern-form-group input:focus,
.modern-form-group textarea:focus,
.modern-form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background-color: #ffffff;
    /* Prevent mobile zoom on focus */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.modern-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modern-submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.modern-submit-btn:active {
    transform: translateY(0);
}

.modern-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Ensure label/input spacing inside two-column children */
.modern-two-col > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Place city (first child) on the right and district (second) on the left for wider screens */
@media (min-width: 481px) {
    .modern-two-col > div:first-child { grid-column: 2; }
    .modern-two-col > div:last-child { grid-column: 1; }
}

@media (max-width: 480px) {
    .modern-two-col { grid-template-columns: 1fr; }
}

/* Nicer native select styling */
.modern-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
                      linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px),
                         calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.modern-form-group select:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Hover and active states */
.modern-form-group input:hover,
.modern-form-group textarea:hover,
.modern-form-group select:hover {
    border-color: #b6c2d9;
}

.modern-trust-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 13px;
    margin-top: 10px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    padding: 8px 12px;
    border-radius: 10px;
}

.modern-trust-icon { font-size: 16px; }

/* Slide Progress and Indicators - Progress bar removed */

/* Threshold lines removed - no longer needed */

.modern-slide-direction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modern-slide-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.modern-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    /* Peş peşe geçiş için container dışına taşma */
    width: 100%;
    height: 100%;
    /* Overlap'i önlemek için */
    will-change: transform, opacity;
}

/* Enhanced touch feedback - removed duplicate rules */

/* Momentum effect for smooth sliding */
.modern-main-image-container {
    overflow: hidden;
    position: relative;
    /* Peş peşe geçiş için */
    isolation: isolate;
}

/* Slide completion animation */
@keyframes slideComplete {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modern-slide-complete {
    animation: slideComplete 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Threshold indicator animation removed - no longer needed */

/* Progress bar glow effect */
.modern-slide-progress-bar {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Direction indicator bounce */
@keyframes directionBounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.modern-slide-direction.active {
    animation: directionBounce 0.3s ease-in-out;
}

/* Slide Progress and Indicators */
.modern-slide-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: rgba(247, 2, 2, 0.3);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-slide-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease;
}

/* Threshold lines removed - no longer needed */

/* Additional Mobile Optimization for Product Display */
@media (max-width: 768px) {
    .product-image-display {
        margin: 0 -10px;
        padding: 0 10px;
        width: 100vw;
        max-width: 100%;
    }
    
    .image-gallery-wrapper {
        gap: 16px;
        width: 100%;
    }
    
    .primary-product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 12px;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Thumbnails - Mobile Optimized */
    .modern-thumbnails {
        gap: 8px;
        padding: 8px 10px;
        margin-top: 12px;
        -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    .modern-thumbnails::-webkit-scrollbar {
        display: none;
    }
    
    .modern-thumbnail.active {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        transform: scale(1.05);
    }
    
    /* Ensure proper touch targets */
    .nav-control-btn,
    .modern-thumbnail,
    .modern-qty-btn,
    .modern-order-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Fix modal on mobile - already handled above */
}

@media (max-width: 480px) {
   /*  .product-image-display {
        margin: 0 -5px;
        padding: 0 5px;
    }*/
    
    .primary-product-image {
        border-radius: 25px;
    }
    
    /* Thumbnails - Small Mobile */
    .modern-thumbnails {
        gap: 6px;
        padding: 6px 10px;
        margin-top: 10px;
    }
    
    /* Ensure proper spacing on very small screens */
    .modern-product-gallery {
        gap: 16px;
    }
    
    .modern-product-info {
        padding: 0 8px;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .modern-thumbnail {
        min-width: 60px;
        min-height: 60px;
    }
    
    .image-count-display {
        min-height: 28px;
        min-width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .primary-image-holder {
        min-height: 200px;
        max-height: 250px;
    }
    
    .modern-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        padding: 8px 10px;
    }
    
    .modern-thumbnail {
        flex-shrink: 0;
    }
}



