:root {
    --burgundy: #2C4A6E;
    --burgundy-dark: #1E3550;
    --gold: #F5E6D0;
    --gold-light: #FAF3EA;
    --cream: #FDF8F0;
    --dark: #1A1A1A;
    --gray: #6B6B6B;
    --light-gray: #F5F0EB;
    --white: #FFFFFF;
    --red: #D32F2F;
    --green: #2E7D32;
}

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

body {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
    background: var(--burgundy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}
.logo span { color: var(--gold-light); font-weight: 400; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
    color: var(--gold-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav a:hover { color: var(--gold); }
.nav a.active { color: var(--gold); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav .cart-link {
    background: var(--gold);
    color: var(--burgundy-dark);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
}
.nav .cart-link:hover { background: var(--gold-light); }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--gold); margin: 6px 0; transition: 0.3s; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    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='%23C9A84C' fill-opacity='0.05'%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");
    opacity: 0.5;
}
.hero h1 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
}
.hero p {
    font-size: 1.3rem;
    color: var(--gold-light);
    max-width: 600px;
    margin: 0 auto 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    position: relative;
}
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-gold {
    background: var(--gold);
    color: var(--burgundy-dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-burgundy {
    background: var(--burgundy);
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-burgundy:hover { background: var(--burgundy-dark); }
.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }
.catalogue-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.cat-sidebar {
    min-width: 200px;
    position: sticky;
    top: 100px;
    font-family: 'Inter', sans-serif;
}
.cat-sidebar h3 {
    font-family: 'Playfair Display', serif;
    color: var(--burgundy-dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}
.cat-sidebar a {
    display: block;
    padding: 10px 14px;
    color: var(--burgundy);
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.cat-sidebar a:hover { background: var(--cream); color: var(--burgundy-dark); }
.cat-sidebar a.active {
    background: var(--burgundy);
    color: var(--gold);
    font-weight: 600;
}
.catalogue-layout .products-grid { flex: 1; }
@media (max-width: 768px) {
    .catalogue-layout { flex-direction: column; gap: 20px; }
    .cat-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
    .cat-sidebar h3 { width: 100%; margin-bottom: 5px; }
    .cat-sidebar a { display: inline-block; padding: 6px 14px; font-size: 0.85rem; border-radius: 20px; background: var(--cream); }
}

/* Sections */
.section { padding: 80px 20px; }
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--burgundy);
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 50px;
}
.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 20px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.product-card .image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light-gray);
}
.product-card .image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-featured { background: var(--gold); color: var(--burgundy-dark); }
.badge-top { background: var(--burgundy); color: var(--gold); }
.badge-sale { background: var(--red); color: var(--white); }
.product-card .info { padding: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; }
.product-card .pieces { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--gray); margin-bottom: 4px; grid-column: 1 / -1; }
.product-card h3 { font-size: 1.2rem; color: var(--burgundy-dark); margin-bottom: 5px; grid-row: 1; grid-column: 1; }
.product-card .category { font-family: 'Inter', sans-serif; font-size: 0.65rem; color: var(--gold-light); background: var(--burgundy); padding: 3px 10px; border-radius: 20px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; grid-row: 1; grid-column: 2; }
.product-card .price { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--burgundy); grid-column: 1 / -1; }
.product-card .price .old-price { text-decoration: line-through; color: var(--gray); font-weight: 400; margin-right: 8px; }
.product-card .price .sale-price { color: var(--red); font-weight: 700; }
.product-card .price-from { font-size: 0.75rem; color: var(--gray); font-weight: 400; }

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.about-text p {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}
.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(58,58,58,0.15);
}
.about-image .placeholder-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 3rem;
}

/* Delivery Zones */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.zone-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border-top: 3px solid var(--gold);
}
.zone-card h3 { color: var(--burgundy); margin-bottom: 10px; }
.zone-card p { font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--gray); }
.zone-card .fee { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-top: 10px; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}
.testimonial-card p {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 15px;
    padding-top: 30px;
    line-height: 1.7;
}
.testimonial-card .author { color: var(--burgundy); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-info a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    transition: color 0.3s;
}
.contact-info a:hover { color: var(--burgundy); }
.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--burgundy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 15px;
    transition: border-color 0.3s;
    background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Footer */
.footer {
    background: var(--burgundy-dark);
    color: var(--gold-light);
    padding: 40px 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin-top: auto;
}
.footer a { color: var(--gold); }

/* Cart badge */
.cart-count {
    background: var(--red);
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Flash messages */
.flash {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
    font-family: 'Inter', sans-serif;
}
.flash-success { background: #E8F5E9; color: var(--green); border: 1px solid #C8E6C9; }
.flash-error { background: #FFEBEE; color: var(--red); border: 1px solid #FFCDD2; }

/* Responsive */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--burgundy-dark); padding: 20px; gap: 15px; }
    .nav.active { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 20px; }
    .section { padding: 50px 10px; }
    .container { padding: 0 10px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; padding: 0 10px; }
    .product-card .image-wrap { height: 55vw; }
    .product-detail { grid-template-columns: 1fr; gap: 25px; }
    .product-img { height: auto !important; aspect-ratio: 16/9; }
}

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