:root {
    --orange: #e77a0f;
    --cream: #e9e7de;
    --ink: #1f3164;
    --text: #22324e;
    --site-bg-1: #f8faf6;
    --site-bg-2: #edf3e8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; background: linear-gradient(180deg, var(--site-bg-1), var(--site-bg-2)); font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; color: var(--text); }
.stage {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    padding-top: 0;
}

.hero-card {
    width: 100%;
    --parallax-title: 0px;
    --parallax-text: 0px;
    --parallax-cta: 0px;
    --parallax-panel: 0px;
    --parallax-glow-a: 0px;
    --parallax-glow-b: 0px;
    --hero-tint-a: rgba(245, 163, 83, 0.2);
    --hero-tint-b: rgba(194, 120, 60, 0.14);
    --hero-tint-a-lit: rgba(255, 182, 96, 0.33);
    --hero-tint-b-lit: rgba(214, 138, 78, 0.26);
}

.frame-shell {
    position: relative;
    width: 100%;
    min-height: clamp(620px, 76vh, 900px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
        url("/assets/images/hero/herobackground6.webp") center center / cover no-repeat,
        var(--cream);
    background-attachment: scroll;
    overflow: hidden;
    isolation: isolate;
}

.hero-divider { height: 1px; background: rgba(36, 52, 82, 0.18); }

.hero-body {
    min-height: clamp(540px, calc(72vh - 76px), 820px);
    width: min(1240px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.8rem, 2vw, 2.2rem);
    text-align: left;
    padding:
        clamp(4.9rem, 7vw, 5.8rem)
        clamp(0.85rem, 2.1vw, 1.8rem)
        clamp(0.7rem, 1.2vw, 1rem);
}

.hero-copy { flex: 1 1 520px; max-width: 560px; position: relative; z-index: 1; }

.hero-body h1 {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.8rem, 5.1vw, 3.9rem);
    line-height: 0.98;
    letter-spacing: 0.02em;
    font-family: "Cinzel", Georgia, serif;
    text-transform: uppercase;
    text-shadow:
        0 10px 24px rgba(7, 17, 36, 0.52),
        0 2px 5px rgba(7, 17, 36, 0.38);
    opacity: 0;
    transform: translateY(calc(22px + var(--parallax-title)));
    transition: opacity 600ms ease, transform 600ms ease;
}

.hero-body p {
    margin: clamp(0.7rem, 1.4vw, 1.2rem) 0 0;
    max-width: 62ch;
    font-size: clamp(0.88rem, 1.35vw, 1.1rem);
    line-height: 1.45;
    color: #e9f0fb;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(8, 18, 38, 0.42);
    opacity: 0;
    transform: translateY(calc(18px + var(--parallax-text)));
    transition: opacity 600ms ease 120ms, transform 600ms ease 120ms;
}

.order-btn {
    margin-top: clamp(0.8rem, 1.3vw, 1.1rem);
    display: inline-flex;
    text-decoration: none;
    background: #ef820a;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.68rem 1.5rem;
    border-radius: 14px;
    font-size: clamp(0.82rem, 1.1vw, 0.96rem);
    box-shadow: 0 12px 24px rgba(239, 130, 10, 0.3);
    transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}
.order-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 28px rgba(239, 130, 10, 0.36);
}
.order-btn:active {
    transform: translateY(0);
}
.order-btn:focus-visible {
    outline: 2px solid rgba(31, 49, 100, 0.45);
    outline-offset: 2px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(calc(16px + var(--parallax-cta)));
    transition: opacity 600ms ease 220ms, transform 600ms ease 220ms;
}

.order-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #f5f9ff;
    border: 1px solid rgba(231, 241, 255, 0.42);
    box-shadow: 0 8px 18px rgba(10, 22, 42, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.order-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 20px rgba(13, 25, 48, 0.3);
}

.center-panel {
    position: relative;
    flex: 0 1 460px;
    width: min(460px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(calc(20px + var(--parallax-panel)));
    transition: opacity 700ms ease 300ms, transform 700ms ease 300ms;
}

.center-panel::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 28%;
    width: min(280px, 62vw);
    height: min(280px, 62vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 214, 150, 0.72) 0%, rgba(255, 189, 104, 0.42) 34%, rgba(255, 160, 66, 0.14) 62%, rgba(255, 149, 56, 0) 100%);
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms ease;
}

.hero-lamp {
    width: min(320px, 46vw);
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.2)) brightness(0.93);
    transition: opacity 260ms ease, filter 420ms ease, transform 420ms ease;
}
.hero-lamp.is-on {
    filter:
        drop-shadow(0 0 28px rgba(255, 196, 110, 0.7))
        drop-shadow(0 0 68px rgba(255, 154, 56, 0.42))
        drop-shadow(0 20px 24px rgba(0, 0, 0, 0.26))
        brightness(1.32)
        saturate(1.16);
    transform: translateY(-3px) scale(1.01);
}
.hero-lamp.is-fading { opacity: 0.22; }
.hero-mode-title { margin: 0.35rem 0 0; color: #1f3164; font-weight: 800; }
.hero-variants { margin-top: 0.7rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.hero-variant {
    border: 1px solid rgba(229, 239, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #f0f6ff;
    border-radius: 999px;
    padding: 0.38rem 0.74rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-variant.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(231, 241, 255, 0.68);
    box-shadow: 0 10px 20px rgba(8, 18, 38, 0.32);
}
.hero-variant:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(10, 20, 42, 0.34);
}
.hero-variant:active {
    transform: translateY(0);
}
.hero-variant__thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(231, 241, 255, 0.55);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65);
    background: transparent !important;
}
.hero-variant__thumb--pink { background: radial-gradient(circle at 30% 30%, #ffd8c4, #ed976f 70%); }
.hero-variant__thumb--white { background: radial-gradient(circle at 30% 30%, #ffffff, #c7d7e2 70%); }
.hero-variant__thumb--candle { background: radial-gradient(circle at 30% 30%, #ffe0b3, #dea561 70%); }
.lamp-switch {
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
}
.lamp-switch__text {
    color: #f2f7ff;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(8, 18, 38, 0.42);
}
.lamp-switch__input { position: absolute; opacity: 0; pointer-events: none; }
.lamp-switch__track {
    position: relative;
    width: 64px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(230, 240, 255, 0.44);
    background: linear-gradient(180deg, rgba(14, 32, 63, 0.72), rgba(9, 22, 46, 0.72));
    backdrop-filter: blur(6px);
    box-shadow:
        inset 0 1px 1px rgba(210, 228, 255, 0.28),
        inset 0 -3px 8px rgba(5, 12, 26, 0.42),
        0 8px 18px rgba(7, 16, 35, 0.35);
    padding: 2px;
    transition: background 220ms ease, box-shadow 220ms ease;
}

.lamp-switch__track::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    width: 6px;
    height: 6px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(206, 223, 251, 0.5);
    box-shadow: 0 0 0 rgba(113, 224, 255, 0);
    pointer-events: none;
    transition: background 220ms ease, box-shadow 220ms ease;
}

.lamp-switch__thumb {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #ffffff 0%, #f5f8ff 38%, #d9e2f3 100%);
    border: 1px solid rgba(219, 233, 255, 0.5);
    box-shadow:
        0 4px 9px rgba(9, 20, 43, 0.26),
        inset 0 1px 1px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(98, 115, 154, 0.28);
    transform: translateX(0);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}

.lamp-switch__input:checked + .lamp-switch__track {
    background: linear-gradient(180deg, rgba(255, 197, 126, 0.92), rgba(234, 132, 31, 0.92));
    box-shadow:
        inset 0 1px 2px rgba(255, 236, 199, 0.74),
        inset 0 -3px 8px rgba(138, 76, 11, 0.28),
        0 10px 20px rgba(239, 130, 10, 0.32);
}

.lamp-switch__input:checked + .lamp-switch__track::before {
    background: #fff3dc;
    box-shadow: 0 0 8px rgba(255, 227, 168, 0.85), 0 0 16px rgba(255, 182, 84, 0.58);
}

.lamp-switch__input:checked + .lamp-switch__track .lamp-switch__thumb {
    transform: translateX(34px);
    box-shadow:
        0 4px 10px rgba(98, 47, 6, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(204, 128, 34, 0.34);
}
.lamp-switch__input:checked ~ .lamp-switch__text {
    color: #ffe9cc;
}

.hero-card.is-lit .center-panel::before {
    opacity: 1;
    animation: lampGlowPulse 2.8s ease-in-out infinite alternate;
}

@keyframes lampGlowPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0.75;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.06);
        opacity: 1;
    }
}
.hero-card[data-product="pinksaltlamp"] { --hero-tint-a: rgba(247, 157, 109, 0.22); --hero-tint-b: rgba(232, 142, 95, 0.15); }
.hero-card[data-product="whitesaltlamp"] { --hero-tint-a: rgba(151, 184, 214, 0.2); --hero-tint-b: rgba(182, 178, 160, 0.14); }
.hero-card[data-product="saltcandle"] { --hero-tint-a: rgba(234, 171, 87, 0.2); --hero-tint-b: rgba(201, 128, 56, 0.16); }

body.is-loaded .hero-body h1,
body.is-loaded .hero-body p,
body.is-loaded .hero-cta-row,
body.is-loaded .center-panel { opacity: 1; transform: translateY(0); }

.essence {
    background:
        radial-gradient(circle at 16.6% 16.6%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 50% 16.6%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 83.4% 16.6%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 16.6% 50%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 50% 50%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 83.4% 50%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 16.6% 83.4%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 50% 83.4%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        radial-gradient(circle at 83.4% 83.4%, rgba(233, 215, 188, 0.95) 0 7.4%, rgba(223, 202, 172, 0.56) 8.2%, rgba(0, 0, 0, 0) 13%),
        repeating-radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.16) 0 0.6px, rgba(0, 0, 0, 0) 1.2px 6px),
        repeating-radial-gradient(circle at 78% 68%, rgba(166, 135, 92, 0.07) 0 0.6px, rgba(0, 0, 0, 0) 1.2px 5px),
        linear-gradient(180deg, #efdfc5, #e8d6ba);
    background-size: 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, auto, auto, auto;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    border-top: 1px solid rgba(27, 45, 87, 0.12);
}

.essence__inner {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3.2rem 0 2.6rem;
}

.essence__head {
    text-align: center;
    margin: 0 auto;
    max-width: 760px;
}

.essence__head h2 {
    margin: 0;
    color: #1f315e;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.75rem, 4.3vw, 3.3rem);
    letter-spacing: 0.03em;
    line-height: 1.05;
}

.essence__divider,
.promise__divider {
    display: inline-block;
    width: 126px;
    height: 10px;
    margin-top: 0.7rem;
    background:
        linear-gradient(90deg, transparent, #d9923b, transparent) center / 100% 1px no-repeat,
        radial-gradient(circle, #d9923b 42%, transparent 45%) center / 10px 10px no-repeat;
}

.essence__head p {
    margin: 1rem auto 0;
    max-width: 620px;
    color: #2d3c5f;
    font-size: clamp(1rem, 1.45vw, 1.48rem);
    line-height: 1.55;
}

.essence__grid {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.essence-card {
    text-align: center;
    padding: 1rem 0.7rem 0.9rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.08) 55%),
        linear-gradient(180deg, rgba(246, 237, 223, 0.8), rgba(238, 227, 211, 0.76));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -8px 18px rgba(175, 154, 121, 0.16),
        0 10px 22px rgba(122, 96, 58, 0.14);
}

.essence-card__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #c67b1b;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45) 45%, rgba(230, 213, 186, 0.72) 100%);
    border: 1px solid rgba(201, 169, 119, 0.28);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.86),
        inset 0 -4px 10px rgba(176, 143, 93, 0.2),
        0 8px 14px rgba(138, 111, 71, 0.16);
}

.essence-card h3 {
    margin: 0;
    color: #1f315e;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.essence-card p {
    margin: 0.55rem auto 0;
    max-width: 210px;
    color: #3e4a68;
    font-size: 0.95rem;
    line-height: 1.45;
}

.promise {
    margin-top: 1.1rem;
    border-radius: 34px 34px 0 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 47% 53%;
}

.promise__content {
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, #1d2d56, #162545);
    color: #f2f6ff;
    padding: clamp(2rem, 4vw, 4.2rem) clamp(1.2rem, 3vw, 3.6rem);
}

.promise__kicker {
    color: #f0a948;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.promise__content h2 {
    margin: 0.7rem 0 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 3rem);
    line-height: 1.08;
}

.promise__content p {
    margin: 1rem 0 0;
    max-width: 480px;
    color: rgba(240, 246, 255, 0.9);
    font-size: clamp(0.95rem, 1.25vw, 1.14rem);
    line-height: 1.55;
}

.promise__btn {
    margin-top: 1.45rem;
    display: inline-flex;
    text-decoration: none;
    background: #efe5d6;
    color: #1d2d56;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
}

.promise__media {
    min-height: 420px;
    background: url("/assets/images/hero/herobackground4.webp") center center / cover no-repeat;
}

.home-wrap {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
}

.home-categories,
.home-products {
    position: relative;
    padding: 2.35rem 0 1.1rem;
    background:
        radial-gradient(circle at 12% 10%, rgba(212, 163, 90, 0.14), rgba(0, 0, 0, 0) 40%),
        linear-gradient(180deg, #f7f2e9, #efe6d8);
}

.home-products {
    padding-top: 1.6rem;
    background:
        radial-gradient(circle at 86% 8%, rgba(109, 122, 103, 0.15), rgba(0, 0, 0, 0) 42%),
        linear-gradient(180deg, #efe6d8, #f7f2e9);
}

.home-section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.home-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #c48f45;
}

.home-section-head h2 {
    margin: 0.5rem 0 0;
    font-family: "Cinzel", Georgia, serif;
    color: #1f2f54;
    font-size: clamp(1.65rem, 3.5vw, 3rem);
    line-height: 1.08;
}

.home-section-head p {
    margin: 0.72rem auto 0;
    color: #4b556c;
    max-width: 620px;
    font-size: 0.98rem;
    line-height: 1.52;
}

.home-categories-masonry,
.home-products-grid {
    margin-top: 1.2rem;
    display: grid;
    gap: 1rem;
}

.home-categories-masonry {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 88px;
}

.home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-product-orbit {
    position: relative;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    min-height: 520px;
    border: 1px solid rgba(168, 136, 109, 0.24);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 50%, rgba(212, 163, 90, 0.16), rgba(0, 0, 0, 0) 52%),
        radial-gradient(circle at 50% 50%, rgba(43, 33, 24, 0.08) 0 1px, rgba(0, 0, 0, 0) 1px),
        linear-gradient(180deg, #fbf7ef, #f3e9da);
    background-size: auto, 18px 18px, auto;
    overflow: hidden;
}

.home-product-orbit__nodes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-product-orbit__center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 76%);
    text-align: center;
    padding: 1.1rem 1rem;
    z-index: 2;
}

.home-product-orbit__kicker {
    display: inline-block;
    color: #c48f45;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-product-orbit__center h3 {
    margin: 0.5rem 0 0;
    font-family: "Cinzel", Georgia, serif;
    color: #1f2f54;
    font-size: clamp(1.24rem, 2.4vw, 2rem);
    line-height: 1.12;
}

.home-product-orbit__center p {
    margin: 0.7rem auto 0;
    color: #556078;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 56ch;
}

.home-product-orbit__cta {
    display: inline-flex;
    margin-top: 0.8rem;
    color: #b27d37;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.home-product-orbit__node {
    --node-size: clamp(86px, 9.4vw, 122px);
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--node-size);
    height: var(--node-size);
    transform:
        translate(-50%, -50%)
        rotate(calc(360deg / 6 * var(--orbit-index)))
        translateY(-208px)
        rotate(calc(-360deg / 6 * var(--orbit-index)));
    border-radius: 50%;
    border: 1px solid rgba(168, 136, 109, 0.4);
    padding: 0;
    background: linear-gradient(180deg, #fffaf1, #f2e8d8);
    box-shadow: 0 8px 20px rgba(20, 18, 15, 0.16);
    overflow: hidden;
    cursor: pointer;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.home-product-orbit__node img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    visibility: visible;
}

.home-product-orbit__node.is-active {
    border-color: rgba(212, 163, 90, 0.8);
    box-shadow: 0 12px 26px rgba(184, 132, 58, 0.34);
    z-index: 3;
}

.home-product-orbit__node:hover {
    transform:
        translate(-50%, -50%)
        rotate(calc(360deg / 6 * var(--orbit-index)))
        translateY(-214px)
        rotate(calc(-360deg / 6 * var(--orbit-index)));
}

.home-category-tile {
    grid-column: span 4;
    grid-row: span 3;
    border: 1px solid rgba(168, 136, 109, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, #fcf9f4, #f6efe4);
    box-shadow: 0 10px 24px rgba(20, 18, 15, 0.08);
    overflow: hidden;
    transform: translateY(var(--parallax-item, 0px));
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

.home-category-tile--wide {
    grid-column: span 8;
}

.home-category-tile--tall {
    grid-row: span 4;
}

.home-category-tile__link {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-category-tile__media {
    min-height: 0;
    background: #e7dccb;
    overflow: hidden;
    height: 100%;
}

.home-category-tile__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-category-tile__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    padding: 1rem 1rem 0.95rem;
    background: linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, rgba(15, 17, 21, 0.76) 62%, rgba(15, 17, 21, 0.9) 100%);
}

.home-category-tile__kicker {
    color: #e1b777;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-category-tile__body h3 {
    margin: 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.08rem, 1.5vw, 1.38rem);
    color: #fff8ed;
}

.home-category-tile__body p {
    margin: 0;
    color: rgba(244, 236, 223, 0.92);
    font-size: 0.85rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-category-tile__cta {
    display: inline-flex;
    margin-top: 0.2rem;
    color: #f1c07a;
    font-size: 0.86rem;
    font-weight: 700;
}

.home-category-card,
.home-product-card {
    border: 1px solid rgba(168, 136, 109, 0.28);
    border-radius: 16px;
    background: linear-gradient(180deg, #fcf9f4, #f6efe4);
    box-shadow: 0 10px 24px rgba(20, 18, 15, 0.08);
    overflow: hidden;
    transform: translateY(var(--parallax-item, 0px));
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-category-card a,
.home-product-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.home-category-card__media,
.home-product-card__media {
    aspect-ratio: 16 / 9;
    height: clamp(170px, 22vw, 220px);
    min-height: 160px;
    overflow: hidden;
    background: #e7dccb;
}

.home-category-card__media img,
.home-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s ease;
}

.home-category-card__body,
.home-product-card__body {
    padding: 0.85rem 0.95rem 0.95rem;
}

.home-category-card__body h3,
.home-product-card__body h3 {
    margin: 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.2rem;
    color: #202a42;
}

.home-category-card__body p,
.home-product-card__body p {
    margin: 0.5rem 0 0;
    color: #5a6475;
    font-size: 0.88rem;
    line-height: 1.44;
    min-height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-category-card__body span,
.home-product-card__body span {
    display: inline-flex;
    margin-top: 0.68rem;
    color: #b27d37;
    font-size: 0.84rem;
    font-weight: 700;
}

.home-category-card:hover,
.home-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 163, 90, 0.58);
    box-shadow: 0 16px 30px rgba(20, 18, 15, 0.14);
}

.home-category-card:hover img,
.home-product-card:hover img {
    transform: scale(1.04);
}

.home-category-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 163, 90, 0.58);
    box-shadow: 0 16px 30px rgba(20, 18, 15, 0.14);
}

.home-category-tile:hover img {
    transform: scale(1.04);
}

@media (min-width: 1440px) {
    .hero-body {
        min-height: clamp(640px, 74vh, 920px);
        gap: clamp(1.1rem, 2vw, 2.6rem);
    }
    .hero-copy { max-width: 620px; }
    .hero-body h1 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
    .hero-lamp { width: min(360px, 32vw); max-height: 380px; }
}

@media (max-width: 1100px) {
    .hero-body {
        width: min(1180px, calc(100% - 1rem));
        gap: 1rem;
    }
    .hero-copy { flex-basis: 50%; }
    .center-panel { flex-basis: 48%; }
}

@media (max-width: 980px) {
    .frame-shell { min-height: clamp(560px, 72vh, 760px); }
    .hero-body { min-height: clamp(500px, calc(68vh - 74px), 700px); }
    .hero-lamp { width: min(260px, 58vw); max-height: 280px; }
    .essence__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promise { grid-template-columns: 1fr; }
    .promise__media { min-height: 320px; }
    .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-categories-masonry {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 90px;
    }
    .home-category-tile,
    .home-category-tile--wide {
        grid-column: span 3;
    }
    .home-category-tile--tall {
        grid-row: span 3;
    }
}

@media (max-width: 820px) {
    .frame-shell {
        min-height: auto;
        background-position: center center;
    }
    .hero-body {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: auto;
        gap: 0.75rem;
        padding-top: 5.2rem;
        padding-bottom: 1rem;
    }
    .hero-copy { max-width: 100%; flex-basis: auto; }
    .center-panel { width: min(360px, 100%); }
    .hero-body p { max-width: 54ch; font-size: clamp(0.84rem, 2.4vw, 0.96rem); }
    .hero-variants { gap: 0.4rem; }
}

@media (max-width: 560px) {
    .frame-shell { background-position: center center; }
    .hero-body {
        padding:
            5rem
            0.7rem
            0.8rem;
    }
    .hero-body h1 { font-size: clamp(1.35rem, 8.4vw, 2rem); line-height: 1.02; }
    .hero-lamp { width: min(210px, 72vw); max-height: 215px; }
    .hero-mode-title { font-size: 0.9rem; }
    .hero-variants { width: 100%; }
    .hero-variant { font-size: 0.75rem; padding: 0.34rem 0.64rem; flex: 1 1 30%; min-width: 92px; }
    .hero-cta-row { width: 100%; gap: 0.48rem; }
    .order-btn { flex: 1 1 46%; justify-content: center; }
    .lamp-switch { margin-top: 0.5rem; }
    .essence__inner { width: min(1120px, calc(100% - 1.2rem)); padding: 2.2rem 0 1.8rem; }
    .essence__grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .promise { margin-top: 0.6rem; border-radius: 24px 24px 0 0; }
    .promise__content { padding: 1.5rem 1rem 1.6rem; }
    .promise__media { min-height: 240px; }
    .home-wrap { width: calc(100% - 1.2rem); }
    .home-categories,
    .home-products { padding: 1.65rem 0 0.75rem; }
    .home-categories-masonry,
    .home-products-grid { grid-template-columns: 1fr; gap: 0.72rem; }
    .home-categories-masonry {
        grid-auto-rows: auto;
    }
    .home-category-tile,
    .home-category-tile--wide,
    .home-category-tile--tall {
        grid-column: auto;
        grid-row: auto;
        min-height: 220px;
    }
    .home-category-card__media,
    .home-product-card__media {
        height: 190px;
        min-height: 170px;
    }
    .home-section-head h2 { font-size: clamp(1.4rem, 8vw, 2rem); }
    .home-section-head p { font-size: 0.88rem; }
}

@media (max-width: 430px) {
    .hero-body {
        gap: 0.65rem;
        padding:
            4.9rem
            0.6rem
            0.72rem;
    }
    .hero-body h1 {
        font-size: clamp(1.2rem, 8.2vw, 1.72rem);
        line-height: 1.04;
    }
    .hero-body p {
        font-size: clamp(0.78rem, 3.3vw, 0.9rem);
        line-height: 1.4;
        max-width: 45ch;
    }
    .hero-lamp { width: min(188px, 68vw); max-height: 195px; }
    .hero-variants { gap: 0.34rem; }
    .hero-variant {
        min-width: 86px;
        font-size: 0.7rem;
        padding: 0.32rem 0.5rem;
    }
    .hero-variant__thumb {
        width: 14px;
        height: 14px;
    }
    .lamp-switch { transform: scale(0.96); transform-origin: center; }
}

@media (max-width: 360px) {
    .hero-body {
        padding:
            4.8rem
            0.52rem
            0.64rem;
    }
    .hero-body h1 { font-size: clamp(1.05rem, 8vw, 1.42rem); }
    .hero-lamp { width: min(166px, 65vw); max-height: 172px; }
    .hero-cta-row { gap: 0.4rem; }
    .order-btn {
        font-size: 0.74rem;
        padding: 0.58rem 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-body h1,
    .hero-body p,
    .hero-cta-row,
    .center-panel,
    .hero-lamp,
    .hero-card.is-lit .center-panel::before {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 820px) and (orientation: landscape) {
    .hero-body {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0.8rem;
    }
    .hero-copy { flex: 1 1 52%; }
    .center-panel { flex: 1 1 48%; width: min(300px, 46vw); }
    .hero-lamp { width: min(180px, 26vw); max-height: 170px; }
    .hero-body h1 { font-size: clamp(1.25rem, 3.4vw, 1.9rem); }
    .hero-body p { font-size: clamp(0.8rem, 1.8vw, 0.9rem); }
}

@media (max-height: 520px) and (orientation: landscape) {
    .frame-shell { min-height: auto; }
    .hero-body {
        min-height: auto;
        padding-top: 4.8rem;
        padding-bottom: 0.6rem;
        gap: 0.55rem;
    }
    .hero-body h1 { font-size: clamp(1.08rem, 3.2vw, 1.5rem); }
    .hero-body p { font-size: clamp(0.72rem, 1.8vw, 0.82rem); }
    .hero-lamp { width: min(150px, 22vw); max-height: 150px; }
    .hero-variants { margin-top: 0.4rem; }
}

/* Home Categories: Centered Carousel */
.home-categories-carousel {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
}

.home-categories-carousel__viewport {
    overflow: hidden;
    padding: 0.6rem 0;
    position: relative;
}

.home-categories-carousel__track {
    display: flex;
    gap: 0.9rem;
    align-items: stretch;
    transition: transform 520ms ease;
    will-change: transform;
}

.home-categories-carousel__nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(168, 136, 109, 0.4);
    background: linear-gradient(180deg, #fffaf1, #f2e8d8);
    color: #8b632f;
    font-size: 1rem;
    cursor: pointer;
}

.home-category-slide {
    flex: 0 0 calc((100% - 1.8rem) / 3);
    border: 1px solid rgba(168, 136, 109, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, #fcf9f4, #f6efe4);
    box-shadow: 0 10px 24px rgba(20, 18, 15, 0.08);
    overflow: hidden;
    opacity: 0.72;
    transform: scale(0.96);
    filter: saturate(0.92);
    transition:
        transform 520ms ease,
        opacity 520ms ease,
        box-shadow 520ms ease,
        border-color 520ms ease,
        filter 520ms ease;
}

.home-category-slide.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(212, 163, 90, 0.58);
    box-shadow: 0 14px 24px rgba(20, 18, 15, 0.14);
    filter: saturate(1);
    z-index: 2;
}

.home-category-slide.is-side {
    opacity: 0.78;
    transform: scale(0.96);
    filter: saturate(0.95);
}

.home-category-slide.is-prev {
    transform-origin: right center;
}

.home-category-slide.is-next {
    transform-origin: left center;
}

.home-category-slide__link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.home-category-slide__media {
    height: clamp(190px, 22vw, 250px);
    background: #e7dccb;
    overflow: hidden;
}

.home-category-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-category-slide__body {
    padding: 0.95rem 1rem 1rem;
}

.home-category-slide__kicker {
    color: #b38444;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-category-slide__body h3 {
    margin: 0.38rem 0 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.08rem, 1.5vw, 1.35rem);
    color: #202a42;
}

.home-category-slide__body p {
    margin: 0.45rem 0 0;
    color: #5a6475;
    font-size: 0.88rem;
    line-height: 1.45;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-category-slide__cta {
    display: inline-flex;
    margin-top: 0.58rem;
    color: #b27d37;
    font-size: 0.86rem;
    font-weight: 700;
}

.home-category-slide:hover .home-category-slide__media img {
    transform: scale(1.04);
}

/* Home products match products page cards */
.home-products .home-products-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 0.85rem;
    column-gap: 0.56rem;
    align-items: stretch;
}

.home-products {
    --catalog-card-h: 250px;
    --catalog-image-size: 144px;
    --catalog-image-top: -3.45rem;
    --catalog-image-wrap-h: 6.35rem;
    --catalog-body-top: 5.15rem;
    --catalog-title-size: 1.16rem;
    --catalog-desc-size: 0.88rem;
    --catalog-link-size: 0.86rem;
    --catalog-fav-size: 1.1rem;
}

.home-products .home-product-card-shell {
    border: 1px solid rgba(34, 34, 36, 0.1);
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf9, #f8f3ea);
    box-shadow: 0 14px 28px rgba(20, 18, 15, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow: visible;
    position: relative;
    margin-top: 2.45rem;
    width: 100%;
    min-width: 0;
    height: var(--catalog-card-h);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-products .home-product-card-shell:hover {
    transform: translateY(-4px);
    border-color: rgba(181, 122, 47, 0.36);
    box-shadow: 0 22px 38px rgba(20, 18, 15, 0.12);
}

.home-products .product-card-hit {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
    overflow: visible;
}

.home-products .product-card-fav {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    color: #bf8640;
    font-size: var(--catalog-fav-size);
}

.home-products .product-card-image-wrap {
    position: absolute;
    top: var(--catalog-image-top);
    left: 0;
    right: 0;
    height: var(--catalog-image-wrap-h);
    display: grid;
    place-items: center;
    padding: 0 0.8rem;
    pointer-events: none;
}

.home-products .product-card-image {
    width: var(--catalog-image-size);
    height: var(--catalog-image-size);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 14px rgba(25, 23, 20, 0.25));
    transition: transform 0.25s ease;
}

.home-products .home-product-card-shell:hover .product-card-image {
    transform: translateY(-2px) scale(1.02);
}

.home-products .product-card-body {
    min-height: 0;
    height: 100%;
    padding: max(var(--catalog-body-top), calc(var(--catalog-image-size) * 0.6)) 0.62rem 0.72rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-products .product-card-title {
    margin: 0;
    color: #1f2f4b;
    font-size: var(--catalog-title-size);
    font-family: "Cinzel", Georgia, serif;
    font-weight: 600;
}

.home-products .product-card-desc {
    margin: 0.48rem 0 0;
    color: #5e6673;
    font-size: var(--catalog-desc-size);
    line-height: 1.42;
    min-height: 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-products .product-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.46rem;
    border-top: 1px solid rgba(52, 52, 55, 0.08);
}

.home-products .product-card-link {
    color: #b07a35;
    font-size: var(--catalog-link-size);
    font-weight: 600;
}

.home-products .product-card-link--icon {
    width: clamp(17px, 1.35vw, 20px);
    height: clamp(17px, 1.35vw, 20px);
    border-radius: 50%;
    border: 1px solid rgba(181, 122, 47, 0.35);
    display: grid;
    place-items: center;
    font-size: 0.5rem;
}

.home-quote {
    padding: 1.8rem 0 2.2rem;
    background: linear-gradient(180deg, #f7f2e9, #efe6d8);
}

.home-quote__panel {
    display: grid;
    grid-template-columns: minmax(260px, 34%) 1fr;
    gap: 1.1rem;
    border: 1px solid rgba(168, 136, 109, 0.3);
    border-radius: 10px;
    background: #f9f5ee;
    box-shadow: 0 8px 18px rgba(20, 18, 15, 0.06);
    padding: 0.95rem;
}

.home-quote__side {
    border-radius: 8px;
    padding: 0.8rem 0.6rem 0.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(247, 241, 231, 0.62), rgba(245, 236, 223, 0.58)),
        url("/assets/images/tiles.webp") center center / cover no-repeat;
    background-blend-mode: normal;
}

.home-quote__side h2 {
    margin: 0.45rem 0 0;
    font-family: "Cinzel", Georgia, serif;
    color: #1f2a3d;
    font-size: clamp(1.32rem, 2vw, 2rem);
    line-height: 1.1;
}

.home-quote__side p {
    margin: 0.6rem 0 0;
    color: #666e7b;
    line-height: 1.45;
    font-size: 0.84rem;
    max-width: 300px;
}

.home-quote__side-art {
    margin-top: 1rem;
    height: 88px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 75%, rgba(245, 173, 120, 0.55), rgba(0, 0, 0, 0) 36%),
        url("/assets/images/tiles.webp") center bottom / cover no-repeat;
}

.home-quote__form {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
    border: 1px solid rgba(169, 145, 111, 0.28);
    border-radius: 8px;
    background: #faf7f1;
    padding: 0.7rem;
}

.home-quote__form label {
    display: grid;
    gap: 0.35rem;
}

.home-quote__form span {
    color: #7b5424;
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 600;
}

.home-quote__form input,
.home-quote__form select,
.home-quote__form textarea {
    width: 100%;
    border: 1px solid rgba(42, 47, 62, 0.18);
    border-radius: 6px;
    background: #fffdf9;
    color: #1f2635;
    font-size: 0.76rem;
    padding: 0.46rem 0.58rem;
    outline: none;
}

.home-quote__form textarea {
    resize: vertical;
    min-height: 72px;
}

.home-quote__form input:focus,
.home-quote__form select:focus,
.home-quote__form textarea:focus {
    border-color: rgba(183, 122, 47, 0.72);
    box-shadow: 0 0 0 3px rgba(183, 122, 47, 0.16);
}

.home-quote__full {
    grid-column: 1 / -1;
}

.home-quote__submit {
    grid-column: 2 / 3;
    justify-self: end;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(180deg, #d29a4c, #b97f2e);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.52rem 1rem;
    cursor: pointer;
}

@media (max-width: 1366px) {
    .home-products {
        --catalog-card-h: 238px;
        --catalog-image-size: 134px;
        --catalog-image-top: -3.2rem;
        --catalog-image-wrap-h: 6rem;
        --catalog-body-top: 4.85rem;
        --catalog-title-size: 1.08rem;
        --catalog-desc-size: 0.84rem;
        --catalog-link-size: 0.8rem;
        --catalog-fav-size: 1.02rem;
    }
}

@media (max-width: 980px) {
    .home-products .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-products {
        --catalog-card-h: 228px;
        --catalog-image-size: 124px;
        --catalog-image-top: -3rem;
        --catalog-image-wrap-h: 5.7rem;
        --catalog-body-top: 4.6rem;
        --catalog-title-size: 1rem;
        --catalog-desc-size: 0.8rem;
        --catalog-link-size: 0.76rem;
        --catalog-fav-size: 0.98rem;
    }
}

@media (max-width: 640px) {
    .home-quote__panel {
        grid-template-columns: 1fr;
    }
    .home-products {
        --catalog-card-h: 210px;
        --catalog-image-size: 112px;
        --catalog-image-top: -2.75rem;
        --catalog-image-wrap-h: 5.2rem;
        --catalog-body-top: 4.25rem;
        --catalog-title-size: 0.94rem;
        --catalog-desc-size: 0.74rem;
        --catalog-link-size: 0.7rem;
        --catalog-fav-size: 0.9rem;
    }
    .home-quote__form {
        grid-template-columns: 1fr;
    }
    .home-quote__submit {
        grid-column: auto;
        justify-self: stretch;
    }
}

@media (max-width: 460px) {
    .home-products {
        --catalog-card-h: 198px;
        --catalog-image-size: 102px;
        --catalog-image-top: -2.55rem;
        --catalog-image-wrap-h: 4.85rem;
        --catalog-body-top: 3.95rem;
        --catalog-title-size: 0.88rem;
        --catalog-desc-size: 0.68rem;
        --catalog-link-size: 0.66rem;
        --catalog-fav-size: 0.86rem;
    }
}

@media (max-width: 390px) {
    .home-products {
        --catalog-card-h: 192px;
        --catalog-image-size: 98px;
        --catalog-image-top: -2.42rem;
        --catalog-image-wrap-h: 4.7rem;
        --catalog-body-top: 3.78rem;
        --catalog-title-size: 0.84rem;
        --catalog-desc-size: 0.66rem;
        --catalog-link-size: 0.62rem;
    }
}

@media (max-width: 980px) {
    .home-category-slide {
        flex: 0 0 calc((100% - 0.9rem) / 2);
    }
    .home-product-orbit {
        min-height: 500px;
    }
    .home-product-orbit__node {
        transform:
            translate(-50%, -50%)
            rotate(calc(360deg / 6 * var(--orbit-index)))
            translateY(-190px)
            rotate(calc(-360deg / 6 * var(--orbit-index)));
    }
    .home-product-orbit__node:hover {
        transform:
            translate(-50%, -50%)
            rotate(calc(360deg / 6 * var(--orbit-index)))
            translateY(-195px)
            rotate(calc(-360deg / 6 * var(--orbit-index)));
    }
}

@media (max-width: 560px) {
    .home-categories-carousel {
        display: block;
    }
    .home-categories-carousel__nav {
        display: none;
    }
    .home-categories-carousel__viewport {
        overflow: visible;
        padding: 0;
    }
    .home-categories-carousel__track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.72rem;
        transform: none !important;
    }
    .home-category-slide {
        flex: none;
        opacity: 1;
        transform: none;
    }
    .home-product-orbit {
        min-height: auto;
        padding: 1rem 0.8rem;
        overflow: visible;
    }
    .home-product-orbit__center {
        position: static;
        transform: none;
        width: 100%;
        margin-bottom: 0.9rem;
    }
    .home-product-orbit__nodes {
        position: static;
        inset: auto;
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .home-product-orbit__nodes::-webkit-scrollbar {
        display: none;
    }
    .home-product-orbit__node {
        position: static;
        transform: none !important;
        width: 84px;
        height: 84px;
        flex: 0 0 84px;
    }
    .home-product-orbit__node:hover {
        transform: none !important;
    }
}

/* Categories section: match compact reference look */
.home-categories {
    padding: 1.35rem 0 1.55rem;
    background: linear-gradient(180deg, #f9f6ef, #f2ebdf);
}

.home-categories .home-section-head {
    max-width: 760px;
}

.home-categories .home-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: #b88337;
}

.home-categories .home-section-head h2 {
    margin-top: 0.28rem;
    font-size: clamp(1.32rem, 2.4vw, 2rem);
    color: #1f2a3d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.home-categories .home-section-head h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 10px;
    margin: 0.5rem auto 0;
    background:
        linear-gradient(90deg, transparent, rgba(197, 141, 62, 0.75), transparent) center / 100% 1px no-repeat,
        radial-gradient(circle, #c58d3e 42%, transparent 45%) center / 10px 10px no-repeat;
}

.home-categories .home-section-head p {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: #646c7a;
}

.home-categories-carousel {
    margin-top: 0.82rem;
    gap: 0.55rem;
}

.home-categories-static {
    margin-top: 0.82rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.home-categories-carousel__nav {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(197, 150, 77, 0.46);
    color: #b17a34;
    background: #faf6ee;
    font-size: 0.78rem;
}

.home-categories-carousel__viewport {
    padding: 0.25rem 0;
    max-width: 1120px;
    margin: 0 auto;
}

.home-categories-carousel__track {
    gap: 0.5rem;
    transition: transform 420ms ease;
}

.home-category-slide {
    flex: 0 0 calc((100% - 2.4rem) / 4);
    border-radius: 12px;
    border: 1px solid rgba(188, 155, 108, 0.42);
    background: linear-gradient(180deg, #fffdf9, #f8f2e8);
    box-shadow: 0 5px 10px rgba(20, 18, 15, 0.05);
    opacity: 1;
    transform: none;
    filter: none;
}

.home-category-slide.is-active,
.home-category-slide.is-side,
.home-category-slide.is-prev,
.home-category-slide.is-next {
    opacity: 1;
    transform: none;
    filter: none;
    box-shadow: 0 6px 12px rgba(20, 18, 15, 0.06);
}

.home-category-slide__media {
    height: 150px;
}

.home-category-slide__body {
    position: relative;
    padding: 1rem 0.72rem 0.86rem;
    text-align: center;
}

.home-category-slide__icon {
    position: absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(196, 150, 78, 0.42);
    background: linear-gradient(180deg, #fffaf2, #f4ebdb);
    color: #b27d37;
    font-size: 0.86rem;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 8px rgba(20, 18, 15, 0.1);
}

.home-category-slide__kicker {
    display: none;
}

.home-category-slide__body h3 {
    margin: 0.34rem 0 0;
    font-size: 0.84rem;
    color: #1f2a3d;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.home-category-slide__body p {
    margin-top: 0.3rem;
    font-size: 0.68rem;
    color: #656d7b;
    line-height: 1.35;
    min-height: 56px;
    -webkit-line-clamp: 2;
}

.home-category-slide__cta {
    margin-top: 0.28rem;
    font-size: 0.7rem;
    color: #b27d37;
}

@media (max-width: 980px) {
    .home-category-slide {
        flex: 0 0 calc((100% - 0.58rem) / 2);
    }
    .home-categories-static {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-categories-static {
        grid-template-columns: 1fr;
    }
}
/* Home Products: Screenshot style override */
.home-products .home-section-head .home-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #b88337;
}

.home-products .home-section-head h2 {
  font-size: clamp(1.34rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.home-products .home-section-head p {
  font-size: 0.8rem;
  color: #646c7a;
}

.home-products .home-products__divider {
  display: inline-block;
  width: 90px;
  height: 10px;
  margin-top: 0.38rem;
  background:
    linear-gradient(90deg, transparent, rgba(198, 141, 62, 0.78), transparent) center / 100% 1px no-repeat,
    radial-gradient(circle, #c58d3e 42%, transparent 45%) center / 10px 10px no-repeat;
}

.home-products .home-products-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-products .home-product-card-shell {
  height: 224px;
  margin-top: 0;
  border: 1px solid rgba(193, 168, 130, 0.36);
  border-radius: 8px;
  background: #fdfaf4;
  box-shadow: 0 4px 10px rgba(20, 18, 15, 0.06);
}

.home-products .product-card-image-wrap {
  top: 0.45rem;
  height: 104px;
}

.home-products .product-card-image {
  width: 98px;
  height: 98px;
  filter: drop-shadow(0 6px 8px rgba(25, 23, 20, 0.18));
}

.home-products .product-card-body {
  padding: 6.85rem 0.72rem 0.72rem;
}

.home-products .product-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  min-height: 44px;
}

.home-products .home-product-price {
  margin: 0.34rem 0 0;
  color: #515968;
  font-size: 0.68rem;
}

.home-products .home-product-price strong {
  color: #1f2a3d;
  font-size: 0.78rem;
}

.home-products .home-product-price span {
  margin-left: 0.2rem;
  color: #8a919d;
  text-decoration: line-through;
}

.home-products .product-card-footer {
  justify-content: center;
  padding-top: 0.5rem;
}

.home-products .home-product-add {
  width: 92%;
  text-align: center;
  border: 1px solid rgba(181, 122, 47, 0.35);
  border-radius: 6px;
  color: #9a6828;
  background: linear-gradient(180deg, #fff9ef, #f3e7d4);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.52rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-products .product-card-hit:hover .home-product-add {
  transform: translateY(-1px);
  border-color: rgba(181, 122, 47, 0.52);
  box-shadow: 0 6px 12px rgba(181, 122, 47, 0.14);
}

@media (max-width: 980px) {
  .home-products .home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-products .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .home-products .home-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Home page final responsive system */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .home-wrap {
    width: min(1200px, calc(100% - 1.4rem));
  }
  .home-section-head h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
  }
}

@media (max-width: 992px) {
  .hero-body {
    gap: 0.9rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .home-categories-static {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-products .home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-products .home-product-card-shell {
    height: 214px;
  }
  .home-products .product-card-image-wrap {
    height: 98px;
  }
  .home-products .product-card-image {
    width: 90px;
    height: 90px;
  }
  .home-products .product-card-body {
    padding-top: 6.55rem;
  }
  .home-quote__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-categories,
  .home-products,
  .home-quote {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
  .home-section-head p {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .home-categories-static,
  .home-products .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }
  .home-category-slide__media {
    height: 120px;
  }
  .home-products .home-product-card-shell {
    height: 206px;
  }
  .home-products .product-card-title {
    font-size: 0.8rem;
    min-height: 40px;
  }
}

@media (max-width: 560px) {
  .home-wrap {
    width: calc(100% - 1rem);
  }
  .home-section-head h2 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }
  .home-categories-static,
  .home-products .home-products-grid {
    grid-template-columns: 1fr;
  }
  .home-category-slide,
  .home-products .home-product-card-shell {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .home-category-slide__media {
    height: 148px;
  }
  .home-products .home-product-card-shell {
    height: 220px;
  }
  .home-products .product-card-image-wrap {
    height: 104px;
  }
  .home-products .product-card-image {
    width: 96px;
    height: 96px;
  }
  .home-products .product-card-body {
    padding-top: 6.8rem;
  }
  .home-quote__form {
    grid-template-columns: 1fr;
  }
  .home-quote__submit {
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (max-width: 390px) {
  .hero-body {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .home-products .home-product-card-shell {
    height: 210px;
  }
  .home-products .product-card-image-wrap {
    height: 96px;
  }
  .home-products .product-card-image {
    width: 88px;
    height: 88px;
  }
  .home-products .product-card-body {
    padding-top: 6.4rem;
  }
  .home-products .home-product-add {
    width: 100%;
  }
}

/* Home typography unified with hero section */
.home-section-head h2,
.home-category-slide__body h3,
.home-products .product-card-title,
.home-quote__side h2 {
  font-family: "Cinzel", Georgia, serif !important;
  letter-spacing: 0.02em;
}

.home-section-head p,
.home-kicker,
.home-category-slide__body p,
.home-category-slide__cta,
.home-products .home-product-add,
.home-products .product-card-body,
.home-quote__side p,
.home-quote__form,
.home-quote__form input,
.home-quote__form select,
.home-quote__form textarea,
.home-quote__submit {
  font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}
/* Final readability boost: cards + form text */
.home-category-slide__body h3 {
  font-size: clamp(0.96rem, 1.25vw, 1.08rem) !important;
}

.home-category-slide__body p {
  font-size: clamp(0.8rem, 1.05vw, 0.9rem) !important;
  line-height: 1.45 !important;
}

.home-category-slide__cta {
  font-size: clamp(0.78rem, 1vw, 0.86rem) !important;
}

.home-products .product-card-title {
  font-size: clamp(0.92rem, 1.2vw, 1.02rem) !important;
}

.home-products .home-product-add {
  font-size: clamp(0.8rem, 1vw, 0.9rem) !important;
}

.home-quote__form span {
  font-size: 0.8rem !important;
}

.home-quote__form input,
.home-quote__form select,
.home-quote__form textarea {
  font-size: 0.96rem !important;
}

.home-quote__submit {
  font-size: 0.88rem !important;
}
/* Home-wide typography tuning */
.hero-body h1 {
  font-size: clamp(2rem, 5.2vw, 4.2rem) !important;
  line-height: 1.02 !important;
}

.hero-body p {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem) !important;
  line-height: 1.55 !important;
}

.hero-mode-title {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem) !important;
}

.hero-variant {
  font-size: clamp(0.76rem, 1vw, 0.84rem) !important;
}

.home-kicker {
  font-size: clamp(0.64rem, 0.78vw, 0.74rem) !important;
  letter-spacing: 0.16em !important;
}

.home-section-head h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.9rem) !important;
  line-height: 1.12 !important;
}

.home-section-head p {
  font-size: clamp(0.9rem, 1.05vw, 1rem) !important;
  line-height: 1.55 !important;
}

.home-category-slide__body h3,
.home-products .product-card-title {
  font-size: clamp(0.92rem, 1.08vw, 1.02rem) !important;
  line-height: 1.3 !important;
}

.home-category-slide__body p {
  font-size: clamp(0.8rem, 0.98vw, 0.9rem) !important;
  line-height: 1.45 !important;
}

.home-category-slide__cta,
.home-products .home-product-add {
  font-size: clamp(0.78rem, 0.95vw, 0.88rem) !important;
}

.home-quote__side h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem) !important;
  line-height: 1.14 !important;
}

.home-quote__side p {
  font-size: clamp(0.88rem, 1.02vw, 0.98rem) !important;
  line-height: 1.52 !important;
}

.home-quote__form span {
  font-size: clamp(0.72rem, 0.9vw, 0.82rem) !important;
}

.home-quote__form input,
.home-quote__form select,
.home-quote__form textarea {
  font-size: clamp(0.9rem, 1.02vw, 1rem) !important;
  line-height: 1.45 !important;
}

.home-quote__submit {
  font-size: clamp(0.82rem, 0.95vw, 0.92rem) !important;
}

@media (max-width: 560px) {
  .hero-body h1 {
    font-size: clamp(1.45rem, 8.2vw, 2.1rem) !important;
  }

  .hero-body p,
  .home-section-head p,
  .home-quote__side p {
    font-size: 0.9rem !important;
  }

  .home-section-head h2,
  .home-quote__side h2 {
    font-size: clamp(1.3rem, 7vw, 1.9rem) !important;
  }

  .home-category-slide__body h3,
  .home-products .product-card-title {
    font-size: 0.92rem !important;
  }

  .home-category-slide__body p {
    font-size: 0.82rem !important;
  }

  .home-quote__form input,
  .home-quote__form select,
  .home-quote__form textarea {
    font-size: 0.92rem !important;
  }
}


/* Page-owned button theme (Home hero style) */
.promise__btn,
.home-product-orbit__cta,
.home-quote__submit,
.home-product-add {
  background: #ef820a !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 24px rgba(239, 130, 10, 0.3) !important;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.promise__btn:hover,
.home-product-orbit__cta:hover,
.home-quote__submit:hover,
.home-product-add:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(239, 130, 10, 0.36) !important;
}


/* Home quote form aligned to contact form look */
.home-quote {
  background: linear-gradient(180deg, #f8faf6, #edf3e8);
}

.home-quote__panel {
  border-radius: 1.5rem;
  border: 1px solid #d6e0ca;
  background: linear-gradient(180deg, #ffffff, #f6fbf2);
  box-shadow: 0 24px 48px rgba(31, 42, 29, 0.12);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.home-quote__side {
  border-radius: 1.1rem;
  border: 1px solid #d6e0ca;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 244, 0.9)),
    url("/assets/images/tiles.webp") center center / cover no-repeat;
}

.home-quote__form {
  border-radius: 1.1rem;
  border: 1px solid #d6e0ca;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 42, 29, 0.08);
  padding: clamp(0.8rem, 1.8vw, 1.05rem);
  gap: 0.75rem;
}

.home-quote__form span {
  color: #53644f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-quote__form input,
.home-quote__form select,
.home-quote__form textarea {
  border: 1px solid #d6e0ca;
  border-radius: 0.78rem;
  background: #ffffff;
  color: #243527;
  font-size: 0.9rem;
  padding: 0.68rem 0.8rem;
}

.home-quote__form input:focus,
.home-quote__form select:focus,
.home-quote__form textarea:focus {
  border-color: #ef820a;
  box-shadow: 0 0 0 3px rgba(239, 130, 10, 0.18);
}

.home-quote__form-full,
.home-quote__full {
  grid-column: 1 / -1;
}

.home-quote__form button[type="submit"],
.home-quote__submit {
  grid-column: 1 / -1;
  justify-self: start;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #ef820a, #d87407);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.15rem;
  border: 0;
}

.home-quote__form button[type="submit"]:hover,
.home-quote__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(216, 116, 7, 0.24);
}

/* Home hero typewriter effect (matches contact style) */
.hero-body h1.hero-typewriter {
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: home-typewriter 2.4s steps(34, end) 0.4s forwards, home-caret 0.8s step-end infinite 3s;
  border-right: 0.12em solid currentColor;
}

@keyframes home-typewriter {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes home-caret {
  50% { border-right-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-body h1.hero-typewriter {
    animation: none;
    clip-path: none;
    border-right: none;
  }
}

/* JS-driven typewriter override */
.hero-typewriter {
  animation: none !important;
  clip-path: none !important;
  border-right: 0 !important;
  display: block;
}

.hero-typewriter__text {
  display: inline;
}

.hero-typewriter__text.is-typing {
  border-right: 0.08em solid currentColor !important;
  animation: hero-caret-blink 0.8s step-end infinite !important;
}

@keyframes hero-caret-blink {
  50% { border-right-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-typewriter,
  .hero-typewriter__text.is-typing {
    animation: none !important;
    border-right: 0 !important;
  }
}

/* Hero responsiveness hardening */
.hero-card,
.frame-shell,
.hero-body,
.hero-copy,
.center-panel {
  min-width: 0;
}

.hero-copy h1,
.hero-copy p {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .hero-body {
    gap: clamp(0.8rem, 2.8vw, 1.2rem);
    padding-left: clamp(0.8rem, 3.5vw, 1.1rem);
    padding-right: clamp(0.8rem, 3.5vw, 1.1rem);
  }

  .hero-copy,
  .center-panel {
    width: 100%;
    max-width: 100%;
  }

  .hero-cta-row {
    flex-wrap: wrap;
  }

  .hero-cta-row .order-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero-body {
    min-height: clamp(460px, 74vh, 640px);
  }

  .hero-copy h1 {
    line-height: 1.06;
    letter-spacing: 0;
  }

  .hero-copy p {
    font-size: clamp(0.82rem, 3.6vw, 0.95rem);
  }
}

@media (min-width: 1600px) {
  .hero-body {
    min-height: clamp(640px, 74vh, 940px);
  }
}

