:root {
    --black: #030303;
    --panel: #0b0b0b;
    --panel2: #121212;
    --white: #f2eee8;
    --muted: #a39b91;
    --line: #292929;
    --maroon: #b51624;
    --maroon-light: #ff3045;
    --maroon-soft: rgba(181, 22, 36, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: "Inter", sans-serif;
    font-weight: 200;
    line-height: 1.6;
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88)),
        url("../images/background.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    pointer-events: none;
}

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

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

button,
input {
    font: inherit;
}

.promo-top {
    background: #080808;
    color: #d8d0c5;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 400;
}

.promo-top b {
    color: var(--maroon-light);
    font-weight: 600;
}

.site-header {
    position: fixed;
    top: 32px;
    width: 100%;
    z-index: 80;
    background: rgba(3, 3, 3, 0.66);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.nav {
    max-width: 1380px;
    margin: auto;
    height: 72px;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 20px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 100;
    font-size: 22px;
}

.logo span {
    font-family: "Yuji Mai", "Noto Serif JP", serif;
    color: var(--maroon-light);
    font-size: 26px;
    text-shadow: 0 0 18px rgba(181, 22, 36, 0.35);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 34px;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 100;
    color: #e6ded5;
}

.menu a {
    position: relative;
    padding: 25px 0;
    transition: 0.22s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--maroon-light);
    font-weight: 600;
    letter-spacing: 0.22em;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 100%;
    height: 2px;
    background: var(--maroon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s ease;
}

.menu a:hover::after,
.menu a.active::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 100;
    color: #e6ded5;
}

.nav-right button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 100;
    padding: 10px 0;
}

.nav-right button:hover,
.nav-right a:hover {
    color: var(--maroon-light);
    font-weight: 600;
}

.search-panel {
    position: fixed;
    inset: 104px 0 auto 0;
    background: rgba(4, 4, 4, 0.98);
    border-bottom: 1px solid var(--line);
    z-index: 70;
    transform: translateY(-120%);
    transition: 0.32s ease;
}

.search-panel.active {
    transform: translateY(0);
}

.search-inner {
    max-width: 1380px;
    margin: auto;
    padding: 28px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.search-row input {
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--white);
    font-size: 30px;
    font-weight: 100;
}

.search-row button {
    background: var(--maroon);
    color: #fff;
    border: 0;
    padding: 0 24px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
}

.search-results {
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.result-card {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    background: #0b0b0b;
    padding: 10px;
    cursor: pointer;
    transition: 0.22s ease;
}

.result-card:hover {
    border-color: var(--maroon);
    background: #111;
}

.result-card img {
    height: 82px;
    background: #151515;
}

.result-card h4 {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 4px;
}

.result-card small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.result-card strong {
    color: var(--maroon-light);
    font-size: 13px;
    font-weight: 400;
}

.empty-result {
    color: var(--muted);
    padding: 14px 0;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.1) contrast(1.12);
    animation: gallerySlide 24s infinite;
}

.hero-slide:nth-child(1) {
    background-image: url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=1900&q=90");
}

.hero-slide:nth-child(2) {
    background-image: url("https://images.unsplash.com/photo-1509631179647-0177331693ae?auto=format&fit=crop&w=1900&q=90");
    animation-delay: 8s;
}

.hero-slide:nth-child(3) {
    background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1900&q=90");
    animation-delay: 16s;
}

@keyframes gallerySlide {
    0% {
        opacity: 0;
        transform: scale(1.06);
    }

    8% {
        opacity: 1;
    }

    29% {
        opacity: 1;
    }

    41% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, #030303 0%, rgba(3, 3, 3, 0.54) 42%, rgba(3, 3, 3, 0.08)),
        linear-gradient(to right, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.42));
}

.kanji-wall {
    position: absolute;
    right: 6vw;
    top: 18vh;
    font-family: "Yuji Mai", "Noto Serif JP", serif;
    writing-mode: vertical-rl;
    font-size: clamp(84px, 12vw, 180px);
    color: rgba(181, 22, 36, 0.28);
    letter-spacing: 0.06em;
}

.hero-text {
    position: absolute;
    left: clamp(24px, 6vw, 82px);
    bottom: clamp(66px, 10vh, 108px);
    max-width: 860px;
}

.eyebrow {
    color: var(--maroon-light);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(50px, 8vw, 112px);
    line-height: 0.9;
    font-weight: 100;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.accent-word {
    color: var(--maroon-light);
}

.hero-text p {
    color: #c8c0b7;
    max-width: 600px;
    font-size: 17px;
    margin-bottom: 30px;
}

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

.btn {
    border: 1px solid var(--white);
    min-height: 46px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: 0.25s ease;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.btn.primary,
.btn:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.container {
    max-width: 1380px;
    margin: auto;
    padding: 0 28px;
}

section.block {
    padding: 78px 0;
    border-bottom: 1px solid var(--line);
}

.section-title {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 34px;
}

h2 {
    font-size: clamp(34px, 4.5vw, 66px);
    line-height: 1;
    font-weight: 100;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

h2 .visual-word {
    color: var(--maroon-light);
}

.section-title p {
    color: var(--muted);
    max-width: 590px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-card {
    position: relative;
    min-height: 500px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #111;
}

.gallery-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 420px;
}

.gallery-card img {
    height: 100%;
    filter: saturate(0.8) contrast(1.05);
    transition: 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.035);
}

.gallery-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}

.gallery-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    padding-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}

.gallery-label span:first-child {
    color: var(--maroon-light);
}

.promo-banner {
    border: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(181, 22, 36, 0.16), transparent 46%), #0b0b0b;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 320px;
}

.promo-copy {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-copy .tag {
    color: var(--maroon-light);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
}

.promo-copy p {
    color: var(--muted);
    max-width: 620px;
    margin-top: 14px;
}

.promo-visual {
    position: relative;
    overflow: hidden;
    border-left: 1px solid var(--line);
}

.promo-visual img {
    height: 100%;
    filter: saturate(0.82) contrast(1.08);
}

.promo-visual::after {
    content: "PAYDAY SALE";
    position: absolute;
    right: 18px;
    bottom: 8px;
    font-size: clamp(44px, 7vw, 98px);
    color: rgba(181, 22, 36, 0.36);
    line-height: 1;
    font-weight: 100;
    letter-spacing: -0.08em;
}

.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.filters {
    border: 1px solid var(--line);
    padding: 18px;
    background: #0b0b0b;
    height: max-content;
    position: static;
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.filters h3 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 13px;
    color: var(--maroon-light);
    margin: 0 10px 0 0;
}

.filters button {
    position: relative;
    display: block;
    width: auto;
    min-width: 130px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    padding: 12px 0;
    text-align: left;
    cursor: pointer;
    font-weight: 200;
    font-size: 16px;
    transition: 0.25s ease;
}

.filters a {
    position: relative;
    display: block;
    width: auto;
    min-width: 130px;
    background: transparent;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    padding: 12px 0;
    text-align: left;
    cursor: pointer;
    font-weight: 200;
    font-size: 16px;
    transition: 0.25s ease;
}

.filters button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: var(--maroon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s ease;
}

.filters a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: var(--maroon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s ease;
}

.filters button:hover,
.filters button.active {
    color: var(--maroon-light);
    font-weight: 400;
}

.filters a:hover,
.filters a.active {
    color: var(--maroon-light);
    font-weight: 400;
}

.filters button:hover::after,
.filters button.active::after {
    transform: scaleX(1);
}

.filters a:hover::after,
.filters a.active::after {
    transform: scaleX(1);
}

.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.product {
    border: 1px solid var(--line);
    background: var(--panel);
    cursor: pointer;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.product:hover {
    border-color: var(--maroon);
    transform: translateY(-3px);
}

.product-img-wrap {
    position: relative;
    height: 300px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: #151515;
}

.product img {
    height: 100%;
    transition: 0.28s ease;
    filter: brightness(0.92) saturate(0.86) contrast(1.05);
}

.product:hover img {
    filter: brightness(1.14) saturate(0.9) contrast(1.08);
    transform: scale(1.025);
}

.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.54);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: 0.22s ease;
    font-size: 17px;
}

.wishlist:hover,
.wishlist.active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
}

.quick-view {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.64);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
    z-index: 2;
}

.product:hover .quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-body {
    padding: 14px;
}

.product-body small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-body h3 {
    font-size: 14px;
    font-weight: 200;
    margin: 6px 0 10px;
    min-height: 42px;
}

.price {
    color: var(--maroon-light);
    font-size: 16px;
    font-weight: 500;
}

.detail-panel {
    display: none;
    border: 1px solid var(--line);
    background: #080808;
    margin-top: 26px;
}

.detail-panel.active {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.detail-gallery {
    border-right: 1px solid var(--line);
    background: #050505;
}

.detail-main-img {
    height: 580px;
    border-bottom: 1px solid var(--line);
    filter: brightness(0.98) saturate(0.9) contrast(1.06);
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
}

.thumbs button {
    border: 1px solid var(--line);
    background: #111;
    cursor: pointer;
    padding: 0;
    height: 92px;
}

.thumbs button:hover,
.thumbs button.active {
    border-color: var(--maroon);
}

.thumbs img {
    height: 100%;
}

.detail-info {
    padding: 38px;
}

.detail-info .jp {
    font-family: "Yuji Mai", "Noto Serif JP", serif;
    color: var(--maroon-light);
    font-size: 42px;
    margin-bottom: 12px;
}

.detail-info h2 {
    margin-bottom: 16px;
}

.detail-info p {
    color: var(--muted);
    margin-bottom: 18px;
}

.detail-price {
    color: var(--maroon-light);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 22px;
}

.sizes {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sizes button {
    width: 48px;
    height: 42px;
    background: #111;
    color: var(--white);
    border: 1px solid var(--line);
    cursor: pointer;
}

.sizes button:hover,
.sizes button.active {
    color: var(--maroon-light);
    border-color: var(--maroon);
}

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

.close-detail {
    margin-top: 22px;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
}

.close-detail:hover {
    color: var(--maroon-light);
    font-weight: 500;
}

.philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.text-panel {
    border: 1px solid var(--line);
    background: #0b0b0b;
    padding: 40px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brush {
    font-family: "Yuji Mai", "Noto Serif JP", serif;
    font-size: 76px;
    color: rgba(181, 22, 36, 0.35);
}

.text-panel p {
    color: var(--muted);
    max-width: 520px;
}

footer {
    padding: 42px 0;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.09em;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

footer strong {
    font-size: 22px;
    font-weight: 100;
    color: var(--white);
    text-transform: uppercase;
}

footer strong span {
    color: var(--maroon-light);
    font-family: "Yuji Mai", "Noto Serif JP", serif;
    margin-left: 10px;
}

.rk-page main {
    padding-top: 132px;
}

.page-hero {
    padding: 40px 0 24px;
}

.page-title {
    font-size: clamp(38px, 5.8vw, 78px);
    line-height: 0.95;
    font-weight: 100;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin-top: 6px;
}

.page-copy {
    color: var(--muted);
    max-width: 72ch;
    margin-top: 14px;
    font-size: 15px;
}

.rk-muted {
    color: var(--muted);
}

.rk-divider {
    height: 1px;
    background: var(--line);
    margin: 18px 0;
}

.rk-card {
    border: 1px solid var(--line);
    background: var(--panel);
}

.rk-card-pad {
    padding: 22px;
}

.rk-link-card {
    display: block;
    transition: 0.22s ease;
}

.rk-link-card:hover {
    border-color: var(--maroon);
    transform: translateY(-2px);
}

.rk-grid {
    display: grid;
    gap: 16px;
}

.rk-grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

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

.rk-gap-sm {
    gap: 12px;
}

.rk-stack {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.rk-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rk-h2 {
    font-size: 20px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.form-panel {
    background: linear-gradient(120deg, rgba(181, 22, 36, 0.08), transparent 55%), var(--panel);
}

.form-panel-sm {
    max-width: 620px;
    margin: 0 auto;
}

.rk-form {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.rk-searchbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 18px;
}

.rk-field {
    display: grid;
    gap: 8px;
}

.rk-field label {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    color: #e6ded5;
}

.rk-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #0a0a0a;
    color: var(--white);
    outline: none;
}

textarea.rk-input {
    min-height: 132px;
    resize: vertical;
}

select.rk-input {
    appearance: none;
}

.rk-input:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(181, 22, 36, 0.15);
}

.rk-summary {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.rk-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
}

.rk-summary-total strong {
    font-size: 18px;
}

.rk-note {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 48, 69, 0.28);
    background: rgba(181, 22, 36, 0.08);
    color: #e8cdc8;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rk-note-inline {
    margin-bottom: 18px;
}

.rk-option-label {
    margin-bottom: 10px;
    color: #e6ded5;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rk-price {
    color: var(--maroon-light);
    font-weight: 500;
}

.rk-cart-item {
    border: 1px solid var(--line);
    background: #090909;
    padding: 14px;
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 14px;
    align-items: center;
}

.rk-cart-thumb {
    height: 112px;
    background:
        linear-gradient(150deg, rgba(255, 48, 69, 0.14), transparent 55%),
        #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-cart-info h3 {
    font-size: 14px;
    font-weight: 200;
    margin-bottom: 6px;
}

.rk-cart-thumb-image {
    width: 92px;
    height: 112px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #141414;
}

.rk-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    margin-top: 10px;
}

.rk-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.rk-qty button:hover {
    border-color: var(--maroon);
    color: var(--maroon-light);
}

.rk-cart-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.rk-cart-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.rk-inline-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rk-qty-field {
    margin-top: 16px;
    display: grid;
    gap: 8px;
    max-width: 120px;
}

.rk-qty-field label {
    color: #e6ded5;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rk-qty-input {
    min-height: 42px;
    max-width: 90px;
    text-align: center;
    padding: 8px 10px;
}

.rk-clear-btn,
.rk-remove-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
}

.rk-clear-btn:hover,
.rk-remove-btn:hover {
    color: var(--maroon-light);
}

.rk-cart-form {
    margin-top: 10px;
}

.rk-product-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    overflow: hidden;
}

.rk-product-gallery {
    border-right: 1px solid var(--line);
    background: #050505;
}

.rk-product-main {
    height: 640px;
    border-bottom: 1px solid var(--line);
    filter: brightness(0.98) saturate(0.9) contrast(1.06);
}

.rk-product-info {
    padding: 34px;
    background: #080808;
}

.rk-product-info h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    margin: 8px 0 10px;
}

.rk-product-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.rk-meta-text {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rk-compare-price {
    color: var(--muted);
    text-decoration: line-through;
    margin: -8px 0 14px;
}

.rk-stock {
    margin: 16px 0;
    color: #ead9d2;
}

.rk-size-options {
    gap: 12px;
    margin-bottom: 8px;
}

.rk-size-option {
    position: relative;
    display: inline-flex;
    align-items: center;
}

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

.rk-size-option span {
    width: 48px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: var(--white);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: 0.22s ease;
}

.rk-size-option input:checked + span,
.rk-size-option span:hover {
    color: var(--maroon-light);
    border-color: var(--maroon);
    box-shadow: inset 0 0 0 1px rgba(181, 22, 36, 0.25);
}

.rk-size-grid {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.rk-size-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.rk-empty {
    grid-column: 1 / -1;
    border: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(181, 22, 36, 0.08), transparent 55%), var(--panel);
    padding: 28px;
}

.rk-empty h3 {
    font-size: 22px;
    font-weight: 200;
    margin-bottom: 6px;
}

.rk-empty-page {
    max-width: 780px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-img-wrap {
        height: 300px;
    }
}

@media (max-width: 980px) {
    .site-header {
        top: 32px;
    }

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

    .menu {
        display: none;
    }

    .nav-right a {
        display: none;
    }

    .search-results,
    .philosophy,
    .gallery-grid,
    .section-title,
    .promo-banner,
    .detail-panel.active {
        grid-template-columns: 1fr;
    }

    .gallery-card:nth-child(3) {
        grid-column: auto;
    }

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

    .kanji-wall {
        right: 20px;
        top: 20vh;
        font-size: 84px;
    }

    .gallery-card {
        min-height: 390px;
    }

    .promo-visual {
        min-height: 320px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .detail-gallery {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .detail-main-img {
        height: 420px;
    }

    .rk-grid-2,
    .rk-product-shell {
        grid-template-columns: 1fr;
    }

    .rk-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .rk-searchbar {
        grid-template-columns: 1fr;
    }

    .rk-product-gallery {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .rk-product-main {
        height: 420px;
    }

    body::before {
        background-attachment: scroll;
    }
}

@media (max-width: 640px) {
    .promo-top {
        padding: 8px 14px;
        font-size: 11px;
    }

    .nav,
    .container,
    .search-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .logo {
        font-size: 17px;
    }

    .logo span {
        font-size: 20px;
    }

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

    .search-row input {
        font-size: 22px;
    }

    .search-results,
    .products {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 46px;
    }

    h2 {
        font-size: 36px;
    }

    .product-img-wrap {
        height: 420px;
    }

    .filters {
        display: block;
    }

    .filters button {
        width: 100%;
    }

    .rk-grid-5 {
        grid-template-columns: 1fr;
    }

    .rk-cart-item {
        grid-template-columns: 1fr;
    }

    .rk-product-info {
        padding: 22px;
    }

    .rk-cart-head,
    .rk-inline-form {
        flex-direction: column;
        align-items: flex-start;
    }
}
