/* ============================================
   FINAL CLEAN STYLESHEET
   ============================================ */
:root {
    --primary-color: #1a2a3a;
    --accent-color: #c5a059;
    --text-dark: #222222;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
    --success-color: #28a745;
    --error-color: #dc3545;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary-color); }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* BUTTONS */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 600; text-align: center; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background-color: var(--accent-color); color: var(--primary-color); }
.btn-primary:hover { background-color: #b08d4b; }
.btn-secondary { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline { background-color: transparent; border: 2px solid var(--text-light); color: var(--text-light); }

/* HEADER */
.header { background-color: var(--bg-light); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
.logo h1 { font-size: 1.5rem; margin-bottom: 2px; }
.tagline { font-size: 0.8rem; color: var(--accent-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav a { font-weight: 500; color: var(--primary-color); }
.nav a:hover { color: var(--accent-color); }
.btn-nav { padding: 8px 20px; font-size: 0.9rem; }

/* HERO & SECTIONS */
.hero { background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.85)), url('https://images.unsplash.com/photo-1569529465841-dfecd4965546?auto=format&fit=crop&q=80&w=1920'); background-size: cover; background-position: center; color: var(--text-light); padding: 120px 0; text-align: center; }
.hero h2 { color: var(--text-light); font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h3 { font-size: 2.2rem; margin-bottom: 15px; }

/* ABOUT & CONTACT SNIPPETS */
.about-section { background-color: var(--bg-off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-card { background: var(--bg-light); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--accent-color); }
.contact-section { background-color: var(--primary-color); color: var(--text-light); text-align: center; padding: 80px 0; }
.contact-section h3 { color: var(--text-light); }
.contact-info-box { background: rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 8px; max-width: 600px; margin: 0 auto; }
.contact-info-box a { color: var(--accent-color); }

/* FOOTER */
.footer { background-color: #111; color: #aaa; padding: 40px 0 20px; font-size: 0.85rem; }
.compliance-warning { background-color: #f8f9fa; color: #495057; padding: 20px; border-radius: 4px; margin-bottom: 30px; border-left: 4px solid #dc3545; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; }

/* ============================================
   PRODUCT CATALOG - THE NUCLEAR FIX
   ============================================ */

/* 1. Force the Grid to be Multi-Column */
.catalog-section .product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

/* 2. Force the Card to Center Everything */
.product-card {
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 25px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* This centers horizontally */
    justify-content: flex-start !important;
    text-align: center !important;
    height: 100%;
    width: 100% !important;
}

/* 3. The Image Wrapper - This fixes PNG whitespace issues */
.product-img-wrapper {
    width: 100% !important;
    height: 340px !important;
    display: flex !important;
    align-items: center !important; /* Centers vertically */
    justify-content: center !important; /* Centers horizontally */
    margin-bottom: 25px !important;
    overflow: hidden;
    background-color: #fff; /* White bg helps see transparency */
}

.product-img-wrapper img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* 4. Force Text Elements to be Full Width and Centered */
.product-card h4, 
.product-card p, 
.product-meta, 
.product-card .btn {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-card h4 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-color); }
.product-card p { font-size: 0.95rem; color: #666; margin-bottom: 25px; line-height: 1.6; }

.product-meta {
    display: flex !important;
    justify-content: center !important;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card .btn { width: 100%; margin-top: auto; }

/* AGE GATE */
.age-gate-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(26, 42, 58, 0.95); backdrop-filter: blur(8px); z-index: 9999; display: flex; justify-content: center; align-items: center; }
.age-gate-modal { background: var(--bg-light); padding: 40px; border-radius: 8px; text-align: center; max-width: 500px; width: 90%; }
.age-gate-buttons { display: flex; gap: 15px; justify-content: center; margin-top: 20px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 20px; }
    .nav ul { flex-direction: column; gap: 15px; }
    .about-grid { grid-template-columns: 1fr; }
    .hero h2 { font-size: 2rem; }
}