:root {
    /* FamilyFood Logo Color Palette - Elegant & Minimal */
    --primary-wine: #d52a29;           /* Deep wine red from logo */
    --accent-gold: #dac63c;            /* Champagne gold from logo */
    --neutral-dark: #3a3a3a;           /* Sophisticated charcoal */
    --neutral-light: #f5f5f5;          /* Soft white */
    --neutral-gray: #8c8c8c;           /* Elegant gray */
    --border-subtle: #e8e8e8;          /* Subtle borders */
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --primary-color: #d52a29;
    --primary-dark: #b02322;
    --primary-light: #e85355;
    --secondary-color: #dac63c;
    --accent-color: #c9a828;
    --text-dark: #3a3a3a;
    --text-light: #8c8c8c;
    --bg-light: #f5f5f5;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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


/* Header */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, var(--primary-wine) 0%, var(--accent-gold) 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.header-info span {
    margin-right: 20px;
}

.header-link {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.header-link:hover {
    opacity: 0.8;
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 3rem;
    margin-right: 15px;
    animation: float 3s ease-in-out infinite;
}

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

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

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

.header-cart {
    position: relative;
}

.cart-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
}

.cart-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-count {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-wine) 0%, var(--accent-gold) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    animation: fadeIn 0.6s ease-out;
}

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

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card .content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-card .price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .price::before {
    content: '₩';
    font-size: 1.1rem;
    opacity: 0.7;
}

.product-card .stock {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-card button,
.product-card a.btn {
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
}

.product-card .btn-primary {
    background: var(--primary-color);
    color: white;
}

.product-card .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.product-card .btn-outline {
    flex: 1;
}

.product-card button:active,
.product-card a.btn:active {
    transform: translateY(0);
}

.btn:hover {
    background: #2980b9;
}

.btn-primary {
    background: #2ecc71;
}

.btn-primary:hover {
    background: #27ae60;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.featured-products {
    background: var(--bg-white);
    padding: 5rem 0;
}

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

.price.discounted {
    color: #2ecc71;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-wine) 100%);
    color: white;
    margin-top: 4rem;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
    margin-right: 12px;
}

.footer-logo .logo-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cart {
    background-color: var(--success);
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.contact-info svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Cart */
.cart {
    background: var(--bg-white);
    padding: 4rem 0;
}

.cart-item {
    background: var(--bg-white);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--text-light);
    font-size: 1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-quantity button:hover {
    background: var(--primary-color);
    color: white;
}

.cart-item-total strong {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.btn-danger {
    background: #e74c3c;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #c0392b;
}

.cart-summary {
    background: var(--bg-white);
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: right;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cart-summary p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}


/* Forms */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Noto Sans KR', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

.checkout,
.tracking {
    background: var(--bg-white);
    padding: 4rem 0;
}

.checkout form,
.tracking form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.payment-options {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.payment-options h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.payment-options label {
    display: block;
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: white;
    border-radius: 8px;
    cursor: pointer;

/* Tracking */
.tracking-details {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-top: 2.5rem;
}

.tracking-details p {
    margin: 1rem 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.tracking-details strong {
    color: var(--text-dark);
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.status-pending {
    background: linear-gradient(135deg, var(--accent-gold), #c9a828);
    color: white;
}

.status-processing {
    background: linear-gradient(135deg, var(--primary-wine), #b02322);
    color: white;
}

.status-shipped {
    background: linear-gradient(135deg, #e85355, var(--primary-wine));
    color: white;
}

.status-delivered {
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-wine));
    color: white;
}

.tracking-section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Tracking */
.tracking-details {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin: 0.5rem 0;
}

.status-pending {
    background: #f39c12;
    color: white;
}

.status-processing {
    background: #3498db;
    color: white;
}

.status-shipped {
    background: #9b59b6;
    color: white;
}

.status-delivered {
    background: #2ecc71;
    color: white;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c9a828 50%, var(--primary-wine) 100%);
    color: white;
    padding: 120px 0 180px;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: moveBackground 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    fill: var(--bg-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

/* Outline button variant for cards */
.product-card .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Stats/Numbers Section */
.hero-stats {
    background: var(--bg-white);
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Popular Products Section */
.popular-products {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.features-list {
    margin: 2rem 0;
}

.feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Product Detail Page */
.product-detail-page {
    background: var(--bg-light);
    padding: 2rem 0 4rem;
}

.breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.product-gallery .main-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.product-info h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-category {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #FFC107;
    font-size: 1.2rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-price {
    margin: 2rem 0;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-description {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.product-description h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-stock {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.stock-label {
    color: var(--text-light);
}

.stock-value {
    color: var(--primary-color);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.qty-btn {
    background: var(--bg-light);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.quantity-selector input {
    border: none;
    text-align: center;
    width: 80px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
}

.product-features {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.feature-item .icon {
    font-size: 2rem;
}

.feature-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Product Tabs */
.product-tabs {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.tab-content h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tab-content ul {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 2;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.nutrition-table th,
.nutrition-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.nutrition-table th {
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}

.review-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-stars {
    color: #FFC107;
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.related-products {
    margin-top: 4rem;
}

.related-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Catalog Page */
.catalog-page {
    background: var(--bg-light);
}

.catalog-content {
    padding: 3rem 0 4rem;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.catalog-sidebar {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.8rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-option:hover {
    background: var(--bg-light);
}

.filter-option input[type="radio"] {
    margin-right: 0.8rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-option span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.filter-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.product-count {
    color: var(--text-light);
    font-size: 1rem;
}

.product-count span {
    color: var(--primary-color);
    font-weight: 700;
}

.product-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.no-products {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

/* About Page */
.about-page {
    background: var(--bg-light);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.company-story {
    padding: 80px 0;
    background: var(--bg-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-item .stat-number {
    font-size: 3rem;
}

.stat-item .stat-label {
    font-size: 0.95rem;
}

.mission-vision {
    padding: 80px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.mv-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mv-list {
    list-style: none;
    padding-left: 0;
}

.mv-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.mv-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.core-values {
    padding: 80px 0;
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.production-process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--text-light);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.certifications {
    padding: 80px 0;
    background: var(--bg-white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.cert-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.cert-badge {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateX(400px);
    transition: var(--transition);
}

.notification.show {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-grid,
    .story-grid,
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .stats-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }
    
    .cart-item-image {
        grid-row: 1 / 3;
    }
    
    .cart-item-details {
        grid-column: 2;
    }
    
    .cart-item-quantity {
        grid-column: 1 / 3;
        justify-content: center;
    }
    
    .cart-item-total {
        grid-column: 1 / 3;
        text-align: center;
    }
    
    .cart-item-remove {
        grid-column: 1 / 3;
    }
    
    .cart-item-remove button {
        width: 100%;
    }
}

/* Hide number input arrows - CRITICAL OVERRIDE */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

input[type="number"] {
    -moz-appearance: textfield !important;
    -webkit-appearance: textfield !important;
    appearance: textfield !important;
}

input[type="number"]:hover::-webkit-outer-spin-button,
input[type="number"]:hover::-webkit-inner-spin-button,
input[type="number"]:focus::-webkit-outer-spin-button,
input[type="number"]:focus::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}
/* Team Section Styles */
.team-card {
    transition: var(--transition);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 20px;
    font-size: 24px;
}

.team-social a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Gallery Section Styles */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 24px;
    transition: var(--transition);
}

.gallery-item .gallery-image {
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--secondary-color) !important;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    touch-action: none;
}

.lightbox-content img {
    max-width: 95vw;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.lightbox-close span {
    pointer-events: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev.lightbox-nav,
.lightbox-next.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
}

.lightbox-prev span,
.lightbox-next span {
    pointer-events: none;
}

.lightbox-info {
    margin-top: 20px;
    text-align: center;
    color: white;
}

.lightbox-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10000;
}

/* Mobile Lightbox Styles */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-content img {
        max-width: 100vw;
        max-height: 70vh;
    }
}

/* Cursor pointer for gallery */
.cursor-pointer {
    cursor: pointer !important;
}