:root {
    --shop-ink: #292621;
    --shop-muted: #746e66;
    --shop-faint: #9a9287;
    --shop-paper: #f7f3ed;
    --shop-paper-soft: #eee7dc;
    --shop-paper-card: #fbf9f5;
    --shop-dark: #27231f;
    --shop-accent: #a9825c;
    --shop-line: rgba(41, 38, 33, 0.14);
    --shop-success: #496b55;
}

.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: 12px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    color: #fff;
    background: var(--shop-dark);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.shop-cart-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shop-cart-button span {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: var(--shop-dark);
    background: #fff;
    font-size: 10px;
}

.header.scrolled .shop-cart-button {
    color: var(--shop-ink);
    border-color: var(--shop-line);
}

.header.scrolled .shop-cart-button span {
    color: #fff;
    background: var(--shop-dark);
}

.shop-cart-button:hover {
    border-color: var(--color-accent);
    background: rgba(182, 148, 109, 0.14);
}

.mobile-shop-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--color-accent-light);
}

.shop-section {
    padding: clamp(88px, 10vw, 148px) 0 clamp(96px, 11vw, 164px);
    background: var(--shop-paper);
}

.shop-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    align-items: end;
    gap: clamp(40px, 8vw, 128px);
}

.shop-intro .section-title {
    margin: 0;
    max-width: 790px;
    font-size: clamp(50px, 7vw, 92px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.shop-intro-note {
    padding-bottom: 7px;
}

.shop-intro-note > p {
    max-width: 480px;
    color: var(--shop-muted);
    font-size: 16px;
    line-height: 1.75;
}

.shop-text-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    border-bottom: 1px solid var(--shop-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.shop-text-link span {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--shop-dark);
    font-size: 10px;
}

.shop-terms {
    display: grid;
    grid-template-columns: repeat(3, 1fr) minmax(280px, 1.2fr);
    gap: 0;
    margin-top: clamp(54px, 7vw, 94px);
    border-top: 1px solid var(--shop-line);
    border-bottom: 1px solid var(--shop-line);
}

.shop-terms > div,
.shop-terms > p {
    min-height: 116px;
    padding: 24px 26px;
    border-right: 1px solid var(--shop-line);
}

.shop-terms > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-terms > div span {
    color: var(--shop-faint);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-terms > div strong {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 400;
}

.shop-terms > p {
    display: flex;
    align-items: center;
    border-right: 0;
    color: var(--shop-muted);
    font-size: 13px;
    line-height: 1.65;
}

.shop-toolbar {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 210px 220px;
    gap: 12px;
    margin-top: 56px;
}

.shop-search,
.shop-select-wrap {
    position: relative;
    min-width: 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-search {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 58px;
}

.shop-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.shop-search input,
.shop-select-wrap select {
    width: 100%;
    min-height: 56px;
    border: 0;
    outline: 0;
    color: var(--shop-ink);
    background: transparent;
}

.shop-search input::placeholder {
    color: var(--shop-faint);
}

.shop-search button {
    min-width: 44px;
    min-height: 44px;
    color: var(--shop-faint);
    font-size: 22px;
}

.shop-select-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.shop-select-wrap > span {
    color: var(--shop-faint);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-select-wrap select {
    padding-right: 24px;
    cursor: pointer;
    font-size: 13px;
}

.shop-catalog-layout {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    gap: clamp(38px, 6vw, 88px);
    min-width: 0;
    margin-top: 54px;
}

.shop-categories {
    position: relative;
}

.shop-category-list {
    position: sticky;
    top: 104px;
    border-top: 1px solid var(--shop-line);
}

.shop-category-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--shop-line);
    color: var(--shop-muted);
    text-align: left;
    transition: color 180ms ease, padding 180ms ease;
}

.shop-category-button span:first-child {
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.25;
}

.shop-category-button span:last-child {
    color: var(--shop-faint);
    font-size: 10px;
}

.shop-category-button:hover,
.shop-category-button[aria-current="true"] {
    padding-left: 9px;
    color: var(--shop-accent);
}

.shop-results {
    min-width: 0;
}

.shop-results-head {
    display: flex;
    min-height: 42px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--shop-line);
    color: var(--shop-faint);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-results-head button {
    min-height: 36px;
    color: var(--shop-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-product-grid {
    display: grid;
}

.shop-product-card {
    display: grid;
    grid-template-columns: clamp(168px, 23vw, 238px) minmax(0, 1fr) minmax(152px, 190px);
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
    min-width: 0;
    min-height: 280px;
    padding: 32px 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-product-media,
.product-modal-media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f0ebe3;
}

.shop-product-media {
    width: 100%;
    min-height: 212px;
}

.shop-product-media img,
.product-modal-media img {
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 82%;
    object-fit: contain;
}

.shop-product-open {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.shop-product-open:focus-visible {
    outline: 2px solid var(--shop-accent);
    outline-offset: -4px;
}

.shop-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: inherit;
    place-items: center;
    padding: 24px;
    color: var(--shop-faint);
    text-align: center;
}

.shop-placeholder .window-mark {
    width: 44px;
    height: 52px;
    color: #a79d91;
}

.shop-placeholder small {
    display: block;
    margin-top: 17px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.shop-product-copy {
    min-width: 0;
}

.shop-product-meta,
.product-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-bottom: 13px;
    color: var(--shop-faint);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.shop-product-copy h3 {
    max-width: 590px;
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.4vw, 31px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.018em;
}

.shop-product-copy h3 button {
    text-align: left;
}

.shop-product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
    color: var(--shop-muted);
    font-size: 12px;
    line-height: 1.5;
}

.shop-product-facts span::before {
    content: "—";
    margin-right: 6px;
    color: var(--shop-accent);
}

.shop-product-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.shop-compatibility {
    max-width: 560px;
    margin-top: 17px;
    padding-left: 13px;
    border-left: 1px solid var(--shop-accent);
    color: var(--shop-muted);
    font-size: 11px;
    line-height: 1.55;
}

.shop-product-purchase {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.shop-product-price,
.product-modal-price {
    font-family: var(--font-heading);
    font-size: clamp(25px, 2.4vw, 33px);
    line-height: 1;
}

.shop-product-unit,
.product-modal-unit {
    display: block;
    margin-top: 7px;
    color: var(--shop-faint);
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.shop-variant-label {
    display: block;
    margin-top: 18px;
}

.shop-variant-label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--shop-faint);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shop-variant-label select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--shop-line);
    border-radius: 0;
    color: var(--shop-ink);
    background: var(--shop-paper-card);
    font-size: 12px;
}

.shop-card-add {
    width: 100%;
    min-height: 48px;
}

.shop-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
    margin-top: 17px;
}

.shop-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.shop-button-primary {
    color: #fff;
    background: var(--shop-accent);
}

.shop-button-primary:hover {
    background: #8f6d4c;
    transform: translateY(-1px);
}

.shop-button-secondary {
    border-color: var(--shop-line);
    background: transparent;
}

.shop-button-secondary:hover {
    border-color: var(--shop-ink);
}

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

.shop-button-dark:hover {
    color: #fff;
    background: #3a342f;
}

.shop-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.shop-load-more {
    width: 100%;
    min-height: 62px;
    margin-top: 30px;
    border: 1px solid var(--shop-line);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: border-color 180ms ease, background 180ms ease;
}

.shop-load-more:hover {
    border-color: var(--shop-accent);
    background: rgba(169, 130, 92, 0.06);
}

.shop-empty {
    min-height: 420px;
    padding: 74px 24px;
    text-align: center;
}

.shop-empty .window-mark {
    width: 38px;
    height: 44px;
    margin-bottom: 22px;
    color: var(--shop-faint);
}

.shop-empty h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
}

.shop-empty p {
    margin: 9px auto 26px;
    color: var(--shop-muted);
}

.shop-service-bridge {
    padding: clamp(72px, 9vw, 124px) 0;
    color: #f9f6f0;
    background: var(--shop-dark);
}

.shop-service-bridge-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(48px, 9vw, 140px);
}

.shop-service-bridge .section-label {
    color: var(--color-accent-light);
}

.shop-service-bridge h2 {
    max-width: 720px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 5.7vw, 74px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.shop-service-bridge p {
    color: rgba(249, 246, 240, 0.66);
    font-size: 15px;
    line-height: 1.75;
}

.shop-service-bridge .shop-button {
    margin-top: 28px;
    color: var(--shop-dark);
    background: #f4eee4;
}

.shop-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: var(--shop-ink);
    background: transparent;
}

.shop-dialog::backdrop {
    background: rgba(25, 22, 19, 0.72);
    backdrop-filter: blur(5px);
}

.shop-dialog-shell {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--shop-paper);
}

.shop-dialog-close {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--shop-line);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 200;
    line-height: 1;
    transition: border-color 180ms ease, transform 180ms ease;
}

.shop-dialog-close:hover {
    border-color: var(--shop-accent);
    transform: rotate(4deg);
}

.product-dialog-shell {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
    max-width: 1180px;
    height: min(760px, calc(100% - 64px));
    margin: 32px auto;
    overflow: hidden;
}

.product-dialog-shell > .shop-dialog-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(247, 243, 237, 0.9);
}

.product-modal {
    display: contents;
}

.product-modal-media {
    min-height: 100%;
}

.product-modal-copy {
    overflow-y: auto;
    padding: clamp(64px, 8vw, 108px) clamp(38px, 6vw, 78px) 52px;
}

.product-modal-copy h2 {
    max-width: 590px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 4.7vw, 58px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.038em;
}

.product-modal-description {
    margin-top: 24px;
    color: var(--shop-muted);
    font-size: 14px;
    line-height: 1.75;
}

.product-modal-facts {
    margin: 30px 0;
    border-top: 1px solid var(--shop-line);
}

.product-modal-facts div {
    display: grid;
    grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--shop-line);
    font-size: 12px;
}

.product-modal-facts dt {
    color: var(--shop-faint);
}

.product-modal-facts dd {
    text-align: right;
}

.product-modal-buy {
    display: grid;
    grid-template-columns: 118px minmax(180px, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 24px;
}

.product-modal-buy .shop-variant-label {
    grid-column: 1 / -1;
    margin-top: 0;
}

.product-image-note {
    margin-top: 18px;
    color: var(--shop-faint);
    font-size: 10px;
    line-height: 1.55;
}

.shop-quantity {
    display: grid;
    grid-template-columns: 40px 38px 40px;
    min-height: 48px;
    border: 1px solid var(--shop-line);
}

.shop-quantity button {
    min-width: 40px;
    min-height: 46px;
    font-size: 20px;
}

.shop-quantity output {
    display: grid;
    place-items: center;
    font-size: 13px;
}

.shop-dialog-header {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px clamp(24px, 5vw, 50px);
    border-bottom: 1px solid var(--shop-line);
}

.shop-dialog-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    line-height: 1;
}

.shop-eyebrow {
    margin-bottom: 6px;
    color: var(--shop-accent);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cart-dialog {
    inset: 0 0 0 auto;
    width: min(620px, 100%);
    margin-left: auto;
}

.shop-drawer-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    box-shadow: -24px 0 80px rgba(20, 17, 14, 0.22);
}

.cart-content {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
}

.cart-items {
    overflow-y: auto;
    padding: 0 clamp(24px, 5vw, 50px);
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid var(--shop-line);
}

.cart-item-category {
    color: var(--shop-faint);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-item h3 {
    margin-top: 4px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
}

.cart-item-variant {
    margin-top: 6px;
    color: var(--shop-muted);
    font-size: 11px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.cart-item-controls .shop-quantity {
    grid-template-columns: 36px 34px 36px;
    min-height: 42px;
}

.cart-item-controls .shop-quantity button {
    min-width: 36px;
    min-height: 40px;
}

.cart-remove {
    min-height: 44px;
    color: var(--shop-faint);
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-item-price {
    padding-top: 19px;
    font-family: var(--font-heading);
    font-size: 18px;
    white-space: nowrap;
}

.cart-summary {
    padding: 24px clamp(24px, 5vw, 50px) calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--shop-line);
    background: #eee7dc;
}

.cart-minimum {
    margin-bottom: 18px;
}

.cart-minimum p {
    font-size: 12px;
    line-height: 1.5;
}

.cart-minimum-meter {
    height: 3px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(41, 38, 33, 0.12);
}

.cart-minimum-meter span {
    display: block;
    width: var(--minimum-progress, 0%);
    height: 100%;
    background: var(--shop-accent);
    transition: width 220ms ease;
}

.cart-totals {
    border-top: 1px solid var(--shop-line);
}

.cart-totals div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 10px;
    color: var(--shop-muted);
    font-size: 12px;
}

.cart-totals .cart-grand-total {
    margin-top: 9px;
    color: var(--shop-ink);
    font-family: var(--font-heading);
    font-size: 22px;
}

.cart-summary .shop-button {
    width: 100%;
    margin-top: 20px;
}

.cart-service-note {
    margin-top: 15px;
    color: var(--shop-muted);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.cart-empty {
    display: grid;
    height: 100%;
    min-height: 400px;
    place-items: center;
    padding: 50px 30px;
    text-align: center;
}

.cart-empty h3 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
}

.cart-empty p {
    margin: 8px auto 24px;
    color: var(--shop-muted);
}

.checkout-dialog-shell {
    max-width: 1120px;
    height: min(820px, calc(100% - 48px));
    margin: 24px auto;
    overflow: hidden;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    height: calc(100% - 112px);
}

.checkout-form,
.checkout-summary {
    overflow-y: auto;
    padding: 34px clamp(24px, 5vw, 52px) 44px;
}

.checkout-form {
    border-right: 1px solid var(--shop-line);
}

.checkout-form-intro {
    margin-bottom: 28px;
    padding: 16px 18px;
    border-left: 2px solid var(--shop-accent);
    color: var(--shop-muted);
    background: #eee7dc;
    font-size: 12px;
    line-height: 1.6;
}

.checkout-error-summary {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 2px solid #9d4c42;
    color: #713b35;
    background: #f2e5e0;
    font-size: 11px;
    line-height: 1.6;
}

.checkout-error-summary strong {
    display: block;
    margin-bottom: 5px;
}

.checkout-error-summary ul {
    padding-left: 17px;
}

.checkout-server-error {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 2px solid #9d4c42;
    background: #f6ece8;
    color: #713b35;
    font-size: 12px;
    line-height: 1.6;
}

.checkout-server-error strong {
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.checkout-server-error a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.checkout-form > label {
    display: block;
    margin-top: 19px;
}

.checkout-form > label > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: var(--shop-muted);
    font-size: 11px;
}

.checkout-form > label em {
    color: var(--shop-faint);
    font-size: 8px;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    min-height: 50px;
    margin-top: 7px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--shop-line);
    border-radius: 0;
    outline: 0;
    color: var(--shop-ink);
    background: transparent;
}

.checkout-form textarea {
    min-height: 102px;
    resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: var(--shop-accent);
}

.checkout-form [aria-invalid="true"] {
    border-color: #9d4c42;
}

.checkout-form small {
    display: block;
    min-height: 18px;
    padding-top: 4px;
    color: #8b4139;
    font-size: 10px;
}

.checkout-submit {
    width: 100%;
    margin-top: 15px;
}

.checkout-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.checkout-privacy {
    margin-top: 11px;
    color: var(--shop-faint);
    font-size: 9px;
    text-align: center;
}

.checkout-summary {
    background: #eee7dc;
}

.checkout-summary h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
}

.checkout-summary-list {
    margin-top: 20px;
    border-top: 1px solid var(--shop-line);
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--shop-line);
    font-size: 11px;
    line-height: 1.5;
}

.checkout-summary-item span:last-child {
    white-space: nowrap;
}

.checkout-summary .cart-totals {
    margin-top: 24px;
}

.checkout-delivery-note {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--shop-line);
    color: var(--shop-muted);
    font-size: 11px;
    line-height: 1.65;
}

.checkout-result {
    height: calc(100% - 112px);
    overflow-y: auto;
    padding: clamp(40px, 6vw, 72px);
}

.checkout-result h3 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.05;
}

.checkout-result > p:not(.shop-eyebrow) {
    margin-top: 14px;
    color: var(--shop-muted);
}

.checkout-result-summary {
    max-width: 620px;
    margin-top: 32px;
    border-top: 1px solid var(--shop-line);
}

.checkout-result-summary p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 0;
    border-bottom: 1px solid var(--shop-line);
}

.checkout-result-summary span {
    color: var(--shop-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.checkout-result-summary strong {
    color: var(--shop-ink);
    text-align: right;
}

.checkout-result pre {
    max-width: 850px;
    margin-top: 28px;
    padding: 22px;
    overflow: auto;
    border: 1px solid var(--shop-line);
    color: #f6f0e7;
    background: var(--shop-dark);
    font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.checkout-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.checkout-result-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-bar {
    display: none;
}

.shop-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 3000;
    max-width: min(360px, calc(100vw - 40px));
    padding: 14px 18px;
    color: #fff;
    background: var(--shop-dark);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.shop-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.shop-load-error {
    min-height: 360px;
    padding: 70px 24px;
    text-align: center;
}

.shop-load-error h3 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
}

.shop-load-error p {
    max-width: 520px;
    margin: 12px auto 24px;
    color: var(--shop-muted);
    line-height: 1.65;
}

body.shop-dialog-open {
    overflow: hidden;
}

.shop-section button:focus-visible,
.shop-section a:focus-visible,
.shop-dialog button:focus-visible,
.shop-dialog input:focus-visible,
.shop-dialog textarea:focus-visible,
.shop-dialog select:focus-visible,
.mobile-cart-bar:focus-visible,
.shop-cart-button:focus-visible {
    outline: 2px solid var(--shop-accent);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .shop-terms {
        grid-template-columns: repeat(3, 1fr);
    }

    .shop-terms > div:nth-child(3) {
        border-right: 0;
    }

    .shop-terms > p {
        grid-column: 1 / -1;
        min-height: 78px;
        border-top: 1px solid var(--shop-line);
    }

    .shop-catalog-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 36px;
    }

    .shop-product-card {
        grid-template-columns: 170px minmax(0, 1fr);
        min-height: 260px;
    }

    .shop-product-purchase {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(110px, auto) minmax(260px, 1fr);
        align-items: end;
        justify-content: start;
        gap: 14px;
    }

    .shop-product-purchase .shop-variant-label {
        grid-column: 1 / -1;
        max-width: 280px;
        margin-top: 0;
    }

    .shop-card-actions {
        grid-template-columns: 118px minmax(0, 1fr);
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .shop-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .shop-intro-copy,
    .shop-intro-note {
        min-width: 0;
    }

    .shop-intro-note {
        max-width: 580px;
    }

    .shop-toolbar {
        grid-template-columns: minmax(0, 1fr) 190px;
    }

    .shop-search {
        grid-column: 1 / -1;
    }

    .shop-catalog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .shop-categories {
        min-width: 0;
    }

    .shop-category-list {
        position: static;
        display: flex;
        gap: 8px;
        margin: 0 calc(-1 * var(--container-pad));
        padding: 2px var(--container-pad) 10px;
        overflow-x: auto;
        border: 0;
        scrollbar-width: none;
    }

    .shop-category-list::-webkit-scrollbar {
        display: none;
    }

    .shop-category-button {
        display: inline-flex;
        flex: 0 0 auto;
        width: auto;
        min-height: 46px;
        padding: 9px 15px;
        border: 1px solid var(--shop-line);
    }

    .shop-category-button span:first-child {
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
    }

    .shop-category-button:hover,
    .shop-category-button[aria-current="true"] {
        padding-left: 15px;
        color: #fff;
        border-color: var(--shop-dark);
        background: var(--shop-dark);
    }

    .shop-service-bridge-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-dialog-shell {
        grid-template-columns: 0.82fr 1.18fr;
        width: calc(100% - 32px);
        height: calc(100% - 32px);
        margin: 16px;
    }

    .checkout-dialog-shell {
        width: calc(100% - 32px);
        height: calc(100% - 32px);
        margin: 16px;
    }
}

@media (max-width: 680px) {
    .shop-section {
        padding: 78px 0 104px;
    }

    .shop-intro .section-title {
        font-size: clamp(36px, 10.5vw, 50px);
    }

    .shop-intro-note > p {
        font-size: 14px;
    }

    .shop-terms {
        grid-template-columns: 1fr 1fr;
        margin-top: 48px;
    }

    .shop-terms > div,
    .shop-terms > p {
        min-height: 102px;
        padding: 20px 16px;
    }

    .shop-terms > div:nth-child(2) {
        border-right: 0;
    }

    .shop-terms > div:nth-child(3) {
        grid-column: 1 / -1;
        min-height: 86px;
        border-top: 1px solid var(--shop-line);
    }

    .shop-terms > p {
        min-height: 82px;
        font-size: 11px;
    }

    .shop-toolbar {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-top: 42px;
    }

    .shop-search {
        grid-column: auto;
    }

    .shop-select-wrap {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .shop-catalog-layout {
        margin-top: 32px;
    }

    .shop-product-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 0 34px;
    }

    .shop-product-media {
        min-height: 232px;
    }

    .shop-product-copy h3 {
        font-size: 27px;
    }

    .shop-product-purchase {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .shop-product-purchase .shop-variant-label {
        max-width: none;
    }

    .shop-service-bridge {
        padding: 76px 0;
    }

    .shop-service-bridge h2 {
        font-size: 44px;
    }

    .product-dialog-shell,
    .checkout-dialog-shell {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .product-dialog-shell {
        display: block;
        overflow-y: auto;
    }

    .product-modal {
        display: block;
    }

    .product-modal-media {
        min-height: 42vh;
    }

    .product-modal-copy {
        overflow: visible;
        padding: 38px 20px calc(40px + env(safe-area-inset-bottom));
    }

    .product-modal-copy h2 {
        font-size: 39px;
    }

    .product-dialog-shell > .shop-dialog-close {
        position: fixed;
        top: calc(12px + env(safe-area-inset-top));
        right: 12px;
    }

    .product-modal-buy {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .shop-dialog-header {
        min-height: 94px;
        padding: calc(16px + env(safe-area-inset-top)) 20px 16px;
    }

    .cart-items {
        padding: 0 20px;
    }

    .cart-summary {
        padding: 21px 20px calc(94px + env(safe-area-inset-bottom));
    }

    .checkout-layout {
        display: block;
        height: calc(100% - 94px);
        overflow-y: auto;
    }

    .checkout-form,
    .checkout-summary {
        overflow: visible;
        padding: 26px 20px 36px;
    }

    .checkout-form {
        border-right: 0;
    }

    .checkout-summary {
        border-top: 1px solid var(--shop-line);
    }

    .checkout-result {
        height: calc(100% - 94px);
        padding: 34px 20px calc(44px + env(safe-area-inset-bottom));
    }

    .checkout-result-actions {
        display: grid;
    }

    .checkout-result-summary p {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .checkout-result-summary strong {
        text-align: left;
    }

    .mobile-cart-bar.has-items {
        position: fixed;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 980;
        display: flex;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 18px;
        color: #fff;
        background: var(--shop-dark);
        box-shadow: 0 16px 44px rgba(24, 20, 17, 0.24);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-cart-bar strong {
        font-weight: 500;
    }

    .shop-toast {
        right: 16px;
        bottom: calc(86px + env(safe-area-inset-bottom));
        left: 16px;
        max-width: none;
    }

    .window-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .shop-terms {
        grid-template-columns: 1fr;
    }

    .shop-terms > div {
        grid-column: auto !important;
        min-height: 80px;
        border-right: 0;
        border-top: 1px solid var(--shop-line);
    }

    .shop-terms > div:first-child {
        border-top: 0;
    }

    .shop-product-purchase {
        grid-template-columns: 1fr;
    }

    .shop-card-actions {
        grid-template-columns: 108px minmax(0, 1fr);
        margin-top: 4px;
    }

    .product-modal-buy {
        grid-template-columns: 1fr;
    }

    .shop-quantity {
        width: 118px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-section *,
    .shop-dialog *,
    .mobile-cart-bar,
    .shop-toast {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Shop preview v2: denser catalog rhythm while preserving the OKNO editorial system. */
.shop-product-facts span::before {
    content: "·";
    margin-right: 7px;
}

.shop-selection-note {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    margin-top: 14px;
    padding: 4px 9px;
    border: 1px solid rgba(169, 130, 92, 0.44);
    color: var(--shop-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
}

.shop-card-add.is-added {
    color: #fff;
    border-color: var(--shop-success);
    background: var(--shop-success);
}

@media (max-width: 900px) {
    .shop-categories::after {
        content: "→";
        position: absolute;
        top: 0;
        right: calc(-1 * var(--container-pad));
        z-index: 2;
        display: flex;
        width: 64px;
        height: 46px;
        align-items: center;
        justify-content: flex-end;
        padding-right: 8px;
        color: var(--shop-accent);
        font-size: 15px;
        opacity: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(247, 243, 237, 0), var(--shop-paper) 82%);
        transition: opacity 160ms ease;
    }

    .shop-categories.has-more-categories::after {
        opacity: 1;
    }

    .shop-category-list {
        padding-right: calc(var(--container-pad) + 44px);
        scroll-padding-inline: var(--container-pad);
    }
}

@media (max-width: 680px) {
    .shop-section {
        padding: 48px 0 80px;
    }

    .shop-intro {
        gap: 18px;
    }

    .shop-intro-note {
        padding-bottom: 0;
    }

    .shop-intro-note > p {
        font-size: 13px;
        line-height: 1.58;
    }

    .shop-text-link {
        min-height: 40px;
        margin-top: 12px;
    }

    .shop-terms {
        margin-top: 28px;
    }

    .shop-terms > div,
    .shop-terms > p {
        min-height: 76px;
        padding: 14px 12px;
    }

    .shop-terms > div:nth-child(3) {
        min-height: 64px;
    }

    .shop-terms > p {
        min-height: 62px;
        font-size: 10px;
        line-height: 1.5;
    }

    .shop-terms > div span {
        font-size: 8px;
        letter-spacing: 0.11em;
    }

    .shop-terms > div strong {
        margin-top: 8px;
        font-size: 20px;
    }

    .shop-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0 14px;
        margin-top: 28px;
    }

    .shop-search {
        grid-column: 1 / -1;
        min-height: 46px;
    }

    .shop-search input,
    .shop-select-wrap select {
        min-height: 44px;
        font-size: 12px;
    }

    .shop-select-wrap {
        display: block;
        padding-top: 9px;
    }

    .shop-select-wrap > span {
        display: block;
        margin-bottom: -5px;
        font-size: 7px;
    }

    .shop-select-wrap select {
        padding-right: 18px;
    }

    .shop-catalog-layout {
        gap: 16px;
        margin-top: 22px;
    }

    .shop-category-list {
        gap: 6px;
        padding-bottom: 5px;
    }

    .shop-category-button {
        min-height: 44px;
        padding: 7px 12px;
    }

    .shop-category-button span:first-child {
        font-size: 10px;
    }

    .shop-category-button:hover,
    .shop-category-button[aria-current="true"] {
        padding-left: 12px;
    }

    .shop-results-head {
        min-height: 34px;
        font-size: 9px;
    }

    .shop-product-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 18px 0 20px;
    }

    .shop-product-media {
        height: 160px;
        min-height: 160px;
        aspect-ratio: auto;
    }

    .shop-product-media img {
        max-width: 72%;
        max-height: 78%;
    }

    .shop-placeholder {
        min-height: 160px;
        padding: 14px;
    }

    .shop-placeholder .window-mark {
        width: 28px;
        height: 34px;
    }

    .shop-placeholder small {
        margin-top: 9px;
        font-size: 7px;
        letter-spacing: 0.11em;
    }

    .shop-product-meta {
        gap: 5px 9px;
        margin-bottom: 6px;
        font-size: 7px;
    }

    .shop-product-copy h3 {
        max-width: none;
        font-size: 21px;
        line-height: 1.13;
    }

    .shop-product-facts {
        gap: 3px 10px;
        margin-top: 7px;
        font-size: 10px;
    }

    .shop-selection-note {
        min-height: 20px;
        margin-top: 8px;
        padding: 3px 7px;
        font-size: 7px;
    }

    .shop-product-purchase {
        grid-column: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(132px, 0.82fr);
        align-items: end;
        gap: 0 12px;
    }

    .shop-product-purchase > div:first-child {
        grid-column: 1;
        grid-row: 2;
    }

    .shop-product-purchase .shop-variant-label {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0 0 9px;
    }

    .shop-product-purchase .shop-variant-label select {
        min-height: 40px;
    }

    .shop-card-actions {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }

    .shop-product-price {
        font-size: 28px;
    }

    .shop-product-unit {
        margin-top: 4px;
        font-size: 8px;
    }

    .shop-card-add {
        min-height: 44px;
        padding-inline: 12px;
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .shop-product-copy h3 {
        font-size: 20px;
    }

    .shop-product-purchase {
        grid-template-columns: minmax(0, 1fr) 124px;
    }

    .shop-card-actions {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
}

/* Product photography: preserve each original image and normalize its visible size. */
#productDialogContent {
    display: contents;
}

.shop-product-media,
.product-modal-media {
    background: #fff;
}

.shop-photo-frame {
    position: relative;
    display: block;
    width: min(72%, 200px);
    aspect-ratio: 1;
    pointer-events: none;
}

.product-modal-media .shop-photo-frame {
    width: min(82%, 360px);
}

.shop-photo-frame img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(var(--photo-scale, 1));
    transform-origin: center;
}

@media (max-width: 900px) {
    .product-modal-media .shop-photo-frame {
        width: min(74%, 220px);
    }
}

@media (max-width: 680px) {
    .shop-product-media .shop-photo-frame {
        width: 132px;
    }

    .product-modal-media .shop-photo-frame {
        width: min(74%, 176px);
    }
}
