:root {
    --brand-primary: #173f35;
    --brand-accent: #c99b5b;
    --ink: #17201d;
    --muted: #66716d;
    --paper: #f7f5ef;
    --white: #fff;
    --line: #e3e5e1;
    --shadow: 0 18px 50px rgba(20, 38, 32, .10);
    --radius: 22px;
    --shell: min(1180px, calc(100% - 40px))
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6
}

body.nav-open {
    overflow: hidden
}

img {
    max-width: 100%;
    height: auto
}

a {
    color: inherit
}

.site-shell {
    width: var(--shell);
    margin-inline: auto
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 16px;
    background: #fff;
    color: #111;
    border-radius: 8px
}

.skip-link:focus {
    transform: none
}

.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(23, 32, 29, .08)
}

.announcement-bar {
    background: var(--brand-primary);
    color: #fff;
    font-size: 13px
}

.announcement-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.announcement-inner a {
    text-decoration: none
}

.nav-row {
    height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px
}

.brand-logo {
    display: flex;
    align-items: center
}

.brand-logo img {
    max-width: 240px;
    max-height: 58px
}

.primary-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 34px
}

.primary-nav a {
    position: relative;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em
}

.primary-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--brand-accent);
    transition: right .25s
}

.primary-nav a:hover:after,
.primary-nav a:focus-visible:after {
    right: 0
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700
}

.cart-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.cart-link b {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--brand-accent);
    color: #fff;
    font-size: 12px
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px
}

.nav-toggle>span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: .2s
}

.modern-home {
    overflow: hidden
}

.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: #fff
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0
}

.hero-media {
    background: url("/template/images/background.jpg") center/cover no-repeat;
    transform: scale(1.01)
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(11, 28, 23, .92) 0%, rgba(11, 28, 23, .73) 48%, rgba(11, 28, 23, .15) 100%)
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr);
    align-items: end;
    gap: 80px;
    padding-block: 105px
}

.hero-copy {
    max-width: 710px
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(44px, 6.2vw, 80px);
    line-height: 1.02;
    letter-spacing: -.05em
}

.hero-lead {
    max-width: 620px;
    margin: 25px 0 0;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 600
}

.hero-detail {
    max-width: 570px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 16px
}

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

.modern-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 27px;
    border: 1px solid var(--brand-accent);
    border-radius: 999px;
    background: var(--brand-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s, background .2s
}

.modern-button:hover,
.modern-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18)
}

.text-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: inherit;
    font-weight: 800;
    text-decoration: none
}

.text-link span {
    transition: transform .2s
}

.text-link:hover span {
    transform: translateX(5px)
}

.hero-points {
    display: grid;
    gap: 1px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(10px)
}

.hero-points div {
    display: grid;
    gap: 4px;
    padding: 20px 22px;
    background: rgba(11, 28, 23, .62)
}

.hero-points strong {
    font-family: Manrope, Arial, sans-serif
}

.hero-points span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px
}

.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

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

.trust-grid article {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 27px 30px;
    border-right: 1px solid var(--line)
}

.trust-grid article:last-child {
    border: 0
}

.trust-grid strong,
.trust-grid small {
    display: block
}

.trust-grid strong {
    font-family: Manrope, Arial, sans-serif
}

.trust-grid small {
    margin-top: 2px;
    color: var(--muted)
}

.trust-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand-accent) 18%, white);
    color: var(--brand-primary);
    font-size: 20px;
    font-weight: 800
}

.modern-section {
    padding: 100px 0
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 430px);
    gap: 50px;
    align-items: end;
    margin-bottom: 42px
}

.section-heading h2,
.center-heading h2,
.story-copy h2,
.cta-inner h2 {
    margin: 0;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -.035em
}

.section-heading>p {
    margin: 0;
    color: var(--muted)
}

.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.modern-product-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s
}

.modern-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1/1;
    background: var(--paper);
    padding: 24px;
    overflow: hidden
}

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

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

.product-card-copy {
    padding: 21px
}

.product-card-copy h3 {
    min-height: 50px;
    margin: 0 0 18px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.45
}

.product-card-copy h3 a {
    text-decoration: none
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.product-card-bottom strong {
    font-size: 18px
}

.icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 25px;
    cursor: pointer
}

.section-action {
    text-align: center;
    margin-top: 45px
}

.modern-button-outline {
    background: #fff;
    color: var(--brand-primary);
    border-color: var(--brand-primary)
}

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

.story-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center
}

.story-image {
    position: relative
}

.story-image:before {
    content: "";
    position: absolute;
    width: 44%;
    height: 52%;
    right: -18px;
    bottom: -18px;
    border-radius: 18px;
    background: var(--brand-accent)
}

.story-image img {
    position: relative;
    display: block;
    width: 100%;
    min-height: 530px;
    object-fit: cover;
    border-radius: var(--radius)
}

.story-copy h3 {
    margin: 20px 0 12px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 20px
}

.story-text {
    color: var(--muted);
    margin-bottom: 28px
}

.story-copy .text-link {
    color: var(--brand-primary)
}

.process-section {
    background: #fff
}

.center-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center
}

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

.process-grid article {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius)
}

.process-grid article>span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800
}

.process-grid h3 {
    margin: 24px 0 8px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 22px
}

.process-grid p {
    margin: 0;
    color: var(--muted)
}

.cta-section {
    padding: 72px 0;
    background: var(--brand-primary);
    color: #fff
}

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

.cta-inner h2 {
    max-width: 780px
}

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

.modern-footer {
    padding-top: 72px;
    background: #111a17;
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 55px;
    padding-bottom: 55px
}

.footer-brand img {
    max-width: 220px;
    max-height: 60px;
    filter: brightness(0) invert(1)
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255, 255, 255, .63)
}

.modern-footer h2 {
    margin: 0 0 18px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.modern-footer ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.modern-footer li+li {
    margin-top: 9px
}

.modern-footer a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none
}

.modern-footer a:hover {
    color: #fff
}

.modern-footer p {
    margin: 0 0 8px
}

.supplement-notice {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
    font-size: 12px
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.footer-bottom .site-shell {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
    color: rgba(255, 255, 255, .55);
    font-size: 12px
}

.cart-toast {
    position: fixed;
    z-index: 500;
    right: 22px;
    bottom: 22px;
    max-width: 330px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #111a17;
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: .25s
}

.cart-toast.is-visible {
    opacity: 1;
    transform: none
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal-item.is-visible {
    opacity: 1;
    transform: none
}

#subheader {
    padding-top: 45px;
    padding-bottom: 60px
}

.contact-modal {
    width: var(--shell);
    margin: 60px auto;
    min-height: 300px
}

.contact-modal h1 {
    font-family: Manrope, Arial, sans-serif
}

.btn {
    border-radius: 999px !important
}

.modern-footer+* {
    box-sizing: border-box
}

@media(max-width:900px) {
    .nav-row {
        height: 74px;
        grid-template-columns: auto 1fr auto
    }

    .nav-toggle {
        display: block;
        justify-self: end
    }

    .primary-nav {
        position: fixed;
        inset: 110px 0 auto 0;
        display: grid;
        gap: 0;
        padding: 14px 20px 25px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: .25s
    }

    .primary-nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible
    }

    .primary-nav a {
        padding: 15px 5px;
        border-bottom: 1px solid var(--line)
    }

    .cart-link span {
        display: none
    }

    .hero-section {
        min-height: auto
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-block: 80px
    }

    .hero-points {
        max-width: 520px
    }

    .trust-grid {
        grid-template-columns: 1fr
    }

    .trust-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

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

    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .story-image img {
        min-height: 400px
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 15px
    }
}

@media(max-width:600px) {
    :root {
        --shell: min(100% - 28px, 1180px)
    }

    .announcement-inner {
        justify-content: center
    }

    .announcement-inner>span {
        display: none
    }

    .brand-logo img {
        max-width: 170px;
        max-height: 45px
    }

    .hero-overlay {
        background: rgba(11, 28, 23, .78)
    }

    .hero-grid {
        padding-block: 66px
    }

    .hero-copy h1 {
        font-size: 42px
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .hero-points {
        display: none
    }

    .modern-section {
        padding: 72px 0
    }

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

    .product-card-copy {
        padding: 15px
    }

    .product-card-copy h3 {
        font-size: 14px
    }

    .product-image {
        padding: 12px
    }

    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .cta-inner,
    .footer-bottom .site-shell {
        align-items: flex-start;
        flex-direction: column
    }

    .cta-inner h2 {
        font-size: 34px
    }

    .story-image img {
        min-height: 330px
    }

    .footer-grid {
        gap: 32px
    }

    .reveal-item {
        opacity: 1;
        transform: none
    }
}

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

    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none
    }

    .modern-product-card,
    .product-image img,
    .modern-button {
        transition: none
    }
}

/* Modern product detail */
.product-detail-shell {
    padding: 30px 0 80px
}

.product-detail-layout {
    align-items: flex-start;
    row-gap: 42px
}

.product-detail-media {
    position: sticky;
    top: 28px
}

.product-main-image {
    display: grid;
    place-items: center;
    min-height: 560px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden
}

.product-main-image #img-zoom {
    width: 100%;
    text-align: center
}

.product-main-image img {
    display: block;
    width: 100%;
    max-height: 500px;
    margin: auto;
    object-fit: contain
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto
}

.product-thumb {
    display: grid;
    place-items: center;
    flex: 0 0 78px;
    height: 78px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer
}

.product-thumb.is-selected {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary)
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.product-detail-copy {
    padding: 18px 20px 0 58px
}

.product-detail-eyebrow {
    margin: 0 0 10px;
    color: var(--brand-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase
}

.product-detail-copy h1 {
    margin: 0;
    max-width: 600px;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -.04em
}

.product-detail-copy .prod_price {
    margin: 20px 0 28px;
    color: var(--brand-primary);
    font-family: Manrope, Arial, sans-serif;
    font-size: 31px;
    font-weight: 800
}

.variant-selector {
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0
}

.variant-selector legend {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800
}

.variant-options {
    display: grid;
    gap: 10px
}

.variant-option {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    margin: 0;
    padding: 14px 17px 14px 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s
}

.variant-option:hover {
    border-color: var(--brand-accent)
}

.variant-option.is-selected {
    border-color: var(--brand-primary);
    background: color-mix(in srgb, var(--brand-primary) 5%, white);
    box-shadow: 0 0 0 1px var(--brand-primary)
}

.variant-option input {
    position: absolute;
    left: 17px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brand-primary)
}

.variant-option span {
    font-weight: 700;
    line-height: 1.35
}

.variant-option strong {
    color: var(--brand-primary);
    font-size: 17px;
    white-space: nowrap
}

.product-purchase-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 28px
}

.product-purchase-row .prod_quantity {
    display: grid;
    gap: 7px;
    margin: 0;
    font-size: 13px;
    font-weight: 800
}

.product-purchase-row .prod_quantity input {
    width: 82px;
    height: 52px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font-size: 16px
}

.product-purchase-row .prod_addcart {
    flex: 1;
    margin: 0
}

.product-purchase-row .prod_addcart .btn {
    width: 100%;
    min-height: 52px;
    margin: 0;
    border: 0;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer
}

.product-detail-copy .prod_sdescript {
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: var(--muted)
}

.product-detail-copy .prod_sdescript ul {
    padding-left: 20px
}

.product-detail-long-copy {
    margin-top: 74px;
    padding: 52px clamp(24px, 6vw, 72px);
    border-radius: var(--radius);
    background: var(--paper)
}

.product-detail-long-copy h2 {
    margin: 0 0 25px;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    letter-spacing: -.03em
}

.product-detail-description {
    max-width: 900px;
    color: var(--muted)
}

.product-detail-description ul {
    padding-left: 20px
}

@media(max-width:767px) {
    .product-detail-shell {
        padding-top: 10px
    }

    .product-detail-media {
        position: static
    }

    .product-main-image {
        min-height: 360px;
        padding: 25px
    }

    .product-detail-copy {
        padding: 5px 15px 0
    }

    .product-detail-copy h1 {
        font-size: 36px
    }

    .product-detail-long-copy {
        margin-top: 45px;
        padding: 34px 23px
    }

    .product-purchase-row {
        align-items: stretch;
        flex-direction: column
    }

    .product-purchase-row .prod_quantity input {
        width: 100%
    }
}

/* Modern shop page uses the homepage Featured Collection card system. */
.modern-shop-page {
    padding: 24px 0 40px
}

.modern-shop-page .section-heading {
    margin-bottom: 38px
}

.shop-empty-message {
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    text-align: center;
    color: var(--muted)
}

/* Modern cart */
.commerce-page-heading {
    margin-bottom: 34px
}

.commerce-page-heading h1 {
    margin: 0;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.06;
    letter-spacing: -.045em
}

.modern-cart-page,
.modern-checkout-page {
    padding: 18px 0 55px
}

.modern-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 32px;
    align-items: start
}

.modern-cart-items {
    display: grid;
    gap: 14px
}

.modern-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 105px 105px;
    gap: 22px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff
}

.cart-remove {
    position: absolute;
    top: 9px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 25px;
    line-height: 1;
    cursor: pointer
}

.cart-remove:hover,
.cart-remove:focus-visible {
    background: #f0f1ee;
    color: #111
}

.cart-item-image {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    padding: 10px;
    border-radius: 14px;
    background: var(--paper)
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.cart-item-info h2 {
    margin: 0 0 7px;
    padding-right: 15px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.35
}

.cart-item-info h2 a {
    text-decoration: none
}

.cart-unit-price {
    color: var(--muted);
    font-size: 14px
}

.cart-item-quantity {
    display: grid;
    gap: 7px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700
}

.cart-item-quantity input {
    width: 82px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 16px
}

.cart-line-total {
    display: grid;
    gap: 5px;
    text-align: right
}

.cart-line-total span {
    color: var(--muted);
    font-size: 12px
}

.cart-line-total strong {
    color: var(--brand-primary);
    font-size: 18px
}

.cart-list-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px
}

.cart-list-actions .modern-button {
    min-height: 46px;
    cursor: pointer
}

.modern-cart-summary {
    position: sticky;
    top: 25px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper)
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 18px
}

.cart-summary-line strong {
    color: var(--brand-primary);
    font-size: 22px
}

.cart-summary-note {
    margin: 18px 0;
    color: var(--muted);
    font-size: 13px
}

.modern-cart-summary .cart_checkout .modern-button {
    width: 100%;
    border: 0;
    cursor: pointer
}

.cart-disabled-button {
    opacity: .45;
    cursor: not-allowed !important
}

.cart-limit-error {
    margin: 12px 0 0;
    color: #a52a2a;
    font-size: 13px
}

.modern-empty-cart {
    padding: 70px 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    text-align: center
}

.modern-empty-cart h2 {
    margin: 0 0 10px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 32px
}

.modern-empty-cart p {
    margin: 0 0 25px;
    color: var(--muted)
}

/* Modern checkout */
.checkout-main-row {
    align-items: flex-start;
    gap: 30px;
    margin: 0
}

.checkout-panel {
    flex: 1 1 620px;
    max-width: none;
    padding: 32px !important;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff
}

.checkout-summary-card {
    position: sticky;
    top: 25px;
    flex: 0 0 370px;
    max-width: 370px;
    padding: 28px !important;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper)
}

.modern-checkout-form .order_heading {
    margin: 0 0 22px;
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2
}

.modern-checkout-form label {
    display: block;
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700
}

.modern-checkout-form input[type="text"],
.modern-checkout-form input[type="email"],
.modern-checkout-form input[type="tel"],
.modern-checkout-form select {
    display: block;
    width: 100% !important;
    height: 50px;
    margin: 0 0 17px;
    padding: 0 13px;
    border: 1px solid #d7dcd8;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    box-shadow: none
}

.modern-checkout-form input:focus,
.modern-checkout-form select:focus {
    outline: 2px solid color-mix(in srgb, var(--brand-accent) 65%, white);
    outline-offset: 1px;
    border-color: var(--brand-accent)
}

.modern-checkout-form #billing_address>.row,
.modern-checkout-form .shipping_address_input>.row,
.modern-checkout-form .payment-methods>.row {
    margin-left: -8px;
    margin-right: -8px
}

.modern-checkout-form #billing_address .row>[class*="col"],
.modern-checkout-form .payment-methods .row>[class*="col"] {
    padding-left: 8px;
    padding-right: 8px
}

.shipping_address_input_wrapper {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 3px 0 0 !important;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    cursor: pointer
}

.shipping_address_input_wrapper input {
    float: none !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px;
    margin: 0;
    accent-color: var(--brand-primary)
}

.shipping_address_input {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.shipping-method,
.payment-methods {
    margin-top: 28px;
    padding-top: 27px;
    border-top: 1px solid var(--line)
}

.shipping-method-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper)
}

.shipping-method-block>div {
    float: none !important;
    padding: 0 !important
}

.shipping-method-block input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brand-primary)
}

.shipping-method-block p {
    margin: 0
}

.payment-methods .visa-logo {
    width: 38px !important;
    margin: 0 4px 9px 0;
    vertical-align: middle
}

.checkout-summary-card .order_heading {
    margin-bottom: 16px
}

.checkout-summary-card #Cart2 {
    width: 100%;
    border-collapse: collapse
}

.checkout-summary-card #Cart2 tr {
    border-bottom: 1px solid var(--line)
}

.checkout-summary-card #Cart2 td {
    padding: 14px 5px;
    font-size: 13px;
    vertical-align: middle
}

.checkout-summary-card #Cart2 td:first-child {
    padding-left: 0
}

.checkout-summary-card #Cart2 td:last-child {
    padding-right: 0
}

.checkout-summary-card #Cart2 img {
    width: 54px;
    height: 54px;
    padding: 5px;
    border-radius: 9px;
    background: #fff;
    object-fit: contain
}

.checkout-summary-card .summary {
    margin-top: 15px;
    padding-top: 8px
}

.checkout-summary-card .totals {
    width: 100%;
    border-collapse: collapse
}

.checkout-summary-card .totals td {
    padding: 8px 0;
    border: 0
}

.checkout-summary-card .totals .value {
    text-align: right
}

.checkout-summary-card .totals .order_total td {
    padding-top: 15px;
    border-top: 1px solid var(--line);
    font-size: 18px;
    font-weight: 800
}

.checkout-summary-card #web_terms {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px !important
}

.checkout-summary-card #web_terms p:first-child {
    position: relative;
    padding-left: 28px
}

.checkout-summary-card #web_terms input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--brand-primary)
}

.checkout-summary-card #web_terms label {
    display: inline;
    margin: 0;
    font: inherit
}

.checkout-summary-card #web_terms p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55
}

.checkout-summary-card #form-bottom {
    margin-top: 20px
}

.checkout-summary-card #form-bottom .btn {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--brand-primary) !important;
    border-radius: 999px !important;
    background: var(--brand-primary) !important;
    color: #fff !important;
    font-weight: 800;
    cursor: pointer
}

@media(max-width:991px) {
    .modern-cart-layout {
        grid-template-columns: 1fr
    }

    .modern-cart-summary,
    .checkout-summary-card {
        position: static
    }

    .checkout-main-row {
        display: flex;
        flex-direction: column
    }

    .checkout-panel,
    .checkout-summary-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: none
    }

    .modern-cart-item {
        grid-template-columns: 96px minmax(0, 1fr) 90px 95px
    }

    .cart-item-image {
        width: 96px;
        height: 96px
    }
}

@media(max-width:650px) {

    .modern-cart-page,
    .modern-checkout-page {
        padding-top: 0
    }

    .modern-cart-item {
        grid-template-columns: 82px 1fr;
        padding: 17px
    }

    .cart-item-image {
        grid-row: 1/3;
        width: 82px;
        height: 82px
    }

    .cart-item-info {
        padding-right: 20px
    }

    .cart-item-quantity {
        grid-column: 2
    }

    .cart-line-total {
        position: absolute;
        right: 17px;
        bottom: 23px
    }

    .cart-list-actions {
        align-items: stretch;
        flex-direction: column
    }

    .cart-list-actions .modern-button {
        width: 100%
    }

    .modern-cart-summary,
    .checkout-panel,
    .checkout-summary-card {
        padding: 22px !important
    }

    .modern-checkout-form #billing_address>.row>.col-md-6,
    .modern-checkout-form .shipping_address_input .row>.col-md-6 {
        flex: 0 0 50%;
        width: 50%
    }

    .modern-checkout-form #billing_address>.row>.col-md-8,
    .modern-checkout-form .shipping_address_input .row>.col-md-8 {
        flex: 0 0 66.666%;
        width: 66.666%
    }

    .commerce-page-heading {
        margin-bottom: 25px
    }
}

/* Commerce refresh v3: deliberately stronger than the legacy order stylesheet. */
#subheader:has(.modern-cart-page),
#subheader:has(.modern-checkout-page) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 5%, white) 0, #fff 230px)
}

.commerce-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 16px 0 26px;
    border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 12%, white)
}

.commerce-heading-copy {
    max-width: 590px;
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 16px
}

.commerce-heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, white);
    border-radius: 24px;
    background: linear-gradient(145deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 72%, black));
    color: #fff;
    box-shadow: none;
    transform: rotate(3deg)
}

.commerce-heading-icon svg,
.summary-title-icon svg,
.checkout-section-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.commerce-lock-icon {
    background: linear-gradient(145deg, var(--brand-primary), color-mix(in srgb, var(--brand-accent) 55%, var(--brand-primary)))
}

.modern-cart-items {
    gap: 20px
}

.modern-cart-item {
    isolation: isolate;
    overflow: hidden;
    padding: 23px 25px;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, white);
    border-left: 6px solid var(--brand-accent);
    border-radius: 20px;
    box-shadow: none
}

.modern-cart-item:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(110deg, #fff 0, #fff 64%, color-mix(in srgb, var(--brand-accent) 7%, white) 100%)
}

.modern-cart-item+.modern-cart-item {
    margin-top: 2px
}

.cart-item-image {
    border: 1px solid color-mix(in srgb, var(--brand-primary) 10%, white);
    background: linear-gradient(145deg, #fff, var(--paper));
    box-shadow: inset 0 0 0 5px #fff
}

.cart-item-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--brand-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.cart-item-info h2 {
    font-size: 20px
}

.cart-item-quantity input {
    border: 1px solid color-mix(in srgb, var(--brand-primary) 24%, white);
    background: #fff;
    box-shadow: 0 3px 9px rgba(20, 38, 32, .06)
}

.cart-line-total strong {
    font-size: 21px
}

.cart-remove {
    top: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 3px 10px rgba(20, 38, 32, .07)
}

.modern-cart-summary {
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, white);
    border-radius: 22px;
    background: #fff;
    box-shadow: none
}

.modern-cart-summary:before {
    content: "";
    display: block;
    height: 7px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent))
}

.modern-cart-summary>.summary-title-row,
.modern-cart-summary>.cart-summary-line,
.modern-cart-summary>.cart-summary-note,
.modern-cart-summary>#error_message,
.modern-cart-summary>.cart_checkout,
.modern-cart-summary>.commerce-assurances {
    margin-left: 28px;
    margin-right: 28px
}

.summary-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 0 20px
}

.summary-title-row p {
    margin: 0 0 2px
}

.summary-title-row h2 {
    margin: 0;
    font-family: Manrope, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2
}

.summary-title-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-primary) 11%, white);
    color: var(--brand-primary)
}

.summary-title-icon svg {
    width: 24px;
    height: 24px
}

.modern-cart-summary .cart_checkout {
    margin-top: 20px
}

.commerce-assurances {
    display: grid;
    gap: 8px;
    margin-top: 20px !important;
    padding: 18px 0 25px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px
}

.commerce-assurances span {
    display: flex;
    align-items: center;
    gap: 8px
}

.commerce-assurances b {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand-primary) 12%, white);
    color: var(--brand-primary);
    font-size: 11px
}

.cart-benefit-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 38px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--line);
    overflow: hidden;
    box-shadow: none
}

.cart-benefit-strip>div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: #fff
}

.cart-benefit-strip>div>span {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-accent) 15%, white);
    font-size: 22px
}

.cart-benefit-strip p,
.cart-benefit-strip strong,
.cart-benefit-strip small {
    display: block;
    margin: 0
}

.cart-benefit-strip small {
    margin-top: 2px;
    color: var(--muted);
    line-height: 1.35
}

.checkout-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 690px;
    margin: 0 auto 38px;
    padding: 0 30px
}

.checkout-progress:before {
    content: "";
    position: absolute;
    top: 18px;
    left: 17%;
    right: 17%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary) 0 50%, var(--line) 50%)
}

.checkout-progress-cart:before {
    background: var(--line)
}

.checkout-progress>div {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #9aa29f;
    font-size: 12px
}

.checkout-progress span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: #fff;
    font-weight: 800
}

.checkout-progress .is-complete,
.checkout-progress .is-active {
    color: var(--brand-primary)
}

.checkout-progress .is-complete span {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #fff
}

.checkout-progress .is-active span {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-accent) 13%, white)
}

.checkout-progress-cart .is-active span {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
    box-shadow: none
}

#order_body #checkout-form .checkout-main-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
    gap: 32px !important;
    align-items: start !important;
    margin: 0 !important;
    overflow: visible !important
}

#order_body #checkout-form #billing_address.checkout-panel,
#order_body #checkout-form #order_summary.checkout-summary-card {
    width: auto !important;
    max-width: none !important
}

#order_body #checkout-form #billing_address.checkout-panel {
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, white) !important;
    border-radius: 22px;
    background: #fff;
    box-shadow: none;
    overflow: hidden
}

#order_body #checkout-form #billing_address.checkout-panel>div:not(.payment-methods):not(.checkout-section-heading),
#order_body #checkout-form #billing_address.checkout-panel>input {}

#order_body #checkout-form #billing_address.checkout-panel>.row {
    margin: 0 !important;
    padding: 10px 34px 30px !important
}

.checkout-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 27px 34px 21px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(100deg, color-mix(in srgb, var(--brand-primary) 7%, white), #fff)
}

.checkout-section-heading .order_heading {
    margin: 0 !important
}

.checkout-section-heading small {
    display: block;
    margin-top: 3px;
    color: var(--muted)
}

.checkout-section-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--brand-primary);
    color: #fff;
    box-shadow: none
}

.checkout-section-icon svg {
    width: 25px;
    height: 25px
}

#order_body #checkout-form .payment-methods {
    margin: 0 !important;
    padding: 0 34px 34px !important;
    border-top: 8px solid color-mix(in srgb, var(--brand-primary) 6%, white) !important
}

#order_body #checkout-form .payment-methods>.checkout-section-heading {
    margin: 0 -34px 23px;
    padding-top: 24px;
    padding-bottom: 20px
}

.secure-payment-pill {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--brand-primary) 11%, white);
    color: var(--brand-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase
}

#order_body #checkout-form label {
    margin-top: 9px !important;
    color: var(--ink) !important
}

#order_body #checkout-form input[type=text],
#order_body #checkout-form input[type=email],
#order_body #checkout-form input[type=tel],
#order_body #checkout-form select {
    height: 52px !important;
    padding: 0 14px !important;
    border: 1px solid #d4dad6 !important;
    border-radius: 11px !important;
    background: #fbfcfb !important;
    box-shadow: inset 0 1px 2px rgba(20, 38, 32, .03) !important
}

#order_body #checkout-form input:focus,
#order_body #checkout-form select:focus {
    border-color: var(--brand-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-accent) 13%, white) !important;
    outline: 0 !important
}

#order_body #checkout-form #shipping_address {
    padding: 12px 8px 0 !important
}

#order_body #checkout-form .shipping_address_input_wrapper {
    margin-top: 8px !important;
    padding: 17px !important;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, white) !important;
    background: color-mix(in srgb, var(--brand-primary) 5%, white) !important
}

#order_body #checkout-form .shipping-method-block {
    border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, white);
    background: color-mix(in srgb, var(--brand-primary) 5%, white)
}

#order_body #checkout-form #order_summary.checkout-summary-card {
    position: sticky;
    top: 25px;
    padding: 0 28px 28px !important;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 18%, white) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: none;
    overflow: hidden
}

#order_body #checkout-form #order_summary.checkout-summary-card:before {
    content: "";
    display: block;
    height: 7px;
    margin: 0 -28px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent))
}

#order_body #checkout-form #order_summary .checkout-summary-title {
    padding-top: 23px;
    border-bottom: 1px solid var(--line)
}

#order_body #checkout-form #order_summary.checkout-summary-card .order_heading {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.2 !important
}

#order_body #checkout-form #order_summary #Cart2 tr {
    border-bottom: 1px solid var(--line) !important
}

#order_body #checkout-form #order_summary #Cart2 td {
    padding: 16px 5px !important
}

#order_body #checkout-form #order_summary #Cart2 img {
    width: 58px !important;
    height: 58px !important;
    border: 1px solid var(--line);
    border-radius: 12px !important;
    background: var(--paper) !important
}

#order_body #checkout-form #order_summary #Cart2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important
}

#order_body #checkout-form #order_summary #Cart2 tbody {
    display: block !important;
    width: 100% !important
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-row {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100% !important
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-row td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-image {
    width: 60px !important;
    height: 60px;
    overflow: hidden;
    padding-left: 0 !important;
    border-radius: 12px;
    background: var(--paper)
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-image img {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    object-fit: contain
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-info {
    display: grid !important;
    gap: 4px !important;
    line-height: 1.35
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-info strong {
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-info span {
    color: var(--muted);
    font-size: 12px
}

#order_body #checkout-form #order_summary #Cart2 .checkout-product-total {
    padding-right: 0 !important;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap
}

#order_body #checkout-form #order_summary .summary table {
    margin: 12px 0 !important;
    border-top: 0 !important
}

#order_body #checkout-form #order_summary .summary,
#order_body #checkout-form #order_summary .summary .totals {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important
}

#order_body #checkout-form #order_summary .summary .totals tbody {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important
}

#order_body #checkout-form #order_summary .summary .totals tr {
    display: table-row !important;
    width: 100% !important
}

#order_body #checkout-form #order_summary .summary .totals td {
    display: table-cell !important;
    width: 50% !important;
    padding: 9px 0 !important
}

#order_body #checkout-form #order_summary .summary .totals .title {
    text-align: left !important
}

#order_body #checkout-form #order_summary .summary .totals .value {
    text-align: right !important
}

#order_body #checkout-form #order_summary .summary .price {
    float: none !important;
    display: inline !important;
    white-space: nowrap !important
}

#order_body #checkout-form #order_summary #web_terms {
    width: 100% !important;
    max-width: 100% !important
}

#order_body #checkout-form #order_summary #web_terms p {
    min-width: 0;
    overflow-wrap: anywhere
}

#order_body #checkout-form #order_summary #form-bottom .btn {
    min-height: 56px !important;
    background: linear-gradient(110deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 72%, black)) !important;
    box-shadow: none !important;
    font-size: 16px !important
}

@media(max-width:991px) {
    #order_body #checkout-form .checkout-main-row {
        grid-template-columns: 1fr
    }

    .cart-benefit-strip {
        grid-template-columns: 1fr
    }

    .checkout-summary-card {
        position: static !important
    }
}

@media(max-width:650px) {
    .commerce-heading-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 18px
    }

    .commerce-heading-icon svg {
        width: 25px;
        height: 25px
    }

    .commerce-heading-copy {
        font-size: 14px
    }

    .modern-cart-item {
        padding: 18px 17px;
        border-left-width: 4px
    }

    .cart-benefit-strip {
        margin-top: 28px
    }

    .checkout-progress {
        padding: 0 5px
    }

    .checkout-section-heading {
        align-items: flex-start;
        padding: 22px
    }

    .checkout-section-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px
    }

    .checkout-section-heading small {
        line-height: 1.35
    }

    #order_body #checkout-form #billing_address.checkout-panel>.row {
        padding: 8px 22px 24px !important
    }

    #order_body #checkout-form .payment-methods {
        padding: 0 22px 26px !important
    }

    #order_body #checkout-form .payment-methods>.checkout-section-heading {
        margin-left: -22px;
        margin-right: -22px
    }

    .secure-payment-pill {
        display: none
    }
}

/* SHOP 2 — editorial storefront */
:root {
    --brand-primary: var(--s2-primary, #181a17);
    --brand-accent: var(--s2-accent, #d8ff45);
    --ink: #181a17;
    --muted: #666a62;
    --paper: #f1f0e9;
    --line: #d3d5ce;
    --radius: 2px;
    --shadow: none;
    --shell: min(1240px, calc(100% - 48px))
}

body {
    font-family: "Space Grotesk", Arial, sans-serif;
    background: #fbfbf8;
    color: var(--ink)
}

body.nav-open {
    overflow: hidden
}

.s2-shell {
    width: var(--shell);
    margin-inline: auto
}

.skip-link {
    border-radius: 0
}

.reveal-item {
    transform: translateY(18px)
}

.s2-header {
    position: relative;
    z-index: 100;
    background: #fbfbf8;
    border-bottom: 1px solid var(--ink)
}

.s2-announcement {
    background: var(--brand-primary);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .25)
}

.s2-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 34px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase
}

.s2-announcement-mark {
    color: var(--brand-accent);
    font-size: 8px
}

.s2-nav-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 92px
}

.s2-primary-nav {
    display: flex;
    align-items: center;
    gap: 25px
}

.s2-primary-nav a,
.s2-care-link,
.s2-cart-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase
}

.s2-primary-nav a {
    padding: 8px 0;
    border-bottom: 1px solid transparent
}

.s2-primary-nav a:hover {
    border-color: currentColor
}

.s2-brand-logo {
    display: flex;
    justify-content: center
}

.s2-brand-logo img {
    max-width: 230px;
    max-height: 57px
}

.s2-nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 25px
}

.s2-care-link {
    color: var(--muted)
}

.s2-cart-link {
    display: flex;
    align-items: center;
    gap: 9px
}

.s2-cart-link b {
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--ink);
    font-size: 11px
}

.s2-nav-toggle {
    display: none;
    border: 0;
    background: transparent
}

.s2-nav-toggle>span:not(.sr-only) {
    display: block;
    width: 28px;
    height: 1px;
    margin: 7px 0;
    background: currentColor
}

.s2-hero {
    padding: 32px 0 70px
}

.s2-hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    min-height: 650px;
    border: 1px solid var(--ink)
}

.s2-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 80px);
    background: #f3f1e8
}

.s2-kicker {
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

.s2-hero h1 {
    max-width: 650px;
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(58px, 7vw, 104px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.045em
}

.s2-hero-lead {
    max-width: 560px;
    margin: 30px 0 0;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 600;
    line-height: 1.35
}

.s2-hero-detail {
    max-width: 530px;
    margin: 13px 0 0;
    color: var(--muted)
}

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

.s2-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--brand-primary);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.s2-button:hover {
    background: var(--brand-accent);
    color: var(--ink)
}

.s2-quiet-link,
.s2-arrow-link {
    color: inherit;
    font-weight: 700;
    text-underline-offset: 5px
}

.s2-hero-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.s2-hero-visual {
    position: relative;
    min-width: 0;
    background: var(--brand-primary);
    overflow: hidden
}

.s2-hero-image {
    position: absolute;
    inset: 0;
    background: url("/template/images/background.jpg") center/cover no-repeat;
    filter: saturate(.82);
    transition: transform .8s
}

.s2-hero-visual:hover .s2-hero-image {
    transform: scale(1.025)
}

.s2-hero-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .48))
}

.s2-hero-stamp {
    position: absolute;
    z-index: 2;
    top: 28px;
    right: 28px;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--ink);
    transform: rotate(7deg)
}

.s2-hero-stamp strong,
.s2-hero-stamp span {
    display: block
}

.s2-hero-stamp strong {
    font-size: 13px
}

.s2-hero-stamp span {
    font-size: 9px;
    letter-spacing: .08em
}

.s2-hero-caption {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 26px;
    left: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .65);
    color: #fff;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 24px
}

.s2-marquee {
    overflow: hidden;
    border-block: 1px solid var(--ink);
    background: var(--brand-accent)
}

.s2-marquee-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 25px;
    min-width: max-content;
    width: 100%;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.s2-marquee-track b {
    font-size: 8px
}

.s2-section {
    padding: 110px 0
}

.s2-section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 430px);
    align-items: end;
    gap: 70px;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ink)
}

.s2-section-heading h2,
.s2-story h2,
.s2-final-cta h2 {
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.035em
}

.s2-section-heading>p {
    margin: 0;
    color: var(--muted)
}

.s2-product-grid,
.modern-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink)
}

.s2-product-card,
.modern-product-card {
    position: relative;
    border: 0;
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    background: #fbfbf8;
    box-shadow: none;
    overflow: hidden
}

.s2-product-card:hover,
.modern-product-card:hover {
    transform: none;
    box-shadow: none
}

.s2-card-number {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em
}

.s2-product-card .product-image,
.modern-product-card .product-image {
    aspect-ratio: 1/1.08;
    padding: 30px;
    background: #efeee8
}

.s2-product-card .product-image img,
.modern-product-card .product-image img {
    mix-blend-mode: multiply
}

.s2-product-card:hover .product-image img,
.modern-product-card:hover .product-image img {
    transform: scale(1.035)
}

.s2-product-card .product-card-copy,
.modern-product-card .product-card-copy {
    padding: 20px;
    border-top: 1px solid var(--ink)
}

.s2-card-label {
    margin: 0 0 9px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.s2-product-card h3,
.modern-product-card h3 {
    min-height: 50px;
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.5
}

.s2-product-card h3 a,
.modern-product-card h3 a {
    text-decoration: none
}

.s2-product-card .product-card-bottom,
.modern-product-card .product-card-bottom {
    align-items: end
}

.s2-product-card .product-card-bottom strong,
.modern-product-card .product-card-bottom strong {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 24px;
    font-weight: 400
}

.s2-product-card .icon-button,
.modern-product-card .icon-button {
    display: inline-flex;
    width: auto;
    height: 35px;
    padding: 0 12px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: 700 10px "Space Grotesk", Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase
}

.s2-product-card .icon-button:hover,
.modern-product-card .icon-button:hover {
    background: var(--brand-primary);
    color: #fff
}

.s2-section-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px
}

.s2-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.s2-story {
    padding: 100px 0;
    background: var(--brand-primary);
    color: #fff
}

.s2-story-grid {
    display: grid;
    grid-template-columns: .8fr 1fr .8fr;
    gap: 0;
    align-items: stretch
}

.s2-story-title,
.s2-story-copy {
    padding: 45px;
    border-block: 1px solid rgba(255, 255, 255, .35)
}

.s2-story-title {
    border-left: 1px solid rgba(255, 255, 255, .35)
}

.s2-story-image {
    min-height: 520px
}

.s2-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75)
}

.s2-story-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, .35)
}

.s2-story-copy h3 {
    margin: 0 0 25px;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.1
}

.s2-story-copy div {
    color: rgba(255, 255, 255, .7)
}

.s2-arrow-link-light {
    margin-top: 30px;
    color: #fff
}

.s2-services {
    background: #f3f1e8
}

.s2-service-list {
    border-top: 1px solid var(--ink)
}

.s2-service-list article {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 30px 5px;
    border-bottom: 1px solid var(--ink)
}

.s2-service-list article>span {
    font-size: 11px;
    font-weight: 700
}

.s2-service-list h3 {
    margin: 0 0 6px;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 32px;
    font-weight: 400
}

.s2-service-list p {
    margin: 0;
    color: var(--muted)
}

.s2-service-list article>b {
    font-size: 27px;
    font-weight: 400
}

.s2-final-cta {
    padding: 90px 0;
    background: var(--brand-accent);
    color: var(--ink)
}

.s2-final-inner {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 50px
}

.s2-final-inner>p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.s2-final-cta h2 {
    font-size: clamp(44px, 5vw, 72px)
}

.s2-button-light {
    background: transparent;
    color: var(--ink)
}

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

.s2-footer {
    background: #111310;
    color: #fff
}

.s2-footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    padding: 75px 0
}

.s2-footer-brand img {
    max-width: 230px;
    max-height: 62px
}

.s2-footer-brand p {
    max-width: 360px;
    color: rgba(255, 255, 255, .58)
}

.s2-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px
}

.s2-footer-links p {
    margin: 0 0 13px;
    color: var(--brand-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.s2-footer-links a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none
}

.s2-footer-links a:hover {
    color: #fff
}

.s2-supplement-notice {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .48);
    font-size: 11px
}

.s2-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .18)
}

.s2-footer-bottom .s2-shell {
    display: flex;
    justify-content: space-between;
    padding: 22px 0;
    color: rgba(255, 255, 255, .48);
    font-size: 11px
}

/* Shared commerce pages, restyled for Shop 2 */
#subheader {
    padding: 58px 0 90px;
    background: #fbfbf8
}

.commerce-page-heading {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ink)
}

.commerce-heading-row {
    border-color: var(--ink)
}

.commerce-page-heading h1,
.section-heading h2,
.product-detail-copy h1,
.product-detail-long-copy h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400
}

.commerce-page-heading h1 {
    font-size: clamp(48px, 6vw, 78px)
}

.eyebrow,
.product-detail-eyebrow {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .15em
}

.commerce-heading-icon {
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--ink);
    transform: none
}

.checkout-progress span {
    border-radius: 0
}

.checkout-progress .is-complete span,
.checkout-progress-cart .is-active span {
    background: var(--brand-primary)
}

.checkout-progress .is-active span {
    border-color: var(--brand-primary);
    box-shadow: none
}

.modern-cart-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px
}

.modern-cart-items {
    gap: 0;
    border-top: 1px solid var(--ink)
}

.modern-cart-item {
    grid-template-columns: 120px minmax(0, 1fr) 100px 110px;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    box-shadow: none
}

.modern-cart-item:before {
    display: none
}

.cart-item-image {
    width: 108px;
    height: 108px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none
}

.cart-item-kicker {
    color: var(--muted)
}

.cart-remove {
    top: 13px;
    right: 2px;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.modern-cart-summary {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: #f3f1e8;
    box-shadow: none
}

.modern-cart-summary:before,
#order_body #checkout-form #order_summary.checkout-summary-card:before {
    height: 9px;
    background: var(--brand-accent);
    border-bottom: 1px solid var(--ink)
}

.summary-title-icon,
.checkout-section-icon {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--brand-accent);
    color: var(--ink);
    box-shadow: none
}

.cart-benefit-strip {
    border-color: var(--ink);
    border-radius: 0;
    box-shadow: none
}

.cart-benefit-strip>div>span {
    border-radius: 0
}

.modern-button {
    border-radius: 0
}

.modern-cart-summary .cart_checkout .modern-button {
    background: var(--brand-primary)
}

.modern-shop-page .section-heading {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 24px
}

.modern-shop-page .modern-product-grid {
    margin-top: 10px
}

.shop-empty-message {
    padding: 40px 0;
    border-top: 1px solid var(--ink)
}

.product-detail-shell {
    padding-top: 20px
}

.product-detail-media {
    top: 20px
}

.product-main-image {
    min-height: 590px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: #efeee8
}

.product-thumb {
    border-radius: 0
}

.product-detail-copy {
    padding-left: 65px
}

.product-detail-copy h1 {
    font-size: clamp(46px, 5vw, 70px)
}

.variant-option {
    border-color: var(--ink);
    border-radius: 0
}

.variant-option.is-selected {
    background: var(--brand-accent);
    box-shadow: none
}

.product-purchase-row .prod_quantity input {
    border-radius: 0
}

.product-purchase-row .prod_addcart .btn {
    border-radius: 0 !important
}

.product-detail-long-copy {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: #f3f1e8
}

#order_body #checkout-form .checkout-main-row {
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, .75fr)
}

#order_body #checkout-form #billing_address.checkout-panel,
#order_body #checkout-form #order_summary.checkout-summary-card {
    border: 1px solid var(--ink) !important;
    border-radius: 0 !important;
    box-shadow: none
}

.checkout-section-heading {
    border-radius: 0;
    background: #f3f1e8
}

.secure-payment-pill {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--brand-accent);
    color: var(--ink)
}

#order_body #checkout-form input[type=text],
#order_body #checkout-form input[type=email],
#order_body #checkout-form input[type=tel],
#order_body #checkout-form select {
    border-color: #bfc3ba !important;
    border-radius: 0 !important;
    background: #fff !important
}

#order_body #checkout-form .shipping_address_input_wrapper,
#order_body #checkout-form .shipping-method-block {
    border-color: var(--ink) !important;
    border-radius: 0 !important;
    background: #f3f1e8 !important
}

#order_body #checkout-form #order_summary.checkout-summary-card {
    background: #f3f1e8 !important
}

#order_body #checkout-form #order_summary #Cart2 img {
    border-radius: 0 !important
}

#order_body #checkout-form #order_summary #form-bottom .btn {
    border-radius: 0 !important;
    background: var(--brand-primary) !important;
    box-shadow: none !important
}

.contact-modal {
    border-top: 1px solid var(--ink);
    padding-top: 30px
}

.btn {
    border-radius: 0 !important
}

@media(max-width:1050px) {
    .s2-nav-row {
        grid-template-columns: auto 1fr auto
    }

    .s2-brand-logo {
        grid-column: 2;
        grid-row: 1
    }

    .s2-primary-nav {
        position: fixed;
        top: 126px;
        right: 0;
        left: 0;
        z-index: 110;
        display: grid;
        gap: 0;
        padding: 18px 24px 30px;
        background: #fbfbf8;
        border-bottom: 1px solid var(--ink);
        transform: translateY(-140%);
        visibility: hidden;
        opacity: 0;
        transition: .25s
    }

    .s2-primary-nav.is-open {
        transform: none;
        visibility: visible;
        opacity: 1
    }

    .s2-primary-nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--line)
    }

    .s2-nav-toggle {
        display: block
    }

    .s2-care-link {
        display: none
    }

    .s2-hero-grid {
        grid-template-columns: 1fr 1fr
    }

    .s2-story-grid {
        grid-template-columns: 1fr 1fr
    }

    .s2-story-title {
        grid-column: 1/-1;
        border: 1px solid rgba(255, 255, 255, .35);
        border-bottom: 0
    }

    .s2-footer-top {
        grid-template-columns: repeat(2, 1fr)
    }

    .s2-product-grid,
    .modern-product-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:780px) {
    :root {
        --shell: min(100% - 28px, 1240px)
    }

    .s2-announcement-inner {
        justify-content: flex-start;
        overflow: hidden;
        white-space: nowrap
    }

    .s2-announcement-inner>*:nth-child(n+2) {
        display: none
    }

    .s2-nav-row {
        min-height: 76px
    }

    .s2-brand-logo img {
        max-width: 170px;
        max-height: 45px
    }

    .s2-cart-link span {
        display: none
    }

    .s2-primary-nav {
        top: 110px
    }

    .s2-hero {
        padding: 16px 0 45px
    }

    .s2-hero-grid {
        grid-template-columns: 1fr
    }

    .s2-hero-copy {
        padding: 45px 28px
    }

    .s2-hero h1 {
        font-size: 60px
    }

    .s2-hero-notes {
        display: none
    }

    .s2-hero-visual {
        min-height: 440px
    }

    .s2-section {
        padding: 75px 0
    }

    .s2-section-heading {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .s2-product-grid,
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .s2-story-grid {
        grid-template-columns: 1fr
    }

    .s2-story-image {
        min-height: 430px
    }

    .s2-story-title,
    .s2-story-copy {
        padding: 35px 25px;
        border: 1px solid rgba(255, 255, 255, .35)
    }

    .s2-final-inner {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .s2-footer-top {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .s2-footer-bottom .s2-shell {
        flex-direction: column;
        gap: 7px
    }

    .modern-cart-item {
        grid-template-columns: 90px minmax(0, 1fr);
        padding: 20px 0
    }

    .cart-item-image {
        grid-row: 1/3;
        width: 80px;
        height: 80px
    }

    .cart-item-quantity {
        grid-column: 2
    }

    .cart-line-total {
        right: 0
    }

    .product-detail-copy {
        padding-left: 15px
    }
}

@media(max-width:480px) {
    .s2-hero-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .s2-hero-visual {
        min-height: 350px
    }

    .s2-hero-stamp {
        width: 92px;
        height: 92px
    }

    .s2-product-card .product-image,
    .modern-product-card .product-image {
        padding: 14px
    }

    .s2-product-card .product-card-copy,
    .modern-product-card .product-card-copy {
        padding: 14px
    }

    .s2-product-card h3,
    .modern-product-card h3 {
        font-size: 13px
    }

    .s2-product-card .icon-button,
    .modern-product-card .icon-button {
        padding: 0 8px
    }

    .s2-service-list article {
        grid-template-columns: 40px 1fr auto;
        gap: 12px
    }

    .s2-service-list h3 {
        font-size: 26px
    }
}

.contact-page {
    width: min(1120px, calc(100% - 40px));
    margin: 72px auto;
    min-height: 0
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    border-top: 2px solid var(--s2-primary);
    border-bottom: 2px solid var(--s2-primary)
}

.contact-intro {
    padding: 55px 45px 55px 0
}

.contact-eyebrow {
    margin: 0 0 20px;
    font: 600 11px/1 "Space Grotesk", sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase
}

.contact-intro h1 {
    max-width: 370px;
    margin: 0 0 22px;
    font: italic clamp(48px, 6vw, 78px)/.9 "Instrument Serif", serif;
    letter-spacing: -.035em
}

.contact-intro>p:not(.contact-eyebrow) {
    max-width: 390px;
    color: rgba(24, 26, 23, .65)
}

.contact-details {
    display: grid;
    gap: 8px;
    margin-top: 42px
}

.contact-details strong {
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px
}

.contact-details a {
    width: max-content;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor
}

.contact-form {
    display: grid;
    gap: 8px;
    padding: 50px 0 50px 58px;
    border-left: 1px solid rgba(24, 26, 23, .25)
}

.contact-form label {
    margin-top: 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(24, 26, 23, .4);
    border-radius: 0;
    background: transparent;
    color: var(--s2-primary);
    font: 500 16px/1.5 "Space Grotesk", sans-serif;
    outline: none
}

.contact-form input {
    height: 50px
}

.contact-form textarea {
    min-height: 150px;
    padding: 12px 0;
    resize: vertical
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--s2-primary);
    box-shadow: 0 1px 0 var(--s2-primary)
}

.contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 57px;
    margin-top: 24px;
    border: 0;
    border-radius: 0;
    background: var(--s2-primary);
    color: #fff;
    font: 700 13px/1 "Space Grotesk", sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    cursor: pointer
}

.contact-form button:disabled {
    opacity: .6;
    cursor: wait
}

.contact-form-status {
    min-height: 24px;
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600
}

.contact-form-status.is-success {
    color: #276c3e
}

.contact-form-status.is-error {
    color: #a52b2b
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important
}

@media(max-width:760px) {
    .contact-page {
        width: min(100% - 24px, 600px);
        margin: 38px auto
    }

    .contact-page-grid {
        grid-template-columns: 1fr
    }

    .contact-intro {
        padding: 38px 0
    }

    .contact-form {
        padding: 38px 0;
        border-left: 0;
        border-top: 1px solid rgba(24, 26, 23, .25)
    }

    .contact-intro h1 {
        font-size: 54px
    }
}

/* Give long product names room, keeping quantity and total on a second row. */
#shopping_cart .modern-cart-item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    grid-template-areas: "image info info" "image quantity total";
    gap: 16px 20px;
}
#shopping_cart .cart-item-image { grid-area: image; align-self: start; width: 100%; height: auto; aspect-ratio: 1; }
#shopping_cart .cart-item-info { grid-area: info; min-width: 0; padding-right: 22px; }
#shopping_cart .cart-item-info h2 { font-size: 20px !important; line-height: 1.35; overflow-wrap: anywhere; }
#shopping_cart .cart-item-quantity { grid-area: quantity; }
#shopping_cart .cart-line-total { grid-area: total; position: static; align-self: end; }
#shopping_cart .summary-title-row h2 { font-size: 26px !important; line-height: 1.2; }
@media (max-width: 575px) {
    #shopping_cart .modern-cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px 12px; }
    #shopping_cart .cart-item-info h2 { font-size: 18px !important; }
    #shopping_cart .cart-item-quantity input { width: 70px; }
}
