/*:root {
    --cream: #EFEAE5;
    --peach: #E4C3B0;
    --blue: #7EA0A7;
    --teal: #14525F;
    --text: #182427;
    --muted: rgba(24, 36, 39, .62);
    --line: rgba(20, 82, 95, .18);
    --white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, sans-serif;
    background: var(--ivory);
    color: var(--text);
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}*/

button,
input,
select {
    font: inherit;
}

/*.container {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
}

.header {
    height: 84px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--black);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.nav-right {
    justify-content: flex-end;
}

.logo {
    width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }*/

/*.hero {
    padding: 76px 0 58px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 64px;
    align-items: end;
}*/

/*.hero-copy {
    max-width: 640px;
}*/

.eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-weight: var(--fw-headline);
}

.hero h1 {
    color: var(--black);
    font-size: clamp(54px, 7vw, 112px);
    line-height: .92;
    letter-spacing: -.045em;
    margin-bottom: 24px;
}

.hero p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.9;
}

.hero-media {
    height: 520px;
    background: var(--tint);
    overflow: hidden;
    border-radius: 999px 999px 0 0;
}

.toolbar-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 247, 240, .92);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.toolbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.gender-filters {
    display: flex;
    gap: 22px;
    padding-right: 24px;
    border-right: 1px solid var(--line);
}

.gender-btn {
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .25s ease, border-color .25s ease;
}

    .gender-btn.active,
    .gender-btn:hover {
        color: var(--black);
        border-bottom-color: var(--black);
    }

.filters {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-btn {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--black);
    border-radius: 0;
    padding: 11px 17px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: .25s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--black);
    color: var(--ivory);
    border-color: var(--black);
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search {
    width: 250px;
    height: 42px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    outline: 0;
    color: var(--black);
    padding: 0 4px;
    font-size: 14px;
}

    .search::placeholder {
        color: rgba(41,42,46,.45);
    }

.sort {
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--black);
    border-radius: 0;
    padding: 0 14px;
    outline: 0;
    font-size: 13px;
}

.collection {
    padding: 56px 0 112px;
}

.collection-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
}

.collection-head h2 {
    color: var(--black);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1;
}

.collection-head p {
    color: var(--muted);
    font-size: 14px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    position: relative;
    display: block;
    color: var(--black);
}

.product-image {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--tint);
    margin-bottom: 18px;
}

.product-image img {
    transition: transform .85s ease, opacity .45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.product-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    padding: 8px 11px;
    border-radius: 0;
    background: rgba(251,247,240,.86);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(251,247,240,.65);
    background: rgba(251,247,240,.7);
    color: var(--black);
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: .25s ease;
}

.favorite img {
    width: 16px;
    height: auto;
}

.favorite:hover img,
.favorite.active img {
    filter: brightness(0) invert(1);
}

.favorite:hover,
.favorite.active {
    background: var(--black);
    color: var(--ivory);
    border-color: var(--black);
}

.quick-actions {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: .28s ease;
}

.product-card:hover .quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.sa-btn {
    border: 0;
    height: 42px;
    cursor: pointer;
    background: rgba(251,247,240,.9);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    transition: .25s ease;
    padding: 0 .5rem;
}

.sa-btn.sm {
    height: 36px;
}

.add-card {
    background: var(--black);
    color: var(--ivory);
}

.remove-btn {
    background: var(--delete);
    color: var(--ivory);
}

a.sa-btn {
    text-align: center;
    padding: 14px 0;
}

.add-card {
    background: var(--black);
    color: var(--ivory);
}

.remove-btn {
    background: var(--delete);
    color: var(--ivory);
}

.quick-actions .sa-btn:hover {
    transform: translateY(-2px);
}

.product-info {
    display: grid;
    gap: 7px;
}

.product-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.product-info h3 {
    font-size: 18px;
    line-height: 1.05;
}

.product-info p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.product-info p.desc {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.color-dots {
    display: flex;
    gap: 7px;
    margin-top: 4px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(41,42,46,.25);
}

    .dot.teal {
        background: var(--black);
    }

    .dot.peach {
        background: var(--red);
    }

    .dot.blue {
        background: var(--tint);
    }

    .dot.cream {
        background: var(--ivory);
    }

.empty-state {
    display: none;
    padding: 80px 20px;
    text-align: center;
    border: 1px solid var(--line);
    color: var(--muted);
}

.footer-note {
    margin-top: 70px;
    padding: 46px;
    background: var(--black);
    color: var(--ivory);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

    .footer-note h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .footer-note a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .footer-note p {
        color: rgba(251,247,240,.72);
        line-height: 1.75;
        font-size: 14px;
    }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-media {
        height: 460px;
    }

    .toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 0;
    }

    .toolbar-actions {
        width: 100%;
    }

    .search {
        width: 100%;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-note {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
/*    .container {
        width: min(100% - 24px, 1280px);
    }

    .header {
        height: 72px;
    }

    .nav a:not(:first-child) {
        display: none;
    }

    .logo {
        width: 118px;
    }*/

    .hero {
        padding: 48px 0 44px;
    }

        .hero h1 {
            font-size: 54px;
        }

    .hero-media {
        height: 380px;
    }

    .filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .toolbar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sort {
        width: 100%;
    }

    .collection-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 430px;
    }

    .quick-actions {
        opacity: 1;
        transform: none;
    }
}
