@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --ink: #26212c;
    --muted: #817b89;
    --purple: #6d59df;
    --violet: #8066ed;
    --lilac: #eee9ff;
    --line: #e8e4ee;
    --cream: #fffaf5;
    --gold: #c6a451;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 12px
}

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

button,
select {
    font: inherit
}

.topbar {
    height: 62px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #f0edf3
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.brand img {
    width: 20px;
    height: 20px
}

.main-nav {
    display: flex;
    gap: 52px;
    margin-left: 120px
}

.main-nav a {
    font-size: 8px;
    letter-spacing: .08em;
    color: #5e5967
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    font-size: 17px;
    color: #514b59
}

.top-actions a:first-child {
    font-size: 22px;
    line-height: 0
}

.hero {
    height: 177px;
    display: flex;
    position: relative;
    overflow: hidden;
    background: linear-gradient(104deg, #6d59df 0%, #896cf0 55%, #745ee6 100%);
    color: #fff;
    padding: 29px 57px
}

.hero-copy {
    position: relative;
    z-index: 1
}

.eyebrow {
    display: block;
    color: #c4a54f;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .08em
}

.hero .eyebrow {
    background: #fff3d4;
    border-radius: 10px;
    display: inline-block;
    padding: 4px 8px;
    color: #9a7d2d
}

.hero h1 {
    margin: 10px 0 5px;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    line-height: 1
}

.hero p {
    margin: 0;
    color: #eeeaff;
    font-size: 9px
}

.primary-button {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    margin-top: 13px;
    background: #4e39bf;
    color: #fff;
    border-radius: 16px;
    padding: 8px 13px;
    font-size: 8px;
    font-weight: 700
}

.primary-button span {
    font-size: 14px;
    line-height: 8px
}

.hero-visual {
    position: absolute;
    right: 55px;
    top: 0;
    width: 390px;
    height: 177px;
    overflow: hidden;
    border-radius: 90px 0 0 90px
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    mix-blend-mode: screen;
    opacity: .95
}

.deal-strip {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border-bottom: 1px solid #eeeaf3;
    background: #fffafc;
    color: #817b89
}

.deal-label {
    display: flex;
    gap: 6px;
    align-items: center
}

.deal-label span {
    color: #b99b43;
    font-size: 13px
}

.deal-label strong {
    font-size: 7px;
    letter-spacing: .08em;
    color: #9b8d70
}

.countdown {
    display: flex;
    align-items: center;
    gap: 7px
}

.countdown div {
    min-width: 30px;
    text-align: center
}

.countdown b {
    display: block;
    font-size: 13px;
    color: #423c4d
}

.countdown small {
    font-size: 5px;
    color: #a9a2b1
}

.countdown i {
    font-style: normal;
    color: #c2a55f;
    font-size: 12px
}

.deal-strip p {
    font-size: 8px;
    margin: 0;
    color: #9a8f9e
}

.catalog {
    max-width: 1138px;
    margin: 0 auto;
    padding: 30px 0 25px
}

.catalog-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.catalog-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin: 7px 0 4px
}

.catalog-heading p {
    font-size: 8px;
    color: #908995;
    margin: 0
}

.catalog-heading label {
    font-size: 8px;
    color: #99929e;
    display: flex;
    align-items: center;
    gap: 6px
}

.catalog-heading select {
    border: 1px solid #e7e1ed;
    border-radius: 12px;
    background: #fff;
    color: #6e6576;
    padding: 6px 9px;
    font-size: 8px
}

.filters {
    display: flex;
    gap: 7px;
    margin: 18px 0
}

.filters a {
    border: 1px solid #e6e0ec;
    border-radius: 13px;
    color: #8e8794;
    font-size: 7px;
    padding: 6px 11px
}

.filters .selected {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff
}

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

.product-card {
    border: 1px solid #e8e3eb;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px #3e27500a
}

.product-media {
    height: 121px;
    position: relative;
    overflow: hidden;
    background: #f2e6df
}

.product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-media .discount {
    position: absolute;
    right: 7px;
    top: 8px;
    background: #c8a74f;
    color: #fff;
    font-size: 7px;
    border-radius: 9px;
    padding: 4px 6px
}

.product-media em {
    position: absolute;
    left: 7px;
    top: 8px;
    background: #bff0ce;
    color: #288951;
    font-size: 6px;
    font-style: normal;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 6px
}

.product-media button {
    position: absolute;
    right: 7px;
    bottom: 7px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #753b59;
    width: 21px;
    height: 21px;
    font-size: 14px;
    line-height: 18px
}

.product-info {
    padding: 9px 10px 10px
}

.product-info>small {
    font-size: 6px;
    color: #a99fa9;
    letter-spacing: .06em
}

.product-info h3 {
    font-size: 11px;
    line-height: 1.25;
    margin: 5px 0 5px;
    min-height: 27px
}

.rating {
    font-size: 9px;
    color: #cfad4b;
    letter-spacing: 1px
}

.rating span {
    color: #aca5b0;
    font-size: 7px;
    letter-spacing: 0
}

.old-price {
    font-size: 7px;
    color: #aaa2af;
    text-decoration: line-through;
    margin: 5px 0 0
}

.product-info>strong {
    display: block;
    font-size: 13px;
    margin: 1px 0 8px
}

.cart-button {
    display: block;
    text-align: center;
    background: #6e5be0;
    color: #fff;
    border-radius: 2px;
    padding: 7px 4px;
    font-size: 7px;
    font-weight: 600
}

.view-more {
    display: block;
    width: max-content;
    border: 1px solid #9384dd;
    color: #7665ce;
    border-radius: 16px;
    padding: 8px 17px;
    font-size: 8px;
    margin: 18px auto 0
}

.view-more span {
    font-size: 13px;
    margin-left: 10px
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 120px;
    background: #f8f5ff;
    border-top: 1px solid #eae6f3;
    border-bottom: 1px solid #eae6f3;
    padding: 18px 20px
}

.benefits>div {
    display: flex;
    gap: 9px;
    align-items: center
}

.benefits b {
    color: #c5a444;
    font-size: 18px
}

.benefits p {
    margin: 0
}

.benefits strong,
.benefits small {
    display: block
}

.benefits strong {
    font-size: 8px
}

.benefits small {
    color: #8f8894;
    font-size: 7px;
    margin-top: 3px
}

footer {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 35px;
    background: linear-gradient(180deg, #8d78eb, #6f5de0);
    color: #fff;
    padding: 27px 58px 42px;
    min-height: 147px
}

footer .brand {
    color: #fff;
    font-size: 11px
}

footer .brand img {
    filter: brightness(0) invert(1)
}

footer p {
    color: #e3ddff;
    font-size: 8px;
    line-height: 1.6;
    margin: 11px 0
}

.socials {
    display: flex;
    gap: 6px
}

.socials span {
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #725de0;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700
}

footer h4 {
    font-size: 7px;
    letter-spacing: .1em;
    margin: 2px 0 12px;
    color: #eeeaff
}

footer>div>a,
footer>div>small {
    display: block;
    font-size: 8px;
    color: #e0d9ff;
    margin: 7px 0
}

.payment {
    display: flex;
    gap: 4px;
    margin-top: 8px
}

.payment span {
    background: #fff;
    color: #6251c7;
    padding: 3px 5px;
    font-size: 6px;
    border-radius: 2px
}

.copyright {
    position: absolute;
    bottom: 10px;
    left: 58px;
    font-size: 6px;
    color: #d7d0ff
}

@media(max-width:900px) {
    .catalog {
        padding-left: 22px;
        padding-right: 22px
    }

    .main-nav {
        gap: 20px;
        margin-left: 0
    }

    .benefits {
        gap: 35px
    }

    footer {
        padding-left: 25px;
        padding-right: 25px
    }
}

@media(max-width:650px) {
    .topbar {
        padding: 0 17px
    }

    .main-nav {
        display: none
    }

    .hero {
        padding: 25px 22px;
        height: 190px
    }

    .hero-visual {
        right: -65px;
        width: 285px;
        opacity: .65
    }

    .hero-copy {
        max-width: 220px
    }

    .deal-strip {
        gap: 10px;
        flex-wrap: wrap;
        height: auto;
        padding: 10px
    }

    .deal-strip p {
        display: none
    }

    .catalog-heading {
        display: block
    }

    .catalog-heading label {
        margin-top: 12px
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .product-media {
        height: 135px
    }

    .benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 17px 30px
    }

    footer {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px 24px 47px
    }

    .footer-brand {
        grid-column: 1/-1
    }

    .copyright {
        left: 24px
    }
}

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

    .product-media {
        height: 190px
    }

    .filters {
        overflow: auto;
        padding-bottom: 4px
    }

    .filters a {
        white-space: nowrap
    }
}