:root {
    --roven-color-charcoal: #171815;
    --roven-color-ink: #24251f;
    --roven-color-warm-white: #f6f3ed;
    --roven-color-paper: #fbfaf7;
    --roven-color-stone: #d8d0c5;
    --roven-color-sand: #c6b8a5;
    --roven-color-warm-gray: #89857d;
    --roven-color-brown: #6f5d4c;
    --roven-color-olive: #30372c;
    --roven-color-line: rgba(23, 24, 21, 0.14);
    --roven-color-shadow: rgba(24, 22, 18, 0.13);
    --roven-page-gutter: clamp(20px, 4vw, 72px);
    --roven-section-space: clamp(80px, 11vw, 180px);
    --roven-radius-small: 10px;
    --roven-radius-medium: 18px;
    --roven-header-height: 84px;
    --roven-transition-fast: 260ms cubic-bezier(.2, .7, .2, 1);
    --roven-transition-slow: 700ms cubic-bezier(.2, .7, .2, 1);
    --roven-font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --roven-font-editorial: "Cormorant Garamond", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--roven-color-paper);
}

body {
    margin: 0;
    font-family: var(--roven-font-sans);
    color: var(--roven-color-charcoal);
    background: var(--roven-color-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.roven-body--locked {
    overflow: hidden;
}

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

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

button {
    color: inherit;
}

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

::selection {
    background: var(--roven-color-charcoal);
    color: var(--roven-color-warm-white);
}

:focus-visible {
    outline: 2px solid var(--roven-color-charcoal);
    outline-offset: 4px;
}

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

.roven-site-shell {
    min-height: 100vh;
}

.roven-page-width {
    width: min(100%, 1760px);
    margin: 0 auto;
    padding-inline: var(--roven-page-gutter);
}

.roven-eyebrow {
    margin: 0 0 14px;
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--roven-color-warm-gray);
}

.roven-display-title {
    margin: 0;
    max-width: 15ch;
    font-size: clamp(3rem, 7vw, 8.5rem);
    font-weight: 450;
    line-height: 0.93;
    letter-spacing: -0.055em;
}

.roven-editorial-title {
    margin: 0;
    font-family: var(--roven-font-editorial);
    font-size: clamp(3rem, 6vw, 6.8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.roven-section-title {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 4.6rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}

.roven-body-copy {
    margin: 0;
    max-width: 62ch;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.8;
    color: #55554f;
}

.roven-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-block: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 1px solid currentColor;
    transition: gap var(--roven-transition-fast), opacity var(--roven-transition-fast);
}

.roven-text-link:hover {
    gap: 16px;
    opacity: 0.72;
}

.roven-primary-button,
.roven-secondary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--roven-color-charcoal);
    padding: 0 22px;
    background: var(--roven-color-charcoal);
    color: white;
    cursor: pointer;
    transition: background var(--roven-transition-fast), color var(--roven-transition-fast), transform var(--roven-transition-fast);
}

.roven-primary-button:hover {
    transform: translateY(-2px);
    background: #2b2d28;
}

.roven-secondary-button {
    background: transparent;
    color: var(--roven-color-charcoal);
}

.roven-secondary-button:hover {
    background: var(--roven-color-charcoal);
    color: white;
}

/* Header */
.roven-main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    height: var(--roven-header-height);
    color: white;
    transition: color var(--roven-transition-fast), background var(--roven-transition-fast), border-color var(--roven-transition-fast), backdrop-filter var(--roven-transition-fast);
}

.roven-main-header.roven-main-header--solid,
.roven-main-header.roven-main-header--always-solid {
    color: var(--roven-color-charcoal);
    background: rgba(250, 248, 243, 0.9);
    border-bottom: 1px solid var(--roven-color-line);
    backdrop-filter: blur(18px);
}

.roven-main-header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-inline: var(--roven-page-gutter);
}

.roven-main-header__left,
.roven-main-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.roven-main-header__right {
    justify-content: flex-end;
}

.roven-main-header__menu-button,
.roven-main-header__icon-button {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--roven-transition-fast);
}

.roven-main-header__menu-button:hover,
.roven-main-header__icon-button:hover {
    background: rgba(255,255,255,0.12);
}

.roven-main-header--solid .roven-main-header__menu-button:hover,
.roven-main-header--solid .roven-main-header__icon-button:hover,
.roven-main-header--always-solid .roven-main-header__menu-button:hover,
.roven-main-header--always-solid .roven-main-header__icon-button:hover {
    background: rgba(0,0,0,0.05);
}

.roven-main-header__menu-label {
    margin-left: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.roven-main-header__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.roven-main-header__brand img {
    width: 142px;
    height: auto;
    max-height: 48px;
    aspect-ratio: 2048 / 682;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter var(--roven-transition-fast), opacity var(--roven-transition-fast);
}

.roven-main-header--solid .roven-main-header__brand img,
.roven-main-header--always-solid .roven-main-header__brand img {
    filter: none;
}

.roven-main-header__cart-count {
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    position: absolute;
    margin: -20px 0 0 20px;
    padding: 0 4px;
    border-radius: 99px;
    background: rgba(250, 248, 243, 0.96);
    color: var(--roven-color-charcoal);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
}

.roven-main-header--solid .roven-main-header__cart-count,
.roven-main-header--always-solid .roven-main-header__cart-count {
    background: var(--roven-color-charcoal);
    color: white;
}

/* Overlay Navigation */
.roven-navigation-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    background: var(--roven-color-warm-white);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--roven-transition-fast), visibility var(--roven-transition-fast);
}

.roven-navigation-panel.roven-navigation-panel--open {
    visibility: visible;
    opacity: 1;
}

.roven-navigation-panel__main {
    padding: clamp(36px, 5vw, 80px);
    display: flex;
    flex-direction: column;
}

.roven-navigation-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: auto;
}

.roven-navigation-panel__logo {
    width: 132px;
    height: auto;
    max-height: 44px;
    aspect-ratio: 2048 / 682;
    object-fit: contain;
}

.roven-navigation-panel__close {
    width: 48px;
    height: 48px;
    border: 1px solid var(--roven-color-line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.roven-navigation-panel__links {
    display: grid;
    gap: 12px;
    margin: 64px 0;
}

.roven-navigation-panel__links a {
    width: fit-content;
    font-size: clamp(2.4rem, 5vw, 5.8rem);
    font-weight: 450;
    line-height: 1;
    letter-spacing: -0.055em;
    transition: transform var(--roven-transition-fast), color var(--roven-transition-fast);
}

.roven-navigation-panel__links a:hover {
    transform: translateX(14px);
    color: var(--roven-color-brown);
}

.roven-navigation-panel__subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    font-size: 0.88rem;
    color: var(--roven-color-warm-gray);
}

.roven-navigation-panel__visual {
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.32)),
        url('../assets/images/space-living.png') center / cover;
}

/* Search */
.roven-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 115;
    background: rgba(246, 243, 237, 0.98);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--roven-transition-fast), visibility var(--roven-transition-fast);
}

.roven-search-overlay.roven-search-overlay--open {
    opacity: 1;
    visibility: visible;
}

.roven-search-overlay__inner {
    min-height: 100%;
    padding: clamp(34px, 5vw, 80px) var(--roven-page-gutter);
}

.roven-search-overlay__top {
    display: flex;
    justify-content: flex-end;
}

.roven-search-overlay__close {
    border: 0;
    background: transparent;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.roven-search-overlay__form {
    max-width: 1200px;
    margin: 8vh auto 48px;
    border-bottom: 1px solid var(--roven-color-charcoal);
    display: flex;
    align-items: center;
}

.roven-search-overlay__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 22px 0;
    font-size: clamp(2rem, 5vw, 5rem);
    letter-spacing: -0.04em;
    outline: none;
}

.roven-search-overlay__results {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.roven-search-result-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid transparent;
    transition: border-color var(--roven-transition-fast), background var(--roven-transition-fast);
}

.roven-search-result-card:hover {
    border-color: var(--roven-color-line);
    background: rgba(255,255,255,0.45);
}

.roven-search-result-card__image {
    width: 86px;
    aspect-ratio: 1;
    object-fit: cover;
}

.roven-search-result-card__category {
    color: var(--roven-color-warm-gray);
    font-size: 0.78rem;
}

.roven-search-result-card__title {
    margin: 4px 0 0;
    font-size: 0.98rem;
}

/* Cart Drawer */
.roven-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 130;
    visibility: hidden;
}

.roven-cart-drawer.roven-cart-drawer--open {
    visibility: visible;
}

.roven-cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,18,15,0.35);
    opacity: 0;
    transition: opacity var(--roven-transition-fast);
}

.roven-cart-drawer--open .roven-cart-drawer__overlay {
    opacity: 1;
}

.roven-cart-drawer__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(520px, 100%);
    background: var(--roven-color-paper);
    transform: translateX(100%);
    transition: transform 480ms cubic-bezier(.2,.7,.2,1);
    display: flex;
    flex-direction: column;
}

.roven-cart-drawer--open .roven-cart-drawer__panel {
    transform: translateX(0);
}

.roven-cart-drawer__header {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-cart-drawer__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.roven-cart-drawer__close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.roven-cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 26px 28px;
}

.roven-cart-drawer__empty {
    padding: 50px 0;
    color: var(--roven-color-warm-gray);
}

.roven-cart-drawer__product {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-cart-drawer__product-image {
    width: 110px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #e9e4db;
}

.roven-cart-drawer__product-title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.roven-cart-drawer__product-meta {
    margin: 0 0 10px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--roven-color-warm-gray);
}

.roven-cart-drawer__product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.roven-cart-drawer__quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--roven-color-line);
}

.roven-cart-drawer__quantity button {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.roven-cart-drawer__quantity span {
    min-width: 28px;
    text-align: center;
    font-size: 0.82rem;
}

.roven-cart-drawer__footer {
    padding: 24px 28px 30px;
    border-top: 1px solid var(--roven-color-line);
    background: var(--roven-color-warm-white);
}

.roven-cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.roven-cart-drawer__actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
}

/* Hero */
.roven-home-hero {
    min-height: 100svh;
    position: relative;
    background: #171815;
    color: white;
}

.roven-home-hero__swiper {
    position: relative;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}

.roven-home-hero__swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.roven-home-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 1100ms cubic-bezier(.2,.65,.25,1), visibility 1100ms step-end;
}

.roven-home-hero__slide.roven-home-hero__slide--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: opacity 1100ms cubic-bezier(.2,.65,.25,1), visibility 0ms step-start;
}

.roven-home-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,8,0.55) 0%, rgba(10,10,8,0.18) 50%, rgba(10,10,8,0.08) 100%);
}

.roven-home-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    will-change: transform;
}

.roven-home-hero__slide.roven-home-hero__slide--active .roven-home-hero__image {
    animation: rovenHeroKenBurns 7.6s linear forwards;
}

.roven-home-hero__content {
    position: relative;
    z-index: 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: calc(var(--roven-header-height) + 40px) var(--roven-page-gutter) clamp(70px, 9vw, 140px);
}

.roven-home-hero__collection {
    margin-bottom: 18px;
    font-size: 0.76rem;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.roven-home-hero__headline {
    max-width: 9ch;
    margin: 0 0 30px;
    font-size: clamp(3.6rem, 8vw, 9.5rem);
    line-height: 0.89;
    letter-spacing: -0.065em;
    font-weight: 420;
}

.roven-home-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.75);
    padding-bottom: 8px;
    font-size: 0.9rem;
}

.roven-home-hero__controls {
    position: absolute;
    z-index: 4;
    right: var(--roven-page-gutter);
    bottom: 45px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.roven-home-hero__pagination {
    position: static !important;
    width: auto !important;
    color: white;
    font-size: 0.78rem;
}

.roven-home-hero__arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
}

@keyframes rovenHeroKenBurns {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.09);
    }
}

/* Intro */
.roven-home-intro {
    padding: var(--roven-section-space) 0;
}

.roven-home-intro__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(50px, 8vw, 140px);
    align-items: center;
}

.roven-home-intro__quote {
    margin: 0;
    font-family: var(--roven-font-editorial);
    font-size: clamp(2.5rem, 5.2vw, 6.6rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.roven-home-intro__aside {
    max-width: 470px;
    padding-top: 10px;
}

.roven-home-intro__aside p {
    margin: 0 0 28px;
    color: var(--roven-color-warm-gray);
    font-size: 1rem;
    line-height: 1.85;
}

/* Product section */
.roven-home-featured-products {
    padding: 0 0 var(--roven-section-space);
}

.roven-home-featured-products__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.roven-home-featured-products__grid,
.roven-product-listing__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 34px);
}

.roven-home-product-card,
.roven-product-list-card {
    position: relative;
    min-width: 0;
}

.roven-home-product-card__image-wrap,
.roven-product-list-card__image-wrap {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #ece7df;
}

.roven-home-product-card__image,
.roven-home-product-card__image-alt,
.roven-product-list-card__image,
.roven-product-list-card__image-alt {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--roven-transition-slow), transform var(--roven-transition-slow);
}

.roven-home-product-card__image-alt,
.roven-product-list-card__image-alt {
    opacity: 0;
}

.roven-home-product-card:hover .roven-home-product-card__image,
.roven-product-list-card:hover .roven-product-list-card__image {
    opacity: 0;
    transform: scale(1.02);
}

.roven-home-product-card:hover .roven-home-product-card__image-alt,
.roven-product-list-card:hover .roven-product-list-card__image-alt {
    opacity: 1;
    transform: scale(1.025);
}

.roven-home-product-card__favorite,
.roven-product-list-card__favorite {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(250,248,244,0.88);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    cursor: pointer;
}

.roven-home-product-card__favorite.roven-is-favorite,
.roven-product-list-card__favorite.roven-is-favorite {
    background: var(--roven-color-charcoal);
    color: white;
}

.roven-home-product-card__badge,
.roven-product-list-card__badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 10px;
    background: rgba(249,247,242,0.9);
    backdrop-filter: blur(10px);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roven-home-product-card__content,
.roven-product-list-card__content {
    padding: 16px 2px 0;
}

.roven-home-product-card__row,
.roven-product-list-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.roven-home-product-card__title,
.roven-product-list-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.roven-home-product-card__price,
.roven-product-list-card__price {
    flex-shrink: 0;
    font-size: 0.9rem;
}

.roven-home-product-card__meta,
.roven-product-list-card__meta {
    margin: 6px 0 0;
    color: var(--roven-color-warm-gray);
    font-size: 0.78rem;
}

.roven-home-product-card__swatches,
.roven-product-list-card__swatches {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.roven-home-product-card__swatch,
.roven-product-list-card__swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
}

/* Full editorial image */
.roven-home-editorial-banner {
    position: relative;
    min-height: min(82vh, 920px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: white;
}

.roven-home-editorial-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roven-home-editorial-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.55) 100%);
}

.roven-home-editorial-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 70px var(--roven-page-gutter);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.roven-home-editorial-banner__title {
    margin: 0;
    max-width: 11ch;
    font-family: var(--roven-font-editorial);
    font-size: clamp(3.2rem, 7vw, 8rem);
    font-weight: 400;
    line-height: 0.93;
}

/* Spaces */
.roven-home-spaces {
    padding: var(--roven-section-space) 0;
}

.roven-home-spaces__heading {
    margin-bottom: 46px;
}

.roven-home-spaces__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.roven-home-space-card {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    color: white;
}

.roven-home-space-card:nth-child(1),
.roven-home-space-card:nth-child(4) {
    grid-column: span 7;
}

.roven-home-space-card:nth-child(2),
.roven-home-space-card:nth-child(3) {
    grid-column: span 5;
}

.roven-home-space-card:nth-child(5),
.roven-home-space-card:nth-child(6) {
    grid-column: span 6;
}

.roven-home-space-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--roven-transition-slow);
}

.roven-home-space-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55) 100%);
}

.roven-home-space-card:hover .roven-home-space-card__image {
    transform: scale(1.035);
}

.roven-home-space-card__label {
    position: absolute;
    z-index: 2;
    left: 28px;
    bottom: 26px;
    font-size: clamp(1.5rem, 2.4vw, 2.6rem);
    letter-spacing: -0.03em;
}

/* Personalization showcase */
.roven-home-customization {
    padding: var(--roven-section-space) 0;
    background: #e9e3da;
}

.roven-home-customization__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(50px, 8vw, 120px);
    align-items: center;
}

.roven-home-customization__copy {
    max-width: 620px;
}

.roven-home-customization__copy .roven-body-copy {
    margin: 28px 0 34px;
}

.roven-home-config-preview {
    background: rgba(255,255,255,0.54);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.55);
    padding: clamp(20px, 3vw, 40px);
}

.roven-home-config-preview__visual {
    aspect-ratio: 4 / 3;
    background: #d8d2c9;
    overflow: hidden;
}

.roven-home-config-preview__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roven-home-config-preview__controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.roven-home-config-preview__control-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--roven-color-warm-gray);
}

.roven-home-config-preview__control-value {
    font-size: 1.1rem;
}

/* Collections */
.roven-home-collections {
    padding: var(--roven-section-space) 0;
}

.roven-home-collections__grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.roven-home-collection-card {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    color: white;
}

.roven-home-collection-card:nth-child(2) {
    margin-top: 80px;
}

.roven-home-collection-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--roven-transition-slow);
}

.roven-home-collection-card:hover .roven-home-collection-card__image {
    transform: scale(1.03);
}

.roven-home-collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.58));
}

.roven-home-collection-card__content {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 30px;
}

.roven-home-collection-card__title {
    margin: 0 0 10px;
    font-size: 1.6rem;
    font-weight: 500;
}

.roven-home-collection-card__description {
    margin: 0;
    max-width: 35ch;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
}

/* Featured focus */
.roven-home-product-focus {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
    min-height: 850px;
    background: var(--roven-color-olive);
    color: white;
}

.roven-home-product-focus__visual {
    min-height: 680px;
    overflow: hidden;
}

.roven-home-product-focus__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roven-home-product-focus__copy {
    padding: clamp(46px, 7vw, 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roven-home-product-focus__title {
    margin: 0 0 18px;
    font-size: clamp(2.8rem, 4.6vw, 5.6rem);
    font-weight: 480;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.roven-home-product-focus__description {
    margin: 0 0 28px;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
}

.roven-home-product-focus__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 32px 0 34px;
    padding: 24px 0;
    border-block: 1px solid rgba(255,255,255,0.2);
}

.roven-home-product-focus__spec strong {
    display: block;
    margin-top: 5px;
    font-size: 0.95rem;
}

.roven-home-product-focus__spec span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Assembly */
.roven-home-assembly {
    padding: var(--roven-section-space) 0;
}

.roven-home-assembly__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 74px;
}

.roven-home-assembly__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--roven-color-line);
}

.roven-home-assembly-step {
    min-height: 260px;
    padding: 28px 24px;
    border-right: 1px solid var(--roven-color-line);
}

.roven-home-assembly-step:first-child {
    border-left: 1px solid var(--roven-color-line);
}

.roven-home-assembly-step__number {
    display: block;
    margin-bottom: 80px;
    font-size: 0.78rem;
    color: var(--roven-color-warm-gray);
}

.roven-home-assembly-step__title {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    font-weight: 500;
}

.roven-home-assembly__kit {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #ebe5dd;
}

.roven-home-assembly__kit-image {
    min-height: 570px;
    background: url('../assets/images/space-office.png') center / cover;
}

.roven-home-assembly__kit-copy {
    padding: clamp(45px, 6vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roven-home-assembly__kit-list {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: grid;
    gap: 18px;
}

.roven-home-assembly__kit-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: center;
}

/* Inspiration */
.roven-home-inspiration {
    padding: var(--roven-section-space) 0;
    overflow: hidden;
}

.roven-home-inspiration__strip {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 18px;
    align-items: end;
}

.roven-home-inspiration__image:nth-child(1) { aspect-ratio: 4/5; }
.roven-home-inspiration__image:nth-child(2) { aspect-ratio: 3/4; margin-bottom: 70px; }
.roven-home-inspiration__image:nth-child(3) { aspect-ratio: 4/5; }

.roven-home-inspiration__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Materials */
.roven-home-materials {
    padding: var(--roven-section-space) 0;
    background: var(--roven-color-charcoal);
    color: white;
}

.roven-home-materials__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(60px, 10vw, 160px);
    align-items: center;
}

.roven-home-materials__image {
    min-height: 720px;
    background: url('../assets/images/product-a02.png') center / cover;
}

.roven-home-materials__copy .roven-body-copy {
    color: rgba(255,255,255,0.65);
    margin: 28px 0;
}

.roven-home-materials__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.roven-home-materials__chip {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75rem;
}

/* Social grid */
.roven-home-social {
    padding: var(--roven-section-space) 0;
}

.roven-home-social__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.roven-home-social__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 10px;
}

.roven-home-social__item {
    aspect-ratio: 1;
    overflow: hidden;
}

.roven-home-social__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--roven-transition-slow);
}

.roven-home-social__item:hover img {
    transform: scale(1.04);
}

/* Newsletter */
.roven-newsletter {
    padding: clamp(70px, 8vw, 130px) 0;
    border-top: 1px solid var(--roven-color-line);
}

.roven-newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(50px, 8vw, 130px);
    align-items: end;
}

.roven-newsletter__form {
    display: flex;
    border-bottom: 1px solid var(--roven-color-charcoal);
}

.roven-newsletter__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 18px 0;
    outline: none;
}

.roven-newsletter__submit {
    width: 52px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* Footer */
.roven-site-footer {
    background: #1c1d1a;
    color: white;
    padding: 70px 0 28px;
}

.roven-site-footer__top {
    display: grid;
    grid-template-columns: 1.1fr repeat(3, 0.7fr);
    gap: 54px;
}

.roven-site-footer__brand img {
    width: 160px;
    height: auto;
    max-height: 54px;
    aspect-ratio: 2048 / 682;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.roven-site-footer__brand p {
    margin: 24px 0 0;
    max-width: 34ch;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    font-size: 0.9rem;
}

.roven-site-footer__column-title {
    margin: 0 0 18px;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.5);
}

.roven-site-footer__links {
    display: grid;
    gap: 12px;
    font-size: 0.9rem;
}

.roven-site-footer__links a:hover {
    color: var(--roven-color-sand);
}

.roven-site-footer__social {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.roven-site-footer__social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;
}

.roven-site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 72px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
}

/* Listing page */
.roven-product-listing-page {
    padding-top: calc(var(--roven-header-height) + 72px);
}

.roven-product-listing__header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 50px;
    align-items: end;
    padding-bottom: 64px;
}

.roven-product-listing__tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-block: 1px solid var(--roven-color-line);
    margin-bottom: 34px;
}

.roven-product-listing__tool-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.roven-product-listing__filter-button,
.roven-product-listing__sort-select {
    min-height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.roven-product-listing__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 44px;
    padding-bottom: var(--roven-section-space);
}

.roven-product-filters {
    position: sticky;
    top: calc(var(--roven-header-height) + 24px);
    align-self: start;
}

.roven-product-filter-group {
    padding: 20px 0;
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-product-filter-group__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
    font-size: 0.82rem;
    font-weight: 600;
}

.roven-product-filter-group__options {
    display: grid;
    gap: 10px;
}

.roven-product-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #575650;
}

.roven-product-filter-checkbox input {
    accent-color: var(--roven-color-charcoal);
}

.roven-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 135;
    background: var(--roven-color-paper);
    transform: translateY(100%);
    transition: transform var(--roven-transition-fast);
    display: none;
}

.roven-filter-drawer.roven-filter-drawer--open {
    transform: translateY(0);
}

/* Product detail */
.roven-product-detail-page {
    padding-top: var(--roven-header-height);
}

.roven-product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    align-items: start;
}

.roven-product-detail-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--roven-color-paper);
}

.roven-product-detail-gallery__item {
    min-height: 560px;
    overflow: hidden;
    background: #e9e4dc;
}

.roven-product-detail-gallery__item:first-child {
    grid-column: 1 / -1;
    min-height: 800px;
}

.roven-product-detail-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.roven-product-detail-info {
    position: sticky;
    top: var(--roven-header-height);
    min-height: calc(100vh - var(--roven-header-height));
    padding: clamp(40px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roven-product-detail-info__breadcrumb {
    margin-bottom: 28px;
    color: var(--roven-color-warm-gray);
    font-size: 0.75rem;
}

.roven-product-detail-info__category {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: var(--roven-color-warm-gray);
}

.roven-product-detail-info__title {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 5.8rem);
    line-height: 0.95;
    font-weight: 480;
    letter-spacing: -0.055em;
}

.roven-product-detail-info__price {
    margin: 20px 0 26px;
    font-size: 1.2rem;
}

.roven-product-detail-info__description {
    max-width: 54ch;
    margin: 0 0 30px;
    color: #62615b;
    line-height: 1.8;
}

.roven-product-detail-option {
    padding: 22px 0;
    border-top: 1px solid var(--roven-color-line);
}

.roven-product-detail-option__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

.roven-product-detail-option__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.roven-product-detail-option__swatch {
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 50%;
    padding: 4px;
    background: transparent;
    cursor: pointer;
}

.roven-product-detail-option__swatch span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.13);
}

.roven-product-detail-option__swatch.roven-is-selected {
    border-color: var(--roven-color-charcoal);
}

.roven-product-detail-info__purchase-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    margin-top: 12px;
}

.roven-product-detail-info__quantity {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    min-height: 54px;
    border: 1px solid var(--roven-color-line);
    align-items: center;
}

.roven-product-detail-info__quantity button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.roven-product-detail-info__quantity span {
    text-align: center;
}

.roven-product-detail-info__customize {
    margin-top: 10px;
}

.roven-product-detail-content {
    padding: var(--roven-section-space) 0;
}

.roven-product-detail-content__intro {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    margin-bottom: 90px;
}

.roven-product-detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--roven-color-line);
    border-left: 1px solid var(--roven-color-line);
}

.roven-product-detail-spec {
    padding: 28px;
    min-height: 180px;
    border-right: 1px solid var(--roven-color-line);
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-product-detail-spec__icon {
    font-size: 1.7rem;
    margin-bottom: 50px;
}

.roven-product-detail-spec__title {
    margin: 0 0 6px;
    font-size: 0.9rem;
}

.roven-product-detail-spec__text {
    margin: 0;
    color: var(--roven-color-warm-gray);
    font-size: 0.78rem;
    line-height: 1.6;
}

.roven-product-detail-dimensions {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.roven-product-detail-dimensions__diagram {
    min-height: 560px;
    background: #ece7de;
    display: grid;
    place-items: center;
    position: relative;
}

.roven-product-detail-dimensions__furniture {
    width: 62%;
    height: 34%;
    border: 10px solid #735f4b;
    border-top-width: 20px;
    position: relative;
}

.roven-product-detail-dimensions__furniture::before,
.roven-product-detail-dimensions__furniture::after {
    content: "";
    position: absolute;
    bottom: -90px;
    width: 10px;
    height: 80px;
    background: #2f312d;
}

.roven-product-detail-dimensions__furniture::before { left: 10%; }
.roven-product-detail-dimensions__furniture::after { right: 10%; }

.roven-product-detail-dimensions__measure {
    position: absolute;
    font-size: 0.75rem;
    color: var(--roven-color-warm-gray);
}

.roven-product-detail-dimensions__measure--width { bottom: 16%; }
.roven-product-detail-dimensions__measure--height { left: 14%; transform: rotate(-90deg); }
.roven-product-detail-dimensions__measure--depth { right: 10%; top: 30%; }

/* Configurator */
.roven-configurator-page {
    padding-top: var(--roven-header-height);
}

.roven-configurator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(380px, 0.85fr);
    min-height: calc(100vh - var(--roven-header-height));
}

.roven-configurator-visual {
    position: sticky;
    top: var(--roven-header-height);
    height: calc(100vh - var(--roven-header-height));
    background: #e8e2d9;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.roven-configurator-visual__room {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.04)),
        url('../assets/images/space-office.png') center / cover;
    filter: saturate(0.72);
}

.roven-configurator-visual__product {
    position: relative;
    z-index: 2;
    width: min(58vw, 760px);
    transition: width var(--roven-transition-fast), transform var(--roven-transition-fast), filter var(--roven-transition-fast);
}

.roven-configurator-visual__desk-top {
    height: 34px;
    background: var(--config-surface, #8d735b);
    box-shadow: 0 22px 44px rgba(0,0,0,0.17);
}

.roven-configurator-visual__desk-base {
    width: 88%;
    height: 220px;
    margin: 0 auto;
    border-left: 18px solid var(--config-frame, #242622);
    border-right: 18px solid var(--config-frame, #242622);
    border-bottom: 18px solid var(--config-frame, #242622);
    transform-origin: top center;
}

.roven-configurator-visual__drawer {
    width: 34%;
    min-width: 170px;
    height: 180px;
    background: var(--config-surface, #8d735b);
    position: absolute;
    top: 34px;
    box-shadow: 0 18px 30px rgba(0,0,0,0.12);
    transition: left var(--roven-transition-fast), right var(--roven-transition-fast), opacity var(--roven-transition-fast);
}

.roven-configurator-visual__drawer[data-side="left"] { left: 7%; right: auto; }
.roven-configurator-visual__drawer[data-side="right"] { right: 7%; left: auto; }
.roven-configurator-visual__drawer[data-side="none"] { opacity: 0; pointer-events: none; }

.roven-configurator-panel {
    padding: clamp(34px, 4vw, 62px);
    background: var(--roven-color-paper);
}

.roven-configurator-panel__title {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    font-weight: 480;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.roven-configurator-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-configurator-section__title {
    margin: 0 0 18px;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.roven-configurator-dimension-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 24px;
    align-items: center;
    margin: 16px 0;
}

.roven-configurator-dimension-row__label {
    font-size: 0.88rem;
}

.roven-configurator-stepper {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    border: 1px solid var(--roven-color-line);
    min-height: 44px;
    align-items: center;
}

.roven-configurator-stepper button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.roven-configurator-stepper span {
    text-align: center;
    font-size: 0.82rem;
}

.roven-configurator-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.roven-configurator-swatch {
    border: 1px solid transparent;
    background: transparent;
    padding: 5px;
    cursor: pointer;
}

.roven-configurator-swatch__sample {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(0,0,0,0.12);
}

.roven-configurator-swatch__label {
    display: block;
    margin-top: 7px;
    font-size: 0.69rem;
    color: var(--roven-color-warm-gray);
}

.roven-configurator-swatch.roven-is-selected {
    border-color: var(--roven-color-charcoal);
}

.roven-configurator-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.roven-configurator-choice {
    min-height: 48px;
    border: 1px solid var(--roven-color-line);
    background: transparent;
    cursor: pointer;
}

.roven-configurator-choice.roven-is-selected {
    background: var(--roven-color-charcoal);
    color: white;
}

.roven-configurator-summary {
    padding-top: 34px;
}

.roven-configurator-summary__price {
    margin: 6px 0 16px;
    font-size: 1.5rem;
}

.roven-configurator-summary__delivery {
    margin: 0 0 24px;
    color: var(--roven-color-warm-gray);
    font-size: 0.8rem;
}

.roven-configurator-summary .roven-primary-button {
    width: 100%;
}

/* Cart page */
.roven-cart-page {
    padding: calc(var(--roven-header-height) + 70px) 0 var(--roven-section-space);
}

.roven-cart-page__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 50px;
}

.roven-cart-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: clamp(50px, 8vw, 120px);
}

.roven-cart-page__items {
    border-top: 1px solid var(--roven-color-line);
}

.roven-cart-page-item {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-cart-page-item__image {
    width: 180px;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.roven-cart-page-item__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.roven-cart-page-item__meta {
    margin: 0;
    color: var(--roven-color-warm-gray);
    font-size: 0.78rem;
    line-height: 1.65;
}

.roven-cart-page-item__actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.roven-cart-page-item__remove {
    border: 0;
    background: transparent;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.roven-cart-page-summary {
    position: sticky;
    top: calc(var(--roven-header-height) + 30px);
    align-self: start;
    padding: 32px;
    background: #eee8df;
}

.roven-cart-page-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    font-size: 0.86rem;
}

.roven-cart-page-summary__row--total {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--roven-color-line);
    font-size: 1rem;
    font-weight: 600;
}

.roven-cart-page-summary .roven-primary-button {
    width: 100%;
    margin-top: 22px;
}

/* Collection page */
.roven-collection-hero {
    min-height: 88svh;
    position: relative;
    display: flex;
    align-items: end;
    color: white;
    overflow: hidden;
}

.roven-collection-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roven-collection-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62));
}

.roven-collection-hero__content {
    position: relative;
    z-index: 2;
    padding: calc(var(--roven-header-height) + 60px) var(--roven-page-gutter) 72px;
}

.roven-collection-story {
    padding: var(--roven-section-space) 0;
}

.roven-collection-story__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.roven-collection-story__visual-pair {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 18px;
    margin-top: 80px;
    align-items: end;
}

.roven-collection-story__visual-pair img:first-child { aspect-ratio: 4/5; object-fit: cover; }
.roven-collection-story__visual-pair img:last-child { aspect-ratio: 3/4; object-fit: cover; margin-bottom: 80px; }

/* Modal lightbox */
.roven-lightbox {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    background: rgba(17,17,15,0.96);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--roven-transition-fast), visibility var(--roven-transition-fast);
}

.roven-lightbox.roven-lightbox--open {
    visibility: visible;
    opacity: 1;
}

.roven-lightbox__image {
    max-width: min(90vw, 1500px);
    max-height: 88vh;
    object-fit: contain;
}

.roven-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
}

/* Reveal */
[data-roven-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}

[data-roven-reveal].roven-is-visible {
    opacity: 1;
    transform: translateY(0);
}

.roven-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: 46px;
    height: 46px;
    border: 1px solid var(--roven-color-line);
    background: rgba(250,248,244,0.9);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity var(--roven-transition-fast), transform var(--roven-transition-fast);
    cursor: pointer;
}

.roven-back-to-top.roven-back-to-top--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* Self-contained hero transitions: no external slider dependency. */
.roven-home-hero__slide .roven-home-hero__content {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms ease 180ms, transform 700ms cubic-bezier(.2,.7,.2,1) 180ms;
}

.roven-home-hero__slide.roven-home-hero__slide--active .roven-home-hero__content {
    opacity: 1;
    transform: translateY(0);
}

.roven-home-hero__pagination {
    min-width: 42px;
    text-align: center;
}

/* Product imagery stays visible even if optional animation code cannot run. */
[data-roven-reveal] {
    opacity: 1;
    transform: none;
}

/* Force every ROVEN logo to preserve its original horizontal proportion. */
img[src$="roven-logo.png"] {
    height: auto !important;
    object-fit: contain;
}


@media (prefers-reduced-motion: reduce) {
    .roven-home-hero__slide,
    .roven-home-hero__slide .roven-home-hero__content,
    .roven-home-hero__image,
    .roven-home-product-card__image,
    .roven-home-product-card__image-alt,
    .roven-product-list-card__image,
    .roven-product-list-card__image-alt {
        transition: none;
        animation: none;
        transform: none;
    }
}

/* Error 404 */
.roven-error-page {
    min-height: 100vh;
    background: var(--roven-color-warm-white);
}

.roven-error-page__stage {
    position: relative;
    min-height: min(820px, 100vh);
    padding-top: var(--roven-header-height);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--roven-color-line);
}

.roven-error-page__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 38%, rgba(132, 113, 82, 0.12), transparent 0 23%, transparent 44%),
        linear-gradient(115deg, transparent 0 62%, rgba(28, 29, 26, 0.035) 62% 62.2%, transparent 62.2%);
}

.roven-error-page__inner {
    position: relative;
    width: 100%;
    min-height: calc(min(820px, 100vh) - var(--roven-header-height));
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.45fr);
    align-items: center;
    padding-top: clamp(64px, 10vh, 120px);
    padding-bottom: clamp(64px, 10vh, 120px);
}

.roven-error-page__code {
    position: absolute;
    right: -0.035em;
    top: 50%;
    transform: translateY(-53%);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(15rem, 35vw, 38rem);
    font-weight: 400;
    line-height: 0.7;
    letter-spacing: -0.08em;
    color: rgba(28, 29, 26, 0.045);
    user-select: none;
    white-space: nowrap;
}

.roven-error-page__content {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.roven-error-page__title {
    margin: 18px 0 26px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 8.7vw, 8.6rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.055em;
}

.roven-error-page__text {
    max-width: 530px;
    margin: 0;
    color: #62625c;
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.8;
}

.roven-error-page__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.roven-error-page__aside {
    position: relative;
    z-index: 2;
    justify-self: end;
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.68rem;
    color: #77776f;
}

.roven-error-page__aside span:first-child {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    color: var(--roven-color-charcoal);
}

@media (max-width: 760px) {
    .roven-error-page__stage {
        min-height: 720px;
    }

    .roven-error-page__inner {
        grid-template-columns: 1fr;
        min-height: 640px;
        align-content: center;
    }

    .roven-error-page__code {
        top: 45%;
        right: -0.08em;
        font-size: clamp(15rem, 72vw, 25rem);
    }

    .roven-error-page__title {
        font-size: clamp(4.2rem, 18vw, 7rem);
    }

    .roven-error-page__aside {
        display: none;
    }
}
