/* Alfero Clothes Shop - Elegant & Classy Design */

:root {
    --primary-black: #0a0a0a;
    --primary-white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d1d1d1;
    --gray-400: #9d9d9d;
    --gray-500: #717171;
    --gray-600: #4a4a4a;
    --gray-700: #2d2d2d;
    --gray-800: #1a1a1a;
    --gray-900: #0f0f0f;
    --text-dark: #1a1a1a;
    --text-light: #5a5a5a;
    --border-color: #e0e0e0;
    --accent-gold: #c9a961;
    --accent-gold-light: #e8d5a8;
    --success: #2d8659;
    --error: #c53d3d;
    --warning: #d4a574;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--primary-white);
    font-size: 16px;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles - Elegant & Refined */
header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s ease;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-black);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-main);
    transition: opacity 0.3s ease;
    animation: fadeInLeft 0.6s ease-out 0.2s both;
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.logo img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    display: block;
    animation: logo3D 3s ease-in-out infinite;
}

@keyframes logo3D {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg) scale(1);
    }
    25% {
        transform: rotateY(5deg) rotateX(-2deg) scale(1.02);
    }
    50% {
        transform: rotateY(0deg) rotateX(2deg) scale(1.05);
    }
    75% {
        transform: rotateY(-5deg) rotateX(-2deg) scale(1.02);
    }
}

.logo:hover img {
    animation: logo3DHover 0.6s ease-in-out;
    transform: rotateY(10deg) rotateX(-5deg) scale(1.1);
}

@keyframes logo3DHover {
    0% {
        transform: rotateY(0deg) rotateX(0deg) scale(1);
    }
    50% {
        transform: rotateY(15deg) rotateX(-8deg) scale(1.15);
    }
    100% {
        transform: rotateY(10deg) rotateX(-5deg) scale(1.1);
    }
}

.logo:hover {
    opacity: 1;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li {
    animation: fadeInDown 0.6s ease-out both;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu li:nth-child(6) { animation-delay: 0.35s; }
.nav-menu li:nth-child(7) { animation-delay: 0.4s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu a {
    font-weight: 400;
    font-size: 13px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: var(--primary-black);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.cart-count {
    background: var(--primary-black);
    color: var(--primary-white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.cart-link:hover .cart-count {
    transform: scale(1.15);
    background: var(--gray-700);
}

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

/* Countdown Overlay - Global Drop / Maintenance */
.countdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.countdown-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.countdown-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
}

.countdown-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 55%), rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.countdown-box {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 32px 40px;
    color: #fff;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(160%);
    animation: countdownFadeIn 0.6s ease-out;
}

.countdown-box h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown-box p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.countdown-unit {
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 28px;
    font-weight: 600;
    padding: 12px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.countdown-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.countdown-link-btn {
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.countdown-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.countdown-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.2s ease;
}

.countdown-close:hover {
    opacity: 1;
}

.countdown-bounce {
    animation: countdownDrop 0.35s ease-out;
}

.countdown-fade-out {
    animation: countdownFadeOut 0.4s ease forwards;
}

@keyframes countdownFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes countdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes countdownDrop {
    0% {
        transform: translateY(-8px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(2px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.drop-live-message {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
}

.drop-live-animate {
    animation: dropLivePop 0.7s ease-out forwards, dropLiveGlow 1.6s ease-in-out 0.7s infinite alternate;
}

@keyframes dropLivePop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dropLiveGlow {
    0% {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    }
    100% {
        text-shadow: 0 0 26px rgba(255, 255, 255, 1);
    }
}

/* Lock page when countdown is active and locking is enabled */
body.countdown-locked {
    overflow: hidden;
}

/* Hero Section - Elegant & Spacious */
.hero {
    background: var(--primary-white);
    padding: 100px 40px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Apple-style video background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
}

/* When video is present, adjust hero styling */
.hero:has(.hero-video) {
    padding: 0;
    margin-bottom: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 120px 40px;
    width: 100%;
}

/* Video hero content styling */
.hero:has(.hero-video) .hero-content {
    padding: 140px 40px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-black);
    letter-spacing: -0.5px;
    line-height: 1.2;
    font-family: var(--font-main);
}

/* Video hero text styling - white text like Apple */
.hero:has(.hero-video) h1 {
    color: var(--primary-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 18px;
    margin-bottom: 48px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero:has(.hero-video) p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Latest Products Hero */
.latest-products-hero {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.hero:has(.hero-video) .latest-products-hero {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 80px;
    padding-top: 80px;
}

.latest-products-hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero:has(.hero-video) .latest-products-hero h2 {
    color: var(--primary-white);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-product-card {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.hero-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-300);
}

.hero-product-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background: var(--gray-100);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-product-card > div {
    padding: 24px;
}

.hero-product-card h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-main);
}

.hero-product-card .price {
    font-size: 17px;
    font-weight: 500;
    color: var(--primary-black);
    letter-spacing: 0.5px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-black);
    letter-spacing: -0.5px;
    text-transform: none;
    position: relative;
    display: inline-block;
    font-family: var(--font-main);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-black);
}

.section-header p {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 300;
    margin-top: 24px;
    letter-spacing: 0.5px;
}

/* Categories - Minimal Cards */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.category-card {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-radius: 0;
    position: relative;
}

.category-card:hover {
    border-color: var(--gray-300);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

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

.category-card img {
    transition: transform 0.5s ease;
}

.category-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: var(--gray-100);
}

.category-card-content {
    padding: 30px;
    text-align: center;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-card p {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 300;
}

/* Product Cards - Clean & Minimal */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-radius: 0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-300);
}

.product-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background: var(--gray-100);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-info {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.product-category {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 300;
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 300;
    line-height: 1.5;
}

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

.price-current {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-black);
}

.price-compare {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 300;
}

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--success);
    color: white;
    border-radius: 2px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    font-weight: 500;
}

.stock-low {
    background: var(--warning);
}

.stock-out {
    background: var(--error);
}

/* Buttons - Elegant & Refined */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-main);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-black);
}

.btn-outline {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 1px solid var(--primary-black);
}

.btn-outline:hover {
    background: var(--primary-black);
    color: var(--primary-white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 14px;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 60px 0;
    padding: 0 40px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-main-image {
    width: 100%;
    position: relative;
    background: var(--gray-50);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    display: block;
}

.product-main-image:hover .product-detail-image {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    background: var(--gray-50);
    position: relative;
}

.product-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.product-thumbnail:hover {
    opacity: 1;
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.product-thumbnail.active {
    border-color: var(--primary-black);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-thumbnail.active::before {
    border-color: var(--primary-black);
}

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

.product-thumbnail:hover img {
    transform: scale(1.1);
}

.product-detail-info h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-black);
    letter-spacing: -0.5px;
    text-transform: none;
    line-height: 1.3;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.product-detail-price .price-current {
    font-size: 24px;
    font-weight: 400;
}

.product-description-full {
    margin: 40px 0;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 300;
}

/* Color Selection */
.color-selection {
    margin: 40px 0;
}

.color-selection h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.colors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-black);
}

.color-option.selected {
    border-color: var(--primary-black);
    border-width: 4px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.15);
}

/* Size Selection */
.size-selection {
    margin: 40px 0;
}

.size-selection h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sizes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.size-option {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: var(--primary-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    min-width: 60px;
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.size-option:hover {
    border-color: var(--primary-black);
}

.size-option.selected {
    border-color: var(--primary-black);
    background: var(--primary-black);
    color: white;
}

.size-option.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-option .stock-info {
    display: block;
    font-size: 10px;
    font-weight: 300;
    margin-top: 4px;
    text-transform: none;
}

/* Toast Notifications - Beautiful Alerts */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    position: relative;
}

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

.toast.success {
    border-left: 3px solid var(--success);
}

.toast.error {
    border-left: 3px solid var(--error);
}

.toast.warning {
    border-left: 3px solid var(--warning);
}

.toast.info {
    border-left: 3px solid var(--gray-600);
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

.toast-close {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s ease;
}

.toast-close:hover {
    color: var(--primary-black);
}

/* Shopping Cart Page */
.cart-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.cart-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h1 {
    font-size: 32px;
    font-weight: 300;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    background: var(--gray-100);
}

.cart-item-info h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-item-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 300;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: var(--gray-100);
}

.quantity-input {
    width: 50px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-black);
}

.cart-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--error);
}

.cart-summary {
    background: var(--gray-50);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.cart-summary h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 400;
}

/* Checkout Page */
.checkout-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.checkout-form h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 400;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-family: var(--font-main);
    background: var(--primary-white);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-black);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.payment-methods {
    margin-top: 40px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-black);
}

.payment-method input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-method label {
    flex: 1;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.order-summary {
    background: var(--gray-50);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-item-info p {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 300;
}

.order-item-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--primary-black);
}

.order-total {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--primary-black);
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 400;
}

/* Shop Page Filters */
.shop-filters {
    background: var(--primary-white);
    padding: 30px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-filter {
    padding: 10px 20px;
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.category-filter:hover,
.category-filter.active {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

.search-box {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-family: var(--font-main);
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-black);
}

/* Footer */
footer {
    background: var(--primary-white);
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 60px 40px;
    margin-top: 80px;
}

footer p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 300;
}

.spinner {
    border: 2px solid var(--gray-200);
    border-top: 2px solid var(--primary-black);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Alert Banner */
.alert-banner {
    position: relative;
    z-index: 999;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-banner button {
    transition: opacity 0.2s ease;
}

.alert-banner button:hover {
    opacity: 0.7;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 12px;
    color: var(--primary-black);
}

.empty-state p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Login/Register Pages - Elegant Design */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    padding: 60px 20px;
}

.login-box {
    background: var(--primary-white);
    padding: 64px 56px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow-lg);
}

.login-box h1 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-black);
    font-size: 32px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.5px;
    font-family: var(--font-main);
}

.login-box > p {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.login-box .btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.login-box .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.login-box .form-group {
    margin-bottom: 28px;
}

.login-box .form-group label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--primary-black);
    display: block;
}

.login-box .form-control {
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--primary-white);
    width: 100%;
    font-family: var(--font-main);
    color: var(--text-dark);
}

.login-box .form-control:focus {
    border-color: var(--primary-black);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.login-box .form-control::placeholder {
    color: var(--gray-400);
    font-weight: 300;
}

.login-box a {
    color: var(--primary-black);
    text-decoration: underline;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.login-box a:hover {
    opacity: 0.6;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 24px;
    color: var(--primary-black);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: fadeInRight 0.6s ease-out 0.2s both;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Instagram Style Bottom Navigation (Mobile) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    flex: 1;
    max-width: 120px;
}

.nav-item svg {
    stroke: var(--text-dark);
    transition: stroke 0.2s ease;
}

.nav-item span {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-dark);
    transition: color 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
}

.nav-item.active {
    color: var(--primary-black);
}

.nav-item.active svg {
    stroke: var(--primary-black);
    stroke-width: 2.5;
}

.nav-item.active span {
    color: var(--primary-black);
    font-weight: 500;
}

.nav-item:active {
    transform: scale(0.95);
    opacity: 0.7;
}

.mobile-cart-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--primary-black);
    color: var(--primary-white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 2px solid var(--primary-white);
}

.mobile-cart-badge:empty {
    display: none;
}

/* Add padding to body on mobile to prevent content from being hidden behind bottom nav */
body {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    /* Hide top header on mobile */
    header {
        display: none;
    }

    /* Show bottom navigation */
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add bottom padding to prevent content from being hidden */
    body {
        padding-bottom: 70px;
    }

    /* Adjust alerts container to account for bottom nav */
    #alertsContainer {
        margin-bottom: 70px;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-page {
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .order-summary {
        position: static;
        margin-top: 40px;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 20px;
    }
    
    .cart-item-quantity,
    .cart-item-price {
        grid-column: 2;
    }
    
    .cart-page {
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar {
        padding: 16px 20px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        gap: 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.45s; }
    
    .nav-menu a {
        font-size: 16px;
        padding: 0;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .cart-link {
        justify-content: space-between;
        width: 100%;
    }
    
    /* Hero Section */
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero-products {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-product-card img {
        height: 280px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    /* Categories */
    .categories {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .category-card img {
        height: 300px;
    }
    
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Product Detail */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        margin: 40px 0;
    }
    
    .product-images {
        gap: 15px;
    }
    
    .product-thumbnails {
        gap: 8px;
        justify-content: center;
    }
    
    .product-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-detail-info h1 {
        font-size: 24px;
    }
    
    .product-detail-price .price-current {
        font-size: 20px;
    }
    
    /* Size Selection */
    .sizes-grid {
        gap: 8px;
    }
    
    .size-option {
        padding: 10px 16px;
        font-size: 12px;
        min-width: 50px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 13px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 13px;
    }
    
    /* Cart Page */
    .cart-page {
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
        padding: 20px 0;
    }
    
    .cart-item-image {
        width: 80px;
        height: 100px;
    }
    
    .cart-item-info h3 {
        font-size: 13px;
    }
    
    .cart-item-info p {
        font-size: 12px;
    }
    
    .cart-item-quantity {
        grid-column: 2;
        margin-top: 10px;
    }
    
    .cart-item-price {
        grid-column: 2;
        margin-top: 10px;
        font-size: 14px;
    }
    
    .cart-item-remove {
        grid-column: 1 / -1;
        margin-top: 10px;
    }
    
    .cart-summary {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    /* Checkout */
    .checkout-page {
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .order-summary {
        position: static;
        order: -1;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    /* Payment Methods */
    .payment-method {
        padding: 14px;
    }
    
    .payment-method label {
        font-size: 13px;
    }
    
    /* Shop Filters */
    .shop-filters {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .category-filters {
        gap: 10px;
    }
    
    .category-filter {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* Toast Notifications */
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        padding: 14px 16px;
    }
    
    /* Account Page */
    .checkout-page h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .admin-card {
        padding: 24px 20px;
    }
    
    /* Order History */
    .order-item {
        padding: 16px 0;
    }
    
    .order-item-info h4 {
        font-size: 13px;
    }
    
    .order-item-info p {
        font-size: 11px;
    }
    
    .order-item-price {
        font-size: 13px;
    }
    
    /* Empty State */
    .empty-state {
        padding: 60px 20px;
    }
    
    .empty-state h2 {
        font-size: 20px;
    }
    
    /* Footer */
    footer {
        padding: 40px 20px;
        margin-top: 60px;
    }
    
    /* Admin Pages */
    .admin-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .admin-header h1 {
        font-size: 18px;
    }
    
    .admin-container {
        padding: 0 20px;
    }
    
    .login-container {
        padding: 40px 20px;
        min-height: calc(100vh - 150px);
    }
    
    .login-box {
        padding: 40px 30px;
    }
    
    .login-box h1 {
        font-size: 24px;
    }
    
    .login-required-card {
        padding: 40px 30px;
    }
    
    .login-required-card h2 {
        font-size: 20px;
    }
    
    .login-required-card .actions {
        flex-direction: column;
    }
    
    .login-required-card .btn {
        width: 100%;
    }
    
    /* Table Responsive */
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
    
    /* Latest Products Hero */
    .latest-products-hero {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .latest-products-hero h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .logo {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .cart-item-quantity,
    .cart-item-price,
    .cart-item-remove {
        grid-column: 1;
    }
    
    .quantity-controls {
        max-width: 120px;
    }
    
    .size-option {
        padding: 8px 12px;
        font-size: 11px;
        min-width: 45px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .checkout-page h1,
    .cart-page h1 {
        font-size: 22px;
    }
    
    .product-detail-info h1 {
        font-size: 20px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .price-current {
        font-size: 14px;
    }
    
    .product-detail-price .price-current {
        font-size: 18px;
    }
}
