/* Crossfire Co. - Animated Enhanced Styles */

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(201, 37, 43, 0.5); }
    50% { box-shadow: 0 0 20px rgba(201, 37, 43, 0.8); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #c9252b;
    --accent-hover: #a31d22;
    --accent-glow: rgba(201, 37, 43, 0.6);
    --text-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f4f4f5;
    --bg-white: #ffffff;
    --bg-dark: #0a0a0f;
    --border: #e5e5e5;
    --success: #10b981;
    --warning: #f59e0b;
    --gold: #d4af37;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(201, 37, 43, 0.3);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

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

.site-header.scrolled {
    padding: 8px 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 200px;
    overflow: hidden;
}

.logo img {
    max-height: 50px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
    animation: glow 2s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.main-nav a::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;
}

.main-nav a:hover::before {
    left: 100%;
}

.main-nav a:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.cart-icon {
    color: var(--text-light);
    cursor: pointer;
    padding: 10px 18px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cart-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cart-icon:hover::after {
    width: 200%;
    height: 200%;
}

.cart-icon:hover {
    background: var(--accent);
    transform: scale(1.05);
}

.cart-count {
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 50%, #0f0f1a 100%);
    color: var(--text-light);
    text-align: center;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 37, 43, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 37, 43, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: fadeIn 1s ease-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9252b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(201, 37, 43, 0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--accent);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 36px;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* ===== BUTTONS ===== */
.btn, .cart-icon, .menu-toggle, button {
    min-height: 44px;
    min-width: 44px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(201, 37, 43, 0.4), var(--shadow-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #8a1820 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 37, 43, 0.5), 0 0 40px rgba(201, 37, 43, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
    padding: 80px 0;
    animation: fadeIn 0.8s ease-out;
}

.category-section:nth-child(even) {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 16px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s;
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(201, 37, 43, 0.15);
    border-color: var(--accent);
}

.product-image-wrapper {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(145deg, #f8f8f8 0%, #eeeeee 100%);
    overflow: hidden;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(201, 37, 43, 0.3);
    animation: pulse 2s infinite;
}

.product-badge.legal {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.product-badge.age-18 {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: var(--text-dark);
}

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

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
    line-height: 1.3;
    transition: color 0.3s;
}

.product-card:hover h3 {
    color: var(--accent);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 16px;
}

.product-features ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-features li {
    padding: 3px 0;
    padding-left: 18px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.8rem;
}

.product-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    transition: color 0.3s;
}

.product-card:hover .price {
    color: var(--accent);
}

.price sup {
    font-size: 0.9rem;
    font-weight: 500;
}

.margin-info {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 600;
}

.product-card .btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-card .btn:hover {
    background: var(--secondary);
    transform: none;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(201, 37, 43, 0.2);
    animation: fadeInUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--accent);
    background: rgba(201, 37, 43, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image {
    background: var(--bg-light);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.modal-details {
    padding: 40px;
}

.modal-details h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    margin-top: 8px;
}

.modal-category {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modal-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-specs {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.modal-specs h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-item {
    font-size: 0.9rem;
    padding: 6px 0;
    color: var(--text-dark);
}

.spec-item strong {
    color: var(--primary);
    margin-right: 8px;
}

.modal-features {
    margin-bottom: 24px;
}

.modal-features h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.modal-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.modal-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-pricing .price {
    font-size: 2rem;
}

.modal-pricing .margin-info {
    font-size: 0.9rem;
}

.btn-add-cart {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.btn-add-cart:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.age-notice,
.legal-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
}

.btn-details {
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--secondary);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--accent);
    transform: none;
}

/* ===== TOAST ===== */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease, fadeIn 0.3s ease;
    border-left: 4px solid var(--success);
}

.toast-notification.error {
    border-left-color: var(--accent);
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 70px 0 25px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--gold), var(--accent), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    padding: 6px 0;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== MOBILE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.1);
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
        animation: fadeInUp 0.3s ease;
    }
    
    .main-nav.active ul {
        flex-direction: column;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 16px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .header-content {
        position: relative;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image img {
        min-height: 250px;
    }
    
    .modal-details {
        padding: 24px;
    }
    
    .modal-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-section {
        padding: 50px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .cart-icon {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===== ANIMATION DELAYS FOR GRID ===== */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.15s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.25s; }
.product-card:nth-child(5) { animation-delay: 0.3s; }
.product-card:nth-child(6) { animation-delay: 0.35s; }
.product-card:nth-child(7) { animation-delay: 0.4s; }
.product-card:nth-child(8) { animation-delay: 0.45s; }
.product-card:nth-child(9) { animation-delay: 0.5s; }
.product-card:nth-child(10) { animation-delay: 0.55s; }

/* ===== LOADING STATES ===== */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.loading-shimmer.loaded {
    animation: none;
    background: none;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    z-index: 10001;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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