:root {
    --charcoal: #242823;
    --cream: #fbfaf7;
    --paper: #f2eee7;
    --muted: #77766f;
    --line: #e2dfd9;
    --gold: #e3a935;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--cream);
    font: 12px var(--sans)
}

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

button,
input,
select {
    font: inherit
}

.menu-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto
}

.menu-header {
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 5
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.menu-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 190px
}

.brand-symbol {
    display: grid;
    width: 29px;
    height: 39px;
    place-items: center;
    border: 2px solid var(--charcoal);
    border-radius: 55% 30% 55% 30%;
    font: 27px var(--serif);
    line-height: 1;
    transform: rotate(-15deg)
}

.menu-brand strong {
    display: block;
    font-size: 15px;
    letter-spacing: .02em;
    line-height: 1.05
}

.menu-brand small {
    display: block;
    margin-top: 3px;
    font-size: 6px;
    letter-spacing: .18em
}

.menu-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
    font-size: 11px
}

.menu-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent
}

.menu-nav a.active {
    border-bottom-color: var(--charcoal);
    font-weight: 600
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 18px
}

.search-box {
    display: flex;
    align-items: center;
    width: 150px;
    height: 30px;
    padding: 0 10px;
    border-radius: 20px;
    background: #f4f4f4;
    color: #999
}

.search-box span {
    font-size: 18px;
    line-height: 1
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: none;
    color: var(--charcoal);
    font-size: 9px
}

.tool-button,
.cart-tool,
.mobile-menu {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--charcoal);
    font-size: 22px;
    cursor: pointer
}

.cart-tool b {
    position: absolute;
    top: -5px;
    right: -8px;
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 50%;
    background: var(--charcoal);
    color: #fff;
    font-size: 9px
}

.mobile-menu {
    display: none
}

.shop-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(249, 242, 231, .8), rgba(249, 242, 231, .15)), url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=1800&q=85") center 56%/cover
}

.shop-hero:after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 240, .78), transparent 62%);
    content: ""
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 34px;
    padding-bottom: 34px
}

.hero-kicker {
    margin: 0 0 7px;
    font-weight: 700;
    font-size: 9px;
    letter-spacing: .19em
}

.hero-copy h1 {
    margin: 0;
    font: 600 37px/.95 var(--serif);
    letter-spacing: -.04em
}

.hero-copy>p:not(.hero-kicker) {
    margin: 10px 0 13px;
    font-size: 11px;
    line-height: 1.45
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    padding: 9px 18px;
    border-radius: 22px;
    background: var(--charcoal);
    color: #fff;
    font-size: 10px;
    font-weight: 600
}

.hero-button span {
    font-size: 17px
}

.hero-note {
    position: absolute;
    z-index: 1;
    top: 37px;
    right: 8%;
    font: italic 19px/1.05 var(--serif);
    transform: rotate(-7deg)
}

.hero-note em {
    font-size: 16px
}

.hero-note span {
    display: block;
    text-align: right;
    font-size: 25px
}

.shop-layout {
    display: grid;
    grid-template-columns: 158px 1fr;
    gap: 25px;
    padding-top: 17px
}

.filters {
    padding-top: 0
}

.category {
    display: flex;
    width: 100%;
    min-height: 37px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: none;
    text-align: left;
    color: #3d403b;
    font-size: 10px;
    cursor: pointer
}

.category span {
    display: inline-grid;
    place-items: center;
    color: #4e524c;
    font-size: 12px
}

.category.active {
    background: #f0ede7;
    font-weight: 600
}

.category.sale-category {
    color: #f0564c
}

.category.sale-category span {
    color: #f0564c
}

.filter-section {
    margin: 22px 10px 0;
    padding-top: 17px;
    border-top: 1px solid var(--line)
}

.filter-section h3 {
    margin: 0 0 14px;
    font-size: 10px
}

.range-track {
    position: relative;
    height: 4px;
    margin: 0 2px 10px;
    background: #343933
}

.range-track i {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 4px;
    background: var(--clay)
}

.range-track input {
    position: absolute;
    z-index: 2;
    top: -7px;
    width: 100%;
    height: 18px;
    margin: 0;
    outline: 0;
    appearance: none;
    pointer-events: none;
    background: transparent
}

.range-track input::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    appearance: none;
    border-radius: 50%;
    background: var(--charcoal);
    box-shadow: 0 0 0 2px var(--cream);
    cursor: grab;
    pointer-events: auto
}

.range-track input::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: var(--charcoal);
    box-shadow: 0 0 0 2px var(--cream);
    cursor: grab;
    pointer-events: auto
}

.range-track input:focus-visible::-webkit-slider-thumb {
    outline: 2px solid var(--clay);
    outline-offset: 2px
}

.range-track input:focus-visible::-moz-range-thumb {
    outline: 2px solid var(--clay);
    outline-offset: 2px
}

.range-track input:last-of-type {
    z-index: 3
}

.range-track b {
    position: absolute;
    top: -4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #343933
}

.range-track b:first-of-type {
    left: -2px
}

.range-track b:last-of-type {
    right: -2px
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 8px
}

.brand-filter label {
    display: block;
    margin: 9px 0;
    color: #4e504b;
    font-size: 10px
}

.brand-filter input {
    width: 12px;
    height: 12px;
    margin: 0 5px 0 0;
    vertical-align: -2px;
    accent-color: var(--charcoal)
}

.filter-button {
    width: 100%;
    margin-top: 14px;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: var(--charcoal);
    color: white;
    font-size: 9px;
    cursor: pointer
}

.breadcrumbs {
    margin: 0 0 12px;
    color: #858681;
    font-size: 9px
}

.breadcrumbs span {
    padding: 0 8px
}

.product-heading {
    display: flex;
    justify-content: space-between;
    align-items: start
}

.product-heading h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -.03em
}

.product-heading p {
    margin: 4px 0 0;
    color: #858681;
    font-size: 11px
}

.heading-art {
    padding: 8px 29px 6px 25px;
    background: linear-gradient(100deg, transparent, #f8f1e7 23%, #f8f1e7 78%, transparent);
    color: #b9a17e;
    font: italic 16px/1.05 var(--serif);
    text-align: center;
    transform: rotate(-3deg)
}

.heading-art span {
    display: block;
    text-align: right;
    font-size: 22px
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: 18px 0 10px;
    color: #777a74;
    font-size: 9px
}

.product-toolbar>span {
    margin-right: auto
}

.product-toolbar label {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding-left: 9px;
    background: white
}

.product-toolbar select {
    min-width: 103px;
    padding: 7px 5px;
    border: 0;
    outline: 0;
    background: white;
    color: #555;
    font-size: 9px
}

.view-toggle {
    width: 27px;
    height: 27px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: white;
    color: #7c7f79;
    cursor: pointer
}

.view-toggle.active {
    background: #f0ede7;
    color: var(--charcoal)
}

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

.shop-card {
    min-width: 0;
    padding-bottom: 9px;
    border: 1px solid #eceae5;
    border-radius: 6px;
    background: white;
    overflow: hidden;
    box-shadow: 0 1px 2px #2b2b2110
}

.card-image {
    height: 120px;
    position: relative;
    background-position: center;
    background-size: cover
}

.image-basket {
    background-image: url("https://images.unsplash.com/photo-1594818379496-da1e345b0ded?auto=format&fit=crop&w=600&q=85")
}

.image-mug {
    background-image: url("https://images.unsplash.com/photo-1514228742587-6b1558fcca3d?auto=format&fit=crop&w=600&q=85")
}

.image-diffuser {
    background-image: url("https://images.unsplash.com/photo-1608571423902-eed4a5ad8108?auto=format&fit=crop&w=600&q=85")
}

.image-cushion {
    background-image: url("https://images.unsplash.com/photo-1584100936595-c0654b55a2e2?auto=format&fit=crop&w=600&q=85")
}

.image-elephant {
    background-image: url("https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?auto=format&fit=crop&w=600&q=85")
}

.image-vase {
    background-image: url("https://images.unsplash.com/photo-1612196808214-b8e1d6145a8c?auto=format&fit=crop&w=600&q=85")
}

.image-utensils {
    background-image: url("https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=600&q=85")
}

.image-notebook {
    background-image: url("https://images.unsplash.com/photo-1531346680769-a1d79b57de5b?auto=format&fit=crop&w=600&q=85")
}

.image-placemat {
    background-image: url("https://images.unsplash.com/photo-1603199506016-b9a594b593c0?auto=format&fit=crop&w=600&q=85")
}

.image-tote {
    background-image: url("https://images.unsplash.com/photo-1590874103328-eac38a683ce7?auto=format&fit=crop&w=600&q=85")
}

.image-dinner {
    background-image: url("https://images.unsplash.com/photo-1603199506016-b9a594b593c0?auto=format&fit=crop&w=600&q=85")
}

.image-gift {
    background-image: url("https://images.unsplash.com/photo-1512909006721-3d6018887383?auto=format&fit=crop&w=600&q=85")
}

.favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(251, 249, 245, .92);
    box-shadow: 0 4px 12px rgba(40, 38, 32, .12);
    color: var(--charcoal);
    font-size: 12px;
    font-weight: 400;
    line-height: -1;
    text-align: center;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease
}

.favorite:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(40, 38, 32, .18);
    transform: translateY(-2px)
}

.favorite:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 3px
}

.favorite.is-favorite {
    border-color: var(--clay);
    background: var(--clay);
    color: #fff
}

.favorite.is-favorite:hover {
    background: #a75f45
}

.shop-card h3 {
    min-height: 28px;
    margin: 7px 8px 0;
    font-size: 10px;
    line-height: 1.3
}

.shop-card>strong {
    display: block;
    margin: 4px 8px 0;
    font-size: 11px
}

.product-description {
    min-height: 30px;
    margin: 4px 8px 0;
    color: #777a74;
    font-size: 9px;
    line-height: 1.35
}

.rating {
    margin: 4px 8px;
    color: #eeae31;
    font-size: 11px;
    letter-spacing: -.08em
}

.rating small {
    color: #9a9a95;
    font-size: 8px;
    letter-spacing: 0
}

.add-button {
    display: block;
    width: calc(100% - 16px);
    margin: 7px 8px 0;
    padding: 7px 2px;
    border: 0;
    border-radius: 8px;
    background: var(--charcoal);
    color: #fff;
    font-size: 9px;
    cursor: pointer;
    transition: background .2s
}

.add-button.added {
    background: #8eaf89
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(36, 40, 35, .35)
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 21;
    display: flex;
    width: min(390px, 100%);
    height: 100vh;
    padding: 24px;
    flex-direction: column;
    background: var(--cream);
    box-shadow: -10px 0 30px rgba(36, 40, 35, .12);
    transform: translateX(100%);
    transition: transform .25s ease
}

.cart-drawer.is-open {
    transform: translateX(0)
}

.cart-drawer-header,
.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cart-drawer-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.cart-drawer-header h2 {
    margin: 0;
    font: 600 24px var(--serif)
}

.cart-close {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--charcoal);
    font-size: 20px;
    line-height: 1;
    cursor: pointer
}

.cart-items {
    flex: 1;
    overflow-y: auto
}

.cart-empty {
    padding: 50px 0;
    color: var(--muted);
    text-align: center
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

.cart-item-image {
    width: 70px;
    height: 78px;
    flex: 0 0 auto;
    background-position: center;
    background-size: cover
}

.cart-item-details {
    min-width: 0;
    flex: 1
}

.cart-item-details h3 {
    margin: 0 0 6px;
    font: 500 12px/1.3 var(--serif)
}

.cart-item-details strong {
    font-size: 11px
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px
}

.cart-item-controls button {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--charcoal);
    cursor: pointer
}

.cart-item-controls button[data-action="remove"] {
    margin-left: auto;
    border: 0;
    font-size: 16px
}

.cart-drawer-footer {
    padding-top: 18px;
    border-top: 1px solid var(--line)
}

.cart-total {
    margin-bottom: 14px;
    font-size: 11px
}

.cart-total strong {
    font-size: 14px
}

.cart-clear,
.cart-checkout {
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    cursor: pointer
}

.cart-clear {
    margin-bottom: 8px;
    background: transparent;
    color: var(--muted)
}

.cart-checkout {
    background: var(--charcoal);
    color: #fff
}

.cart-is-open {
    overflow: hidden
}

.menu-footer {
    margin-top: 24px;
    padding: 19px 0;
    background: #fff;
    border-top: 1px solid var(--line)
}

@media(max-width:900px) {
    .menu-container {
        width: calc(100% - 36px)
    }

    .menu-nav {
        gap: 13px
    }

    .header-tools {
        gap: 10px
    }

    .search-box {
        width: 130px
    }

    .shop-layout {
        grid-template-columns: 135px 1fr;
        gap: 17px
    }

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

    .card-image {
        height: 130px
    }
}

@media(max-width:650px) {
    .menu-header {
        height: 62px
    }

    .menu-brand {
        min-width: 0
    }

    .menu-brand strong {
        font-size: 11px
    }

    .menu-brand small {
        font-size: 5px
    }

    .brand-symbol {
        width: 24px;
        height: 31px;
        font-size: 21px
    }

    .menu-nav,
    .search-box,
    .tool-button {
        display: none
    }

    .mobile-menu {
        display: flex;
        width: 25px;
        padding: 0;
        flex-direction: column;
        gap: 4px
    }

    .mobile-menu span {
        width: 20px;
        height: 1px;
        background: var(--charcoal)
    }

    .shop-hero {
        height: 360px;
        background-position: 67% center
    }

    .hero-copy {
        padding-top: 35px
    }

    .hero-copy h1 {
        font-size: 38px
    }

    .hero-note {
        right: 7%;
        top: 30px;
        font-size: 14px
    }

    .shop-layout {
        display: block;
        padding-top: 20px
    }

    .filters {
        display: flex;
        gap: 7px;
        padding-bottom: 13px;
        overflow-x: auto
    }

    .category {
        flex: 0 0 auto;
        width: auto;
        min-height: 32px;
        padding: 0 10px;
        background: #f2efe9;
        font-size: 9px
    }

    .category span {
        display: none
    }

    .filter-section {
        display: none
    }

    .product-heading h2 {
        font-size: 23px
    }

    .heading-art {
        display: none
    }

    .product-toolbar {
        flex-wrap: wrap;
        justify-content: flex-end
    }

    .product-toolbar>span {
        width: 100%;
        margin-bottom: 6px
    }

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

    .card-image {
        height: 145px
    }

    .shop-card h3 {
        font-size: 10px
    }

}