/* Kanebo design. Loaded after /css/site.css: it re-points the shared tokens and restyles the shared
   components, and adds what only this design has. The direction is Japanese porcelain quiet: a white
   page and header, the product alone on a pearl plinth, light serif in sentence case, one deep red used
   only as a mark, and one orchestrated motion (the hero). Nothing copied from global.kanebo.com. */

/* Fonts: self-hosted, from Fontsource 5.3.0 (SIL OFL 1.1, licences in fonts/). Each weight is split into
   the latin, latin-ext and vietnamese subsets; unicode-range lets the browser fetch only the subsets a
   page uses (a Vietnamese page needs latin + vietnamese). */

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
    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: "Cormorant Garamond";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/cormorant-garamond-latin-ext-300-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/cormorant-garamond-vietnamese-300-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
    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: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/cormorant-garamond-vietnamese-400-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2");
    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: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-vietnamese-400-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-latin-500-normal.woff2") format("woff2");
    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: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-latin-ext-500-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-vietnamese-500-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2");
    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: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-latin-ext-600-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/be-vietnam-pro-vietnamese-600-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
    --color-text: #3e3a39;
    --color-muted: #6e6968; /* 5.4:1 on white, 4.8:1 on the pearl band */
    --color-accent: #000;
    --color-accent-contrast: #fff;
    --color-beni: #a3192f; /* the safflower red of Japanese lip rouge: a mark, never a fill */
    --color-sale: var(--color-beni);
    --color-border: #e4e2e0;
    --color-rule: #cfcbc9;
    --color-band: #f2f2f0;
    --color-background: #fff;
    --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Cormorant Garamond", "Times New Roman", "Noto Serif", serif; /* not Georgia: it lacks Vietnamese */
    --max-width: 1280px;
    --gutter: clamp(16px, 4vw, 48px);
    --header-height: 122px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233e3a39'/%3E%3C/svg%3E");
}

/* Page frame: the footer sits at the bottom of short pages. */
body {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}

html.kb-locked { overflow: hidden; }
a { text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
:focus-visible { outline: 1px solid var(--color-accent); outline-offset: 3px; }
.kb-footer :focus-visible { outline-color: #fff; }

.site-main { flex: 1 0 auto; width: 100%; max-width: none; margin: 0; padding: 0; }

/* Any default view a later change falls back to keeps the page width and gutters. */
.site-main > :not(.kb-hero, .kb-tiles, .kb-section, .kb-page) {
    max-width: var(--max-width);
    margin: 48px auto 96px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.announcement-bar { background: var(--color-band); color: var(--color-text); font-size: 12px; letter-spacing: 0.04em; padding: 9px var(--gutter); }
.announcement-bar a { text-decoration: none; }

/* Header: white, the wordmark centred over a quiet row of categories. */
.kb-header { position: sticky; top: 0; z-index: 30; background: var(--color-background); border-bottom: 1px solid var(--color-border); }
.kb-header a { color: inherit; text-decoration: none; }
.kb-header__bar { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.kb-header__start { display: flex; align-items: center; margin-left: -10px; }
.kb-header__end { display: flex; align-items: center; justify-content: flex-end; margin-right: -10px; }
.kb-wordmark { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: 0.42em; margin-right: -0.42em; text-transform: uppercase; color: var(--color-accent); }

.kb-icon { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.kb-icon svg { width: 21px; height: 21px; }
.kb-icon__count { position: absolute; top: 5px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--color-accent); color: var(--color-accent-contrast); font-size: 10px; line-height: 16px; letter-spacing: 0; text-align: center; }
.kb-icon__count[data-empty] { display: none; }
.kb-nav-toggle { display: none; }

.kb-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(24px, 3.4vw, 52px); }
.kb-nav__link { position: relative; display: block; padding: 2px 0 16px; font-size: 14px; letter-spacing: 0.03em; }
.kb-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--color-beni); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.kb-nav__item:hover > .kb-nav__link::after, .kb-nav__item:focus-within > .kb-nav__link::after { transform: scaleX(1); }
.kb-nav__utility { display: none; }

.kb-nav__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-background); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); visibility: hidden; opacity: 0; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s; }
.kb-nav__item:hover .kb-nav__panel, .kb-nav__item:focus-within .kb-nav__panel { visibility: visible; opacity: 1; transition: opacity 0.25s var(--ease) 0.08s, visibility 0s linear 0.08s; }
.kb-nav__panel-inner { max-width: var(--max-width); margin: 0 auto; padding: 40px var(--gutter) 48px; display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 48px; }
.kb-nav__panel-title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.15; }
.kb-header .kb-nav__all { font-size: 13px; text-decoration: underline; }
.kb-nav__children { list-style: none; margin: 0; padding: 0; columns: 3 180px; column-gap: 48px; }
.kb-nav__children a { display: inline-block; padding: 6px 0; font-size: 15px; }
.kb-header .kb-nav__children a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .kb-header__bar { min-height: 60px; }
    .kb-nav-toggle { display: inline-grid; }
    .kb-header__account { display: none; }
    .kb-wordmark { font-size: 22px; letter-spacing: 0.32em; margin-right: -0.32em; }

    .kb-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 61px); overflow-y: auto; overscroll-behavior: contain; background: var(--color-background); border-top: 1px solid var(--color-border); }
    .kb-header.is-open .kb-nav { display: block; }
    .kb-nav__list { flex-direction: column; gap: 0; padding: 4px var(--gutter) 8px; }
    .kb-nav__item { border-bottom: 1px solid var(--color-border); }
    .kb-nav__link { padding: 16px 0; font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1.2; letter-spacing: 0; }
    .kb-nav__link::after { display: none; }
    .kb-nav__panel { position: static; visibility: visible; opacity: 1; border: 0; transition: none; }
    .kb-nav__panel-inner { display: flex; flex-direction: column; gap: 0; padding: 0 0 16px; }
    .kb-nav__panel-head { display: contents; }
    .kb-nav__panel-title { display: none; }
    .kb-header .kb-nav__all { order: 2; display: inline-block; padding: 8px 0; }
    .kb-nav__children { columns: auto; }
    .kb-nav__children a { padding: 7px 0; }
    .kb-nav__utility { display: flex; gap: 28px; list-style: none; margin: 0; padding: 20px var(--gutter) 40px; font-size: 14px; }
}

@media (max-width: 380px) {
    .kb-wordmark { font-size: 19px; letter-spacing: 0.26em; margin-right: -0.26em; }
}

/* Hero: one image at a time, full bleed. The caption sits on a white panel so any photograph keeps it
   readable; it rises once on load, and a thin line fills while a slide is showing. */
.kb-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.kb-carousel__track::-webkit-scrollbar { display: none; }
.kb-carousel__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }

.kb-hero { position: relative; }
.kb-hero__slide { display: block; color: var(--color-text); text-decoration: none; }
.kb-hero__slide picture, .kb-hero__slide img { display: block; width: 100%; }
.kb-hero__slide img { height: clamp(520px, 78vh, 820px); object-fit: cover; background: var(--color-band); }
.kb-hero__caption { display: block; position: absolute; left: max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter))); bottom: clamp(32px, 7vh, 72px); width: min(460px, calc(100% - 2 * var(--gutter))); padding: 40px 44px 36px; background: var(--color-background); animation: kb-rise 1.1s var(--ease) 0.2s both; }
.kb-hero__title { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; }
.kb-hero__subtitle { display: block; margin-top: 14px; font-size: 15px; color: var(--color-muted); }
.kb-hero__more { display: inline-block; margin-top: 28px; font-size: 13px; letter-spacing: 0.06em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }

.kb-carousel__controls { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 18px var(--gutter); }
.kb-carousel__dots { display: flex; }
.kb-carousel__dot { position: relative; width: 48px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.kb-carousel__dot::before, .kb-carousel__dot::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--color-rule); }
.kb-carousel__dot::after { background: var(--color-text); transform: scaleX(0); transform-origin: left; }
.kb-carousel__dot[aria-current="true"]::after { transform: scaleX(1); }
[data-playing] .kb-carousel__dot[aria-current="true"]::after { animation: kb-fill var(--carousel-interval, 6s) linear both; }
.kb-hero:hover .kb-carousel__dot::after, .kb-hero:focus-within .kb-carousel__dot::after { animation-play-state: paused; }
.kb-carousel__pause { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--color-text); cursor: pointer; }
.kb-carousel__pause svg { width: 11px; height: 11px; }
.kb-carousel__pause svg[hidden] { display: none; }

@keyframes kb-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes kb-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 640px) {
    .kb-hero__slide img { height: auto; aspect-ratio: 4 / 5; }
    .kb-hero__caption { position: static; width: auto; padding: 28px var(--gutter) 4px; animation: none; }
    .kb-hero__title { font-size: 32px; }
}

/* Campaign tiles: three portraits with an editorial caption beneath. */
.kb-tiles { max-width: var(--max-width); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kb-tile { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.kb-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--color-band); }
.kb-tile__badge { margin-top: 20px; font-size: 12px; letter-spacing: 0.04em; color: var(--color-muted); }
.kb-tile__title { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.25; }
.kb-tile__caption { margin-top: 8px; font-size: 14px; color: var(--color-muted); }
.kb-tile:hover .kb-tile__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 760px) { .kb-tiles { grid-template-columns: 1fr; gap: 48px; } }

/* Sections and their heads: light serif in sentence case, centred. */
.kb-section { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.kb-section__inner { max-width: var(--max-width); margin: 0 auto; }
.kb-section--band { background: var(--color-band); }
.kb-heading { max-width: 40em; margin: 0 auto clamp(36px, 4.5vw, 60px); text-align: center; }
.kb-heading__title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.kb-heading__subtitle { margin: 12px 0 0; font-size: 14px; color: var(--color-muted); }

/* Rails: a snapping row; arrows on pointer devices, a peek of the next card on touch. */
.kb-rail { position: relative; }
.kb-rail .kb-carousel__track { gap: 32px; }
.kb-rail .kb-carousel__slide { flex: 0 0 calc((100% - 96px) / 4); display: flex; }
.kb-rail__arrow { position: absolute; top: 40%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--color-border); border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--color-text); cursor: pointer; transition: opacity 0.2s, border-color 0.2s; }
.kb-rail__arrow svg { width: 16px; height: 16px; }
.kb-rail__arrow:hover { border-color: var(--color-text); }
.kb-rail__arrow:disabled { opacity: 0; pointer-events: none; }
.kb-rail__arrow--prev { left: -24px; }
.kb-rail__arrow--next { right: -24px; }
@media (max-width: 900px) {
    .kb-rail .kb-carousel__slide { flex-basis: calc((100% - 32px) / 2.4); }
    .kb-rail__arrow { display: none; }
}
@media (max-width: 560px) {
    .kb-rail .kb-carousel__track { gap: 16px; }
    .kb-rail .kb-carousel__slide { flex-basis: 70%; }
}
@media (hover: none) { .kb-rail__arrow { display: none; } }

/* Product card: the product alone on a pearl plinth, its name in serif, the price beneath. White
   product photographs blend into the plinth (multiply). */
.product-card { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.product-card__link { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; }
.product-card__image { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--color-band); }
.product-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
.product-card__name { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.3; }
.product-card__link:hover .product-card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.product-card .price { font-size: 14px; }
.product-card__soldout { font-size: 13px; color: var(--color-muted); }

.kb-mark { display: inline-block; font-size: 12px; letter-spacing: 0.06em; color: var(--color-beni); }
.product-card__image .kb-mark { position: absolute; top: 14px; left: 16px; z-index: 1; }

.price { gap: 10px; font-variant-numeric: tabular-nums; }
.price__amount { font-weight: 400; }
.price__compare, .price__from { color: var(--color-muted); font-size: 0.9em; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
@media (max-width: 760px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
    .product-card__name { font-size: 18px; }
}
.empty { margin: 0; padding: 64px 0; text-align: center; font-family: var(--font-display); font-size: 24px; color: var(--color-muted); }

/* Inner pages. */
.kb-page { max-width: var(--max-width); margin: 0 auto; padding: 28px var(--gutter) clamp(88px, 10vw, 136px); }
.breadcrumb ol { gap: 8px; margin: 0 0 clamp(28px, 4vw, 48px); font-size: 12px; letter-spacing: 0.02em; color: var(--color-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.kb-title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; }
.kb-lede { max-width: 60ch; margin: 20px 0 0; color: var(--color-muted); }
.kb-lede > :first-child { margin-top: 0; }
.kb-lede > :last-child { margin-bottom: 0; }
.kb-subnav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }
.kb-subnav a { padding: 4px 0; border-bottom: 1px solid transparent; font-size: 14px; text-decoration: none; }
.kb-subnav a:hover { border-bottom-color: currentColor; }
.kb-listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: clamp(40px, 5vw, 64px) 0 40px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border); font-size: 13px; color: var(--color-muted); }

.sort-menu { gap: 10px; }
select { appearance: none; -webkit-appearance: none; border-radius: 0; font: inherit; color: var(--color-text); background: transparent var(--select-chevron) no-repeat right 2px center / 10px 6px; cursor: pointer; }
.sort-menu select { padding: 4px 20px 4px 0; border: 0; font-size: 13px; }

.pagination { align-items: center; gap: 32px; margin-top: 80px; font-size: 13px; color: var(--color-muted); }
.pagination a { padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--color-text); text-decoration: none; }

.button { padding: 15px 32px; border: 1px solid var(--color-accent); border-radius: 0; background: transparent; color: var(--color-accent); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.button:hover { background: var(--color-accent); color: var(--color-accent-contrast); }
.button--primary { background: var(--color-accent); color: var(--color-accent-contrast); }
.button--primary:hover { background: #3e3a39; border-color: #3e3a39; }

.stepper { display: inline-flex; align-items: stretch; height: 52px; border: 1px solid var(--color-border); }
.stepper button { width: 44px; border: 0; background: none; color: var(--color-text); font-size: 18px; cursor: pointer; }
.stepper button:hover { background: var(--color-band); }
.stepper input { width: 40px; border: 0; background: none; color: inherit; font: inherit; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.kb-notice { margin: 0 0 32px; padding: 14px 18px; background: var(--color-band); font-size: 14px; }

/* Product page: the gallery on a plinth beside a still column that stays in view. */
.kb-product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.kb-product__gallery--thumbs { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
.kb-product__stage { aspect-ratio: 1; background: var(--color-band); }
.kb-product__stage img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.kb-product__thumbs { order: -1; display: flex; flex-direction: column; gap: 12px; }
.kb-product__thumbs button { padding: 0; border: 1px solid transparent; background: var(--color-band); cursor: pointer; }
.kb-product__thumbs button:hover, .kb-product__thumbs button[aria-current="true"] { border-color: var(--color-text); }
.kb-product__thumbs img { width: 100%; mix-blend-mode: multiply; }

.kb-product__info { position: sticky; top: calc(var(--header-height) + 32px); }
.kb-product__name { margin: 6px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; }
.kb-product__summary { margin-top: 20px; font-size: 17px; line-height: 1.7; }
.kb-product__summary > * { margin: 0; }
.kb-product__rating { margin: 16px 0 0; font-size: 13px; color: var(--color-muted); }
.kb-product__price { margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--color-border); font-size: 22px; }
.kb-product__soldout { margin: 28px 0 0; font-family: var(--font-display); font-size: 24px; }
.kb-product__note { margin: 20px 0 0; font-size: 13px; color: var(--color-muted); }

.kb-buy { display: grid; gap: 20px; margin-top: 28px; }
.kb-field { display: grid; gap: 8px; }
.kb-field > label { font-size: 13px; color: var(--color-muted); }
.kb-field select { width: 100%; height: 52px; padding: 0 44px 0 16px; border: 1px solid var(--color-border); background-position: right 18px center; }
.kb-field select:hover { border-color: var(--color-text); }
.kb-buy__row { display: flex; gap: 12px; }
.kb-buy__row .button { flex: 1; height: 52px; padding: 0 24px; }

.kb-description { max-width: 680px; margin: clamp(80px, 10vw, 136px) auto 0; font-size: 17px; line-height: 1.85; }
.kb-description h2, .kb-description h3 { margin: 48px 0 16px; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.kb-description img { margin: 32px auto; }

.kb-related { margin-top: clamp(96px, 12vw, 160px); }
.kb-related .product-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .kb-product { grid-template-columns: 1fr; }
    .kb-product__info { position: static; }
    .kb-product__gallery--thumbs { grid-template-columns: 1fr; gap: 12px; }
    .kb-product__thumbs { order: 0; flex-direction: row; overflow-x: auto; }
    .kb-product__thumbs button { flex: 0 0 64px; }
    .kb-related .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Cart: the lines, and a pearl summary beside them. */
.kb-cart .kb-title { margin-bottom: clamp(32px, 4vw, 56px); }
.kb-cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.kb-cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.kb-line { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--color-border); }
.kb-line__image { aspect-ratio: 4 / 5; background: var(--color-band); }
.kb-line__image img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.kb-line__name { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.25; text-decoration: none; }
.kb-line__name:hover { text-decoration: underline; }
.kb-line__variant, .kb-line__unit { margin: 4px 0 0; font-size: 13px; color: var(--color-muted); }
.kb-line__warning { margin: 6px 0 0; font-size: 13px; color: var(--color-beni); }
.kb-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 20px; }
.kb-line__quantity { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-muted); }
.kb-line__quantity input { width: 64px; height: 40px; border: 1px solid var(--color-border); border-radius: 0; color: var(--color-text); font: inherit; text-align: center; }
.kb-line__remove { padding: 0; border: 0; background: none; color: var(--color-muted); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.kb-line__remove:hover { color: var(--color-text); }
.kb-line__total { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kb-line--unavailable .kb-line__image, .kb-line--unavailable .kb-line__total { opacity: 0.45; }

.kb-cart__summary { position: sticky; top: calc(var(--header-height) + 32px); padding: 32px; background: var(--color-band); }
.kb-cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; margin: 0; }
.kb-cart__subtotal dd { margin: 0; font-size: 22px; font-variant-numeric: tabular-nums; }
.kb-cart__note { margin: 12px 0 28px; font-size: 13px; color: var(--color-muted); }
.kb-cart__handoff { margin: 16px 0 0; font-size: 12px; text-align: center; color: var(--color-muted); }
.kb-cart__continue { display: block; margin-top: 24px; font-size: 13px; text-align: center; }

.kb-empty { padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.kb-empty__text { margin: 0 0 32px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; }

@media (max-width: 900px) {
    .kb-cart__layout { grid-template-columns: 1fr; }
    .kb-cart__summary { position: static; }
}
@media (max-width: 560px) {
    .kb-line { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
    .kb-line__total { grid-column: 2; }
    .kb-cart__summary { padding: 24px var(--gutter); margin: 0 calc(-1 * var(--gutter)); }
}

/* Search. */
.kb-searchbar { display: flex; align-items: center; gap: 16px; max-width: 720px; margin-top: 32px; border-bottom: 1px solid var(--color-text); }
.kb-searchbar input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; color: var(--color-text); font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 3vw, 32px); }
.kb-searchbar input::placeholder { color: var(--color-muted); opacity: 1; }
.kb-searchbar input:focus-visible { outline: none; }
.kb-searchbar:focus-within { border-bottom-width: 2px; margin-bottom: -1px; }
.kb-searchbar__submit { padding: 8px 0; border: 0; background: none; color: var(--color-text); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; cursor: pointer; }

/* Error pages. */
.kb-error { text-align: center; padding-top: clamp(72px, 12vw, 160px); }
.kb-error p { max-width: 46ch; margin: 20px auto 0; color: var(--color-muted); }
.kb-error .button { margin-top: 40px; }

/* Home: cards on bands and the notices. */
.kb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px 32px; }
.kb-card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.kb-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.kb-card strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.25; }
.kb-card span { font-size: 14px; color: var(--color-muted); }
a.kb-card[href]:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.kb-notices { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--color-border); }
.kb-notices li { border-bottom: 1px solid var(--color-border); }
.kb-notices a, .kb-notices span { display: flex; gap: 24px; padding: 20px 4px; text-decoration: none; }
.kb-notices time { min-width: 96px; color: var(--color-muted); font-size: 13px; font-variant-numeric: tabular-nums; line-height: 1.95; }

/* Footer: the one dark ground, anchoring the page. */
.kb-footer { padding: clamp(64px, 8vw, 96px) var(--gutter) 32px; background: #000; color: #bdb8b6; font-size: 13px; }
.kb-footer a { color: inherit; text-decoration: none; }
.kb-footer a:hover { color: #fff; }
.kb-footer__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.kb-footer .kb-wordmark { align-self: start; color: #fff; font-size: 26px; }
.kb-footer__columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 40px; }
.kb-footer h2 { margin: 0 0 16px; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
.kb-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kb-footer__bottom { max-width: var(--max-width); margin: clamp(56px, 7vw, 88px) auto 0; padding-top: 24px; border-top: 1px solid #2a2a2a; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.kb-footer__bottom p { margin: 0; }
.kb-footer .kb-footer__links { display: flex; gap: 24px; }
@media (max-width: 760px) {
    .kb-footer__inner { grid-template-columns: 1fr; }
    .kb-footer__bottom { flex-direction: column; align-items: flex-start; }
}

.toast { bottom: 32px; padding: 14px 28px; background: var(--color-accent); color: var(--color-accent-contrast); font-size: 14px; letter-spacing: 0.02em; animation: kb-toast 0.35s var(--ease); }
.toast--error { background: var(--color-beni); }
@keyframes kb-toast { from { opacity: 0; transform: translate(-50%, 10px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
