@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* Premium Reset & Globals */
:root {
    --primary-red: #9e0d16;
    --primary-red-hover: #b8121a;
    --wood-light: #d4a373;
    --wood-dark: #A87E34;
    --bg-base: #060606;
    --bg-surface: #111111;
    --bg-surface-hover: #1a1a1a;
    --text-main: #f5f5f5;
    --text-muted: #a1a1a1;
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(212, 163, 115, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--wood-dark); }

h1, h2, h3, h4, h5, .serif-text {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR (Glassmorphism) */
.navbar {
    background: rgba(6, 6, 6, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-ghost { width: 250px; }
.logo { text-align: center; }
.nav-logo { height: 70px; transition: transform 0.3s ease; }
.nav-logo:hover { transform: scale(1.05); }

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    width: 250px;
    justify-content: flex-end;
}

.cart-toggle-btn {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    transition: var(--transition);
}
.cart-toggle-btn:hover { color: var(--wood-light); transform: translateY(-2px); }
.cart-count-badge {
    background: var(--primary-red);
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    right: -10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.main-nav {
    margin-top: 1rem;
    width: 100%;
}
.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--wood-light);
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--wood-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 30px; height: 2px; background: var(--text-main); transition: 0.3s; }

/* HERO SECTION */
.hero-section {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.text-right .hero-content {
    margin-left: auto;
    text-align: right;
}
.hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.hero-content h1 span { color: var(--wood-light); }
.hero-content p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.gold-btn {
    border: 1px solid var(--wood-light);
    color: var(--wood-light);
    background: transparent;
}
.gold-btn:hover {
    background: var(--wood-light);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.2);
}
.gold-btn.solid { background: var(--wood-light); color: #000; }
.gold-btn.solid:hover { background: #e3b88b; }

.primary-btn {
    background: var(--primary-red);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(158, 13, 22, 0.3);
}
.primary-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(158, 13, 22, 0.5);
}

.secondary-btn {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}
.secondary-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* CATEGORIES */
.categories-section {
    padding: 8rem 2rem;
    background: var(--bg-base);
}
.container { max-width: 1400px; margin: 0 auto; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2rem;
}
.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--wood-light);
    box-shadow: var(--shadow-glow);
}
.category-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-glass);
}
.category-card:hover img { transform: scale(1.05); }
.category-card h3 { color: var(--wood-light); font-size: 1.8rem; margin: 2rem 0 1rem; }
.category-card p { color: var(--text-muted); padding: 0 2rem; margin-bottom: 2rem; font-size: 0.95rem; }

/* FLAG DIVIDER */
.flag-divider {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}
.flag-divider::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }

/* PROMO SECTION */
.promo-section {
    padding: 8rem 2rem;
    background: radial-gradient(circle at right, #111 0%, #060606 100%);
}
.promo-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    gap: 5rem;
}
.promo-text { flex: 1; }
.promo-text h2 { font-size: 3.5rem; color: #fff; margin-bottom: 1.5rem; line-height: 1.2; }
.promo-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.promo-image { flex: 1; position: relative; }
.promo-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-soft); position: relative; z-index: 2;}
.promo-image::after {
    content: ''; position: absolute; inset: -20px;
    border: 2px solid var(--wood-light); border-radius: 16px; z-index: 1;
}

/* HORIZONTAL PRODUCT CARDS (CATALOG) */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.product-card {
    display: flex;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 220px;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--wood-light);
}
.product-card .card-img {
    width: 220px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    border-right: 1px solid var(--border-glass);
}
.product-card .card-img::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: 0.3s;
}
.product-card:hover .card-img::after { background: transparent; }
.product-card .magnify-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 2rem; color: #fff; opacity: 0; transition: 0.3s; z-index: 2;
}
.product-card:hover .magnify-icon { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.product-card .category-tag {
    font-size: 0.7rem; color: var(--wood-light); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 0.5rem;
}
.product-card h3 {
    font-size: 1.4rem; color: #fff; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .card-desc {
    font-size: 0.85rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.5rem;
}
.product-card .card-footer {
    display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--border-glass); padding-top: 1rem;
}
.product-card .price { font-size: 1.3rem; font-weight: 600; color: #fff; }

/* CART DRAWER */
.cart-drawer {
    position: fixed; top: 0; right: -450px; width: 450px; height: 100vh;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass); z-index: 2000;
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}
.cart-drawer.open { right: 0; }
.cart-header { padding: 2rem; border-bottom: 1px solid var(--border-glass); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { color: var(--wood-light); font-size: 1.5rem; }
.close-btn { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: var(--primary-red); transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-glass); }
.cart-item-info h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.cart-item-info p { color: var(--wood-light); font-weight: 500; }
.cart-item-actions { display: flex; align-items: center; gap: 1rem; }
.cart-item-actions button { background: var(--bg-surface); border: 1px solid var(--border-glass); color: #fff; width: 30px; height: 30px; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.cart-item-actions button:hover { background: var(--primary-red); border-color: var(--primary-red); }
.cart-footer { padding: 2rem; border-top: 1px solid var(--border-glass); background: var(--bg-surface); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem; font-weight: bold; }
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1500; backdrop-filter: blur(5px); }
.cart-overlay.active, .cart-overlay.show { display: block; animation: fadeIn 0.3s; }

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

/* FOOTER */
.footer-dark { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.footer-overlay { background: linear-gradient(to top, #000 20%, rgba(0,0,0,0.8) 100%); padding: 6rem 2rem 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo-img { height: 140px; margin-bottom: 1.5rem; }
.footer-branding p { color: var(--text-muted); letter-spacing: 5px; font-size: 0.95rem; margin-bottom: 3rem; text-transform: uppercase; }
.footer-contact { display: flex; gap: 4rem; color: var(--text-main); font-size: 1rem; margin-bottom: 4rem; justify-content: center; }
.footer-contact i { color: var(--wood-light); margin-right: 10px; }
.footer-bottom-nav { display: flex; align-items: center; gap: 3rem; border-top: 1px solid var(--border-glass); padding-top: 3rem; width: 100%; justify-content: center; }
.footer-bottom-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; transition: 0.3s; }
.footer-bottom-nav a:hover { color: var(--wood-light); }
.subscribe-form { display: flex; margin-left: auto; }
.subscribe-form input { background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); padding: 1rem 1.5rem; color: #fff; width: 300px; outline: none; transition: 0.3s; }
.subscribe-form input:focus { border-color: var(--wood-light); background: rgba(255,255,255,0.1); }
.subscribe-form button { margin-left: 0; border-radius: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-top { padding: 0 1rem; gap: 1rem; }
    .nav-ghost { display: none; }
    .nav-actions { width: auto; gap: 1rem; }
    .main-nav { padding: 1rem 0; }
    .nav-links { display: none; flex-direction: column; width: 100%; text-align: center; gap: 1rem; background: var(--bg-surface); padding: 2rem 0; position: absolute; top: 100%; left: 0; border-bottom: 1px solid var(--border-glass); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    
    .hero-section { min-height: 60vh; padding: 4rem 1.5rem; }
    .text-right .hero-content { text-align: left; margin-left: 0; }
    .hero-content h1 { font-size: 3rem; }
    
    .categories-grid { grid-template-columns: 1fr; }
    .promo-content { flex-direction: column; text-align: center; gap: 3rem; }
    
    .product-card { flex-direction: column; height: auto; }
    .product-card .card-img { width: 100%; height: 250px; border-right: none; border-bottom: 1px solid var(--border-glass); }
    
    .footer-contact { flex-direction: column; gap: 1rem; }
    .footer-bottom-nav { flex-direction: column; gap: 2rem; }
    .subscribe-form { margin: 0 auto; width: 100%; flex-direction: column; }
    .subscribe-form input { width: 100%; margin-bottom: 1rem; }
    
    .cart-drawer { width: 100vw; right: -100vw; }
}


/* SUBPAGES (Nosotros, Catering, Contacto) */
.page-background {
    background: radial-gradient(circle at top right, rgba(168, 126, 52, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 0, 0, 0.1), transparent 40%),
                var(--bg-base);
    min-height: 100vh;
}

.page-header {
    padding: 10rem 2rem 6rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(6,6,6,0.8), rgba(6,6,6,0.95));
}
.page-header .container { position: relative; z-index: 2; }
.page-title {
    font-size: 4rem;
    color: var(--wood-light);
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.history-section { padding: 6rem 2rem; }
.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.history-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.styled-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-glass);
}

.glass-section, .gallery-section {
    padding: 6rem 2rem;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: 3rem;
}
.masonry-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.masonry-item img {
    width: 100%; height: 100%; object-fit: cover; transition: var(--transition);
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item.wide { grid-column: span 2; }
.masonry-item.tall { grid-row: span 2; }

/* Contact Form */
.contact-section { padding: 6rem 2rem; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}
.contact-info-card {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}
.contact-info-card h3 { color: var(--wood-light); font-size: 1.8rem; margin-bottom: 2rem; }
.contact-detail {
    display: flex; gap: 1rem; margin-bottom: 1.5rem; color: var(--text-muted);
}
.contact-detail i { color: var(--primary-red); font-size: 1.2rem; }
.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--wood-light);
    outline: none;
    background: rgba(255,255,255,0.08);
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-100 { width: 100%; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
}
.footer-col.text-right { text-align: right; }

@media (max-width: 900px) {
    .history-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-col.text-right { text-align: left; }
    .masonry-grid { grid-template-columns: 1fr; }
    .masonry-item.wide { grid-column: span 1; }
    .page-title { font-size: 2.5rem; }
}

/* EDITORIAL LAYOUTS (Based on reference image) */
.editorial-hero {
    display: flex;
    min-height: 85vh;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}
.editorial-hero-content {
    flex: 1;
    padding: 10% 5% 10% 10%;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #0a0a0a 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.editorial-hero-image {
    flex: 1;
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    mask-image: linear-gradient(to right, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

.overhead-text {
    color: var(--wood-light);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}
.editorial-hero h1 {
    font-size: 4rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.editorial-hero p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.signature {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--wood-light);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Split White Section */
.split-white-section {
    display: flex;
    background: #f8f8f8;
    color: #111;
}
.split-white-text {
    flex: 1;
    padding: 6rem 4rem 6rem 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-white-text h2 {
    font-size: 3rem;
    color: #111;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.split-white-text > p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 3rem;
    line-height: 1.8;
}
.features-row {
    display: flex;
    gap: 2rem;
}
.feature-item {
    flex: 1;
}
.feature-item i {
    font-size: 2rem;
    color: #111;
    margin-bottom: 1rem;
    display: block;
}
.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}
.feature-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.split-white-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    min-height: 600px;
}
.img-main {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    background-size: cover;
    background-position: center;
}
.img-sub-1 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    background-size: cover;
    background-position: center;
}
.img-sub-2 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    background-size: cover;
    background-position: center;
}

/* Dark Stats Section */
.dark-stats-section {
    background: #111;
    color: #fff;
    padding: 6rem 10%;
    display: flex;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}
.dark-stats-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background-image: url('assets/hero_grill_bg_1772677662424.png');
    background-size: cover;
    opacity: 0.3;
    mask-image: linear-gradient(to right, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
}
.stats-left {
    flex: 1.5;
    z-index: 2;
}
.stats-left h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item i {
    font-size: 2rem;
    color: var(--wood-light);
    margin-bottom: 1rem;
}
.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.stat-item p {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.stat-item span {
    font-size: 0.75rem;
    color: #666;
}

.stats-right {
    flex: 1;
    z-index: 2;
}
.values-box {
    background: rgba(25, 25, 25, 0.9);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 8px;
}
.values-box h3 {
    color: var(--wood-light);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}
.value-list {
    list-style: none;
}
.value-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #ddd;
}
.value-list li i {
    color: var(--wood-light);
}

@media (max-width: 1024px) {
    .editorial-hero { flex-direction: column; }
    .editorial-hero-image { position: relative; width: 100%; height: 400px; mask-image: none; -webkit-mask-image: none; }
    .split-white-section { flex-direction: column; }
    .split-white-images { height: 500px; }
    .dark-stats-section { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* =======================================
   MOBILE RESPONSIVE SWEEP
   ======================================= */
@media (max-width: 768px) {
    /* Navbar & Mobile Menu */
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.2rem; }
    .navbar { padding: 1rem 5%; justify-content: space-between; }
    .header-content { flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
    .logo-container { margin-bottom: 0; }
    
    /* Typography & Hero */
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 2rem; }
    .hero-section { min-height: 60vh; padding: 4rem 5%; }
    .page-header { padding: 4rem 5% 2rem; }
    .page-title { font-size: 2.5rem; }
    
    /* Layout & Grids */
    .container { width: 95%; padding: 0 1rem; }
    .filter-container { flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.8rem; flex: 1 1 30%; }
    
    .catalog-grid, .about-grid, .contact-grid, .features-grid { grid-template-columns: 1fr; gap: 2rem; }
    .product-card { max-width: 100%; }
    
    /* Modal */
    .modal-body { flex-direction: column; }
    .modal-image-col { width: 100%; height: 250px; }
    .modal-info-col { width: 100%; padding: 1.5rem; }
    
    /* Cart Drawer */
    .cart-drawer { width: 100%; right: -100%; }
    .cart-drawer.open { right: 0; }
    .cart-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cart-item-img { width: 100%; height: 120px; }
    .cart-item-remove { align-self: flex-end; margin-top: -40px; }
    
    /* Admin/POS tweaks for public site cross-contamination */
    .stats-grid { grid-template-columns: 1fr; }
    .editorial-hero-content { padding: 2rem; }
    .editorial-hero-content h2 { font-size: 2rem; }
    .split-white-images { height: 300px; }
    
    /* Footer */
    .footer-grid { flex-direction: column; text-align: center; gap: 2rem; }
    .footer-col.text-right { text-align: center; }
}

/* Toast Notification System */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    min-width: 280px;
    background: var(--bg-surface);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-left: 4px solid var(--primary-accent);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    animation: toastSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateX(100%);
}
.toast.error { border-left-color: #ff4d4d; }
.toast.success { border-left-color: #00ffcc; }
.toast-icon { font-size: 1.5rem; }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.toast-message { font-size: 0.85rem; color: #bbb; }
@keyframes toastSlideIn {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateY(10px); }
}
