:root{
    --green:#0f5132;
    --green-dark:#0a3823;
    --gold:#d4af37;
    --black:#111111;
    --white:#ffffff;
    --gray:#f5f5f5;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:#222;
    line-height:1.6;
}

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* AGE GATE */

.age-gate{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;
}

.age-box{
    background:#fff;
    width:90%;
    max-width:450px;
    border-radius:20px;
    padding:40px;
    text-align:center;

    position:relative;
    z-index:100000;
}

.age-buttons{
    display:flex;
    gap:12px;
    justify-content:center;
    margin-top:25px;

    position:relative;
    z-index:100001;
}

.age-buttons button{
    cursor:pointer;
    pointer-events:auto;
}
.logo-mark{
    font-size:50px;
    margin-bottom:10px;
}

.age-box h2{
    margin-bottom:10px;
}

.age-buttons{
    display:flex;
    gap:12px;
    justify-content:center;
    margin-top:25px;
}

.age-buttons .btn-secondary{
    background:white;
    color:#111;
    border:1px solid #111;
}

/* HEADER */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(15,81,50,.9);
    backdrop-filter:blur(10px);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    min-height:100px;
}

.logo{
    color:#fff;
    font-weight:700;
    font-size:28px;
}

nav{
    display:flex;
    gap:20px;
    align-items:center;
}

nav a{
    color:white;
    text-decoration:none;
}

.header-btn{
    background:var(--gold);
    color:black !important;
    padding:10px 16px;
    border-radius:8px;
}

/* HERO */

.hero{
    position:relative;
    min-height:100vh;

    background:
    url('../images/hero.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    max-width:800px;
    padding:20px;
}

.badge{
    display:inline-block;
    background:rgba(212,175,55,.15);
    border:1px solid rgba(212,175,55,.5);
    color:var(--gold);
    padding:8px 14px;
    border-radius:30px;
    margin-bottom:20px;
}

.hero h1{
    font-size:70px;
    line-height:1.1;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

/* BUTTONS */

.btn-primary{
    display:inline-block;
    background:var(--gold);
    color:black;
    text-decoration:none;
    padding:14px 24px;
    border-radius:10px;
    border:none;
    cursor:pointer;
    font-weight:600;
}

.btn-secondary{
    display:inline-block;
    background:transparent;
    border:1px solid white;
    color:white;
    text-decoration:none;
    padding:14px 24px;
    border-radius:10px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
}

/* SECTION */

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title span{
    color:var(--gold);
    font-weight:600;
}

.section-title h2{
    margin-top:10px;
    font-size:38px;
}

/* PRODUCTS */

.products{
    background:#fafafa;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.product-card{
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-6px);
}

.product-card img{
    width:100%;
    height:280px;
    object-fit:cover;
}

.product-content{
    padding:20px;
}

.product-content h3{
    margin-bottom:10px;
}

.product-desc{
    color:#666;
    margin-bottom:12px;
}

.price{
    color:var(--green);
    font-size:24px;
    font-weight:700;
    margin-bottom:15px;
}

.qty-box{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:15px;
}

.qty-box button{
    width:36px;
    height:36px;
    border:none;
    background:var(--green);
    color:white;
    border-radius:6px;
    cursor:pointer;
}

.qty-input{
    width:60px;
    text-align:center;
    padding:8px;
}

/* WHY */

.why{
    background:white;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.why-card{
    padding:30px;
    border-radius:16px;
    background:#fafafa;
}

/* DISTRIBUTOR */

.distributor{
    background:linear-gradient(
    135deg,
    var(--green),
    var(--green-dark)
    );

    color:white;
}

.distributor-box{
    text-align:center;
    max-width:800px;
    margin:auto;
}

.distributor-box h2{
    font-size:48px;
    margin:20px 0;
}

/* MARGIN */

.margin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.margin-card{
    text-align:center;
    padding:40px;
    background:white;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.margin-card h3{
    color:var(--green);
    font-size:32px;
}

/* TESTIMONIAL */

.testimonial{
    background:#fafafa;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.testimonial-card{
    background:white;
    padding:30px;
    border-radius:16px;
}

/* FORM */

.form-box{
    max-width:700px;
    margin:auto;
}

.form-box form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.form-box input,
.form-box textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

.form-box textarea{
    height:140px;
}

/* FOOTER */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:60px 20px;
}

footer h3{
    margin-bottom:10px;
}

/* MOBILE */

@media(max-width:768px){

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }

    nav{
        display:none;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .distributor-box h2{
        font-size:32px;
    }

}

.age-buttons .btn-secondary{
    background:#f5f5f5;
    color:#111;
    border:1px solid #ccc;
}

.age-buttons .btn-secondary:hover{
    background:#e9e9e9;
}

.age-buttons{
    position:relative;
    z-index:10000;
}
.age-box{
    position:relative;
    z-index:10000;
}

.cart-section{
    background:#fff;
}

#cartItems{
    background:#fafafa;
    padding:25px;
    border-radius:16px;
}

.cart-item{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.cart-footer{
    text-align:center;
    margin-top:25px;
}

/* HOUSE OF GRATIA LOGO */

.logo-wrap{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-img{
    height:250px;
    width:auto;
    display:block;
}

.logo-text{
    color:#fff;
    font-size:30px;
    font-weight:700;
    letter-spacing:.5px;

}

@media(max-width:768px){

    .logo-img{
        height:42px;
    }

    .logo-text{
        font-size:18px;
    }

}