:root {
    --wine: #351923;
    --wine2: #4a2633;
    --ink: #171315;
    --ivory: #f8f5f1;
    --paper: #fffdfa;
    --nude: #d8b9b0;
    --muted: #837a7b;
    --line: #e5ddd8;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased
}

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

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

.announcement {
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wine);
    color: #f5e9e7;
    font-size: 9px;
    letter-spacing: 2.2px
}

.header {
    height: 82px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line)
}

.brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 2px 10px #35192318
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.brand-name {
    font: 600 22px var(--serif);
    letter-spacing: 1.5px
}

.brand small {
    font-size: 8px;
    letter-spacing: 2.4px;
    color: var(--muted)
}

.brand small i {
    font-style: normal;
    color: #a17a81
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 11px;
    color: #61575a
}

.nav a:hover,
.header-link:hover {
    color: #9a5968
}

.header-link {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 700
}

.header-link span {
    margin-left: 8px
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
    padding: 68px 9% 56px;
    align-items: center;
    gap: 7%;
    overflow: hidden;
    background: linear-gradient(115deg, #f8f5f1 0%, #f8f5f1 56%, #f0e7e2 56%, #f0e7e2 100%)
}

.eyebrow {
    margin: 0 0 18px;
    font-size: 9px;
    letter-spacing: 2.2px;
    color: #93616c;
    font-weight: 700
}

.eyebrow span {
    display: inline-block;
    width: 22px;
    height: 1px;
    background: #93616c;
    vertical-align: middle;
    margin-right: 9px
}

.hero h1 {
    font: 500 clamp(44px, 5vw, 72px)/1.08 var(--serif);
    letter-spacing: -2px;
    margin: 0;
    color: var(--wine)
}

.hero h1 em,
.intro h2 em,
.story-copy h2 em {
    font-weight: 500;
    color: #a66f7b
}

.hero-text {
    max-width: 410px;
    color: #706568;
    font-size: 12px;
    line-height: 1.9;
    margin: 22px 0 27px
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    background: var(--wine);
    color: white;
    padding: 15px 18px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    transition: background .2s
}

.primary-button:hover {
    background: #6a3547
}

.hero-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 46px;
    font-size: 8px;
    letter-spacing: 1.1px;
    color: #897d7f
}

.hero-foot span:first-child {
    color: #a66f7b
}

.hero-foot div {
    height: 1px;
    width: 38px;
    background: #cdb8b5
}

.hero-visual {
    height: 440px;
    position: relative
}

.hero-frame {
    position: absolute;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 55px #4b26331c
}

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

.frame-back {
    width: 53%;
    height: 76%;
    top: 4%;
    right: 5%;
    transform: rotate(4deg)
}

.frame-front {
    width: 47%;
    height: 68%;
    left: 4%;
    bottom: 2%;
    transform: rotate(-5deg);
    border: 8px solid var(--paper)
}

.hero-seal {
    position: absolute;
    right: 0;
    bottom: 9%;
    height: 78px;
    width: 78px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--wine);
    color: #f8f1eb;
    font: 9px var(--sans);
    letter-spacing: 1px;
    line-height: 1.2;
    box-shadow: 0 0 0 6px #f0e7e2
}

.hero-seal b {
    font: 600 16px var(--serif);
    letter-spacing: 0
}

.hero-side-note {
    position: absolute;
    top: 2%;
    left: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 7px;
    line-height: 1.8;
    letter-spacing: 2px;
    color: #9a7a7d
}

.section-wrap {
    padding: 74px 9%
}

.intro {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 10%;
    align-items: end;
    padding-top: 82px;
    padding-bottom: 74px
}

.intro h2,
.section-heading h2,
.story-copy h2 {
    font: 500 clamp(32px, 3.8vw, 48px)/1.15 var(--serif);
    letter-spacing: -1px;
    color: var(--wine);
    margin: 0
}

.intro-copy {
    font-size: 12px;
    line-height: 1.9;
    color: #796d70;
    max-width: 350px;
    margin: 0 0 5px
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px
}

.heading-index {
    font-size: 9px;
    color: #9c8a8b;
    letter-spacing: 1.5px
}

.category-section {
    padding-top: 12px;
    padding-bottom: 90px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.category-card {
    border: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    min-height: 320px;
    overflow: hidden;
    background: #e7d8d4;
    color: white
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    filter: saturate(.8)
}

.category-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1b11102e 0%, #21141700 36%, #211417d9 100%)
}

.category-card:hover img {
    transform: scale(1.045)
}

.category-number,
.category-bottom {
    position: relative;
    z-index: 1
}

.category-number {
    margin: 17px;
    font-size: 8px;
    letter-spacing: 1.4px;
    text-shadow: 0 1px 5px #0007
}

.category-bottom {
    padding: 0 17px 20px;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.category-bottom b {
    font: 500 22px var(--serif)
}

.category-bottom i {
    font-style: normal;
    font-size: 9px;
    letter-spacing: 1px
}

.coming-soon {
    background: #e9ded8;
    color: var(--wine);
    padding: 17px;
    min-height: 320px;
    border: 1px solid #ddcbc6
}

.coming-soon:after {
    background: linear-gradient(180deg, transparent 40%, #e9ded8 100%)
}

.coming-soon .category-number {
    margin: 0;
    color: #8c6e73;
    text-shadow: none
}

.coming-mark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 60px var(--serif);
    color: #c2a5a1;
    letter-spacing: -5px
}

.coming-mark span {
    font: 400 30px var(--sans);
    color: #8d5967;
    margin-left: 3px
}

.coming-soon .category-bottom {
    padding: 0 0 0
}

.coming-soon .category-bottom b {
    font-size: 22px
}

.coming-soon .category-bottom i {
    color: #8b6b70
}

.catalog-section {
    background: #f0e9e4;
    border-top: 1px solid #e6d9d3;
    border-bottom: 1px solid #e6d9d3
}

.catalog-inner {
    padding-top: 78px;
    padding-bottom: 86px
}

.catalog-intro {
    max-width: 280px;
    color: #796d70;
    font-size: 11px;
    line-height: 1.8;
    margin: 0
}

.catalog-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 30px 0 24px
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fbf8f4;
    border: 1px solid #ded1cb;
    padding: 0 13px;
    height: 42px;
    min-width: 230px
}

.search-box span {
    font-size: 22px;
    color: #98737a
}

.search-box input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 11px;
    color: var(--ink);
    min-width: 0
}

.search-box:focus-within {
    border-color: #9b6b77;
    box-shadow: 0 0 0 3px #9b6b7718
}

.search-clear {
    border: 0;
    background: transparent;
    color: #8d6a72;
    font-size: 19px;
    line-height: 1;
    padding: 3px 2px
}

.search-clear[hidden] {
    display: none
}

.filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.filter {
    border: 1px solid #d6c5bf;
    background: transparent;
    color: #6d5e62;
    padding: 10px 13px;
    font-size: 9px;
    transition: all .2s
}

.filter.active,
.filter:hover {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff
}

.catalog-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -5px 0 16px;
    color: #8b7779;
    font-size: 9px
}

.catalog-status p {
    margin: 0;
    letter-spacing: .4px
}

.sort-label {
    display: flex;
    align-items: center;
    gap: 9px
}

.sort-label select {
    border: 1px solid #d6c5bf;
    background: #fbf8f4;
    color: #4d373d;
    padding: 9px 28px 9px 10px;
    font: inherit;
    max-width: 180px
}

.sort-label select:focus-visible,
.filter:focus-visible,
.category-card:focus-visible,
.product-open:focus-visible,
.primary-button:focus-visible {
    outline: 2px solid #9b6b77;
    outline-offset: 3px
}

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

.product-card {
    min-width: 0;
    background: #fbf8f4;
    border: 1px solid #e4d9d4;
    transition: transform .2s, box-shadow .2s
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px #44232b10
}

.product-open {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    text-align: left;
    background: transparent;
    color: inherit
}

.product-image {
    height: 265px;
    position: relative;
    background: #eee4df;
    overflow: hidden
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.product-card:hover .product-image img {
    transform: scale(1.04)
}

.product-index {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 6px 7px;
    background: #fbf8f0e8;
    color: #6d4b54;
    font-size: 7px;
    letter-spacing: 1.1px
}

.product-arrow {
    position: absolute;
    right: 11px;
    bottom: 11px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fbf8f0;
    color: var(--wine);
    font-size: 14px
}

.product-info {
    padding: 16px 14px 15px
}

.product-category {
    margin: 0 0 9px;
    font-size: 8px;
    letter-spacing: 1px;
    color: #98717a;
    text-transform: uppercase
}

.product-category span {
    padding: 0 4px;
    color: #c5aaa7
}

.product-info h3 {
    margin: 0 0 17px;
    font: 500 15px/1.45 var(--serif);
    min-height: 43px;
    color: #3b252b
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    border-top: 1px solid #e8ddd8;
    padding-top: 12px
}

.price-pending {
    font-size: 9px;
    color: #9b777c
}

.view-details {
    font-size: 8px;
    color: #4e373d;
    letter-spacing: .3px
}

.catalog-note {
    font-size: 9px;
    line-height: 1.7;
    color: #8c7d7d;
    margin: 25px 0 0
}

.empty-state {
    grid-column: 1/-1;
    padding: 50px;
    text-align: center;
    border: 1px dashed #cdb8b5;
    color: #7b6269
}

.empty-state b {
    font: 500 24px var(--serif)
}

.empty-state p {
    font-size: 11px
}

.reset-catalog {
    margin-top: 10px;
    border: 1px solid #b89aa0;
    background: transparent;
    color: var(--wine);
    padding: 11px 15px;
    font-size: 10px;
    letter-spacing: .3px
}

.reset-catalog:hover {
    background: var(--wine);
    color: white
}

.brand-story {
    display: grid;
    grid-template-columns: .4fr 1.5fr .6fr;
    align-items: center;
    gap: 35px;
    padding-top: 85px;
    padding-bottom: 85px
}

.story-mark {
    width: 100px;
    height: 100px;
    border: 1px solid #c9aaa8;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 500 35px var(--serif);
    color: #8e5b67;
    letter-spacing: -3px
}

.story-copy h2 {
    font-size: clamp(27px, 3vw, 38px)
}

.story-copy>p:last-child {
    max-width: 450px;
    font-size: 11px;
    line-height: 1.9;
    color: #7c6e70;
    margin: 16px 0 0
}

.story-number {
    font-size: 8px;
    line-height: 2;
    letter-spacing: 1.6px;
    color: #9a7d80;
    text-align: right
}

.story-number b {
    font: 500 18px var(--serif);
    color: var(--wine)
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    padding: 30px 9%;
    background: var(--wine);
    color: #f7efeb
}

.footer .brand small {
    color: #cbb2b6
}

.footer .brand-logo {
    width: 46px;
    height: 46px;
    border: 1px solid #ffffff40
}

.footer p,
.footer>span {
    font-size: 8px;
    letter-spacing: 1px;
    color: #d4bfc0
}

.product-dialog {
    border: 0;
    padding: 0;
    width: min(760px, calc(100% - 28px));
    max-width: 760px;
    background: var(--ivory);
    color: var(--ink);
    box-shadow: 0 25px 100px #190b10aa
}

.product-dialog::backdrop {
    background: #1a1014a8;
    backdrop-filter: blur(4px)
}

.dialog-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: #f8f5f1d9;
    color: var(--wine);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 24px;
    z-index: 2
}

.dialog-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px
}

.dialog-image {
    background: #eee4df;
    min-height: 420px
}

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

.dialog-info {
    padding: 45px 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.dialog-info h2 {
    font: 500 29px/1.2 var(--serif);
    color: var(--wine);
    margin: 0 0 15px
}

.dialog-description {
    font-size: 11px;
    line-height: 1.9;
    color: #786b6e
}

.dialog-price {
    font: 500 16px var(--serif);
    color: #9a6b75;
    margin: 12px 0 22px
}

.detail-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 10px;
    color: #897a7d
}

.detail-line b {
    font-weight: 600;
    color: #4a3037;
    text-align: right
}

.detail-note {
    font-size: 9px;
    line-height: 1.7;
    color: #8a7b7d;
    margin-top: 18px
}

@media(max-width:1000px) {
    .hero {
        padding-left: 6%;
        padding-right: 6%;
        gap: 4%
    }

    .section-wrap {
        padding-left: 6%;
        padding-right: 6%
    }

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

    .category-card,
    .coming-soon {
        min-height: 300px
    }

    .product-image {
        height: 300px
    }

    .brand-story {
        grid-template-columns: .3fr 1.5fr
    }

    .story-number {
        grid-column: 2;
        text-align: left
    }
}

@media(max-width:650px) {
    .announcement {
        font-size: 8px;
        letter-spacing: 1.4px
    }

    .header {
        height: 72px;
        padding: 0 5%
    }

    .brand-name {
        font-size: 19px
    }

    .brand-logo {
        width: 42px;
        height: 42px
    }

    .nav {
        display: none
    }

    .header-link {
        font-size: 8px
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 46px 6% 38px;
        background: linear-gradient(180deg, #f8f5f1 0%, #f8f5f1 53%, #f0e7e2 53%, #f0e7e2 100%)
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -1.4px
    }

    .hero-text {
        font-size: 11px;
        margin: 18px 0 22px
    }

    .hero-foot {
        margin-top: 28px
    }

    .hero-visual {
        height: 310px;
        margin-top: 25px
    }

    .frame-back {
        height: 79%;
        width: 54%;
        right: 6%
    }

    .frame-front {
        height: 67%;
        width: 48%;
        left: 6%
    }

    .hero-seal {
        height: 65px;
        width: 65px;
        right: 1%;
        font-size: 8px
    }

    .hero-seal b {
        font-size: 14px
    }

    .section-wrap {
        padding: 55px 5%
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 55px;
        padding-bottom: 58px
    }

    .intro h2,
    .section-heading h2 {
        font-size: 34px
    }

    .category-section {
        padding-top: 0;
        padding-bottom: 60px
    }

    .category-grid {
        gap: 9px
    }

    .category-card,
    .coming-soon {
        min-height: 220px
    }

    .category-number {
        font-size: 7px;
        margin: 12px
    }

    .category-bottom {
        padding: 0 12px 14px
    }

    .category-bottom b {
        font-size: 18px
    }

    .category-bottom i {
        font-size: 8px
    }

    .coming-soon {
        padding: 12px
    }

    .coming-soon .category-bottom {
        padding: 0
    }

    .coming-mark {
        font-size: 47px
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px
    }

    .catalog-inner {
        padding-top: 55px;
        padding-bottom: 60px
    }

    .catalog-tools {
        align-items: stretch;
        flex-direction: column;
        margin-top: 24px
    }

    .search-box {
        width: 100%
    }

    .catalog-status {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin: 0 0 15px
    }

    .sort-label {
        width: 100%;
        justify-content: space-between
    }

    .sort-label select {
        max-width: none;
        flex: 1
    }

    .filters {
        gap: 6px
    }

    .filter {
        padding: 9px 10px;
        font-size: 8px
    }

    .product-grid {
        gap: 12px 8px
    }

    .product-image {
        height: 190px
    }

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

    .product-info h3 {
        font-size: 13px;
        min-height: 56px;
        margin-bottom: 12px
    }

    .product-category {
        font-size: 7px;
        line-height: 1.5
    }

    .product-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px
    }

    .price-pending,
    .view-details {
        font-size: 8px
    }

    .brand-story {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 60px;
        padding-bottom: 60px
    }

    .story-mark {
        width: 72px;
        height: 72px;
        font-size: 28px
    }

    .story-copy h2 {
        font-size: 29px
    }

    .story-number {
        grid-column: auto;
        text-align: left
    }

    .footer {
        padding: 26px 5%;
        gap: 14px
    }

    .footer p {
        width: 100%;
        order: 3
    }

    .dialog-layout {
        grid-template-columns: 1fr
    }

    .dialog-image {
        height: 270px;
        min-height: 0
    }

    .dialog-info {
        padding: 28px 22px
    }

    .dialog-info h2 {
        font-size: 25px
    }

    .product-dialog {
        max-height: 90dvh;
        overflow: auto
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important
    }
}


.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.product-thumbnail {
    width: 72px;
    height: 88px;
    padding: 3px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #ded6d3;
    border-radius: 6px;
    background: #fff;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnail.active {
    border: 2px solid #722f37;
}