/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1400px and above) */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .most-viewed-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Desktop (1200px to 1399px) */
@media screen and (max-width: 1399px) {
    .container {
        max-width: 1200px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .most-viewed-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Large Tablet (992px to 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .most-viewed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .instagram-row {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px to 991px) */
@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 var(--space-md);
    }
    
    /* Header */
    .navbar {
        padding: var(--space-md) 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: var(--space-xxl) var(--space-lg);
        box-shadow: var(--shadow-heavy);
        transition: left var(--transition-smooth);
        z-index: 1001;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: var(--space-md);
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: var(--space-sm) 0;
        border-bottom: 1px solid var(--light-blush);
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--white);
        margin-top: var(--space-sm);
        border-radius: var(--radius-sm);
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1002;
        background: var(--primary-rose-gold);
        border-radius: var(--radius-sm);
        padding: var(--space-xs);
    }
    
    .hamburger {
        background: var(--white);
    }
    
    .mobile-toggle.active .hamburger:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .hamburger:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-actions {
        gap: var(--space-sm);
    }
    
    .action-btn {
        font-size: 1.1rem;
        padding: var(--space-xs);
    }
    
    /* Hero - Hide side images on tablet */
    .hero-frame {
        flex-direction: column;
    }
    
    .hero-side-img {
        display: none;
    }
    
    .hero-main-img {
        flex: 1;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-nav {
        padding: 0 var(--space-md);
    }
    
    .hero-prev,
    .hero-next {
        font-size: 1.2rem;
        padding: var(--space-sm);
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    /* Products - 2 per row on tablet */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .most-viewed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .filter-tabs {
        gap: var(--space-sm);
    }
    
    .filter-tab {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.9rem;
    }
    
    /* Category */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .category-card {
        height: 300px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .review-card {
        padding: var(--space-lg);
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .about-text .section-title,
    .about-text .section-subtitle,
    .about-text .section-divider {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Instagram */
    .instagram-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Large Mobile (576px to 767px) */
@media screen and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 var(--space-md);
    }
    
    /* Header */
    .navbar {
        padding: var(--space-sm) 0;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .nav-menu {
        width: 90%;
        padding: var(--space-xl) var(--space-md);
    }
    
    .mobile-toggle {
        background: var(--primary-rose-gold);
        border-radius: var(--radius-sm);
        padding: var(--space-xs);
    }
    
    .hamburger {
        background: var(--white);
    }

    /* Hero - Single image only */
    .hero-frame {
        flex-direction: column;
    }
    
    .hero-side-img {
        display: none;
    }
    
    .hero-main-img {
        flex: 1;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-content {
        padding: 0 var(--space-sm);
    }
    
    .hero-nav {
        display: none;
    }
    
    .hero-indicators {
        bottom: var(--space-lg);
    }
    
    /* Sections */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    /* Spacing */
    .new-arrivals,
    .shop-category,
    .most-viewed,
    .reviews,
    .about,
    .instagram {
        padding: var(--space-xl) 0;
    }
    
    /* Products - 2 per row on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .most-viewed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .product-card {
        border-radius: var(--radius-md);
    }
    
    .product-img {
        height: 250px;
    }
    
    .product-info {
        padding: var(--space-sm);
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-tab {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }
    
    /* Category */
    .category-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .category-card {
        height: 250px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-count {
        font-size: 0.9rem;
    }
    
    /* Banner */
    .banner-line {
        padding: var(--space-sm) 0;
        margin: var(--space-lg) 0;
    }
    
    .banner-text {
        font-size: 0.9rem;
    }
    
    /* Reviews */
    .review-card {
        padding: var(--space-md);
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .review-author {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .author-img {
        width: 40px;
        height: 40px;
    }
    
    /* About */
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .stat {
        padding: var(--space-md);
        background: var(--white);
        border-radius: var(--radius-md);
        border: 1px solid var(--light-blush);
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    /* Instagram */
    .instagram-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .instagram-overlay i {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: var(--space-xl) 0 var(--space-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
}

/* Small Mobile (480px to 575px) */
@media screen and (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 var(--space-sm);
    }
    
    /* Header */
    .navbar {
        padding: var(--space-xs) 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .nav-actions {
        gap: var(--space-xs);
    }
    
    .action-btn {
        font-size: 1rem;
        padding: var(--space-xs);
    }
    
    .action-btn .count {
        font-size: 0.6rem;
        padding: 1px 4px;
        min-width: 16px;
        height: 16px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: var(--space-md);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .section-divider {
        width: 60px;
    }
    
    /* Spacing */
    .new-arrivals,
    .shop-category,
    .most-viewed,
    .reviews,
    .about,
    .instagram {
        padding: var(--space-lg) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-lg);
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: var(--space-sm);
    }
    
    .product-img {
        height: 220px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .price-current {
        font-size: 1.1rem;
    }
    
    .filter-tabs {
        gap: var(--space-xs);
    }
    
    .filter-tab {
        padding: var(--space-xs);
        font-size: 0.8rem;
        min-width: auto;
    }
    
    /* Category */
    .category-card {
        height: 200px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .category-count {
        font-size: 0.85rem;
    }
    
    .btn-outline {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }
    
    /* Banner */
    .banner-text {
        font-size: 0.8rem;
        padding: 0 var(--space-sm);
    }
    
    /* Reviews */
    .review-card {
        padding: var(--space-sm);
    }
    
    .review-stars {
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-location {
        font-size: 0.8rem;
    }
    
    /* About */
    .about-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Instagram */
    .instagram-grid {
        gap: var(--space-sm);
    }
    
    .instagram-row {
        gap: var(--space-xs);
    }
    
    .instagram-overlay i {
        font-size: 1.2rem;
    }
    
    /* Footer */
    .footer-logo-text {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .footer-bottom-link {
        font-size: 0.8rem;
    }
    
    /* Loading */
    .loading-logo img {
        width: 60px;
        height: 60px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}

/* Extra Small Mobile (399px and below) */
@media screen and (max-width: 399px) {
    .container {
        padding: 0 var(--space-xs);
    }
    
    /* Header */
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.85rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-tab {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    /* Category */
    .category-title {
        font-size: 1.2rem;
    }
    
    /* Instagram */
    .instagram-row {
        grid-template-columns: 1fr;
    }
    
    /* Spacing adjustments */
    .new-arrivals,
    .shop-category,
    .most-viewed,
    .reviews,
    .about,
    .instagram {
        padding: var(--space-md) 0;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .hero-nav,
    .hero-indicators,
    .filter-tabs,
    .instagram,
    .footer,
    .loading-screen {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 10pt;
    }
    
    .product-card {
        break-inside: avoid;
        margin-bottom: 10pt;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slide {
        transition: none;
    }
    
    .marquee-text {
        animation: none;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-rose: #e91e63;
        --text-dark: #000000;
        --text-light: #333333;
        --white: #ffffff;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid var(--text-dark);
    }
    
    .product-card {
        border: 1px solid var(--text-dark);
    }
}

/* Force Light mode always */
@media (prefers-color-scheme: dark) {
    :root {
        --ivory: #ffffff;
        --white: #ffffff;
        --text-dark: #212121;
        --text-light: #757575;
        --cream: #ffffff;
        --primary-pink: #e91e63;
        --secondary-rose: #ff4081;
        --accent-purple: #9c27b0;
        --warm-cream: #fff8f0;
        --light-blush: #fce4ec;
    }
    
    .header {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .product-card,
    .review-card {
        background: var(--white);
        border: 1px solid var(--light-blush);
    }
}
