:root {
    --ov-bg: #121212;
    --ov-bg-soft: #1b1a18;
    --ov-text: #fffae6;
    --ov-muted: rgba(255, 250, 230, 0.68);
    --ov-line: rgba(255, 250, 230, 0.18);
    --ov-accent: #fffae6;
    --ov-accent-text: #121212;
    --ov-danger: #ff756f;
    --ov-max: 1360px;
    --ov-radius: 6px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--ov-bg);
    color: var(--ov-text);
    font-family: Epilogue, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

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

.ov-skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 100;
}

.ov-skip-link:focus {
    left: 1rem;
}

.ov-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(18, 18, 18, 0.96);
    border-bottom: 1px solid var(--ov-line);
}

.ov-header__inner,
.ov-footer__inner,
.ov-section,
.ov-page-hero,
.ov-shop-layout,
.ov-content-page,
.ov-post-grid,
.ov-product-detail {
    width: min(calc(100% - 32px), var(--ov-max));
    margin: 0 auto;
}

.ov-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    gap: 28px;
}

.ov-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
}

.ov-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0;
}

.ov-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: clamp(86px, 8.4vw, 124px);
    color: var(--ov-text);
    filter: drop-shadow(0 8px 18px rgba(255, 245, 200, 0.12));
}

.ov-brand__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 124px;
    object-fit: contain;
}

.ov-brand--footer .ov-brand__logo {
    width: clamp(86px, 12vw, 132px);
}

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

.ov-nav__list,
.ov-footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ov-nav a,
.ov-footer a {
    color: var(--ov-muted);
    text-decoration: none;
}

.ov-nav a:hover,
.ov-footer a:hover {
    color: var(--ov-text);
}

.ov-cart-link {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    color: var(--ov-text);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.ov-cart-link:hover,
.ov-cart-link:focus-visible {
    border-color: var(--ov-text);
    background: rgba(255, 250, 230, 0.06);
    outline: none;
}

.ov-cart-link__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}

.ov-cart-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ov-cart-link__count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 1px solid var(--ov-bg);
    border-radius: 999px;
    background: var(--ov-accent);
    color: var(--ov-accent-text);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.ov-cart-link__count.is-empty {
    display: none;
}

.ov-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    background: transparent;
    color: var(--ov-text);
}

.ov-menu-toggle span {
    display: block;
    height: 1px;
    margin: 6px 0;
    background: currentColor;
}

.ov-main {
    min-height: 70vh;
}

.ov-home-scroll {
    --ov-home-progress: 0;
    position: relative;
    height: calc(100vh + min(34vh, 320px));
    min-height: 880px;
}

.ov-hero {
    position: relative;
    overflow: hidden;
    min-height: min(780px, calc(100vh - 96px));
    display: flex;
    align-items: end;
    background: linear-gradient(135deg, #191919, #2a2924);
    border-bottom: 1px solid var(--ov-line);
}

.ov-home-scroll .ov-hero {
    position: sticky;
    top: 96px;
    height: min(780px, calc(100vh - 96px));
    min-height: 0;
}

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

.ov-home-scroll .ov-hero__image {
    opacity: calc(0.78 + var(--ov-home-progress) * 0.18);
    transform: scale(calc(1.035 - var(--ov-home-progress) * 0.02));
    transform-origin: center;
    will-change: transform, opacity;
}

.ov-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.88), rgba(18, 18, 18, 0.18));
}

.ov-home-scroll .ov-hero__overlay {
    background: linear-gradient(
        90deg,
        rgba(18, 18, 18, calc(0.88 - var(--ov-home-progress) * 0.48)),
        rgba(18, 18, 18, 0.14)
    );
}

.ov-hero__content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), var(--ov-max));
    margin: 0 auto;
    padding: 120px 0 96px;
}

.ov-home-scroll .ov-hero__content {
    transform: translateX(calc(var(--ov-home-progress) * -118vw));
    will-change: transform;
}

.ov-home-scroll .ov-actions {
    opacity: calc(1 - var(--ov-home-progress) * 1.25);
}

.ov-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: clamp(26px, 5vh, 54px);
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 10px;
    width: 42px;
    color: var(--ov-text);
    text-decoration: none;
    opacity: calc(0.92 - var(--ov-home-progress) * 1.15);
    transform: translateX(-50%) translateY(calc(var(--ov-home-progress) * 18px));
    transition: opacity 180ms ease;
}

.ov-scroll-indicator__line {
    position: relative;
    display: block;
    width: 1px;
    height: 86px;
    overflow: hidden;
    background: rgba(255, 250, 230, 0.22);
}

.ov-scroll-indicator__line::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 250, 230, 0), rgba(255, 250, 230, 0.95));
    animation: ov-scroll-line 1.7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.ov-scroll-indicator__arrow {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    opacity: 0.88;
    transform: rotate(45deg);
}

.ov-scroll-indicator:hover,
.ov-scroll-indicator:focus-visible {
    opacity: 1;
    outline: none;
}

@keyframes ov-scroll-line {
    0% {
        transform: translateY(-110%);
    }

    100% {
        transform: translateY(250%);
    }
}

.is-scroll-anim-ready .ov-home-featured .ov-product-card {
    opacity: 0;
    transform: translateY(32px);
}

.is-scroll-anim-ready .ov-home-featured .ov-product-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ov-kicker {
    margin: 0 0 14px;
    color: var(--ov-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

.ov-hero h1 {
    max-width: 900px;
    font-size: clamp(3rem, 8vw, 7.5rem);
}

.ov-hero p:not(.ov-kicker) {
    max-width: 660px;
    margin: 26px 0 0;
    color: var(--ov-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.ov-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ov-button,
.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--ov-accent);
    border-radius: var(--ov-radius);
    background: var(--ov-accent);
    color: var(--ov-accent-text);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.ov-button--ghost,
.woocommerce a.button.alt {
    background: transparent;
    color: var(--ov-text);
}

.ov-section {
    padding: 88px 0;
}

.ov-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.ov-section__header h2,
.ov-page-hero h1 {
    font-size: clamp(2.1rem, 5vw, 4.6rem);
}

.ov-section__header a {
    color: var(--ov-muted);
    white-space: nowrap;
}

.ov-product-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.ov-product-card {
    position: relative;
    min-width: 0;
    transition: opacity 260ms ease, transform 560ms ease;
}

.ov-product-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--ov-bg-soft);
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    transition: border-color 180ms ease;
}

.ov-product-card__image,
.ov-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, opacity 180ms ease;
    will-change: transform;
}

.ov-product-card:hover .ov-product-card__media {
    border-color: rgba(255, 250, 230, 0.52);
}

.ov-product-card:hover .ov-product-card__image,
.ov-product-card:hover .ov-product-card__media img {
    transform: scale(1.035);
}

.ov-product-grid:has(.ov-product-card:hover) .ov-product-card {
    opacity: 0.48;
}

.ov-product-grid:has(.ov-product-card:hover) .ov-product-card:hover {
    z-index: 2;
    opacity: 1;
}

.ov-product-card__content {
    display: grid;
    gap: 6px;
    padding-top: 14px;
}

.ov-product-card__title {
    color: var(--ov-text);
    text-decoration: none;
    font-weight: 700;
}

.ov-product-card__price {
    color: var(--ov-muted);
}

.ov-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ov-collection-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    background: #181818;
    text-decoration: none;
}

.ov-collection-card span {
    font-size: 1.8rem;
    font-weight: 800;
}

.ov-collection-card p {
    max-width: 34ch;
    margin: 10px 0 0;
    color: var(--ov-muted);
}

.ov-section--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: 54px;
    border-top: 1px solid var(--ov-line);
}

.ov-section--split h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.ov-copy {
    color: var(--ov-muted);
    font-size: 1.08rem;
}

.ov-page-hero {
    padding: 72px 0 36px;
}

.ov-page-hero p:not(.ov-kicker) {
    max-width: 720px;
    color: var(--ov-muted);
}

.ov-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--ov-muted);
}

.ov-shop-toolbar select,
.variations select,
.quantity .qty,
.ov-inquiry input,
.ov-inquiry select,
.ov-inquiry textarea {
    width: 100%;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    background: #181818;
    color: var(--ov-text);
    padding: 12px 14px;
}

.ov-inquiry select {
    min-height: 46px;
}

.ov-pagination {
    margin: 44px 0 70px;
}

.ov-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
    gap: 56px;
    padding: 48px 0 90px;
}

.ov-product-detail__gallery {
    position: relative;
    z-index: 1;
}

.ov-product-detail__main-image {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    background: var(--ov-bg-soft);
}

.ov-product-detail__main-image img {
    width: 100%;
    max-height: 84vh;
    object-fit: contain;
    transition: transform 220ms ease;
    will-change: transform;
}

.ov-product-detail__main-image:hover img {
    transform: scale(1.01);
}

.ov-product-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.ov-product-detail__thumb {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    background: transparent;
    cursor: pointer;
}

.ov-product-detail__thumb:hover,
.ov-product-detail__thumb:focus-visible {
    border-color: var(--ov-text);
}

.ov-product-detail__thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.ov-product-detail__summary {
    position: sticky;
    top: 102px;
    align-self: start;
}

.ov-product-detail__summary h1 {
    font-size: clamp(2.2rem, 4vw, 4.8rem);
}

.ov-product-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ov-product-detail__chips a {
    padding: 6px 10px;
    border: 1px solid var(--ov-line);
    border-radius: 999px;
    color: var(--ov-muted);
    text-decoration: none;
    font-size: 0.82rem;
}

.ov-product-detail__chips a:hover {
    border-color: var(--ov-text);
    color: var(--ov-text);
}

.ov-product-detail__price {
    margin: 18px 0 22px;
    color: var(--ov-muted);
    font-size: 1.3rem;
}

.ov-product-detail__cart {
    padding: 22px 0;
    border-top: 1px solid var(--ov-line);
    border-bottom: 1px solid var(--ov-line);
}

.variations {
    width: 100%;
    margin-bottom: 18px;
}

.variations th,
.variations td {
    display: block;
    padding: 0 0 10px;
    text-align: left;
}

.single_variation_wrap {
    display: grid;
    gap: 14px;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    gap: 10px;
}

.quantity {
    max-width: 96px;
}

.ov-inquiry {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    background: var(--ov-bg-soft);
}

.ov-inquiry h2,
.ov-product-detail__meta h2 {
    font-size: 1.1rem;
}

.ov-inquiry > p {
    margin: 8px 0 16px;
    color: var(--ov-muted);
}

.ov-inquiry__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ov-inquiry label {
    display: grid;
    gap: 6px;
    color: var(--ov-muted);
    font-size: 0.9rem;
}

.ov-inquiry textarea,
.ov-inquiry__full {
    grid-column: 1 / -1;
}

.ov-inquiry__status {
    margin: 12px 0 0;
    color: var(--ov-muted);
}

.ov-inquiry__status--error {
    color: var(--ov-danger);
}

.ov-product-detail__meta {
    margin-top: 26px;
    color: var(--ov-muted);
}

.ov-product-panel {
    padding: 22px 0;
    border-top: 1px solid var(--ov-line);
}

.ov-product-panel:last-child {
    border-bottom: 1px solid var(--ov-line);
}

.ov-product-panel > :last-child {
    margin-bottom: 0;
}

.ov-product-attributes {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.ov-product-attributes div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
}

.ov-product-attributes dt {
    color: var(--ov-text);
    font-weight: 700;
}

.ov-product-attributes dd {
    margin: 0;
}

.ov-spec-list {
    padding-left: 1.2rem;
}

.ov-related-products {
    border-top: 1px solid var(--ov-line);
}

.ov-content-page,
.ov-post-grid {
    padding: 70px 0 100px;
}

.ov-rich-text {
    max-width: 860px;
}

.ov-rich-text h1 {
    margin-bottom: 28px;
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.ov-rich-text p,
.ov-rich-text li {
    color: var(--ov-muted);
}

.ov-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.ov-post-card {
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    overflow: hidden;
}

.ov-post-card div {
    padding: 20px;
}

.ov-post-card h2 {
    margin: 8px 0;
}

.ov-post-card a {
    text-decoration: none;
}

.ov-empty {
    padding: 80px 0;
    text-align: center;
}

.ov-empty--page {
    width: min(calc(100% - 32px), 760px);
    margin: 0 auto;
}

.ov-footer {
    border-top: 1px solid var(--ov-line);
    background: #101010;
}

.ov-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    padding: 48px 0;
}

.ov-footer__note {
    max-width: 440px;
    color: var(--ov-muted);
}

.ov-footer__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.ov-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(calc(100% - 32px), var(--ov-max));
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid var(--ov-line);
    color: var(--ov-muted);
    font-size: 0.9rem;
}

.ov-currency-attribution {
    width: min(calc(100% - 32px), var(--ov-max));
    margin: -8px auto 18px;
    color: var(--ov-muted);
    font-size: 0.78rem;
    text-align: right;
}

.ov-currency-attribution a {
    color: inherit;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    width: min(calc(100% - 32px), var(--ov-max));
    margin: 24px auto;
    border-top-color: var(--ov-accent);
    background: var(--ov-bg-soft);
    color: var(--ov-text);
}

.woocommerce-breadcrumb {
    margin-bottom: 18px;
    color: var(--ov-muted);
    font-size: 0.9rem;
}

.woocommerce-breadcrumb a {
    color: var(--ov-muted);
}

@media (max-width: 980px) {
    .ov-menu-toggle {
        display: block;
    }

    .ov-nav {
        position: absolute;
        inset: 96px 0 auto;
        display: none;
        padding: 18px 16px 22px;
        background: rgba(18, 18, 18, 0.98);
        border-bottom: 1px solid var(--ov-line);
    }

    .ov-header__actions {
        gap: 12px;
    }

    .ov-nav.is-open {
        display: block;
    }

    .ov-nav__list {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .ov-product-grid,
    .ov-collection-grid,
    .ov-product-detail,
    .ov-section--split,
    .ov-footer__inner,
    .ov-post-grid {
        grid-template-columns: 1fr;
    }

    .ov-product-detail__summary {
        position: static;
    }
}

@media (max-width: 680px) {
    .ov-header__inner,
    .ov-footer__inner,
    .ov-section,
    .ov-page-hero,
    .ov-shop-layout,
    .ov-content-page,
    .ov-post-grid,
    .ov-product-detail {
        width: min(calc(100% - 24px), var(--ov-max));
    }

    .ov-header__inner {
        min-height: 84px;
        gap: 14px;
    }

    .ov-nav {
        inset: 84px 0 auto;
    }

    .ov-hero {
        min-height: 660px;
    }

    .ov-home-scroll {
        height: calc(100vh + 220px);
        min-height: 760px;
    }

    .ov-home-scroll .ov-hero {
        top: 84px;
        height: min(660px, calc(100vh - 84px));
    }

    .ov-hero__content {
        width: min(calc(100% - 24px), var(--ov-max));
        padding: 96px 0 56px;
    }

    .ov-brand__logo {
        width: clamp(78px, 22vw, 96px);
    }

    .ov-scroll-indicator {
        left: 50%;
        bottom: 24px;
        width: 42px;
        gap: 8px;
    }

    .ov-scroll-indicator__line {
        height: 64px;
    }

    .ov-scroll-indicator__arrow {
        width: 12px;
        height: 12px;
    }

    .ov-section {
        padding: 58px 0;
    }

    .ov-section__header,
    .ov-shop-toolbar,
    .ov-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ov-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .ov-product-card__content {
        font-size: 0.9rem;
    }

    .ov-inquiry__grid {
        grid-template-columns: 1fr;
    }

    .ov-product-attributes div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .woocommerce-variation-add-to-cart {
        flex-direction: column;
    }

    .quantity {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ov-home-scroll {
        height: auto;
        min-height: 0;
    }

    .ov-home-scroll .ov-hero {
        position: relative;
        top: auto;
        height: auto;
        min-height: min(780px, calc(100vh - 76px));
    }

    .ov-home-scroll .ov-hero__content,
    .ov-home-scroll .ov-hero__image,
    .is-scroll-anim-ready .ov-home-featured .ov-product-card {
        transform: none;
    }

    .ov-home-scroll .ov-hero__image,
    .ov-home-scroll .ov-actions,
    .is-scroll-anim-ready .ov-home-featured .ov-product-card {
        opacity: 1;
    }

    .ov-product-card,
    .ov-product-card__media,
    .ov-product-card__media img,
    .ov-product-detail__main-image img,
    .ov-scroll-indicator,
    .ov-scroll-indicator__line::after {
        transition: none;
        animation: none;
    }

    .ov-product-card:hover .ov-product-card__media img,
    .ov-product-detail__main-image:hover img {
        transform: none;
    }
}
