:root {
    --bg: #f7f4ee;
    --bg-soft: #efece5;
    --ink: #0d0d0d;
    --ink-soft: #3a3a3a;
    --muted: #6b6b6b;
    --line: #e2dccc;
    --radius: 14px;
    --max: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit
}

.display {
    font-family: "Archivo Black", sans-serif;
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: uppercase;
    line-height: .95;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--bg);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 13px;
    transition: .25s;
}

.btn:hover {
    background: var(--ink);
    color: var(--bg)
}

.btn-dark {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink)
}

.btn-dark:hover {
    background: transparent;
    color: var(--ink)
}

/* Hero */
.hero {
    padding: 100px 28px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero .eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 110px);
    margin: 0 auto 22px;
    max-width: 1000px
}

.hero p {
    max-width: 580px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 16px
}

/* Filter bar */
.filters {
    padding: 36px 28px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.filters a {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: .25s;
    font-weight: 500;
    cursor: pointer;
}

.filters a.active,
.filters a:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

/* Products grid */
.products {
    padding: 70px 0 110px
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    display: block;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
}

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

.product-card .swatch {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card .bottle {
    width: 38%;
    aspect-ratio: 0.55 / 1;
    background: #fff;
    border-radius: 18px 18px 12px 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14% 10%;
}

.product-card .bottle::before {
    content: "";
    position: absolute;
    top: -8%;
    left: 18%;
    right: 18%;
    height: 12%;
    background: #fff;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, .08);
}

.product-card .bottle .tag {
    font-size: 7px;
    letter-spacing: .12em;
    color: var(--muted)
}

.product-card .bottle .nm {
    font-family: "Archivo Black", sans-serif;
    font-size: 11px;
    line-height: 1.1;
    color: var(--ink);
}

.product-card .body {
    padding: 22px 24px 26px
}

.product-card .nm-main {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 12px;
}

.product-card .price {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 14px
}

.product-card .add {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    text-align: center;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .25s;
    font-weight: 500;
}

.product-card .add:hover {
    background: var(--ink);
    color: var(--bg);
    box-shadow: inset 0 0 0 1.5px var(--ink)
}

/* product swatch backgrounds */
.swatch.pink {
    background: #eeece5
}

.swatch.blue {
    background: #97c1d6
}

.swatch.yellow {
    background: #f0d27a
}

.swatch.green {
    background: #b8d4b0
}

.swatch.coral {
    background: #f3a78f
}

.swatch.lilac {
    background: #c9bedd
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px
    }
}

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

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.page-item {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.icons {
    padding: 70px 0 110px;
    background-color: #efece5;
    border-top: 1px solid #e2dccc;
}

.icons .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-around;
    height: 200px;
    text-transform: uppercase;
    align-items: center;
}

.icons .item {
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.icons .item .text {
    font-size: 13px;
    letter-spacing: .04em;
    line-height: 1.4;
    color: #2a2a2a;
}

.icons img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #2a2a2a;
    margin-bottom: 15px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.icons .item:hover img {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

/* Tablet: wrap the 6 icons into rows */
@media (max-width: 820px) {
    .icons {
        padding: 56px 0;
    }

    .icons .wrap {
        flex-wrap: wrap;
        height: auto;
        gap: 40px 20px;
        justify-content: center;
    }

    .icons .item {
        width: 30%;
        min-width: 120px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
    .hero {
        padding: 84px 18px 44px
    }

    .filters {
        padding: 24px 18px;
        gap: 10px
    }

    .products {
        padding: 48px 0 72px
    }

    .wrap {
        padding: 0 18px
    }

    .icons {
        padding: 48px 0
    }

    .icons .wrap {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        gap: 36px 24px;
        padding: 0 18px
    }

    .icons .item {
        width: 40%;
        min-width: 0
    }

    .icons img {
        width: 72px;
        height: 72px;
        margin-bottom: 12px
    }

    .icons .item .text {
        font-size: 12px
    }
}