body{
    background:var(--ivory);
    color:var(--ink);
}

.container{
    max-width:1240px;
    margin:auto;
    padding:100px 25px 60px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(6, minmax(160px, 1fr));
    gap:22px;
}

.product-card{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    background:#ffffff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(16, 36, 29, 0.08);
    transition:transform .25s ease, box-shadow .25s ease;
    text-align:center;
    padding:20px 16px 28px;
    min-width:0;
}

.product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 26px 55px rgba(16, 36, 29, 0.14);
}

.product-card img{
    width:100%;
    aspect-ratio:3 / 4;
    object-fit:contain;
    object-position:center;
    display:block;
    border-radius:18px;
    margin-bottom:18px;
    background:#f7f8f6;
}

.product-card h3{
    margin:0 0 10px;
    font-size:1.1rem;
    line-height:1.2;
}

.product-card p{
    margin:0 0 18px;
    color:#556157;
    font-size:0.88rem;
    min-height:2.4em;
}

.product-card .btn{
    margin-top:auto;
    white-space:normal;
    width:100%;
    max-width:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    line-height:1.3;
    text-align:center;
    padding:14px 16px;
}

@media screen and (max-width:1240px){
    .product-grid{
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width:960px){
    .product-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width:720px){
    .product-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width:540px){
    .product-grid{
        grid-template-columns:1fr;
    }
}

/* ================= PRODUCT HERO ================= */

.producthero{
    position:relative;
    height:75vh;
    min-height:520px;

    background-image:url("../images/buyhero.png");
    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;
}

.producthero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(20,32,26,.4) 0%,
        rgba(20,32,26,.5) 55%,
        rgba(20,32,26,.65) 100%
    );
}

.producthero-content{
    position:relative;
    z-index:2;
    max-width:800px;
    text-align:center;
    color:var(--white);
    padding:20px;
}

.producthero-badge{
    display:inline-block;

    padding:10px 22px;
    margin-bottom:28px;

    border-radius:999px;
    border:1px solid rgba(255,255,255,.35);

    background:rgba(255,255,255,.1);
    backdrop-filter:blur(10px);

    font-size:.82rem;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:500;
}

.producthero h1{
    font-family:var(--display);
    font-weight:400;
    font-style:italic;
    font-size:clamp(2.4rem,6vw,4rem);
    line-height:1.15;
    margin-bottom:24px;
    letter-spacing:.2px;
    text-shadow:0 10px 40px rgba(0,0,0,.25);
}

.producthero p{
    font-size:1.12rem;
    line-height:1.9;
    margin-bottom:44px;
    color:rgba(255,255,255,.92);
    font-weight:300;
}

.hero-btn{
    display:inline-block;

    padding:17px 40px;

    border-radius:999px;

    background:var(--forest);
    color:var(--white);

    text-decoration:none;
    font-weight:600;
    letter-spacing:.3px;

    transition:.35s cubic-bezier(.2,.8,.2,1);

    box-shadow:0 16px 34px rgba(47,74,62,.3);
}

.hero-btn:hover{
    transform:translateY(-4px);
    background:var(--amber);
    box-shadow:0 18px 38px rgba(198,154,109,.4);
}