:root {
    --berry: #a90d52;
    --berry-deep: #720536;
    --berry-soft: #d75887;
    --gold: #d8aa68;
    --gold-light: #f4dca9;
    --cream: #fff8f1;
    --ink: #351c28;
    --muted: #745c66;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.header-inner {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-light);
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
    letter-spacing: -2px;
}

.brand-name {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .01em;
}

.brand-name em {
    font-size: 12px;
    color: #fff;
    font-family: var(--sans);
    font-style: normal;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    font-size: 13px;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, .82);
    transition: color .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
}

.nav-link.is-active::after {
    position: absolute;
    content: "";
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-light);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border: 1px solid #F2D99B;
    background: #F2D99B;
    color: #65002F;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .02em;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.nav-cta:hover {
    border-color: #65002F;
    background: #65002F;
    color: #F2D99B;
}

.nav-cta span,
.button span {
    font-size: 17px;
    line-height: 0;
}

.cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    cursor: pointer;
    font-family: var(--sans);
    font-size: 12px;
}

.cart-toggle:hover {
    color: #fff;
}

.cart-icon {
    color: var(--gold-light);
    font-size: 20px;
    line-height: .5;
    transform: rotate(45deg);
}

.cart-count {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 10px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: #fff;
    background: var(--berry-deep);
}

.hero-photo {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&w=2000&q=85") center 55% / cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(47, 3, 25, .87) 0%, rgba(84, 5, 39, .70) 39%, rgba(84, 5, 39, .15) 74%), linear-gradient(0deg, rgba(34, 3, 18, .42), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 720px;
    flex-direction: column;
    justify-content: center;
    padding-top: 62px;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border-radius: 50%;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 22px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 32px;
    height: 1px;
    background: var(--gold);
}

h1 {
    max-width: 720px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(50px, 6.2vw, 87px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.045em;
}

h1 em {
    color: var(--gold-light);
    font-style: italic;
    font-weight: 500;
}

.hero-copy {
    max-width: 430px;
    margin: 30px 0 34px;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 29px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    padding: 16px 21px;
    font-size: 12px;
    font-weight: 600;
}

.button-primary {
    background: var(--gold-light);
    color: var(--berry-deep);
}

.button-primary:hover {
    background: #fff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12px;
}

.text-link span {
    color: var(--gold-light);
    font-size: 18px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 72px;
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.note-line {
    width: 48px;
    height: 1px;
    background: var(--gold);
}

.scroll-hint {
    position: absolute;
    z-index: 1;
    right: 34px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-arrow {
    color: var(--gold-light);
    font-size: 20px;
}

.hero-petal {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(244, 220, 169, .35);
    border-radius: 100% 0 100% 0;
    transform: rotate(38deg);
}

.petal-one {
    width: 60px;
    height: 110px;
    right: 13%;
    top: 20%;
}

.petal-two {
    width: 30px;
    height: 55px;
    right: 9%;
    top: 29%;
    opacity: .7;
}

.intro-strip {
    padding: 54px 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr .7fr;
    align-items: center;
    gap: 40px;
}

.intro-label {
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.15;
}

.intro-label em {
    color: var(--berry);
    font-style: italic;
}

.intro-text {
    max-width: 490px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.intro-stamp {
    justify-self: end;
    width: 200px;
    height: ;
    padding: 15px 9px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--berry);
    font-family: var(--serif);
    font-size: 11px;
    line-height: 1.1;
    text-align: center;
    transform: rotate(10deg);
}

.intro-stamp strong {
    color: var(--gold);
    font-size: 15px;
    font-style: italic;
}

.catalog-section {
    padding: 104px 0 116px;
    background: #fffdf9;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.eyebrow-dark {
    margin-bottom: 16px;
    color: var(--berry);
}

.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.04em;
}

.section-heading h2 em {
    color: var(--berry);
    font-style: italic;
    font-weight: 500;
}

.demo-note {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
    text-align: right;
}

.category-filter {
    display: flex;
    gap: 25px;
    margin: 51px 0 27px;
    border-bottom: 1px solid #eadbd7;
}

.filter-button {
    position: relative;
    padding: 0 0 14px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: var(--sans);
    font-size: 12px;
    transition: color .2s ease;
}

.filter-button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--berry);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.filter-button:hover,
.filter-button.is-active {
    color: var(--berry);
}

.filter-button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(104, 35, 54, .06);
}

.product-image {
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: #f2e4dc;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-details {
    padding: 21px 20px 24px;
}

.product-category {
    margin: 0 0 8px;
    color: var(--berry);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-details h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.15;
}

.product-description {
    min-height: 42px;
    margin: 10px 0 19px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.product-price {
    color: var(--berry-deep);
    font-size: 12px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-add {
    padding: 7px 9px;
    border: 1px solid var(--berry);
    background: transparent;
    color: var(--berry);
    cursor: pointer;
    font-family: var(--sans);
    font-size: 10px;
    transition: background-color .2s ease, color .2s ease;
}

.product-add:hover {
    background: var(--berry);
    color: #fff;
}

.empty-products {
    margin: 32px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.cart-backdrop {
    position: fixed;
    z-index: 8;
    inset: 0;
    background: rgba(44, 5, 25, .42);
}

.cart-panel {
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    display: flex;
    width: min(420px, 100%);
    height: 100vh;
    padding: 34px 30px;
    flex-direction: column;
    background: var(--cream);
    box-shadow: -16px 0 40px rgba(48, 0, 25, .16);
    transform: translateX(100%);
    transition: transform .3s ease;
}

.cart-panel.is-open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid #eadbd7;
}

.cart-header .product-category {
    margin-bottom: 7px;
}

.cart-header h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
}

.cart-close {
    width: 32px;
    height: 32px;
    border: 1px solid #eadbd7;
    background: transparent;
    color: var(--berry);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #eadbd7;
}

.cart-item h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
}

.cart-item-price {
    color: var(--muted);
    font-size: 11px;
}

.cart-item-total {
    color: var(--berry-deep);
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}

.quantity-controls button {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid #dfc9c8;
    background: transparent;
    color: var(--berry);
    cursor: pointer;
    font-size: 16px;
}

.quantity-controls span {
    min-width: 13px;
    color: var(--ink);
    font-size: 12px;
    text-align: center;
}

.remove-item {
    margin-top: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
    text-decoration: underline;
}

.cart-empty {
    padding: 65px 20px;
    color: var(--muted);
    text-align: center;
}

.cart-empty span {
    color: var(--gold);
    font-size: 24px;
}

.cart-empty p {
    margin: 15px 0 6px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
}

.cart-empty small {
    font-size: 11px;
}

.cart-summary {
    padding-top: 20px;
    border-top: 1px solid #eadbd7;
}

.cart-summary>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.cart-summary strong {
    color: var(--berry-deep);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
}

.whatsapp-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding: 15px 17px;
    background: #238b52;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: background-color .2s ease, opacity .2s ease;
}

.whatsapp-order span {
    font-size: 17px;
    line-height: 0;
}

.whatsapp-order:hover {
    background: #176c3e;
}

.whatsapp-order.is-disabled {
    pointer-events: none;
    opacity: .42;
}

.cart-summary p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.site-footer {
    padding: 20px 0;
    background: var(--berry-deep);
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 40px, 520px);
    }

    .site-header {
        background: rgba(88, 4, 38, .32);
    }

    .header-inner {
        min-height: 76px;
    }

    .menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        place-content: center;
        gap: 7px;
        cursor: pointer;
    }

    .menu-line {
        display: block;
        width: 25px;
        height: 1px;
        background: currentColor;
        transition: transform .2s ease;
    }

    .main-navigation {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 20px;
        background: var(--berry-deep);
        box-shadow: 0 12px 24px rgba(48, 0, 25, .2);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .nav-link,
    .nav-cta {
        padding: 14px 0;
    }

    .cart-toggle {
        justify-content: space-between;
        padding: 14px 0;
    }

    .nav-link.is-active::after {
        bottom: 7px;
        width: 28px;
    }

    .nav-cta {
        justify-content: center;
        height: 31px;
        margin-top: 8px;
        padding: 0;
        border-width: 1px 0 0;
    }

    .hero,
    .hero-content {
        min-height: 680px;
    }

    .hero-photo {
        background-position: 64% center;
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(47, 3, 25, .87), rgba(84, 5, 39, .30)), linear-gradient(0deg, rgba(34, 3, 18, .66), transparent 60%);
    }

    .hero-content {
        padding-top: 80px;
        justify-content: center;
    }

    h1 {
        font-size: clamp(46px, 14vw, 68px);
    }

    .hero-copy {
        max-width: 360px;
        margin-top: 25px;
        font-size: 14px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px;
    }

    .hero-note {
        margin-top: 46px;
    }

    .scroll-hint {
        display: none;
    }

    .intro-grid {
        grid-template-columns: 1fr auto;
        gap: 24px;
    }

    .intro-text {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .intro-stamp {
        grid-column: 2;
        grid-row: 1;
    }

    .catalog-section {
        padding: 72px 0 80px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 21px;
    }

    .demo-note {
        margin: 0;
        text-align: left;
    }

    .category-filter {
        gap: 19px;
        margin-top: 37px;
        overflow-x: auto;
    }

    .filter-button {
        flex: 0 0 auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-details {
        padding: 16px 13px 18px;
    }

    .product-details h3 {     
        font-size: 13px! important;
    }    
    

    .product-description {
        min-height: 0;
        margin: 9px 0 15px;
        font-size: 11px;
    }

    .product-price {
        font-size: 11px;
    }

    .product-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .product-add {
        width: 100%;
    }

    .cart-panel {
        padding: 26px 20px;
    }

    .whatsapp-order {
        margin-top: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
