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

:root {
    font-family: 'DM Sans', sans-serif;
    color: #2d2822;
    background: #f8f7f4;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
}

button, input {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

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

:root {
    --ink: #2d2822;
    --brown: #574335;
    --gold: #c69a4c;
    --gold-light: #e5c587;
    --cream: #f8f7f4;
    --line: #e6e1d8;
    --muted: #8a8278;
}

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

.announcement {
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #32291f;
    color: #ded6c9;
    font-size: 11px;
    letter-spacing: .03em;
}

.announcement svg {
    color: var(--gold-light);
}

.announcement a {
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    font-weight: 600;
}

.header {
    height: 82px;
    background: rgba(248,247,244,.96);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 4;
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brown);
    letter-spacing: .04em;
}

.logo-mark {
    display: block;
    border-radius: 50%;
}

.logo strong, .logo small {
    display: block;
}

.logo strong {
    font-family: Georgia, serif;
    font-size: 16px;
    letter-spacing: .12em;
    line-height: 1;
}

.logo small {
    font-size: 8px;
    letter-spacing: .38em;
    text-align: center;
    color: var(--gold);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    font-size: 12px;
    color: #625a50;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-collections { position: relative; }
.nav-collections summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.nav-collections summary::-webkit-details-marker { display: none; }
.nav-collections[open] summary .store-icon { transform: rotate(180deg); }
.nav-collections-panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
    width: 22rem;
    max-height: min(28rem, 65vh);
    overflow: auto;
    padding: 0.75rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: 0 12px 30px rgb(49 38 28 / 14%);
}
.nav-collections-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}
.nav-collections-panel a {
    min-height: 44px;
    padding: 0.5rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.nav-collections-panel a:hover, .nav-collections-panel a:focus-visible {
    color: var(--brown);
    background: #f0e8de;
}
.nav-collections-panel .nav-collections-all {
    justify-content: space-between;
    background: #f0e8de;
    color: var(--brown);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-actions button, .mobile-toggle {
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    position: relative;
}

.mobile-toggle {
    display: none;
}

.hero {
    height: min(650px, calc(100vh - 119px));
    min-height: 540px;
    position: relative;
    overflow: hidden;
    background: #4b3a2d;
    color: white;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.72);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(42,29,20,.84) 0%, rgba(55,39,27,.46) 45%, rgba(34,24,17,.08) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1160px, calc(100% - 64px));
}

.eyebrow {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 20px;
    font-weight: 600;
}

.eyebrow span {
    display: inline-block;
    height: 1px;
    width: 29px;
    background: currentColor;
}

.eyebrow.light {
    color: var(--gold-light);
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(44px, 5.7vw, 75px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -.04em;
    margin: 0 0 22px;
}

.hero h1 em, h2 em {
    color: var(--gold-light);
    font-weight: 500;
}

.hero-copy {
    max-width: 380px;
    font-size: 14px;
    line-height: 1.8;
    color: #e4ded5;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    transition: transform .25s, background .25s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-gold {
    background: var(--gold);
    color: #fff;
}

.button-gold:hover {
    background: #b3873d;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--brown);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 6px;
}

.text-link.light {
    color: white;
    border-color: var(--gold-light);
}

.trust-strip {
    background: #efece6;
    border-bottom: 1px solid #e3ded5;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 25px 0;
}

.trust-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid #d9d3c8;
}

.trust-grid > div:last-child {
    border: 0;
}

.trust-grid svg {
    color: var(--gold);
}

.trust-grid span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trust-grid strong {
    font-size: 11px;
    font-weight: 600;
}

.trust-grid small {
    color: var(--muted);
    font-size: 10px;
}

.section {
    padding-top: 108px;
    padding-bottom: 108px;
}

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

.section-heading h2, .story-content h2, .newsletter h2 {
    font: 500 clamp(34px, 4vw, 48px)/1.12 'Playfair Display', Georgia, serif;
    letter-spacing: -.04em;
    margin: 0;
    color: var(--ink);
}

.category-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr 1fr;
    gap: 18px;
}

.category-card {
    position: relative;
    height: 365px;
    overflow: hidden;
    color: white;
}

.category-card:first-child {
    height: 430px;
}

.category-card img, .category-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.category-card img {
    object-fit: cover;
    transition: transform .6s;
}

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

.category-overlay {
    background: linear-gradient(0deg, rgba(36,28,21,.7), transparent 65%);
}

.category-content {
    position: absolute;
    left: 25px;
    bottom: 25px;
}

.category-content span {
    font-size: 10px;
    color: #e8d6b3;
    letter-spacing: .09em;
}

.category-content h3 {
    font: 500 28px 'Playfair Display', Georgia, serif;
    margin: 7px 0 0;
}

.category-content svg {
    position: absolute;
    left: 160px;
    bottom: 4px;
    color: var(--gold-light);
}

.products-section {
    background: #efede8;
    max-width: none;
    padding-top: 94px;
    padding-bottom: 115px;
}

.products-section > .container {
    width: min(1160px, calc(100% - 64px));
}

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

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

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

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

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f8f7f4;
    color: var(--brown);
    font-size: 9px;
    padding: 6px 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.favorite {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.85);
    color: var(--brown);
    cursor: pointer;
}

.favorite.active {
    color: #ad4740;
}

.quick-add {
    position: absolute;
    bottom: -50px;
    left: 14px;
    right: 14px;
    border: 0;
    padding: 14px;
    display: flex;
    justify-content: center;
    gap: 11px;
    align-items: center;
    background: var(--brown);
    color: white;
    font-size: 11px;
    cursor: pointer;
    transition: bottom .3s;
}

.product-card:hover .quick-add {
    bottom: 14px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 18px;
}

.product-info p, .product-meta {
    color: var(--muted);
    font-size: 10px;
    margin: 0;
}

.product-info h3 {
    font: 500 24px 'Playfair Display', Georgia, serif;
    margin: 5px 0 0;
}

.product-info strong {
    font-size: 13px;
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
}

.story-section {
    padding: 112px 0;
    background: #e6dfd3;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.story-image {
    position: relative;
    height: 515px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.story-content h2 {
    font-size: clamp(42px, 4.5vw, 59px);
    margin-bottom: 25px;
}

.story-content > p:not(.eyebrow) {
    max-width: 410px;
    color: #6e6459;
    font-size: 13px;
    line-height: 1.85;
    margin: 0 0 15px;
}

.story-content .button {
    margin-top: 18px;
}

.newsletter {
    background: #32291f;
    color: white;
    padding: 74px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.newsletter h2 {
    color: white;
    font-size: 40px;
}

.newsletter p:not(.eyebrow) {
    color: #b9b0a5;
    font-size: 13px;
    margin: 13px 0 0;
}

.footer {
    background: #f8f7f4;
}

.footer-top {
    padding: 65px 0 58px;
    display: flex;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 95px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links strong {
    font-size: 11px;
    color: var(--brown);
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--muted);
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 19px 0;
    color: #a49d92;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: .02em;
}

.search-modal {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: #f8f7f4;
    padding: 12vh max(32px, calc((100% - 760px)/2));
}

.close-search {
    position: absolute;
    top: 32px;
    right: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--brown);
}

.search-modal h2 {
    font: 500 58px/1.1 'Playfair Display';
    margin: 0 0 50px;
}

.search-modal h2 em {
    color: var(--gold);
}

.search-input {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--brown);
    padding: 14px 0;
}

.search-input input {
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
    flex: 1;
    color: var(--ink);
}

@media (max-width: 800px) {
    .container, .products-section > .container, .hero-content {
        width: min(100% - 40px, 600px);
    }
    .header {
        height: 72px;
    }
    .mobile-toggle {
        display: block;
    }
    .logo {
        margin-right: auto;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: start;
        padding: 25px 20px;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        gap: 20px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-collections { width: 100%; }
    .nav-collections summary { justify-content: space-between; }
    .nav-collections-panel {
        position: static;
        width: 100%;
        max-height: min(19rem, 44dvh);
        box-shadow: none;
    }
    .nav-collections-panel ul { grid-template-columns: 1fr; }
    .hero {
        min-height: 610px;
        height: calc(100vh - 109px);
    }
    .hero-image {
        object-position: 62% center;
    }
    .hero h1 {
        font-size: 48px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        width: min(100% - 40px, 600px);
        padding: 15px 0;
    }
    .trust-grid > div {
        justify-content: start;
        border-right: 0;
        border-bottom: 1px solid #d9d3c8;
        padding: 12px 0;
    }
    .section {
        padding-top: 75px;
        padding-bottom: 75px;
    }
    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 22px;
    }
    .category-grid, .product-grid {
        grid-template-columns: 1fr;
    }
    .category-card, .category-card:first-child {
        height: 290px;
    }
    .product-image {
        height: 380px;
    }
    .quick-add {
        bottom: 14px;
    }
    .story-section {
        padding: 70px 0;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .story-image {
        height: 400px;
    }
    .newsletter-inner {
        flex-direction: column;
        align-items: start;
        gap: 35px;
    }
    .footer-top {
        flex-direction: column;
        gap: 45px;
    }
    .footer-links {
        gap: 30px;
        flex-wrap: wrap;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .announcement {
        font-size: 9px;
    }
    .announcement a {
        display: none;
    }
    .nav-actions {
        gap: 10px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero-actions {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }
    .search-modal {
        padding: 110px 25px;
    }
    .search-modal h2 {
        font-size: 44px;
    }
    .close-search {
        right: 20px;
    }
}

/* Catalog and product detail */

.announcement button, .nav-links button, .footer-links button {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
}

.announcement button {
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
}

.nav-links button {
    font-size: 12px;
    color: #625a50;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links button:hover {
    color: var(--gold);
}

.footer-links button {
    color: var(--muted);
    font-size: 11px;
    text-align: left;
    padding: 0;
}

.footer-links button:hover {
    color: var(--gold);
}

.product-click {
    border: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

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

.product-info {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.listing-page {
    background: var(--cream);
    padding-bottom: 110px;
    min-height: 800px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 10px;
    padding-top: 32px;
}

.breadcrumb button {
    border: 0;
    background: transparent;
    color: var(--brown);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    font-size: 10px;
}

.listing-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-top: 68px;
    padding-bottom: 66px;
}

.listing-heading h1 {
    font: 500 clamp(45px, 5.5vw, 68px)/1.05 'Playfair Display', Georgia, serif;
    letter-spacing: -.05em;
    margin: 0 0 20px;
}

.listing-heading h1 em {
    color: var(--gold);
}

.listing-heading > div:first-child > p:last-child {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.listing-count {
    color: var(--brown);
    font: 500 32px 'Playfair Display', Georgia, serif;
}

.listing-count span {
    color: var(--muted);
    font: 11px 'DM Sans';
    margin-left: 5px;
}

.catalog-toolbar {
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 20px;
}

.catalog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: var(--muted);
}

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

.filter-toggle {
    display: none;
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
}

.sort-select select {
    border: 0;
    appearance: none;
    background: transparent;
    color: var(--brown);
    font-size: 11px;
    outline: 0;
    cursor: pointer;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 55px;
    padding-top: 42px;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.filter-title strong {
    font-size: 12px;
}

.filter-title button {
    border: 0;
    background: transparent;
    color: var(--gold);
    font-size: 10px;
    cursor: pointer;
}

.filter-group {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.filter-group h3 {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.filter-options button {
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 9px;
}

.filter-options button.selected {
    color: var(--brown);
    font-weight: 600;
}

.filter-options button span {
    width: 15px;
    height: 15px;
    border: 1px solid #c9c1b5;
    display: grid;
    place-items: center;
    color: var(--gold);
}

.filter-options button.selected span {
    border-color: var(--gold);
}

.catalog-results .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
}

.catalog-results .product-image {
    height: 285px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.active-filters button {
    border: 1px solid #d9cdbb;
    background: #f2eee7;
    color: var(--brown);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    font-size: 10px;
    cursor: pointer;
}

.empty-results {
    min-height: 320px;
    display: grid;
    place-content: center;
    justify-items: center;
    color: var(--muted);
    text-align: center;
}

.empty-results h3 {
    color: var(--brown);
    font: 500 24px 'Playfair Display';
    margin: 18px 0 8px;
}

.empty-results p {
    font-size: 12px;
    margin: 0;
}

.detail-page {
    background: var(--cream);
    padding-bottom: 110px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 85px;
    padding-top: 55px;
}

.detail-main-image {
    height: 630px;
    background: #e8e3da;
    overflow: hidden;
}

.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-thumbs {
    display: flex;
    gap: 11px;
    margin-top: 14px;
}

.detail-thumbs button {
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    width: 72px;
    height: 72px;
    cursor: pointer;
    opacity: .6;
}

.detail-thumbs button.active {
    border-color: var(--gold);
    opacity: 1;
}

.detail-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy {
    padding-top: 37px;
}

.detail-copy h1 {
    font: 500 55px 'Playfair Display', Georgia, serif;
    letter-spacing: -.04em;
    margin: 0 0 13px;
}

.detail-price {
    margin: 34px 0 20px;
    font-size: 22px;
    font-weight: 600;
    color: var(--brown);
}

.detail-price small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
    margin-left: 7px;
}

.detail-description {
    color: #766b5f;
    font-size: 13px;
    line-height: 1.8;
    max-width: 440px;
    margin: 0;
}

.detail-rule {
    border-top: 1px solid var(--line);
    margin: 30px 0 26px;
}

.choice-block {
    margin-bottom: 25px;
}

.choice-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 13px;
    font-size: 11px;
}

.choice-label > span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    font-size: 10px;
}

.size-options {
    display: flex;
    gap: 8px;
}

.size-options button {
    border: 1px solid #d8d1c6;
    background: transparent;
    padding: 12px 15px;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.size-options button.active {
    border-color: var(--brown);
    color: var(--brown);
    background: #eee9e0;
}

.detail-add {
    width: 100%;
    border: 0;
    background: var(--brown);
    color: white;
    padding: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    font-size: 12px;
    cursor: pointer;
    transition: background .25s;
}

.detail-add:hover {
    background: #3c3026;
}

.detail-info {
    margin-top: 110px;
    padding-top: 75px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
}

.detail-info h2 {
    font: 500 45px/1.1 'Playfair Display';
    margin: 0;
}

.detail-info h2 em {
    color: var(--gold);
}

.detail-info-copy {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    padding-top: 25px;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 10px;
}

.detail-specs span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-specs b {
    color: var(--brown);
    font-size: 11px;
}

@media (max-width: 800px) {
    .listing-heading {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .listing-count {
        margin-top: 25px;
    }
    .catalog-toolbar {
        flex-wrap: wrap;
    }
    .catalog-search {
        flex-basis: 100%;
        order: 1;
    }
    .filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        border: 1px solid var(--line);
        background: transparent;
        color: var(--brown);
        padding: 10px 13px;
        font-size: 11px;
    }
    .sort-select {
        margin-left: auto;
    }
    .filters {
        display: none;
    }
    .filters.open {
        display: block;
        position: fixed;
        z-index: 5;
        inset: auto 0 0;
        background: var(--cream);
        padding: 25px 20px;
        box-shadow: 0 -15px 35px rgba(45,40,34,.12);
        max-height: 70vh;
        overflow-y: auto;
    }
    .catalog-layout {
        display: block;
        padding-top: 28px;
    }
    .catalog-results .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 14px;
    }
    .catalog-results .product-image {
        height: 260px;
    }
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 35px;
    }
    .detail-main-image {
        height: 500px;
    }
    .detail-copy {
        padding-top: 0;
    }
    .detail-copy h1 {
        font-size: 47px;
    }
    .detail-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 75px;
        padding-top: 55px;
    }
    .detail-info-copy {
        padding-top: 0;
    }
}

@media (max-width: 520px) {
    .listing-heading {
        display: block;
    }
    .listing-heading h1 {
        font-size: 48px;
    }
    .catalog-results .product-grid {
        grid-template-columns: 1fr;
    }
    .catalog-results .product-image {
        height: 370px;
    }
    .detail-main-image {
        height: 390px;
    }
    .size-options button {
        flex: 1;
        padding: 11px 5px;
        font-size: 10px;
    }
    .detail-info h2 {
        font-size: 39px;
    }
}

/* Razor storefront integration */
.home-content {
    container-type: inline-size;
}

.home-content > .row {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
    margin-block-start: 0;
}

.home-content > .row > .home-full {
    width: 100cqw;
    max-width: none;
    margin-inline-start: calc((100% - 100cqw) / 2);
    margin-block-start: 0;
    padding-inline: 0;
}

.home-content .category-card {
    background: #4b3a2d;
}


body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', system-ui, sans-serif;
}

.site-shell {
    flex: 1;
    min-width: 0;
}

.site-shell .container {
    padding-inline: 0;
    max-width: none;
}

.site-shell [hidden] {
    display: none !important;
}

.site-shell :where(a, button, input, select, textarea):focus-visible, .search-modal :focus-visible {
    outline: 2px solid #875c26;
    outline-offset: 3px;
}

.site-shell .category-card {
    display: block;
}

.store-icon {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.nav-actions .store-icon, .mobile-toggle .store-icon {
    width: 19px;
    height: 19px;
}

.announcement > .store-icon {
    width: 14px;
    height: 14px;
}

.hero-actions .store-icon {
    width: 17px;
    height: 17px;
}

.trust-grid .store-icon {
    width: 23px;
    height: 23px;
}

.site-shell .product-info {
    color: var(--ink);
}

.store-price {
    display: grid;
    justify-items: end;
    flex: none;
    gap: .15rem;
}

.store-price del, .detail-price del {
    color: var(--muted);
    font-size: .8em;
    font-weight: 400;
}

.detail-price del {
    margin-inline-end: .5em;
}

.product-card:focus-within .quick-add {
    bottom: 14px;
}

.favorite.active .store-icon, .detail-favorite.active .store-icon {
    fill: currentColor;
}

.store-image-empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #a18b6c;
}

.store-image-empty .store-icon {
    width: 28px;
    height: 28px;
}

.store-empty {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    color: var(--brown);
}

.listing-count b {
    font-weight: inherit;
}

.filter-title a {
    color: var(--gold);
    font-size: 10px;
}

.filter-options a {
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: start;
    font-size: 11px;
    color: var(--muted);
}

.filter-options a.selected {
    color: var(--brown);
    font-weight: 600;
}

.filter-options a span {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border: 1px solid #c9c1b5;
    color: var(--gold);
}

.filter-options a.selected span {
    border-color: var(--gold);
}

.filter-options .store-icon {
    width: 12px;
    height: 12px;
}

.active-filters:empty {
    display: none;
}

.active-filters a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #d9cdbb;
    background: #f2eee7;
    color: var(--brown);
    font-size: 10px;
}

.store-toolbar-submit, .search-input button, .filter-close {
    border: 0;
    background: transparent;
    color: var(--brown);
}

.store-toolbar-submit {
    display: grid;
    place-items: center;
    width: 20px;
    height: 17px;
    padding: 0;
}

.filter-close {
    display: none;
}

.detail-favorite {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--brown);
    font-size: 12px;
    margin-top: 16px;
    padding: 0;
}

.size-options {
    flex-wrap: wrap;
}

.detail-info-copy .content-parts {
    margin-top: 2rem;
}

.store-contact {
    width: min(100%, 365px);
    flex: none;
}

.store-contact .contact-form {
    gap: .75rem;
}

.store-contact .form-control {
    background: #3c3125;
    color: #fff;
    border: 1px solid #7d6c57;
    border-radius: 0;
    font-size: .875rem;
}

.store-contact .form-label {
    color: #e5dacb;
    font-size: .75rem;
}

.store-contact .contact-form .btn-primary {
    border-color: var(--gold);
    background: var(--gold);
    color: #221a12;
    border-radius: 0;
}

.store-contact [data-contact-status]:empty {
    display: none;
}

.search-modal {
    margin: 0;
    border: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    color: var(--ink);
}

.search-modal::backdrop {
    background: #32291f;
}

.search-input input {
    min-width: 0;
}

@media (max-width: 800px) {
    .nav-wrap {
        gap: 12px;
    }
    .filter-close {
        display: inline-flex;
    }
    .store-toolbar-submit {
        order: 2;
    }
}

@media (max-width: 420px) {
    .announcement a {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .site-shell *, .site-shell *::before, .site-shell *::after {
        transition-duration: 0s !important;
    }
}

.detail-ar-open[hidden], .rug-ar-actions [hidden] { display: none; }
.detail-ar-open {
    width: 100%;
    min-height: 3.25rem;
    margin: 0 0 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--brown);
    background: #f3ede5;
    color: var(--brown);
    font-size: 1rem;
    font-weight: 700;
}
.detail-ar-open:hover { background: #eae0d4; }
.detail-ar-open:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: 3px;
}
.rug-ar-dialog {
    width: min(32rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: clamp(1rem, 4vw, 2rem);
    border: 0;
    border-radius: 0.75rem;
    background: #fffdf8;
    color: #28231e;
}
.rug-ar-dialog::backdrop { background: rgb(27 23 19 / 60%); }
.rug-ar-dialog h2 { padding-inline-end: 3rem; }
.rug-ar-close {
    position: absolute;
    inset: 0.75rem 0.75rem auto auto;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    background: #eee8df;
}
.rug-ar-preview {
    display: grid;
    min-height: 13rem;
    height: min(22rem, 43dvh);
    overflow: hidden;
    place-items: center;
    perspective: 38rem;
    background: #eae2d6;
    border-radius: 0.5rem;
}
.rug-ar-preview img {
    display: block;
    height: 72%;
    max-width: 68%;
    aspect-ratio: var(--rug-ratio, 2 / 3);
    object-fit: fill;
    transform: rotateX(48deg) rotateZ(var(--rug-angle, 0deg));
    box-shadow: 0 0.4rem 1rem rgb(34 26 18 / 25%);
}
.rug-ar-angle { display: grid; gap: 0.25rem; margin-block: 0.75rem; }
.rug-ar-angle input { min-height: 2rem; width: 100%; accent-color: #403124; }
.rug-ar-actions { display: grid; gap: 0.5rem; }
.rug-ar-actions a {
    display: grid;
    min-height: 2.75rem;
    place-items: center;
    border-radius: 0.35rem;
    background: #28231e;
    color: #fffdf8;
}
.rug-ar-actions [data-ar-apple] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.rug-ar-actions [data-ar-apple][hidden] { display: none; }
.rug-ar-actions [data-ar-apple]::after { content: attr(data-label); }
.rug-ar-actions a img { width: 1.5rem; height: 1.5rem; object-fit: cover; border-radius: 0.2rem; }
.rug-ar-actions p { margin: 0; font-size: 0.875rem; }
