/* fonts */
@font-face {
    font-family: 'Faustina';
    src: url('../fonts/faustina-var.woff2') format('woff2');
    font-display: swap;
    font-weight: 400 800;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Faustina Fallback';
    src: local('Georgia');
    ascent-override: 111.20%;
    descent-override: 23.50%;
    size-adjust: 93.55%;
}
@font-face {
    font-family: 'Cabin';
    src: url('../fonts/cabin-var.woff2') format('woff2');
    font-display: swap;
    font-weight: 400 700;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cabin Fallback';
    src: local('Arial');
    ascent-override: 103.20%;
    descent-override: 26.60%;
    size-adjust: 94.01%;
}

/* tokens */
:root {
    --edp-base: hsl(210 20% 97%);
    --edp-tint: hsl(210 16% 92%);
    --edp-rule: hsl(210 12% 80%);
    --edp-mute: hsl(210 8% 42%);
    --edp-text: hsl(212 18% 16%);
    --edp-night: hsl(212 20% 13%);
    --edp-rust: hsl(17 48% 41%);
    --edp-rust-lt: hsl(17 62% 66%);
    --edp-serif: 'Faustina', 'Faustina Fallback', Georgia, serif;
    --edp-sans: 'Cabin', 'Cabin Fallback', Arial, sans-serif;
    --edp-wrap: 1200px;
    --edp-gut: clamp(16px, 4vw, 40px);
    --edp-head-h: 76px;
    --edp-radius: 3px;
    --edp-btn-radius: 8px;
}

/* reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(var(--edp-head-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--edp-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--edp-text);
    background: var(--edp-base);
}

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

a {
    color: var(--edp-rust);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--edp-text);
}

:focus-visible {
    outline: 2px solid var(--edp-rust);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    margin: 0 0 0.6em;
    font-family: var(--edp-serif);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1em;
}

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

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

.wrap {
    max-width: var(--edp-wrap);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--edp-gut);
    padding-left: var(--edp-gut);
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    font-family: var(--edp-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    color: var(--edp-base);
    background: var(--edp-rust);
    border: 1px solid var(--edp-rust);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.btn:hover {
    color: var(--edp-base);
    background: var(--edp-night);
    border-color: var(--edp-night);
}

.btn-ghost {
    color: var(--edp-text);
    background: transparent;
    border-color: var(--edp-text);
}

.btn-ghost:hover {
    color: var(--edp-base);
    background: var(--edp-text);
}

.tone-dark .btn-ghost,
.hero .btn-ghost {
    color: var(--edp-base);
    border-color: var(--edp-base);
}

.tone-dark .btn-ghost:hover,
.hero .btn-ghost:hover {
    color: var(--edp-night);
    background: var(--edp-base);
}

.tone-dark .btn:hover {
    color: var(--edp-night);
    background: var(--edp-base);
    border-color: var(--edp-base);
}

.btn[disabled] {
    cursor: progress;
    background: var(--edp-mute);
    border-color: var(--edp-mute);
}

/* skew marker */
.skew-mark {
    position: relative;
    display: inline-block;
    padding: 2px 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--edp-base);
    isolation: isolate;
}

.skew-mark::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: var(--edp-rust);
    transform: skewX(-14deg);
}

.tone-dark .skew-mark,
.hero .skew-mark {
    color: var(--edp-night);
}

.tone-dark .skew-mark::before,
.hero .skew-mark::before {
    background: var(--edp-rust-lt);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--edp-mute);
}

.eyebrow::after {
    flex: 1;
    max-width: 120px;
    height: 1px;
    content: '';
    background: var(--edp-rule);
}

.tone-dark {
    color: var(--edp-base);
    background: var(--edp-night);
}

.tone-dark a {
    color: var(--edp-rust-lt);
}

.tone-dark .btn {
    color: var(--edp-base);
}

.tone-dark .note-card {
    color: var(--edp-text);
}

.tone-dark .note-card a {
    color: var(--edp-rust);
}

.tone-dark .eyebrow {
    color: var(--edp-rule);
}

.tone-tint {
    background: var(--edp-tint);
}

.lined {
    border-top: 1px solid var(--edp-rule);
}

/* header */
.site-head {
    position: sticky;
    z-index: 20;
    top: 0;
    background: var(--edp-base);
    border-bottom: 1px solid var(--edp-rule);
}

.head-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: var(--edp-head-h);
}

.nav-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.nav-side {
    display: flex;
    gap: 4px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-right {
    justify-content: flex-end;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--edp-text);
}

.nav-link:hover,
.nav-link[aria-current='page'] {
    color: var(--edp-rust);
}

.nav-link[aria-current='page'] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 44px;
    justify-content: center;
    text-decoration: none;
    color: var(--edp-text);
}

.brand-name {
    font-family: var(--edp-serif);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-sub {
    position: relative;
    margin-top: 4px;
    padding: 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--edp-base);
    isolation: isolate;
}

.brand-sub::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: var(--edp-rust);
    transform: skewX(-14deg);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.toggle-bars,
.toggle-bars::before,
.toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--edp-text);
}

.toggle-bars {
    position: relative;
}

.toggle-bars::before,
.toggle-bars::after {
    position: absolute;
    left: 0;
    content: '';
}

.toggle-bars::before {
    top: -6px;
}

.toggle-bars::after {
    top: 6px;
}

.cart-open {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 48px;
    min-height: 48px;
    padding: 8px 14px;
    font-weight: 700;
    color: var(--edp-text);
    background: transparent;
    border: 1px solid var(--edp-text);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.cart-open:hover {
    color: var(--edp-base);
    background: var(--edp-text);
}

.cart-open svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 0.8125rem;
    line-height: 1;
    color: var(--edp-base);
    background: var(--edp-rust);
    border-radius: 12px;
}

/* nav panel */
.nav-panel {
    position: fixed;
    z-index: 60;
    inset: var(--edp-head-h) 0 0 0;
    display: flex;
    flex-direction: column;
    padding: 16px var(--edp-gut) 32px;
    overflow-y: auto;
    background: var(--edp-base);
    visibility: hidden;
    transform: translateY(-8px);
    transition: transform 0.2s ease;
}

.nav-panel.did-enter {
    visibility: visible;
    transform: none;
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    border-bottom: 1px solid var(--edp-rule);
}

.panel-brand {
    font-family: var(--edp-serif);
    font-size: 1.5rem;
    font-weight: 800;
}

.panel-close,
.drawer-close {
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 1.75rem;
    line-height: 1;
    background: transparent;
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.panel-links {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.panel-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-family: var(--edp-serif);
    font-size: 1.375rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--edp-text);
    border-bottom: 1px solid var(--edp-rule);
}

.panel-note {
    margin-top: auto;
    color: var(--edp-mute);
}

.panel-note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* cart drawer */
.drawer-shade {
    position: fixed;
    z-index: 65;
    inset: 0;
    background: hsl(212 20% 13% / 45%);
    visibility: hidden;
}

.drawer-shade.did-enter {
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    z-index: 70;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(420px, 100%);
    background: var(--edp-base);
    border-left: 1px solid var(--edp-rule);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.cart-drawer.did-enter {
    visibility: visible;
    transform: none;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--edp-rule);
}

.drawer-title {
    margin: 0;
    font-family: var(--edp-serif);
    font-size: 1.375rem;
    font-weight: 800;
}

.drawer-body {
    flex: 1;
    padding: 8px 20px;
    overflow-y: auto;
}

.drawer-foot {
    display: grid;
    gap: 10px;
    padding: 16px 20px 20px;
    background: var(--edp-tint);
    border-top: 1px solid var(--edp-rule);
}

.drawer-sum {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-weight: 700;
}

.drawer-hint {
    margin: 0;
    font-size: 0.9375rem;
}

.mini-line {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--edp-rule);
}

.mini-line img {
    width: 64px;
    height: 80px;
    object-fit: cover;
}

.mini-name {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.mini-meta {
    margin: 0;
    font-size: 0.9375rem;
}

.mini-price {
    font-weight: 700;
    white-space: nowrap;
}

.drawer-empty {
    padding: 24px 0;
}

/* hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(460px, 62vh, 720px);
    overflow: hidden;
    color: var(--edp-base);
    background: var(--edp-night);
    isolation: isolate;
}

.hero-photo {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 12%;
}

.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(112deg, hsl(212 20% 13% / 0%) 30%, hsl(212 20% 13% / 70%) 47%, hsl(212 20% 13% / 94%) 66%, hsl(212 20% 13%) 100%);
}

.hero-inner {
    width: 100%;
    padding-top: 56px;
    padding-bottom: 56px;
}

.hero-copy {
    max-width: 600px;
    margin-right: 5%;
    margin-left: auto;
}

.hero-title {
    margin: 16px 0 18px;
    font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem);
    text-transform: none;
}

.hero-lead {
    margin-bottom: 26px;
    font-size: 1.125rem;
    color: var(--edp-tint);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.facts-strip {
    border-bottom: 1px solid var(--edp-rule);
}

.facts-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.fact-item {
    padding: 20px 20px 22px;
    border-left: 1px solid var(--edp-rule);
}

.fact-item:last-child {
    border-right: 1px solid var(--edp-rule);
}

.fact-item strong {
    display: block;
    font-family: var(--edp-serif);
    font-size: 1.125rem;
    font-weight: 800;
}

.fact-item span {
    font-size: 0.9375rem;
    color: var(--edp-mute);
}

/* weather */
.weather {
    padding-top: 88px;
    padding-bottom: 72px;
}

.weather-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 56px;
    align-items: start;
}

.weather-toc {
    position: sticky;
    order: 2;
    top: calc(var(--edp-head-h) + 24px);
    padding: 20px;
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
}

.toc-title {
    margin: 0 0 8px;
    font-family: var(--edp-serif);
    font-size: 1.125rem;
    font-weight: 800;
}

.toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 600;
    text-decoration: none;
    color: var(--edp-text);
    border-bottom: 1px solid var(--edp-tint);
}

.toc-link::before {
    width: 10px;
    height: 14px;
    content: '';
    background: var(--edp-rule);
    transform: skewX(-14deg);
}

.toc-link[aria-current='true'] {
    color: var(--edp-rust);
}

.toc-link[aria-current='true']::before {
    background: var(--edp-rust);
}

.weather-intro {
    max-width: 640px;
}

.weather-block {
    padding: 28px 0 32px;
    border-top: 1px solid var(--edp-rule);
}

.weather-block:nth-child(odd) {
    padding-bottom: 44px;
}

.pick-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.pick-row a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    align-items: baseline;
    min-height: 44px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--edp-text);
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-left: 4px solid var(--edp-rust);
    border-radius: var(--edp-radius);
}

.pick-row a:hover {
    border-color: var(--edp-rust);
}

.pick-code {
    font-weight: 700;
    color: var(--edp-rust);
}

.pick-name {
    font-weight: 700;
}

.pick-price {
    grid-column: 2;
    color: var(--edp-mute);
}

/* compare */
.compare {
    padding-top: 64px;
    padding-bottom: 80px;
}

.compare-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 32px;
}

.table-box {
    color: var(--edp-text);
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
    color-scheme: light;
}

.compare-table caption {
    padding: 14px 18px;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid var(--edp-rule);
}

.compare-table th,
.compare-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--edp-tint);
}

.compare-table thead th {
    font-family: var(--edp-serif);
    font-size: 1.0625rem;
    background: var(--edp-tint);
}

.compare-table tbody th {
    width: 18%;
    font-weight: 700;
    color: var(--edp-rust);
}

/* rail */
.rail {
    padding-top: 80px;
    padding-bottom: 64px;
}

.rail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.rail-nav {
    display: flex;
    gap: 8px;
}

.rail-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 1.25rem;
    color: var(--edp-text);
    background: var(--edp-base);
    border: 1px solid var(--edp-text);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.rail-btn:hover {
    color: var(--edp-base);
    background: var(--edp-text);
}

.rail-track {
    display: grid;
    grid-auto-columns: minmax(230px, 260px);
    grid-auto-flow: column;
    gap: 20px;
    margin: 0;
    padding: 0 0 16px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.rail-card {
    scroll-snap-align: start;
}

.rail-card a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: var(--edp-text);
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
}

.rail-card a:hover {
    border-color: var(--edp-rust);
}

.rail-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.rail-body {
    padding: 14px 16px 16px;
}

.rail-who {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--edp-mute);
}

.rail-name {
    margin: 0;
    font-family: var(--edp-serif);
    font-size: 1.125rem;
    font-weight: 800;
}

.rail-price {
    margin: 4px 0 0;
    font-weight: 700;
}

/* portal */
.portal {
    padding-top: 72px;
    padding-bottom: 96px;
}

.portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
}

.portal-figure {
    margin: 0;
}

.portal-figure figcaption,
.plain-figure figcaption {
    margin-top: 10px;
    padding-left: 12px;
    font-size: 0.9375rem;
    color: var(--edp-mute);
    border-left: 3px solid var(--edp-rust);
}

.portal-copy {
    padding: 28px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
}

/* cta band */
.cta-band {
    padding-top: 56px;
    padding-bottom: 60px;
}

.cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    align-items: center;
}

.cta-row h2 {
    margin-bottom: 10px;
}

.cta-row p {
    max-width: 620px;
    margin: 0;
    color: var(--edp-tint);
}

/* page head */
.page-head {
    padding-top: 28px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--edp-rule);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin: 0 0 8px;
    padding: 0;
    font-size: 0.9375rem;
    list-style: none;
    color: var(--edp-mute);
}

.crumbs li {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.crumbs li + li::before {
    margin-right: 8px;
    content: '/';
}

.crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.page-title {
    max-width: 880px;
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
}

.page-lead {
    max-width: 720px;
    margin: 0;
    font-size: 1.125rem;
}

.section-pad {
    padding-top: 56px;
    padding-bottom: 56px;
}

.section-pad-lg {
    padding-top: 72px;
    padding-bottom: 88px;
}

/* catalog */
.shop-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 8px;
}

.filter-label {
    margin: 0 8px 0 0;
    font-weight: 700;
}

.filter-btn {
    min-height: 44px;
    padding: 8px 18px;
    font-weight: 600;
    color: var(--edp-text);
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.filter-btn[aria-pressed='true'] {
    color: var(--edp-base);
    background: var(--edp-text);
    border-color: var(--edp-text);
}

.shop-section {
    padding-top: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--edp-rule);
}

.shop-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 40px;
    align-items: end;
    margin-bottom: 24px;
}

.shop-section-head p {
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prod-card.is-out {
    display: none;
}

.prod-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--edp-text);
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
}

.prod-card a:hover {
    border-color: var(--edp-rust);
}

.prod-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.prod-card-body {
    display: grid;
    gap: 4px;
    padding: 16px;
}

.prod-card-name {
    margin: 0;
    font-family: var(--edp-serif);
    font-size: 1.1875rem;
    font-weight: 800;
}

.prod-meta {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--edp-mute);
}

.prod-price {
    margin: 4px 0 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.prod-price small {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--edp-mute);
}

/* product */
.product {
    padding-top: 40px;
    padding-bottom: 56px;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
}

.product-photo {
    margin: 0;
    background: var(--edp-tint);
    border: 1px solid var(--edp-rule);
}

.product-photo img {
    width: 100%;
    max-height: 62vh;
    object-fit: contain;
}

.photo-wait {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    padding: 24px;
    text-align: center;
    color: var(--edp-mute);
}

.buy-box {
    position: sticky;
    top: calc(var(--edp-head-h) + 20px);
    padding: 28px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-top: 4px solid var(--edp-rust);
    border-radius: var(--edp-radius);
    color-scheme: light;
}

.price-line {
    margin: 0 0 4px;
    font-family: var(--edp-serif);
    font-size: 2rem;
    font-weight: 800;
}

.price-note {
    margin: 0 0 16px;
    color: var(--edp-mute);
}

.buy-color {
    margin: 0 0 18px;
}

.size-set {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.size-set legend {
    margin-bottom: 8px;
    padding: 0;
    font-weight: 700;
}

.size-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-opt {
    position: relative;
}

.size-opt input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.size-opt span {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 48px;
    padding: 4px 10px;
    font-weight: 700;
    line-height: 1.1;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.size-opt small {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--edp-mute);
}

.size-opt input:checked + span {
    color: var(--edp-base);
    background: var(--edp-text);
    border-color: var(--edp-text);
}

.size-opt input:focus-visible + span {
    outline: 2px solid var(--edp-rust);
    outline-offset: 2px;
}

.size-opt input:disabled + span {
    color: var(--edp-mute);
    text-decoration: line-through;
    background: var(--edp-tint);
    cursor: not-allowed;
}

.size-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 8px;
}

.qty-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.qty-row label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.qty-row select {
    width: 100%;
    min-height: 48px;
    padding: 8px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
}

.buy-msg {
    min-height: 1.6em;
    margin: 12px 0 0;
    font-weight: 600;
}

.buy-msg.is-out {
    color: var(--edp-rust);
}

.buy-facts {
    margin: 16px 0 0;
    padding: 16px 0 0;
    list-style: none;
    border-top: 1px solid var(--edp-rule);
}

.buy-facts li {
    position: relative;
    padding: 4px 0 4px 20px;
}

.buy-facts li::before {
    position: absolute;
    top: 13px;
    left: 0;
    width: 8px;
    height: 10px;
    content: '';
    background: var(--edp-rust);
    transform: skewX(-14deg);
}

.product-details {
    padding-top: 56px;
    padding-bottom: 72px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 40px;
}

.detail-card {
    margin-bottom: 20px;
    padding: 24px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
}

.spec-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 20px;
    margin: 0;
}

.spec-list dt {
    font-weight: 700;
}

.spec-list dd {
    margin: 0;
}

.tick-list {
    margin: 0;
    padding-left: 20px;
}

.tick-list li {
    margin-bottom: 6px;
}

/* cart page */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 40px;
    align-items: start;
}

.cart-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--edp-rule);
}

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

.cart-line img {
    width: 96px;
    height: 120px;
    object-fit: cover;
}

.line-name {
    margin: 0 0 4px;
    font-family: var(--edp-serif);
    font-size: 1.125rem;
    font-weight: 800;
}

.line-name a {
    color: var(--edp-text);
    text-decoration: none;
}

.line-meta {
    margin: 0 0 10px;
    color: var(--edp-mute);
}

.line-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
}

.qty-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.25rem;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.qty-btn[disabled] {
    color: var(--edp-rule);
    cursor: default;
}

.qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
}

.line-remove {
    min-height: 44px;
    margin-left: 12px;
    padding: 0 6px;
    text-decoration: underline;
    color: var(--edp-rust);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.line-total {
    font-weight: 700;
    white-space: nowrap;
}

.totals {
    padding: 24px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-top: 4px solid var(--edp-text);
    border-radius: var(--edp-radius);
}

.totals-list {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    margin: 0 0 16px;
}

.totals-list dt,
.totals-list dd {
    margin: 0;
}

.totals-list dd {
    text-align: right;
    font-weight: 600;
}

.totals-list .total-final {
    padding-top: 10px;
    font-family: var(--edp-serif);
    font-size: 1.375rem;
    font-weight: 800;
    border-top: 1px solid var(--edp-rule);
}

.totals-note {
    font-size: 0.9375rem;
    color: var(--edp-mute);
}

.totals .btn {
    width: 100%;
}

.notice {
    margin: 0 0 20px;
    padding: 14px 18px;
    background: var(--edp-tint);
    border-left: 4px solid var(--edp-rust);
}

.empty-box {
    padding: 40px 32px;
    text-align: center;
    border: 1px dashed var(--edp-rule);
    border-radius: var(--edp-radius);
}

.empty-box h2 {
    text-transform: none;
}

/* checkout */
.step-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: paso;
}

.step-tabs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--edp-mute);
    counter-increment: paso;
}

.step-tabs li::before {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    content: counter(paso);
    font-family: var(--edp-serif);
    color: var(--edp-mute);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-btn-radius);
}

.step-tabs li[aria-current='step'] {
    color: var(--edp-text);
}

.step-tabs li[aria-current='step']::before {
    color: var(--edp-base);
    background: var(--edp-rust);
    border-color: var(--edp-rust);
}

.form-card {
    padding: 28px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
    color-scheme: light;
}

.field-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 20px;
}

.field {
    display: grid;
    gap: 6px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 700;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    background: var(--edp-base);
    border: 1px solid var(--edp-mute);
    border-radius: var(--edp-radius);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
    border-color: var(--edp-rust);
    border-width: 2px;
}

.field-hint {
    margin: 0;
    font-size: 0.875rem;
    color: var(--edp-mute);
}

.field-error {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--edp-rust);
}

.pay-box {
    margin: 24px 0;
    padding: 18px 20px;
    background: var(--edp-tint);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
}

.pay-box legend {
    padding: 0 6px;
    font-weight: 700;
}

.check-row {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
    margin-bottom: 12px;
}

.check-row input {
    width: 22px;
    height: 22px;
    margin: 3px 0 0;
    accent-color: var(--edp-rust);
}

.trap-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.form-status {
    margin: 14px 0 0;
    font-weight: 600;
    color: var(--edp-rust);
}

.review-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 20px;
    margin: 0 0 20px;
}

.review-list dt {
    font-weight: 700;
}

.review-list dd {
    margin: 0;
}

.summary {
    position: sticky;
    top: calc(var(--edp-head-h) + 20px);
}

.summary-lines {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.summary-lines li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--edp-tint);
}

/* info blocks */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.note-card {
    padding: 24px;
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
    border-radius: var(--edp-radius);
}

.note-card h2,
.note-card h3 {
    text-transform: none;
}

.accent-card {
    border-left: 4px solid var(--edp-rust);
}

.card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tramo;
}

.step-list li {
    position: relative;
    padding: 0 0 22px 64px;
    counter-increment: tramo;
}

.step-list li::before {
    position: absolute;
    top: -4px;
    left: 0;
    content: counter(tramo, decimal-leading-zero);
    font-family: var(--edp-serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--edp-rust);
}

.tone-dark .step-list li::before {
    color: var(--edp-rust-lt);
}

.data-table {
    background: var(--edp-base);
    border: 1px solid var(--edp-rule);
}

.data-table caption {
    padding: 12px 16px;
    font-weight: 700;
    text-align: left;
    background: var(--edp-tint);
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--edp-rule);
}

.data-table thead th {
    font-size: 0.9375rem;
    color: var(--edp-mute);
}

.data-table tbody th {
    font-weight: 700;
}

.table-scroll {
    overflow-x: auto;
}

.table-scroll table {
    min-width: 560px;
}

.side-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.side-toc {
    position: sticky;
    top: calc(var(--edp-head-h) + 24px);
    padding: 18px 20px;
    background: var(--edp-tint);
    border-radius: var(--edp-radius);
}

.side-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    text-decoration: none;
    color: var(--edp-text);
    border-bottom: 1px solid var(--edp-rule);
}

.side-toc a:hover {
    color: var(--edp-rust);
}

.side-block {
    padding-bottom: 40px;
}

.side-block + .side-block {
    padding-top: 36px;
    border-top: 1px solid var(--edp-rule);
}

.plain-figure {
    margin: 0;
}

.legal-table th {
    width: 32%;
}

.legal-table td {
    overflow-wrap: anywhere;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
    align-items: start;
}

.contact-lines {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.contact-lines a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
}

.status-result {
    margin-top: 24px;
}

.status-badge {
    display: inline-block;
    margin-bottom: 12px;
}

.big-code {
    margin: 0 0 8px;
    font-family: var(--edp-serif);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* footer */
.site-foot {
    padding-top: 56px;
    color: var(--edp-tint);
    background: var(--edp-night);
}

.site-foot a {
    color: var(--edp-base);
}

.site-foot a:hover {
    color: var(--edp-rust-lt);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.foot-name {
    margin: 0 0 8px;
    font-family: var(--edp-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--edp-base);
}

.foot-title {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--edp-rust-lt);
}

.foot-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot-links a,
.foot-address a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.foot-address {
    font-style: normal;
    line-height: 1.7;
}

.foot-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 18px;
    padding-bottom: 28px;
    border-top: 1px solid hsl(210 12% 80% / 25%);
}

.foot-legal small {
    font-size: 0.875rem;
    color: var(--edp-rule);
}

/* cookie notice */
.cc-notice {
    position: fixed;
    z-index: 40;
    bottom: 16px;
    left: 16px;
    display: grid;
    gap: 12px;
    width: min(380px, calc(100% - 32px));
    padding: 16px 18px;
    color: var(--edp-base);
    background: var(--edp-night);
    border: 1px solid var(--edp-mute);
    border-radius: var(--edp-radius);
}

.cc-notice[hidden] {
    display: none;
}

.cc-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.cc-text a {
    color: var(--edp-rust-lt);
}

.cc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cc-btn {
    min-height: 44px;
    padding: 8px 12px;
    font-weight: 700;
    color: var(--edp-night);
    background: var(--edp-base);
    border: 1px solid var(--edp-base);
    border-radius: var(--edp-btn-radius);
    cursor: pointer;
}

.cc-btn:hover {
    background: var(--edp-rust-lt);
    border-color: var(--edp-rust-lt);
}

/* responsive */
@media (min-width: 720px) {
    .foot-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }
}

@media (max-width: 1080px) {
    .nav-split {
        gap: 16px;
    }

    .nav-side {
        gap: 4px 14px;
    }
}

@media (max-width: 959px) {
    :root {
        --edp-head-h: 64px;
    }

    .head-row {
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-split {
        display: flex;
        justify-content: center;
    }

    .nav-side {
        display: none;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .cart-label {
        display: none;
    }

    .weather-grid,
    .portal-grid,
    .product-grid,
    .detail-grid,
    .cart-layout,
    .two-col,
    .side-layout,
    .contact-grid,
    .compare-head,
    .shop-section-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .weather-grid {
        gap: 24px;
    }

    .weather-toc,
    .side-toc,
    .summary,
    .buy-box {
        position: static;
    }

    .weather-toc {
        order: 0;
    }

    html:not([data-js]) .nav-panel {
        position: static;
        padding-top: 0;
        visibility: visible;
        transform: none;
    }

    html:not([data-js]) .menu-toggle,
    html:not([data-js]) .panel-top {
        display: none;
    }

    .contact-card {
        display: flex;
        flex-direction: column;
    }

    .contact-card .contact-lines {
        order: 2;
    }

    .toc-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .product-grid {
        gap: 24px;
    }

    .buy-box,
    .contact-grid > .form-card {
        order: -1;
    }

    .product-photo img {
        max-height: 60vh;
    }
}

@media (max-width: 719px) {
    .hero {
        display: block;
        min-height: 0;
    }

    .hero-photo {
        position: relative;
        height: clamp(220px, 34vh, 360px);
        object-position: 30% 40%;
    }

    .hero::after {
        bottom: auto;
        height: clamp(220px, 34vh, 360px);
        background: linear-gradient(158deg, hsl(212 20% 13% / 0%) 45%, hsl(212 20% 13% / 80%) 80%, hsl(212 20% 13%) 100%);
    }

    .hero-copy {
        margin-right: 0;
    }

    .hero-inner {
        padding-top: 4px;
        padding-bottom: 36px;
    }

    .facts-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fact-item {
        padding: 14px 12px 16px;
        border-bottom: 1px solid var(--edp-rule);
    }

    .fact-item:nth-child(2n) {
        border-right: 1px solid var(--edp-rule);
    }

    .compare-table thead {
        display: none;
    }

    .compare-table tr {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--edp-rule);
    }

    .compare-table th,
    .compare-table td {
        display: block;
        width: auto;
        padding: 6px 16px;
        border: 0;
    }

    .compare-table tbody th {
        width: auto;
    }

    .compare-table td::before {
        display: block;
        content: attr(data-label);
        font-size: 0.8125rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--edp-mute);
    }

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

    .cta-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-line {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-line img {
        width: 72px;
        height: 90px;
    }

    .line-total {
        grid-column: 2;
    }

    .cc-notice {
        bottom: 8px;
        left: 8px;
        width: calc(100% - 16px);
        padding: 12px 14px;
    }

    .legal-table th,
    .legal-table td {
        display: block;
        width: auto;
    }

    .legal-table th {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

[hidden] {
    display: none;
}
