:root {
    --hm-ivory: #FBF8F4;
    --hm-paper: #FFFFFF;
    --hm-ink: #2B2521;
    --hm-muted: #8C8076;
    --hm-line: #ECE4DA;
    --hm-blush: #EBD9D1;
    --hm-sage: #D9E0D4;
    --hm-gold: #C2A26B;
    --hm-gold-dark: #A98B53;
}

body.shop-curated {
    background: var(--hm-ivory);
    color: var(--hm-ink);
}

.shop-curated .site-header-shell {
    background: rgba(251, 248, 244, 0.88) !important;
    border-bottom-color: var(--hm-line) !important;
    box-shadow: none !important;
}

.shop-curated .site-header-shell::before {
    display: none;
}

.shop-curated .site-logo-responsive {
    filter: none;
}

.shop-curated .menu-top-link,
.shop-curated button.menu-top-link {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--hm-ink);
}

.shop-curated .menu-top-link:hover,
.shop-curated .menu-top-link:focus-visible,
.shop-curated button.menu-top-link:hover,
.shop-curated button.menu-top-link:focus-visible {
    color: var(--hm-gold-dark);
}

.shop-curated .menu-top-link::after,
.shop-curated button.menu-top-link::after {
    background: var(--hm-gold-dark);
}

.shop-curated .menu-mega-grid,
.shop-curated .menu-desktop-panel--list,
.shop-curated .mobile-menu-panel-shell,
.shop-curated .site-search,
.shop-curated .site-search-results,
.shop-curated .cart-drawer-panel {
    background: var(--hm-paper);
    border-color: var(--hm-line);
    box-shadow: 0 24px 80px rgba(43, 37, 33, 0.08);
}

.shop-curated .efs,
.shop-curated .hm-product-shell {
    color: var(--hm-ink);
}

.shop-curated .efs-wrap {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
}

.shop-curated .efs-head {
    padding: 2.5rem 0 1.5rem;
}

.shop-curated .efs-head .efs-wrap,
.collection-curated .site-width:first-of-type {
    background: var(--hm-paper);
    border: 1px solid var(--hm-line);
    border-radius: 30px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 18px 60px rgba(43, 37, 33, 0.06);
}

.shop-curated .efs-eyebrow,
.collection-curated .eyebrow,
.product-curated .eyebrow,
.product-curated .tag,
.collection-curated .tag {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--hm-gold-dark);
}

.shop-curated .efs-head h1,
.collection-curated .section-title,
.product-curated .section-title,
.product-curated h2.font-serif,
.collection-curated h2.font-serif {
    font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    color: var(--hm-ink);
    font-weight: 500;
}

.shop-curated .efs-head h1 {
    margin-top: 0.85rem;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.96;
}

.shop-curated .efs-head p,
.collection-curated .body-copy,
.collection-curated p.text-sm,
.product-curated p.text-sm,
.product-curated .text-\[color\:var\(--muted\)\] {
    color: var(--hm-muted);
}

.shop-curated .efs-search {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: var(--hm-ivory);
    border: 1px solid var(--hm-line);
    border-radius: 999px;
}

.shop-curated .efs-search svg {
    color: var(--hm-muted);
}

.shop-curated .efs-search input {
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 1rem;
    color: var(--hm-ink);
}

.shop-curated .efs-search input::placeholder {
    color: var(--hm-muted);
}

.shop-curated .efs-search button,
.product-curated .primary-button,
.collection-curated .primary-button {
    border: 0;
    border-radius: 999px;
    background: var(--hm-ink);
    color: #fff;
    padding: 0.9rem 1.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-curated .efs-search button:hover,
.product-curated .primary-button:hover,
.collection-curated .primary-button:hover {
    background: #17120f;
}

.shop-curated .efs-filters {
    padding-bottom: 0.8rem;
}

.shop-curated .efs-filters .efs-wrap {
    display: grid;
    gap: 1rem;
}

.shop-curated .efs-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    background: transparent;
}

.shop-curated .efs-rail-label {
    min-width: 6.2rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.68rem;
    color: var(--hm-muted);
}

.shop-curated .efs-chip {
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    background: var(--hm-paper);
    color: var(--hm-ink);
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.shop-curated .efs-chip[aria-current="true"],
.shop-curated .efs-chip:hover {
    background: var(--hm-blush);
    border-color: #dcc7bc;
    color: var(--hm-ink);
}

.shop-curated .efs-resultbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.4rem 0 1rem;
}

.shop-curated .efs-count,
.shop-curated .efs-reset {
    color: var(--hm-muted);
    font-size: 0.92rem;
}

.shop-curated .efs-reset:hover {
    color: var(--hm-gold-dark);
}

.shop-curated .efs-grid,
.collection-curated .grid.gap-5.md\:grid-cols-2.xl\:grid-cols-3,
.product-curated .grid.gap-4.md\:grid-cols-2.xl\:grid-cols-3 {
    display: grid;
    gap: 1.25rem;
}

.shop-curated .efs-grid,
.collection-curated .grid.gap-5.md\:grid-cols-2.xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-curated .efs-card {
    display: block;
    background: var(--hm-paper);
    border: 1px solid var(--hm-line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(43, 37, 33, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease;
    content-visibility: auto;
    contain-intrinsic-size: 520px 360px;
}

.shop-curated .efs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(43, 37, 33, 0.08);
}

.shop-curated .efs-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #f4ece5, var(--hm-blush));
}

.shop-curated .efs-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 180ms ease, transform 240ms ease;
}

.shop-curated .efs-card-img--alt {
    opacity: 0;
}

.shop-curated .efs-card:hover .efs-card-img--main {
    opacity: 0;
}

.shop-curated .efs-card:hover .efs-card-img--alt {
    opacity: 1;
}

.shop-curated .efs-card:hover .efs-card-img {
    transform: scale(1.02);
}

.shop-curated .efs-card-flag,
.shop-curated .efs-card-hint {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-curated .efs-card-flag {
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.92);
    color: var(--hm-gold-dark);
}

.shop-curated .efs-card-hint {
    right: 1rem;
    bottom: 1rem;
    background: rgba(43, 37, 33, 0.84);
    color: #fff;
}

.shop-curated .efs-card-body {
    padding: 1.2rem 1.2rem 1.35rem;
}

.shop-curated .efs-card-meta {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hm-muted);
}

.shop-curated .efs-card-title {
    margin-top: 0.6rem;
    font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    font-size: 2rem;
    line-height: 0.98;
    color: var(--hm-ink);
}

.shop-curated .efs-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-top: 0.95rem;
}

.shop-curated .efs-card-price {
    color: var(--hm-ink);
    font-weight: 600;
}

.shop-curated .efs-card-sample {
    color: var(--hm-muted);
    font-size: 0.82rem;
    text-align: right;
}

.shop-curated .efs-none,
.collection-curated .glass-panel,
.collection-curated .editorial-card,
.product-curated .glass-panel,
.product-curated .editorial-card {
    background: var(--hm-paper);
    border: 1px solid var(--hm-line);
    box-shadow: 0 18px 60px rgba(43, 37, 33, 0.06);
}

.shop-curated .efs-none {
    border-radius: 28px;
    padding: 2rem;
}

.product-curated .hm-product-shell nav,
.collection-curated nav {
    margin-bottom: 1.5rem;
}

.product-curated .product-gallery,
.collection-curated .editorial-card.overflow-hidden {
    border-radius: 28px;
}

.product-curated .product-gallery-main {
    background: linear-gradient(135deg, #f4ece5, var(--hm-blush)) !important;
}

.product-curated .product-gallery-controls {
    padding: 1rem 0.25rem 0;
}

.product-curated .product-gallery-arrow,
.product-curated .product-gallery-thumb {
    border-color: var(--hm-line);
    background: var(--hm-paper);
}

.product-curated .product-gallery-thumb.is-active {
    border-color: var(--hm-gold-dark);
}

.product-curated .glass-panel.p-6:first-of-type h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 0.96;
}

.product-curated .glass-panel.p-6:first-of-type {
    border-radius: 30px;
}

.product-curated .editorial-card.p-6 form,
.product-curated form.editorial-card {
    border-radius: 30px;
}

.product-curated form.editorial-card label,
.product-curated form.editorial-card fieldset,
.product-curated .rounded-\[22px\],
.product-curated .rounded-\[20px\],
.collection-curated .rounded-\[20px\],
.collection-curated .rounded-\[22px\] {
    border-color: var(--hm-line) !important;
}

.product-curated .secondary-button,
.collection-curated .secondary-button {
    border-radius: 999px;
    border: 1px solid var(--hm-ink);
    color: var(--hm-ink);
    background: transparent;
}

.product-curated .secondary-button:hover,
.collection-curated .secondary-button:hover {
    background: var(--hm-ink);
    color: #fff;
}

.product-curated .tag,
.collection-curated .tag {
    background: var(--hm-ivory);
    border: 1px solid var(--hm-line);
    color: var(--hm-gold-dark);
}

.product-curated .cart-drawer {
    z-index: 70;
}

.product-curated .cart-drawer-backdrop {
    background: rgba(24, 18, 15, 0.32);
}

.product-curated .cart-drawer-panel {
    background: var(--hm-paper);
}

.collection-curated .site-width.pb-8 .grid,
.collection-curated .site-width.pb-10 .grid {
    gap: 1.25rem;
}

.collection-curated .site-width.pb-8,
.collection-curated .site-width.pb-10 {
    padding-bottom: 2.25rem;
}

.product-curated .hm-product-shell > .grid > .space-y-5 > *:not(:first-child),
.collection-curated .site-width.pb-8,
.collection-curated .site-width.pb-10 {
    content-visibility: auto;
    contain-intrinsic-size: 620px;
}

.collection-curated .section-title,
.product-curated .section-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.98;
}

.collection-curated .site-width:first-of-type .section-title {
    margin-top: 0.9rem;
}

.collection-curated .site-width:first-of-type .body-copy {
    max-width: 46rem;
}

@media (max-width: 1279px) {
    .product-curated .hm-product-shell > .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-curated .hm-product-shell > .grid > * {
        min-width: 0;
        max-width: 100%;
    }

    .shop-curated .efs-grid,
    .collection-curated .grid.gap-5.md\:grid-cols-2.xl\:grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.shop-curated {
        background: var(--hm-ivory);
    }

    .shop-curated .site-header-shell {
        background: rgba(251, 248, 244, 0.96) !important;
    }

    .shop-curated .site-header-shell .site-width {
        padding-left: 14px;
        padding-right: 14px;
    }

    .shop-curated .site-header-shell .site-width > .flex {
        min-height: 62px;
    }

    .shop-curated .site-logo-responsive {
        height: min(var(--brand-logo-mobile-height), 36px);
    }

    .shop-curated .efs-wrap {
        width: min(100vw - 24px, 100%);
    }

    .shop-curated .efs-head {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .shop-curated .efs-head .efs-wrap,
    .collection-curated .site-width:first-of-type {
        border-radius: 24px;
        padding: 1.25rem;
        box-shadow: none;
    }

    .shop-curated .efs-head h1 {
        font-size: 2.45rem;
        line-height: 0.98;
    }

    .shop-curated .efs-head p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .shop-curated .efs-search {
        grid-template-columns: auto 1fr auto;
        border-radius: 20px;
        padding: 0.72rem 0.76rem;
    }

    .shop-curated .efs-search button {
        grid-column: auto;
        width: auto;
        min-height: 42px;
        padding: 0.7rem 0.95rem;
        font-size: 0.72rem;
    }

    .shop-curated .efs-search input {
        font-size: 0.95rem;
        min-width: 0;
    }

    .shop-curated .efs-rail {
        flex-wrap: nowrap;
        gap: 0.55rem;
        margin-right: -12px;
        overflow-x: auto;
        padding: 0 12px 0.4rem 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .shop-curated .efs-rail-label {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        align-self: center;
    }

    .shop-curated .efs-chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 0.62rem 0.86rem;
        white-space: nowrap;
    }

    .shop-curated .efs-resultbar {
        padding-top: 0.1rem;
        align-items: flex-start;
    }

    .shop-curated .efs-grid,
    .collection-curated .grid.gap-5.md\:grid-cols-2.xl\:grid-cols-3,
    .product-curated .grid.gap-4.md\:grid-cols-2.xl\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .shop-curated .efs-card {
        border-radius: 22px;
        box-shadow: none;
        contain-intrinsic-size: 450px 340px;
    }

    .shop-curated .efs-card-media {
        aspect-ratio: 1 / 1.08;
    }

    .shop-curated .efs-card-img--alt {
        display: none;
    }

    .shop-curated .efs-card:hover {
        transform: none;
        box-shadow: none;
    }

    .shop-curated .efs-card:hover .efs-card-img--main {
        opacity: 1;
    }

    .shop-curated .efs-card:hover .efs-card-img {
        transform: none;
    }

    .shop-curated .efs-card-body {
        padding: 1rem;
    }

    .shop-curated .efs-card-title {
        font-size: 1.55rem;
        line-height: 1.03;
    }

    .shop-curated .efs-card-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .shop-curated .efs-card-sample {
        text-align: left;
    }

    .shop-curated .efs-card-hint {
        display: none;
    }

    .shop-curated .efs-card-flag {
        top: 0.75rem;
        left: 0.75rem;
    }

    .product-curated .glass-panel.p-6:first-of-type h1 {
        font-size: 2.35rem;
        line-height: 1;
    }

    .product-curated .hm-product-shell {
        width: 100%;
        max-width: 100%;
        padding-top: 1.15rem;
        padding-bottom: 8.5rem;
    }

    .product-curated .hm-product-shell > .grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.15rem;
    }

    .product-curated .hm-product-shell > .grid > *,
    .product-curated .hm-product-shell > .grid > * > * {
        min-width: 0;
        max-width: 100%;
    }

    .product-curated .product-gallery,
    .product-curated .glass-panel.p-6:first-of-type,
    .product-curated form.editorial-card,
    .product-curated .editorial-card,
    .product-curated .glass-panel,
    .collection-curated .editorial-card,
    .collection-curated .glass-panel {
        border-radius: 22px;
        box-shadow: none;
    }

    .product-curated .product-gallery {
        padding: 0.65rem !important;
    }

    .product-curated .product-gallery-main,
    .product-curated .product-gallery-slide,
    .product-curated .product-gallery-slide img {
        border-radius: 18px;
    }

    .product-curated .product-gallery-thumbs {
        display: flex;
        width: 100%;
        grid-template-columns: none;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        padding-bottom: 0.25rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .product-curated .product-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .product-curated .product-gallery-thumb {
        flex: 0 0 64px;
        height: 64px;
        width: 64px;
        scroll-snap-align: start;
    }

    .product-curated form.editorial-card {
        padding: 1rem !important;
    }

    .product-curated form.editorial-card label,
    .product-curated form.editorial-card fieldset {
        border-radius: 18px !important;
        padding: 0.95rem !important;
    }

    .product-curated .primary-button,
    .product-curated .secondary-button,
    .collection-curated .primary-button,
    .collection-curated .secondary-button {
        max-width: 100%;
        min-height: 46px;
        padding: 0.78rem 1rem;
        font-size: 0.75rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .product-curated .fixed.inset-x-0.bottom-0 {
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }

    .product-curated .fixed.inset-x-0.bottom-0 > div {
        min-width: 0;
        max-width: 100%;
    }

    .product-curated .fixed.inset-x-0.bottom-0 .primary-button {
        min-width: 0 !important;
        flex: 0 1 auto;
    }

    .collection-curated .section-title,
    .product-curated .section-title {
        font-size: 2.25rem;
    }

    .collection-curated .site-width.pb-8,
    .collection-curated .site-width.pb-10 {
        padding-bottom: 1.5rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .shop-curated .efs-card:hover,
    .shop-curated .efs-card:hover .efs-card-img {
        transform: none;
    }

    .shop-curated .efs-card:hover .efs-card-img--main {
        opacity: 1;
    }

    .shop-curated .efs-card-img--alt {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-curated *,
    .shop-curated *::before,
    .shop-curated *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
