:root {
    --navy: #182061;
    --orange: #ff7000;

    --paper: #fbf8f4;
    --cream: #f7f1ea;

    --blush: #f8e9e7;
    --sage: #eaf1e7;
    --lavender: #f1eaf6;
    --powder: #eaf0f8;

    --ink: #2f2a2d;
    --muted: #756e6a;
    --line: #e5ddd6;

    --green: #557632;

    --white: #fff;

    --container: 1260px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--ink);
    background: var(--paper);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.container {
    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin-inline: auto;
}

svg {
    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background:
        rgba(251,248,244,.98);

    border-bottom:
        1px solid var(--line);

    backdrop-filter: blur(14px);
}

.header-main {
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 18px;
}

.brand img {
    width: 130px;
}

.categories-button {
    display: flex;
    align-items: center;

    gap: 7px;

    white-space: nowrap;

    font-size: 13px;
    font-weight: 700;
}

.categories-button svg {
    width: 15px;
    height: 15px;
}

.top-search {
    height: 44px;

    flex: 1;

    display: flex;

    overflow: hidden;

    border:
        2px solid #453f43;

    border-radius: 999px;

    background: white;
}

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

    flex: 1;

    padding: 0 18px;

    border: 0;
    outline: 0;

    background: transparent;
}

.top-search button {
    width: 44px;
    height: 44px;

    margin:
        -2px -2px -2px 0;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    color: white;
    background: var(--orange);
}

.top-search button svg {
    width: 19px;
    height: 19px;
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 13px;
    font-weight: 700;
}

.header-icon {
    width: 33px;
    height: 33px;

    display: grid;
    place-items: center;
}

.header-icon svg {
    width: 19px;
    height: 19px;
}

.category-nav {
    border-top:
        1px solid rgba(229,221,214,.7);
}

.category-nav-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 33px;

    overflow-x: auto;

    white-space: nowrap;

    scrollbar-width: none;

    font-size: 12px;
    font-weight: 600;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}


/* HOME */

.home-intro {
    padding:
        65px 0 54px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            var(--blush),
            var(--paper)
        );
}

.home-intro h1 {
    margin: 0;

    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(48px,6vw,72px);

    font-weight: 500;

    line-height: 1;
}

.home-intro h1 em {
    display: block;

    font-weight: 400;
}

.home-intro p {
    max-width: 610px;

    margin:
        20px auto 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;
}

.category-showcase,
.market-section,
.related-section {
    padding: 55px 0;
}

.section-title {
    margin-bottom: 25px;
}

.section-title.centered {
    text-align: center;
}

.section-title span,
.eyebrow,
.profile-card > div:last-child > span {
    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
}

.section-title h2 {
    margin: 6px 0 0;

    font-family:
        Georgia,
        serif;

    font-size: 32px;
    font-weight: 500;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.section-title-row > a {
    padding: 8px 16px;

    border:
        1px solid #4a4447;

    border-radius: 999px;

    background: white;

    font-size: 11px;
    font-weight: 700;
}

.category-circles {
    display: grid;

    grid-template-columns:
        repeat(6,1fr);

    gap: 25px;
}

.category-circle {
    text-align: center;
}

.category-circle > div {
    overflow: hidden;

    aspect-ratio: 1;

    border-radius: 50%;

    background: var(--cream);
}

.category-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.category-circle strong {
    display: block;

    margin-top: 11px;

    font-size: 13px;
}

.editorial-strip {
    padding: 20px 0 55px;
}

.editorial-strip-inner {
    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 48px;

    border-radius: 22px;

    background: var(--lavender);
}

.editorial-strip span {
    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
}

.editorial-strip h2 {
    max-width: 620px;

    margin:
        10px 0;

    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size: 42px;
    font-weight: 500;
}

.editorial-strip p {
    max-width: 610px;

    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}

.editorial-strip a {
    flex: 0 0 auto;

    padding: 12px 20px;

    border:
        1px solid var(--ink);

    border-radius: 999px;

    background: white;

    font-size: 12px;
    font-weight: 700;
}


/* DESIGN CARDS */

.design-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:
        34px 16px;
}

.design-card-image {
    position: relative;

    display: block;

    overflow: hidden;

    border-radius: 10px;

    background: var(--cream);
}

.design-card-image img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    transition:
        transform .2s ease;
}

.design-card:hover img {
    transform: scale(1.018);
}

.favorite-button,
.gallery-heart {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    color: var(--ink);
    background:
        rgba(255,255,255,.95);

    box-shadow:
        0 5px 18px
        rgba(0,0,0,.10);
}

.favorite-button {
    position: absolute;

    top: 10px;
    right: 10px;
}

.favorite-button svg,
.gallery-heart svg {
    width: 18px;
    height: 18px;
}

.design-card-info {
    padding-top: 9px;
}

.design-card-title {
    display: block;

    overflow: hidden;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.designer-name {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}

.design-rating {
    margin-top: 6px;

    font-size: 11px;
}

.design-rating span {
    color: var(--muted);
}

.design-card-bottom {
    margin-top: 6px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.design-card-bottom strong {
    color: var(--green);

    font-size: 17px;
}

.design-card-bottom span {
    color: var(--muted);

    font-size: 10px;
}


/* BROWSE */

.browse-intro {
    padding: 45px 0 0;

    text-align: center;
}

.browse-intro h1 {
    margin: 0;

    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size: 45px;
    font-weight: 500;
}

.browse-intro p {
    max-width: 650px;

    margin:
        9px auto 0;

    color: var(--muted);
}

.filter-row,
.design-filter-row {
    display: flex;
    align-items: center;

    gap: 8px;

    overflow-x: auto;

    white-space: nowrap;

    scrollbar-width: none;
}

.filter-row {
    margin-top: 31px;

    padding-bottom: 18px;

    border-bottom:
        1px solid var(--line);
}

.filter-row::-webkit-scrollbar,
.design-filter-row::-webkit-scrollbar {
    display: none;
}

.filter-row button,
.design-filter-row button {
    min-height: 36px;

    padding: 0 14px;

    border:
        1px solid #c8bfb8;

    border-radius: 999px;

    background: white;

    font-size: 11px;
    font-weight: 600;
}

.filter-row button:hover,
.design-filter-row button:hover,
.design-filter-row button.active {
    background: var(--ink);
    color: white;
}

.sort-control {
    margin-left: auto;

    font-size: 11px;
    font-weight: 700;
}

.browse-results {
    padding-top: 24px;
}

.result-count {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 11px;
}


/* BREADCRUMBS */

.breadcrumbs {
    padding: 18px 0 0;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;

    gap: 4px;

    color: var(--muted);

    font-size: 11px;
}

.breadcrumbs svg {
    width: 12px;
    height: 12px;
}


/* DESIGN HUB */

.design-hub-hero {
    padding:
        35px 0 45px;
}

.design-hub-heading {
    display: grid;

    grid-template-columns:
        250px
        minmax(0,650px);

    gap: 35px;

    align-items: center;

    justify-content: center;
}

.design-hub-art {
    overflow: hidden;

    border-radius: 50%;

    background: var(--powder);
}

.design-hub-art img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;
}

.design-hub-heading h1 {
    margin:
        8px 0 12px;

    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(41px,5vw,60px);

    font-weight: 500;
}

.design-hub-heading p {
    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}

.design-by {
    margin-top: 16px;

    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    font-size: 12px;
}

.design-by > span:first-child {
    color: var(--muted);
}

.design-by a {
    font-weight: 700;
}

.design-rating {
    margin-left: 8px;
}

.design-hub-meta {
    margin-top: 18px;

    display: flex;

    gap: 9px;
}

.design-hub-meta span {
    padding:
        7px 11px;

    border-radius: 999px;

    background: var(--cream);

    font-size: 10px;
}

.design-collections {
    padding:
        5px 0 35px;
}

.design-collection-row {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 13px;
}

.design-collection-bubble {
    min-height: 105px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px;

    border-radius: 16px;
}

.design-collection-bubble.blush {
    background: var(--blush);
}

.design-collection-bubble.sage {
    background: var(--sage);
}

.design-collection-bubble.lavender {
    background: var(--lavender);
}

.design-collection-bubble.powder {
    background: var(--powder);
}

.design-collection-bubble strong {
    font-family:
        Georgia,
        serif;

    font-size: 19px;
    font-weight: 500;
}

.design-collection-bubble span {
    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;
}

.design-shop {
    padding:
        50px 0 65px;

    background: white;
}

.design-shop-heading h2 {
    margin: 0;

    font-family:
        Georgia,
        serif;

    font-size: 34px;
    font-weight: 500;
}

.design-shop-heading p {
    margin:
        6px 0 0;

    color: var(--muted);
}

.design-filter-row {
    margin:
        24px 0;
}


/* LISTING CARDS */

.listing-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:
        32px 15px;
}

.listing-card.is-hidden {
    display: none;
}

.listing-image {
    position: relative;

    display: block;

    overflow: hidden;

    border-radius: 10px;

    background: var(--cream);
}

.listing-image > img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;
}

.listing-info {
    padding-top: 8px;
}

.listing-title {
    display: block;

    overflow: hidden;

    font-size: 13px;
    line-height: 1.25;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.listing-rating {
    margin-top: 5px;

    font-size: 10px;
}

.listing-rating span {
    color: var(--muted);
}

.listing-price {
    margin-top: 6px;

    color: var(--green);

    font-size: 17px;
    font-weight: 700;
}

.free-shipping {
    display: inline-block;

    margin-top: 5px;

    padding:
        3px 6px;

    border-radius: 5px;

    color: #36541f;
    background: #cfe7a5;

    font-size: 9px;
    font-weight: 700;
}

.listing-shipping,
.listing-arrival,
.listing-shop {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;
}

.listing-shop {
    color: var(--ink);
}

.design-about {
    padding: 60px 0;

    background: var(--paper);
}

.design-about-grid {
    display: grid;

    grid-template-columns:
        1.5fr .7fr;

    gap: 80px;
}

.design-about h2 {
    margin: 0;

    font-family:
        Georgia,
        serif;

    font-size: 30px;
    font-weight: 500;
}

.design-about p {
    color: var(--muted);

    line-height: 1.65;
}

.design-tag-list {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 18px;
}

.design-tag-list span {
    padding:
        7px 11px;

    border-radius: 999px;

    background: var(--cream);

    font-size: 10px;
}

.designer-summary {
    padding: 26px;

    border-radius: 16px;

    background: var(--sage);
}

.designer-summary > span {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .1em;
}

.designer-summary h3 {
    margin:
        8px 0;

    font-family:
        Georgia,
        serif;

    font-size: 27px;
    font-weight: 500;
}

.designer-summary a {
    display: inline-block;

    margin-top: 8px;

    text-decoration: underline;

    font-weight: 700;
}


/* PRODUCT LISTING PAGE */

.listing-page {
    padding:
        30px 0 55px;
}

.listing-page-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1.55fr)
        minmax(380px,.75fr);

    gap: 38px;

    align-items: start;
}

.listing-gallery {
    display: grid;

    grid-template-columns:
        65px
        minmax(0,1fr);

    gap: 11px;
}

.listing-thumbnails {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.listing-thumbnails button {
    padding: 0;

    overflow: hidden;

    border:
        2px solid transparent;

    border-radius: 8px;

    background: transparent;
}

.listing-thumbnails button.active {
    border-color: var(--orange);
}

.listing-thumbnails img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;
}

.listing-main-image {
    position: relative;

    overflow: hidden;

    border-radius: 10px;

    background: var(--cream);
}

.listing-main-image > img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;
}

.gallery-heart {
    position: absolute;

    top: 15px;
    right: 15px;
}

.listing-buy {
    padding-top: 6px;
}

.listing-price-main {
    color: var(--green);

    font-family:
        Georgia,
        serif;

    font-size: 31px;
    font-weight: 600;
}

.listing-buy h1 {
    margin:
        8px 0 12px;

    color: var(--ink);

    font-family:
        Georgia,
        serif;

    font-size: 28px;
    font-weight: 500;

    line-height: 1.15;
}

.listing-shop-rating {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    font-size: 11px;
}

.listing-shop-rating a {
    font-weight: 700;
}

.delivery-message {
    margin:
        19px 0;

    display: grid;

    gap: 5px;

    color: var(--muted);

    font-size: 11px;
}

.delivery-message strong {
    color: #50692f;
}

.listing-option {
    margin-top: 13px;
}

.listing-option > label {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;
}

.listing-option select,
.listing-option input,
.listing-option textarea {
    width: 100%;

    border:
        1px solid #cfc6c0;

    border-radius: 7px;

    background: white;
}

.listing-option select,
.listing-option input {
    height: 43px;

    padding: 0 11px;
}

.listing-option textarea {
    min-height: 80px;

    padding: 10px;

    resize: vertical;
}

.listing-personalization {
    margin-top: 15px;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}

.personalization-toggle {
    width: 100%;

    padding:
        14px 0;

    display: flex;
    align-items: center;

    gap: 6px;

    border: 0;

    background: transparent;

    text-align: left;
}

.personalization-toggle strong {
    font-size: 12px;
}

.personalization-toggle span {
    color: var(--muted);

    font-size: 10px;
}

.personalization-content {
    padding-bottom: 14px;
}

.personalization-content.is-collapsed {
    display: none;
}

.listing-upload {
    min-height: 65px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 10px;

    border:
        1px dashed #c8bdb5;

    border-radius: 7px;

    cursor: pointer;
}

.listing-upload svg {
    width: 19px;
    height: 19px;
}

.listing-upload span {
    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
}

.listing-upload input {
    display: none;
}

.add-cart-button {
    width: 100%;
    height: 47px;

    margin-top: 18px;

    border: 0;
    border-radius: 999px;

    color: white;
    background: var(--navy);

    font-weight: 700;
}

.add-cart-button:hover {
    background: #101648;
}

.listing-trust {
    margin:
        20px 0;

    padding:
        15px 0;

    display: grid;

    gap: 11px;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

    color: var(--muted);

    font-size: 10px;
}

.listing-trust > div {
    display: flex;
    align-items: center;

    gap: 6px;
}

.listing-trust svg {
    width: 17px;
    height: 17px;
}

.listing-trust strong {
    color: var(--ink);
}

.listing-detail {
    padding:
        15px 0;

    border-bottom:
        1px solid var(--line);
}

.listing-detail summary {
    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}

.listing-detail p {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}

.listing-detail dl {
    margin:
        12px 0 0;
}

.listing-detail dl > div {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding:
        5px 0;

    font-size: 10px;
}

.listing-detail dt {
    color: var(--muted);
}

.listing-detail dd {
    margin: 0;
}


/* REVIEWS + SELLER */

.listing-reviews {
    padding:
        65px 0;

    background: var(--cream);
}

.listing-review-grid {
    display: grid;

    grid-template-columns:
        1.5fr .65fr;

    gap: 65px;
}

.listing-review-grid h2 {
    margin: 0;

    font-family:
        Georgia,
        serif;

    font-size: 29px;
    font-weight: 500;
}

.big-rating {
    margin:
        20px 0;

    display: flex;
    align-items: center;

    gap: 14px;
}

.big-rating > strong {
    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size: 46px;
}

.big-rating span {
    color: var(--orange);
}

.big-rating small {
    display: block;

    margin-top: 3px;

    color: var(--muted);
}

.sample-review {
    padding:
        18px 0;

    border-top:
        1px solid #dcd2ca;
}

.sample-review strong {
    color: var(--orange);

    font-size: 11px;
}

.sample-review p {
    margin:
        7px 0;

    line-height: 1.5;
}

.sample-review small {
    color: var(--muted);
}

.seller-card {
    align-self: start;

    padding: 25px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background: white;
}

.seller-card > span {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .1em;
}

.seller-card h3 {
    margin:
        8px 0;

    font-family:
        Georgia,
        serif;

    font-size: 27px;
    font-weight: 500;
}

.seller-card p {
    color: var(--muted);

    font-size: 11px;
}

.seller-card a {
    display: inline-block;

    margin-top: 7px;

    text-decoration: underline;

    font-size: 11px;
    font-weight: 700;
}


/* PROFILE */

.profile-page,
.simple-page {
    min-height: 450px;

    padding:
        70px 0;
}

.profile-card {
    display: flex;
    align-items: center;

    gap: 22px;
}

.profile-avatar {
    width: 90px;
    height: 90px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;
    background: var(--navy);

    font-size: 35px;
    font-weight: 700;
}

.profile-card h1,
.simple-page h1 {
    margin:
        7px 0;

    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size: 43px;
    font-weight: 500;
}

.profile-card p,
.simple-page p {
    color: var(--muted);
}


/* FOOTER */

.site-footer {
    padding:
        50px 0;

    border-top:
        1px solid var(--line);

    background: var(--cream);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 40px;
}

.footer-logo {
    width: 110px;
}

.site-footer p,
.site-footer a {
    color: var(--muted);

    font-size: 11px;
}

.site-footer strong {
    display: block;

    margin-bottom: 10px;

    color: var(--navy);
}

.site-footer a {
    display: block;

    margin: 7px 0;
}


/* EMPTY */

.empty-state {
    padding: 70px;

    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .design-grid,
    .listing-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .category-circles {
        grid-template-columns:
            repeat(3,1fr);
    }

    .listing-page-grid {
        grid-template-columns: 1fr;
    }

    .design-hub-heading {
        grid-template-columns:
            200px 1fr;
    }
}


@media (max-width: 800px) {

    .categories-button {
        display: none;
    }

    .header-main {
        flex-wrap: wrap;

        padding:
            10px 0;
    }

    .brand {
        order: 1;
    }

    .header-actions {
        order: 2;

        margin-left: auto;
    }

    .top-search {
        order: 3;

        flex-basis: 100%;
    }

    .category-nav-inner {
        justify-content: flex-start;
    }

    .design-grid,
    .listing-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .design-hub-heading {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .design-hub-art {
        width: 200px;

        margin-inline: auto;
    }

    .design-by,
    .design-hub-meta {
        justify-content: center;
    }

    .design-collection-row {
        grid-template-columns:
            1fr 1fr;
    }

    .design-about-grid,
    .listing-review-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .editorial-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .listing-gallery {
        grid-template-columns: 1fr;
    }

    .listing-thumbnails {
        order: 2;

        flex-direction: row;
    }

    .listing-thumbnails button {
        width: 65px;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }
}


@media (max-width: 560px) {

    .container {
        width:
            calc(100% - 28px);
    }

    .brand img {
        width: 103px;
    }

    .header-actions > a:first-child {
        display: none;
    }

    .home-intro h1 {
        font-size: 46px;
    }

    .category-circles {
        grid-template-columns:
            1fr 1fr;
    }

    .design-grid,
    .listing-grid {
        grid-template-columns:
            1fr 1fr;

        gap:
            24px 11px;
    }

    .design-collection-row {
        grid-template-columns: 1fr;
    }

    .editorial-strip-inner {
        padding: 30px;
    }

    .editorial-strip h2 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   DESTINATION-AWARE DELIVERY V3.1
   ============================================================ */

.header-delivery {
    flex: 0 0 auto;

    padding:
        4px 8px;

    border: 0;

    background: transparent;

    color: var(--ink);

    text-align: left;
}

.header-delivery span,
.header-delivery strong {
    display: block;
}

.header-delivery span {
    color: var(--muted);

    font-size: 8px;
    font-weight: 500;
}

.header-delivery strong {
    margin-top: 1px;

    color: var(--navy);

    font-size: 10px;
    font-weight: 700;
}

.header-delivery:hover strong {
    color: var(--orange);
}


.listing-production {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
}


.listing-delivery-prompt {
    display: block;

    margin-top: 4px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--navy);

    font-size: 9px;
    font-weight: 700;

    text-align: left;

    text-decoration: underline;
}


.product-delivery-location {
    align-self: flex-start;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;

    text-align: left;

    text-decoration: underline;
}


.delivery-message {
    padding:
        13px 0;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}


.delivery-modal[hidden] {
    display: none;
}

.delivery-modal {
    position: fixed;

    inset: 0;

    z-index: 200;

    display: grid;
    place-items: center;

    padding: 20px;
}

.delivery-modal-backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    background:
        rgba(47,42,45,.42);

    backdrop-filter:
        blur(2px);
}

.delivery-modal-card {
    position: relative;

    z-index: 1;

    width:
        min(
            430px,
            100%
        );

    padding:
        31px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background: var(--paper);

    box-shadow:
        0 28px 80px
        rgba(47,42,45,.20);
}

.delivery-modal-close {
    position: absolute;

    top: 13px;
    right: 15px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: var(--muted);

    font-size: 26px;
    font-weight: 300;
}

.delivery-modal-close:hover {
    background: var(--cream);
}

.delivery-modal-kicker {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
}

.delivery-modal-card h2 {
    margin:
        8px 0 9px;

    color: var(--navy);

    font-family:
        Georgia,
        serif;

    font-size: 30px;
    font-weight: 500;
}

.delivery-modal-card > p {
    margin:
        0 0 22px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.55;
}

.delivery-modal-card form > label {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;
}

.delivery-zip-row {
    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 8px;
}

.delivery-zip-row input {
    height: 44px;

    min-width: 0;

    padding:
        0 13px;

    border:
        1px solid #cfc6c0;

    border-radius: 8px;

    outline: 0;

    background: white;
}

.delivery-zip-row input:focus {
    border-color: var(--navy);

    box-shadow:
        0 0 0 2px
        rgba(24,32,97,.08);
}

.delivery-zip-row button {
    height: 44px;

    padding:
        0 20px;

    border: 0;
    border-radius: 999px;

    color: white;
    background: var(--orange);

    font-weight: 700;
}

.delivery-error {
    margin-top: 8px;

    color: #a33b31;

    font-size: 10px;
}

.delivery-account-note {
    margin-top: 22px;

    padding:
        14px;

    border-radius: 10px;

    background: var(--sage);
}

.delivery-account-note strong,
.delivery-account-note span {
    display: block;
}

.delivery-account-note strong {
    color: var(--navy);

    font-size: 11px;
}

.delivery-account-note span {
    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.45;
}


@media (max-width: 800px) {

    .header-delivery {
        order: 2;

        margin-left: auto;
    }

    .header-actions {
        margin-left: 0;
    }
}


@media (max-width: 560px) {

    .header-delivery {
        padding:
            3px 4px;
    }

    .header-delivery span {
        display: none;
    }

    .delivery-modal-card {
        padding:
            27px 22px;
    }
}
