:root {
    --paper: #f4f1ed;
    --ink: #111111;
    --muted: #5e5a54;
    --line: #e6e0d8;
    --green: #4f8f82;
    --rose: #c34961;
    --gold: #e2af34;
    --purple: #76549f;
    --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
    --font-heading: Lato, Inter, ui-sans-serif, system-ui, sans-serif;
}

@font-face {
    font-family: Inter;
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/inter-400.woff2") format("woff2");
}

@font-face {
    font-family: Inter;
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    src: url("/fonts/inter-700.woff2") format("woff2");
}

@font-face {
    font-family: Lato;
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/lato-400.woff2") format("woff2");
}

@font-face {
    font-family: Lato;
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    src: url("/fonts/lato-700.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

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

button,
input {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.promo {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 1rem;
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: center;
}

.promo strong,
.nav-link.active {
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
    padding: 0 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand img {
    width: min(235px, 48vw);
    height: 32px;
    object-fit: contain;
    object-position: left center;
}

.mobile-menu {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
}

.nav-links {
    display: none;
    gap: 1.65rem;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
}

.nav-item {
    position: relative;
}

.has-submenu {
    display: inline-flex;
    align-items: center;
}

.header-submenu {
    position: absolute;
    top: calc(100% + 1.9rem);
    left: 50%;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: min(1180px, calc(100vw - 5rem));
    padding: 2rem 0;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.35rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.header-submenu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 1.9rem;
}

.has-submenu:hover .header-submenu,
.has-submenu:focus-within .header-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.header-submenu a {
    grid-column: 1;
    padding: 0.55rem 1.25rem;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

.header-submenu a:hover,
.header-submenu a:focus {
    color: var(--ink);
    text-decoration: underline;
}

.header-icons {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    justify-content: end;
}

.icon-button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
}

.cart-count {
    min-width: 1.25rem;
    min-height: 1.25rem;
    display: inline-grid;
    place-items: center;
    margin-left: -0.6rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.72rem;
}

.hero {
    min-height: 25rem;
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0)),
        url("/images/brand/banner.jpg") center top / cover;
}

.hero-content {
    display: grid;
    justify-items: center;
    gap: 0;
    width: min(100%, 1180px);
}

.hero-logo {
    display: block;
    width: min(356px, 82vw);
    height: auto;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 22.75em;
    margin: 0;
    font-size: clamp(2.2rem, 7vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero p {
    max-width: 22.75em;
    margin: 35px auto 32px;
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 5.5vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.5rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 400;
    cursor: pointer;
}

.button.light {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

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

.section {
    padding: 3.2rem 1.25rem;
}

.section.paper {
    background: var(--paper);
}

.collection-header {
    padding: 2rem 1.25rem 1.5rem;
    background: #fff;
}

.collection-header-inner {
    display: flex;
    align-items: end;
    min-height: 5rem;
}

.collection-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.12;
}

.collection-products {
    padding: 0 1.25rem 4rem;
}

.collection-products .product-grid {
    gap: 12px;
}

.color-soft {
    background: var(--paper);
}

.color-product {
    background: #fff;
}

.container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.shopify-divider {
    padding: 16px 0;
    background: #fff;
}

.shopify-divider span {
    display: block;
    width: 100%;
    border-top: 1.5px solid var(--line);
}

.split {
    display: grid;
    gap: 2rem;
}

.split img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.section h2,
.section h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}

.section p {
    color: var(--muted);
    line-height: 1.55;
}

.media-story {
    padding: 0 1.25rem;
}

.media-story-grid {
    display: grid;
    gap: max(24px, 1.55rem);
    align-items: center;
}

.media-story-grid > img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.media-story-copy {
    display: grid;
    gap: 1rem;
    padding: 2.5rem 0;
}

.media-story-copy.align-center {
    text-align: center;
}

.media-story-copy h2 {
    max-width: 13em;
    margin: 0 auto;
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.media-story-copy p,
.media-story-copy li {
    margin: 0;
    color: var(--ink);
    font-size: 0.875rem;
    line-height: 1.4;
}

.media-story-copy ul {
    display: grid;
    gap: 0.25rem;
    margin: -0.25rem 0 0;
    padding-left: 1.2rem;
}

.media-story-copy a {
    text-decoration: underline;
}

.product-list-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.product-list-section h2,
.news-section h2 {
    margin-bottom: 1.75rem;
    text-align: center;
}

.product-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
    overflow: hidden;
    border: 0;
    background: #fff;
}

.product-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--paper);
}

.product-card img,
.product-main-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--paper);
}

.product-card-media img {
    transition: opacity 180ms ease, transform 180ms ease;
}

.product-card-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card:hover .product-card-hover,
.product-card:focus-within .product-card-hover {
    opacity: 1;
}

.product-card:hover .product-card-media img:first-child,
.product-card:focus-within .product-card-media img:first-child {
    transform: scale(1.015);
}

.product-card-body {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem 0 0;
}

.product-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
}

.price {
    font-weight: 400;
    line-height: 1.45;
}

.news-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.news-grid {
    display: grid;
    gap: 2rem;
}

.news-card {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.news-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.news-card h3 {
    margin: 1.25rem 0 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
}

.news-card p {
    margin: 0;
    color: var(--ink);
    font-size: 0.875rem;
    line-height: 1.4;
}

.news-card .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    color: var(--muted);
    font-size: 0.8rem;
}

.pdp {
    display: grid;
    gap: 0;
    background: #fff;
}

.pdp-media {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 1.25rem;
    scroll-snap-type: x mandatory;
}

.pdp-media-item {
    flex: 0 0 min(86vw, 420px);
    margin: 0;
    background: var(--paper);
    scroll-snap-align: start;
}

.pdp-media-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pdp-info {
    padding: 1.25rem 1.25rem 3rem;
}

.pdp-info-inner {
    display: grid;
    gap: 1.15rem;
}

.pdp-vendor {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.pdp h1 {
    margin: 0;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
}

.pdp-price {
    margin: 0;
    font-size: 1.05rem;
}

.pdp-form {
    display: grid;
    gap: 1rem;
}

.variant-picker {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.variant-picker legend,
.pdp-quantity label {
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-option {
    display: inline-grid;
    min-width: 5.7rem;
    cursor: pointer;
}

.variant-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variant-option span {
    display: grid;
    gap: 0.15rem;
    min-height: 3.2rem;
    align-content: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-align: center;
}

.variant-option strong,
.variant-option small {
    font-weight: 400;
    line-height: 1.1;
}

.variant-option small {
    color: var(--muted);
    font-size: 0.72rem;
}

.variant-option input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.variant-option input:checked + span small {
    color: #fff;
}

.variant-option.is-disabled {
    cursor: not-allowed;
}

.variant-option.is-disabled span {
    color: #8a8580;
    background: #f7f5f2;
    text-decoration: line-through;
}

.pdp-quantity input {
    width: 5.5rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
}

.pdp-stock {
    margin: -0.25rem 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.pdp-add {
    width: 100%;
}

.button:disabled {
    cursor: not-allowed;
    border-color: var(--line);
    background: #d8d4ce;
    color: #6b6760;
}

.pdp-benefits {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
}

.pdp-benefits p {
    margin: 0;
}

.pdp-details {
    border-bottom: 1px solid var(--line);
}

.pdp-details summary {
    padding: 1rem 0;
    cursor: pointer;
}

.pdp-richtext {
    padding-bottom: 1.2rem;
    color: var(--ink);
}

.pdp-richtext h3,
.pdp-richtext h4 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.15rem;
    line-height: 1.25;
}

.pdp-richtext p,
.pdp-richtext li {
    font-size: 0.95rem;
    line-height: 1.55;
}

.pdp-richtext p {
    margin: 0 0 0.85rem;
}

.pdp-richtext ul {
    display: grid;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.basket-table {
    width: 100%;
    border-collapse: collapse;
}

.basket-table th,
.basket-table td {
    padding: 0.9rem 0.4rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.basket-table input {
    width: 4.25rem;
    padding: 0.6rem;
    border: 1px solid var(--line);
}

.basket-product {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.8rem;
    align-items: center;
}

.basket-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.summary {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.form-panel {
    display: grid;
    gap: 1rem;
    max-width: 620px;
}

.form-panel input {
    width: 100%;
    min-height: 46px;
    padding: 0 0.85rem;
    border: 1px solid var(--line);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.flash {
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: #fff;
}

.footer {
    background: #f4f1ed;
    color: var(--ink);
}

.footer p {
    margin: 0;
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.38;
}

.footer h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.55rem, 5.2vw, 1.9rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: none;
}

.footer-newsletter {
    padding: 1.75rem 1.25rem;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-newsletter-inner {
    display: grid;
    gap: 0.85rem;
    align-items: center;
}

.footer-newsletter-inner p {
    max-width: 36rem;
}

.newsletter-form {
    display: grid;
    gap: 0.65rem;
}

.newsletter-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink);
    font-size: 0.9rem;
}

.newsletter-form label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.newsletter-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 1.25rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
}

.newsletter-form button {
    min-height: 46px;
    padding: 0 1.4rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}

.footer-nav-band {
    padding: 1.25rem 1.25rem;
    background: #f4f1ed;
}

.footer-menu {
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    text-align: center;
}

.footer-menu a {
    color: var(--ink);
    font-size: 0.93rem;
}

.footer-utility {
    padding: 0.9rem 1.25rem;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-utility-inner {
    display: grid;
    gap: 0.65rem;
    justify-items: center;
    color: var(--muted);
    font-size: 0.84rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--muted);
}

.social-icon svg {
    display: block;
}

.klaviyo-form-placeholder,
[class^="klaviyo-form-"] {
    min-height: 46px;
}

.chat-demo {
    display: grid;
    gap: 1.5rem;
    min-height: calc(100svh - 118px);
    padding: 1.5rem;
    background: #f7f4ed;
}

.chat-demo-context,
.chat-panel {
    border: 1px solid var(--line);
    background: #fff;
}

.chat-demo-context {
    padding: 1.35rem;
}

.chat-demo-context h1 {
    max-width: 720px;
    margin: 0.3rem 0 1rem;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.chat-demo-mode {
    width: fit-content;
    margin: 0 0 1rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.chat-product-list {
    display: grid;
    gap: 0.5rem;
}

.chat-product-list a {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.chat-product-list strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.chat-product-list span {
    color: var(--muted);
    font-size: 0.85rem;
}

.chat-panel {
    display: grid;
    grid-template-rows: minmax(360px, 1fr) auto;
    min-height: 560px;
}

.chat-transcript {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: auto;
    padding: 1rem;
}

.chat-message {
    max-width: min(680px, 88%);
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: #f7f4ed;
    line-height: 1.45;
}

.chat-message.user {
    align-self: end;
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
}

.chat-message.assistant {
    align-self: start;
}

.chat-form {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    border-top: 1px solid var(--line);
}

.chat-form label {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-form > div {
    display: grid;
    gap: 0.75rem;
}

.chat-form input {
    min-width: 0;
    height: 48px;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    background: #fff;
}

.footer input::placeholder {
    color: #6b6760;
    opacity: 1;
}

.footer button,
.footer input {
    letter-spacing: 0;
}

.footer a:hover {
    text-decoration: underline;
}

.footer button:hover {
    color: var(--ink);
    background: #fff;
}

@media (min-width: 760px) {
    .promo {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-header {
        grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 1fr);
        min-height: 82px;
        padding: 0 2.4rem;
    }

    .brand img {
        width: 430px;
        height: 58px;
    }

    .mobile-menu {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .hero {
        min-height: 55svh;
    }

    .split,
    .product-detail {
        grid-template-columns: 1fr 1fr;
    }

    .pdp {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
        align-items: start;
    }

    .pdp-media {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
        padding: 2.5rem;
        scroll-snap-type: none;
    }

    .pdp-media-item {
        flex: initial;
    }

    .pdp-info {
        position: sticky;
        top: 82px;
        min-height: calc(100svh - 82px);
        padding: 3rem 2.5rem;
    }

    .pdp-info-inner {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .media-story {
        padding: 0 2.5rem;
    }

    .media-story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .media-right .media-story-grid > img {
        order: 2;
        min-height: 70svh;
    }

    .media-story-copy {
        padding: 3rem 2rem;
    }

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

    .chat-demo {
        grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
        padding: 2.5rem;
    }

    .chat-demo-context {
        padding: 2rem;
    }

    .chat-panel {
        min-height: calc(100svh - 168px);
    }

    .chat-transcript {
        padding: 1.35rem;
    }

    .chat-form {
        padding: 1.2rem;
    }

    .chat-form > div {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .collection-products .product-grid {
        gap: 16px;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
        width: min(850px, 100%);
        margin: 0 auto;
    }

    .footer-newsletter {
        padding: 1.85rem 2.5rem;
    }

    .footer-newsletter-inner {
        grid-template-columns: minmax(260px, 0.9fr) minmax(480px, 1fr);
        gap: 1.6rem;
    }

    .newsletter-form {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .newsletter-form label {
        min-width: 0;
    }

    .newsletter-form button {
        align-self: end;
        padding: 0 1.55rem;
    }

    .footer-nav-band {
        padding: 1.65rem 2.5rem;
    }

    .footer-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
    }

    .footer-menu a {
        padding: 0 0.85rem;
        border-right: 1px solid #bcb7af;
    }

    .footer-menu a:first-child {
        border-left: 0;
    }

    .footer-menu a:last-child {
        border-right: 0;
    }

    .footer-utility {
        padding: 0.8rem 2.5rem;
    }

    .footer-utility-inner {
        grid-template-columns: 1fr auto;
        justify-items: start;
    }

    .footer-utility-inner > span {
        justify-self: end;
    }
}

@media (max-width: 620px) {
    .basket-table thead {
        display: none;
    }

    .basket-table tr,
    .basket-table td {
        display: block;
    }

    .basket-table td {
        padding: 0.6rem 0;
    }
}

/* Information pages and accessible navigation. */
.page-heading { max-width: 880px; padding-block: 2.5rem; }
.page-heading h1 { margin: 0.75rem 0 0; font-size: clamp(1.8rem, 5vw, 2.8rem); overflow-wrap: anywhere; }
.page-back { color: var(--muted); font-size: 0.9rem; }
.page-copy { max-width: 880px; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.page-copy h2, .page-copy h3, .page-copy h4 { margin-top: 2rem; line-height: 1.3; }
.page-copy a { text-decoration: underline; text-underline-offset: 0.2em; }
.page-copy ul, .page-copy ol { padding-left: 1.5rem; }
.page-copy li + li { margin-top: 0.5rem; }
.page-copy img { max-width: 100%; height: auto; }
.page-copy table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.page-copy th, .page-copy td { min-width: 100px; padding: 0.75rem; border: 1px solid var(--line); text-align: left; }
.has-submenu { display: block; }
.has-submenu summary { cursor: pointer; list-style: none; }
.has-submenu summary::-webkit-details-marker { display: none; }
.has-submenu summary::after { content: '⌄'; margin-left: 0.4rem; }
.has-submenu[open] summary::after { content: '⌃'; }
.header-submenu { display: none; width: 290px; grid-template-columns: 1fr; top: calc(100% + 1rem); left: 0; padding: 0.75rem 0; }
.has-submenu[open] .header-submenu { display: grid; opacity: 1; pointer-events: auto; transform: none; }
.header-submenu::before { display: none; }
.header-submenu a { grid-column: auto; min-height: 44px; display: flex; align-items: center; }
.nav-link:focus-visible, .mobile-menu:focus-visible, .header-submenu a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (min-width: 1000px) {
    .brand img { max-width: 235px; width: 100%; }
    .site-header { grid-template-columns: minmax(180px, 1fr) auto minmax(100px, 1fr); }
}
@media (max-width: 999px) {
    .site-header { grid-template-columns: auto minmax(0, 1fr) auto; padding: 0.75rem 1rem; gap: 0.6rem; min-height: 72px; }
    .brand img { width: min(235px, 48vw); height: 32px; }
    .mobile-menu { display: none; width: 44px; height: 44px; }
    .nav-ready .mobile-menu { display: inline-flex; }
    .nav-links { display: flex; flex-direction: column; grid-column: 1 / -1; grid-row: 2; gap: 0; align-items: stretch; max-height: calc(100dvh - 150px); overflow-y: auto; }
    .nav-ready .nav-links:not(.is-open) { display: none; }
    .nav-links > .nav-link, .has-submenu summary { display: block; padding: 0.9rem 0.25rem; min-height: 44px; }
    .header-submenu { position: static; width: 100%; border: 0; box-shadow: none; padding: 0 0 0.75rem 0.75rem; }
    .header-submenu a { padding: 0.7rem 0.5rem; }
    .header-icons { gap: 0.2rem; }
    .page-heading { padding-block: 1.75rem; }
}

.contact-page { max-width: 760px; }
.contact-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.contact-fields { display: grid; gap: 1.25rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 700; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; max-width: 100%; padding: 0.85rem; border: 1px solid #777; border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-form [aria-invalid="true"] { border-color: #a22622; }
.field-error { color: #a22622; margin: 0.5rem 0 0; font-size: 0.9rem; }
.contact-form .contact-trap { display: none; }
.contact-note { font-size: 0.9rem; line-height: 1.6; margin: 0; }
.contact-note a, .contact-alternative a { text-decoration: underline; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-alternative { margin-top: 2rem; }
@media (min-width: 600px) { .contact-fields { grid-template-columns: 1fr 1fr; } }

.pdp-price small { display: block; font-size: 0.9rem; margin-top: 0.4rem; color: var(--muted); }
.pdp-rrp { margin-left: 0.5rem; color: var(--muted); font-size: 1rem; }
.pdp-pack-size { font-weight: 700; }
.pdp-quantity-prices { padding: 1rem; background: var(--paper); font-size: 0.9rem; line-height: 1.6; }
.pdp-quantity-prices p { margin-top: 0; font-weight: 700; }
.pdp-quantity-prices ul { padding-left: 1.2rem; }
.pdp-line-total { font-size: 1.1rem; }
.product-availability { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }
.pdp-info h1 { overflow-wrap: anywhere; }
@media (max-width: 759px) {
    .pdp-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .pdp-media-item { flex: 0 0 100%; scroll-snap-align: start; }
}

.checkout-layout { display: grid; gap: 2rem; align-items: start; }
.checkout-layout [hidden] { display: none !important; }
.checkout-layout #checkout { min-width: 0; }
.checkout-layout [data-stripe-checkout] { min-width: 0; }
.checkout-summary { padding: 1.5rem; background: var(--paper); }
.checkout-summary .summary-row { gap: 1rem; align-items: start; }
.checkout-summary strong { white-space: nowrap; }
.checkout-note { font-size: 0.9rem; line-height: 1.6; }
[data-checkout-loading] { min-height: 120px; padding: 1rem; }
[data-checkout-error] .button { margin-right: 1rem; }
@media (min-width: 1000px) { .checkout-layout { grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); } }
