/* =========================================================
   SOMNIVA
   GLOBAL LIGHT MODE + RESPONSIVE STYLES
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --somniva-cream: #f8f1e4;
    --somniva-cream-light: #fffaf1;
    --somniva-cream-soft: #f4eadb;

    --somniva-purple: #65358a;
    --somniva-purple-dark: #45205f;
    --somniva-purple-light: #8a5ab5;

    --somniva-ink: #17121a;
    --somniva-text: #28212c;
    --somniva-muted: #665b6a;

    --somniva-border: rgba(48, 32, 57, 0.13);

    --somniva-gold: #b88b4a;

    --somniva-radius-sm: 12px;
    --somniva-radius-md: 20px;
    --somniva-radius-lg: 32px;

    --somniva-shadow:
        0 18px 50px rgba(54, 34, 65, 0.10);

    --somniva-transition:
        0.3s ease;

    --somniva-navbar-height: 82px;
    --somniva-listing-banner-height: 360px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background: var(--somniva-cream);
    color: var(--somniva-text);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
}


body.somniva-menu-open {
    overflow: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input {
    font: inherit;
}


button {
    border: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--somniva-ink);
    font-weight: 800;
    line-height: 1.15;
}


p {
    color: var(--somniva-muted);
}


/* =========================================================
   NAVBAR
========================================================= */

.somniva-navbar {
    position: sticky;
    top: 0;
    z-index: 5000;

    width: 100%;

    background: rgba(248, 241, 228, 0.96);

    border-bottom: 1px solid var(--somniva-border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--somniva-transition),
        box-shadow var(--somniva-transition),
        border-color var(--somniva-transition);
}


.somniva-navbar-inner {
    width: min(1440px, 100%);
    min-height: var(--somniva-navbar-height);

    margin: auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   LOGO
========================================================= */

.somniva-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;

    color: var(--somniva-ink);

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.5px;
}


.somniva-logo-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    border-radius: 50%;

    box-shadow:
        0 7px 20px rgba(101, 53, 138, 0.25);
}


.somniva-logo-mark i {
    font-size: 19px;
}


.somniva-logo-text {
    color: var(--somniva-ink);
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.somniva-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    flex: 1;
}


.somniva-nav-link,
.somniva-dropdown-toggle {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 12px 14px;

    color: #000000;

    background: transparent;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    border-radius: 10px;

    transition:
        color var(--somniva-transition),
        background var(--somniva-transition);
}


.somniva-nav-link i {
    font-size: 12px;
}


/* Hover */

.somniva-nav-link:hover,
.somniva-dropdown-toggle:hover {
    color: var(--somniva-purple);
    background: rgba(101, 53, 138, 0.08);
}


/* ACTIVE */

.somniva-nav-link.active,
.somniva-dropdown-toggle.active {
    color: var(--somniva-purple);

    background: rgba(101, 53, 138, 0.12);
}


/* Active underline */

.somniva-nav-link.active::after,
.somniva-dropdown-toggle.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 5px;

    height: 3px;

    background: var(--somniva-purple);

    border-radius: 10px;
}


/* =========================================================
   DESKTOP DROPDOWNS
========================================================= */

.somniva-nav-dropdown {
    position: relative;
}


.somniva-dropdown-menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    width: 235px;

    padding: 10px;

    background: var(--somniva-cream-light);

    border: 1px solid var(--somniva-border);

    border-radius: 18px;

    box-shadow:
        0 22px 55px rgba(37, 22, 46, 0.16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translate(-50%, 10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 6000;
}


/* OPEN ONLY THROUGH CLICK */

.somniva-nav-dropdown.is-open
.somniva-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translate(-50%, 0);
}


.somniva-dropdown-link {
    display: flex;
    align-items: center;

    min-height: 48px;

    padding: 11px 14px;

    color: var(--somniva-ink);

    font-size: 15px;
    font-weight: 700;

    border-radius: 10px;

    transition:
        background var(--somniva-transition),
        color var(--somniva-transition);
}


.somniva-dropdown-link:hover {
    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, 0.09);
}


.somniva-dropdown-link.active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.somniva-navbar-actions {
    display: flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;
}


.somniva-cart-button,
.somniva-icon-button,
.somniva-rtl-button {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    position: relative;

    color: #000000;

    background: transparent;

    border: 1px solid rgba(0, 0, 0, 0.12);

    border-radius: 50%;

    cursor: pointer;

    transition:
        color var(--somniva-transition),
        background var(--somniva-transition),
        border-color var(--somniva-transition);
}


.somniva-cart-button:hover,
.somniva-icon-button:hover,
.somniva-rtl-button:hover {
    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, 0.08);

    border-color:
        rgba(101, 53, 138, 0.30);
}


.somniva-cart-count {
    position: absolute;

    top: -5px;
    right: -4px;

    min-width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    padding: 0 4px;

    color: #ffffff;

    background: var(--somniva-purple);

    font-size: 10px;
    font-weight: 800;

    border-radius: 50%;
}


.somniva-rtl-button {
    font-size: 11px;
    font-weight: 800;
}


.somniva-login-button {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    font-size: 15px;
    font-weight: 800;

    border-radius: 12px;

    box-shadow:
        0 8px 22px rgba(101, 53, 138, 0.20);

    transition:
        transform var(--somniva-transition),
        box-shadow var(--somniva-transition);
}


.somniva-login-button:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 13px 30px rgba(101, 53, 138, 0.30);
}


.somniva-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    color: #000000;

    background: transparent;

    font-size: 27px;

    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.somniva-mobile-menu {
    position: fixed;

    inset: 0;

    z-index: 10000;

    width: 100%;
    height: 100dvh;

    display: flex;
    flex-direction: column;

    padding:
        env(safe-area-inset-top)
        0
        env(safe-area-inset-bottom);

    background: var(--somniva-cream);

    transform: translateX(100%);

    visibility: hidden;

    transition:
        transform 0.35s ease,
        visibility 0.35s ease;
}


.somniva-mobile-menu.is-open {
    transform: translateX(0);

    visibility: visible;
}


.somniva-mobile-menu-header {
    min-height: 78px;

    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--somniva-border);
}


.somniva-mobile-close {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    color: var(--somniva-ink);

    background: transparent;

    font-size: 23px;

    cursor: pointer;

    border-radius: 50%;
}


.somniva-mobile-close:hover {
    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, 0.10);
}


.somniva-mobile-menu-content {
    flex: 1;

    overflow-y: auto;

    padding: 20px 22px 30px;

    overscroll-behavior: contain;
}


.somniva-mobile-link {
    width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8px;

    color: var(--somniva-ink);

    background: transparent;

    font-size: 19px;
    font-weight: 800;

    text-align: left;

    border-bottom: 1px solid var(--somniva-border);

    cursor: pointer;
}


.somniva-mobile-link span {
    display: flex;
    align-items: center;
    gap: 13px;
}


.somniva-mobile-link span i {
    width: 25px;

    color: var(--somniva-purple);

    font-size: 18px;
}


/* MOBILE ACTIVE */

.somniva-mobile-link.active,
.somniva-mobile-sub-link.active {
    color: var(--somniva-purple);
}


.somniva-mobile-link.active {
    padding-left: 14px;

    background:
        rgba(101, 53, 138, 0.10);

    border-left: 4px solid var(--somniva-purple);

    border-radius: 9px;
}


.somniva-mobile-dropdown-toggle.active {
    border-left: 4px solid var(--somniva-purple);
}


.somniva-mobile-dropdown-menu {
    max-height: 0;

    overflow: hidden;

    padding-left: 38px;

    opacity: 0;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}


.somniva-mobile-dropdown.is-open
.somniva-mobile-dropdown-menu {
    max-height: 500px;

    opacity: 1;
}


.somniva-mobile-sub-link {
    display: flex;
    align-items: center;

    min-height: 49px;

    padding: 0 14px;

    color: var(--somniva-muted);

    font-size: 17px;
    font-weight: 700;

    border-left: 2px solid var(--somniva-border);

    transition:
        color var(--somniva-transition),
        background var(--somniva-transition);
}


.somniva-mobile-sub-link:hover {
    color: var(--somniva-purple);
}


.somniva-mobile-sub-link.active {
    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, 0.08);

    border-left:
        3px solid var(--somniva-purple);

    border-radius: 7px;
}


.somniva-mobile-login-area {
    padding: 16px 22px 22px;

    border-top: 1px solid var(--somniva-border);
}


.somniva-mobile-login {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    font-size: 18px;
    font-weight: 800;

    border-radius: 14px;
}


/* =========================================================
   HERO
========================================================= */

.somniva-hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            #fffaf1 0%,
            #f8f1e4 55%,
            #efe2d2 100%
        );
}


.somniva-hero-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -170px;
    top: -180px;

    background:
        radial-gradient(
            circle,
            rgba(126, 76, 170, 0.16),
            transparent 68%
        );

    pointer-events: none;
}


.somniva-hero-content {
    position: relative;

    z-index: 2;

    max-width: 680px;

    padding: 70px 0;
}


.somniva-eyebrow,
.somniva-section-label {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}


.somniva-hero h1 {
    margin-bottom: 25px;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 82px);

    letter-spacing: -2px;
}


.somniva-hero h1 span {
    display: block;

    color: var(--somniva-purple);
}


.somniva-hero p {
    max-width: 620px;

    margin-bottom: 32px;

    font-size: 19px;
}


.somniva-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   BUTTONS
========================================================= */

.somniva-primary-button,
.somniva-secondary-button {
    min-height: 53px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 25px;

    font-size: 16px;
    font-weight: 800;

    border-radius: 13px;

    transition:
        transform var(--somniva-transition),
        box-shadow var(--somniva-transition),
        background var(--somniva-transition);
}


.somniva-primary-button {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    box-shadow:
        0 10px 25px rgba(101, 53, 138, 0.20);
}


.somniva-primary-button:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(101, 53, 138, 0.30);
}


.somniva-secondary-button {
    color: var(--somniva-purple);

    background: transparent;

    border: 1px solid
        rgba(101, 53, 138, 0.30);
}


.somniva-secondary-button:hover {
    color: var(--somniva-purple-dark);

    background:
        rgba(101, 53, 138, 0.07);
}


/* =========================================================
   SOMNIVA HOME 1
   HERO SECTION
========================================================= */

.somniva-hero {

    position: relative;

    min-height: 760px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(111, 63, 145, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fff8eb 0%,
            #fffaf1 48%,
            #f4e8dc 100%
        );

    isolation: isolate;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.somniva-hero .container {

    position: relative;

    z-index: 5;
}


/* =========================================================
   BACKGROUND GLOWS
========================================================= */

.somniva-hero-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(2px);

    z-index: -1;
}


.somniva-hero-glow-one {

    width: 500px;

    height: 500px;

    right: -120px;

    top: 50px;

    background:
        radial-gradient(
            circle,
            rgba(116, 61, 151, 0.18),
            transparent 70%
        );
}


.somniva-hero-glow-two {

    width: 420px;

    height: 420px;

    left: -180px;

    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(195, 150, 105, 0.12),
            transparent 70%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.somniva-hero-content {

    position: relative;

    z-index: 10;

    padding:

        55px

        15px

        55px

        0;

    max-width: 680px;
}


/* =========================================================
   EYEBROW
========================================================= */

.somniva-hero-eyebrow {

    margin-bottom: 20px;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 3px;

    color: #68338a;
}


/* =========================================================
   TITLE
========================================================= */

.somniva-hero-title {

    margin: 0;

    max-width: 650px;

    font-size: clamp(
        55px,
        6vw,
        88px
    );

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 900;

    color: #17121a;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


.somniva-hero-title span {

    display: block;

    color: #69338b;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.somniva-hero-description {

    max-width: 580px;

    margin:

        30px

        0

        32px;

    font-size: 19px;

    line-height: 1.8;

    font-weight: 500;

    color: #5f5665;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.somniva-hero-buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;
}


.somniva-hero-btn {

    min-height: 56px;

    padding:

        0

        25px;

    border-radius: 12px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-size: 16px;

    font-weight: 800;

    text-decoration: none;

    transition:

        transform 0.3s ease,

        box-shadow 0.3s ease,

        background 0.3s ease;
}


.somniva-hero-btn:hover {

    transform: translateY(-4px);
}


.somniva-hero-btn-primary {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #713b94,
            #4d206b
        );

    box-shadow:
        0 15px 35px
        rgba(86, 42, 117, 0.25);
}


.somniva-hero-btn-primary:hover {

    color: #ffffff;

    box-shadow:
        0 20px 45px
        rgba(86, 42, 117, 0.35);
}


.somniva-hero-btn-secondary {

    color: #673487;

    border: 1px solid
        rgba(103, 52, 135, 0.30);

    background:
        rgba(255, 250, 241, 0.65);
}


.somniva-hero-btn-secondary:hover {

    color: #542570;

    background: #ffffff;
}


/* =========================================================
   TRUST ITEMS
========================================================= */

.somniva-hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 42px;
}


.somniva-trust-item {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 700;

    color: #423947;
}


.somniva-trust-item i {

    font-size: 18px;

    color: #743d97;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.somniva-hero-visual {

    position: relative;

    min-height: 650px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    perspective: 1200px;
}


/* =========================================================
   LARGE ORBIT
========================================================= */

.somniva-hero-orbit {

    position: absolute;

    width: 550px;

    height: 550px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 250, 241, 0.95) 0%,
            rgba(225, 204, 224, 0.40) 45%,
            rgba(117, 63, 150, 0.08) 70%,
            transparent 72%
        );

    box-shadow:
        inset 0 0 80px
        rgba(255,255,255,0.5),

        0 0 100px
        rgba(112, 62, 148, 0.12);
}


/* =========================================================
   MATTRESS GLOW
========================================================= */

.somniva-mattress-glow {

    position: absolute;

    width: 460px;

    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(118, 58, 158, 0.30),
            transparent 70%
        );

    filter: blur(30px);

    transform:
        translateY(110px);

    opacity: 0.8;
}


/* =========================================================
   MATTRESS WRAPPER
========================================================= */

.somniva-mattress-wrapper {

    position: relative;

    width: 650px;

    max-width: 110%;

    z-index: 5;

    will-change:
        transform;
}


/* =========================================================
   MATTRESS IMAGE
========================================================= */

.somniva-mattress-image {

    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 35px 40px
            rgba(39, 14, 57, 0.30)
        );

    transform-origin: center center;

    will-change:
        transform;
}


/* =========================================================
   FLOATING FEATHERS
========================================================= */

.somniva-feather {

    position: absolute;

    z-index: 10;

    color: #ffffff;

    opacity: 0.9;

    filter:
        drop-shadow(
            0 5px 12px
            rgba(90, 45, 115, 0.16)
        );

    pointer-events: none;

    will-change:
        transform;
}


.somniva-feather i {

    display: block;

    font-size: 38px;
}


.feather-one {

    top: 11%;

    left: 8%;

    transform: rotate(-28deg);
}


.feather-two {

    top: 15%;

    right: 9%;

    transform: rotate(25deg);

}


.feather-three {

    bottom: 13%;

    left: 7%;

    transform: rotate(40deg);

}


.feather-four {

    bottom: 18%;

    right: 3%;

    transform: rotate(-32deg);
}


/* =========================================================
   PARTICLES
========================================================= */

.somniva-particle {

    position: absolute;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 15px
        rgba(255,255,255,0.9);

    z-index: 8;

    pointer-events: none;
}


.particle-one {

    top: 25%;

    left: 15%;
}


.particle-two {

    top: 35%;

    right: 7%;
}


.particle-three {

    bottom: 25%;

    left: 15%;
}


.particle-four {

    bottom: 12%;

    right: 18%;
}


/* =========================================================
   HERO CARD
========================================================= */

.somniva-hero-card {

    position: absolute;

    left: 0;

    bottom: 16%;

    z-index: 15;

    display: flex;

    align-items: center;

    gap: 13px;

    padding:

        15px

        18px;

    border-radius: 18px;

    background:
        rgba(255, 250, 242, 0.90);

    border:
        1px solid
        rgba(255,255,255,0.8);

    box-shadow:
        0 20px 50px
        rgba(68, 34, 88, 0.15);

    backdrop-filter:
        blur(15px);

    will-change:
        transform;
}


.somniva-hero-card-icon {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    border-radius: 13px;

    display: grid;

    place-items: center;

    color: #6f3b94;

    background:
        rgba(111, 59, 148, 0.10);

    font-size: 20px;
}


.somniva-hero-card strong {

    display: block;

    margin-bottom: 4px;

    font-size: 15px;

    font-weight: 900;

    color: #211824;
}


.somniva-hero-card span {

    display: block;

    font-size: 12px;

    font-weight: 600;

    color: #716777;
}


/* =========================================================
   HERO BADGE
========================================================= */

.somniva-hero-badge {

    position: absolute;

    right: 0;

    bottom: 12%;

    z-index: 15;

    width: 130px;

    min-height: 130px;

    padding: 18px;

    border-radius: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    text-align: center;

    background:
        rgba(255, 250, 241, 0.92);

    border:
        1px solid
        rgba(255,255,255,0.8);

    box-shadow:
        0 20px 45px
        rgba(58, 27, 76, 0.14);

    backdrop-filter:
        blur(15px);
}


.somniva-badge-number {

    display: block;

    font-size: 31px;

    line-height: 1;

    font-weight: 900;

    color: #69358b;
}


.somniva-badge-text {

    display: block;

    margin-top: 10px;

    font-size: 11px;

    line-height: 1.4;

    font-weight: 700;

    color: #655b6b;
}


/* =========================================================
   DECORATIVE STARS
========================================================= */

.somniva-hero-star {

    position: absolute;

    color: #8a55aa;

    pointer-events: none;

    z-index: 2;

    opacity: 0.65;
}


.star-one {

    top: 18%;

    left: 48%;

    font-size: 19px;
}


.star-two {

    bottom: 18%;

    left: 50%;

    font-size: 13px;
}


.star-three {

    top: 30%;

    right: 5%;

    font-size: 15px;
}


/* =========================================================
   BOTTOM GLOW
========================================================= */

.somniva-hero-bottom-glow {

    position: absolute;

    left: 0;

    right: 0;

    bottom: -100px;

    height: 200px;

    background:
        radial-gradient(
            ellipse,
            rgba(111, 62, 145, 0.12),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .somniva-hero {

        min-height: 700px;
    }


    .somniva-hero-content {

        padding-right: 20px;
    }


    .somniva-hero-title {

        font-size: clamp(
            52px,
            6vw,
            72px
        );
    }


    .somniva-hero-visual {

        min-height: 600px;
    }


    .somniva-hero-orbit {

        width: 470px;

        height: 470px;
    }


    .somniva-mattress-wrapper {

        width: 570px;
    }


    .somniva-hero-card {

        left: 0;

        bottom: 14%;
    }


    .somniva-hero-badge {

        right: 0;

        bottom: 10%;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-hero {

        min-height: auto;

        padding:
            70px 0
            40px;
    }


    .somniva-hero-content {

        max-width: 720px;

        margin: auto;

        padding:
            20px 20px
            45px;

        text-align: center;
    }


    .somniva-hero-title {

        font-size:
            clamp(
                50px,
                9vw,
                72px
            );
    }


    .somniva-hero-description {

        margin-left: auto;

        margin-right: auto;

        font-size: 18px;
    }


    .somniva-hero-buttons {

        justify-content: center;
    }


    .somniva-hero-trust {

        justify-content: center;
    }


    .somniva-hero-visual {

        min-height: 560px;
    }


    .somniva-hero-orbit {

        width: 470px;

        height: 470px;
    }


    .somniva-mattress-wrapper {

        width: 600px;

        max-width: 95%;
    }
}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .somniva-hero {

        padding-top: 45px;
    }


    .somniva-hero-content {

        padding:
            20px 15px
            35px;
    }


    .somniva-hero-eyebrow {

        font-size: 12px;

        letter-spacing: 2px;
    }


    .somniva-hero-title {

        font-size: 48px;

        letter-spacing: -2px;
    }


    .somniva-hero-description {

        font-size: 16px;

        line-height: 1.7;
    }


    .somniva-hero-buttons {

        flex-direction: column;

        width: 100%;
    }


    .somniva-hero-btn {

        width: 100%;
    }


    .somniva-hero-trust {

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 8px;
    }


    .somniva-trust-item {

        flex-direction: column;

        text-align: center;

        font-size: 11px;

        gap: 5px;
    }


    .somniva-hero-visual {

        min-height: 440px;
    }


    .somniva-hero-orbit {

        width: 350px;

        height: 350px;
    }


    .somniva-mattress-wrapper {

        width: 440px;

        max-width: 115%;
    }


    .somniva-hero-card {

        left: 2%;

        bottom: 8%;

        padding: 10px 12px;
    }


    .somniva-hero-card-icon {

        width: 36px;

        height: 36px;
    }


    .somniva-hero-card strong {

        font-size: 12px;
    }


    .somniva-hero-card span {

        font-size: 9px;
    }


    .somniva-hero-badge {

        right: 2%;

        bottom: 6%;

        width: 95px;

        min-height: 95px;

        padding: 12px;
    }


    .somniva-badge-number {

        font-size: 23px;
    }


    .somniva-badge-text {

        font-size: 9px;
    }


    .somniva-feather i {

        font-size: 28px;
    }
}


/* =========================================================
   MOBILE MEDIUM
========================================================= */

@media (max-width: 575px) {

    .somniva-hero-title {

        font-size: 42px;
    }


    .somniva-hero-description {

        font-size: 15px;
    }


    .somniva-hero-visual {

        min-height: 370px;
    }


    .somniva-hero-orbit {

        width: 290px;

        height: 290px;
    }


    .somniva-mattress-wrapper {

        width: 380px;

        max-width: 125%;
    }


    .somniva-hero-card {

        left: 0;

        bottom: 4%;
    }


    .somniva-hero-badge {

        right: 0;

        bottom: 4%;
    }


    .somniva-feather i {

        font-size: 23px;
    }


    .feather-one {

        left: 1%;
    }


    .feather-four {

        right: 0;
    }
}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 375px) {

    .somniva-hero-title {

        font-size: 36px;

        letter-spacing: -1.5px;
    }


    .somniva-hero-description {

        font-size: 14px;
    }


    .somniva-hero-trust {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .somniva-hero-visual {

        min-height: 320px;
    }


    .somniva-hero-orbit {

        width: 245px;

        height: 245px;
    }


    .somniva-mattress-wrapper {

        width: 330px;
    }


    .somniva-hero-card {

        transform: scale(0.82);

        transform-origin: left bottom;
    }


    .somniva-hero-badge {

        transform: scale(0.82);

        transform-origin: right bottom;
    }


    .somniva-feather i {

        font-size: 19px;
    }
}
/* =========================================================
   FEATURE STRIP
========================================================= */

.somniva-feature-strip {
    padding: 35px 0;

    background:
        var(--somniva-cream-light);

    border-bottom:
        1px solid var(--somniva-border);
}


.somniva-feature-item {
    display: flex;
    align-items: center;

    gap: 15px;
}


.somniva-feature-item > i {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, 0.10);

    border-radius: 14px;

    font-size: 22px;
}


.somniva-feature-item h3 {
    margin-bottom: 2px;

    font-size: 17px;
}


.somniva-feature-item p {
    margin: 0;

    font-size: 14px;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.somniva-section {
    padding: 110px 0;
}


.somniva-section-heading {
    max-width: 750px;

    margin:
        0 auto 60px;

    text-align: center;
}


.somniva-section-heading > span {
    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}


.somniva-section-heading h2,
.somniva-story-content h2,
.somniva-cta h2 {
    margin: 12px 0 18px;

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 58px);
}


.somniva-section-heading p {
    font-size: 18px;
}


/* =========================================================
   CATEGORY CARDS
========================================================= */

.somniva-category-card {
    height: 100%;

    padding: 35px;

    background:
        var(--somniva-cream-light);

    border:
        1px solid var(--somniva-border);

    border-radius:
        var(--somniva-radius-lg);

    box-shadow:
        var(--somniva-shadow);

    transition:
        transform var(--somniva-transition),
        box-shadow var(--somniva-transition);
}


.somniva-category-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(54, 34, 65, 0.15);
}


.somniva-category-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, 0.10);

    border-radius: 18px;

    font-size: 27px;
}


.somniva-category-card h3 {
    margin-bottom: 12px;

    font-size: 25px;
}


.somniva-category-card p {
    margin-bottom: 24px;
}


.somniva-category-card a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--somniva-purple);

    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   STORY
========================================================= */

.somniva-story-section {
    padding: 110px 0;

    background:
        var(--somniva-cream-soft);
}


.somniva-story-visual {
    min-height: 500px;

    position: relative;

    display: grid;
    place-items: center;
}


.somniva-story-circle {
    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 40% 35%,
            #a779c8,
            #5b287b 50%,
            #32153f 100%
        );

    box-shadow:
        0 35px 80px rgba(64, 32, 78, 0.25);
}


.somniva-story-card {
    position: absolute;

    bottom: 5%;
    right: 5%;

    width: 210px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    color: #ffffff;

    background:
        rgba(43, 18, 54, 0.92);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(40, 18, 50, 0.28);
}


.somniva-story-card i {
    margin-bottom: 15px;

    color: #d4a7ed;

    font-size: 30px;
}


.somniva-story-card strong {
    font-size: 23px;
}


.somniva-story-card span {
    color: #d6c5df;

    font-size: 14px;
}


.somniva-story-content p {
    margin-bottom: 25px;

    font-size: 18px;
}


.somniva-check-list {
    display: flex;
    flex-direction: column;

    gap: 13px;

    margin-bottom: 30px;
}


.somniva-check-list div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--somniva-ink);

    font-size: 16px;
    font-weight: 700;
}


.somniva-check-list i {
    color: var(--somniva-purple);
}


/* =========================================================
   CTA
========================================================= */

.somniva-cta {
    padding: 100px 0;
}


.somniva-cta-inner {
    position: relative;

    overflow: hidden;

    padding:
        80px 40px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #35163f,
            #54286d 55%,
            #29112f
        );

    border-radius:
        36px;

    box-shadow:
        0 30px 80px rgba(52, 22, 63, 0.25);
}


.somniva-cta-inner::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -160px;
    top: -180px;

    background:
        radial-gradient(
            circle,
            rgba(194, 145, 226, 0.28),
            transparent 70%
        );
}


.somniva-cta-inner > * {
    position: relative;

    z-index: 2;
}


.somniva-cta-inner > span {
    color: #d8b9eb;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}


.somniva-cta h2 {
    color: #ffffff;

    max-width: 760px;

    margin:
        12px auto 20px;
}


.somniva-cta p {
    max-width: 650px;

    margin:
        0 auto 30px;

    color: #ded0e5;

    font-size: 18px;
}


/* =========================================================
   FOOTER
========================================================= */

.somniva-footer {
    padding: 80px 0 25px;

    color: #eee7f0;

    background:
        #241126;
}


.somniva-footer-logo {
    margin-bottom: 20px;

    color: #ffffff;
}


.somniva-footer-logo .somniva-logo-text {
    color: #ffffff;
}


.somniva-footer p {
    max-width: 390px;

    color: #cbbbcf;
}


.somniva-footer h3 {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: 18px;
}


.somniva-footer > .container a:not(.somniva-logo) {
    transition: color var(--somniva-transition);
}


.somniva-footer > .container a:not(.somniva-logo):hover {
    color: #d3a6ea;
}


.somniva-footer .col-6 a,
.somniva-footer .col-lg-4 a {
    display: block;

    margin-bottom: 10px;

    color: #cbbbcf;

    font-size: 15px;
}


.somniva-socials {
    display: flex;
    gap: 10px;

    margin-top: 25px;
}


.somniva-socials a {
    width: 40px;
    height: 40px;

    display: grid !important;
    place-items: center;

    color: #ffffff !important;

    background:
        rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


.somniva-socials a:hover {
    color: #ffffff !important;

    background:
        var(--somniva-purple);
}


.somniva-newsletter {
    display: flex;

    overflow: hidden;

    max-width: 430px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 13px;
}


.somniva-newsletter input {
    width: 100%;

    min-width: 0;

    padding: 14px 15px;

    color: #ffffff;

    background: transparent;

    border: 0;

    outline: none;
}


.somniva-newsletter input::placeholder {
    color: #a997ae;
}


.somniva-newsletter button {
    width: 53px;

    flex-shrink: 0;

    color: #ffffff;

    background:
        var(--somniva-purple);

    cursor: pointer;
}


.somniva-footer-bottom {
    margin-top: 55px;
    padding-top: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color: #9f8ca5;

    font-size: 13px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}


/* =========================================================
   LAPTOP — 992px to 1199px
   FULL DESKTOP NAVIGATION — NO HAMBURGER
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .somniva-navbar-inner {
        min-height: 78px;
        padding: 0 12px;
        gap: 8px;
    }

    .somniva-logo {
        font-size: 21px;
        gap: 7px;
    }

    .somniva-logo-mark {
        width: 36px;
        height: 36px;
    }

    .somniva-logo-mark i {
        font-size: 17px;
    }

    .somniva-desktop-nav {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 0;
        min-width: 0;
    }

    .somniva-nav-link,
    .somniva-dropdown-toggle {
        padding: 10px 6px;
        gap: 4px;
        font-size: 12.5px;
        white-space: nowrap;
    }

    .somniva-nav-link i {
        font-size: 9px;
    }

    .somniva-navbar-actions {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .somniva-cart-button,
    .somniva-icon-button,
    .somniva-rtl-button {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .somniva-login-button {
        min-height: 36px;
        padding: 0 11px;
        font-size: 12px;
        white-space: nowrap;
    }

    .somniva-menu-button {
        display: none !important;
    }

    .somniva-hero {
        min-height: 650px;
    }

    .somniva-hero h1 {
        font-size: 62px;
    }
}


/* =========================================================
   LAPTOP-L / DESKTOP — 1200px+
   FULL DESKTOP NAVIGATION
========================================================= */

@media (min-width: 1200px) {

    .somniva-desktop-nav {
        display: flex;
    }

    .somniva-navbar-actions {
        display: flex;
        align-items: center;
    }

    .somniva-menu-button {
        display: none !important;
    }
}


/* =========================================================
   MOBILE + TABLET — BELOW 992px
   HAMBURGER NAVIGATION
========================================================= */

@media (max-width: 991px) {

    .somniva-navbar-inner {
        min-height: 74px;
        padding: 0 18px;
        gap: 10px;
    }

    .somniva-desktop-nav {
        display: none !important;
    }

    .somniva-navbar-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .somniva-navbar-actions .somniva-cart-button,
    .somniva-navbar-actions .somniva-login-button {
        display: none !important;
    }

    .somniva-navbar-actions .somniva-icon-button,
    .somniva-navbar-actions .somniva-rtl-button,
    .somniva-navbar-actions .somniva-menu-button {
        display: grid;
        place-items: center;
    }

    .somniva-menu-button {
        width: 44px;
        height: 44px;
        color: #000000;
        background: transparent;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        border-radius: 10px;
    }

    .somniva-menu-button:hover {
        color: var(--somniva-purple);
        background: rgba(101, 53, 138, 0.08);
    }

    .somniva-logo {
        font-size: 23px;
    }

    .somniva-logo-mark {
        width: 37px;
        height: 37px;
    }

    .somniva-hero {
        min-height: auto;
        padding: 70px 0;
    }

    .somniva-hero-content {
        max-width: 100%;
        padding: 20px 0;
    }

    .somniva-hero-visual {
        min-height: 480px;
        margin-top: 20px;
    }

    .somniva-story-visual {
        margin-bottom: 25px;
    }
}


/* =========================================================
   RTL NAVBAR — ALL SCREEN SIZES
   Predictable flex ordering prevents controls from jumping.
========================================================= */

html[dir="rtl"] .somniva-navbar-inner,
body[dir="rtl"] .somniva-navbar-inner {
    direction: ltr;
}

html[dir="rtl"] .somniva-logo,
body[dir="rtl"] .somniva-logo {
    order: 3;
}

html[dir="rtl"] .somniva-desktop-nav,
body[dir="rtl"] .somniva-desktop-nav {
    order: 2;
}

html[dir="rtl"] .somniva-navbar-actions,
body[dir="rtl"] .somniva-navbar-actions {
    order: 1;
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .somniva-desktop-nav,
body[dir="rtl"] .somniva-desktop-nav,
html[dir="rtl"] .somniva-dropdown-menu,
body[dir="rtl"] .somniva-dropdown-menu,
html[dir="rtl"] .somniva-mobile-menu,
body[dir="rtl"] .somniva-mobile-menu {
    direction: rtl;
}

/* Mobile/tablet RTL: controls stay together on the LEFT, logo on RIGHT. */
@media (max-width: 991px) {

    html[dir="rtl"] .somniva-navbar-inner,
    body[dir="rtl"] .somniva-navbar-inner {
        direction: ltr;
    }

    html[dir="rtl"] .somniva-logo,
    body[dir="rtl"] .somniva-logo {
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }

    html[dir="rtl"] .somniva-navbar-actions,
    body[dir="rtl"] .somniva-navbar-actions {
        order: 1;
        margin-left: 0;
        margin-right: auto;
    }

    html[dir="rtl"] .somniva-navbar-actions,
    body[dir="rtl"] .somniva-navbar-actions {
        direction: ltr;
    }
}


/* Desktop RTL: logo RIGHT, nav CENTER, controls LEFT. */
@media (min-width: 992px) {

    html[dir="rtl"] .somniva-logo,
    body[dir="rtl"] .somniva-logo {
        order: 3;
    }

    html[dir="rtl"] .somniva-desktop-nav,
    body[dir="rtl"] .somniva-desktop-nav {
        order: 2;
    }

    html[dir="rtl"] .somniva-navbar-actions,
    body[dir="rtl"] .somniva-navbar-actions {
        order: 1;
        margin-left: 0;
        margin-right: auto;
    }
}


/* =========================================================
   MOBILE LARGE — 576px to 991px
========================================================= */

@media (min-width: 576px) and (max-width: 991px) {

    .somniva-hero h1 {
        font-size: 54px;
    }

    .somniva-hero p {
        font-size: 18px;
    }
}


/* =========================================================
   MOBILE LARGE — BELOW 767px
========================================================= */

@media (max-width: 767px) {

    body {
        font-size: 16px;
    }

    .somniva-navbar-inner {
        padding: 0 15px;
    }

    .somniva-navbar-actions {
        gap: 5px;
    }

    .somniva-icon-button,
    .somniva-rtl-button,
    .somniva-menu-button {
        width: 40px;
        height: 40px;
    }

    .somniva-logo-text {
        font-size: 22px;
    }

    .somniva-logo-mark {
        width: 35px;
        height: 35px;
    }

    .somniva-hero {
        padding: 55px 0;
    }

    .somniva-hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .somniva-hero p {
        font-size: 17px;
    }

    .somniva-hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .somniva-primary-button,
    .somniva-secondary-button {
        width: 100%;
    }

    .somniva-hero-visual {
        min-height: 390px;
    }

    .somniva-hero-orbit {
        width: 320px;
    }

    .somniva-moon-shape {
        width: 190px;
        height: 190px;
    }

    .somniva-moon-shape i {
        font-size: 55px;
    }

    .somniva-hero-card {
        right: 0;
        bottom: 3%;
        width: 160px;
        padding: 17px;
    }

    .somniva-hero-card strong {
        font-size: 31px;
    }

    .somniva-section,
    .somniva-story-section {
        padding: 75px 0;
    }

    .somniva-section-heading {
        margin-bottom: 40px;
    }

    .somniva-section-heading h2,
    .somniva-story-content h2,
    .somniva-cta h2 {
        font-size: 39px;
    }

    .somniva-feature-strip {
        padding: 30px 0;
    }

    .somniva-feature-item {
        align-items: flex-start;
    }

    .somniva-category-card {
        padding: 28px;
    }

    .somniva-story-circle {
        width: 280px;
        height: 280px;
    }

    .somniva-story-visual {
        min-height: 390px;
    }

    .somniva-story-card {
        right: 0;
        bottom: 0;
    }

    .somniva-cta {
        padding: 65px 0;
    }

    .somniva-cta-inner {
        padding: 65px 22px;
        border-radius: 25px;
    }

    .somniva-footer {
        padding-top: 60px;
    }

    .somniva-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   MOBILE SMALL — BELOW 480px
========================================================= */

@media (max-width: 480px) {

    .somniva-logo {
        gap: 7px;
    }

    .somniva-logo-text {
        font-size: 20px;
    }

    .somniva-logo-mark {
        width: 33px;
        height: 33px;
    }

    .somniva-logo-mark i {
        font-size: 16px;
    }

    .somniva-navbar-actions .somniva-rtl-button,
    .somniva-navbar-actions .somniva-icon-button,
    .somniva-navbar-actions .somniva-menu-button {
        width: 38px;
        height: 38px;
    }

    .somniva-hero h1 {
        font-size: 42px;
    }

    .somniva-hero-visual {
        min-height: 330px;
    }

    .somniva-hero-orbit {
        width: 270px;
    }

    .somniva-moon-shape {
        width: 160px;
        height: 160px;
    }

    .somniva-hero-card {
        width: 140px;
        padding: 14px;
    }

    .somniva-hero-card strong {
        font-size: 27px;
    }

    .somniva-section-heading h2,
    .somniva-story-content h2,
    .somniva-cta h2 {
        font-size: 34px;
    }

    .somniva-mobile-menu-header {
        padding: 0 16px;
    }

    .somniva-mobile-menu-content {
        padding: 15px 16px 25px;
    }

    .somniva-mobile-link {
        font-size: 18px;
    }

    .somniva-mobile-login-area {
        padding: 14px 16px 18px;
    }
}


/* =========================================================
   EXTRA SMALL — BELOW 360px
========================================================= */

@media (max-width: 360px) {

    .somniva-logo-text {
        font-size: 18px;
    }

    .somniva-logo-mark {
        width: 31px;
        height: 31px;
    }

    .somniva-navbar-actions {
        gap: 2px;
    }

    .somniva-hero h1 {
        font-size: 37px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}
/* =========================================================
   SOMNIVA HERO - CLEAN MATTRESS IMAGE
   Remove the unnecessary circular background
========================================================= */


/* Remove the large circle behind the mattress */

.somniva-hero-orbit {
    display: none !important;
}


/* Remove any old moon/blob shape behind the image */

.somniva-moon-shape {
    display: none !important;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.somniva-hero-visual {

    position: relative;

    width: 100%;
    min-height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;

    padding: 20px;
}


/* =========================================================
   MATTRESS IMAGE
========================================================= */

.somniva-hero-visual > img {

    position: relative;

    z-index: 5;

    display: block;

    width: min(700px, 100%);
    max-width: 700px;

    height: auto;

    object-fit: cover;
    object-position: center;

    border-radius: 32px;

    transform:
        translateY(0)
        rotate(-2deg);

    filter:
        drop-shadow(
            0 30px 45px
            rgba(43, 20, 60, 0.25)
        );

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.somniva-hero-visual > img:hover {

    transform:
        translateY(-8px)
        rotate(-1deg)
        scale(1.015);

    filter:
        drop-shadow(
            0 40px 55px
            rgba(43, 20, 60, 0.32)
        );
}


/* =========================================================
   FLOATING CARDS
   Keep cards above the image
========================================================= */

.somniva-hero-card {

    position: absolute;

    z-index: 10;

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .somniva-hero-visual {

        min-height: 650px;

        padding: 10px;
    }

    .somniva-hero-visual > img {

        width: 720px;
        max-width: 720px;

        border-radius: 34px;

        transform:
            translateX(20px)
            rotate(-2deg);
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1200px) and (max-width: 1439px) {

    .somniva-hero-visual {

        min-height: 600px;
    }

    .somniva-hero-visual > img {

        width: 650px;
        max-width: 650px;

        border-radius: 32px;

        transform:
            translateX(10px)
            rotate(-2deg);
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .somniva-hero-visual {

        min-height: 530px;

        padding: 10px;
    }

    .somniva-hero-visual > img {

        width: 570px;
        max-width: 100%;

        border-radius: 28px;

        transform:
            translateX(5px)
            rotate(-2deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .somniva-hero-visual {

        min-height: 500px;

        margin-top: 15px;
    }

    .somniva-hero-visual > img {

        width: 540px;
        max-width: 92%;

        border-radius: 28px;

        transform:
            rotate(-2deg);
    }

}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (min-width: 576px) and (max-width: 767px) {

    .somniva-hero-visual {

        min-height: 420px;

        padding: 10px;
    }

    .somniva-hero-visual > img {

        width: 100%;
        max-width: 500px;

        border-radius: 24px;

        transform:
            rotate(-1.5deg);
    }

}


/* =========================================================
   MOBILE S / M
========================================================= */

@media (max-width: 575px) {

    .somniva-hero-visual {

        min-height: 350px;

        padding: 8px;

        margin-top: 10px;
    }

    .somniva-hero-visual > img {

        width: 100%;
        max-width: 100%;

        border-radius: 22px;

        transform:
            rotate(-1deg);
    }

}


/* =========================================================
   VERY SMALL 320px
========================================================= */

@media (max-width: 360px) {

    .somniva-hero-visual {

        min-height: 310px;

        padding: 5px;
    }

    .somniva-hero-visual > img {

        width: 100%;

        border-radius: 18px;

        transform: none;
    }

}

/* =========================================================
   SOMNIVA HOME 1 — FULL-BACKGROUND HERO
   This override intentionally affects ONLY the Home 1 hero.
   The navbar styles and markup remain unchanged.
========================================================= */

.somniva-hero {
    position: relative;
    min-height: calc(100svh - var(--somniva-navbar-height));
    height: max(720px, calc(100svh - var(--somniva-navbar-height)));
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;

    background-image: url("../images/home1.hero.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 68% center;
    background-color: #12082a;
}

.somniva-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5, 2, 16, 0.84) 0%,
            rgba(8, 4, 23, 0.72) 24%,
            rgba(11, 6, 29, 0.42) 43%,
            rgba(11, 6, 29, 0.08) 65%,
            rgba(11, 6, 29, 0) 100%
        );
}

.somniva-hero-content-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
}

.somniva-hero .container {
    position: relative;
    z-index: 5;
}

.somniva-hero-content {
    width: min(650px, 52vw);
    max-width: 650px;
    padding: 55px 0;
    margin: 0;
}

.somniva-hero-eyebrow {
    display: block;
    margin-bottom: 22px;
    color: #e5bdf7;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.4;
}

.somniva-hero-title {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(56px, 5.8vw, 88px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -3px;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.somniva-hero-title span {
    display: block;
    color: #d49aff;
}

.somniva-hero-description {
    max-width: 610px;
    margin: 30px 0 0;
    color: #f1e9f6;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.75;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
}

.somniva-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.somniva-hero-btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 800;
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.somniva-hero-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #7b3fa0, #54206f);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 35px rgba(30, 5, 48, 0.35);
}

.somniva-hero-btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.somniva-hero-btn-secondary {
    color: #ffffff;
    background: rgba(20, 9, 36, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.somniva-hero-btn-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.somniva-hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 34px;
}

.somniva-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.somniva-trust-item i {
    color: #d59cff;
    font-size: 19px;
}

/* The generated artwork already contains the mattress, feathers,
   light ribbons and atmosphere, so the old visual layers are hidden. */
.somniva-hero .somniva-hero-glow,
.somniva-hero .somniva-hero-star,
.somniva-hero .somniva-hero-visual,
.somniva-hero .somniva-hero-bottom-glow {
    display: none !important;
}

/* =========================================================
   LAPTOP-L / LARGE LAPTOP
========================================================= */
@media (min-width: 1200px) {
    .somniva-hero {
        background-position: 69% center;
    }

    .somniva-hero-content {
        width: min(650px, 50vw);
    }
}

/* =========================================================
   LAPTOP — 992px to 1199px
========================================================= */
@media (min-width: 992px) and (max-width: 1199px) {
    .somniva-hero {
        min-height: 680px;
        height: calc(100svh - var(--somniva-navbar-height));
        background-position: 72% center;
    }

    .somniva-hero-content {
        width: min(570px, 55vw);
        padding: 45px 0;
    }

    .somniva-hero-title {
        font-size: clamp(52px, 6vw, 72px);
    }

    .somniva-hero-description {
        max-width: 540px;
        font-size: 18px;
    }
}

/* =========================================================
   TABLET — 768px to 991px
========================================================= */
@media (min-width: 768px) and (max-width: 991px) {
    .somniva-hero {
        min-height: 720px;
        height: 720px;
        align-items: center;
        background-size: cover;
        background-position: 74% center;
    }

    .somniva-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 2, 16, .90) 0%,
                rgba(8, 4, 23, .72) 38%,
                rgba(11, 6, 29, .20) 72%,
                transparent 100%
            );
    }

    .somniva-hero-content {
        width: min(610px, 76vw);
        padding: 40px 0;
    }

    .somniva-hero-title {
        font-size: clamp(50px, 7.5vw, 68px);
    }

    .somniva-hero-description {
        max-width: 560px;
        font-size: 18px;
    }
}

/* =========================================================
   MOBILE-L — 576px to 767px
========================================================= */
@media (min-width: 576px) and (max-width: 767px) {
    .somniva-hero {
        min-height: 720px;
        height: 720px;
        align-items: flex-start;
        background-size: auto 100%;
        background-position: 78% center;
    }

    .somniva-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 2, 16, .94) 0%,
                rgba(8, 4, 23, .84) 34%,
                rgba(11, 6, 29, .35) 62%,
                transparent 100%
            );
    }

    .somniva-hero-content {
        width: min(490px, 78vw);
        padding: 70px 0 30px;
    }

    .somniva-hero-eyebrow {
        margin-bottom: 16px;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .somniva-hero-title {
        font-size: clamp(42px, 9vw, 58px);
        letter-spacing: -2px;
    }

    .somniva-hero-description {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.65;
    }

    .somniva-hero-buttons {
        margin-top: 26px;
    }

    .somniva-hero-trust {
        gap: 12px 18px;
        margin-top: 25px;
    }

    .somniva-trust-item {
        font-size: 12px;
    }
}

/* =========================================================
   MOBILE-M / MOBILE-S — up to 575px
========================================================= */
@media (max-width: 575px) {
    .somniva-hero {
        min-height: 760px;
        height: 760px;
        align-items: flex-start;
        background-size: auto 100%;
        background-position: 80% center;
    }

    .somniva-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 2, 16, .96) 0%,
                rgba(8, 4, 23, .89) 36%,
                rgba(11, 6, 29, .48) 62%,
                rgba(11, 6, 29, .08) 100%
            );
    }

    .somniva-hero-content {
        width: min(430px, 82vw);
        padding: 62px 0 25px;
    }

    .somniva-hero-eyebrow {
        margin-bottom: 15px;
        font-size: 11px;
        letter-spacing: 1.8px;
    }

    .somniva-hero-title {
        font-size: clamp(39px, 12vw, 52px);
        line-height: 1;
        letter-spacing: -1.8px;
    }

    .somniva-hero-description {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .somniva-hero-buttons {
        width: min(100%, 300px);
        flex-direction: column;
        align-items: stretch;
        margin-top: 24px;
    }

    .somniva-hero-btn {
        width: 100%;
        min-height: 52px;
        font-size: 15px;
    }

    .somniva-hero-trust {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .somniva-trust-item {
        font-size: 12px;
    }
}

/* =========================================================
   MOBILE-S — 320px to 375px
========================================================= */
@media (max-width: 375px) {
    .somniva-hero {
        min-height: 740px;
        height: 740px;
        background-position: 81% center;
    }

    .somniva-hero-content {
        width: 84vw;
        padding-top: 55px;
    }

    .somniva-hero-title {
        font-size: 38px;
        letter-spacing: -1.3px;
    }

    .somniva-hero-description {
        font-size: 14px;
    }
}

/* =========================================================
   VERY NARROW DEVICES — 320px and below
========================================================= */
@media (max-width: 330px) {
    .somniva-hero {
        background-position: 82% center;
    }

    .somniva-hero-content {
        width: 86vw;
    }

    .somniva-hero-title {
        font-size: 35px;
    }

    .somniva-hero-description {
        font-size: 13.5px;
    }
}

/* =========================================================
   SOMNIVA HOME 1
   GLOBAL SECTION STYLES
   ========================================================= */

:root {
    --sv-cream: #fbf5e9;
    --sv-ivory: #fffaf1;
    --sv-lavender: #eee5f5;
    --sv-lavender-deep: #dfd0ed;

    --sv-purple: #67338a;
    --sv-purple-dark: #24102f;
    --sv-purple-deep: #13091b;
    --sv-violet: #8b59b8;

    --sv-text: #17111b;
    --sv-muted: #6b6170;
    --sv-line: rgba(35, 20, 44, 0.18);

    --sv-white: #fffafc;

    --sv-ease: cubic-bezier(.22, 1, .36, 1);
    --sv-fast: .35s;
    --sv-normal: .7s;
    --sv-slow: 1.2s;

    --sv-content: min(1240px, 88vw);
}


/* =========================================================
   RESET FOR SOMNIVA CONTENT
   ========================================================= */

.somniva-home,
.sv-footer {
    font-family: inherit;
    color: var(--sv-text);
}

.somniva-home *,
.sv-footer * {
    box-sizing: border-box;
}

.somniva-home img {
    display: block;
    max-width: 100%;
}

.somniva-home button,
.somniva-home input,
.somniva-home textarea,
.somniva-home select {
    font: inherit;
}

.somniva-home a,
.sv-footer a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   MAIN
   ========================================================= */

.somniva-home {
    position: relative;
    overflow: hidden;
    background: var(--sv-cream);
}


/* =========================================================
   SHARED SECTION
   ========================================================= */

.sv-section {
    position: relative;
    min-height: 100vh;
    padding: 130px 0;
    overflow: hidden;
}

.sv-section > *:not(.somniva-feathers) {
    position: relative;
    z-index: 2;
}

.sv-section-number {
    width: var(--sv-content);
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.sv-section-number i {
    width: 55px;
    height: 1px;
    background: currentColor;
    opacity: .35;
}

.sv-eyebrow {
    margin: 0 0 20px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.sv-display-title {
    margin: 0;

    font-size: clamp(48px, 6vw, 92px);
    line-height: .92;
    font-weight: 700;
    letter-spacing: -.055em;
}

.sv-display-title em {
    font-style: italic;
    font-weight: 400;
}

.sv-section-description {
    max-width: 510px;
    margin: 30px 0 0;

    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.7;
    color: var(--sv-muted);
}

.sv-title-center {
    text-align: center;
}

.sv-description-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* =========================================================
   FLOATING ELEMENTS
   ========================================================= */

.somniva-feathers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.sv-section .somniva-feathers {
    position: absolute;
}

.somniva-feather {
    position: absolute;
    display: block;

    font-size: 20px;
    opacity: .3;

    color: var(--sv-purple);

    animation:
        svFloat 7s ease-in-out infinite,
        svRotate 10s linear infinite;
}

.feather-1 {
    top: 12%;
    left: 7%;
}

.feather-2 {
    top: 29%;
    right: 8%;
    animation-delay: -2s;
}

.feather-3 {
    top: 58%;
    left: 12%;
    animation-delay: -4s;
}

.feather-4 {
    top: 74%;
    right: 15%;
    animation-delay: -1s;
}

.feather-5 {
    top: 43%;
    right: 4%;
    animation-delay: -5s;
}

.feather-6 {
    top: 83%;
    left: 5%;
    animation-delay: -3s;
}

.feather-7 {
    top: 18%;
    right: 26%;
    animation-delay: -6s;
}

@keyframes svFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -22px, 0);
    }
}

@keyframes svRotate {
    0% {
        rotate: -8deg;
    }

    50% {
        rotate: 12deg;
    }

    100% {
        rotate: -8deg;
    }
}


/* =========================================================
   SECTION 01 — MATTRESSES
   ========================================================= */

.sv-mattress-showcase {
    background:
        radial-gradient(
            circle at 78% 55%,
            rgba(139, 89, 184, .12),
            transparent 28%
        ),
        var(--sv-cream);
}

.sv-editorial-heading {
    width: var(--sv-content);
    margin: 0 auto;
}

.sv-mattress-slider {
    position: relative;

    width: min(1320px, 94vw);
    min-height: 580px;

    margin: 70px auto 0;

    display: flex;
    align-items: center;
}

.sv-mattress-track {
    position: relative;
    width: 100%;
    min-height: 580px;
}

.sv-mattress-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 1.45fr .7fr;
    gap: 40px;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sv-mattress-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sv-mattress-image {
    position: relative;
    height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-mattress-image::before {
    content: "";
    position: absolute;

    width: 72%;
    height: 72%;

    border-radius: 50%;

    background: rgba(125, 72, 163, .12);
    filter: blur(35px);

    z-index: -1;
}

.sv-mattress-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 35px 30px rgba(40, 20, 50, .18));
}

.sv-mattress-info {
    max-width: 350px;
}

.sv-mattress-info > span {
    display: block;
    margin-bottom: 20px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.sv-mattress-info h3 {
    margin: 0;

    font-size: clamp(40px, 4vw, 62px);
    line-height: .95;
    letter-spacing: -.045em;
}

.sv-mattress-info p {
    margin: 25px 0;

    color: var(--sv-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sv-mattress-info a,
.sv-editorial-link,
.sv-store-direction {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    padding-bottom: 8px;

    border-bottom: 1px solid currentColor;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    transition:
        gap var(--sv-fast) var(--sv-ease),
        opacity var(--sv-fast) ease;
}

.sv-mattress-info a:hover,
.sv-editorial-link:hover,
.sv-store-direction:hover {
    gap: 20px;
    opacity: .7;
}

.sv-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 52px;
    height: 52px;

    border: 1px solid var(--sv-line);
    background: transparent;

    display: grid;
    place-items: center;

    cursor: pointer;

    transition:
        background var(--sv-fast) ease,
        color var(--sv-fast) ease,
        transform var(--sv-fast) var(--sv-ease);
}

.sv-slider-arrow:hover {
    background: var(--sv-purple);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.sv-slider-arrow.sv-prev {
    left: 0;
    transform: translateY(-50%);
}

.sv-slider-arrow.sv-next {
    right: 0;
    transform: translateY(-50%);
}

.sv-slider-arrow.sv-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.sv-slider-arrow.sv-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.sv-progress-line {
    width: 100px;
    height: 1px;
    background: var(--sv-line);
    overflow: hidden;
}

.sv-progress-line span {
    display: block;
    width: 33.33%;
    height: 100%;
    background: var(--sv-purple);
    transition: width .7s var(--sv-ease);
}

.sv-slider-progress {
    width: min(1100px, 80vw);
    margin: 15px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}


/* =========================================================
   SECTION 02 — MATCH
   ========================================================= */

.sv-find-mattress {
    background:
        linear-gradient(
            135deg,
            var(--sv-lavender),
            var(--sv-cream)
        );
}

.sv-match-intro {
    width: var(--sv-content);
    margin: 0 auto;
}

.sv-match-stage {
    width: min(1250px, 92vw);
    min-height: 580px;

    margin: 90px auto 0;

    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    align-items: center;
    gap: 45px;
}

.sv-match-column {
    display: flex;
    flex-direction: column;
}

.sv-match-label {
    margin-bottom: 25px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.sv-match-option,
.sv-size-option {
    position: relative;

    min-height: 72px;

    display: grid;
    grid-template-columns: 35px 1fr 25px;
    align-items: center;
    gap: 12px;

    padding: 15px 0;

    border: 0;
    border-bottom: 1px solid var(--sv-line);

    background: transparent;

    color: inherit;

    text-align: left;
    cursor: pointer;

    transition:
        padding var(--sv-fast) var(--sv-ease),
        color var(--sv-fast) ease;
}

.sv-match-option span,
.sv-size-option span {
    font-size: 10px;
    opacity: .5;
}

.sv-match-option strong,
.sv-size-option strong {
    font-size: 17px;
    font-weight: 600;
}

.sv-match-option i {
    opacity: 0;
    transition: opacity var(--sv-fast) ease;
}

.sv-match-option:hover,
.sv-match-option.is-selected,
.sv-size-option:hover,
.sv-size-option.is-selected {
    padding-left: 12px;
    color: var(--sv-purple);
}

.sv-match-option:hover i,
.sv-match-option.is-selected i {
    opacity: 1;
}

.sv-match-center {
    position: relative;

    height: 500px;

    display: grid;
    place-items: center;
}

.sv-match-orbit {
    position: absolute;

    width: 390px;
    height: 390px;

    border: 1px solid rgba(103, 51, 138, .18);

    border-radius: 50%;

    animation: svOrbit 14s linear infinite;
}

.sv-match-orbit::before,
.sv-match-orbit::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    background: var(--sv-purple);

    border-radius: 50%;
}

.sv-match-orbit::before {
    top: 5%;
    left: 50%;
}

.sv-match-orbit::after {
    right: 7%;
    bottom: 20%;
}

@keyframes svOrbit {
    to {
        rotate: 360deg;
    }
}

.sv-match-product {
    position: relative;

    width: 85%;
    max-width: 480px;

    text-align: center;
}

.sv-match-product img {
    width: 100%;
    height: 310px;

    object-fit: contain;

    filter: drop-shadow(
        0 30px 30px rgba(50, 25, 65, .18)
    );

    transition:
        opacity .35s ease,
        transform .7s var(--sv-ease);
}

.sv-match-product-number {
    position: absolute;
    top: 10px;
    left: 5px;

    font-size: 70px;
    font-weight: 700;

    opacity: .08;
}

.sv-match-product-name {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sv-match-product-name small {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}

.sv-match-product-name strong {
    font-size: 28px;
    letter-spacing: -.03em;
}


/* =========================================================
   SECTION 03 — LAYERS
   ========================================================= */

.sv-comfort-layers {
    min-height: 115vh;

    color: var(--sv-white);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(139, 89, 184, .2),
            transparent 35%
        ),
        var(--sv-purple-deep);
}

.sv-number-light {
    color: rgba(255, 255, 255, .8);
}

.sv-layers-copy {
    width: var(--sv-content);
    margin: 0 auto;
}

.sv-layers-copy .sv-section-description {
    color: rgba(255, 250, 252, .68);
}

.sv-layer-scene {
    position: relative;

    width: min(1000px, 90vw);
    height: 540px;

    margin: 40px auto 0;

    perspective: 1200px;
}

.sv-layer {
    position: absolute;

    left: 50%;

    width: min(680px, 70vw);

    transform: translateX(-50%);

    transition:
        transform 1s var(--sv-ease),
        opacity .8s ease;
}

.sv-layer img {
    width: 100%;
    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 25px rgba(0, 0, 0, .3)
        );
}

.sv-layer span {
    position: absolute;

    right: -60px;
    top: 50%;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;

    opacity: .55;
}

.layer-comfort {
    top: 50px;
}

.layer-cooling {
    top: 145px;
}

.layer-support {
    top: 240px;
}

.layer-core {
    top: 335px;
}

.sv-comfort-layers.is-animated .layer-comfort {
    transform:
        translateX(-50%)
        translateY(-110px)
        rotate(-3deg);
}

.sv-comfort-layers.is-animated .layer-cooling {
    transform:
        translateX(-50%)
        translateY(-35px)
        rotate(2deg);
}

.sv-comfort-layers.is-animated .layer-support {
    transform:
        translateX(-50%)
        translateY(35px)
        rotate(-2deg);
}

.sv-comfort-layers.is-animated .layer-core {
    transform:
        translateX(-50%)
        translateY(110px)
        rotate(3deg);
}

.sv-layer-note {
    width: var(--sv-content);
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 10px;
    letter-spacing: .18em;
}

.sv-layer-note i {
    animation: svArrowFloat 1.4s ease-in-out infinite;
}

@keyframes svArrowFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* =========================================================
   SECTION 04 — BEDDING
   ========================================================= */

.sv-bedding {
    background: var(--sv-ivory);
}

.sv-bedding-layout {
    width: var(--sv-content);
    min-height: 650px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: .75fr 1.25fr;
    align-items: center;
    gap: 90px;
}

.sv-bedding-copy {
    max-width: 470px;
}

.sv-bedding-gallery {
    position: relative;

    height: 620px;
}

.sv-bedding-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .8s ease,
        transform 1s var(--sv-ease);

    transform: translateX(50px);
}

.sv-bedding-slide.is-active {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}

.sv-bedding-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sv-bedding-label {
    position: absolute;

    left: 30px;
    bottom: 30px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 20px 25px;

    background: rgba(255, 250, 241, .85);

    backdrop-filter: blur(10px);
}

.sv-bedding-label span {
    font-size: 10px;
    font-weight: 800;
}

.sv-bedding-label strong {
    font-size: 24px;
    letter-spacing: -.03em;
}

.sv-bedding-prev,
.sv-bedding-next {
    position: absolute;
    bottom: 0;

    width: 55px;
    height: 55px;

    border: 1px solid rgba(255, 255, 255, .6);

    background: rgba(35, 15, 45, .8);
    color: white;

    cursor: pointer;

    transition:
        background var(--sv-fast) ease,
        transform var(--sv-fast) var(--sv-ease);
}

.sv-bedding-prev {
    right: 70px;
}

.sv-bedding-next {
    right: 0;
}

.sv-bedding-prev:hover,
.sv-bedding-next:hover {
    background: var(--sv-purple);
    transform: translateY(-5px);
}

.sv-floating-accessory {
    position: absolute;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: var(--sv-purple);

    border: 1px solid rgba(103, 51, 138, .18);

    animation: svAccessoryFloat 5s ease-in-out infinite;
}

.accessory-one {
    top: 25%;
    left: 4%;
}

.accessory-two {
    bottom: 18%;
    right: 5%;
    animation-delay: -2s;
}

@keyframes svAccessoryFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-18px) rotate(5deg);
    }
}


/* =========================================================
   SECTION 05 — SLEEP TIPS
   ========================================================= */

.sv-sleep-tips {
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(139, 89, 184, .14),
            transparent 30%
        ),
        var(--sv-lavender);
}

.sv-sleep-heading {
    width: var(--sv-content);
    margin: 0 auto;
}

.sv-tips-slider {
    width: min(1100px, 88vw);

    margin: 80px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    gap: 80px;
}

.sv-tip-image {
    position: relative;

    height: 530px;
}

.sv-tip-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        opacity .45s ease,
        transform .9s var(--sv-ease);
}

.sv-tip-number {
    position: absolute;

    right: -30px;
    bottom: -30px;

    width: 110px;
    height: 110px;

    display: grid;
    place-items: center;

    background: var(--sv-purple);
    color: white;

    font-size: 28px;
    font-weight: 700;
}

.sv-tip-content {
    max-width: 470px;
}

.sv-tip-kicker {
    display: block;
    margin-bottom: 18px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.sv-tip-content h3 {
    margin: 0;

    font-size: clamp(38px, 4vw, 60px);
    line-height: .98;
    letter-spacing: -.045em;
}

.sv-tip-content p {
    margin: 25px 0;

    color: var(--sv-muted);

    font-size: 17px;
    line-height: 1.7;
}

.sv-tip-navigation {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 45px;
}

.sv-tip-navigation button {
    width: 45px;
    height: 45px;

    border: 1px solid var(--sv-line);

    background: transparent;

    cursor: pointer;

    transition:
        background var(--sv-fast) ease,
        color var(--sv-fast) ease;
}

.sv-tip-navigation button:hover {
    background: var(--sv-purple);
    color: white;
}

.sv-tip-line {
    width: 120px;
    height: 1px;
    background: var(--sv-line);
}

.sv-tip-line span {
    display: block;

    width: 16.66%;
    height: 100%;

    background: var(--sv-purple);

    transition: width .7s var(--sv-ease);
}


/* =========================================================
   SECTION 06 — TRIAL
   ========================================================= */

.sv-trial {
    min-height: 95vh;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(139, 89, 184, .1),
            transparent 34%
        ),
        var(--sv-cream);
}

.sv-trial-content {
    width: min(950px, 90vw);

    margin: 50px auto 0;

    text-align: center;
}

.sv-trial-number {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 18px;

    margin: 30px 0;

    color: var(--sv-purple);
}

.sv-number-prefix,
.sv-number-suffix {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2em;
}

.sv-trial-number strong {
    font-size: clamp(150px, 20vw, 300px);
    line-height: .8;

    letter-spacing: -.09em;
}

.sv-trial-title {
    margin: 25px 0 0;

    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -.045em;
}

.sv-trial-title em {
    font-weight: 400;
}

.sv-trial-description {
    max-width: 600px;

    margin: 25px auto;

    color: var(--sv-muted);

    font-size: 17px;
    line-height: 1.7;
}

.sv-trial-content .sv-editorial-link {
    margin-top: 15px;
}

.sv-trial-mark {
    position: absolute;

    left: 4%;
    bottom: 12%;

    display: flex;
    flex-direction: column;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;

    opacity: .25;
}


/* =========================================================
   SECTION 07 — DELIVERY
   ========================================================= */

.sv-delivery {
    background:
        linear-gradient(
            140deg,
            var(--sv-lavender),
            var(--sv-cream)
        );
}

.sv-delivery-intro {
    width: var(--sv-content);
    margin: 0 auto;
}

.sv-delivery-journey {
    position: relative;

    width: min(1200px, 90vw);

    margin: 100px auto 0;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.sv-delivery-line {
    position: absolute;

    top: 34px;
    left: 5%;
    right: 5%;

    height: 1px;

    background: var(--sv-line);
}

.sv-delivery-progress {
    display: block;

    width: 0;
    height: 100%;

    background: var(--sv-purple);

    transition: width 1.8s var(--sv-ease);
}

.sv-delivery-journey.is-active .sv-delivery-progress {
    width: 100%;
}

.sv-delivery-stage {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;
}

.sv-delivery-icon {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    background: var(--sv-cream);

    border: 1px solid var(--sv-line);

    font-size: 21px;

    transition:
        background var(--sv-fast) ease,
        color var(--sv-fast) ease,
        transform var(--sv-fast) var(--sv-ease);
}

.sv-delivery-stage:hover .sv-delivery-icon {
    background: var(--sv-purple);
    color: white;
    transform: translateY(-7px);
}

.sv-delivery-stage > span {
    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 800;
    opacity: .5;
}

.sv-delivery-stage strong {
    font-size: 12px;
    letter-spacing: .08em;
}

.sv-delivery-stage small {
    margin-top: 8px;

    font-size: 12px;
    color: var(--sv-muted);
}

.sv-delivery-image {
    width: min(900px, 85vw);
    height: 330px;

    margin: 100px auto 0;

    position: relative;
}

.sv-delivery-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sv-delivery-caption {
    position: absolute;

    right: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px 20px;

    background: rgba(255, 250, 241, .85);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}


/* =========================================================
   SECTION 08 — STORE VISIT
   IMPORTANT:
   DIFFERENT FROM FOOTER COLOR
   CENTER-ALIGNED MAIN HEADING
   ========================================================= */

.sv-store-visit {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(139, 89, 184, .12),
            transparent 30%
        ),
        #e9ddf0;

    color: var(--sv-text);
}

.sv-store-heading {
    width: min(900px, 90vw);

    margin: 0 auto;

    text-align: center;
}

.sv-store-layout {
    width: min(1150px, 90vw);

    margin: 80px auto 0;

    display: grid;
    grid-template-columns: .8fr 1.2fr;

    gap: 100px;

    align-items: start;
}

.sv-store-information {
    padding-top: 20px;
}

.sv-store-line {
    padding: 20px 0;

    display: flex;
    flex-direction: column;
    gap: 7px;

    border-bottom: 1px solid var(--sv-line);
}

.sv-store-line span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;

    opacity: .55;
}

.sv-store-line strong {
    font-size: 18px;
    font-weight: 600;
}

.sv-store-direction {
    margin-top: 30px;
}

.sv-visit-form-wrap {
    padding: 35px 0 0;
}

.sv-form-heading {
    margin-bottom: 35px;
}

.sv-form-heading span {
    display: block;
    margin-bottom: 12px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}

.sv-form-heading h3 {
    margin: 0;

    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.045em;
}

.sv-visit-form {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.sv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.sv-form-field {
    display: flex;
    flex-direction: column;
}

.sv-form-field label {
    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.sv-form-field input,
.sv-form-field textarea,
.sv-form-field select {
    width: 100%;

    padding: 13px 0;

    border: 0;
    border-bottom: 1px solid rgba(35, 20, 44, .28);

    outline: none;

    background: transparent;

    color: inherit;

    border-radius: 0;

    resize: vertical;

    transition:
        border-color var(--sv-fast) ease;
}

.sv-form-field input:focus,
.sv-form-field textarea:focus,
.sv-form-field select:focus {
    border-bottom-color: var(--sv-purple);
}

.sv-form-field input::placeholder,
.sv-form-field textarea::placeholder {
    color: var(--sv-muted);
}

.sv-submit-button {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 16px 0;

    border: 0;
    border-bottom: 1px solid currentColor;

    background: transparent;

    color: inherit;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        gap var(--sv-fast) var(--sv-ease),
        color var(--sv-fast) ease;
}

.sv-submit-button:hover {
    gap: 23px;
    color: var(--sv-purple);
}

.sv-form-message {
    min-height: 18px;

    margin: 0;

    font-size: 12px;
    color: var(--sv-purple);
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.sv-back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 999;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border: 1px solid var(--sv-line);

    background: var(--sv-purple);
    color: white;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity .4s ease,
        visibility .4s ease,
        transform .5s var(--sv-ease);
}

.sv-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sv-back-top:hover {
    transform: translateY(-5px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.sv-footer {
    position: relative;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(139, 89, 184, .18),
            transparent 25%
        ),
        var(--sv-purple-deep);

    color: var(--sv-white);

    padding: 95px 0 25px;

    overflow: hidden;
}

.sv-footer-top {
    width: min(1380px, 92vw);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.4fr
        .8fr
        .8fr
        .8fr
        1.5fr;

    gap: 50px;
}

.sv-footer-brand {
    display: flex;
    flex-direction: column;
}

.sv-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-size: 23px;
    font-weight: 800;
    letter-spacing: .08em;
}

.sv-footer-logo i {
    color: #c99ee8;
}

.sv-footer-brand p {
    margin: 35px 0 20px;

    font-size: clamp(30px, 3vw, 45px);
    line-height: 1;
    letter-spacing: -.045em;
}

.sv-footer-tagline {
    color: rgba(255, 250, 252, .5);

    font-size: 12px;
}

.sv-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sv-footer-label {
    display: block;

    margin-bottom: 25px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;

    color: rgba(255, 250, 252, .5);
}

.sv-footer-column a {
    margin-bottom: 13px;

    color: rgba(255, 250, 252, .78);

    font-size: 13px;

    transition:
        color var(--sv-fast) ease,
        transform var(--sv-fast) var(--sv-ease);
}

.sv-footer-column a:hover {
    color: white;
    transform: translateX(5px);
}

.sv-footer-newsletter h3 {
    margin: 0 0 30px;

    font-size: clamp(27px, 2.5vw, 40px);
    line-height: 1;
    letter-spacing: -.045em;
}

.sv-newsletter-form label {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;
    letter-spacing: .15em;
    font-weight: 800;
}

.sv-newsletter-input {
    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.sv-newsletter-input input {
    flex: 1;

    min-width: 0;

    padding: 13px 0;

    border: 0;
    outline: none;

    background: transparent;
    color: white;
}

.sv-newsletter-input input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.sv-newsletter-input button {
    width: 45px;
    height: 45px;

    border: 0;

    background: transparent;
    color: white;

    cursor: pointer;

    transition:
        transform var(--sv-fast) var(--sv-ease);
}

.sv-newsletter-input button:hover {
    transform: translate(5px, -5px);
}

.sv-newsletter-message {
    min-height: 18px;

    margin-top: 10px;

    font-size: 11px;

    color: #d5b3ea;
}

.sv-footer-middle {
    width: min(1380px, 92vw);

    margin: 80px auto 40px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, .12);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sv-footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sv-footer-social > span {
    margin-right: 10px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;

    color: rgba(255, 255, 255, .45);
}

.sv-footer-social a {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .18);

    transition:
        background var(--sv-fast) ease,
        transform var(--sv-fast) var(--sv-ease);
}

.sv-footer-social a:hover {
    background: var(--sv-purple);
    transform: translateY(-5px);
}

.sv-footer-mark {
    font-size: 30px;
    color: #c99ee8;
}

.sv-footer-bottom {
    width: min(1380px, 92vw);

    margin: 0 auto;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: rgba(255, 255, 255, .4);

    font-size: 10px;
}

.sv-footer-bottom div {
    display: flex;
    gap: 25px;
}

.sv-footer-bottom a:hover {
    color: white;
}


/* =========================================================
   REVEAL STATES
   ========================================================= */

.reveal-left,
.reveal-right,
.reveal-up,
.reveal-scale,
.reveal-fade {
    will-change: transform, opacity;
}


/* =========================================================
   RESPONSIVE — LARGE LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .sv-section {
        padding: 110px 0;
    }

    .sv-mattress-slide {
        grid-template-columns: 1.25fr .75fr;
    }

    .sv-store-layout {
        gap: 60px;
    }

    .sv-footer-top {
        grid-template-columns:
            1.3fr
            .8fr
            .8fr
            .8fr;
    }

    .sv-footer-newsletter {
        grid-column: 1 / -1;

        max-width: 600px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1023px) {

    .sv-section {
        min-height: auto;
        padding: 90px 0;
    }

    .sv-section-number {
        margin-bottom: 45px;
    }

    .sv-display-title {
        font-size: clamp(45px, 8vw, 70px);
    }

    .sv-mattress-slider {
        min-height: 650px;
    }

    .sv-mattress-track {
        min-height: 650px;
    }

    .sv-mattress-slide {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .sv-mattress-image {
        height: 390px;
    }

    .sv-mattress-info {
        max-width: 520px;
        margin: 0 auto;
    }

    .sv-mattress-info p {
        margin: 15px 0;
    }

    .sv-match-stage {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sv-match-center {
        order: -1;
        height: 430px;
    }

    .sv-match-column {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }

    .sv-bedding-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .sv-bedding-copy {
        max-width: 650px;
    }

    .sv-bedding-gallery {
        height: 540px;
    }

    .sv-tips-slider {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sv-tip-image {
        height: 450px;
    }

    .sv-tip-content {
        max-width: 650px;
    }

    .sv-delivery-journey {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 60px;
    }

    .sv-delivery-line {
        display: none;
    }

    .sv-store-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .sv-store-information {
        max-width: 650px;
        margin: auto;
        width: 100%;
    }

    .sv-visit-form-wrap {
        width: 100%;
        max-width: 700px;
        margin: auto;
    }

    .sv-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .sv-footer-brand,
    .sv-footer-newsletter {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE LARGE
   ========================================================= */

@media (max-width: 767px) {

    :root {
        --sv-content: 88vw;
    }

    .sv-section {
        padding: 75px 0;
    }

    .sv-section-number {
        margin-bottom: 38px;

        font-size: 9px;
    }

    .sv-section-number i {
        width: 35px;
    }

    .sv-eyebrow {
        font-size: 9px;
        letter-spacing: .16em;
    }

    .sv-display-title {
        font-size: clamp(40px, 12vw, 57px);
    }

    .sv-section-description {
        font-size: 15px;
        line-height: 1.65;
    }


    /* mattress */

    .sv-mattress-slider {
        width: 94vw;
        min-height: 590px;
        margin-top: 45px;
    }

    .sv-mattress-track {
        min-height: 590px;
    }

    .sv-mattress-image {
        height: 300px;
    }

    .sv-mattress-info h3 {
        font-size: 42px;
    }

    .sv-slider-arrow {
        width: 42px;
        height: 42px;
    }

    .sv-slider-arrow.sv-prev {
        left: 5px;
    }

    .sv-slider-arrow.sv-next {
        right: 5px;
    }

    .sv-slider-progress {
        width: 70vw;
    }


    /* match */

    .sv-match-stage {
        margin-top: 50px;
    }

    .sv-match-center {
        height: 330px;
    }

    .sv-match-orbit {
        width: 250px;
        height: 250px;
    }

    .sv-match-product img {
        height: 210px;
    }

    .sv-match-product-name strong {
        font-size: 22px;
    }

    .sv-match-option,
    .sv-size-option {
        min-height: 60px;
    }


    /* layers */

    .sv-comfort-layers {
        min-height: 850px;
    }

    .sv-layer-scene {
        height: 430px;
        margin-top: 30px;
    }

    .sv-layer {
        width: 88vw;
    }

    .layer-comfort {
        top: 35px;
    }

    .layer-cooling {
        top: 105px;
    }

    .layer-support {
        top: 175px;
    }

    .layer-core {
        top: 245px;
    }

    .sv-layer span {
        right: 0;
        font-size: 8px;
    }


    /* bedding */

    .sv-bedding-gallery {
        height: 430px;
    }

    .sv-bedding-label {
        left: 15px;
        bottom: 15px;
        padding: 15px 18px;
    }

    .sv-bedding-label strong {
        font-size: 18px;
    }


    /* tips */

    .sv-tips-slider {
        width: 90vw;
        margin-top: 50px;
    }

    .sv-tip-image {
        height: 360px;
    }

    .sv-tip-number {
        right: 15px;
        bottom: -15px;

        width: 75px;
        height: 75px;

        font-size: 20px;
    }

    .sv-tip-content h3 {
        font-size: 40px;
    }


    /* trial */

    .sv-trial-number {
        gap: 8px;
    }

    .sv-number-prefix,
    .sv-number-suffix {
        font-size: 9px;
    }

    .sv-trial-number strong {
        font-size: clamp(110px, 30vw, 180px);
    }

    .sv-trial-title {
        font-size: 35px;
    }


    /* delivery */

    .sv-delivery-journey {
        grid-template-columns: 1fr 1fr;
        margin-top: 60px;
    }

    .sv-delivery-image {
        width: 90vw;
        height: 280px;
        margin-top: 65px;
    }


    /* store */

    .sv-store-heading {
        width: 88vw;
    }

    .sv-store-layout {
        width: 88vw;
        margin-top: 55px;
    }

    .sv-form-row {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .sv-submit-button {
        width: 100%;
        justify-content: space-between;
    }


    /* footer */

    .sv-footer {
        padding-top: 70px;
    }

    .sv-footer-top {
        width: 88vw;
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
    }

    .sv-footer-brand,
    .sv-footer-newsletter {
        grid-column: 1 / -1;
    }

    .sv-footer-brand p {
        font-size: 38px;
    }

    .sv-footer-middle {
        width: 88vw;
        margin-top: 60px;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .sv-footer-bottom {
        width: 88vw;
        flex-direction: column;
    }

    .sv-footer-bottom div {
        flex-wrap: wrap;
        gap: 15px;
    }

    .sv-back-top {
        right: 15px;
        bottom: 15px;

        width: 46px;
        height: 46px;
    }

    .somniva-feather {
        font-size: 15px;
    }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (max-width: 425px) {

    .sv-section {
        padding: 65px 0;
    }

    .sv-display-title {
        font-size: 39px;
    }

    .sv-mattress-slider {
        min-height: 555px;
    }

    .sv-mattress-track {
        min-height: 555px;
    }

    .sv-mattress-image {
        height: 260px;
    }

    .sv-mattress-info h3 {
        font-size: 37px;
    }

    .sv-mattress-info p {
        font-size: 14px;
    }

    .sv-match-center {
        height: 285px;
    }

    .sv-match-orbit {
        width: 210px;
        height: 210px;
    }

    .sv-match-product img {
        height: 180px;
    }

    .sv-layer-scene {
        height: 350px;
    }

    .sv-layer {
        width: 95vw;
    }

    .sv-bedding-gallery {
        height: 350px;
    }

    .sv-tip-image {
        height: 300px;
    }

    .sv-tip-content h3 {
        font-size: 35px;
    }

    .sv-delivery-journey {
        grid-template-columns: 1fr;
    }

    .sv-delivery-stage {
        align-items: flex-start;
        text-align: left;
    }

    .sv-delivery-icon {
        margin-bottom: 10px;
    }

    .sv-footer-top {
        grid-template-columns: 1fr;
    }

    .sv-footer-brand,
    .sv-footer-newsletter {
        grid-column: auto;
    }

    .sv-footer-column {
        border-top: 1px solid rgba(255,255,255,.08);
        padding-top: 25px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   SOMNIVA HOME 1
   NEW SECTIONS + FOOTER ONLY
   ISOLATED NAMESPACE: svh1-
========================================================= */


/* =========================================================
   COMMON
========================================================= */

.svh1-section,
.svh1-footer,
.svh1-back-top {
    font-family: inherit;
}

.svh1-section *,
.svh1-footer *,
.svh1-back-top {
    box-sizing: border-box;
}


.svh1-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;

    background: var(--somniva-cream);
    color: var(--somniva-text);
}


.svh1-wrap {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
}


.svh1-heading {
    max-width: 760px;
    margin-bottom: 65px;
}


.svh1-heading-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}


.svh1-label {
    display: inline-block;
    margin-bottom: 20px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}


.svh1-heading h2,
.svh1-contact-heading h2,
.svh1-policy-content h2 {
    margin: 0 0 22px;

    color: var(--somniva-ink);

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.15;

    letter-spacing: -1.5px;
}


.svh1-heading h2 span,
.svh1-contact-heading h2 span,
.svh1-policy-content h2 span {
    color: var(--somniva-purple);
}


.svh1-heading p,
.svh1-contact-heading > p,
.svh1-policy-content > p {
    max-width: 650px;
    margin: 0;

    color: var(--somniva-muted);

    font-size: 17px;
    line-height: 1.7;
}


.svh1-heading-center p {
    margin-right: auto;
    margin-left: auto;
}


.svh1-bedding-section .svh1-heading {
    max-width: 100%;
    margin-bottom: 42px;
    text-align: center;
}


.svh1-bedding-section .svh1-heading h2,
.svh1-bedding-section .svh1-heading p {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}


.svh1-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 25px;

    color: var(--somniva-purple);

    font-size: 16px;
    font-weight: 800;

    border-bottom: 1px solid
        rgba(101, 53, 138, 0.35);

    transition:
        gap var(--somniva-transition),
        color var(--somniva-transition);
}


.svh1-text-link:hover {
    gap: 14px;
    color: var(--somniva-purple-dark);
}


.svh1-slider-button {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    color: var(--somniva-purple);

    background: transparent;

    border: 1px solid var(--somniva-border);
    border-radius: 50%;

    cursor: pointer;

    transition:
        color var(--somniva-transition),
        background var(--somniva-transition),
        border-color var(--somniva-transition),
        transform var(--somniva-transition);
}


.svh1-slider-button:hover {
    color: #ffffff;

    background: var(--somniva-purple);

    border-color: var(--somniva-purple);

    transform: translateY(-2px);
}


/* =========================================================
   SECTION 1
   TOP MATTRESSES
========================================================= */

.svh1-mattresses-section {
    background: var(--somniva-cream-light);
}


.svh1-mattress-showcase {
    position: relative;

    display: flex;
    align-items: center;

    gap: 30px;
}


.svh1-mattress-track {
    position: relative;

    width: 100%;
    min-height: 510px;

    overflow: hidden;
}


.svh1-mattress-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transform: translateX(40px);

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.65s ease;
}


.svh1-mattress-slide.is-active {
  

    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


.svh1-mattress-copy {
    position: relative;
    z-index: 2;

    padding-right: 35px;
}


.svh1-mattress-copy > span,
.svh1-bedding-copy > span,
.svh1-tip-content > span {
    display: block;
    margin-bottom: 15px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.svh1-mattress-copy h3 {
    margin: 0 0 18px;

    color: var(--somniva-ink);

    font-size: clamp(35px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.1;
}


.svh1-mattress-copy p {
    max-width: 410px;
    margin: 0;

    color: var(--somniva-muted);

    font-size: 17px;
    line-height: 1.7;
}


.svh1-mattress-image {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.svh1-mattress-image::before {
    content: "";

    position: absolute;

    width: 75%;
    aspect-ratio: 1;

    background:
        radial-gradient(
            circle,
            rgba(101, 53, 138, 0.16),
            transparent 68%
        );

    border-radius: 50%;
}


.svh1-mattress-image img {
    position: relative;
    z-index: 1;

    width: min(600px, 100%);

    max-height: 450px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 35px rgba(54, 34, 65, 0.18)
        );

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


.svh1-mattress-slide.is-active
.svh1-mattress-image img:hover {
    transform:
        translateY(-10px)
        rotate(-1deg);

    filter:
        drop-shadow(
            0 35px 45px rgba(54, 34, 65, 0.24)
        );
}


.svh1-slider-progress {
    display: flex;
    gap: 8px;

    margin-top: 25px;
}


.svh1-progress-line {
    width: 55px;
    height: 2px;

    background: var(--somniva-border);

    transition:
        width 0.4s ease,
        background 0.4s ease;
}


.svh1-progress-line.is-active {
    width: 90px;

    background: var(--somniva-purple);
}


/* =========================================================
   SECTION 2
   MATTRESS MATCH
========================================================= */

.svh1-match-section {
    background: var(--somniva-cream);
}


.svh1-match-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;

    min-height: 440px;

    border-top: 1px solid var(--somniva-border);
    border-bottom: 1px solid var(--somniva-border);
}


.svh1-match-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.svh1-match-types {
    padding-right: 60px;
}


.svh1-match-sizes {
    padding-left: 60px;
}


.svh1-match-title {
    margin-bottom: 20px;

    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.svh1-match-option {
    width: 100%;

    position: relative;

    padding: 10px 0;

    color: var(--somniva-text);

    background: transparent;

    font-size: 17px;
    font-weight: 700;

    text-align: center;

    cursor: pointer;

    transition:
        color var(--somniva-transition),
        transform var(--somniva-transition);
}


.svh1-match-option::before {
    content: "";

    position: absolute;

    left: -20px;
    top: 50%;

    width: 5px;
    height: 5px;

    background: var(--somniva-purple);

    border-radius: 50%;

    opacity: 0;

    transform: translateY(-50%);

    transition: opacity var(--somniva-transition);
}


.svh1-match-option:hover,
.svh1-match-option.is-active {
    color: var(--somniva-purple);
}


.svh1-match-option.is-active::before {
    opacity: 0;
}


.svh1-match-result {
    min-height: 440px;

    display: grid;
    place-items: center;

    text-align: center;

    perspective: 1000px;
}


.svh1-match-result-inner {
    width: 100%;

    padding: 45px 30px;

    border-left: 1px solid var(--somniva-border);
    border-right: 1px solid var(--somniva-border);

    transform-style: preserve-3d;
}


.svh1-match-result-inner > span {
    display: block;

    margin-bottom: 15px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}


.svh1-match-result-inner strong {
    display: block;

    margin-bottom: 20px;

    color: var(--somniva-ink);

    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 800;
}


.svh1-match-result-inner p {
    max-width: 360px;

    margin: 0 auto 25px;

    color: var(--somniva-muted);

    font-size: 17px;
}


.svh1-match-result-inner i {
    color: var(--somniva-purple);

    font-size: 34px;
}


/* =========================================================
   SECTION 3
   INSIDE COMFORT
========================================================= */

.svh1-layers-section {
    background:
        linear-gradient(
            135deg,
            var(--somniva-purple-dark),
            #24132f
        );

    color: #ffffff;
}


.svh1-layers-section
.svh1-heading h2 {
    color: #ffffff;
}


.svh1-layers-section
.svh1-heading p {
    color: rgba(255, 255, 255, 0.72);
}


.svh1-layers-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;

    gap: 80px;
}


.svh1-layers-visual {
    min-height: 560px;

    display: grid;
    place-items: center;

    position: relative;
}


.svh1-layer-image {
    width: 100%;

    display: grid;
    place-items: center;
}


.svh1-layer-image img {
    width: min(650px, 100%);

    object-fit: contain;

    filter:
        drop-shadow(
            0 30px 45px rgba(0, 0, 0, 0.25)
        );

    transition:
        transform 0.8s ease;
}


.svh1-layers-layout:hover
.svh1-layer-image img {
    transform:
        translateY(-8px)
        scale(1.02);
}


.svh1-layer-list {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}


.svh1-layer-item {
    display: grid;
    grid-template-columns: 50px 1fr;

    gap: 15px;

    padding: 25px 0;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.16);

    transition:
        padding-left 0.35s ease,
        background 0.35s ease;
}


.svh1-layer-item > span {
    color: var(--somniva-purple-light);

    font-size: 13px;
    font-weight: 800;
}


.svh1-layer-item h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 800;
}


.svh1-layer-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
    line-height: 1.6;
}


.svh1-layer-item:hover {
    padding-left: 10px;
}


/* =========================================================
   SECTION 4
   BEDDING
========================================================= */

.svh1-bedding-section {
    background: var(--somniva-cream-soft);
}


.svh1-bedding-slider {
    position: relative;
}


.svh1-bedding-track {
    position: relative;

    min-height: 560px;

    overflow: hidden;
}


.svh1-bedding-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;

    gap: 60px;

    opacity: 0;
    visibility: hidden;

    transform: translateX(40px);

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.65s ease;
}


.svh1-bedding-slide.is-active {
    

    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


.svh1-bedding-image {
    position: relative;

    min-height: 510px;

    display: grid;
    place-items: center;
}


.svh1-bedding-image img {
    width: 100%;
    height: 510px;

    object-fit: cover;

    filter:
        drop-shadow(
            0 25px 35px rgba(54, 34, 65, 0.12)
        );

    transition:
        transform 0.6s ease;
}


.svh1-bedding-slide:hover
.svh1-bedding-image img {
    transform:
        translateY(-8px)
        scale(1.015);
}


.svh1-bedding-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-right: 45px;
}


.svh1-bedding-copy h3 {
    max-width: 450px;

    margin: 0;

    color: var(--somniva-ink);

    font-size: clamp(35px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.12;
}


.svh1-bedding-copy .somniva-hero-btn {
    margin-top: 6px;
}


.svh1-bedding-controls {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 25px;
}


.svh1-bedding-counter {
    color: var(--somniva-muted);

    font-size: 15px;
    font-weight: 700;
}


.svh1-bedding-counter strong {
    color: var(--somniva-purple);

    font-size: 17px;
}


/* =========================================================
   SECTION 5
   SLEEP TIPS
========================================================= */

.svh1-tips-section {
    background: var(--somniva-cream-light);
}


.svh1-tips-slider {
    position: relative;
}


.svh1-tips-track {
    position: relative;

    min-height: 530px;

    overflow: hidden;
}


.svh1-tip-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    gap: 70px;

    opacity: 0;
    visibility: hidden;

    transform: translateX(45px);

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.65s ease;
}


.svh1-tip-slide.is-active {
    
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


.svh1-tip-image {
    min-height: 500px;
}


.svh1-tip-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;

    filter:
        drop-shadow(
            0 22px 35px rgba(54, 34, 65, 0.14)
        );
}


.svh1-tip-content > span {
    margin-bottom: 20px;
}


.svh1-tip-content h3 {
    max-width: 500px;

    margin: 0 0 20px;

    color: var(--somniva-ink);

    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.1;
}


.svh1-tip-content p {
    max-width: 470px;

    margin: 0;

    color: var(--somniva-muted);

    font-size: 17px;
}


.svh1-tips-controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    margin-top: 25px;
}


.svh1-tips-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}


.svh1-tips-dots button {
    width: 7px;
    height: 7px;

    padding: 0;

    background: var(--somniva-border);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}


.svh1-tips-dots button.is-active {
    width: 30px;

    border-radius: 10px;

    background: var(--somniva-purple);
}


/* =========================================================
   SECTION 6
   POLICY
========================================================= */

.svh1-policy-section {
    background: var(--somniva-cream);
}


.svh1-policy-content {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


.svh1-policy-content > p {
    margin-right: auto;
    margin-left: auto;
}


.svh1-policy-line {
    width: 100%;
    height: 1px;

    margin: 45px 0;

    background: var(--somniva-border);
}


.svh1-policy-content .somniva-hero-btn {
    margin-top: 28px;
}


.svh1-policy-points {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 55px;

    flex-wrap: wrap;
}


.svh1-policy-points div {
    display: flex;
    align-items: center;
    gap: 10px;
}


.svh1-policy-points i {
    color: var(--somniva-purple);

    font-size: 20px;
}


.svh1-policy-points span {
    color: var(--somniva-text);

    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
   SECTION 7
   DELIVERY
========================================================= */

.svh1-delivery-section {
    background: var(--somniva-cream-soft);
}


.svh1-delivery-journey {
    position: relative;

    display: grid;
    grid-template-columns:
        repeat(5, 1fr);

    gap: 25px;

    padding-top: 80px;
}


.svh1-delivery-line {
    position: absolute;

    top: 35px;
    left: 10%;
    right: 10%;

    height: 1px;

    background: var(--somniva-border);
}


.svh1-delivery-line::before {
    content: "";

    position: absolute;

    inset: 0;

    transform: scaleX(0);
    transform-origin: left;

    background: var(--somniva-purple);

    transition:
        transform 1.3s ease;
}


.svh1-delivery-journey.is-visible
.svh1-delivery-line::before {
    transform: scaleX(1);
}


.svh1-delivery-traveller {
    position: absolute;

    left: 0;
    top: 19px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background: var(--somniva-purple);

    border-radius: 50%;

    box-shadow:
        0 8px 20px rgba(101, 53, 138, 0.25);

    z-index: 3;

    opacity: 0;

    transition:
        left 1.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.4s ease;
}


.svh1-delivery-journey.is-visible
.svh1-delivery-traveller {
    left: calc(100% - 34px);

    opacity: 1;
}


.svh1-delivery-stage {
    position: relative;

    text-align: center;
}


.svh1-stage-number {
    display: block;

    margin-bottom: 15px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;
}


.svh1-delivery-stage > i {
    display: block;

    margin-bottom: 18px;

    color: var(--somniva-purple);

    font-size: 28px;
}


.svh1-delivery-stage h3 {
    margin: 0 0 8px;

    color: var(--somniva-ink);

    font-size: 20px;
    font-weight: 800;
}


.svh1-delivery-stage p {
    margin: 0;

    color: var(--somniva-muted);

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   SECTION 8
   STORE VISIT
========================================================= */

.svh1-contact-section {
    background: var(--somniva-cream-light);
}


.svh1-contact-heading {
    max-width: 850px;

    margin: 0 auto 65px;

    text-align: center;
}


.svh1-contact-heading > p {
    margin-right: auto;
    margin-left: auto;
}


.svh1-contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    padding-top: 50px;

    border-top: 1px solid var(--somniva-border);
}


.svh1-store-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}


.svh1-detail-line {
    display: grid;
    grid-template-columns: 35px 1fr;

    gap: 15px;
}


.svh1-detail-line > i {
    color: var(--somniva-purple);

    font-size: 21px;
}


.svh1-detail-line span {
    display: block;

    margin-bottom: 6px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.svh1-detail-line p {
    margin: 0;

    color: var(--somniva-text);

    font-size: 16px;
}


.svh1-visit-form {
    width: 100%;
}


.svh1-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 35px;
}


.svh1-form-field {
    margin-bottom: 30px;
}


.svh1-form-field label {
    display: block;

    margin-bottom: 9px;

    color: var(--somniva-text);

    font-size: 14px;
    font-weight: 800;
}


.svh1-form-field input,
.svh1-form-field select,
.svh1-form-field textarea {
    width: 100%;

    padding: 12px 0;

    color: var(--somniva-text);

    background: transparent;

    font-size: 16px;

    border: 0;
    border-bottom: 1px solid var(--somniva-border);

    border-radius: 0;

    outline: none;

    transition:
        border-color var(--somniva-transition);
}


.svh1-form-field input::placeholder,
.svh1-form-field textarea::placeholder {
    color: var(--somniva-muted);
    opacity: 0.75;
}


.svh1-form-field input:focus,
.svh1-form-field select:focus,
.svh1-form-field textarea:focus {
    border-bottom-color: var(--somniva-purple);
}


.svh1-form-field textarea {
    resize: vertical;
}


.svh1-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 0;

    color: var(--somniva-purple);

    background: transparent;

    font-size: 16px;
    font-weight: 800;

    border-bottom: 1px solid var(--somniva-purple);

    cursor: pointer;

    transition:
        gap var(--somniva-transition),
        color var(--somniva-transition);
}


.svh1-form-submit:hover {
    gap: 15px;

    color: var(--somniva-purple-dark);
}


.svh1-form-status,
.svh1-newsletter-status {
    min-height: 22px;

    margin: 12px 0 0;

    color: var(--somniva-purple);

    font-size: 14px;
}


/* =========================================================
   FOOTER
========================================================= */

.svh1-footer {
    position: relative;

    width: 100%;

    padding: 80px 0 25px;

    color: #ffffff;

    background: var(--somniva-purple-dark);

    overflow: hidden;
}


.svh1-footer-main {
    width: min(1440px, calc(100% - 56px));

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        1.1fr 1.5fr 1fr;

    gap: 65px;
}


.svh1-footer-brand {
    max-width: 300px;
}


.svh1-footer-logo {
    display: inline-block;

    margin-bottom: 18px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
}


.svh1-footer-brand > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
    line-height: 1.7;
}


.svh1-socials {
    display: flex;
    gap: 10px;

    margin-top: 25px;
}


.svh1-socials a {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    border: 1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    transition:
        background var(--somniva-transition),
        transform var(--somniva-transition);
}


.svh1-socials a:hover {
    background: var(--somniva-purple);

    transform: translateY(-3px);
}


.svh1-footer-links {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}


.svh1-footer-links h3,
.svh1-footer-newsletter h3 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 800;
}


.svh1-footer-links a {
    display: block;

    width: fit-content;

    margin-bottom: 11px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 15px;

    transition:
        color var(--somniva-transition);
}


.svh1-footer-links a:hover {
    color: #ffffff;
}


.svh1-footer-label {
    display: block;

    margin-bottom: 14px;

    color: var(--somniva-purple-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.svh1-footer-newsletter > p {
    margin: 0 0 20px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 15px;
    line-height: 1.6;
}


.svh1-newsletter {
    display: flex;

    width: 100%;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.25);
}


.svh1-newsletter input {
    width: 100%;
    min-width: 0;

    padding: 13px 0;

    color: #ffffff;

    background: transparent;

    font-size: 15px;

    border: 0;

    outline: none;
}


.svh1-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}


.svh1-newsletter button {
    width: 45px;

    flex-shrink: 0;

    color: #ffffff;

    background: transparent;

    font-size: 17px;

    cursor: pointer;
}


.svh1-footer-bottom {
    width: min(1440px, calc(100% - 56px));

    margin: 60px auto 0;
    padding-top: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 13px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}


.svh1-footer-bottom div {
    display: flex;
    gap: 20px;
}


.svh1-footer-bottom a {
    transition:
        color var(--somniva-transition);
}


.svh1-footer-bottom a:hover {
    color: #ffffff;
}


.svh2-page .svh1-footer-main,
.svh2-page .svh1-footer-newsletter {
    opacity: 1 !important;
    transform: none !important;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.svh1-back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background: var(--somniva-purple);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    z-index: 4000;

    box-shadow:
        0 10px 25px rgba(101, 53, 138, 0.25);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background var(--somniva-transition);
}


.svh1-back-top.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


.svh1-back-top:hover {
    background: var(--somniva-purple-dark);

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .svh1-wrap,
    .svh1-footer-main,
    .svh1-footer-bottom {
        width: min(100% - 40px, 1100px);
    }


    .svh1-section {
        padding: 85px 0;
    }


    .svh1-layers-layout,
    .svh1-contact-layout {
        gap: 50px;
    }


    .svh1-delivery-journey {
        gap: 15px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1024px) {

    .svh1-mattress-track {
        min-height: 450px;
    }


    .svh1-mattress-image {
        min-height: 430px;
    }


    .svh1-match-layout {
        grid-template-columns: 1fr;
    }


    .svh1-match-column {
        padding: 35px 0;
    }


    .svh1-match-sizes {
        padding-left: 0;
        border-top: 1px solid var(--somniva-border);
    }


    .svh1-match-result {
        min-height: 300px;
    }


    .svh1-match-result-inner {
        border-top: 1px solid var(--somniva-border);
        border-bottom: 1px solid var(--somniva-border);

        border-left: 0;
        border-right: 0;
    }


    .svh1-layers-layout {
        grid-template-columns: 1fr;
    }


    .svh1-layers-visual {
        min-height: 450px;
    }


    .svh1-delivery-journey {
        grid-template-columns:
            repeat(3, 1fr);

        row-gap: 50px;
    }


    .svh1-delivery-line {
        display: none;
    }


    .svh1-delivery-traveller {
        display: none;
    }


    .svh1-footer-main {
        grid-template-columns:
            1fr 1fr;
    }


    .svh1-footer-newsletter {
        grid-column: 1 / -1;

        max-width: 500px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .svh1-wrap,
    .svh1-footer-main,
    .svh1-footer-bottom {
        width: calc(100% - 30px);
    }


    .svh1-section {
        padding: 70px 0;
    }


    .svh1-heading {
        margin-bottom: 45px;
    }


    .svh1-heading h2,
    .svh1-contact-heading h2,
    .svh1-policy-content h2 {
        font-size: 39px;
    }


    .svh1-heading p,
    .svh1-contact-heading > p,
    .svh1-policy-content > p {
        font-size: 17px;
    }


    .svh1-mattress-showcase {
        gap: 8px;
    }


    .svh1-mattress-track {
        min-height: 650px;
    }


    .svh1-mattress-slide {
        grid-template-columns: 1fr;

        align-items: start;

        text-align: center;
    }


    .svh1-mattress-copy {
        padding: 25px 0 0;
    }


    .svh1-mattress-copy p {
        margin: 0 auto;
    }


    .svh1-mattress-image {
        min-height: 330px;
    }


    .svh1-mattress-image img {
        max-height: 330px;
    }


    .svh1-slider-button {
        width: 40px;
        height: 40px;
    }


    .svh1-match-option {
        font-size: 16px;
    }


    .svh1-layers-visual {
        min-height: 300px;
    }


    .svh1-layer-item {
        grid-template-columns: 35px 1fr;
    }


    .svh1-bedding-track {
        min-height: 620px;
    }


    .svh1-bedding-slide {
        grid-template-columns: 1fr;

        gap: 25px;

        text-align: center;
    }


    .svh1-bedding-image {
        min-height: 330px;
    }


    .svh1-bedding-image img {
        height: 330px;
    }


    .svh1-bedding-copy {
        padding-right: 0;
    }


    .svh1-bedding-copy h3 {
        margin-right: auto;
        margin-left: auto;

        font-size: 35px;
    }


    .svh1-bedding-controls {
        justify-content: center;
    }


    .svh1-tips-track {
        min-height: 670px;
    }


    .svh1-tip-slide {
        grid-template-columns: 1fr;

        gap: 25px;

        text-align: center;
    }


    .svh1-tip-image {
        min-height: 330px;
    }


    .svh1-tip-image img {
        height: 330px;
    }


    .svh1-tip-content p {
        margin-right: auto;
        margin-left: auto;
    }


    .svh1-tip-content h3 {
        font-size: 35px;
    }


    .svh1-policy-points {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;

        width: fit-content;
        margin: 0 auto;
    }


    .svh1-delivery-journey {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 0;
    }


    .svh1-delivery-stage {
        display: grid;
        grid-template-columns: 40px 35px 1fr;

        align-items: center;

        gap: 12px;

        text-align: left;
    }


    .svh1-stage-number {
        margin: 0;
    }


    .svh1-delivery-stage > i {
        margin: 0;
    }


    .svh1-delivery-stage h3 {
        margin: 0;
    }


    .svh1-delivery-stage p {
        grid-column: 3;

        margin-top: -8px;
    }


    .svh1-contact-heading {
        margin-bottom: 45px;
    }


    .svh1-contact-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .svh1-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .svh1-footer {
        padding-top: 65px;
    }


    .svh1-footer-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .svh1-footer-brand {
        max-width: 100%;
    }


    .svh1-footer-links {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px 20px;
    }


    .svh1-footer-newsletter {
        grid-column: auto;
    }


    .svh1-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }


    .svh1-back-top {
        right: 18px;
        bottom: 18px;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 480px) {

    .svh1-heading h2,
    .svh1-contact-heading h2,
    .svh1-policy-content h2 {
        font-size: 34px;
    }


    .svh1-mattress-track {
        min-height: 600px;
    }


    .svh1-mattress-copy h3 {
        font-size: 34px;
    }


    .svh1-mattress-image {
        min-height: 290px;
    }


    .svh1-mattress-image img {
        max-height: 290px;
    }


    .svh1-bedding-track {
        min-height: 570px;
    }


    .svh1-tip-content h3,
    .svh1-bedding-copy h3 {
        font-size: 34px;
    }


    .svh1-footer-links {
        grid-template-columns: 1fr;
    }


    .svh1-footer-bottom div {
        flex-wrap: wrap;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .svh1-wrap,
    .svh1-footer-main,
    .svh1-footer-bottom {
        width: calc(100% - 24px);
    }


    .svh1-heading h2,
    .svh1-contact-heading h2,
    .svh1-policy-content h2 {
        font-size: 31px;
    }


    .svh1-mattress-track {
        min-height: 570px;
    }


    .svh1-mattress-copy h3 {
        font-size: 31px;
    }


    .svh1-mattress-image {
        min-height: 260px;
    }


    .svh1-mattress-image img {
        max-height: 260px;
    }

}
/* =========================================================
   SOMNIVA HOME 1
   SECTION 5 — SLEEP TIPS / THE NIGHT RESET
   NEW SECTION ONLY
========================================================= */


/* =========================================================
   SECTION WRAPPER
========================================================= */

.svh1-tips-section {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--somniva-cream-light);

    color: inherit;

    isolation: isolate;
}


.svh1-tips-wrap {

    position: relative;

    width: min(1380px, calc(100% - 56px));

    margin: 0 auto;

    padding: 105px 0 70px;

}


/* =========================================================
   DECORATIVE BACKGROUND
========================================================= */

.svh1-tips-section::before {

    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(101, 53, 138, 0.075),
            transparent 68%
        );

    pointer-events: none;

    z-index: -1;
}


.svh1-tips-section::after {

    content: "✦";

    position: absolute;

    top: 17%;
    left: 5%;

    color: var(--somniva-purple);

    opacity: 0.30;

    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   HEADING
========================================================= */

.svh1-tips-heading {

    width: min(760px, 100%);

    margin: 0 auto 82px;

    text-align: center;
}


.svh1-tips-eyebrow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    margin-bottom: 20px;

    color: var(--somniva-purple);

    font-weight: 800;

    letter-spacing: 0.24em;

    text-transform: uppercase;
}


.svh1-tips-eyebrow span:first-child,
.svh1-tips-eyebrow span:last-child {

    width: 70px;

    height: 1px;

    background: currentColor;

    opacity: 0.30;
}


.svh1-tips-heading h2 {

    margin: 0;

    color: var(--somniva-ink);

}


.svh1-tips-heading h2 span {

    display: block;

    color: var(--somniva-purple);
}


.svh1-tips-heading p {

    max-width: 620px;

    margin: 22px auto 0;

    color: var(--somniva-muted);

}


/* =========================================================
   MAIN ORBIT LAYOUT
========================================================= */

.svh1-tips-orbit {

    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        230px
        minmax(0, 1fr);

    gap: 45px;

    align-items: stretch;

    min-height: 650px;
}


/* =========================================================
   TIP COLUMNS
========================================================= */

.svh1-tip-column {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    gap: 65px;

    position: relative;

    z-index: 2;
}


.svh1-tip-column-left {

    padding-right: 30px;
}


.svh1-tip-column-right {

    padding-left: 30px;
}


/* =========================================================
   TIP ITEM
========================================================= */

.svh1-tip-item {

    position: relative;

    display: grid;

    grid-template-columns: 52px minmax(0, 1fr);

    gap: 20px;

    align-items: start;

    min-width: 0;

    transition:
        transform var(--somniva-transition),
        opacity var(--somniva-transition);
}


.svh1-tip-left {

    text-align: right;

    transform-origin: right center;
}


.svh1-tip-right {

    text-align: left;

    transform-origin: left center;
}


/* =========================================================
   TIP ICON
========================================================= */

.svh1-tip-icon {

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    color: var(--somniva-purple);

    border: 1px solid var(--somniva-border);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(101, 53, 138, 0.08),
            transparent 70%
        );

    transition:
        transform var(--somniva-transition),
        color var(--somniva-transition),
        border-color var(--somniva-transition),
        box-shadow var(--somniva-transition);
}


.svh1-tip-icon i {

    line-height: 1;
}


/* =========================================================
   TIP META
========================================================= */

.svh1-tip-meta {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 7px;
}


.svh1-tip-left .svh1-tip-meta {

    justify-content: flex-end;
}


.svh1-tip-right .svh1-tip-meta {

    justify-content: flex-start;
}


.svh1-tip-number {

    color: var(--somniva-purple);

    font-weight: 800;

    line-height: 1;
}


.svh1-tip-line {

    width: 58px;

    height: 1px;

    background: var(--somniva-purple);

    opacity: 0.35;
}


/* =========================================================
   CATEGORY
========================================================= */

.svh1-tip-category {

    display: block;

    margin-bottom: 6px;

    color: var(--somniva-purple);

    font-weight: 800;

    letter-spacing: 0.18em;

    line-height: 1.2;

    opacity: 0.90;
}


/* =========================================================
   TIP HEADING
========================================================= */

.svh1-tip-info h3 {

    margin: 0;

    color: var(--somniva-ink);
}


/* =========================================================
   TIP DESCRIPTION
========================================================= */

.svh1-tip-info p {

    max-width: 390px;

    margin-top: 9px;

    color: var(--somniva-muted);
}


/* =========================================================
   HOVER
========================================================= */

.svh1-tip-item:hover {

    opacity: 1;
}


.svh1-tip-left:hover {

    transform: translateX(9px);
}


.svh1-tip-right:hover {

    transform: translateX(-9px);
}


.svh1-tip-item:hover .svh1-tip-icon {

    color: var(--somniva-purple-light);

    border-color:
        rgba(101, 53, 138, 0.40);

    box-shadow:
        0 0 0 8px
        rgba(101, 53, 138, 0.055),

        0 12px 35px
        rgba(101, 53, 138, 0.12);

    transform:
        translateY(-3px)
        rotate(-5deg);
}


/* =========================================================
   CENTER ORBIT
========================================================= */

.svh1-tips-center {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   ORBIT RINGS
========================================================= */

.svh1-orbit-ring {

    position: absolute;

    width: 210px;
    height: 500px;

    border: 1px solid
        rgba(101, 53, 138, 0.18);

    border-radius: 50%;

    pointer-events: none;
}


.svh1-orbit-ring-one {

    transform:
        rotate(25deg);
}


.svh1-orbit-ring-two {

    transform:
        rotate(-25deg);

    opacity: 0.65;
}


/* =========================================================
   MOON
========================================================= */

.svh1-orbit-moon {

    position: relative;

    width: 86px;
    height: 86px;

    display: grid;

    place-items: center;

    color: var(--somniva-cream-light);

    background:
        linear-gradient(
            145deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    border-radius: 50%;

    box-shadow:
        0 0 0 14px
        rgba(101, 53, 138, 0.055),

        0 18px 50px
        rgba(101, 53, 138, 0.20);

    z-index: 3;
}


.svh1-orbit-moon i {

    line-height: 1;
}


/* =========================================================
   ORBIT STARS
========================================================= */

.svh1-orbit-star {

    position: absolute;

    color: var(--somniva-purple);

    line-height: 1;

    pointer-events: none;
}


.svh1-orbit-star-one {

    top: 18%;

    right: 19%;
}


.svh1-orbit-star-two {

    top: 34%;

    left: 14%;

    opacity: 0.55;
}


.svh1-orbit-star-three {

    bottom: 34%;

    right: 16%;

    opacity: 0.55;
}


.svh1-orbit-star-four {

    bottom: 16%;

    left: 25%;

    opacity: 0.70;
}


/* =========================================================
   MOON PHASES
========================================================= */

.svh1-moon-phases {

    position: absolute;

    bottom: 13%;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 12px;

    z-index: 4;
}


.svh1-moon-phases span {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    border: 1px solid var(--somniva-purple);

    opacity: 0.55;
}


.svh1-moon-phases span:nth-child(2) {

    width: 11px;
    height: 11px;

    background: var(--somniva-purple);

    opacity: 0.65;
}


.svh1-moon-phases span:nth-child(3) {

    width: 15px;
    height: 15px;

    background:
        linear-gradient(
            90deg,
            transparent 50%,
            var(--somniva-purple) 50%
        );

    opacity: 0.75;
}


.svh1-moon-phases span:nth-child(4) {

    width: 11px;
    height: 11px;

    background: var(--somniva-purple);

    opacity: 0.65;
}


/* =========================================================
   BOTTOM INDICATOR
========================================================= */

.svh1-tips-bottom {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-top: 65px;

    color: var(--somniva-purple);

    font-weight: 800;
}


.svh1-tips-bottom-line {

    width: 70px;

    height: 1px;

    background: currentColor;

    opacity: 0.25;
}


.svh1-tips-bottom i {

    line-height: 1;

    opacity: 0.70;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .svh1-tips-wrap {

        width: min(100% - 42px, 820px);

        padding-top: 85px;
        padding-bottom: 60px;
    }


    .svh1-tips-heading {

        margin-bottom: 60px;
    }


    .svh1-tips-orbit {

        grid-template-columns:
            minmax(0, 1fr)
            150px
            minmax(0, 1fr);

        gap: 20px;

        min-height: 590px;
    }


    .svh1-tip-column {

        gap: 48px;
    }


    .svh1-tip-column-left {

        padding-right: 8px;
    }


    .svh1-tip-column-right {

        padding-left: 8px;
    }


    .svh1-tip-item {

        grid-template-columns: 42px minmax(0, 1fr);

        gap: 12px;
    }


    .svh1-tip-icon {

        width: 42px;
        height: 42px;
    }


    .svh1-tips-center {

        min-height: 590px;
    }


    .svh1-orbit-ring {

        width: 140px;
        height: 430px;
    }


    .svh1-orbit-moon {

        width: 70px;
        height: 70px;
    }


    .svh1-tip-left:hover {

        transform: translateX(5px);
    }


    .svh1-tip-right:hover {

        transform: translateX(-5px);
    }

}


/* =========================================================
   MOBILE-L / MOBILE-M
========================================================= */

@media (max-width: 767px) {

    .svh1-tips-wrap {

        width: min(100% - 32px, 560px);

        padding-top: 70px;
        padding-bottom: 50px;
    }


    .svh1-tips-heading {

        margin-bottom: 52px;
    }


    .svh1-tips-eyebrow {

        gap: 10px;
    }


    .svh1-tips-eyebrow span:first-child,
    .svh1-tips-eyebrow span:last-child {

        width: 38px;
    }


    .svh1-tips-heading p {

        margin-top: 17px;
    }


    .svh1-tips-orbit {

        display: block;

        min-height: auto;
    }


    .svh1-tips-center {

        position: absolute;

        top: 50%;

        left: 50%;

        width: 90px;
        height: 260px;

        min-height: 0;

        transform:
            translate(-50%, -50%);

        opacity: 0.18;

        pointer-events: none;
    }


    .svh1-orbit-ring {

        width: 75px;
        height: 270px;
    }


    .svh1-orbit-moon {

        width: 52px;
        height: 52px;

        box-shadow:
            0 0 0 8px
            rgba(101, 53, 138, 0.05),

            0 10px 25px
            rgba(101, 53, 138, 0.12);
    }


    .svh1-tip-column {

        gap: 38px;
    }


    .svh1-tip-column-left,
    .svh1-tip-column-right {

        padding: 0;
    }


    .svh1-tip-item {

        grid-template-columns: 45px minmax(0, 1fr);

        gap: 14px;

        width: 100%;

        text-align: left;
    }


    .svh1-tip-column-right {

        margin-top: 38px;
    }


    .svh1-tip-left .svh1-tip-meta,
    .svh1-tip-right .svh1-tip-meta {

        justify-content: flex-start;
    }


    .svh1-tip-left:hover,
    .svh1-tip-right:hover {

        transform: translateX(4px);
    }


    .svh1-tip-info p {

        max-width: 100%;
    }


    .svh1-tips-bottom {

        margin-top: 50px;
    }

}


/* =========================================================
   MOBILE-S
========================================================= */

@media (max-width: 374px) {

    .svh1-tips-wrap {

        width: calc(100% - 24px);

        padding-top: 58px;
        padding-bottom: 42px;
    }


    .svh1-tips-heading {

        margin-bottom: 44px;
    }


    .svh1-tip-item {

        grid-template-columns: 38px minmax(0, 1fr);

        gap: 11px;
    }


    .svh1-tip-icon {

        width: 38px;
        height: 38px;
    }


    .svh1-tip-column {

        gap: 34px;
    }


    .svh1-tip-column-right {

        margin-top: 34px;
    }


    .svh1-tip-meta {

        gap: 9px;
    }


    .svh1-tip-line {

        width: 38px;
    }


    .svh1-tips-bottom-line {

        width: 38px;
    }

}


/* =========================================================
   LAPTOP-L / LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .svh1-tips-wrap {

        padding-top: 120px;

        padding-bottom: 78px;
    }


    .svh1-tips-heading {

        margin-bottom: 95px;
    }


    .svh1-tips-orbit {

        grid-template-columns:
            minmax(0, 1fr)
            270px
            minmax(0, 1fr);

        gap: 55px;

        min-height: 700px;
    }


    .svh1-tips-center {

        min-height: 700px;
    }


    .svh1-orbit-ring {

        width: 235px;
        height: 545px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .svh1-tip-item,
    .svh1-tip-icon {

        transition: none;
    }

}

/* =========================================================
   SOMNIVA HOME 1
   SECTION 8 — STORE VISIT
   NEW SECTION ONLY
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.svh1-visit-section {

    position: relative;

    width: 100%;

    overflow: hidden;

    isolation: isolate;

    background:
        linear-gradient(
            135deg,
            #F3E8F7 0%,
            #FFF8EC 48%,
            #FBE7DE 100%
        );

    color: inherit;
}


.svh1-visit-wrap {

    position: relative;

    width: min(1320px, calc(100% - 56px));

    margin: 0 auto;

    padding: 72px 0 76px;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.svh1-visit-section::before {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -250px;
    right: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(112, 62, 145, 0.15),
            transparent 68%
        );

    pointer-events: none;

    z-index: -1;
}


.svh1-visit-section::after {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    bottom: -160px;
    left: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(243, 182, 162, 0.28),
            transparent 70%
        );

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   INTRO
========================================================= */

.svh1-visit-intro {

    width: min(700px, 100%);

    margin: 0 auto 42px;

    text-align: center;
}


.svh1-visit-eyebrow {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-bottom: 15px;

    color: var(--somniva-purple);

    font-weight: 800;

    letter-spacing: 0.18em;

    line-height: 1.2;
}


.svh1-visit-eyebrow span {

    width: 45px;

    height: 1px;

    background: currentColor;

    opacity: 0.35;
}


.svh1-visit-intro h2 {

    margin: 0;

    color: var(--somniva-ink);
}


.svh1-visit-intro h2 span {

    color: var(--somniva-purple);
}


.svh1-visit-intro p {

    max-width: 600px;

    margin: 15px auto 0;

    color: var(--somniva-muted);
}


/* =========================================================
   MAIN BOOKING PANEL
========================================================= */

.svh1-visit-panel {

    display: grid;

    grid-template-columns:
        minmax(290px, 0.72fr)
        minmax(0, 1.5fr);

    min-height: 500px;

    overflow: hidden;

    border: 1px solid
        rgba(91, 61, 118, 0.14);

    border-radius: 26px;

    background:
        rgba(255, 253, 248, 0.72);

    box-shadow:
        0 25px 70px
        rgba(70, 36, 90, 0.10);
}


/* =========================================================
   LEFT INFORMATION AREA
========================================================= */

.svh1-visit-info {

    position: relative;

    overflow: hidden;

    padding: 42px 38px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    color: #FFFDF8;

    background:
        linear-gradient(
            145deg,
            #63338A 0%,
            #4C276E 65%,
            #392052 100%
        );
}


/* Accent strip */

.svh1-visit-info::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #F3B6A2,
            #D7B3E8,
            #F3B6A2
        );
}


/* =========================================================
   INFO TEXT
========================================================= */

.svh1-visit-small-label {

    display: inline-block;

    margin-bottom: 15px;

    color: #E8D5F1;

    font-weight: 800;

    letter-spacing: 0.16em;

    line-height: 1.2;
}


.svh1-visit-info-top h3 {

    margin: 0;

    color: #FFFDF8;
}


.svh1-visit-info-top p {

    max-width: 370px;

    margin-top: 16px;

    color: #EADFF0;
}


/* =========================================================
   STORE DETAILS
========================================================= */

.svh1-visit-details {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    gap: 19px;

    margin-top: 35px;
}


.svh1-visit-detail {

    display: flex;

    align-items: center;

    gap: 14px;
}


.svh1-visit-detail-icon {

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255, 255, 255, 0.22);

    border-radius: 50%;

    color: #F8DCD3;

    background:
        rgba(255, 255, 255, 0.07);
}


.svh1-visit-detail div:last-child {

    display: flex;

    flex-direction: column;

    gap: 4px;

    min-width: 0;
}


.svh1-visit-detail span {

    color: #DCC9E7;

    font-weight: 800;

    letter-spacing: 0.14em;

    line-height: 1.2;
}


.svh1-visit-detail strong {

    color: #FFFDF8;

    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   DECORATIVE MOON
========================================================= */

.svh1-visit-moon {

    position: absolute;

    width: 190px;
    height: 190px;

    right: -50px;
    bottom: -65px;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    opacity: 0.75;
}


.svh1-visit-moon-shape {

    width: 95px;
    height: 95px;

    border-radius: 50%;

    background: #F3B6A2;

    box-shadow:
        0 0 50px
        rgba(243, 182, 162, 0.20);
}


.svh1-visit-moon span {

    position: absolute;

    top: 42px;
    right: 48px;

    color: #FFFDF8;

    font-size: 18px;
}


/* =========================================================
   FORM AREA
========================================================= */

.svh1-visit-form-area {

    padding: 40px 44px 38px;

    background:
        rgba(255, 253, 248, 0.92);
}


/* =========================================================
   FORM HEADING
========================================================= */

.svh1-visit-form-heading {

    margin-bottom: 25px;
}


.svh1-visit-form-heading > span {

    display: block;

    margin-bottom: 7px;

    color: var(--somniva-purple);

    font-weight: 800;

    letter-spacing: 0.16em;

    line-height: 1.2;
}


.svh1-visit-form-heading h3 {

    margin: 0;

    color: var(--somniva-ink);
}


.svh1-visit-form-heading h3 span {

    color: var(--somniva-purple);
}


/* =========================================================
   FORM GRID
========================================================= */

.svh1-visit-form {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 22px;

    row-gap: 17px;
}


.svh1-form-field {

    min-width: 0;
}


.svh1-form-field.is-invalid .svh1-input-wrap {
    border-color: #d2344f;
    background: rgba(255, 244, 247, 0.9);
    box-shadow: 0 0 0 4px rgba(210, 52, 79, 0.08);
}


.svh1-form-field.is-invalid label {
    color: #cf2e4c;
}


.svh1-form-field-error {
    display: block;

    margin-top: 7px;

    color: #d2344f;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}


.svh1-form-field-full {

    grid-column: 1 / -1;
}


/* =========================================================
   LABEL
========================================================= */

.svh1-form-field label {

    display: block;

    margin-bottom: 7px;

    color: var(--somniva-ink);

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   INPUT BOX
========================================================= */

.svh1-input-wrap {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 48px;

    border: 1px solid
        rgba(91, 61, 118, 0.17);

    border-radius: 10px;

    background:
        rgba(255, 248, 236, 0.78);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.svh1-input-wrap i {

    flex: 0 0 43px;

    display: grid;

    place-items: center;

    color: var(--somniva-purple);

    opacity: 0.85;
}


.svh1-input-wrap input,
.svh1-input-wrap select,
.svh1-input-wrap textarea {

    width: 100%;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--somniva-ink);

    font: inherit;
}


.svh1-input-wrap input,
.svh1-input-wrap select {

    min-height: 46px;

    padding: 9px 13px 9px 0;
}


.svh1-input-wrap textarea {

    min-height: 76px;

    padding: 12px 13px 12px 0;

    resize: vertical;
}


.svh1-input-wrap input::placeholder,
.svh1-input-wrap textarea::placeholder {

    color: var(--somniva-muted);

    opacity: 0.72;
}


/* =========================================================
   FOCUS
========================================================= */

.svh1-input-wrap:focus-within {

    border-color:
        rgba(101, 53, 138, 0.55);

    background:
        rgba(255, 253, 248, 1);

    box-shadow:
        0 0 0 4px
        rgba(101, 53, 138, 0.07);

    transform: translateY(-2px);
}


.svh1-input-wrap:focus-within i {

    color: var(--somniva-purple);
}


/* =========================================================
   SUBMIT
========================================================= */

.svh1-form-submit {

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 3px;
}


.svh1-visit-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-height: 48px;

    padding: 11px 20px;

    border: 0;

    border-radius: 10px;

    color: #FFFDF8;

    background:
        linear-gradient(
            135deg,
            #63338A,
            #4C276E
        );

    font: inherit;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(76, 39, 110, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.svh1-visit-submit i {

    transition:
        transform 0.25s ease;
}


.svh1-visit-submit:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 32px
        rgba(76, 39, 110, 0.25);
}


.svh1-visit-submit:hover i {

    transform:
        translate(3px, -3px);
}


.svh1-form-submit small {

    color: var(--somniva-muted);

    line-height: 1.4;
}


/* =========================================================
   FORM STATUS
========================================================= */

.svh1-visit-status {

    grid-column: 1 / -1;

    min-height: 0;

    color: var(--somniva-purple);

    font-weight: 600;
}


.svh1-visit-status.svh1-error {
    color: #d2344f;
    font-weight: 700;
}


/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 991px) {

    .svh1-visit-wrap {

        width: min(100% - 42px, 850px);

        padding-top: 62px;
        padding-bottom: 62px;
    }


    .svh1-visit-panel {

        grid-template-columns:
            1fr;

        min-height: auto;
    }


    .svh1-visit-info {

        min-height: 340px;

        padding: 35px;
    }


    .svh1-visit-details {

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 15px;
    }


    .svh1-visit-detail {

        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }


    .svh1-visit-form-area {

        padding: 35px;
    }

}


/* =========================================================
   MOBILE-L / MOBILE-M
========================================================= */

@media (max-width: 767px) {

    .svh1-visit-wrap {

        width: calc(100% - 28px);

        padding-top: 52px;
        padding-bottom: 48px;
    }


    .svh1-visit-intro {

        margin-bottom: 30px;
    }


    .svh1-visit-eyebrow {

        gap: 9px;

        letter-spacing: 0.12em;
    }


    .svh1-visit-eyebrow span {

        width: 28px;
    }


    .svh1-visit-panel {

        border-radius: 20px;
    }


    .svh1-visit-info {

        min-height: auto;

        padding: 30px 24px 27px;
    }


    .svh1-visit-info-top p {

        margin-top: 12px;
    }


    .svh1-visit-details {

        grid-template-columns: 1fr;

        gap: 14px;

        margin-top: 25px;
    }


    .svh1-visit-detail {

        flex-direction: row;

        align-items: center;

        gap: 12px;
    }


    .svh1-visit-detail-icon {

        flex-basis: 37px;

        width: 37px;
        height: 37px;
    }


    .svh1-visit-moon {

        width: 130px;
        height: 130px;

        right: -42px;
        bottom: -48px;
    }


    .svh1-visit-moon-shape {

        width: 65px;
        height: 65px;
    }


    .svh1-visit-form-area {

        padding: 28px 20px 25px;
    }


    .svh1-visit-form {

        grid-template-columns: 1fr;

        row-gap: 15px;
    }


    .svh1-form-field-full {

        grid-column: auto;
    }


    .svh1-form-submit {

        grid-column: auto;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .svh1-visit-submit {

        width: 100%;
    }


    .svh1-visit-status {

        grid-column: auto;
    }

}


/* =========================================================
   MOBILE-S
========================================================= */

@media (max-width: 374px) {

    .svh1-visit-wrap {

        width: calc(100% - 20px);

        padding-top: 44px;
        padding-bottom: 40px;
    }


    .svh1-visit-info {

        padding: 27px 18px 24px;
    }


    .svh1-visit-form-area {

        padding: 25px 15px 22px;
    }


    .svh1-input-wrap i {

        flex-basis: 38px;
    }


    .svh1-input-wrap input,
    .svh1-input-wrap select {

        padding-right: 9px;
    }


    .svh1-input-wrap textarea {

        padding-right: 9px;
    }

}


/* =========================================================
   LAPTOP-L / LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .svh1-visit-wrap {

        padding-top: 78px;
        padding-bottom: 82px;
    }


    .svh1-visit-panel {

        min-height: 510px;
    }


    .svh1-visit-info {

        padding: 45px;
    }


    .svh1-visit-form-area {

        padding: 45px 50px;
    }

}

/* =========================================================
   SOMNIVA HOME 2
   SHARED STYLES — LIGHT MODE
   ALL SELECTORS ARE SVH2 SCOPED
========================================================= */


/* =========================================================
   HOME 2 PAGE
========================================================= */

.svh2-page {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   COMMON
========================================================= */

.svh2-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.svh2-section-inner {
    width: min(1380px, calc(100% - 56px));
    margin: 0 auto;
}

.svh2-label {
    display: block;
    margin-bottom: 18px;
    color: var(--somniva-purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-center-heading {
    text-align: center;
}

.svh2-section-heading {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.svh2-section-heading h2,
.svh2-comfort-heading h2,
.svh2-bedroom-intro h2,
.svh2-ritual-title h2,
.svh2-contact-heading h2 {
    margin: 0 0 20px;
    color: var(--somniva-ink);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -2px;
}

.svh2-section-heading h2 span,
.svh2-comfort-heading h2 span,
.svh2-bedroom-intro h2 span,
.svh2-ritual-title h2 span,
.svh2-contact-heading h2 span {
    display: block;
    color: var(--somniva-purple);
}

.svh2-section-heading p,
.svh2-comfort-heading p,
.svh2-bedroom-intro p,
.svh2-ritual-title p,
.svh2-contact-heading > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--somniva-muted);
    font-size: 18px;
    text-align: center;
}

.svh2-center-heading p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
========================================================= */

.svh2-hero {
    position: relative;
    min-height: calc(100vh - var(--somniva-navbar-height));
    min-height: 760px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            var(--somniva-cream-light),
            var(--somniva-cream)
        );
}

.svh2-hero-grid {
    width: 100%;
    min-height: inherit;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 430px) 1fr;
    align-items: stretch;
}

.svh2-hero-visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.svh2-hero-left {
    clip-path: polygon(
        0 0,
        100% 0,
        88% 100%,
        0 100%
    );
}

.svh2-hero-right {
    clip-path: polygon(
        12% 0,
        100% 0,
        100% 100%,
        0 100%
    );
}

.svh2-hero-image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.svh2-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    will-change: transform;
}

.svh2-hero-left .svh2-hero-image {
    transform-origin: center bottom;
}

.svh2-hero-right .svh2-hero-image {
    transform-origin: center top;
}

.svh2-hero-center {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 55px 28px;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 250, 241, 0.94),
            rgba(248, 241, 228, 0.80) 48%,
            transparent 78%
        );
}

.svh2-hero-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--somniva-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.svh2-hero-line {
    width: 70px;
    height: 1px;
    margin-bottom: 25px;
    background: var(--somniva-purple);
    transform-origin: center;
}

.svh2-hero-title {
    margin: 0;
    color: var(--somniva-ink);
    font-family: inherit;
    font-size: clamp(48px, 5.5vw, 82px);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -3px;
}

.svh2-hero-title span {
    display: block;
    color: var(--somniva-purple);
}

.svh2-hero-copy {
    max-width: 360px;
    margin: 27px auto 28px;
    color: var(--somniva-muted);
    font-size: 17px;
    line-height: 1.65;
}

.svh2-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    color: var(--somniva-purple);
    font-size: 15px;
    font-weight: 800;
    border-bottom: 1px solid var(--somniva-purple);
    transition:
        gap .3s ease,
        color .3s ease;
}

.svh2-hero-link:hover {
    gap: 16px;
    color: var(--somniva-purple-dark);
}

.svh2-hero-index {
    position: absolute;
    left: 50%;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--somniva-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transform: translateX(-50%);
}

.svh2-hero-index i {
    color: var(--somniva-purple);
    font-size: 16px;
}

.svh2-hero-number {
    position: absolute;
    top: 32px;
    z-index: 5;
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-hero-left .svh2-hero-number {
    left: 35px;
}

.svh2-hero-right .svh2-hero-number {
    right: 35px;
}

.svh2-hero-word {
    position: absolute;
    z-index: 5;
    bottom: 30px;
    color: rgba(255, 255, 255, .90);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
}

.svh2-hero-left .svh2-hero-word {
    left: 28px;
}

.svh2-hero-right .svh2-hero-word {
    right: 28px;
}

.svh2-hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 25px;
    color: var(--somniva-muted);
    background: rgba(248, 241, 228, .82);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.svh2-hero-bottom-line {
    width: 70px;
    height: 1px;
    background: var(--somniva-border);
}

.svh2-hero-orbit {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(101, 53, 138, .14);
    border-radius: 50%;
    pointer-events: none;
}

.svh2-hero-orbit-one {
    left: 42%;
    top: 18%;
}

.svh2-hero-orbit-two {
    right: 39%;
    bottom: 10%;
    width: 190px;
    height: 190px;
}

.svh2-hero-noise {
    position: absolute;
    inset: 0;
    z-index: 20;
    opacity: .04;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================================
   SECTION 2 — ARCHITECTURE
========================================================= */

.svh2-architecture {
    min-height: 720px;
    padding: 110px 0 90px;
    background: var(--somniva-cream-light);
}

.svh2-architecture-layout {
    position: relative;
    min-height: 440px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
}

.svh2-architecture-word {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svh2-architecture-word > span {
    color: var(--somniva-purple);
    font-size: clamp(25px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.svh2-architecture-word > i {
    color: var(--somniva-purple-light);
    font-size: 25px;
}

.svh2-architecture-word p {
    max-width: 240px;
    margin: 0;
    color: var(--somniva-muted);
    font-size: 15px;
}

.svh2-choice-left,
.svh2-from-left {
    text-align: right;
    align-items: flex-end;
}

.svh2-choice-right,
.svh2-from-right {
    text-align: left;
    align-items: flex-start;
}

.svh2-architecture-center {
    position: relative;
    width: 230px;
    height: 230px;
    margin: auto;
    display: grid;
    place-items: center;
}

.svh2-cross-line {
    position: absolute;
    background: var(--somniva-border);
}

.svh2-cross-line-horizontal {
    left: -100px;
    right: -100px;
    top: 50%;
    height: 1px;
}

.svh2-cross-line-vertical {
    top: -100px;
    bottom: -100px;
    left: 50%;
    width: 1px;
}

.svh2-center-number {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    color: var(--somniva-purple);
    border: 1px solid var(--somniva-purple);
    border-radius: 50%;
    font-size: 45px;
    font-weight: 800;
    background: var(--somniva-cream-light);
}

.svh2-center-caption {
    position: absolute;
    bottom: -32px;
    color: var(--somniva-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-architecture-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid var(--somniva-border);
    border-bottom: 1px solid var(--somniva-border);
}

.svh2-architecture-bottom div {
    min-height: 80px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid var(--somniva-border);
}

.svh2-architecture-bottom div:last-child {
    border-right: 0;
}

.svh2-architecture-bottom strong {
    color: var(--somniva-purple);
    font-size: 14px;
}

.svh2-architecture-bottom span {
    color: var(--somniva-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   SECTION 3 — COMFORT
========================================================= */

.svh2-comfort {
    padding: 105px 0 90px;
    background: var(--somniva-cream);
}

.svh2-comfort-heading {
    max-width: 700px;
    margin-bottom: 65px;
}

.svh2-comfort-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 320px 1fr;
    gap: 55px;
    align-items: center;
}

.svh2-comfort-choice {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.svh2-choice-title {
    margin-bottom: 17px;
    color: var(--somniva-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-choice-btn,
.svh2-style-btn {
    width: 100%;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    color: var(--somniva-text);
    background: transparent;
    border-bottom: 1px solid var(--somniva-border);
    cursor: pointer;
    transition:
        color .3s ease,
        padding .3s ease;
}

.svh2-choice-btn:hover,
.svh2-choice-btn.is-active,
.svh2-style-btn:hover,
.svh2-style-btn.is-active {
    color: var(--somniva-purple);
    padding-left: 14px;
    padding-right: 14px;
}

.svh2-choice-btn i {
    opacity: 0;
    transition: opacity .3s ease;
}

.svh2-choice-btn:hover i,
.svh2-choice-btn.is-active i {
    opacity: 1;
}

.svh2-match-center {
    text-align: center;
}

.svh2-match-ring {
    width: 270px;
    height: 270px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--somniva-purple);
    border-radius: 50%;
    box-shadow:
        0 0 0 18px rgba(101, 53, 138, .035),
        0 0 0 38px rgba(101, 53, 138, .018);
    transform-style: preserve-3d;
}

.svh2-match-small {
    color: var(--somniva-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-match-ring strong {
    margin: 7px 0;
    color: var(--somniva-purple);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
}

.svh2-match-center p {
    max-width: 270px;
    margin: auto;
    color: var(--somniva-muted);
    font-size: 14px;
}

.svh2-comfort-result {
    margin-top: 70px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-top: 1px solid var(--somniva-border);
}

.svh2-comfort-result > span {
    color: var(--somniva-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.svh2-comfort-result strong {
    color: var(--somniva-purple);
    font-size: 17px;
    letter-spacing: 1px;
}

.svh2-comfort-result a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--somniva-text);
    font-size: 14px;
    font-weight: 800;
}

.svh2-comfort-result a:hover {
    color: var(--somniva-purple);
}


/* =========================================================
   SECTION 4 — BEDROOM
========================================================= */

.svh2-bedroom {
    padding: 100px 0 0;
    background: var(--somniva-cream-light);
}

.svh2-bedroom-intro {
    width: min(1380px, calc(100% - 56px));
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
}

.svh2-bedroom-intro .svh2-label,
.svh2-bedroom-intro h2,
.svh2-bedroom-intro p {
    width: min(100%, 820px);
}

.svh2-bedroom-gallery {
    display: grid;
    grid-template-columns: 1.65fr .8fr;
    min-height: 680px;
}

.svh2-bedroom-main {
    position: relative;
    min-height: 680px;
    overflow: hidden;
}

.svh2-bedroom-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svh2-image-caption {
    position: absolute;
    left: 35px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
}

.svh2-image-caption span {
    font-size: 12px;
    font-weight: 800;
}

.svh2-image-caption strong {
    font-size: 13px;
    letter-spacing: 2px;
}

.svh2-bedroom-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.svh2-bedroom-small {
    position: relative;
    min-height: 340px;
    overflow: hidden;
}

.svh2-bedroom-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svh2-bedroom-small span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-bedroom-marquee {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 22px;
    color: var(--somniva-purple);
    border-top: 1px solid var(--somniva-border);
    border-bottom: 1px solid var(--somniva-border);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.svh2-bedroom-marquee i {
    font-size: 8px;
}


/* =========================================================
   SECTION 5 — LAYERS
========================================================= */

.svh2-layers {
    padding: 110px 0;
    background:
        linear-gradient(
            135deg,
            #f4eadb,
            #fffaf1
        );
}

.svh2-layer-explorer {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: center;
    margin-top: 75px;
}

.svh2-layer-visual {
    position: relative;
    min-height: 440px;
    perspective: 1200px;
}

.svh2-layer {
    position: absolute;
    left: 8%;
    width: 84%;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );
    border-radius: 35px 10px 35px 10px;
    box-shadow:
        0 18px 35px rgba(54, 34, 65, .13);
    transform-style: preserve-3d;
}

.svh2-layer span {
    font-size: 12px;
    font-weight: 800;
}

.svh2-layer strong {
    font-size: 13px;
    letter-spacing: 1px;
}

.svh2-layer.layer-one {
    top: 35px;
    z-index: 4;
}

.svh2-layer.layer-two {
    top: 125px;
    z-index: 3;
    opacity: .88;
}

.svh2-layer.layer-three {
    top: 215px;
    z-index: 2;
    opacity: .72;
}

.svh2-layer.layer-four {
    top: 305px;
    z-index: 1;
    opacity: .56;
}

.svh2-layer-info {
    padding: 20px 0;
}

.svh2-layer-info > span {
    color: var(--somniva-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.svh2-layer-info h3 {
    margin: 17px 0;
    color: var(--somniva-ink);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
}

.svh2-layer-info p {
    max-width: 430px;
    margin-bottom: 35px;
    color: var(--somniva-muted);
}

.svh2-layer-controls {
    display: flex;
    gap: 10px;
}

.svh2-layer-controls button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--somniva-purple);
    background: transparent;
    border: 1px solid var(--somniva-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease;
}

.svh2-layer-controls button:hover {
    color: #fff;
    background: var(--somniva-purple);
    border-color: var(--somniva-purple);
}


/* =========================================================
   SECTION 6 — ACCESSORIES
========================================================= */

.svh2-accessories {
    padding: 105px 0 90px;
    background: var(--somniva-cream);
}

.svh2-accessories-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 65px;
    text-align: center;
}

.svh2-accessories-heading h2 {
    margin: 0;
    color: var(--somniva-ink);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -2px;
}

.svh2-accessories-heading h2 span {
    color: var(--somniva-purple);
}

.svh2-accessories-heading p {
    max-width: 380px;
    margin: 0;
    color: var(--somniva-muted);
}

.svh2-gallery {
    position: relative;
    overflow: hidden;
}

.svh2-gallery-track {
    display: flex;
    gap: 0;
    will-change: transform;
}

.svh2-gallery-item {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 65px;
    align-items: center;
    opacity: .35;
}

.svh2-gallery-item.is-active {
    opacity: 1;
}

.svh2-gallery-item img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.svh2-gallery-meta {
    padding-right: 20px;
}

.svh2-gallery-meta > span {
    color: var(--somniva-purple);
    font-size: 12px;
    font-weight: 800;
}

.svh2-gallery-meta h3 {
    margin: 17px 0;
    color: var(--somniva-ink);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1;
}

.svh2-gallery-meta p {
    max-width: 350px;
    margin: 0;
    color: var(--somniva-muted);
}

.svh2-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
}

.svh2-gallery-controls button {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: var(--somniva-purple);
    background: transparent;
    border: 1px solid var(--somniva-border);
    border-radius: 50%;
    cursor: pointer;
}

.svh2-gallery-progress {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--somniva-muted);
    font-size: 10px;
    font-weight: 800;
}

.svh2-gallery-progress-line {
    flex: 1;
    height: 1px;
    overflow: hidden;
    background: var(--somniva-border);
}

.svh2-gallery-progress-line span {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--somniva-purple);
}


/* =========================================================
   SECTION 7 — RITUAL
========================================================= */

.svh2-ritual {
    min-height: 760px;
    padding: 105px 0 45px;
    background:
        linear-gradient(
            135deg,
            #35163f,
            #54286d 52%,
            #29112f
        );
}

.svh2-ritual-inner {
    width: min(1380px, calc(100% - 56px));
    min-height: 610px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.svh2-ritual-title {
    text-align: center;
}

.svh2-ritual-title .svh2-label,
.svh2-ritual-title h2,
.svh2-ritual-title p {
    color: #fff;
}

.svh2-ritual-title h2 span {
    color: #d8b9eb;
}

.svh2-ritual-title p {
    margin: auto;
    color: #ded0e5;
}

.svh2-hanging-stage {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    margin-top: 65px;
}

.svh2-hanging-item {
    position: relative;
    width: 180px;
    height: 360px;
    display: flex;
    justify-content: center;
    transform-origin: top center;
}

.svh2-hanging-string {
    position: absolute;
    top: 0;
    width: 1px;
    height: 125px;
    background: rgba(255, 255, 255, .35);
}

.svh2-hanging-content {
    position: absolute;
    top: 125px;
    width: 155px;
    height: 185px;
    padding: 22px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50% 50% 14px 14px;
    background: rgba(255, 255, 255, .055);
    backdrop-filter: blur(10px);
}

.svh2-hanging-content span {
    position: absolute;
    top: 12px;
    font-size: 9px;
    letter-spacing: 1px;
}

.svh2-hanging-content i {
    margin-bottom: 13px;
    color: #d8b9eb;
    font-size: 28px;
}

.svh2-hanging-content strong {
    font-size: 18px;
}

.svh2-hanging-content small {
    margin-top: 4px;
    color: #d7c5df;
    font-size: 12px;
}

.svh2-ritual-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    color: #d8b9eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-ritual-footer i {
    font-size: 17px;
}


/* =========================================================
   SECTION 8 — DELIVERY
========================================================= */

.svh2-delivery {
    padding: 110px 0 120px;
    background: var(--somniva-cream-light);
}

.svh2-delivery-route {
    position: relative;
    min-height: 310px;
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 30px;
}

.svh2-delivery-line {
    position: absolute;
    top: 47px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--somniva-border);
}

.svh2-delivery-progress {
    display: block;
    width: 0;
    height: 100%;
    background: var(--somniva-purple);
}

.svh2-delivery-truck {
    position: absolute;
    top: -13px;
    left: 0;
    color: var(--somniva-purple);
    font-size: 25px;
    opacity: 0;
}

.svh2-delivery-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.svh2-delivery-step > span {
    width: 95px;
    height: 95px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    color: var(--somniva-purple);
    background: var(--somniva-cream-light);
    border: 1px solid var(--somniva-border);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.svh2-delivery-step > i {
    position: absolute;
    top: 35px;
    color: var(--somniva-purple);
    font-size: 22px;
}

.svh2-delivery-step strong {
    color: var(--somniva-ink);
    font-size: 14px;
    letter-spacing: 1.5px;
}

.svh2-delivery-step small {
    margin-top: 6px;
    color: var(--somniva-muted);
    font-size: 13px;
}


/* =========================================================
   SECTION 9 — CONTACT
========================================================= */

.svh2-contact {
    padding: 100px 0;
    background:
        linear-gradient(
            135deg,
            #ead8f0,
            #f8e9dc 48%,
            #ded0ec
        );
}

.svh2-contact-inner {
    width: min(1250px, calc(100% - 56px));
    margin: auto;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.svh2-contact-heading {
    padding-right: 15px;
}

.svh2-contact-details {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.svh2-contact-details div {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--somniva-text);
    font-size: 14px;
    font-weight: 700;
}

.svh2-contact-details i {
    color: var(--somniva-purple);
    font-size: 19px;
}

.svh2-contact-form-area {
    position: relative;
    padding: 38px;
    background: rgba(255, 250, 241, .62);
    border: 1px solid rgba(101, 53, 138, .16);
    box-shadow:
        0 25px 60px rgba(54, 34, 65, .12);
}

.svh2-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.svh2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.svh2-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--somniva-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.svh2-contact-form input,
.svh2-contact-form select,
.svh2-contact-form textarea {
    width: 100%;
    padding: 13px 2px;
    color: var(--somniva-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(101, 53, 138, .25);
    border-radius: 0;
    outline: none;
    resize: vertical;
}

.svh2-contact-form label.is-invalid {
    color: #d2344f;
}

.svh2-contact-form label.is-invalid input,
.svh2-contact-form label.is-invalid select,
.svh2-contact-form label.is-invalid textarea {
    border-bottom-color: #d2344f;
}

.svh2-field-error {
    display: block;
    min-height: 16px;
    margin-top: 6px;
    color: #d2344f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.svh2-contact-form input:focus,
.svh2-contact-form select:focus,
.svh2-contact-form textarea:focus {
    border-bottom-color: var(--somniva-purple);
}

.svh2-contact-form input::placeholder,
.svh2-contact-form textarea::placeholder {
    color: var(--somniva-muted);
}

.svh2-submit {
    min-height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.svh2-submit:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 30px rgba(101, 53, 138, .25);
}

.svh2-form-status {
    min-height: 20px;
    margin: 0;
    color: var(--somniva-purple);
    font-size: 13px;
    text-align: center;
}

.svh2-form-status.svh2-error {
    color: #d2344f;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE — LAPTOP-L / DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .svh2-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 460px)
            minmax(0, 1fr);
    }

}


/* =========================================================
   RESPONSIVE — LAPTOP 992–1199
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .svh2-section-inner,
    .svh2-bedroom-intro,
    .svh2-ritual-inner,
    .svh2-contact-inner {
        width: min(1100px, calc(100% - 40px));
    }

    .svh2-hero {
        min-height: 680px;
    }

    .svh2-hero-grid {
        grid-template-columns:
            1fr
            350px
            1fr;
    }

    .svh2-hero-title {
        font-size: 60px;
    }

    .svh2-architecture-layout {
        grid-template-columns: 1fr 220px 1fr;
    }

    .svh2-layer-explorer {
        gap: 45px;
    }

    .svh2-contact-inner {
        gap: 45px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .svh2-section-inner,
    .svh2-bedroom-intro,
    .svh2-ritual-inner,
    .svh2-contact-inner {
        width: calc(100% - 40px);
    }

    .svh2-hero {
        min-height: 690px;
    }

    .svh2-hero-grid {
        grid-template-columns: 1fr 280px 1fr;
    }

    .svh2-hero-title {
        font-size: 47px;
        letter-spacing: -2px;
    }

    .svh2-hero-copy {
        font-size: 15px;
    }

    .svh2-hero-word {
        display: none;
    }

    .svh2-architecture-layout {
        grid-template-columns: 1fr 190px 1fr;
    }

    .svh2-architecture-center {
        width: 180px;
        height: 180px;
    }

    .svh2-center-number {
        width: 100px;
        height: 100px;
        font-size: 38px;
    }

    .svh2-layer-explorer {
        grid-template-columns: 1fr;
    }

    .svh2-layer-visual {
        min-height: 390px;
    }

    .svh2-gallery-item {
        gap: 35px;
    }

    .svh2-gallery-item img {
        height: 420px;
    }

    .svh2-hanging-content {
        width: 130px;
    }

    .svh2-hanging-item {
        width: 145px;
    }

    .svh2-contact-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .svh2-section-inner,
    .svh2-bedroom-intro,
    .svh2-ritual-inner,
    .svh2-contact-inner {
        width: calc(100% - 30px);
    }

    .svh2-section-heading h2,
    .svh2-comfort-heading h2,
    .svh2-bedroom-intro h2,
    .svh2-ritual-title h2,
    .svh2-contact-heading h2 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .svh2-section-heading p,
    .svh2-comfort-heading p,
    .svh2-bedroom-intro p,
    .svh2-ritual-title p,
    .svh2-contact-heading > p {
        font-size: 16px;
    }


    /* HERO */

    .svh2-hero {
        min-height: 720px;
    }

    .svh2-hero-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 440px auto;
    }

    .svh2-hero-left,
    .svh2-hero-right {
        clip-path: none;
    }

    .svh2-hero-left {
        grid-column: 1;
        grid-row: 1;
    }

    .svh2-hero-right {
        grid-column: 2;
        grid-row: 1;
    }

    .svh2-hero-center {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 350px;
        padding: 45px 20px 75px;
        background: var(--somniva-cream);
    }

    .svh2-hero-title {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .svh2-hero-copy {
        max-width: 420px;
    }

    .svh2-hero-index {
        bottom: 18px;
    }

    .svh2-hero-bottom {
        display: none;
    }

    .svh2-hero-word {
        display: none;
    }

    .svh2-hero-number {
        top: 18px;
    }

    .svh2-hero-left .svh2-hero-number {
        left: 18px;
    }

    .svh2-hero-right .svh2-hero-number {
        right: 18px;
    }

    .svh2-hero-orbit {
        width: 180px;
        height: 180px;
    }


    /* ARCHITECTURE */

    .svh2-architecture {
        padding: 80px 0 60px;
    }

    .svh2-architecture-layout {
        min-height: auto;
        margin-top: 55px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .svh2-architecture-center {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 180px;
        height: 180px;
    }

    .svh2-architecture-word {
        grid-row: 1;
    }

    .svh2-architecture-bottom {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        margin-top: 35px;
    }

    .svh2-architecture-bottom div:nth-child(2) {
        border-right: 0;
    }

    .svh2-architecture-bottom div:nth-child(3),
    .svh2-architecture-bottom div:nth-child(4) {
        border-top: 1px solid var(--somniva-border);
    }


    /* COMFORT */

    .svh2-comfort {
        padding: 80px 0 65px;
    }

    .svh2-comfort-stage {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .svh2-comfort-choice {
        width: 100%;
    }

    .svh2-choice-left,
    .svh2-from-left,
    .svh2-choice-right,
    .svh2-from-right {
        text-align: left;
        align-items: stretch;
    }

    .svh2-match-center {
        order: -1;
    }

    .svh2-match-ring {
        width: 220px;
        height: 220px;
    }

    .svh2-comfort-result {
        margin-top: 45px;
        flex-wrap: wrap;
        gap: 15px;
    }


    /* BEDROOM */

    .svh2-bedroom {
        padding-top: 75px;
    }

    .svh2-bedroom-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 45px;
    }

    .svh2-bedroom-gallery {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .svh2-bedroom-main {
        min-height: 440px;
    }

    .svh2-bedroom-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px;
    }

    .svh2-bedroom-small {
        min-height: 260px;
    }

    .svh2-bedroom-marquee {
        overflow: hidden;
        justify-content: flex-start;
    }


    /* LAYERS */

    .svh2-layers {
        padding: 80px 0 16px;
    }

    .svh2-layer-explorer {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
    }

    .svh2-layer-visual {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        min-height: auto;
        perspective: none;
    }

    .svh2-layer {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        flex: 0 0 auto;
        height: 82px;
        min-height: 82px;
        padding: 0 18px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        opacity: 1;
        border-radius: 26px;
        transform: none;
        margin: 0;
    }

    .svh2-layer span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
    }

    .svh2-layer strong {
        display: block;
        width: 100%;
        font-size: 12px;
        line-height: 1.2;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        text-align: left;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .svh2-layer.layer-one,
    .svh2-layer.layer-two,
    .svh2-layer.layer-three,
    .svh2-layer.layer-four {
        top: 0;
        z-index: 1;
        opacity: 1;
    }

    .svh2-layer-info {
        padding: 0;
    }

    .svh2-layer-info h3 {
        margin: 12px 0 10px;
    }

    .svh2-layer-info p {
        margin-bottom: 14px;
    }


    /* ACCESSORIES */

    .svh2-accessories {
        padding: 80px 0 65px;
    }

    .svh2-accessories-heading {
        display: block;
        margin-bottom: 45px;
    }

    .svh2-accessories-heading p {
        margin-top: 22px;
    }

    .svh2-gallery-item {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .svh2-gallery-item img {
        height: 360px;
    }

    .svh2-gallery-meta {
        padding-right: 0;
    }


    /* RITUAL */

    .svh2-ritual {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .svh2-hanging-stage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 45px;
    }

    .svh2-hanging-item {
        width: 100%;
        height: 270px;
    }

    .svh2-hanging-string {
        height: 75px;
    }

    .svh2-hanging-content {
        top: 75px;
        width: 135px;
        height: 155px;
    }


    /* DELIVERY */

    .svh2-delivery {
        padding: 80px 0;
    }

    .svh2-delivery-route {
        min-height: auto;
        margin-top: 55px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .svh2-delivery-line {
        top: 0;
        bottom: 0;
        left: 47px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .svh2-delivery-progress {
        width: 100%;
        height: 0;
    }

    .svh2-delivery-truck {
        top: 0;
        left: -12px;
    }

    .svh2-delivery-step {
        min-height: 95px;
        padding-left: 125px;
        align-items: flex-start;
        text-align: left;
    }

    .svh2-delivery-step > span {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    .svh2-delivery-step > i {
        left: 36px;
        top: 36px;
    }


    /* CONTACT */

    .svh2-contact {
        padding: 75px 0;
    }

    .svh2-contact-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .svh2-contact-form-area {
        padding: 25px 20px;
    }

    .svh2-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE SMALL
========================================================= */

@media (max-width: 480px) {

    .svh2-section-inner,
    .svh2-bedroom-intro,
    .svh2-ritual-inner,
    .svh2-contact-inner {
        width: calc(100% - 24px);
    }

    .svh2-hero {
        min-height: 675px;
    }

    .svh2-hero-grid {
        grid-template-rows: 370px auto;
    }

    .svh2-hero-center {
        min-height: 305px;
        padding: 35px 14px 60px;
    }

    .svh2-hero-title {
        font-size: 40px;
    }

    .svh2-hero-copy {
        margin: 20px auto;
        font-size: 15px;
    }

    .svh2-hero-kicker {
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .svh2-section-heading h2,
    .svh2-comfort-heading h2,
    .svh2-bedroom-intro h2,
    .svh2-ritual-title h2,
    .svh2-contact-heading h2 {
        font-size: 34px;
    }

    .svh2-layer-visual {
        gap: 6px;
    }

    .svh2-layer {
        height: 72px;
        min-height: 72px;
        padding: 0 14px;
        border-radius: 20px;
    }

    .svh2-layer span {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 11px;
    }

    .svh2-layer strong {
        font-size: 11px;
        letter-spacing: 0.7px;
    }

    .svh2-architecture-word > span {
        font-size: 22px;
    }

    .svh2-architecture-word p {
        font-size: 13px;
    }

    .svh2-architecture-bottom div {
        padding: 14px 8px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .svh2-bedroom-main {
        min-height: 360px;
    }

    .svh2-bedroom-side {
        grid-template-rows: 210px;
    }

    .svh2-bedroom-small {
        min-height: 210px;
    }

    .svh2-layer-visual {
        min-height: auto;
        gap: 6px;
    }

    .svh2-layer {
        height: 68px;
        min-height: 68px;
        padding: 0 12px;
        border-radius: 18px;
    }

    .svh2-layer strong {
        font-size: 9px;
    }

    .svh2-layer span {
        font-size: 9px;
    }

    .svh2-layer.layer-one,
    .svh2-layer.layer-two,
    .svh2-layer.layer-three,
    .svh2-layer.layer-four {
        top: auto;
        z-index: 1;
        opacity: 1;
    }

    .svh2-gallery-item img {
        height: 300px;
    }

    .svh2-gallery-controls {
        gap: 12px;
    }

    .svh2-gallery-progress {
        min-width: 125px;
    }

    .svh2-hanging-stage {
        gap: 5px;
    }

    .svh2-hanging-content {
        width: 118px;
        height: 140px;
    }

    .svh2-hanging-content i {
        font-size: 22px;
    }

    .svh2-hanging-content strong {
        font-size: 15px;
    }

    .svh2-hanging-content small {
        font-size: 10px;
    }

    .svh2-delivery-step {
        padding-left: 110px;
    }

    .svh2-contact-form-area {
        padding: 20px 15px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .svh2-hero-grid {
        grid-template-rows: 335px auto;
    }

    .svh2-hero-title {
        font-size: 36px;
    }

    .svh2-hero-center {
        min-height: 290px;
    }

    .svh2-hero-copy {
        font-size: 14px;
    }

    .svh2-architecture-layout {
        gap: 28px 12px;
    }

    .svh2-center-number {
        width: 85px;
        height: 85px;
        font-size: 32px;
    }

    .svh2-hanging-content {
        width: 105px;
        height: 132px;
    }

}
/* =========================================================
   SOMNIVA HOME 2
   FINAL TYPOGRAPHY SYNC WITH HOME 1
   ---------------------------------------------------------
   IMPORTANT:
   This block only affects .svh2-* elements.
   Home 1 is NOT affected.
========================================================= */


/* =========================================================
   GLOBAL HOME 2 TYPOGRAPHY
   SAME AS HOME 1 BODY
========================================================= */

.svh2-page {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   HOME 2 SECTION HEADINGS
   SAME SIZE SYSTEM AS HOME 1
========================================================= */

.svh2-section-heading h2,
.svh2-comfort-heading h2,
.svh2-bedroom-intro h2,
.svh2-ritual-title h2,
.svh2-contact-heading h2,
.svh2-accessories-heading h2 {

    font-family: "DM Sans", sans-serif;

    font-size: clamp(42px, 5vw, 68px);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1.5px;
}


/* =========================================================
   HOME 2 SECTION PARAGRAPHS
   SAME AS HOME 1
========================================================= */

.svh2-section-heading p,
.svh2-comfort-heading p,
.svh2-bedroom-intro p,
.svh2-ritual-title p,
.svh2-contact-heading > p {

    font-family: "DM Sans", sans-serif;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   HOME 2 HERO KICKER
   SAME AS HOME 1 HERO EYEBROW
========================================================= */

.svh2-hero-kicker {

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 3px;

    line-height: 1.4;
}


/* =========================================================
   HOME 2 HERO TITLE
   EXACT HOME 1 HERO TYPOGRAPHY
========================================================= */

.svh2-hero-title {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(56px, 5.8vw, 88px);

    font-weight: 900;

    line-height: 0.98;

    letter-spacing: -3px;
}


/* =========================================================
   HOME 2 HERO DESCRIPTION
   SAME AS HOME 1 HERO DESCRIPTION
========================================================= */

.svh2-hero-copy {

    font-family: "DM Sans", sans-serif;

    font-size: 19px;

    font-weight: 500;

    line-height: 1.75;
}


/* =========================================================
   HOME 2 HERO LINK
   SAME SIZE FAMILY AS HOME 1 HERO BUTTON
========================================================= */

.svh2-hero-link {

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    font-weight: 800;
}


/* =========================================================
   SMALL HOME 2 LABELS
   SAME AS HOME 1 SECTION LABELS
========================================================= */

.svh2-label,
.svh2-image-caption span,
.svh2-layer-info > span,
.svh2-gallery-meta > span {

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    font-weight: 800;
}


/* =========================================================
   ARCHITECTURE MAIN TEXT
   USE HOME 1 H3 SIZE SYSTEM
========================================================= */

.svh2-architecture-word > span {

    font-family: "DM Sans", sans-serif;

    font-size: clamp(35px, 4vw, 58px);

    font-weight: 800;

    line-height: 1.1;
}


/* =========================================================
   ARCHITECTURE DESCRIPTION
========================================================= */

.svh2-architecture-word p {

    font-family: "DM Sans", sans-serif;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   COMFORT RESULT
========================================================= */

.svh2-comfort-result strong {

    font-family: "DM Sans", sans-serif;

    font-size: 17px;

    font-weight: 800;
}


/* =========================================================
   LAYER EXPLORER HEADING
   SAME HOME 1 H3 SYSTEM
========================================================= */

.svh2-layer-info h3 {

    font-family: "DM Sans", sans-serif;

    font-size: clamp(35px, 4vw, 58px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1px;
}


/* =========================================================
   GALLERY HEADING
   SAME HOME 1 H3 SYSTEM
========================================================= */

.svh2-gallery-meta h3 {

    font-family: "DM Sans", sans-serif;

    font-size: clamp(35px, 4vw, 58px);

    font-weight: 800;

    line-height: 1.1;
}


/* =========================================================
   DELIVERY STEP TITLES
   SAME SMALL H3 STYLE USED BY HOME 1 DELIVERY
========================================================= */

.svh2-delivery-step strong {

    font-family: "DM Sans", sans-serif;

    font-size: 20px;

    font-weight: 800;

    line-height: 1.15;
}


/* =========================================================
   DELIVERY DESCRIPTIONS
========================================================= */

.svh2-delivery-step small {

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    line-height: 1.5;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.svh2-contact-details div {

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.svh2-contact-form label {

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    font-weight: 800;
}


.svh2-contact-form input,
.svh2-contact-form textarea,
.svh2-contact-form select {

    font-family: "DM Sans", sans-serif;

    font-size: 15px;
}


/* =========================================================
   FORM BUTTON
========================================================= */

.svh2-submit {

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    font-weight: 800;
}


/* =========================================================
   FORM STATUS
========================================================= */

.svh2-form-status {

    font-family: "DM Sans", sans-serif;

    font-size: 13px;
}


/* =========================================================
   HERO — LAPTOP 992–1199px

   MATCH HOME 1:
   title = clamp(52px, 6vw, 72px)
   description = 18px
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .svh2-hero-title {

        font-size: clamp(52px, 6vw, 72px);

    }

    .svh2-hero-copy {

        font-size: 18px;

    }

}


/* =========================================================
   HERO — TABLET 768–991px

   MATCH HOME 1:
   title = clamp(50px, 7.5vw, 68px)
   description = 18px
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .svh2-hero-title {

        font-size: clamp(50px, 7.5vw, 68px);

    }

    .svh2-hero-copy {

        font-size: 18px;

    }

}


/* =========================================================
   HOME 1 SECTION HEADING — MOBILE
   EXACT HOME 1 VALUES
========================================================= */

@media (max-width: 767px) {

    .svh2-section-heading h2,
    .svh2-comfort-heading h2,
    .svh2-bedroom-intro h2,
    .svh2-ritual-title h2,
    .svh2-contact-heading h2,
    .svh2-accessories-heading h2 {

        font-size: 39px;

        letter-spacing: -1.5px;

    }

    .svh2-section-heading p,
    .svh2-comfort-heading p,
    .svh2-bedroom-intro p,
    .svh2-ritual-title p,
    .svh2-contact-heading > p {

        font-size: 17px;

    }


    /* HOME 1 MOBILE-L HERO SIZE */

    .svh2-hero-kicker {

        font-size: 12px;

        letter-spacing: 2px;

    }

    .svh2-hero-title {

        font-size: clamp(42px, 9vw, 58px);

        letter-spacing: -2px;

    }

    .svh2-hero-copy {

        font-size: 16px;

        line-height: 1.65;

    }

}


/* =========================================================
   MOBILE-S / MOBILE-M
   320–575px
   EXACT HOME 1 HERO SYSTEM
========================================================= */

@media (max-width: 575px) {

    .svh2-hero-kicker {

        font-size: 11px;

        letter-spacing: 1.8px;

    }

    .svh2-hero-title {

        font-size: clamp(39px, 12vw, 52px);

        line-height: 1;

        letter-spacing: -1.8px;

    }

    .svh2-hero-copy {

        font-size: 15px;

        line-height: 1.65;

    }

}


/* =========================================================
   MOBILE-S — UP TO 375px
   EXACT HOME 1
========================================================= */

@media (max-width: 375px) {

    .svh2-hero-title {

        font-size: 38px;

        letter-spacing: -1.3px;

    }

    .svh2-hero-copy {

        font-size: 14px;

    }

}


/* =========================================================
   VERY NARROW — 330px AND BELOW
   EXACT HOME 1
========================================================= */

@media (max-width: 330px) {

    .svh2-hero-title {

        font-size: 35px;

    }

    .svh2-hero-copy {

        font-size: 13.5px;

    }

}


/* =========================================================
   MOBILE SECTION HEADINGS
   EXACT HOME 1 VALUES
========================================================= */

@media (max-width: 480px) {

    .svh2-section-heading h2,
    .svh2-comfort-heading h2,
    .svh2-bedroom-intro h2,
    .svh2-ritual-title h2,
    .svh2-contact-heading h2,
    .svh2-accessories-heading h2 {

        font-size: 34px;

    }

}


/* =========================================================
   EXTRA SMALL SECTION HEADINGS
   EXACT HOME 1 VALUES
========================================================= */

@media (max-width: 360px) {

    .svh2-section-heading h2,
    .svh2-comfort-heading h2,
    .svh2-bedroom-intro h2,
    .svh2-ritual-title h2,
    .svh2-contact-heading h2,
    .svh2-accessories-heading h2 {

        font-size: 31px;

    }

}

/* =========================================================
   SOMNIVA HOME 2
   SECTIONS 02 + 03
   Uses existing Home2 HTML classnames only
========================================================= */


/* =========================================================
   HOME 2 BASE
========================================================= */

.svh2-page {
    position: relative;
    overflow-x: hidden;
}


/* =========================================================
   SOMNIVA HOME 2
   SECTION 02 — THE CORE
   TRUE ZIGZAG TIMELINE
========================================================= */

.svh2-reimagined {
    position: relative;

    min-height: 900px;

    padding: 110px 5%;

    overflow: hidden;

    background: var(--somniva-cream);

    color: var(--somniva-text);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.svh2-reimagined .svh2-section-head {
    position: relative;

    z-index: 5;

    width: min(760px, 100%);

    margin: 0 auto 70px;

    text-align: center;
}

.svh2-reimagined .svh2-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-reimagined .svh2-section-head h2 {
    margin: 0 0 18px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 58px);

    font-weight: 700;

    line-height: 1.08;
}

.svh2-reimagined .svh2-section-head h2 span {
    color: var(--somniva-purple);
}

.svh2-reimagined .svh2-section-head p {
    max-width: 680px;

    margin: auto;

    color: var(--somniva-muted);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   MAIN TIMELINE
========================================================= */

.svh2-layer-stage {

    position: relative;

    width: min(1180px, 100%);

    height: 590px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        180px
        minmax(0, 1fr);

    grid-template-rows:
        repeat(4, 1fr);

    column-gap: 55px;

    align-items: stretch;
}


/* =========================================================
   LEFT COLUMN
========================================================= */

.svh2-layer-copy-left {

    grid-column: 1;

    grid-row: 1 / 5;

    min-width: 0;

    min-height: 0;

    display: grid;

    grid-template-rows:
        repeat(4, 1fr);

    align-items: center;

    justify-items: stretch;

    text-align: right;
}


/* =========================================================
   RIGHT COLUMN
========================================================= */

.svh2-layer-copy-right {

    grid-column: 3;

    grid-row: 1 / 5;

    min-width: 0;

    min-height: 0;

    display: grid;

    grid-template-rows:
        repeat(4, 1fr);

    align-items: center;

    justify-items: stretch;

    text-align: left;
}


/* =========================================================
   LEFT ZIGZAG

   01 = ROW 1
   03 = ROW 3
========================================================= */

.svh2-layer-copy-left
.svh2-layer-point:nth-child(1) {

    grid-row: 1;
}

.svh2-layer-copy-left
.svh2-layer-point:nth-child(2) {

    grid-row: 3;
}


/* =========================================================
   RIGHT ZIGZAG

   02 = ROW 2
   04 = ROW 4
========================================================= */

.svh2-layer-copy-right
.svh2-layer-point:nth-child(1) {

    grid-row: 2;
}

.svh2-layer-copy-right
.svh2-layer-point:nth-child(2) {

    grid-row: 4;
}


/* =========================================================
   POINT
========================================================= */

.svh2-layer-point {

    position: relative;

    width: 100%;

    min-width: 0;

    display: grid;

    align-items: center;

    gap: 16px;

    padding: 0;

    margin: 0;

    background: transparent;

    border: 0;

    text-align: inherit;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


/* =========================================================
   LEFT POINT LAYOUT

   TEXT | NUMBER | LINE | CENTER
========================================================= */

.svh2-layer-copy-left
.svh2-layer-point {

    grid-template-columns:
        minmax(0, 1fr)
        44px;
}


/* =========================================================
   RIGHT POINT LAYOUT

   CENTER | LINE | NUMBER | TEXT
========================================================= */

.svh2-layer-copy-right
.svh2-layer-point {

    grid-template-columns:
        44px
        minmax(0, 1fr);
}


/* =========================================================
   NUMBER CIRCLE
========================================================= */

.svh2-layer-point > span {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--somniva-purple-light),
            var(--somniva-purple-dark)
        );

    border-radius: 50%;

    font-size: 12px;

    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 8px 22px
        rgba(101, 53, 138, 0.28);

    position: relative;

    z-index: 10;
}


/* =========================================================
   LEFT NUMBER
========================================================= */

.svh2-layer-copy-left
.svh2-layer-point > span {

    grid-column: 2;

    grid-row: 1;
}


/* =========================================================
   LEFT TEXT
========================================================= */

.svh2-layer-copy-left
.svh2-layer-point > div {

    grid-column: 1;

    grid-row: 1;

    min-width: 0;
}


/* =========================================================
   RIGHT NUMBER
========================================================= */

.svh2-layer-copy-right
.svh2-layer-point > span {

    grid-column: 1;

    grid-row: 1;
}


/* =========================================================
   RIGHT TEXT
========================================================= */

.svh2-layer-copy-right
.svh2-layer-point > div {

    grid-column: 2;

    grid-row: 1;

    min-width: 0;
}


/* =========================================================
   TEXT
========================================================= */

.svh2-layer-point strong {

    display: block;

    margin: 0 0 5px;

    color: var(--somniva-ink);

    font-size: 20px;

    font-weight: 800;

    line-height: 1.25;
}

.svh2-layer-point p {

    max-width: 360px;

    margin: 0;

    color: var(--somniva-muted);

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   CENTER MATTRESS / TIMELINE
========================================================= */

.svh2-mattress-visual {

    grid-column: 2;

    grid-row: 1 / 5;

    position: relative;

    width: 180px;

    height: 100%;

    min-height: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    isolation: isolate;
}


/* =========================================================
   GLOWING VERTICAL LINE
========================================================= */

.svh2-mattress-visual::before {

    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    left: 50%;

    width: 2px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            var(--somniva-purple-light) 8%,
            var(--somniva-purple) 50%,
            var(--somniva-purple-light) 92%,
            transparent 100%
        );

    box-shadow:
        0 0 8px
        rgba(138, 90, 181, 0.75),

        0 0 22px
        rgba(101, 53, 138, 0.40);

    z-index: -2;
}


/* =========================================================
   CENTER GLOW
========================================================= */

.svh2-mattress-visual::after {

    content: "";

    position: absolute;

    left: 50%;

    top: 50%;

    width: 150px;

    height: 150px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(101, 53, 138, 0.22),
            transparent 70%
        );

    filter: blur(10px);

    pointer-events: none;

    z-index: -3;
}


/* =========================================================
   REMOVE OLD ORBITS
========================================================= */

.svh2-orbit-one,
.svh2-orbit-two {

    display: none;
}


/* =========================================================
   MATTRESS STACK
========================================================= */

.svh2-mattress-stack {

    position: relative;

    width: 150px;

    height: 250px;

    flex-shrink: 0;

    transform: none !important;

    filter:
        drop-shadow(
            0 22px 30px
            rgba(54, 34, 65, 0.18)
        );
}


/* =========================================================
   MATTRESS LAYERS
========================================================= */

.svh2-mattress-layer {

    position: absolute;

    left: 50%;

    width: 145px;

    transform: translateX(-50%);

    border-radius: 14px;
}


/* TOP */

.svh2-layer-top {

    top: 35px;

    height: 58px;

    background:
        linear-gradient(
            145deg,
            #fffaf1,
            #ded0e1
        );

    box-shadow:
        0 10px 18px
        rgba(54, 34, 65, 0.12);
}


/* MIDDLE */

.svh2-layer-mid {

    top: 92px;

    height: 65px;

    background:
        linear-gradient(
            145deg,
            #b88b4a,
            #8d6430
        );
}


/* CORE */

.svh2-layer-core {

    top: 157px;

    height: 75px;

    background:
        linear-gradient(
            145deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );
}


/* SHADOW */

.svh2-mattress-shadow {

    position: absolute;

    left: 50%;

    bottom: 25px;

    width: 155px;

    height: 24px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        rgba(40, 25, 48, 0.20);

    filter: blur(12px);
}


/* REST */

.svh2-center-word {

    position: absolute;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    z-index: 5;

    pointer-events: none;
}


/* =========================================================
   CONNECTOR FROM LEFT TO CENTER
========================================================= */

.svh2-layer-copy-left
.svh2-layer-point::after {

    content: "";

    position: absolute;

    top: 50%;

    right: -55px;

    width: 55px;

    height: 1px;

    transform:
        translateY(-50%);

    background:
        linear-gradient(
            90deg,
            var(--somniva-purple-light),
            var(--somniva-purple)
        );

    box-shadow:
        0 0 7px
        rgba(138, 90, 181, 0.65);

    z-index: 3;
}


/* =========================================================
   CONNECTOR FROM CENTER TO RIGHT
========================================================= */

.svh2-layer-copy-right
.svh2-layer-point::after {

    content: "";

    position: absolute;

    top: 50%;

    left: -55px;

    width: 55px;

    height: 1px;

    transform:
        translateY(-50%);

    background:
        linear-gradient(
            90deg,
            var(--somniva-purple),
            var(--somniva-purple-light)
        );

    box-shadow:
        0 0 7px
        rgba(138, 90, 181, 0.65);

    z-index: 3;
}


/* =========================================================
   HOVER
========================================================= */

.svh2-layer-copy-left
.svh2-layer-point:hover {

    transform:
        translateX(-7px);
}

.svh2-layer-copy-right
.svh2-layer-point:hover {

    transform:
        translateX(7px);
}

/* .svh2-layer-point:hover > span {

    box-shadow:
        0 0 0 7px
        rgba(101, 53, 138, 0.08),

        0 10px 28px
        rgba(101, 53, 138, 0.35);
} */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .svh2-layer-stage {

        width: 100%;

        grid-template-columns:
            minmax(0, 1fr)
            140px
            minmax(0, 1fr);

        column-gap: 35px;
    }

    .svh2-mattress-visual {

        width: 140px;
    }

    .svh2-layer-point strong {

        font-size: 18px;
    }

    .svh2-layer-point p {

        font-size: 13px;
    }

    .svh2-layer-copy-left
    .svh2-layer-point::after {

        right: -35px;

        width: 35px;
    }

    .svh2-layer-copy-right
    .svh2-layer-point::after {

        left: -35px;

        width: 35px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .svh2-reimagined {

        min-height: auto;

        padding:
            75px 20px 80px;
    }


    .svh2-layer-stage {

        width: 100%;

        height: auto;

        display: flex;

        flex-direction: column;

        gap: 0;
    }


    /* ---------------------------------------------
       TIMELINE
    --------------------------------------------- */

    .svh2-mattress-visual {

        order: 1;

        width: 100%;

        height: 270px;

        min-height: 270px;

        margin-bottom: 20px;
    }


    /* ---------------------------------------------
       LEFT ITEMS
    --------------------------------------------- */

    .svh2-layer-copy-left {

        order: 2;

        width: 100%;

        min-height: auto;

        display: flex;

        flex-direction: column;

        gap: 0;
    }


    /* ---------------------------------------------
       RIGHT ITEMS
    --------------------------------------------- */

    .svh2-layer-copy-right {

        order: 3;

        width: 100%;

        min-height: auto;

        display: flex;

        flex-direction: column;

        gap: 0;
    }


    /* ---------------------------------------------
       RESET DESKTOP ROWS
    --------------------------------------------- */

    .svh2-layer-copy-left
    .svh2-layer-point:nth-child(1),

    .svh2-layer-copy-left
    .svh2-layer-point:nth-child(2),

    .svh2-layer-copy-right
    .svh2-layer-point:nth-child(1),

    .svh2-layer-copy-right
    .svh2-layer-point:nth-child(2) {

        grid-row: auto;

        margin: 0;
    }


    /* ---------------------------------------------
       MOBILE POINT
    --------------------------------------------- */

    .svh2-layer-point,

    .svh2-layer-copy-left
    .svh2-layer-point,

    .svh2-layer-copy-right
    .svh2-layer-point {

        width: 100%;

        min-height: 100px;

        display: grid;

        grid-template-columns:
            44px
            minmax(0, 1fr);

        gap: 15px;

        padding: 18px 0;

        text-align: left;
    }


    .svh2-layer-copy-left
    .svh2-layer-point > span,

    .svh2-layer-copy-right
    .svh2-layer-point > span {

        grid-column: 1;

        grid-row: 1;
    }


    .svh2-layer-copy-left
    .svh2-layer-point > div,

    .svh2-layer-copy-right
    .svh2-layer-point > div {

        grid-column: 2;

        grid-row: 1;
    }


    /* ---------------------------------------------
       REMOVE DESKTOP CONNECTORS
    --------------------------------------------- */

    .svh2-layer-copy-left
    .svh2-layer-point::after,

    .svh2-layer-copy-right
    .svh2-layer-point::after {

        display: none;
    }


    .svh2-layer-point strong {

        font-size: 18px;
    }

    .svh2-layer-point p {

        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .svh2-reimagined {

        padding-left: 16px;

        padding-right: 16px;
    }

    .svh2-mattress-visual {

        height: 250px;

        min-height: 250px;
    }

    .svh2-mattress-stack {

        transform:
            scale(0.86) !important;
    }
}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .svh2-reimagined {

        padding-left: 13px;

        padding-right: 13px;
    }

    .svh2-layer-point strong {

        font-size: 17px;
    }

    .svh2-layer-point p {

        font-size: 12px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .svh2-layer-point {

        transition: none;
    }
}
/* =========================================================
   SECTION 03 — COMFORT
   COLLISION + FLIPPING CARDS
========================================================= */

.svh2-comfort {
    position: relative;

    min-height: 850px;

    padding: 110px 5%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--somniva-cream-light),
            var(--somniva-cream)
        );

    color: var(--somniva-text);
}

.svh2-comfort .svh2-section-head {
    position: relative;

    z-index: 5;

    width: min(760px, 100%);

    margin: 0 auto 65px;

    text-align: center;
}

.svh2-comfort .svh2-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-comfort .svh2-section-head h2 {
    margin: 0 0 18px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.08;
}

.svh2-comfort .svh2-section-head h2 span {
    color: var(--somniva-purple);
}

.svh2-comfort .svh2-section-head p {
    max-width: 650px;
    margin: auto;

    color: var(--somniva-muted);

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   COMFORT STAGE
========================================================= */

.svh2-comfort-stage {
    position: relative;

    width: min(1150px, 100%);
    min-height: 510px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 28px;

    align-items: center;
}


/* =========================================================
   COMFORT CARDS
========================================================= */

.svh2-comfort-choice {
    position: relative;

    min-height: 205px;

    padding: 30px;

    color: var(--somniva-ink);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.92),
            rgba(248,241,228,0.92)
        );

    border:
        1px solid var(--somniva-border);

    border-radius: 25px;

    box-shadow:
        0 20px 45px rgba(54, 34, 65, 0.10);

    cursor: pointer;

    transform-style: preserve-3d;

    transition:
        transform 0.7s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* alternating collision positions */

.svh2-choice-one {
    transform: translateX(35px) rotate(-3deg);
}

.svh2-choice-two {
    transform: translateX(-35px) rotate(3deg);
}

.svh2-choice-three {
    transform: translateX(35px) rotate(3deg);
}

.svh2-choice-four {
    transform: translateX(-35px) rotate(-3deg);
}


/* active */

.svh2-comfort-choice.is-active {
    transform:
        translateX(0)
        rotate(0)
        translateY(-8px)
        scale(1.03);

    border-color:
        rgba(101, 53, 138, 0.35);

    box-shadow:
        0 30px 65px rgba(54, 34, 65, 0.16),
        0 0 0 5px rgba(101, 53, 138, 0.05);
}


/* number */

.svh2-comfort-choice > span {
    display: block;

    margin-bottom: 22px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* title */

.svh2-comfort-choice > strong {
    display: block;

    margin-bottom: 8px;

    color: var(--somniva-ink);

    font-size: 25px;
    font-weight: 800;
}


/* subtitle */

.svh2-comfort-choice > small {
    color: var(--somniva-muted);

    font-size: 14px;
}


/* =========================================================
   COLLISION GLOW
========================================================= */

.svh2-comfort-stage::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 250px;
    height: 250px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(101, 53, 138, 0.18),
            transparent 68%
        );

    filter: blur(12px);

    pointer-events: none;
}


/* =========================================================
   CENTER RESULT
========================================================= */

.svh2-comfort-center {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 285px;
    height: 285px;

    transform: translate(-50%, -50%);

    display: grid;
    place-items: center;

    z-index: 10;

    pointer-events: none;
}

.svh2-comfort-ring {
    position: absolute;

    width: 100%;
    height: 100%;

    border:
        1px solid rgba(101, 53, 138, 0.20);

    border-radius: 50%;

    box-shadow:
        0 0 0 14px rgba(101, 53, 138, 0.035),
        0 0 60px rgba(101, 53, 138, 0.12);

    animation:
        svh2-ring-pulse 4s ease-in-out infinite;
}

@keyframes svh2-ring-pulse {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}


.svh2-comfort-result {
    position: relative;

    width: 225px;

    padding: 25px;

    text-align: center;

    background:
        rgba(255, 250, 241, 0.95);

    border:
        1px solid rgba(101, 53, 138, 0.14);

    border-radius: 22px;

    box-shadow:
        0 20px 45px rgba(54, 34, 65, 0.13);

    backdrop-filter: blur(15px);
}

.svh2-comfort-result > span:first-child {
    display: block;

    margin-bottom: 8px;

    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-comfort-result h3 {
    margin: 0 0 10px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: 26px;
    line-height: 1.15;
}

.svh2-comfort-result p {
    margin: 0 0 13px;

    color: var(--somniva-muted);

    font-size: 13px;
    line-height: 1.6;
}

.svh2-comfort-result > span:last-child {
    color: var(--somniva-purple);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* =========================================================
   CARD HOVER
========================================================= */

.svh2-comfort-choice:hover {
    transform:
        translateY(-10px)
        rotateY(8deg)
        rotateX(2deg);
    
    box-shadow:
        0 30px 65px rgba(54, 34, 65, 0.17);
}

.svh2-choice-two:hover,
.svh2-choice-four:hover {
    transform:
        translateY(-10px)
        rotateY(-8deg)
        rotateX(2deg);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .svh2-reimagined,
    .svh2-comfort {
        padding: 90px 4%;
    }

    .svh2-layer-stage {
        grid-template-columns: minmax(190px, 1fr) 150px minmax(190px, 1fr);
        column-gap: 25px;
    }

    .svh2-layer-point strong {
        font-size: 18px;
    }

    .svh2-layer-point p {
        font-size: 13px;
    }

    .svh2-mattress-stack {
        transform: scale(.9) !important;
    }

    .svh2-comfort-stage {
        gap: 20px;
    }

    .svh2-comfort-choice {
        min-height: 190px;
        padding: 25px;
    }
}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .svh2-reimagined,
    .svh2-comfort {
        padding: 75px 20px;
    }

    .svh2-reimagined .svh2-section-head h2,
    .svh2-comfort .svh2-section-head h2 {
        font-size: 38px;
    }

    .svh2-reimagined .svh2-section-head p,
    .svh2-comfort .svh2-section-head p {
        font-size: 16px;
    }


    /* timeline becomes one central vertical path */

    .svh2-layer-stage {
        display: grid;

        grid-template-columns: 1fr;

        min-height: auto;

        gap: 0;

        padding: 20px 0 10px;
    }

    .svh2-mattress-visual {
        grid-row: 1;

        min-height: 300px;

        margin-bottom: 20px;
    }

    .svh2-mattress-visual::before {
        top: 0;
        bottom: 0;
    }

    .svh2-layer-copy {
        padding: 0;

        gap: 5px;
    }

    .svh2-layer-copy-left {
        grid-row: 2;

        text-align: left;
    }

    .svh2-layer-copy-right {
        grid-row: 3;

        text-align: left;
    }

    .svh2-layer-point {
        grid-template-columns: 42px 1fr;

        padding: 18px 5px;
    }

    .svh2-layer-copy-left .svh2-layer-point::after,
    .svh2-layer-copy-right .svh2-layer-point::after {
        display: none;
    }

    .svh2-layer-point strong {
        font-size: 18px;
    }

    .svh2-layer-point p {
        font-size: 13px;
    }


    /* section 3 */

    .svh2-comfort-stage {
        min-height: auto;

        display: grid;

        grid-template-columns: 1fr;

        gap: 18px;

        padding-top: 20px;
    }

    .svh2-comfort-center {
        position: relative;

        left: auto;
        top: auto;

        order: -1;

        width: 250px;
        height: 250px;

        margin: 0 auto 20px;

        transform: none;
    }

    .svh2-comfort-result {
        width: 200px;
        padding: 22px;
    }

    .svh2-comfort-choice {
        min-height: 160px;

        padding: 25px;

        transform: none !important;
    }

    .svh2-comfort-choice.is-active {
        transform: scale(1.02) !important;
    }

    .svh2-comfort-choice:hover {
        transform: translateY(-6px) !important;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 480px) {

    .svh2-reimagined,
    .svh2-comfort {
        padding: 65px 16px;
    }

    .svh2-reimagined .svh2-section-head h2,
    .svh2-comfort .svh2-section-head h2 {
        font-size: 34px;
    }

    .svh2-mattress-stack {
        transform: scale(.82) !important;
    }

    .svh2-comfort-center {
        width: 225px;
        height: 225px;
    }

    .svh2-comfort-result {
        width: 185px;
        padding: 18px;
    }

    .svh2-comfort-result h3 {
        font-size: 23px;
    }

    .svh2-comfort-result p {
        font-size: 12px;
    }

    .svh2-comfort-choice > strong {
        font-size: 21px;
    }
}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .svh2-reimagined,
    .svh2-comfort {
        padding-inline: 13px;
    }

    .svh2-reimagined .svh2-section-head h2,
    .svh2-comfort .svh2-section-head h2 {
        font-size: 31px;
    }

    .svh2-layer-point strong {
        font-size: 17px;
    }

    .svh2-layer-point p {
        font-size: 12px;
    }

    .svh2-comfort-center {
        width: 210px;
        height: 210px;
    }

    .svh2-comfort-result {
        width: 175px;
        padding: 16px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .svh2-comfort-ring {
        animation: none;
    }

    .svh2-layer-point,
    .svh2-comfort-choice {
        transition: none;
    }
}

.svh2-orbit-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.25fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    width: 100%;
    padding: clamp(50px, 7vw, 100px) clamp(20px, 4vw, 56px);
    background: linear-gradient(135deg, var(--somniva-cream-light), var(--somniva-cream));
    color: var(--somniva-text);
    overflow: hidden;
}

.svh2-orbit-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--somniva-purple);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.svh2-orbit-heading {
    margin: 0 0 18px;
    color: var(--somniva-ink);
    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 700;
    line-height: 1.05;
}

.svh2-orbit-heading span {
    color: var(--somniva-purple);
}

.svh2-orbit-sub {
    max-width: 480px;
    margin: 0 0 clamp(28px, 3vw, 44px);
    color: var(--somniva-muted);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.7;
}

.svh2-orbit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.svh2-orbit-item {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 18px 4px;
    border-top: 1px solid var(--somniva-border);
    cursor: pointer;
    transition: padding var(--somniva-transition);
}

.svh2-orbit-list li:last-child {
    border-bottom: 1px solid var(--somniva-border);
}

.svh2-orbit-num {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--somniva-muted);
    transition: color var(--somniva-transition);
}

.svh2-orbit-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.svh2-orbit-text strong {
    font-family: "Playfair Display", serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    color: var(--somniva-ink);
    transition: color var(--somniva-transition);
}

.svh2-orbit-text em {
    font-style: normal;
    font-size: 14px;
    color: var(--somniva-muted);
}

.svh2-orbit-item.is-active {
    padding-left: 16px;
}

.svh2-orbit-item.is-active .svh2-orbit-num,
.svh2-orbit-item.is-active .svh2-orbit-text strong {
    color: var(--somniva-purple);
}

.svh2-orbit-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 620px;
    margin: 0 auto;
}

.svh2-orbit-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.svh2-orbit-track {
    fill: none;
    stroke: var(--somniva-border);
    stroke-width: 1.5;
    stroke-dasharray: 3 10;
    transform-origin: 250px 250px;
    animation: svh2-orbit-spin 50s linear infinite;
}

.svh2-orbit-track-2 {
    stroke: var(--somniva-purple-light);
    opacity: 0.35;
    stroke-dasharray: 1 8;
    animation-duration: 34s;
    animation-direction: reverse;
}

@keyframes svh2-orbit-spin {
    to { transform: rotate(360deg); }
}

#svh2OrbitNeedle {
    stroke: var(--somniva-purple);
    stroke-width: 2.5;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.svh2-orbit-hub {
    fill: var(--somniva-purple);
}

.svh2-orbit-node {
    position: absolute;
    width: clamp(52px, 7vw, 74px);
    height: clamp(52px, 7vw, 74px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid var(--somniva-border);
    background: var(--somniva-cream-light);
    color: var(--somniva-purple);
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(14px, 1.6vw, 18px);
    cursor: pointer;
    transition: transform var(--somniva-transition), background var(--somniva-transition), box-shadow var(--somniva-transition);
}

.svh2-orbit-node.is-active {
    background: var(--somniva-purple);
    color: #fff;
    border-color: var(--somniva-purple);
    box-shadow: 0 0 0 8px rgba(101, 53, 138, 0.15);
    transform: translate(-50%, -50%) scale(1.12);
    animation: svh2-orbit-pulse 1.8s ease-out infinite;
}

@keyframes svh2-orbit-pulse {
    0% { box-shadow: 0 0 0 0 rgba(101, 53, 138, 0.35); }
    100% { box-shadow: 0 0 0 16px rgba(101, 53, 138, 0); }
}

.svh2-orbit-center {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.svh2-orbit-center #svh2OrbitNumber {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--somniva-purple);
}

.svh2-orbit-center #svh2OrbitTitle {
    margin: 10px 0 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(24px, 2.6vw, 34px);
    color: var(--somniva-ink);
}

.svh2-orbit-center #svh2OrbitCopy {
    max-width: 260px;
    margin: 0 0 10px;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.6;
    color: var(--somniva-muted);
}

.svh2-orbit-center #svh2OrbitNote {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--somniva-purple-light);
}

@media (max-width: 991px) {
    .svh2-orbit-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .svh2-orbit-sub { margin-inline: auto; }
    .svh2-orbit-item { text-align: left; }
    .svh2-orbit-stage { max-width: 480px; order: -1; margin-bottom: 20px; }
}

@media (max-width: 575px) {
    .svh2-orbit-stage { max-width: 340px; }
    .svh2-orbit-center { width: 68%; height: 68%; }
    .svh2-orbit-item { gap: 12px; padding: 14px 2px; }
}

@media (max-width: 375px) {
    .svh2-orbit-stage { max-width: 280px; }
    .svh2-orbit-node { width: 44px; height: 44px; font-size: 12px; }
}

/* =========================================================
   SOMNIVA PRODUCTS PAGE
   PRODUCT-ONLY STYLES
   IMPORTANT:
   Everything is scoped to .somniva-products-page
========================================================= */


/* =========================================================
   PRODUCTS PAGE BASE
========================================================= */

.somniva-products-page .sv-products-main {
    width: 100%;
    overflow: visible;
}

/* =========================================================
   SHORT PRODUCT BANNER
========================================================= */

.somniva-products-page .sv-products-banner {
    position: relative;

    width: 100%;
    min-height: 360px;

    overflow: hidden;

    isolation: isolate;

    background: var(--somniva-cream-soft);
}


.somniva-products-page .sv-products-banner-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    object-position: center;

    z-index: -3;

    transform: scale(1.03);

    animation:
        svProductsBannerImage
        1.2s
        ease
        forwards;
}


.somniva-products-page .sv-products-banner-overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(20, 12, 26, 0.82) 0%,
            rgba(20, 12, 26, 0.64) 38%,
            rgba(20, 12, 26, 0.18) 72%,
            rgba(20, 12, 26, 0.04) 100%
        );
}


.somniva-products-page .sv-products-banner-content {
    position: relative;
    z-index: 2;

    width: min(1440px, 100%);

    min-height: 360px;

    margin: 0 auto;

    padding:
        45px
        28px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;
}


.somniva-products-page .sv-products-banner-kicker {
    display: inline-block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.20em;
}


.somniva-products-page .sv-products-banner-content h1 {
    max-width: 650px;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(
        34px,
        4vw,
        58px
    );

    line-height: 1.05;

    letter-spacing: -1.8px;
}


.somniva-products-page .sv-products-banner-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    font-weight: 500;
}


@keyframes svProductsBannerImage {

    from {
        opacity: 0;
        transform: scale(1.08);
    }

    to {
        opacity: 1;
        transform: scale(1.03);
    }

}


/* =========================================================
   SALES MARQUEE
========================================================= */

.somniva-products-page .sv-products-marquee {
    width: 100%;

    overflow: hidden;

    padding: 14px 0;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);

    background:
        var(--somniva-cream-light);

    white-space: nowrap;
}


.somniva-products-page .sv-products-marquee-track {
    width: max-content;

    display: flex;

    align-items: center;

    gap: 28px;

    padding-left: 28px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.13em;

    animation:
        svProductsMarquee
        28s
        linear
        infinite;
}


.somniva-products-page .sv-products-marquee-track span {
    flex-shrink: 0;
}


@keyframes svProductsMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================================
   CATALOGUE
========================================================= */

.somniva-products-page .sv-products-catalogue {
    width: min(1440px, 100%);

    margin: 0 auto;

    padding:
        70px
        28px
        90px;
}


.somniva-products-page .sv-products-layout {
    display: grid;

    grid-template-columns:
        245px
        minmax(0, 1fr);

    align-items: start;

    gap: 42px;
}


/* =========================================================
   FILTER SIDEBAR
========================================================= */

.somniva-products-page .sv-products-filter {
    position: sticky;
    top: 105px;
    align-self: start;

    padding: 24px 0;

    border-top: 1px solid var(--somniva-border);
    border-bottom: 1px solid var(--somniva-border);

    z-index: 10;
}
.somniva-products-page .sv-products-filter-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 30px;
}


.somniva-products-page .sv-products-filter-heading > span {
    color: var(--somniva-ink);

    font-size: 22px;
    font-weight: 800;
}


.somniva-products-page .sv-products-filter-heading button {
    padding: 0;

    color: var(--somniva-purple);

    background: transparent;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}


.somniva-products-page .sv-products-filter-heading button:hover {
    color: var(--somniva-purple-dark);
}


.somniva-products-page .sv-products-filter-group {
    min-width: 0;

    margin: 0 0 30px;

    padding: 0;

    border: 0;
}


.somniva-products-page .sv-products-filter-group legend {
    margin-bottom: 14px;

    color: var(--somniva-ink);

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.02em;
}


.somniva-products-page .sv-products-radio {
    position: relative;

    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 38px;

    cursor: pointer;
}


.somniva-products-page .sv-products-radio input {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--somniva-purple);

    cursor: pointer;
}


.somniva-products-page .sv-products-radio span {
    color: var(--somniva-muted);

    font-size: 14px;
    font-weight: 600;

    transition:
        color var(--somniva-transition);
}


.somniva-products-page .sv-products-radio:hover span,
.somniva-products-page .sv-products-radio input:checked + span {
    color: var(--somniva-purple);

    font-weight: 800;
}


.somniva-products-page .sv-products-filter-note {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 8px;
}


.somniva-products-page .sv-products-filter-note i {
    flex-shrink: 0;

    color: var(--somniva-purple);

    font-size: 18px;
}


.somniva-products-page .sv-products-filter-note p {
    margin: 0;

    color: var(--somniva-muted);

    font-size: 12px;
    line-height: 1.6;
}


.somniva-products-page .sv-products-filter-trigger {
    display: none;
}


/* =========================================================
   RESULTS
========================================================= */

.somniva-products-page .sv-products-results {
    min-width: 0;
}


.somniva-products-page .sv-products-result-bar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-products-page .sv-products-result-count {
    display: block;

    color: var(--somniva-ink);

    font-size: 20px;
    font-weight: 800;
}


.somniva-products-page .sv-products-selected {
    display: block;

    margin-top: 3px;

    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 600;
}


.somniva-products-page .sv-products-sort-wrap {
    display: flex;

    align-items: center;

    gap: 10px;
}


.somniva-products-page .sv-products-sort-wrap label {
    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 700;
}


.somniva-products-page .sv-products-sort-wrap select {
    min-width: 150px;

    padding: 9px 12px;

    color: var(--somniva-text);

    background:
        var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    outline: none;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}


.somniva-products-page .sv-products-sort-wrap select:focus {
    border-color: var(--somniva-purple);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.somniva-products-page .sv-products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

    align-items: stretch;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.somniva-products-page .sv-product-card {
    position: relative;

    min-width: 0;

    display: flex;

    flex-direction: column;

    min-height: 610px;

    overflow: hidden;

    background:
        var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    box-shadow:
        var(--somniva-shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    animation:
        svProductsCardReveal
        0.65s
        ease
        both;
}


.somniva-products-page .sv-product-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(101, 53, 138, 0.28);

    box-shadow:
        0 25px 60px
        rgba(54, 34, 65, 0.15);
}


@keyframes svProductsCardReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.somniva-products-page .sv-product-card:nth-child(2) {
    animation-delay: 0.06s;
}


.somniva-products-page .sv-product-card:nth-child(3) {
    animation-delay: 0.12s;
}


.somniva-products-page .sv-product-card:nth-child(4) {
    animation-delay: 0.18s;
}


.somniva-products-page .sv-product-card:nth-child(5) {
    animation-delay: 0.24s;
}


.somniva-products-page .sv-product-card:nth-child(6) {
    animation-delay: 0.30s;
}


.somniva-products-page .sv-product-card:nth-child(7) {
    animation-delay: 0.36s;
}


.somniva-products-page .sv-product-card:nth-child(8) {
    animation-delay: 0.42s;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.somniva-products-page .sv-product-image-wrap {
    position: relative;

    width: 100%;
    height: 245px;

    flex-shrink: 0;

    overflow: hidden;

    background:
        var(--somniva-cream-soft);
}


.somniva-products-page .sv-product-image {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    transition:
        transform 0.6s
        cubic-bezier(0.2, 0.7, 0.2, 1);
}


.somniva-products-page .sv-product-card:hover .sv-product-image {
    transform: scale(1.06);
}


/* =========================================================
   PRODUCT BADGES
========================================================= */

.somniva-products-page .sv-product-badge {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding: 0 11px;

    color: #ffffff;

    background:
        var(--somniva-purple);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.09em;
}


.somniva-products-page .sv-product-badge-sale {
    background:
        var(--somniva-purple-dark);
}


.somniva-products-page .sv-product-badge-bestseller {
    background:
        var(--somniva-gold);
}


.somniva-products-page .sv-product-badge-new {
    background:
        var(--somniva-purple);
}


.somniva-products-page .sv-product-badge-limited {
    background:
        var(--somniva-ink);

    color:
        var(--somniva-cream-light);
}


/* =========================================================
   QUICK BUTTON
========================================================= */

.somniva-products-page .sv-product-quick {
    position: absolute;

    right: 16px;
    bottom: 16px;

    z-index: 3;

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    color: var(--somniva-ink);

    background:
        var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    cursor: pointer;

    opacity: 0;

    transform:
        translateY(8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.somniva-products-page .sv-product-card:hover .sv-product-quick {
    opacity: 1;

    transform:
        translateY(0);
}


.somniva-products-page .sv-product-quick:hover {
    color: #ffffff;

    background:
        var(--somniva-purple);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.somniva-products-page .sv-product-content {
    flex: 1;

    min-height: 0;

    display: flex;

    flex-direction: column;

    padding: 23px 21px 21px;
}


.somniva-products-page .sv-product-type {
    display: block;

    min-height: 18px;

    margin-bottom: 7px;

    color: var(--somniva-purple);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.somniva-products-page .sv-product-content h2 {
    min-height: 48px;

    margin: 0 0 8px;

    color: var(--somniva-ink);

    font-size: 21px;
    font-weight: 800;

    line-height: 1.18;

    letter-spacing: -0.4px;
}


.somniva-products-page .sv-product-description {
    min-height: 52px;
    max-height: 52px;

    margin: 0;

    overflow: hidden;

    color: var(--somniva-muted);

    font-size: 13px;

    line-height: 1.55;
}


.somniva-products-page .sv-product-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    min-height: 35px;

    margin-top: 13px;

    padding:
        9px 0;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-products-page .sv-product-meta span {
    color: var(--somniva-muted);

    font-size: 10px;
    font-weight: 700;
}


.somniva-products-page .sv-product-meta i {
    margin-right: 3px;

    color: var(--somniva-purple);
}


/* =========================================================
   SIZE
========================================================= */

.somniva-products-page .sv-product-sizes {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    margin-top: 14px;
}


.somniva-products-page .sv-product-sizes > span {
    color: var(--somniva-muted);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.07em;
}


.somniva-products-page .sv-product-size-select {
    width: 100%;

    min-width: 0;

    padding: 8px 10px;

    color: var(--somniva-text);

    background:
        var(--somniva-cream);

    border:
        1px solid
        var(--somniva-border);

    outline: none;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.somniva-products-page .sv-product-size-select:focus {
    border-color:
        var(--somniva-purple);
}


/* =========================================================
   PRICE
========================================================= */

.somniva-products-page .sv-product-price-row {
    min-height: 47px;

    display: flex;

    align-items: flex-end;

    margin-top: auto;

    padding-top: 16px;
}


.somniva-products-page .sv-product-price {
    color: var(--somniva-ink);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.5px;
}


.somniva-products-page .sv-product-price-row del {
    margin-left: 7px;

    color: var(--somniva-muted);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   ADD TO CART
========================================================= */

.somniva-products-page .sv-product-add {
    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 14px;

    padding:
        0 16px;

    color: #ffffff;

    background:
        var(--somniva-purple);

    border:
        1px solid
        var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.somniva-products-page .sv-product-add:hover {
    background:
        var(--somniva-purple-dark);

    box-shadow:
        0 12px 25px
        rgba(101, 53, 138, 0.25);

    transform:
        translateY(-2px);
}


.somniva-products-page .sv-product-add:active {
    transform:
        translateY(0);
}


.somniva-products-page .sv-product-add.is-adding {
    pointer-events: none;

    opacity: 0.75;
}


.somniva-products-page .sv-product-add.is-added {
    color: #ffffff;

    background:
        var(--somniva-purple-dark);

    border-color:
        var(--somniva-purple-dark);

    pointer-events: none;
}


.somniva-products-page .sv-product-add.is-added i::before {
    content: "\f26a";
}


/* =========================================================
   FILTER ANIMATION
========================================================= */

.somniva-products-page .sv-product-card.sv-product-hidden {
    display: none;
}


.somniva-products-page .sv-product-card.sv-product-filter-enter {
    animation:
        svProductsFilterReveal
        0.45s
        ease
        both;
}


@keyframes svProductsFilterReveal {

    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   EMPTY STATE
========================================================= */

.somniva-products-page .sv-products-empty {
    min-height: 320px;

    padding: 50px 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-products-page .sv-products-empty > i {
    margin-bottom: 15px;

    color: var(--somniva-purple);

    font-size: 35px;
}


.somniva-products-page .sv-products-empty h2 {
    margin-bottom: 8px;

    color: var(--somniva-ink);

    font-size: 24px;
}


.somniva-products-page .sv-products-empty p {
    margin-bottom: 18px;

    color: var(--somniva-muted);

    font-size: 14px;
}


.somniva-products-page .sv-products-empty button {
    padding: 10px 18px;

    color: #ffffff;

    background:
        var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   BOTTOM PROMO
========================================================= */

.somniva-products-page .sv-products-promo {
    width: min(1440px, 100%);

    margin: 0 auto;

    padding:
        65px 28px
        80px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);

    align-items: center;

    gap: 60px;

    border-top:
        1px solid
        var(--somniva-border);
}


.somniva-products-page .sv-products-promo-copy > span {
    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.16em;
}


.somniva-products-page .sv-products-promo-copy h2 {
    max-width: 650px;

    margin: 10px 0 12px;

    color: var(--somniva-ink);

    font-size: clamp(
        30px,
        3.2vw,
        48px
    );

    line-height: 1.08;

    letter-spacing: -1.3px;
}


.somniva-products-page .sv-products-promo-copy p {
    max-width: 600px;

    margin: 0;

    color: var(--somniva-muted);

    font-size: 15px;
}


.somniva-products-page .sv-products-promo-details {
    display: flex;

    flex-direction: column;

    gap: 16px;

    padding-left: 35px;

    border-left:
        1px solid
        var(--somniva-border);
}


.somniva-products-page .sv-products-promo-details div {
    display: flex;

    align-items: center;

    gap: 14px;
}


.somniva-products-page .sv-products-promo-details i {
    color: var(--somniva-purple);

    font-size: 19px;
}


.somniva-products-page .sv-products-promo-details span {
    color: var(--somniva-text);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .somniva-products-page .sv-products-catalogue {
        padding-top: 55px;
    }


    .somniva-products-page .sv-products-layout {
        grid-template-columns:
            220px
            minmax(0, 1fr);

        gap: 28px;
    }


    .somniva-products-page .sv-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }


    .somniva-products-page .sv-product-card {
        min-height: 600px;
    }

}


@media (max-width: 1024px) {

    .somniva-products-page .sv-products-banner {
        height: 255px;
    }


    .somniva-products-page .sv-products-banner-content {
        padding:
            35px 28px;
    }


    .somniva-products-page .sv-products-layout {
        grid-template-columns:
            210px
            minmax(0, 1fr);

        gap: 24px;
    }


    .somniva-products-page .sv-product-image-wrap {
        height: 225px;
    }


    .somniva-products-page .sv-product-content h2 {
        font-size: 20px;
    }


    .somniva-products-page .sv-products-promo {
        gap: 35px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .somniva-products-page .sv-products-banner {
        height: 225px;
    }


    .somniva-products-page .sv-products-banner-content {
        padding:
            30px 22px;
    }


    .somniva-products-page .sv-products-banner-content h1 {
        max-width: 500px;

        font-size: 35px;

        letter-spacing: -1px;
    }


    .somniva-products-page .sv-products-banner-content p {
        font-size: 14px;
    }


    .somniva-products-page .sv-products-marquee-track {
        gap: 20px;

        font-size: 10px;
    }


    .somniva-products-page .sv-products-catalogue {
        padding:
            40px 20px
            60px;
    }


    .somniva-products-page .sv-products-filter-trigger {
        width: 100%;

        min-height: 48px;

        margin-bottom: 18px;

        display: flex;

        align-items: center;
        justify-content: space-between;

        padding: 0 15px;

        color: var(--somniva-ink);

        background:
            var(--somniva-cream-light);

        border:
            1px solid
            var(--somniva-border);

        font-size: 13px;
        font-weight: 800;

        cursor: pointer;
    }


    .somniva-products-page .sv-products-filter-trigger span {
        display: flex;

        align-items: center;

        gap: 9px;
    }


    .somniva-products-page .sv-products-filter-trigger i {
        color: var(--somniva-purple);
    }


    .somniva-products-page .sv-products-layout {
        display: block;
    }


    .somniva-products-page .sv-products-filter {
        position: static;

        display: none;

        margin-bottom: 24px;

        padding:
            22px 0;

        border-top:
            1px solid
            var(--somniva-border);

        border-bottom:
            1px solid
            var(--somniva-border);
    }


    .somniva-products-page .sv-products-filter.is-open {
        display: block;

        animation:
            svProductsFilterPanel
            0.3s
            ease
            both;
    }


    @keyframes svProductsFilterPanel {

        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }


    .somniva-products-page .sv-products-result-bar {
        align-items: flex-end;

        margin-bottom: 22px;
    }


    .somniva-products-page .sv-products-sort-wrap {
        display: none;
    }


    .somniva-products-page .sv-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .somniva-products-page .sv-product-card {
        min-height: 600px;
    }


    .somniva-products-page .sv-product-image-wrap {
        height: 220px;
    }


    .somniva-products-page .sv-product-content {
        padding:
            19px 17px 17px;
    }


    .somniva-products-page .sv-product-content h2 {
        font-size: 18px;
    }


    .somniva-products-page .sv-product-description {
        font-size: 12px;
    }


    .somniva-products-page .sv-product-meta {
        display: block;
    }


    .somniva-products-page .sv-product-meta span {
        display: block;
    }


    .somniva-products-page .sv-product-meta span + span {
        margin-top: 4px;
    }


    .somniva-products-page .sv-product-price {
        font-size: 20px;
    }


    .somniva-products-page .sv-products-promo {
        padding:
            50px 20px
            65px;

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .somniva-products-page .sv-products-promo-details {
        padding:
            25px 0 0;

        border-left: 0;

        border-top:
            1px solid
            var(--somniva-border);
    }

}


/* =========================================================
   MOBILE-L
========================================================= */

@media (max-width: 425px) {

    .somniva-products-page .sv-products-banner {
        height: 215px;
    }


    .somniva-products-page .sv-products-banner-content {
        padding:
            25px 18px;
    }


    .somniva-products-page .sv-products-banner-content h1 {
        font-size: 31px;
    }


    .somniva-products-page .sv-products-catalogue {
        padding:
            32px 15px
            55px;
    }


    .somniva-products-page .sv-products-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .somniva-products-page .sv-product-card {
        min-height: 585px;
    }


    .somniva-products-page .sv-product-image-wrap {
        height: 230px;
    }


    .somniva-products-page .sv-product-content h2 {
        font-size: 20px;
    }


    .somniva-products-page .sv-product-meta {
        display: flex;
    }


    .somniva-products-page .sv-product-meta span + span {
        margin-top: 0;
    }


    .somniva-products-page .sv-products-result-count {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE-M
========================================================= */

@media (max-width: 375px) {

    .somniva-products-page .sv-products-banner {
        height: 205px;
    }


    .somniva-products-page .sv-products-banner-content h1 {
        font-size: 28px;
    }


    .somniva-products-page .sv-products-banner-content p {
        font-size: 13px;
    }


    .somniva-products-page .sv-product-image-wrap {
        height: 215px;
    }


    .somniva-products-page .sv-product-card {
        min-height: 575px;
    }


    .somniva-products-page .sv-product-content {
        padding:
            18px 15px 15px;
    }

}


/* =========================================================
   MOBILE-S
========================================================= */

@media (max-width: 320px) {

    .somniva-products-page .sv-products-banner {
        height: 200px;
    }


    .somniva-products-page .sv-products-banner-content {
        padding:
            22px 14px;
    }


    .somniva-products-page .sv-products-banner-kicker {
        font-size: 11px;
    }


    .somniva-products-page .sv-products-banner-content h1 {
        font-size: 25px;
    }


    .somniva-products-page .sv-products-catalogue {
        padding-left: 12px;
        padding-right: 12px;
    }


    .somniva-products-page .sv-product-image-wrap {
        height: 205px;
    }


    .somniva-products-page .sv-product-card {
        min-height: 560px;
    }


    .somniva-products-page .sv-product-meta {
        gap: 5px;
    }


    .somniva-products-page .sv-product-meta span {
        font-size: 9px;
    }


    .somniva-products-page .sv-product-add {
        min-height: 45px;

        padding:
            0 13px;

        font-size: 12px;
    }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .somniva-products-page .sv-products-banner-content {
        padding-left: 40px;
        padding-right: 40px;
    }


    .somniva-products-page .sv-products-catalogue {
        padding-top: 80px;
    }


    .somniva-products-page .sv-products-grid {
        gap: 30px;
    }


    .somniva-products-page .sv-product-image-wrap {
        height: 265px;
    }


    .somniva-products-page .sv-product-card {
        min-height: 625px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .somniva-products-page .sv-products-banner-image,
    .somniva-products-page .sv-products-marquee-track,
    .somniva-products-page .sv-product-card,
    .somniva-products-page .sv-products-filter.is-open {
        animation: none;
    }


    .somniva-products-page .sv-product-card,
    .somniva-products-page .sv-product-image,
    .somniva-products-page .sv-product-add {
        transition: none;
    }

}

/* =========================================================
   SOMNIVA ACCESSORIES PAGE
   SCOPED ONLY TO .somniva-accessories-page
========================================================= */


/* =========================================================
   MAIN
========================================================= */

.somniva-accessories-page .sva-main {
    width: 100%;
}


/* =========================================================
   INTRO BANNER
========================================================= */

.somniva-accessories-page .sva-intro {
    width: 100%;
    padding: 42px 28px;
    background: var(--somniva-cream-soft);
    border-bottom: 1px solid var(--somniva-border);
}


.somniva-accessories-page .sva-intro-content {
    width: min(1440px, 100%);
    min-height: 265px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 60px;
}


.somniva-accessories-page .sva-intro-copy {
    max-width: 720px;
}


.somniva-accessories-page .sva-kicker {
    display: block;
    margin-bottom: 12px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.20em;
}


.somniva-accessories-page .sva-intro-copy h1 {
    max-width: 720px;
    margin: 0 0 14px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 4.3vw, 60px);
    line-height: 1.04;
    letter-spacing: -1.8px;
}


.somniva-accessories-page .sva-intro-copy h1 em {
    color: var(--somniva-purple);
    font-style: normal;
}


.somniva-accessories-page .sva-intro-copy p {
    max-width: 650px;
    margin: 0;

    color: var(--somniva-muted);

    font-size: 16px;
    line-height: 1.7;
}


.somniva-accessories-page .sva-intro-image {
    position: relative;

    min-height: 225px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.somniva-accessories-page .sva-intro-image::before {
    content: "";

    position: absolute;
    width: 260px;
    height: 260px;

    border: 1px solid var(--somniva-border);
    border-radius: 50%;

    pointer-events: none;
}


.somniva-accessories-page .sva-intro-image img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 235px;

    max-width: 520px;

    object-fit: contain;

    animation:
        svaIntroImage
        0.9s
        ease
        both;
}


@keyframes svaIntroImage {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   MARQUEE
========================================================= */

.somniva-accessories-page .sva-marquee {
    width: 100%;
    overflow: hidden;

    padding: 14px 0;

    background: var(--somniva-cream-light);

    border-top: 1px solid var(--somniva-border);
    border-bottom: 1px solid var(--somniva-border);

    white-space: nowrap;
}


.somniva-accessories-page .sva-marquee-track {
    width: max-content;

    display: flex;
    align-items: center;

    gap: 24px;
    padding-left: 28px;

    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;

    animation:
        svaMarquee
        27s
        linear
        infinite;
}


.somniva-accessories-page .sva-marquee-track span,
.somniva-accessories-page .sva-marquee-track i {
    flex-shrink: 0;
}


.somniva-accessories-page .sva-marquee-track i {
    font-size: 14px;
}


@keyframes svaMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================================
   CATALOGUE
========================================================= */

.somniva-accessories-page .sva-catalogue {
    width: min(1440px, 100%);
    margin: 0 auto;

    padding:
        70px
        28px
        90px;
}


.somniva-accessories-page .sva-layout {
    display: grid;

    grid-template-columns:
        245px
        minmax(0, 1fr);

    align-items: start;

    gap: 42px;
}


/* =========================================================
   FILTER
========================================================= */

.somniva-accessories-page .sva-filter {
    position: sticky;
    top: 105px;

    padding: 24px 0;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-accessories-page .sva-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
    margin-bottom: 30px;
}


.somniva-accessories-page .sva-filter-heading span {
    color: var(--somniva-ink);

    font-size: 22px;
    font-weight: 800;
}


.somniva-accessories-page .sva-filter-heading button {
    padding: 0;

    color: var(--somniva-purple);
    background: transparent;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}


.somniva-accessories-page .sva-filter-heading button:hover {
    color: var(--somniva-purple-dark);
}


.somniva-accessories-page .sva-filter-group {
    min-width: 0;

    margin: 0 0 30px;
    padding: 0;

    border: 0;
}


.somniva-accessories-page .sva-filter-group legend {
    margin-bottom: 12px;

    color: var(--somniva-ink);

    font-size: 14px;
    font-weight: 800;
}


.somniva-accessories-page .sva-radio {
    min-height: 38px;

    display: flex;
    align-items: center;

    gap: 11px;

    cursor: pointer;
}


.somniva-accessories-page .sva-radio input {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--somniva-purple);

    cursor: pointer;
}


.somniva-accessories-page .sva-radio span {
    color: var(--somniva-muted);

    font-size: 14px;
    font-weight: 600;

    transition:
        color var(--somniva-transition);
}


.somniva-accessories-page .sva-radio:hover span,
.somniva-accessories-page .sva-radio input:checked + span {
    color: var(--somniva-purple);
    font-weight: 800;
}


.somniva-accessories-page .sva-filter-note {
    display: flex;
    align-items: flex-start;

    gap: 12px;
    margin-top: 8px;
}


.somniva-accessories-page .sva-filter-note i {
    flex-shrink: 0;

    color: var(--somniva-purple);
    font-size: 18px;
}


.somniva-accessories-page .sva-filter-note p {
    margin: 0;

    color: var(--somniva-muted);

    font-size: 12px;
    line-height: 1.6;
}


.somniva-accessories-page .sva-filter-trigger {
    display: none;
}


/* =========================================================
   RESULTS BAR
========================================================= */

.somniva-accessories-page .sva-results {
    min-width: 0;
}


.somniva-accessories-page .sva-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
    padding-bottom: 18px;

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-accessories-page .sva-result-count {
    display: block;

    color: var(--somniva-ink);

    font-size: 20px;
    font-weight: 800;
}


.somniva-accessories-page .sva-selected {
    display: block;

    margin-top: 3px;

    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 600;
}


.somniva-accessories-page .sva-sort-wrap {
    display: flex;
    align-items: center;

    gap: 10px;
}


.somniva-accessories-page .sva-sort-wrap label {
    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 700;
}


.somniva-accessories-page .sva-sort-wrap select {
    min-width: 155px;

    padding: 9px 12px;

    color: var(--somniva-text);
    background: var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    outline: none;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}


.somniva-accessories-page .sva-sort-wrap select:focus {
    border-color: var(--somniva-purple);
}


/* =========================================================
   GRID
========================================================= */

.somniva-accessories-page .sva-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

    align-items: stretch;
}


/* =========================================================
   CARD
========================================================= */

.somniva-accessories-page .sva-card {
    position: relative;

    min-width: 0;
    min-height: 590px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    box-shadow:
        var(--somniva-shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    animation:
        svaCardReveal
        0.65s
        ease
        both;
}


.somniva-accessories-page .sva-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(101, 53, 138, 0.28);

    box-shadow:
        0 25px 60px
        rgba(54, 34, 65, 0.15);
}


@keyframes svaCardReveal {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.somniva-accessories-page .sva-card:nth-child(2) {
    animation-delay: 0.05s;
}

.somniva-accessories-page .sva-card:nth-child(3) {
    animation-delay: 0.10s;
}

.somniva-accessories-page .sva-card:nth-child(4) {
    animation-delay: 0.15s;
}

.somniva-accessories-page .sva-card:nth-child(5) {
    animation-delay: 0.20s;
}

.somniva-accessories-page .sva-card:nth-child(6) {
    animation-delay: 0.25s;
}

.somniva-accessories-page .sva-card:nth-child(7) {
    animation-delay: 0.30s;
}

.somniva-accessories-page .sva-card:nth-child(8) {
    animation-delay: 0.35s;
}

.somniva-accessories-page .sva-card:nth-child(9) {
    animation-delay: 0.40s;
}

.somniva-accessories-page .sva-card:nth-child(10) {
    animation-delay: 0.45s;
}

.somniva-accessories-page .sva-card:nth-child(11) {
    animation-delay: 0.50s;
}

.somniva-accessories-page .sva-card:nth-child(12) {
    animation-delay: 0.55s;
}

.somniva-accessories-page .sva-card:nth-child(13) {
    animation-delay: 0.60s;
}

.somniva-accessories-page .sva-card:nth-child(14) {
    animation-delay: 0.65s;
}


/* =========================================================
   IMAGE
========================================================= */

.somniva-accessories-page .sva-image-wrap {
    position: relative;

    width: 100%;
    height: 245px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--somniva-cream-soft);
}


.somniva-accessories-page .sva-product-image {
    width: 100%;
    height: 100%;
    display: block;

    max-width: none;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s
        cubic-bezier(0.2, 0.7, 0.2, 1);
}


.somniva-accessories-page .sva-card:hover .sva-product-image {
    transform: scale(1.045);
}


/* =========================================================
   BADGE
========================================================= */

.somniva-accessories-page .sva-badge {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 3;

    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 0 11px;

    color: #ffffff;

    background: var(--somniva-purple);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.09em;
}


/* =========================================================
   ACCESSORIES — SALE RIBBON
   Existing structure:
   .sva-image-wrap
       ├── img
       └── .sva-sale-band
========================================================= */

.somniva-accessories-page .sva-image-wrap .sva-sale-band {
    position: absolute;
    top: 22px;
    right: -48px;

    width: 170px;
    padding: 8px 0;

    z-index: 10;

    display: block;

    background: #e9364f;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 1.4px;
    text-align: center;

    transform: rotate(45deg);

    pointer-events: none;
}

@media (max-width: 575px) {

    .somniva-accessories-page .sva-image-wrap .sva-sale-band {
        top: 18px;
        right: -50px;

        width: 155px;
        padding: 7px 0;

        font-size: 10px;
        letter-spacing: 1px;
    }

}

/* =========================================================
   CARD CONTENT
========================================================= */

.somniva-accessories-page .sva-content {
    flex: 1;

    min-height: 0;

    display: flex;
    flex-direction: column;

    padding: 23px 21px 21px;
}


.somniva-accessories-page .sva-type {
    display: block;

    min-height: 18px;

    margin-bottom: 7px;

    color: var(--somniva-purple);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.somniva-accessories-page .sva-content h2 {
    min-height: 48px;

    margin: 0 0 8px;

    color: var(--somniva-ink);

    font-size: 21px;
    font-weight: 800;

    line-height: 1.18;
    letter-spacing: -0.4px;
}


.somniva-accessories-page .sva-description {
    min-height: 52px;
    max-height: 52px;

    margin: 0;

    overflow: hidden;

    color: var(--somniva-muted);

    font-size: 13px;
    line-height: 1.55;
}


.somniva-accessories-page .sva-meta {
    min-height: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-top: 13px;
    padding: 9px 0;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-accessories-page .sva-meta span {
    color: var(--somniva-muted);

    font-size: 10px;
    font-weight: 700;
}


.somniva-accessories-page .sva-meta i {
    margin-right: 3px;

    color: var(--somniva-purple);
}


/* =========================================================
   PRICE
========================================================= */

.somniva-accessories-page .sva-price-row {
    min-height: 47px;

    display: flex;
    align-items: flex-end;

    gap: 7px;

    margin-top: auto;
    padding-top: 16px;
}


.somniva-accessories-page .sva-price {
    color: var(--somniva-ink);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.5px;
}


.somniva-accessories-page .sva-price-row del {
    color: var(--somniva-muted);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   ADD TO CART
========================================================= */

.somniva-accessories-page .sva-add {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 14px;
    padding: 0 16px;

    color: #ffffff;
    background: var(--somniva-purple);

    border:
        1px solid
        var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.somniva-accessories-page .sva-add:hover {
    background: var(--somniva-purple-dark);

    box-shadow:
        0 12px 25px
        rgba(101, 53, 138, 0.25);

    transform: translateY(-2px);
}


.somniva-accessories-page .sva-add:active {
    transform: translateY(0);
}


.somniva-accessories-page .sva-add.is-adding {
    pointer-events: none;
    opacity: 0.75;
}


.somniva-accessories-page .sva-add.is-added {
    background: var(--somniva-purple-dark);
}


/* =========================================================
   HIDDEN CARD
========================================================= */

.somniva-accessories-page .sva-card.sva-hidden {
    display: none;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.somniva-accessories-page .sva-empty {
    display: none;

    padding: 55px 25px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-accessories-page .sva-empty.is-visible {
    display: flex;
}


.somniva-accessories-page .sva-empty > i {
    margin-bottom: 15px;

    color: var(--somniva-purple);

    font-size: 35px;
}


.somniva-accessories-page .sva-empty h2 {
    margin-bottom: 8px;

    color: var(--somniva-ink);

    font-size: 24px;
}


.somniva-accessories-page .sva-empty p {
    margin-bottom: 18px;

    color: var(--somniva-muted);

    font-size: 14px;
}


.somniva-accessories-page .sva-empty button {
    padding: 10px 18px;

    color: #ffffff;
    background: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   PROMO
========================================================= */

.somniva-accessories-page .sva-promo {
    width: min(1440px, 100%);
    margin: 0 auto;

    padding:
        65px 28px
        80px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);

    align-items: center;

    gap: 60px;

    border-top:
        1px solid
        var(--somniva-border);
}


.somniva-accessories-page .sva-promo-copy > span {
    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.16em;
}


.somniva-accessories-page .sva-promo-copy h2 {
    max-width: 650px;

    margin: 10px 0 12px;

    color: var(--somniva-ink);

    font-size: clamp(30px, 3.2vw, 48px);

    line-height: 1.08;
    letter-spacing: -1.3px;
}


.somniva-accessories-page .sva-promo-copy p {
    max-width: 600px;

    margin: 0;

    color: var(--somniva-muted);

    font-size: 15px;
}


.somniva-accessories-page .sva-promo-details {
    display: flex;
    flex-direction: column;

    gap: 16px;

    padding-left: 35px;

    border-left:
        1px solid
        var(--somniva-border);
}


.somniva-accessories-page .sva-promo-details div {
    display: flex;
    align-items: center;

    gap: 14px;
}


.somniva-accessories-page .sva-promo-details i {
    color: var(--somniva-purple);

    font-size: 19px;
}


.somniva-accessories-page .sva-promo-details span {
    color: var(--somniva-text);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .somniva-accessories-page .sva-catalogue {
        padding-top: 55px;
    }


    .somniva-accessories-page .sva-layout {
        grid-template-columns:
            220px
            minmax(0, 1fr);

        gap: 28px;
    }


    .somniva-accessories-page .sva-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }


    .somniva-accessories-page .sva-card {
        min-height: 600px;
    }

}


@media (max-width: 1024px) {

    .somniva-accessories-page .sva-intro-content {
        gap: 35px;
    }


    .somniva-accessories-page .sva-intro {
        padding:
            35px 28px;
    }


    .somniva-accessories-page .sva-intro-image img {
        height: 210px;
    }


    .somniva-accessories-page .sva-layout {
        grid-template-columns:
            210px
            minmax(0, 1fr);

        gap: 24px;
    }


    .somniva-accessories-page .sva-image-wrap {
        height: 225px;
    }


    .somniva-accessories-page .sva-content h2 {
        font-size: 20px;
    }


    .somniva-accessories-page .sva-promo {
        gap: 35px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .somniva-accessories-page .sva-intro {
        padding:
            30px 20px;
    }


    .somniva-accessories-page .sva-intro-content {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 25px;
    }


    .somniva-accessories-page .sva-intro-copy h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }


    .somniva-accessories-page .sva-intro-copy p {
        font-size: 14px;
    }


    .somniva-accessories-page .sva-intro-image {
        min-height: 180px;
    }


    .somniva-accessories-page .sva-intro-image img {
        height: 180px;
    }


    .somniva-accessories-page .sva-marquee-track {
        gap: 18px;
        font-size: 10px;
    }


    .somniva-accessories-page .sva-catalogue {
        padding:
            40px 20px
            60px;
    }


    .somniva-accessories-page .sva-filter-trigger {
        width: 100%;
        min-height: 48px;

        margin-bottom: 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 15px;

        color: var(--somniva-ink);
        background: var(--somniva-cream-light);

        border:
            1px solid
            var(--somniva-border);

        font-size: 13px;
        font-weight: 800;

        cursor: pointer;
    }


    .somniva-accessories-page .sva-filter-trigger span {
        display: flex;
        align-items: center;

        gap: 9px;
    }


    .somniva-accessories-page .sva-filter-trigger i {
        color: var(--somniva-purple);
    }


    .somniva-accessories-page .sva-layout {
        display: block;
    }


    .somniva-accessories-page .sva-filter {
        position: static;

        display: none;

        margin-bottom: 24px;
        padding: 22px 0;

        border-top:
            1px solid
            var(--somniva-border);

        border-bottom:
            1px solid
            var(--somniva-border);
    }


    .somniva-accessories-page .sva-filter.is-open {
        display: block;

        animation:
            svaFilterOpen
            0.3s
            ease
            both;
    }


    @keyframes svaFilterOpen {

        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }


    .somniva-accessories-page .sva-result-bar {
        align-items: flex-end;

        margin-bottom: 22px;
    }


    .somniva-accessories-page .sva-sort-wrap {
        display: none;
    }


    .somniva-accessories-page .sva-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .somniva-accessories-page .sva-card {
        min-height: 570px;
    }


    .somniva-accessories-page .sva-image-wrap {
        height: 205px;
    }


    .somniva-accessories-page .sva-content {
        padding:
            19px 16px 17px;
    }


    .somniva-accessories-page .sva-content h2 {
        min-height: 44px;
        font-size: 18px;
    }


    .somniva-accessories-page .sva-description {
        font-size: 12px;
    }


    .somniva-accessories-page .sva-meta {
        align-items: flex-start;
        flex-direction: column;

        min-height: 52px;
    }


    .somniva-accessories-page .sva-promo {
        padding:
            55px 20px
            65px;

        display: block;
    }


    .somniva-accessories-page .sva-promo-details {
        margin-top: 30px;

        padding-left: 0;

        border-left: 0;

        border-top:
            1px solid
            var(--somniva-border);

        padding-top: 25px;
    }

}


/* =========================================================
   MOBILE S
========================================================= */

@media (max-width: 480px) {

    .somniva-accessories-page .sva-intro-copy h1 {
        font-size: 34px;
    }


    .somniva-accessories-page .sva-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .somniva-accessories-page .sva-card {
        min-height: 590px;
    }


    .somniva-accessories-page .sva-image-wrap {
        height: 235px;
    }


    .somniva-accessories-page .sva-result-count {
        font-size: 18px;
    }


    .somniva-accessories-page .sva-selected {
        font-size: 12px;
    }


    .somniva-accessories-page .sva-sale-band {
        top: 48%;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .somniva-accessories-page .sva-catalogue {
        padding-left: 14px;
        padding-right: 14px;
    }


    .somniva-accessories-page .sva-intro {
        padding-left: 16px;
        padding-right: 16px;
    }


    .somniva-accessories-page .sva-content {
        padding-left: 14px;
        padding-right: 14px;
    }

}

/* =========================================================
   SOMNIVA ACCESSORIES — BANNER FIX ONLY
   Scoped only to accessories page
========================================================= */

.somniva-accessories-page .sv-accessories-banner {
    position: relative;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    isolation: isolate;
}

.somniva-accessories-page .sv-accessories-banner-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.somniva-accessories-page .sv-accessories-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 9, 14, 0.72) 0%,
            rgba(7, 9, 14, 0.40) 48%,
            rgba(7, 9, 14, 0.10) 100%
        );

    z-index: 1;
}

.somniva-accessories-page .sv-accessories-banner-content {
    position: relative;
    z-index: 2;

    min-height: 360px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: min(700px, 90%);

    padding:
        55px
        clamp(24px, 6vw, 90px);

    color: #ffffff;
}

.somniva-accessories-page .sv-accessories-banner-content span {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
}

.somniva-accessories-page .sv-accessories-banner-content h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.98;
}

.somniva-accessories-page .sv-accessories-banner-content p {
    max-width: 570px;

    margin: 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   ACCESSORIES BANNER — RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .somniva-accessories-page .sv-accessories-banner {
        min-height: 330px;
    }

    .somniva-accessories-page .sv-accessories-banner-content {
        min-height: 330px;
    }

}


@media (max-width: 767px) {

    .somniva-accessories-page .sv-accessories-banner {
        min-height: 400px;
    }

    .somniva-accessories-page .sv-accessories-banner-image {
        object-position: center;
    }

    .somniva-accessories-page .sv-accessories-banner-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 9, 14, 0.78),
                rgba(7, 9, 14, 0.35)
            );
    }

    .somniva-accessories-page .sv-accessories-banner-content {
        min-height: 400px;
        padding: 45px 24px;
    }

    .somniva-accessories-page .sv-accessories-banner-content h1 {
        font-size: 42px;
    }

    .somniva-accessories-page .sv-accessories-banner-content p {
        font-size: 15px;
    }

}


@media (max-width: 425px) {

    .somniva-accessories-page .sv-accessories-banner {
        min-height: 360px;
    }

    .somniva-accessories-page .sv-accessories-banner-content {
        min-height: 360px;
        padding: 38px 20px;
    }

    .somniva-accessories-page .sv-accessories-banner-content h1 {
        font-size: 36px;
    }

    .somniva-accessories-page .sv-accessories-banner-content p {
        font-size: 14px;
        line-height: 1.6;
    }

}

/* =========================================================
   SOMNIVA LISTING BANNER — 360PX STANDARD
   ========================================================= */

.somniva-products-page .sp-products-banner,
.somniva-products-page .sp-products-banner-content {
    min-height: var(--somniva-listing-banner-height);
    height: var(--somniva-listing-banner-height);
}

.somniva-accessories-page .sv-accessories-banner,
.somniva-accessories-page .sv-accessories-banner-content {
    min-height: var(--somniva-listing-banner-height);
    height: var(--somniva-listing-banner-height);
}

/* =========================================================
   SOMNIVA CART PAGE
   ISOLATED CART STYLES
   Does not modify existing pages
========================================================= */


/* =========================================================
   CART MAIN
========================================================= */

.somniva-cart-page .somniva-cart-main {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   CART BANNER
   Same 360px height as Products page
========================================================= */

.somniva-cart-page .somniva-cart-banner {
    position: relative;

    width: 100%;
    height: 360px;
    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 25%,
            rgba(101, 53, 138, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 75%,
            rgba(101, 53, 138, 0.12),
            transparent 34%
        ),
        var(--somniva-cream-soft);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-cart-page .somniva-cart-banner::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border: 1px solid
        rgba(101, 53, 138, 0.16);

    border-radius: 50%;

    top: -90px;
    left: 8%;

    animation:
        somnivaCartBannerFloat
        8s
        ease-in-out
        infinite;
}


.somniva-cart-page .somniva-cart-banner::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border: 1px solid
        rgba(101, 53, 138, 0.13);

    border-radius: 50%;

    right: 10%;
    bottom: -70px;

    animation:
        somnivaCartBannerFloatReverse
        9s
        ease-in-out
        infinite;
}


.somniva-cart-page .somniva-cart-banner-inner {
    position: relative;

    z-index: 2;

    width: min(
        850px,
        calc(100% - 48px)
    );

    margin: 0 auto;

    text-align: center;

    animation:
        somnivaCartBannerReveal
        0.9s
        ease
        both;
}


.somniva-cart-page .somniva-cart-kicker {
    display: block;

    margin-bottom: 14px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.22em;
}


.somniva-cart-page .somniva-cart-banner h1 {
    margin: 0 0 16px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;

    font-size: clamp(
        42px,
        6vw,
        70px
    );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.somniva-cart-page .somniva-cart-banner p {
    width: min(
        650px,
        100%
    );

    margin: 0 auto;

    color: var(--somniva-muted);

    font-size: 17px;
    line-height: 1.7;
}


@keyframes somnivaCartBannerReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes somnivaCartBannerFloat {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0);
    }

    50% {
        transform:
            translate3d(15px, 18px, 0);
    }

}


@keyframes somnivaCartBannerFloatReverse {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0);
    }

    50% {
        transform:
            translate3d(-14px, -16px, 0);
    }

}


/* =========================================================
   CART SECTION
========================================================= */

.somniva-cart-page .somniva-cart-section {
    width: 100%;

    padding:
        75px
        0
        90px;

    background:
        var(--somniva-cream);
}


.somniva-cart-page .somniva-cart-wrap {
    width: min(
        1440px,
        calc(100% - 56px)
    );

    margin: 0 auto;
}


/* =========================================================
   CART HEADING
========================================================= */

.somniva-cart-page .somniva-cart-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;
}


.somniva-cart-page .somniva-cart-label {
    display: block;

    margin-bottom: 10px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
}


.somniva-cart-page .somniva-cart-heading h2 {
    margin: 0;

    color: var(--somniva-ink);

    font-size: clamp(
        30px,
        3.5vw,
        48px
    );

    line-height: 1.1;

    letter-spacing: -1px;
}


.somniva-cart-page .somniva-cart-item-text {
    flex-shrink: 0;

    margin: 0;

    color: var(--somniva-muted);

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   CART LAYOUT
========================================================= */

.somniva-cart-page .somniva-cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        370px;

    align-items: start;

    gap: 42px;
}


/* =========================================================
   CART ITEMS
========================================================= */

.somniva-cart-page .somniva-cart-items {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   CART ITEM
========================================================= */

.somniva-cart-page .somniva-cart-item {
    position: relative;

    display: grid;

    grid-template-columns:
        150px
        minmax(0, 1fr)
        auto;

    gap: 24px;

    align-items: center;

    padding: 22px;

    background:
        var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    box-shadow:
        0 14px 35px
        rgba(54, 34, 65, 0.07);

    animation:
        somnivaCartItemReveal
        0.55s
        ease
        both;

    transition:
        transform var(--somniva-transition),
        box-shadow var(--somniva-transition),
        border-color var(--somniva-transition);
}


.somniva-cart-page .somniva-cart-item:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 20px 45px
        rgba(54, 34, 65, 0.11);

    border-color:
        rgba(101, 53, 138, 0.25);
}


@keyframes somnivaCartItemReveal {

    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


.somniva-cart-page .somniva-cart-item-image {
    width: 150px;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        var(--somniva-cream-soft);
}


.somniva-cart-page .somniva-cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease;
}


.somniva-cart-page .somniva-cart-item:hover
.somniva-cart-item-image img {
    transform: scale(1.045);
}


.somniva-cart-page .somniva-cart-item-info {
    min-width: 0;
}


.somniva-cart-page .somniva-cart-item-type {
    display: block;

    margin-bottom: 6px;

    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.somniva-cart-page .somniva-cart-item-info h3 {
    margin: 0 0 7px;

    color: var(--somniva-ink);

    font-size: 23px;
    line-height: 1.2;
}


.somniva-cart-page .somniva-cart-item-description {
    margin: 0 0 12px;

    color: var(--somniva-muted);

    font-size: 14px;
    line-height: 1.55;
}


.somniva-cart-page .somniva-cart-item-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px 18px;

    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 600;
}


.somniva-cart-page .somniva-cart-item-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.somniva-cart-page .somniva-cart-item-meta i {
    color: var(--somniva-purple);
}


.somniva-cart-page .somniva-cart-item-controls {
    min-width: 125px;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 13px;
}


.somniva-cart-page .somniva-cart-item-price {
    color: var(--somniva-ink);

    font-size: 19px;
    font-weight: 800;

    white-space: nowrap;
}


.somniva-cart-page .somniva-cart-quantity {
    display: flex;

    align-items: center;

    border:
        1px solid
        var(--somniva-border);

    background:
        var(--somniva-cream);
}


.somniva-cart-page .somniva-cart-quantity button {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    color: var(--somniva-ink);

    background: transparent;

    cursor: pointer;

    transition:
        color var(--somniva-transition),
        background var(--somniva-transition);
}


.somniva-cart-page .somniva-cart-quantity button:hover {
    color: #ffffff;

    background:
        var(--somniva-purple);
}


.somniva-cart-page .somniva-cart-quantity span {
    min-width: 34px;

    text-align: center;

    color: var(--somniva-ink);

    font-size: 14px;
    font-weight: 800;
}


.somniva-cart-page .somniva-cart-remove {
    padding: 0;

    color: var(--somniva-muted);

    background: transparent;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--somniva-transition);
}


.somniva-cart-page .somniva-cart-remove:hover {
    color: #c53b4d;
}


/* =========================================================
   SUMMARY
========================================================= */

.somniva-cart-page .somniva-cart-summary {
    position: sticky;

    top: 105px;

    align-self: start;
}


.somniva-cart-page .somniva-cart-summary-inner {
    padding: 30px;

    background:
        var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    box-shadow:
        var(--somniva-shadow);
}


.somniva-cart-page .somniva-cart-summary h2 {
    margin: 0 0 28px;

    color: var(--somniva-ink);

    font-size: 30px;
}


.somniva-cart-page .somniva-cart-summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 11px 0;

    color: var(--somniva-muted);

    font-size: 15px;
}


.somniva-cart-page .somniva-cart-summary-row strong {
    color: var(--somniva-ink);

    font-weight: 800;
}


.somniva-cart-page .somniva-cart-summary-divider {
    width: 100%;

    height: 1px;

    margin: 12px 0;

    background:
        var(--somniva-border);
}


.somniva-cart-page .somniva-cart-total-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;

    color: var(--somniva-ink);

    font-size: 18px;
    font-weight: 800;
}


.somniva-cart-page .somniva-cart-total-row strong {
    color: var(--somniva-purple);

    font-size: 25px;
}


.somniva-cart-page .somniva-cart-checkout {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 15px 18px;

    color: #ffffff;

    background:
        var(--somniva-purple);

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 12px 28px
        rgba(101, 53, 138, 0.24);

    transition:
        transform var(--somniva-transition),
        background var(--somniva-transition),
        box-shadow var(--somniva-transition);
}


.somniva-cart-page .somniva-cart-checkout:hover {
    color: #ffffff;

    background:
        var(--somniva-purple-dark);

    transform:
        translateY(-3px);

    box-shadow:
        0 17px 34px
        rgba(101, 53, 138, 0.30);
}


.somniva-cart-page .somniva-cart-summary-note {
    margin: 18px 0 0;

    color: var(--somniva-muted);

    font-size: 12px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   SHOPPING NAVIGATION BUTTONS
========================================================= */

.somniva-cart-page .somniva-cart-navigation {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}


.somniva-cart-page .somniva-cart-action-button {
    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 11px 16px;

    color: var(--somniva-ink);

    background:
        transparent;

    border:
        1px solid
        var(--somniva-border);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color var(--somniva-transition),
        background var(--somniva-transition),
        border-color var(--somniva-transition),
        transform var(--somniva-transition);
}


.somniva-cart-page .somniva-cart-action-button:hover {
    color: #ffffff;

    background:
        var(--somniva-purple);

    border-color:
        var(--somniva-purple);

    transform:
        translateY(-2px);
}


.somniva-cart-page .somniva-cart-primary-button {
    color: #ffffff;

    background:
        var(--somniva-purple);

    border-color:
        var(--somniva-purple);
}


/* =========================================================
   EMPTY CART
========================================================= */

.somniva-cart-page .somniva-cart-empty {
    display: none;

    max-width: 850px;

    margin: 0 auto;

    padding:
        65px
        35px;

    text-align: center;

    background:
        var(--somniva-cream-light);

    border:
        1px solid
        var(--somniva-border);

    animation:
        somnivaCartEmptyReveal
        0.65s
        ease
        both;
}


.somniva-cart-page .somniva-cart-empty.is-visible {
    display: block;
}


.somniva-cart-page .somniva-cart-empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 22px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background:
        var(--somniva-purple);

    border-radius: 50%;

    font-size: 28px;

    animation:
        somnivaCartEmptyFloat
        4s
        ease-in-out
        infinite;
}


.somniva-cart-page .somniva-cart-empty > span {
    display: block;

    margin-bottom: 10px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
}


.somniva-cart-page .somniva-cart-empty h2 {
    margin: 0 0 12px;

    color: var(--somniva-ink);

    font-size: 38px;
}


.somniva-cart-page .somniva-cart-empty p {
    max-width: 650px;

    margin: 0 auto 28px;

    color: var(--somniva-muted);

    font-size: 15px;
}


.somniva-cart-page .somniva-cart-empty-actions {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;
}


@keyframes somnivaCartEmptyReveal {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes somnivaCartEmptyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

}


/* =========================================================
   COMPLETE YOUR SLEEP SETUP
========================================================= */

.somniva-cart-page .somniva-cart-complete {
    margin-top: 85px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(300px, 0.9fr);

    gap: 65px;

    padding:
        65px 0;

    border-top:
        1px solid
        var(--somniva-border);

    border-bottom:
        1px solid
        var(--somniva-border);
}


.somniva-cart-page .somniva-cart-complete-copy h2 {
    max-width: 650px;

    margin: 0 0 18px;

    color: var(--somniva-ink);

    font-size: clamp(
        32px,
        4vw,
        52px
    );

    line-height: 1.08;
}


.somniva-cart-page .somniva-cart-complete-copy p {
    max-width: 650px;

    margin: 0;

    color: var(--somniva-muted);

    font-size: 16px;
}


.somniva-cart-page .somniva-cart-complete-links {
    display: flex;

    flex-direction: column;
}


.somniva-cart-page .somniva-cart-complete-links a {
    min-height: 58px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 4px;

    color: var(--somniva-ink);

    border-bottom:
        1px solid
        var(--somniva-border);

    font-size: 16px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color var(--somniva-transition),
        padding var(--somniva-transition);
}


.somniva-cart-page .somniva-cart-complete-links a:first-child {
    border-top:
        1px solid
        var(--somniva-border);
}


.somniva-cart-page .somniva-cart-complete-links a:hover {
    padding-left: 12px;

    color: var(--somniva-purple);
}


/* =========================================================
   SERVICE DETAILS
========================================================= */

.somniva-cart-page .somniva-cart-services {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;

    padding-top: 70px;
}


.somniva-cart-page .somniva-cart-service {
    display: flex;

    align-items: flex-start;

    gap: 17px;
}


.somniva-cart-page .somniva-cart-service > i {
    flex-shrink: 0;

    color: var(--somniva-purple);

    font-size: 27px;
}


.somniva-cart-page .somniva-cart-service h3 {
    margin: 0 0 6px;

    color: var(--somniva-ink);

    font-size: 18px;
}


.somniva-cart-page .somniva-cart-service p {
    margin: 0;

    color: var(--somniva-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .somniva-cart-page .somniva-cart-layout {
        grid-template-columns:
            minmax(0, 1fr)
            340px;

        gap: 30px;
    }


    .somniva-cart-page .somniva-cart-item {
        grid-template-columns:
            130px
            minmax(0, 1fr)
            auto;

        gap: 18px;
    }


    .somniva-cart-page .somniva-cart-item-image {
        width: 130px;
        height: 125px;
    }


    .somniva-cart-page .somniva-cart-summary-inner {
        padding: 26px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-cart-page .somniva-cart-section {
        padding:
            60px
            0
            75px;
    }


    .somniva-cart-page .somniva-cart-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .somniva-cart-page .somniva-cart-summary {
        position: relative;

        top: auto;
    }


    .somniva-cart-page .somniva-cart-summary-inner {
        padding: 30px;
    }


    .somniva-cart-page .somniva-cart-complete {
        grid-template-columns: 1fr;

        gap: 35px;

        margin-top: 65px;
    }


    .somniva-cart-page .somniva-cart-services {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE L
========================================================= */

@media (max-width: 767px) {

    .somniva-cart-page .somniva-cart-banner,
    .somniva-cart-page .somniva-cart-banner-inner {
        height: 360px;
        min-height: 360px;
    }


    .somniva-cart-page .somniva-cart-banner-inner {
        width: min(
            90%,
            650px
        );
    }


    .somniva-cart-page .somniva-cart-banner h1 {
        font-size: 42px;
    }


    .somniva-cart-page .somniva-cart-banner p {
        font-size: 15px;
    }


    .somniva-cart-page .somniva-cart-wrap {
        width: min(
            100% - 36px,
            700px
        );
    }


    .somniva-cart-page .somniva-cart-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }


    .somniva-cart-page .somniva-cart-item {
        grid-template-columns:
            115px
            minmax(0, 1fr);

        align-items: start;
    }


    .somniva-cart-page .somniva-cart-item-image {
        width: 115px;
        height: 115px;

        grid-row: span 2;
    }


    .somniva-cart-page .somniva-cart-item-controls {
        grid-column: 2;

        min-width: 0;

        flex-direction: row;

        align-items: center;
        justify-content: space-between;

        width: 100%;
    }


    .somniva-cart-page .somniva-cart-item-info h3 {
        font-size: 20px;
    }


    .somniva-cart-page .somniva-cart-navigation {
        flex-direction: column;
    }


    .somniva-cart-page .somniva-cart-action-button {
        width: 100%;
    }


    .somniva-cart-page .somniva-cart-services {
        grid-template-columns: 1fr;

        gap: 28px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE M
========================================================= */

@media (max-width: 575px) {

    .somniva-cart-page .somniva-cart-section {
        padding:
            50px
            0
            60px;
    }


    .somniva-cart-page .somniva-cart-wrap {
        width: calc(100% - 28px);
    }


    .somniva-cart-page .somniva-cart-banner h1 {
        font-size: 36px;
    }


    .somniva-cart-page .somniva-cart-banner p {
        font-size: 14px;

        line-height: 1.6;
    }


    .somniva-cart-page .somniva-cart-heading h2 {
        font-size: 31px;
    }


    .somniva-cart-page .somniva-cart-item {
        grid-template-columns: 1fr;

        padding: 17px;
    }


    .somniva-cart-page .somniva-cart-item-image {
        width: 100%;
        height: 190px;

        grid-row: auto;
    }


    .somniva-cart-page .somniva-cart-item-info {
        width: 100%;
    }


    .somniva-cart-page .somniva-cart-item-controls {
        grid-column: auto;

        flex-wrap: wrap;
    }


    .somniva-cart-page .somniva-cart-item-price {
        font-size: 18px;
    }


    .somniva-cart-page .somniva-cart-complete {
        margin-top: 55px;

        padding:
            50px
            0;
    }


    .somniva-cart-page .somniva-cart-complete-copy h2 {
        font-size: 34px;
    }


    .somniva-cart-page .somniva-cart-services {
        padding-top: 50px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE S
========================================================= */

@media (max-width: 420px) {

    .somniva-cart-page .somniva-cart-banner,
    .somniva-cart-page .somniva-cart-banner-inner {
        height: 360px;
        min-height: 360px;
    }


    .somniva-cart-page .somniva-cart-banner-inner {
        width: calc(100% - 28px);
    }


    .somniva-cart-page .somniva-cart-banner h1 {
        font-size: 33px;

        letter-spacing: -0.8px;
    }


    .somniva-cart-page .somniva-cart-kicker {
        font-size: 11px;
    }


    .somniva-cart-page .somniva-cart-banner p {
        font-size: 13px;
    }


    .somniva-cart-page .somniva-cart-empty {
        padding:
            50px
            18px;
    }


    .somniva-cart-page .somniva-cart-empty h2 {
        font-size: 30px;
    }


    .somniva-cart-page .somniva-cart-summary-inner {
        padding: 22px 18px;
    }


    .somniva-cart-page .somniva-cart-complete-copy h2 {
        font-size: 30px;
    }

}

/* =========================================================
   SOMNIVA CHECKOUT — SCOPED ONLY
   LEFT: PERSONAL INFO + PAYMENT
   RIGHT: DYNAMIC ORDER SUMMARY ONLY
========================================================= */

:root {
    --somniva-checkout-banner-height: 360px;
}

.somniva-checkout-page {
    width: 100%;
    overflow-x: hidden;
}

.somniva-checkout-page .sc-checkout-banner {
    width: 100%;
    height: var(--somniva-checkout-banner-height);
    min-height: var(--somniva-checkout-banner-height);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;
    box-sizing: border-box;

    position: relative;
    overflow: hidden;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(69, 32, 95, .96),
            rgba(101, 53, 138, .92)
        );
}

.somniva-checkout-page .sc-checkout-banner::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -100px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .07);
}

.somniva-checkout-page .sc-checkout-banner-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 800px;
}

.somniva-checkout-page .sc-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #e9dac1;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-checkout-page .sc-checkout-banner h1 {
    margin: 0;

    color: #fff;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;

    line-height: 1.05;
}

.somniva-checkout-page .sc-checkout-banner p {
    margin: 18px 0 0;

    color: rgba(255, 255, 255, .85);

    font-size: 18px;
    font-weight: 500;
}


/* =========================================================
   CHECKOUT SECTION
========================================================= */

.somniva-checkout-page .sc-checkout-section {
    width: 100%;

    padding: 60px 5%;

    box-sizing: border-box;

    background: var(--somniva-cream);
}


/* =========================================================
   TWO COLUMN LAYOUT

   IMPORTANT:
   Columns keep their own natural heights.
========================================================= */

.somniva-checkout-page .sc-checkout-grid {
    width: min(1400px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, .85fr);

    gap: 28px;

    align-items: start;

    grid-auto-rows: max-content;
}


/* =========================================================
   LEFT CONTAINER
========================================================= */

.somniva-checkout-page .sc-left-container {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 28px;

    height: fit-content;
    min-height: 0;

    align-self: start;
}


/* =========================================================
   RIGHT CONTAINER

   DYNAMIC HEIGHT ONLY
   DOES NOT MATCH LEFT HEIGHT
========================================================= */

.somniva-checkout-page .sc-order-container {
    width: 100%;

    height: fit-content;
    min-height: 0;

    align-self: start;

    justify-self: stretch;
}


/* =========================================================
   CHECKOUT CARDS
========================================================= */

.somniva-checkout-page .sc-checkout-card {
    width: 100%;

    height: fit-content;
    min-height: 0;

    padding: 30px;

    box-sizing: border-box;

    background: var(--somniva-cream-light);

    border: 1px solid var(--somniva-border);

    border-radius: var(--somniva-radius-lg);

    box-shadow: var(--somniva-shadow);
}


/* =========================================================
   ORDER CARD
========================================================= */

.somniva-checkout-page .sc-order-card {
    width: 100%;

    height: fit-content;
    min-height: 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.somniva-checkout-page .sc-section-heading {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 28px;
}

.somniva-checkout-page .sc-step-number {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--somniva-purple);
    color: #fff;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 10px 24px rgba(101, 53, 138, .22);
}

.somniva-checkout-page .sc-section-label {
    display: block;

    margin-bottom: 3px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.somniva-checkout-page .sc-section-heading h2 {
    margin: 0;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;

    font-size: 30px;
    font-weight: 700;

    line-height: 1.15;
}


/* =========================================================
   PERSONAL INFORMATION FORM
========================================================= */

.somniva-checkout-page .sc-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.somniva-checkout-page .sc-form-full {
    grid-column: 1 / -1;
}

.somniva-checkout-page .sc-form-group {
    min-width: 0;
}

.somniva-checkout-page .sc-form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--somniva-ink);

    font-size: 16px;
    font-weight: 700;
}

.somniva-checkout-page .sc-form-group label span {
    color: #d9364f;
}

.somniva-checkout-page .sc-form-group input {
    width: 100%;
    min-height: 54px;

    padding: 12px 15px;

    box-sizing: border-box;

    border: 1px solid var(--somniva-border);
    border-radius: 12px;

    background: var(--somniva-cream-light);
    color: var(--somniva-ink);

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.somniva-checkout-page .sc-form-group input:focus {
    border-color: var(--somniva-purple);

    box-shadow:
        0 0 0 4px rgba(101, 53, 138, .10);
}

.somniva-checkout-page .sc-form-group input.sc-invalid {
    border-color: #d9364f;

    box-shadow:
        0 0 0 3px rgba(217, 54, 79, .10);
}

.somniva-checkout-page .sc-form-group input.sc-valid {
    border-color: #4f9b72;
}

.somniva-checkout-page .sc-field-error {
    display: none;

    margin-top: 5px;

    color: #d9364f;

    font-size: 12px;
    font-weight: 700;
}

.somniva-checkout-page .sc-field-error.is-visible {
    display: block;
}


/* =========================================================
   LOCATION
========================================================= */

.somniva-checkout-page .sc-location-button {
    min-height: 48px;

    padding: 10px 18px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    border: 1px solid rgba(101, 53, 138, .35);
    border-radius: 10px;

    background: transparent;
    color: var(--somniva-purple);

    font-family: inherit;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease;
}

.somniva-checkout-page .sc-location-button:hover {
    background: var(--somniva-purple);
    color: #fff;
}

.somniva-checkout-page .sc-location-status {
    display: block;

    margin-top: 7px;

    color: #4f9b72;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   PAYMENT METHODS
========================================================= */

.somniva-checkout-page .sc-payment-options {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.somniva-checkout-page .sc-payment-option {
    position: relative;

    min-height: 70px;

    padding: 14px 16px;

    display: flex;
    align-items: center;

    gap: 13px;

    box-sizing: border-box;

    border: 1px solid var(--somniva-border);
    border-radius: 14px;

    background: transparent;

    cursor: pointer;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.somniva-checkout-page .sc-payment-option:hover {
    transform: translateY(-2px);

    border-color:
        rgba(101, 53, 138, .40);
}

.somniva-checkout-page .sc-payment-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.somniva-checkout-page
.sc-payment-option:has(input:checked) {
    border-color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, .07);
}

.somniva-checkout-page .sc-payment-radio {
    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    position: relative;

    border: 2px solid var(--somniva-muted);

    border-radius: 50%;
}

.somniva-checkout-page
.sc-payment-option:has(input:checked)
.sc-payment-radio {
    border-color: var(--somniva-purple);
}

.somniva-checkout-page
.sc-payment-option:has(input:checked)
.sc-payment-radio::after {
    content: "";

    position: absolute;

    inset: 4px;

    border-radius: 50%;

    background: var(--somniva-purple);
}

.somniva-checkout-page .sc-payment-content {
    min-width: 0;
    flex: 1;
}

.somniva-checkout-page .sc-payment-content strong {
    display: block;

    color: var(--somniva-ink);

    font-size: 16px;
    font-weight: 800;
}

.somniva-checkout-page .sc-payment-content small {
    display: block;

    margin-top: 2px;

    color: var(--somniva-muted);

    font-size: 13px;
    font-weight: 600;
}

.somniva-checkout-page .sc-payment-icons {
    color: var(--somniva-purple);

    font-size: 23px;
}


/* =========================================================
   CARD DETAILS
========================================================= */

.somniva-checkout-page .sc-card-details {
    margin-top: 22px;

    padding-top: 22px;

    border-top:
        1px solid var(--somniva-border);

    display: grid;

    gap: 18px;
}

.somniva-checkout-page .sc-card-small-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


/* =========================================================
   ORDER ITEMS
========================================================= */

.somniva-checkout-page .sc-order-items {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.somniva-checkout-page .sc-order-item {
    width: 100%;

    display: grid;

    grid-template-columns:
        64px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

    padding: 14px 0;

    border-bottom:
        1px solid var(--somniva-border);
}

.somniva-checkout-page .sc-order-item-image {
    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 10px;
}

.somniva-checkout-page .sc-order-item-name {
    margin: 0;

    color: var(--somniva-ink);

    font-size: 15px;
    font-weight: 800;

    line-height: 1.35;
}

.somniva-checkout-page .sc-order-item-meta {
    margin: 4px 0 0;

    color: var(--somniva-muted);

    font-size: 12px;
    font-weight: 600;
}

.somniva-checkout-page .sc-order-item-price {
    color: var(--somniva-purple);

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   ORDER TOTALS
========================================================= */

.somniva-checkout-page .sc-order-totals {
    margin-top: 18px;
}

.somniva-checkout-page .sc-order-totals > div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 11px 0;

    border-bottom:
        1px solid var(--somniva-border);
}

.somniva-checkout-page .sc-order-totals span {
    color: var(--somniva-muted);

    font-size: 14px;
    font-weight: 600;
}

.somniva-checkout-page .sc-order-totals strong {
    color: var(--somniva-ink);

    font-size: 15px;
    font-weight: 800;
}

.somniva-checkout-page .sc-order-totals .sc-total-row {
    margin-top: 4px;

    padding: 18px 0 4px;

    border-bottom: 0;
}

.somniva-checkout-page .sc-total-row span {
    color: var(--somniva-ink);

    font-size: 18px;
    font-weight: 800;
}

.somniva-checkout-page .sc-total-row strong {
    color: var(--somniva-purple);

    font-size: 25px;
    font-weight: 900;
}


/* =========================================================
   PLACE ORDER
========================================================= */

.somniva-checkout-page .sc-place-order {
    width: 100%;

    min-height: 56px;

    margin-top: 22px;

    padding: 13px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 0;
    border-radius: 14px;

    background: var(--somniva-purple);
    color: #fff;

    font-family: inherit;

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.somniva-checkout-page .sc-place-order:hover {
    background: var(--somniva-purple-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(101, 53, 138, .22);
}

.somniva-checkout-page .sc-place-order:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}

.somniva-checkout-page .sc-order-message {
    min-height: 0;

    margin: 8px 0 0;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   BACK BUTTONS
========================================================= */

.somniva-checkout-page .sc-order-navigation {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 9px;

    margin-top: 18px;
}

.somniva-checkout-page .sc-order-nav-button {
    min-height: 45px;

    padding: 10px 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    box-sizing: border-box;

    border: 1px solid var(--somniva-border);
    border-radius: 11px;

    background: transparent;
    color: var(--somniva-text);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        border-color .25s ease,
        color .25s ease,
        background .25s ease;
}

.somniva-checkout-page .sc-order-nav-button:hover {
    border-color: var(--somniva-purple);

    color: var(--somniva-purple);

    background:
        rgba(101, 53, 138, .05);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .somniva-checkout-page .sc-checkout-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(330px, .78fr);

        gap: 22px;
    }

    .somniva-checkout-page .sc-checkout-card {
        padding: 25px;
    }
}


@media (max-width: 900px) {

    .somniva-checkout-page .sc-checkout-grid {
        grid-template-columns: 1fr;

        align-items: start;
    }

    .somniva-checkout-page .sc-left-container,
    .somniva-checkout-page .sc-order-container,
    .somniva-checkout-page .sc-checkout-card,
    .somniva-checkout-page .sc-order-card {
        height: fit-content;
        min-height: 0;
    }

    .somniva-checkout-page .sc-order-navigation {
        grid-template-columns:
            repeat(3, 1fr);
    }
}


@media (max-width: 650px) {

    .somniva-checkout-page .sc-checkout-section {
        padding: 40px 18px;
    }

    .somniva-checkout-page .sc-checkout-card {
        padding: 22px;

        border-radius: 24px;
    }

    .somniva-checkout-page .sc-form-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .somniva-checkout-page .sc-form-full {
        grid-column: auto;
    }

    .somniva-checkout-page .sc-card-small-grid {
        grid-template-columns: 1fr;
    }

    .somniva-checkout-page .sc-section-heading {
        gap: 12px;

        margin-bottom: 22px;
    }

    .somniva-checkout-page .sc-step-number {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .somniva-checkout-page .sc-section-heading h2 {
        font-size: 26px;
    }

    .somniva-checkout-page .sc-order-navigation {
        grid-template-columns: 1fr;
    }

    .somniva-checkout-page .sc-order-item {
        grid-template-columns:
            56px
            minmax(0, 1fr);

        gap: 11px;
    }

    .somniva-checkout-page .sc-order-item-image {
        width: 56px;
        height: 56px;
    }

    .somniva-checkout-page .sc-order-item-price {
        grid-column: 2;
    }
}


@media (max-width: 400px) {

    .somniva-checkout-page .sc-checkout-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .somniva-checkout-page .sc-checkout-card {
        padding: 18px;
    }

    .somniva-checkout-page .sc-checkout-banner h1 {
        font-size: 38px;
    }

    .somniva-checkout-page .sc-checkout-banner p {
        font-size: 15px;
    }
}

/* =========================================================
   SOMNIVA ORDER CONFIRMATION
   SCOPED ONLY TO .somniva-confirmation-page
========================================================= */

.somniva-confirmation-page {
    overflow-x: hidden;
}


.somniva-confirmation-page .somniva-logo,
.somniva-confirmation-page .somniva-logo-text,
.somniva-confirmation-page .somniva-nav-link,
.somniva-confirmation-page .somniva-dropdown-toggle,
.somniva-confirmation-page .somniva-cart-button,
.somniva-confirmation-page .somniva-login-button,
.somniva-confirmation-page .somniva-icon-button,
.somniva-confirmation-page .somniva-rtl-button {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
}

.somniva-confirmation-page .somniva-logo {
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.somniva-confirmation-page .somniva-logo-text {
    font-size: 25px;
    font-weight: 800;
}


/* =========================================================
   360PX BANNER
========================================================= */

.somniva-confirmation-page .soc-confirmation-banner {
    position: relative;

    width: 100%;
    height: 360px;
    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(138, 90, 181, .30),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #45205f,
            #65358a,
            #3a174f
        );
}


.somniva-confirmation-page .soc-banner-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(176, 111, 221, .25),
            transparent 68%
        );

    filter: blur(8px);

    animation:
        socBannerGlow 5s ease-in-out infinite;
}


.somniva-confirmation-page .soc-confirmation-banner-content {
    position: relative;
    z-index: 2;

    width: min(900px, 92%);

    animation:
        socBannerContent .8s ease both;
}


.somniva-confirmation-page .soc-banner-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #e9dac1;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2.5px;
}


.somniva-confirmation-page .soc-confirmation-banner h1 {
    margin: 0;

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(
        44px,
        6vw,
        72px
    );

    font-weight: 700;

    line-height: 1.05;
}


.somniva-confirmation-page .soc-confirmation-banner p {
    margin: 18px 0 0;

    color:
        rgba(255, 255, 255, .84);

    font-size: 18px;
    font-weight: 500;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.somniva-confirmation-page .soc-confirmation-section {
    width: 100%;

    padding: 70px 5%;

    box-sizing: border-box;

    background:
        var(--somniva-cream);
}


.somniva-confirmation-page .soc-confirmation-wrapper {
    width: min(1250px, 100%);

    margin: 0 auto;
}


/* =========================================================
   SUCCESS
========================================================= */

.somniva-confirmation-page .soc-success-area {
    text-align: center;

    max-width: 760px;

    margin: 0 auto 70px;
}


.somniva-confirmation-page .soc-success-icon {
    width: 116px;
    height: 116px;

    margin: 0 auto 25px;

    display: grid;
    place-items: center;

    position: relative;
}


.somniva-confirmation-page .soc-check-svg {
    width: 116px;
    height: 116px;

    overflow: visible;
}


.somniva-confirmation-page .soc-check-circle {
    fill:
        rgba(101, 53, 138, .09);

    stroke:
        var(--somniva-purple);

    stroke-width: 2.5;

    stroke-dasharray: 270;

    stroke-dashoffset: 270;

    animation:
        socCircleDraw .9s ease forwards;
}


.somniva-confirmation-page .soc-check-mark {
    fill: none;

    stroke:
        var(--somniva-purple);

    stroke-width: 6;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 65;

    stroke-dashoffset: 65;

    animation:
        socCheckDraw .65s .65s ease forwards;
}


.somniva-confirmation-page .soc-success-icon::after {
    content: "";

    position: absolute;

    inset: 8px;

    border-radius: 50%;

    box-shadow:
        0 0 0 0
        rgba(101, 53, 138, .28);

    animation:
        socSuccessGlow 2.4s 1s ease-out infinite;
}


.somniva-confirmation-page .soc-success-label {
    display: block;

    margin-bottom: 12px;

    color:
        var(--somniva-purple);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2px;
}


.somniva-confirmation-page .soc-success-area h2 {
    margin: 0;

    color:
        var(--somniva-ink);

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(
        30px,
        4vw,
        44px
    );

    line-height: 1.15;
}


.somniva-confirmation-page .soc-success-area > p {
    max-width: 620px;

    margin: 15px auto 0;

    color:
        var(--somniva-muted);

    font-size: 17px;
}


.somniva-confirmation-page .soc-order-number {
    width: fit-content;

    margin: 25px auto 0;

    padding: 12px 20px;

    display: flex;
    align-items: center;

    gap: 12px;

    border:
        1px solid var(--somniva-border);

    border-radius: 12px;

    background:
        var(--somniva-cream-light);
}


.somniva-confirmation-page .soc-order-number span {
    color:
        var(--somniva-muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
}


.somniva-confirmation-page .soc-order-number strong {
    color:
        var(--somniva-purple);

    font-size: 14px;
    font-weight: 900;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.somniva-confirmation-page .soc-section-heading {
    margin-bottom: 28px;
}


.somniva-confirmation-page .soc-section-label {
    display: block;

    margin-bottom: 5px;

    color:
        var(--somniva-purple);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.7px;
}


.somniva-confirmation-page .soc-section-heading h2 {
    margin: 0;

    color:
        var(--somniva-ink);

    font-family:
        "Playfair Display",
        serif;

    font-size: 32px;

    line-height: 1.2;
}


/* =========================================================
   HORIZONTAL STATUS TIMELINE
========================================================= */

.somniva-confirmation-page .soc-status-section {
    margin-bottom: 65px;
}


.somniva-confirmation-page .soc-status-timeline {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 0;
}


.somniva-confirmation-page .soc-status-step {
    width: 150px;

    flex: 0 0 150px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.somniva-confirmation-page .soc-status-point {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    position: relative;
    z-index: 2;

    border:
        2px solid var(--somniva-border);

    border-radius: 50%;

    background:
        var(--somniva-cream);

    color:
        var(--somniva-muted);

    font-size: 18px;

    transition:
        .3s ease;
}


.somniva-confirmation-page
.soc-status-step.is-complete
.soc-status-point {
    border-color:
        var(--somniva-purple);

    background:
        var(--somniva-purple);

    color: #ffffff;
}


.somniva-confirmation-page
.soc-status-step.is-current
.soc-status-point {
    border-color:
        var(--somniva-purple);

    background:
        var(--somniva-cream-light);

    color:
        var(--somniva-purple);

    box-shadow:
        0 0 0 7px
        rgba(101, 53, 138, .10),
        0 0 28px
        rgba(101, 53, 138, .24);

    animation:
        socCurrentPulse 2s ease-in-out infinite;
}


.somniva-confirmation-page .soc-status-content {
    margin-top: 13px;
}


.somniva-confirmation-page .soc-status-content strong {
    display: block;

    color:
        var(--somniva-ink);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.3;
}


.somniva-confirmation-page .soc-status-content span {
    display: block;

    margin-top: 4px;

    color:
        var(--somniva-muted);

    font-size: 12px;
    font-weight: 600;
}


.somniva-confirmation-page .soc-status-line {
    height: 2px;

    flex: 1;

    min-width: 30px;

    margin-top: 26px;

    background:
        var(--somniva-border);
}


.somniva-confirmation-page .soc-status-line.is-complete {
    background:
        var(--somniva-purple);
}


.somniva-confirmation-page .soc-status-line.is-active {
    background:
        linear-gradient(
            90deg,
            var(--somniva-purple),
            var(--somniva-border)
        );
}


/* =========================================================
   ORDER INFORMATION
========================================================= */

.somniva-confirmation-page .soc-order-information {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;

    margin-bottom: 65px;
}


.somniva-confirmation-page .soc-info-card {
    padding: 30px;

    background:
        var(--somniva-cream-light);

    border:
        1px solid var(--somniva-border);

    border-radius:
        var(--somniva-radius-lg);

    box-shadow:
        var(--somniva-shadow);
}


.somniva-confirmation-page .soc-info-card-heading {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 25px;
}


.somniva-confirmation-page .soc-info-card-heading > i {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    flex: 0 0 46px;

    border-radius: 50%;

    background:
        rgba(101, 53, 138, .09);

    color:
        var(--somniva-purple);

    font-size: 19px;
}


.somniva-confirmation-page .soc-info-card-heading span {
    display: block;

    margin-bottom: 3px;

    color:
        var(--somniva-purple);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.4px;
}


.somniva-confirmation-page .soc-info-card-heading h3 {
    margin: 0;

    color:
        var(--somniva-ink);

    font-size: 20px;
    font-weight: 800;
}


.somniva-confirmation-page .soc-info-list {
    display: flex;
    flex-direction: column;
}


.somniva-confirmation-page .soc-info-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 13px 0;

    border-bottom:
        1px solid var(--somniva-border);
}


.somniva-confirmation-page .soc-info-list > div:last-child {
    border-bottom: 0;
}


.somniva-confirmation-page .soc-info-list span {
    color:
        var(--somniva-muted);

    font-size: 14px;
    font-weight: 600;
}


.somniva-confirmation-page .soc-info-list strong {
    color:
        var(--somniva-ink);

    font-size: 14px;
    font-weight: 800;

    text-align: right;
}


.somniva-confirmation-page .soc-delivery-details p {
    margin: 0;

    color:
        var(--somniva-muted);

    font-size: 15px;
    line-height: 1.8;
}


.somniva-confirmation-page .soc-delivery-estimate {
    margin-top: 22px;

    padding-top: 18px;

    border-top:
        1px solid var(--somniva-border);
}


.somniva-confirmation-page .soc-delivery-estimate span {
    display: block;

    color:
        var(--somniva-muted);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.3px;
}


.somniva-confirmation-page .soc-delivery-estimate strong {
    display: block;

    margin-top: 4px;

    color:
        var(--somniva-purple);

    font-size: 17px;
    font-weight: 900;
}


/* =========================================================
   PRODUCTS
========================================================= */

.somniva-confirmation-page .soc-products-section {
    margin-bottom: 35px;
}


.somniva-confirmation-page .soc-products {
    display: flex;
    flex-direction: column;

    border-top:
        1px solid var(--somniva-border);
}


.somniva-confirmation-page .soc-product-row {
    display: grid;

    grid-template-columns:
        82px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-bottom:
        1px solid var(--somniva-border);
}


.somniva-confirmation-page .soc-product-image {
    width: 82px;
    height: 82px;

    object-fit: cover;

    border-radius: 14px;
}


.somniva-confirmation-page .soc-product-name {
    margin: 0;

    color:
        var(--somniva-ink);

    font-size: 16px;
    font-weight: 800;
}


.somniva-confirmation-page .soc-product-meta {
    margin: 5px 0 0;

    color:
        var(--somniva-muted);

    font-size: 13px;
    font-weight: 600;
}


.somniva-confirmation-page .soc-product-price {
    color:
        var(--somniva-purple);

    font-size: 16px;
    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   SUMMARY
========================================================= */

.somniva-confirmation-page .soc-summary-card {
    width: min(620px, 100%);

    margin-left: auto;

    margin-bottom: 60px;

    padding: 25px 28px;

    background:
        var(--somniva-cream-light);

    border:
        1px solid var(--somniva-border);

    border-radius:
        var(--somniva-radius-lg);

    box-shadow:
        var(--somniva-shadow);
}


.somniva-confirmation-page .soc-summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;
}


.somniva-confirmation-page .soc-summary-row span {
    color:
        var(--somniva-muted);

    font-size: 14px;
    font-weight: 600;
}


.somniva-confirmation-page .soc-summary-row strong {
    color:
        var(--somniva-ink);

    font-size: 15px;
    font-weight: 800;
}


.somniva-confirmation-page .soc-summary-divider {
    height: 1px;

    margin: 10px 0;

    background:
        var(--somniva-border);
}


.somniva-confirmation-page .soc-summary-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.somniva-confirmation-page .soc-summary-total span {
    color:
        var(--somniva-ink);

    font-size: 18px;
    font-weight: 900;
}


.somniva-confirmation-page .soc-summary-total strong {
    color:
        var(--somniva-purple);

    font-size: 27px;
    font-weight: 900;
}


/* =========================================================
   BRAND MESSAGE
========================================================= */

.somniva-confirmation-page .soc-sleep-message {
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}


.somniva-confirmation-page .soc-sleep-message > span {
    color:
        var(--somniva-purple);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.8px;
}


.somniva-confirmation-page .soc-sleep-message h2 {
    margin: 9px 0;

    color:
        var(--somniva-ink);

    font-family:
        "Playfair Display",
        serif;

    font-size: 32px;
}


.somniva-confirmation-page .soc-sleep-message p {
    margin: 0;

    color:
        var(--somniva-muted);

    font-size: 16px;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.somniva-confirmation-page .soc-action-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 15px;
}


.somniva-confirmation-page .soc-action-primary,
.somniva-confirmation-page .soc-action-secondary {
    min-height: 50px;

    padding: 12px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


.somniva-confirmation-page .soc-action-primary {
    color: #ffffff;

    background:
        var(--somniva-purple);

    border:
        1px solid var(--somniva-purple);
}


.somniva-confirmation-page .soc-action-primary:hover {
    background:
        var(--somniva-purple-dark);

    transform:
        translateY(-2px);
}


.somniva-confirmation-page .soc-action-secondary {
    color:
        var(--somniva-text);

    background:
        transparent;

    border:
        1px solid var(--somniva-border);
}


.somniva-confirmation-page .soc-action-secondary:hover {
    color:
        var(--somniva-purple);

    border-color:
        var(--somniva-purple);

    transform:
        translateY(-2px);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes socBannerGlow {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(1);
        opacity: .7;
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.12);
        opacity: 1;
    }
}


@keyframes socBannerContent {

    from {
        opacity: 0;
        transform:
            translateY(20px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes socCircleDraw {

    to {
        stroke-dashoffset: 0;
    }
}


@keyframes socCheckDraw {

    to {
        stroke-dashoffset: 0;
    }
}


@keyframes socSuccessGlow {

    0% {
        box-shadow:
            0 0 0 0
            rgba(101, 53, 138, .28);
    }

    70% {
        box-shadow:
            0 0 0 18px
            rgba(101, 53, 138, 0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(101, 53, 138, 0);
    }
}


@keyframes socCurrentPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 6px
            rgba(101, 53, 138, .08),
            0 0 22px
            rgba(101, 53, 138, .16);
    }

    50% {
        box-shadow:
            0 0 0 10px
            rgba(101, 53, 138, .03),
            0 0 35px
            rgba(101, 53, 138, .28);
    }
}


/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .somniva-confirmation-page .soc-status-step {
        width: 125px;
        flex-basis: 125px;
    }

    .somniva-confirmation-page .soc-status-content strong {
        font-size: 13px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .somniva-confirmation-page .soc-confirmation-section {
        padding: 55px 4%;
    }


    .somniva-confirmation-page .soc-order-information {
        grid-template-columns: 1fr;
    }


    .somniva-confirmation-page .soc-status-timeline {
        overflow-x: auto;

        justify-content: flex-start;

        padding:
            5px 5px 18px;
    }


    .somniva-confirmation-page .soc-status-step {
        width: 125px;
        flex-basis: 125px;
    }


    .somniva-confirmation-page .soc-status-line {
        min-width: 25px;
    }

}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .somniva-confirmation-page .soc-confirmation-section {
        padding: 45px 20px;
    }


    .somniva-confirmation-page .soc-success-area {
        margin-bottom: 50px;
    }


    .somniva-confirmation-page .soc-status-section {
        margin-bottom: 50px;
    }


    .somniva-confirmation-page .soc-status-timeline {
        margin-right: -20px;
        margin-left: -20px;

        padding-right: 20px;
        padding-left: 20px;
    }


    .somniva-confirmation-page .soc-info-card {
        padding: 23px;
    }


    .somniva-confirmation-page .soc-product-row {
        grid-template-columns:
            65px
            minmax(0, 1fr);

        gap: 13px;
    }


    .somniva-confirmation-page .soc-product-image {
        width: 65px;
        height: 65px;
    }


    .somniva-confirmation-page .soc-product-price {
        grid-column: 2;
    }


    .somniva-confirmation-page .soc-summary-card {
        margin-left: 0;
    }


    .somniva-confirmation-page .soc-action-buttons {
        flex-direction: column;
    }


    .somniva-confirmation-page
    .soc-action-primary,
    .somniva-confirmation-page
    .soc-action-secondary {
        width: 100%;
    }

}


/* =========================================================
   MOBILE MEDIUM
========================================================= */

@media (max-width: 575px) {

    .somniva-confirmation-page .soc-confirmation-banner {
        height: 360px;
        min-height: 360px;
    }


    .somniva-confirmation-page .soc-confirmation-banner h1 {
        font-size: 40px;
    }


    .somniva-confirmation-page .soc-confirmation-banner p {
        font-size: 15px;
    }


    .somniva-confirmation-page .soc-success-icon,
    .somniva-confirmation-page .soc-check-svg {
        width: 100px;
        height: 100px;
    }


    .somniva-confirmation-page .soc-success-area h2 {
        font-size: 29px;
    }


    .somniva-confirmation-page .soc-section-heading h2 {
        font-size: 28px;
    }


    .somniva-confirmation-page .soc-info-list > div {
        align-items: flex-start;
        flex-direction: column;

        gap: 4px;
    }


    .somniva-confirmation-page .soc-info-list strong {
        text-align: left;
    }


    .somniva-confirmation-page .soc-summary-card {
        padding: 22px;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 380px) {

    .somniva-confirmation-page .soc-confirmation-section {
        padding-right: 14px;
        padding-left: 14px;
    }


    .somniva-confirmation-page .soc-confirmation-banner h1 {
        font-size: 36px;
    }


    .somniva-confirmation-page .soc-banner-eyebrow {
        font-size: 11px;
    }


    .somniva-confirmation-page .soc-status-step {
        width: 110px;
        flex-basis: 110px;
    }

}


/* =========================================================
   SOMNIVA POLICY PAGE
   PAGE-SCOPED STYLES ONLY
========================================================= */


/* =========================================================
   POLICY VARIABLES
========================================================= */

.somniva-policy-page {

    --sp-purple:
        var(--somniva-purple);

    --sp-purple-dark:
        var(--somniva-purple-dark);

    --sp-purple-light:
        var(--somniva-purple-light);

    --sp-cream:
        var(--somniva-cream);

    --sp-cream-light:
        var(--somniva-cream-light);

    --sp-ink:
        var(--somniva-ink);

    --sp-text:
        var(--somniva-text);

    --sp-muted:
        var(--somniva-muted);

    --sp-border:
        var(--somniva-border);

    --sp-shadow:
        var(--somniva-shadow);

    --sp-max:
        1180px;
}


/* =========================================================
   CONTAINER
========================================================= */

.somniva-policy-page .sp-container {

    width:
        min(
            var(--sp-max),
            calc(100% - 64px)
        );

    margin-inline: auto;

    position: relative;
}


/* =========================================================
   HERO
========================================================= */

.somniva-policy-page .sp-hero {

    position: relative;

    min-height: 360px;
    height: 360px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(138, 90, 181, 0.55),
            transparent 28%
        ),
        radial-gradient(
            circle at 18% 85%,
            rgba(101, 53, 138, 0.55),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--somniva-purple-dark),
            var(--somniva-purple)
        );

    color: #ffffff;
}


.somniva-policy-page .sp-hero::before {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.07);

    top: -290px;
    right: -110px;

    animation:
        spHeroFloat
        9s ease-in-out infinite;
}


.somniva-policy-page .sp-hero::after {

    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.045);

    bottom: -220px;
    left: -90px;

    animation:
        spHeroFloatReverse
        11s ease-in-out infinite;
}


.somniva-policy-page .sp-hero-content {

    position: relative;

    z-index: 2;

    width:
        min(
            900px,
            calc(100% - 40px)
        );

    margin-inline: auto;

    animation:
        spHeroReveal
        0.9s ease both;
}


.somniva-policy-page .sp-eyebrow {

    display: block;

    margin-bottom: 14px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1.4;

    color:
        #f4eadb;
}


.somniva-policy-page .sp-hero h1 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            42px,
            5vw,
            68px
        );

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -1px;

    color: #ffffff;
}


.somniva-policy-page .sp-hero p {

    max-width: 680px;

    margin: 16px auto 0;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 18px;

    font-weight: 500;

    line-height: 1.65;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );
}


/* =========================================================
   COMMON SECTION
========================================================= */

.somniva-policy-page .sp-section {

    position: relative;

    padding:
        110px 0;

    overflow: hidden;
}


.somniva-policy-page .sp-section-label {

    display: inline-block;

    margin-bottom: 14px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    line-height: 1.4;

    text-transform: uppercase;

    color:
        var(--sp-purple);
}


.somniva-policy-page .sp-section h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            34px,
            4vw,
            52px
        );

    font-weight: 600;

    line-height: 1.15;

    letter-spacing: -0.5px;

    color:
        var(--sp-ink);
}


.somniva-policy-page .sp-section p {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.75;

    color:
        var(--sp-muted);
}


.somniva-policy-page .sp-stats {

    background:
        rgba(
            243,
            238,
            232,
            0.7
        );

    border-top:
        1px solid
        var(--sp-border);

    border-bottom:
        1px solid
        var(--sp-border);
}


.somniva-policy-page .sp-stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.somniva-policy-page .sp-stat {

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;

    min-height: 180px;

    padding:
        28px 24px;

    background:
        rgba(
            255,
            255,
            255,
            0.46
        );

    border:
        1px solid
        rgba(
            104,
            61,
            130,
            0.12
        );

    border-radius:
        22px;

    box-shadow:
        0 18px 30px
        rgba(
            62,
            33,
            80,
            0.05
        );
}


.somniva-policy-page .sp-stat-value {

    color:
        var(--sp-purple);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            2.4rem,
            3vw,
            4rem
        );

    line-height: 0.9;

    letter-spacing:
        -0.06em;
}


.somniva-policy-page .sp-stat-label {

    color:
        var(--sp-text);

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;

    text-transform: uppercase;
}


/* =========================================================
   SECTION 02 — PROMISE
========================================================= */

.somniva-policy-page .sp-promise {

    background:
        var(--somniva-cream-light);
}


.somniva-policy-page .sp-promise .sp-container {

    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(500px, 1.2fr);

    gap: 90px;

    align-items: center;
}


.somniva-policy-page .sp-section-intro p {

    max-width: 520px;

    margin:
        22px 0 0;
}


/* =========================================================
   WAVE
========================================================= */

.somniva-policy-page .sp-wave-area {

    position: relative;

    min-height: 320px;

    padding:
        35px 0 10px;
}


.somniva-policy-page .sp-wave-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    margin-bottom: 10px;
}


.somniva-policy-page .sp-wave-heading span {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color:
        var(--sp-purple);
}


.somniva-policy-page .sp-wave-heading strong {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    color:
        var(--sp-ink);
}


.somniva-policy-page .sp-wave-svg {

    width: 100%;

    height: 245px;

    overflow: visible;
}


.somniva-policy-page .sp-wave-line {

    fill: none;

    stroke:
        url("#spWaveGradient");

    stroke-width: 5;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-dasharray: 1300;

    stroke-dashoffset: 1300;

    animation:
        spWaveDraw
        2.2s
        cubic-bezier(
            0.65,
            0,
            0.35,
            1
        )
        forwards,
        spWaveFlow
        5s
        ease-in-out
        2.2s
        infinite;
}


.somniva-policy-page .sp-wave-labels {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    margin-top: -26px;
}


.somniva-policy-page .sp-wave-labels span {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    color:
        var(--sp-muted);

    text-align: center;
}


/* =========================================================
   SECTION 03 — HOW IT WORKS
========================================================= */

.somniva-policy-page .sp-how {

    background:
        var(--somniva-cream);
}


.somniva-policy-page .sp-centered-heading {

    max-width: 720px;

    margin:
        0 auto 85px;

    text-align: center;
}


.somniva-policy-page .sp-centered-heading p {

    margin:
        18px auto 0;

    max-width: 560px;
}


/* =========================================================
   PROGRESSIVE TIMELINE
========================================================= */

.somniva-policy-page .sp-timeline {

    position: relative;

    width:
        min(
            980px,
            100%
        );

    margin-inline: auto;

    min-height: 900px;
}


.somniva-policy-page .sp-timeline-svg {

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 120px;
    height: 100%;

    transform:
        translateX(-50%);

    overflow: visible;

    pointer-events: none;
}


.somniva-policy-page .sp-timeline-track {

    fill: none;

    stroke:
        var(--sp-purple);

    stroke-width: 2.5;

    stroke-linecap: round;

    stroke-dasharray: 1200;

    stroke-dashoffset: 1200;

    opacity: 0.5;

    transition:
        stroke-dashoffset
        1.8s
        cubic-bezier(
            0.65,
            0,
            0.35,
            1
        );
}


.somniva-policy-page
.sp-timeline.is-visible
.sp-timeline-track {

    stroke-dashoffset: 0;
}


.somniva-policy-page .sp-timeline-item {

    position: relative;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    min-height: 210px;

    align-items: center;
}


.somniva-policy-page .sp-timeline-left
.sp-timeline-content {

    grid-column: 1;

    text-align: right;

    padding-right: 45px;
}


.somniva-policy-page .sp-timeline-right
.sp-timeline-content {

    grid-column: 2;

    text-align: left;

    padding-left: 45px;
}


.somniva-policy-page .sp-timeline-marker {

    position: absolute;

    left: 50%;
    top: 50%;

    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform:
        translate(
            -50%,
            -50%
        );

    border: 2px solid
        var(--sp-purple);

    border-radius: 50%;

    background:
        var(--somniva-cream);

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 13px;

    font-weight: 800;

    color:
        var(--sp-purple);

    box-shadow:
        0 0 0 10px
        var(--somniva-cream);

    z-index: 2;

    transition:
        transform
        0.5s ease,
        background
        0.5s ease,
        color
        0.5s ease;
}


.somniva-policy-page
.sp-timeline-item.is-visible
.sp-timeline-marker {

    background:
        var(--sp-purple);

    color: #ffffff;

    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.08);
}


.somniva-policy-page .sp-timeline-content span {

    display: block;

    margin-bottom: 8px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.7px;

    color:
        var(--sp-purple);
}


.somniva-policy-page .sp-timeline-content h3 {

    margin: 0 0 10px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.35;

    color:
        var(--sp-ink);
}


.somniva-policy-page .sp-timeline-content p {

    max-width: 390px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;
}


.somniva-policy-page .sp-timeline-right
.sp-timeline-content p {

    margin-right: auto;
}


.somniva-policy-page .sp-timeline-left
.sp-timeline-content p {

    margin-left: auto;
}


/* =========================================================
   SECTION 04 — ELIGIBILITY
========================================================= */

.somniva-policy-page .sp-eligibility {

    background:
        var(--somniva-cream-light);
}


.somniva-policy-page .sp-editorial-grid {

    display: grid;

    grid-template-columns:
        0.35fr 1fr;

    gap: 90px;

    align-items: start;
}


.somniva-policy-page .sp-editorial-number {

    position: sticky;

    top: 120px;
}


.somniva-policy-page .sp-editorial-number > span {

    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            90px,
            11vw,
            150px
        );

    font-weight: 600;

    line-height: 0.8;

    color:
        var(--sp-purple);

    opacity: 0.18;
}


.somniva-policy-page .sp-editorial-number small {

    display: block;

    margin-top: 25px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    font-weight: 800;

    line-height: 1.5;

    letter-spacing: 1.5px;

    color:
        var(--sp-purple);
}


.somniva-policy-page .sp-editorial-content {

    max-width: 760px;
}


.somniva-policy-page .sp-editorial-content > p {

    max-width: 680px;

    margin:
        20px 0 38px;
}


.somniva-policy-page .sp-check-list {

    border-top:
        1px solid
        var(--sp-border);
}


.somniva-policy-page .sp-check-row {

    display: grid;

    grid-template-columns:
        30px 1fr;

    gap: 18px;

    align-items: start;

    padding:
        21px 0;

    border-bottom:
        1px solid
        var(--sp-border);
}


.somniva-policy-page .sp-check-row i {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background:
        rgba(
            101,
            53,
            138,
            0.10
        );

    color:
        var(--sp-purple);

    font-size: 15px;

    font-weight: 800;
}


.somniva-policy-page .sp-check-row span {

    padding-top: 2px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 16px;

    font-weight: 500;

    line-height: 1.6;

    color:
        var(--sp-text);
}


/* =========================================================
   SECTION 05 — HANGING PROCESS
========================================================= */

.somniva-policy-page .sp-return-process {

    background:
        var(--somniva-cream);
}


.somniva-policy-page .sp-hanging-process {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 22px;

    padding-top: 30px;

    min-height: 440px;
}


.somniva-policy-page .sp-hanging-line {

    position: absolute;

    top: 29px;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--sp-purple),
            transparent
        );

    opacity: 0.45;
}


.somniva-policy-page .sp-hanging-step {

    position: relative;

    padding-top:
        calc(
            29px
            + var(--sp-hang-length, 90px)
            + 24px
        );

    padding-inline: 10px;

    text-align: center;

    animation:
        spHangingIdle
        5s
        ease-in-out
        infinite;
}


.somniva-policy-page .sp-hanging-step:nth-child(2) {
    animation-delay: 0.2s;
}


.somniva-policy-page .sp-hanging-step:nth-child(3) {
    animation-delay: 0.7s;
}


.somniva-policy-page .sp-hanging-step:nth-child(4) {
    animation-delay: 1.1s;
}


.somniva-policy-page .sp-hanging-step:nth-child(5) {
    animation-delay: 1.6s;
}


.somniva-policy-page .sp-hanging-step:nth-child(6) {
    animation-delay: 2s;
}


.somniva-policy-page .sp-hanging-hook {

    position: absolute;

    top: 29px;
    left: 50%;

    width: 1px;

    height:
        var(--sp-hang-length, 90px);

    background:
        var(--sp-purple);

    transform:
        translateX(-50%);
}


.somniva-policy-page .sp-hanging-hook::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 12px;
    height: 12px;

    border:
        2px solid
        var(--sp-purple);

    border-radius: 50%;

    background:
        var(--somniva-cream);

    transform:
        translateX(-50%);
}


.somniva-policy-page .sp-hanging-step strong {

    display: block;

    margin-bottom: 12px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 42px;

    font-weight: 600;

    line-height: 1;

    color:
        var(--sp-purple);

    opacity: 0.85;
}


.somniva-policy-page .sp-hanging-step h3 {

    margin: 0 0 8px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 18px;

    font-weight: 700;

    color:
        var(--sp-ink);
}


.somniva-policy-page .sp-hanging-step p {

    margin: 0 auto;

    max-width: 180px;

    font-size: 14px;

    line-height: 1.65;
}


.somniva-policy-page .sp-hang-one {
    --sp-hang-length: 72px;
}


.somniva-policy-page .sp-hang-two {
    --sp-hang-length: 120px;
}


.somniva-policy-page .sp-hang-three {
    --sp-hang-length: 88px;
}


.somniva-policy-page .sp-hang-four {
    --sp-hang-length: 145px;
}


.somniva-policy-page .sp-hang-five {
    --sp-hang-length: 105px;
}


/* =========================================================
   SECTION 06 — ONE IMAGE
========================================================= */

.somniva-policy-page .sp-image-story {

    background:
        var(--somniva-cream-light);
}


.somniva-policy-page .sp-image-story-grid {

    display: grid;

    grid-template-columns:
        minmax(260px, 0.82fr)
        minmax(360px, 1.18fr);

    gap: 38px;

    align-items: center;
}


.somniva-policy-page .sp-image-story-copy {

    display: flex;

    flex-direction: column;

    max-width: 530px;
    margin-right: 0;
}


.somniva-policy-page .sp-image-story-copy > p {

    margin:
        22px 0 30px;
}


.somniva-policy-page .sp-image-story-note {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-top: auto;

    padding-top: 22px;

    border-top:
        1px solid
        var(--sp-border);
}


.somniva-policy-page .sp-image-story-note i {

    flex: 0 0 auto;

    color:
        var(--sp-purple);

    font-size: 21px;
}


.somniva-policy-page .sp-image-story-note span {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.6;

    color:
        var(--sp-text);
}


.somniva-policy-page .sp-image-story-visual {

    position: relative;

    min-height: 470px;
    max-height: 470px;

    overflow: hidden;

    border-radius:
        24px;

    box-shadow:
        var(--sp-shadow);
}


.somniva-policy-page .sp-image-story-visual img {

    width: 100%;
    height: 100%;

    min-height: 470px;

    object-fit: cover;

    object-position: center;

    transition:
        transform
        1.1s
        cubic-bezier(
            0.2,
            0.7,
            0.2,
            1
        );
}


.somniva-policy-page
.sp-image-story-visual.is-visible img {

    transform:
        scale(1.035);
}


.somniva-policy-page .sp-image-story-caption {

    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 28px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    color: #ffffff;

    text-shadow:
        0 2px 18px
        rgba(0,0,0,0.35);
}


.somniva-policy-page .sp-image-story-caption span {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.somniva-policy-page .sp-image-story-caption strong {

    font-family:
        "Playfair Display",
        serif;

    font-size: 24px;

    font-weight: 600;
}


/* =========================================================
   SECTION 07 — FAQ
========================================================= */

.somniva-policy-page .sp-faq {

    background:
        var(--somniva-cream);
}


.somniva-policy-page .sp-faq-grid {

    display: grid;

    grid-template-columns:
        0.75fr 1.25fr;

    gap: 90px;

    align-items: start;
}


.somniva-policy-page .sp-faq-heading {

    position: sticky;

    top: 120px;
}


.somniva-policy-page .sp-faq-heading p {

    max-width: 430px;

    margin:
        20px 0 0;
}


.somniva-policy-page .sp-faq-list {

    border-top:
        1px solid
        var(--sp-border);
}


.somniva-policy-page .sp-faq-item {

    border-bottom:
        1px solid
        var(--sp-border);
}


.somniva-policy-page .sp-faq-question {

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        25px 0;

    background: transparent;

    text-align: left;

    cursor: pointer;

    color:
        var(--sp-ink);
}


.somniva-policy-page .sp-faq-question span {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.5;
}


.somniva-policy-page .sp-faq-question i {

    flex: 0 0 auto;

    font-size: 20px;

    color:
        var(--sp-purple);

    transition:
        transform
        0.35s ease;
}


.somniva-policy-page .sp-faq-item.is-open
.sp-faq-question i {

    transform:
        rotate(45deg);
}


.somniva-policy-page .sp-faq-answer {

    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows
        0.4s ease;
}


.somniva-policy-page .sp-faq-answer p {

    overflow: hidden;

    margin: 0;

    padding: 0;

    font-size: 15px;

    line-height: 1.75;
}


.somniva-policy-page .sp-faq-item.is-open
.sp-faq-answer {

    grid-template-rows: 1fr;
}


.somniva-policy-page .sp-faq-item.is-open
.sp-faq-answer p {

    padding:
        0 45px 25px 0;
}


/* =========================================================
   SECTION 08 — FINAL
========================================================= */

.somniva-policy-page .sp-final {

    min-height: 560px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        var(--somniva-ink);

    color: #ffffff;
}


.somniva-policy-page .sp-final-content {

    position: relative;

    z-index: 3;

    width:
        min(
            760px,
            calc(100% - 40px)
        );
}


.somniva-policy-page .sp-final .sp-section-label {

    color:
        #e9dac1;
}


.somniva-policy-page .sp-final h2 {

    color:
        #ffffff;

    font-size:
        clamp(
            40px,
            5vw,
            64px
        );
}


.somniva-policy-page .sp-final h2 span {

    display: block;

    color:
        #d6b8ed;
}


.somniva-policy-page .sp-final p {

    max-width: 650px;

    margin:
        24px auto 30px;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );
}


.somniva-policy-page .sp-final-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 5px;
}


.somniva-policy-page .sp-final-orbit {

    position: absolute;

    width: 430px;
    height: 430px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    border-radius: 50%;

    right: -150px;
    top: 50%;

    transform:
        translateY(-50%);

    animation:
        spOrbit
        12s
        linear
        infinite;
}


.somniva-policy-page .sp-final-lines {

    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;
}


.somniva-policy-page .sp-final-lines span {

    position: absolute;

    width: 180px;
    height: 1px;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    transform:
        rotate(-25deg);

    animation:
        spLineFloat
        7s
        ease-in-out
        infinite;
}


.somniva-policy-page .sp-final-lines span:nth-child(1) {

    top: 22%;
    left: 7%;
}


.somniva-policy-page .sp-final-lines span:nth-child(2) {

    top: 70%;
    right: 8%;

    animation-delay: 1.5s;
}


.somniva-policy-page .sp-final-lines span:nth-child(3) {

    bottom: 16%;
    left: 18%;

    animation-delay: 3s;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.somniva-policy-page .sp-reveal {

    opacity: 0;

    transform:
        translateY(36px);

    transition:
        opacity
        0.8s
        ease,
        transform
        0.8s
        cubic-bezier(
            0.2,
            0.7,
            0.2,
            1
        );
}


.somniva-policy-page .sp-reveal.is-visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   HANGING ANIMATION
========================================================= */

@keyframes spHangingIdle {

    0%,
    100% {
        transform:
            rotate(0deg);
    }

    25% {
        transform:
            rotate(1.2deg);
    }

    75% {
        transform:
            rotate(-1.2deg);
    }

}


/* =========================================================
   HERO FLOAT
========================================================= */

@keyframes spHeroFloat {

    0%,
    100% {
        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    50% {
        transform:
            translate3d(
                -20px,
                18px,
                0
            );
    }

}


@keyframes spHeroFloatReverse {

    0%,
    100% {
        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    50% {
        transform:
            translate3d(
                18px,
                -14px,
                0
            );
    }

}


/* =========================================================
   HERO REVEAL
========================================================= */

@keyframes spHeroReveal {

    from {

        opacity: 0;

        transform:
            translateY(24px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   WAVE
========================================================= */

@keyframes spWaveDraw {

    to {
        stroke-dashoffset: 0;
    }

}


@keyframes spWaveFlow {

    0%,
    100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-5px);
    }

}


/* =========================================================
   FINAL ORBIT
========================================================= */

@keyframes spOrbit {

    from {

        transform:
            translateY(-50%)
            rotate(0deg);

    }

    to {

        transform:
            translateY(-50%)
            rotate(360deg);

    }

}


@keyframes spLineFloat {

    0%,
    100% {

        opacity: 0.15;

        transform:
            translateX(0)
            rotate(-25deg);

    }

    50% {

        opacity: 0.55;

        transform:
            translateX(45px)
            rotate(-25deg);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-policy-page .sp-container {

        width:
            min(
                100% - 48px,
                var(--sp-max)
            );
    }


    .somniva-policy-page .sp-section {

        padding:
            90px 0;
    }


    .somniva-policy-page .sp-promise .sp-container {

        grid-template-columns:
            1fr;

        gap: 55px;
    }


    .somniva-policy-page .sp-stats-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .somniva-policy-page .sp-wave-area {

        max-width: 800px;

        margin-inline: auto;

        width: 100%;
    }


    .somniva-policy-page .sp-editorial-grid {

        grid-template-columns:
            160px 1fr;

        gap: 55px;
    }


    .somniva-policy-page .sp-hanging-process {

        grid-template-columns:
            repeat(3, 1fr);

        row-gap: 55px;

        min-height: auto;
    }


    .somniva-policy-page .sp-hanging-line {

        display: none;
    }


    .somniva-policy-page .sp-image-story-grid {

        grid-template-columns:
            1fr;

        gap: 32px;
    }


    .somniva-policy-page .sp-image-story-copy {

        max-width: 720px;
    }


    .somniva-policy-page .sp-image-story-visual {

        min-height: 430px;
        max-height: 430px;
    }


    .somniva-policy-page .sp-image-story-visual img {

        min-height: 430px;
    }


    .somniva-policy-page .sp-faq-grid {

        grid-template-columns:
            1fr;

        gap: 55px;
    }


    .somniva-policy-page .sp-faq-heading {

        position: relative;

        top: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .somniva-policy-page .sp-container {

        width:
            calc(100% - 34px);
    }


    .somniva-policy-page .sp-section {

        padding:
            72px 0;
    }


    .somniva-policy-page .sp-hero {

        min-height: 360px;
        height: 360px;
    }


    .somniva-policy-page .sp-hero h1 {

        font-size: 40px;

        letter-spacing:
            -0.5px;
    }


    .somniva-policy-page .sp-hero p {

        font-size: 16px;

        max-width: 500px;
    }


    .somniva-policy-page .sp-section h2 {

        font-size: 35px;
    }


    .somniva-policy-page .sp-section p {

        font-size: 16px;
    }


    .somniva-policy-page .sp-stats-grid {

        grid-template-columns:
            1fr;

        gap: 14px;
    }


    .somniva-policy-page .sp-stat {

        min-height: 150px;

        padding:
            24px 18px;
    }


    .somniva-policy-page .sp-stat-value {

        font-size:
            clamp(
                2.1rem,
                8vw,
                3rem
            );
    }


    .somniva-policy-page .sp-stat-label {

        letter-spacing: 0.12em;

        font-size: 10px;
    }


    /* WAVE */

    .somniva-policy-page .sp-wave-area {

        min-height: 220px;
    }


    .somniva-policy-page .sp-wave-svg {

        height: 120px;

        position: relative;
        z-index: 1;

        transform: scaleY(0.35) translateY(12px);
        transform-origin: center;
    }


    .somniva-policy-page .sp-wave-heading {

        display: block;
    }


    .somniva-policy-page .sp-wave-heading strong {

        display: block;

        margin-top: 6px;

        font-size: 14px;
    }


    .somniva-policy-page .sp-wave-labels {

        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;

        margin-top: 4px;

        position: relative;
        z-index: 2;
    }


    .somniva-policy-page .sp-wave-labels span {

        font-size: 10px;
        line-height: 1.3;
    }


    /* TIMELINE */

    .somniva-policy-page .sp-centered-heading {

        margin-bottom: 55px;
    }


    .somniva-policy-page .sp-timeline {

        min-height: auto;

        padding-left: 52px;
    }


    .somniva-policy-page .sp-timeline-svg {

        left: 26px;

        width: 54px;

        transform:
            translateX(-50%);
    }


    .somniva-policy-page .sp-timeline-item {

        display: block;

        min-height: 230px;

        padding-left: 20px;

        padding-bottom: 30px;
    }


    .somniva-policy-page .sp-timeline-left
    .sp-timeline-content,
    .somniva-policy-page .sp-timeline-right
    .sp-timeline-content {

        padding:
            0 0 0 18px;

        text-align: left;
    }


    .somniva-policy-page .sp-timeline-marker {

        left: 26px;

        width: 48px;
        height: 48px;

        box-shadow:
            0 0 0 8px
            var(--somniva-cream);
    }


    .somniva-policy-page .sp-timeline-content h3 {

        font-size: 19px;
    }


    /* ELIGIBILITY */

    .somniva-policy-page .sp-editorial-grid {

        grid-template-columns:
            1fr;

        gap: 30px;
    }


    .somniva-policy-page .sp-editorial-number {

        position: relative;

        top: auto;
    }


    .somniva-policy-page .sp-editorial-number > span {

        font-size: 80px;
    }


    /* HANGING */

    .somniva-policy-page .sp-hanging-process {

        display: flex;
        flex-direction: column;
        gap: 26px;
        min-height: auto;
        padding-top: 0;
    }


    .somniva-policy-page .sp-hanging-line {

        display: none;
    }


    .somniva-policy-page .sp-hanging-step {

        position: relative;

        min-height: 120px;
        padding-top: 10px;
        padding-left: 62px;
        padding-right: 12px;
        padding-bottom: 0;

        text-align: left;
    }


    .somniva-policy-page .sp-hanging-hook {

        top: 0;
        left: 20px;

        width: 2px;
        height: calc(100% + 10px);

        transform: none;
    }


    .somniva-policy-page .sp-hanging-hook::after {

        left: 50%;
        top: 16px;
        bottom: auto;

        width: 16px;
        height: 16px;

        transform: translateX(-50%);
    }


    .somniva-policy-page .sp-hanging-step strong {

        display: inline-block;

        margin-bottom: 8px;
        margin-left: 0;

        font-size: 34px;
    }


    .somniva-policy-page .sp-hanging-step h3 {

        font-size: 17px;
    }


    .somniva-policy-page .sp-hanging-step p {

        max-width: 100%;

        font-size: 13px;
        text-align: left;
    }


    /* IMAGE */

    .somniva-policy-page .sp-image-story-visual {

        min-height: 360px;
        max-height: 360px;

        border-radius:
            18px;
    }


    .somniva-policy-page .sp-image-story-visual img {

        min-height: 360px;
    }


    .somniva-policy-page .sp-image-story-caption {

        left: 20px;
        right: 20px;
        bottom: 20px;
    }


    .somniva-policy-page .sp-image-story-caption strong {

        font-size: 20px;
    }


    /* FAQ */

    .somniva-policy-page .sp-faq-question span {

        font-size: 16px;
    }


    .somniva-policy-page .sp-faq-item.is-open
    .sp-faq-answer p {

        padding:
            0 0 22px;
    }


    /* FINAL */

    .somniva-policy-page .sp-final {

        min-height: 500px;
    }


    .somniva-policy-page .sp-final h2 {

        font-size: 40px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .somniva-policy-page .sp-container {

        width:
            calc(100% - 28px);
    }


    .somniva-policy-page .sp-hero h1 {

        font-size: 34px;
    }


    .somniva-policy-page .sp-eyebrow {

        font-size: 11px;

        letter-spacing: 1.4px;
    }


    .somniva-policy-page .sp-hero p {

        font-size: 15px;
    }


    .somniva-policy-page .sp-section h2 {

        font-size: 31px;
    }


    .somniva-policy-page .sp-wave-labels span {

        font-size: 10px;
    }


    .somniva-policy-page .sp-timeline {

        padding-left: 45px;
    }


    .somniva-policy-page .sp-timeline-svg {

        left: 22px;

        width: 45px;
    }


    .somniva-policy-page .sp-timeline-marker {

        left: 22px;

        width: 43px;
        height: 43px;

        font-size: 11px;

        box-shadow:
            0 0 0 7px
            var(--somniva-cream);
    }


    .somniva-policy-page .sp-timeline-item {

        padding-left: 16px;

        min-height: 245px;
    }


    .somniva-policy-page .sp-timeline-content h3 {

        font-size: 18px;
    }


    .somniva-policy-page .sp-timeline-content p {

        font-size: 14px;
    }


    .somniva-policy-page .sp-hanging-process {

        grid-template-columns:
            1fr;
    }


    .somniva-policy-page .sp-hanging-step {

        min-height: 190px;
    }


    .somniva-policy-page .sp-image-story-visual {

        min-height: 390px;
    }


    .somniva-policy-page .sp-image-story-visual img {

        min-height: 390px;
    }


    .somniva-policy-page .sp-image-story-caption {

        display: block;
    }


    .somniva-policy-page .sp-image-story-caption strong {

        display: block;

        margin-top: 5px;
    }


    .somniva-policy-page .sp-final h2 {

        font-size: 35px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .somniva-policy-page *,
    .somniva-policy-page *::before,
    .somniva-policy-page *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            0.01ms !important;
    }

}


/* =========================================================
   SOMNIVA CONTACT PAGE
   PAGE-SCOPED ONLY
========================================================= */


/* =========================================================
   BASE
========================================================= */

.somniva-contact-page {
    width: 100%;
    overflow-x: hidden;
}

.somniva-contact-page .sc-container {
    width: min(1380px, calc(100% - 56px));
    margin: 0 auto;
}

.somniva-contact-page .sc-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 110px 0;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.somniva-contact-page .sc-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.somniva-contact-page .sc-reveal.sc-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   SECTION LABELS
========================================================= */

.somniva-contact-page .sc-section-label {
    display: block;
    margin-bottom: 18px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.somniva-contact-page .sc-section-heading {
    max-width: 720px;
    margin-bottom: 65px;
}

.somniva-contact-page .sc-section-heading h2,
.somniva-contact-page .sc-map-heading h2 {
    margin: 0 0 18px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.05;
}

.somniva-contact-page .sc-section-heading p {
    max-width: 650px;
    margin: 0;

    color: var(--somniva-muted);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   SECTION 01 — BANNER
========================================================= */

.somniva-contact-page .sc-contact-banner {
    position: relative;

    width: 100%;
    height: 360px;
    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;
}

.somniva-contact-page .sc-contact-banner-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.somniva-contact-page .sc-contact-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(30, 13, 43, 0.82),
            rgba(69, 32, 95, 0.62),
            rgba(30, 13, 43, 0.78)
        );

    z-index: 1;
}

.somniva-contact-page .sc-contact-banner::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -120px;
    top: -170px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    animation: scContactBannerOrbit 10s linear infinite;

    z-index: 1;
}

.somniva-contact-page .sc-contact-banner-content {
    position: relative;
    z-index: 2;

    width: min(900px, calc(100% - 40px));

    color: #ffffff;
}

.somniva-contact-page .sc-contact-banner-content span {
    display: block;
    margin-bottom: 12px;

    color: #ead9ed;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.somniva-contact-page .sc-contact-banner-content h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.02;
}

.somniva-contact-page .sc-contact-banner-content p {
    max-width: 650px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
}


/* =========================================================
   SECTION 02 — STORE VISIT
========================================================= */

.somniva-contact-page .sc-visit-section {
    background: var(--somniva-cream-light);
}

.somniva-contact-page .sc-visit-section .sc-container {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 90px;
    align-items: start;
}

.somniva-contact-page .sc-visit-intro {
    padding-top: 35px;
}

.somniva-contact-page .sc-visit-intro h2 {
    margin: 0 0 25px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 4.5vw, 65px);
    line-height: 1.03;
}

.somniva-contact-page .sc-visit-intro > p {
    max-width: 510px;
    margin: 0;

    color: var(--somniva-muted);
    font-size: 17px;
}

.somniva-contact-page .sc-visit-note {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid var(--somniva-border);
}

.somniva-contact-page .sc-visit-note i {
    flex-shrink: 0;

    color: var(--somniva-purple);
    font-size: 27px;
}

.somniva-contact-page .sc-visit-note strong {
    display: block;

    color: var(--somniva-ink);
    font-size: 17px;
    font-weight: 800;
}

.somniva-contact-page .sc-visit-note span {
    display: block;
    margin-top: 4px;

    color: var(--somniva-muted);
    font-size: 14px;
}


/* FORM WRAPPER */

.somniva-contact-page .sc-visit-form-wrap {
    position: relative;

    padding: 42px 45px 45px;

    background: var(--somniva-cream);
    border: 1px solid var(--somniva-border);

    box-shadow: var(--somniva-shadow);

    border-radius: 32px;

    overflow: hidden;
}

.somniva-contact-page .sc-visit-form-wrap::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -70px;

    border: 1px solid rgba(101, 53, 138, 0.15);
    border-radius: 50%;
}

.somniva-contact-page .sc-form-heading {
    position: relative;

    margin-bottom: 35px;
}

.somniva-contact-page .sc-form-heading span {
    display: block;

    margin-bottom: 8px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-contact-page .sc-form-heading h3 {
    margin: 0;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: 32px;
}


/* =========================================================
   FORM SYSTEM
========================================================= */

.somniva-contact-page .sc-contact-form {
    position: relative;
    z-index: 2;
}

.somniva-contact-page .sc-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.somniva-contact-page .sc-form-field {
    position: relative;

    margin-bottom: 24px;
}

.somniva-contact-page .sc-form-field label {
    display: block;

    margin-bottom: 9px;

    color: var(--somniva-ink);

    font-size: 16px;
    font-weight: 800;
}

.somniva-contact-page .sc-form-field label b {
    color: #d52f45;
}

.somniva-contact-page .sc-form-field input,
.somniva-contact-page .sc-form-field textarea,
.somniva-contact-page .sc-form-field select {
    width: 100%;

    padding: 14px 0;

    color: var(--somniva-text);
    background: transparent;

    border: 0;
    border-bottom: 1px solid var(--somniva-border);

    border-radius: 0;

    outline: none;

    font-size: 16px;
    font-weight: 500;

    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}

.somniva-contact-page .sc-form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.somniva-contact-page .sc-form-field input::placeholder,
.somniva-contact-page .sc-form-field textarea::placeholder {
    color: var(--somniva-muted);
    opacity: 0.75;
}

.somniva-contact-page .sc-form-field input:focus,
.somniva-contact-page .sc-form-field textarea:focus,
.somniva-contact-page .sc-form-field select:focus {
    border-bottom-color: var(--somniva-purple);
}


/* VALID */

.somniva-contact-page .sc-form-field.sc-valid input,
.somniva-contact-page .sc-form-field.sc-valid textarea,
.somniva-contact-page .sc-form-field.sc-valid select {
    border-bottom-color: #2e8b57;
}


/* ERROR */

.somniva-contact-page .sc-form-field.sc-error input,
.somniva-contact-page .sc-form-field.sc-error textarea,
.somniva-contact-page .sc-form-field.sc-error select {
    border-bottom-color: #d52f45 !important;
}

.somniva-contact-page .sc-field-error {
    display: none;

    margin-top: 6px;

    color: #d52f45;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.somniva-contact-page .sc-form-field.sc-error .sc-field-error {
    display: block;
}


/* SUBMIT */

.somniva-contact-page .sc-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;

    margin-top: 5px;
    padding: 0 25px;

    color: #ffffff;
    background: var(--somniva-purple);

    border-radius: 12px;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.somniva-contact-page .sc-form-submit:hover {
    transform: translateY(-3px);

    background: var(--somniva-purple-dark);

    box-shadow:
        0 15px 30px rgba(69, 32, 95, 0.20);
}

.somniva-contact-page .sc-form-status {
    min-height: 22px;

    margin: 15px 0 0;

    font-size: 14px;
    font-weight: 700;
}

.somniva-contact-page .sc-form-status.sc-success {
    color: #287a4a;
}

.somniva-contact-page .sc-form-status.sc-error-status {
    color: #d52f45;
}


/* =========================================================
   SECTION 03 — CONTACT INFORMATION
========================================================= */

.somniva-contact-page .sc-contact-info-section {
    background: var(--somniva-cream);
}

.somniva-contact-page .sc-contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--somniva-border);
}

.somniva-contact-page .sc-contact-detail {
    position: relative;

    min-height: 260px;

    padding: 45px 35px 35px;

    border-right: 1px solid var(--somniva-border);
}

.somniva-contact-page .sc-contact-detail:last-child {
    border-right: 0;
}

.somniva-contact-page .sc-detail-number {
    position: absolute;

    top: 25px;
    right: 30px;

    color: var(--somniva-purple-light);

    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.somniva-contact-page .sc-contact-detail > i {
    display: block;

    margin-bottom: 30px;

    color: var(--somniva-purple);

    font-size: 27px;
}

.somniva-contact-page .sc-contact-detail div > span {
    display: block;

    margin-bottom: 9px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-contact-page .sc-contact-detail h3 {
    margin: 0 0 8px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.somniva-contact-page .sc-contact-detail p {
    margin: 0;

    font-size: 14px;
}


/* =========================================================
   SECTION 04 — MAP
========================================================= */

.somniva-contact-page .sc-map-section {
    background: var(--somniva-cream-light);
}

.somniva-contact-page .sc-map-heading {
    margin-bottom: 55px;
}

.somniva-contact-page .sc-map-layout {
    display: grid;

    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);

    min-height: 500px;

    border-top: 1px solid var(--somniva-border);
    border-bottom: 1px solid var(--somniva-border);
}

.somniva-contact-page .sc-map-frame {
    min-height: 500px;

    overflow: hidden;

    border-right: 1px solid var(--somniva-border);
}

.somniva-contact-page .sc-map-frame iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 500px;

    border: 0;

    filter: grayscale(0.15) saturate(0.75);
}

.somniva-contact-page .sc-map-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 60px 50px;
}

.somniva-contact-page .sc-map-copy > span {
    margin-bottom: 14px;

    color: var(--somniva-purple);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-contact-page .sc-map-copy h3 {
    margin: 0 0 20px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.12;
}

.somniva-contact-page .sc-map-copy p {
    margin: 0 0 30px;

    font-size: 16px;
}

.somniva-contact-page .sc-line-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 24px;

    color: #ffffff;
    background: linear-gradient(135deg, #713b94, #4d206b);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(86, 42, 117, 0.25);

    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.somniva-contact-page .sc-line-link i {
    transition: transform 0.25s ease;
}

.somniva-contact-page .sc-line-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   SECTION 05 — MESSAGE
========================================================= */

.somniva-contact-page .sc-message-section {
    background: var(--somniva-cream);
}

.somniva-contact-page .sc-message-layout {
    display: grid;

    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

    gap: 100px;

    align-items: start;
}

.somniva-contact-page .sc-message-intro {
    padding-top: 25px;
}

.somniva-contact-page .sc-message-intro h2 {
    margin: 0 0 22px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 4.5vw, 64px);
    line-height: 1.03;
}

.somniva-contact-page .sc-message-intro p {
    max-width: 450px;
    margin: 0;

    font-size: 17px;
}

.somniva-contact-page .sc-message-decoration {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 45px;
}

.somniva-contact-page .sc-message-decoration span {
    display: block;

    width: 38px;
    height: 2px;

    background: var(--somniva-purple-light);

    animation: scContactLineFloat 2.8s ease-in-out infinite;
}

.somniva-contact-page .sc-message-decoration span:nth-child(2) {
    width: 70px;
    animation-delay: 0.25s;
}

.somniva-contact-page .sc-message-decoration span:nth-child(3) {
    width: 25px;
    animation-delay: 0.5s;
}

.somniva-contact-page .sc-message-form-wrap {
    padding-top: 10px;
}


/* =========================================================
   SECTION 06 — PATHWAYS
========================================================= */

.somniva-contact-page .sc-pathways-section {
    background: var(--somniva-cream-light);
}

.somniva-contact-page .sc-pathways {
    border-top: 1px solid var(--somniva-border);
}

.somniva-contact-page .sc-pathway {
    position: relative;

    display: grid;

    grid-template-columns: 70px 1fr 40px;

    align-items: center;

    gap: 25px;

    min-height: 125px;

    padding: 20px 10px;

    color: inherit;

    border-bottom: 1px solid var(--somniva-border);

    transition:
        padding-left 0.35s ease,
        padding-right 0.35s ease;
}

.somniva-contact-page .sc-pathway:hover {
    padding-left: 25px;
    padding-right: 25px;
}

.somniva-contact-page .sc-pathway > span {
    color: var(--somniva-purple-light);

    font-family: "Playfair Display", serif;
    font-size: 25px;
}

.somniva-contact-page .sc-pathway small {
    display: block;

    margin-bottom: 5px;

    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-contact-page .sc-pathway h3 {
    margin: 0;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: 28px;
}

.somniva-contact-page .sc-pathway > i {
    color: var(--somniva-purple);

    font-size: 20px;

    transition: transform 0.3s ease;
}

.somniva-contact-page .sc-pathway:hover > i {
    transform: translate(4px, -4px);
}


/* =========================================================
   SECTION 07 — FINAL CTA
========================================================= */

.somniva-contact-page .sc-final-section {
    position: relative;

    min-height: 510px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 25px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple-dark),
            var(--somniva-purple)
        );

    text-align: center;
}

.somniva-contact-page .sc-final-glow {
    position: absolute;

    width: 550px;
    height: 550px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;

    box-shadow:
        0 0 100px rgba(255, 255, 255, 0.05);

    animation: scContactGlow 6s ease-in-out infinite;
}

.somniva-contact-page .sc-final-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
}

.somniva-contact-page .sc-final-content > span {
    display: block;

    margin-bottom: 15px;

    color: #e9dac1;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.somniva-contact-page .sc-final-content h2 {
    margin: 0 0 20px;

    color: #ffffff;

    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.02;
}

.somniva-contact-page .sc-final-content p {
    max-width: 600px;
    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 17px;
}

.somniva-contact-page .sc-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;
}

.somniva-contact-page .sc-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;

    padding: 0 23px;

    color: var(--somniva-purple-dark);
    background: #ffffff;

    border: 1px solid #ffffff;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.somniva-contact-page .sc-final-button:hover {
    transform: translateY(-3px);
}

.somniva-contact-page .sc-final-button-outline {
    color: #ffffff;
    background: transparent;
}

.somniva-contact-page .sc-final-button-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes scContactBannerOrbit {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

}

@keyframes scContactLineFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

}

@keyframes scContactGlow {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(1);
        opacity: 0.7;
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.05);
        opacity: 1;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-contact-page .sc-container {
        width: min(100% - 42px, 760px);
    }

    .somniva-contact-page .sc-section {
        padding: 85px 0;
    }

    .somniva-contact-page .sc-visit-section .sc-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .somniva-contact-page .sc-visit-intro {
        padding-top: 0;
    }

    .somniva-contact-page .sc-contact-details {
        grid-template-columns: 1fr;
    }

    .somniva-contact-page .sc-contact-detail {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--somniva-border);
    }

    .somniva-contact-page .sc-contact-detail:last-child {
        border-bottom: 0;
    }

    .somniva-contact-page .sc-map-layout {
        grid-template-columns: 1fr;
    }

    .somniva-contact-page .sc-map-frame {
        border-right: 0;
        border-bottom: 1px solid var(--somniva-border);
    }

    .somniva-contact-page .sc-message-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .somniva-contact-page .sc-container {
        width: calc(100% - 32px);
    }

    .somniva-contact-page .sc-section {
        padding: 70px 0;
    }

    .somniva-contact-page .sc-contact-banner,
    .somniva-contact-page .sc-contact-banner-content {
        min-height: 360px;
        height: 360px;
    }

    .somniva-contact-page .sc-contact-banner-content {
        width: calc(100% - 32px);
    }

    .somniva-contact-page .sc-contact-banner-content h1 {
        font-size: 43px;
    }

    .somniva-contact-page .sc-contact-banner-content p {
        font-size: 15px;
    }

    .somniva-contact-page .sc-visit-form-wrap {
        padding: 30px 24px;
        border-radius: 25px;
    }

    .somniva-contact-page .sc-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .somniva-contact-page .sc-map-frame,
    .somniva-contact-page .sc-map-frame iframe {
        min-height: 390px;
    }

    .somniva-contact-page .sc-map-copy {
        padding: 45px 25px;
    }

    .somniva-contact-page .sc-pathway {
        grid-template-columns: 48px 1fr 30px;
        gap: 12px;
    }

    .somniva-contact-page .sc-pathway h3 {
        font-size: 23px;
    }

    .somniva-contact-page .sc-final-section {
        min-height: 470px;
        padding: 80px 20px;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 480px) {

    .somniva-contact-page .sc-section {
        padding: 60px 0;
    }

    .somniva-contact-page .sc-contact-banner-content h1 {
        font-size: 37px;
    }

    .somniva-contact-page .sc-contact-banner-content span {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .somniva-contact-page .sc-visit-intro h2,
    .somniva-contact-page .sc-message-intro h2 {
        font-size: 39px;
    }

    .somniva-contact-page .sc-section-heading h2,
    .somniva-contact-page .sc-map-heading h2 {
        font-size: 39px;
    }

    .somniva-contact-page .sc-form-heading h3 {
        font-size: 28px;
    }

    .somniva-contact-page .sc-contact-detail {
        padding: 38px 20px 32px;
    }

    .somniva-contact-page .sc-contact-detail h3 {
        font-size: 21px;
        word-break: break-word;
    }

    .somniva-contact-page .sc-pathway {
        grid-template-columns: 38px 1fr 20px;
    }

    .somniva-contact-page .sc-pathway > span {
        font-size: 20px;
    }

    .somniva-contact-page .sc-pathway h3 {
        font-size: 20px;
    }

    .somniva-contact-page .sc-final-content h2 {
        font-size: 43px;
    }

    .somniva-contact-page .sc-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .somniva-contact-page .sc-final-button {
        width: 100%;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .somniva-contact-page .sc-container {
        width: calc(100% - 24px);
    }

    .somniva-contact-page .sc-contact-banner-content h1 {
        font-size: 34px;
    }

    .somniva-contact-page .sc-visit-form-wrap {
        padding: 28px 18px;
    }

    .somniva-contact-page .sc-form-field input,
    .somniva-contact-page .sc-form-field textarea,
    .somniva-contact-page .sc-form-field select {
        font-size: 15px;
    }

}

/* =========================================================
   SOMNIVA HOME DELIVERY
   PAGE-SCOPED STYLES ONLY
========================================================= */

.somniva-home-delivery-page {

    --shd-purple:
        var(--somniva-purple);

    --shd-purple-dark:
        var(--somniva-purple-dark);

    --shd-purple-light:
        var(--somniva-purple-light);

    --shd-cream:
        var(--somniva-cream);

    --shd-soft:
        var(--somniva-cream-light);

    --shd-text:
        var(--somniva-text);

    --shd-muted:
        var(--somniva-muted);

    --shd-border:
        var(--somniva-border);

    --shd-gold:
        var(--somniva-gold);

    background:
        var(--shd-cream);

}


/* =========================================================
   CONTAINER
========================================================= */

.somniva-home-delivery-page .shd-container {

    width:
        min(1240px, calc(100% - 80px));

    margin-inline:
        auto;

}


/* =========================================================
   HERO
========================================================= */

.somniva-home-delivery-page .shd-hero {

    position:
        relative;

    height:
        360px;

    min-height:
        360px;

    overflow:
        hidden;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    isolation:
        isolate;

}


.somniva-home-delivery-page .shd-hero-image {

    position:
        absolute;

    inset:
        0;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    z-index:
        -3;

    animation:
        shdHeroImageFocus 1.8s
        cubic-bezier(.2,.8,.2,1)
        both;

}


.somniva-home-delivery-page .shd-hero-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            120deg,
            rgba(45,20,65,.94),
            rgba(69,32,95,.82),
            rgba(101,53,138,.66)
        );

    z-index:
        -2;

}


.somniva-home-delivery-page .shd-hero-pattern {

    position:
        absolute;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius:
        50%;

    pointer-events:
        none;

}


.somniva-home-delivery-page .shd-pattern-one {

    width:
        520px;

    height:
        520px;

    right:
        -180px;

    top:
        -260px;

    animation:
        shdAmbientOrbit 14s
        linear
        infinite;

}


.somniva-home-delivery-page .shd-pattern-two {

    width:
        300px;

    height:
        300px;

    left:
        -150px;

    bottom:
        -190px;

    animation:
        shdAmbientOrbitReverse 18s
        linear
        infinite;

}


.somniva-home-delivery-page .shd-hero-content {

    width:
        min(850px, calc(100% - 40px));

    text-align:
        center;

    color:
        #ffffff;

    animation:
        shdCurtainReveal 1.15s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-eyebrow,
.somniva-home-delivery-page .shd-section-label {

    display:
        block;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        2px;

    line-height:
        1.3;

}


.somniva-home-delivery-page .shd-eyebrow {

    color:
        #eadfcf;

    margin-bottom:
        15px;

}


.somniva-home-delivery-page .shd-hero h1 {

    margin:
        0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(42px, 5.2vw, 76px);

    font-weight:
        700;

    line-height:
        .98;

    letter-spacing:
        -2px;

}


.somniva-home-delivery-page .shd-hero h1 span {

    display:
        block;

    color:
        #d8bcea;

}


.somniva-home-delivery-page .shd-hero p {

    width:
        min(670px, 100%);

    margin:
        18px auto 24px;

    font-size:
        17px;

    font-weight:
        500;

    line-height:
        1.65;

    color:
        rgba(255,255,255,.84);

}


/* =========================================================
   BUTTONS
========================================================= */

.somniva-home-delivery-page .shd-primary-button,
.somniva-home-delivery-page .shd-secondary-button,
.somniva-home-delivery-page .shd-location-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    min-height:
        52px;

    padding:
        13px 23px;

    border:
        0;

    text-decoration:
        none;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        15px;

    font-weight:
        800;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease,
        color .35s ease;

}


.somniva-home-delivery-page .shd-primary-button {

    color:
        #ffffff;

    background:
        var(--shd-purple);

    box-shadow:
        0 14px 35px
        rgba(101,53,138,.22);

}


.somniva-home-delivery-page .shd-primary-button:hover {

    color:
        #ffffff;

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 45px
        rgba(101,53,138,.32);

}


.somniva-home-delivery-page .shd-secondary-button {

    color:
        var(--shd-purple-dark);

    border:
        1px solid
        rgba(101,53,138,.25);

    background:
        transparent;

}


.somniva-home-delivery-page .shd-secondary-button:hover {

    transform:
        translateY(-3px);

    background:
        var(--shd-purple);

    color:
        #ffffff;

}


/* =========================================================
   GENERIC SECTION
========================================================= */

.somniva-home-delivery-page .shd-section {

    position:
        relative;

    overflow:
        hidden;

}


.somniva-home-delivery-page .shd-section-label {

    color:
        var(--shd-purple);

    margin-bottom:
        18px;

}


/* =========================================================
   SECTION 02
========================================================= */

.somniva-home-delivery-page .shd-promise {

    padding:
        125px 0;

}


.somniva-home-delivery-page .shd-promise-grid {

    display:
        grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap:
        100px;

    align-items:
        start;

}


.somniva-home-delivery-page .shd-promise-heading {

    position:
        sticky;

    top:
        120px;

}


.somniva-home-delivery-page .shd-promise-heading h2,
.somniva-home-delivery-page .shd-flash-heading h2,
.somniva-home-delivery-page .shd-form-intro h2,
.somniva-home-delivery-page .shd-journey-heading h2,
.somniva-home-delivery-page .shd-faq-heading h2 {

    margin:
        0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(42px, 5vw, 68px);

    font-weight:
        700;

    line-height:
        1.04;

    letter-spacing:
        -1.5px;

    color:
        var(--shd-text);

}


.somniva-home-delivery-page .shd-promise-heading h2 em,
.somniva-home-delivery-page .shd-form-intro h2 em,
.somniva-home-delivery-page .shd-faq-heading h2 em {

    color:
        var(--shd-purple-light);

    font-style:
        normal;

}


.somniva-home-delivery-page .shd-promise-heading p,
.somniva-home-delivery-page .shd-form-intro p,
.somniva-home-delivery-page .shd-faq-heading p {

    max-width:
        510px;

    margin:
        25px 0 0;

    color:
        var(--shd-muted);

    font-size:
        17px;

}


.somniva-home-delivery-page .shd-promise-route {

    position:
        relative;

    padding:
        15px 0;

}


.somniva-home-delivery-page .shd-promise-line {

    position:
        absolute;

    top:
        0;

    bottom:
        0;

    left:
        20px;

    width:
        1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(101,53,138,.35),
            transparent
        );

    transform-origin:
        top;

    animation:
        shdLineGrow 1.5s ease both;

}


.somniva-home-delivery-page .shd-promise-point {

    position:
        relative;

    display:
        grid;

    grid-template-columns:
        42px 1fr;

    gap:
        25px;

    margin-bottom:
        72px;

}


.somniva-home-delivery-page .shd-promise-point:last-child {

    margin-bottom:
        0;

}


.somniva-home-delivery-page .shd-promise-number {

    position:
        relative;

    z-index:
        2;

    width:
        42px;

    height:
        42px;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid
        rgba(101,53,138,.4);

    border-radius:
        50%;

    background:
        var(--shd-cream);

    color:
        var(--shd-purple);

    font-size:
        13px;

    font-weight:
        800;

}


.somniva-home-delivery-page .shd-promise-point small {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--shd-purple);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

}


.somniva-home-delivery-page .shd-promise-point h3 {

    margin:
        0 0 7px;

    color:
        var(--shd-text);

    font-size:
        25px;

    font-weight:
        800;

}


.somniva-home-delivery-page .shd-promise-point p {

    max-width:
        520px;

    margin:
        0;

    color:
        var(--shd-muted);

    font-size:
        16px;

}


/* =========================================================
   SECTION 03 — FLASH
========================================================= */

.somniva-home-delivery-page .shd-flash {

    padding:
        120px 0 140px;

    background:
        var(--somniva-cream-soft);

}


.somniva-home-delivery-page .shd-flash-heading {

    margin-bottom:
        65px;

    text-align:
        center;

}


.somniva-home-delivery-page .shd-flash-heading h2 span,
.somniva-home-delivery-page .shd-journey-heading h2 span {

    display:
        block;

    color:
        var(--shd-purple-light);

}


.somniva-home-delivery-page .shd-flash-stage {

    position:
        relative;

    min-height:
        650px;

    display:
        grid;

    grid-template-columns:
        1fr 1.15fr 1fr;

    align-items:
        center;

    gap:
        28px;

}


.somniva-home-delivery-page .shd-flash-image {

    position:
        relative;

    overflow:
        hidden;

    height:
        570px;

    box-shadow:
        0 28px 70px
        rgba(54,34,65,.14);

}


.somniva-home-delivery-page .shd-flash-image-one {

    transform:
        translateY(35px)
        rotate(-2deg);

}


.somniva-home-delivery-page .shd-flash-image-two {

    transform:
        translateY(-35px)
        rotate(2deg);

}


.somniva-home-delivery-page .shd-flash-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    display:
        block;

    transition:
        transform 1s
        cubic-bezier(.2,.8,.2,1);

}


.somniva-home-delivery-page .shd-flash-image:hover img {

    transform:
        scale(1.055);

}


.somniva-home-delivery-page .shd-image-caption {

    position:
        absolute;

    left:
        22px;

    right:
        22px;

    bottom:
        22px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    color:
        #ffffff;

    text-shadow:
        0 2px 15px rgba(0,0,0,.35);

}


.somniva-home-delivery-page .shd-image-caption span {

    font-size:
        12px;

    font-weight:
        800;

}


.somniva-home-delivery-page .shd-image-caption strong {

    font-size:
        12px;

    letter-spacing:
        1.5px;

}


.somniva-home-delivery-page .shd-flash-center {

    position:
        relative;

    z-index:
        3;

    padding:
        55px 25px;

    text-align:
        center;

}


.somniva-home-delivery-page .shd-flash-center::before {

    content:
        "";

    position:
        absolute;

    width:
        390px;

    height:
        390px;

    left:
        50%;

    top:
        50%;

    transform:
        translate(-50%, -50%);

    border-radius:
        50%;

    background:
        rgba(101,53,138,.10);

    filter:
        blur(3px);

    z-index:
        -1;

    animation:
        shdFlashBreathing 4s
        ease-in-out
        infinite;

}


.somniva-home-delivery-page .shd-flash-label {

    display:
        block;

    margin-bottom:
        18px;

    color:
        var(--shd-purple);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        2px;

}


.somniva-home-delivery-page .shd-countdown {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

}


.somniva-home-delivery-page .shd-countdown div {

    display:
        flex;

    flex-direction:
        column;

    min-width:
        70px;

}


.somniva-home-delivery-page .shd-countdown strong {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(30px, 4vw, 52px);

    line-height:
        1;

    color:
        var(--shd-text);

}


.somniva-home-delivery-page .shd-countdown span {

    margin-top:
        8px;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        1px;

    color:
        var(--shd-muted);

}


.somniva-home-delivery-page .shd-countdown i {

    color:
        var(--shd-purple-light);

    font-style:
        normal;

    font-size:
        24px;

}


.somniva-home-delivery-page .shd-flash-center p {

    margin:
        24px 0 0;

    color:
        var(--shd-muted);

    font-size:
        15px;

}


/* =========================================================
   SECTION 04 — FORM
========================================================= */

.somniva-home-delivery-page .shd-form-section {

    padding:
        125px 0;

}


.somniva-home-delivery-page .shd-form-intro {

    max-width:
        700px;

    margin-bottom:
        55px;

}


.somniva-home-delivery-page .shd-delivery-form {

    position:
        relative;

    padding:
        50px;

    border:
        1px solid
        var(--shd-border);

    background:
        var(--shd-soft);

    box-shadow:
        var(--somniva-shadow);

}


.somniva-home-delivery-page .shd-form-progress {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    margin-bottom:
        42px;

}


.somniva-home-delivery-page .shd-form-progress span {

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

    color:
        var(--shd-muted);

}


.somniva-home-delivery-page .shd-form-progress .shd-progress-active {

    color:
        var(--shd-purple);

}


.somniva-home-delivery-page .shd-form-progress i {

    width:
        38px;

    height:
        1px;

    background:
        rgba(101,53,138,.25);

}


.somniva-home-delivery-page .shd-form-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap:
        27px 30px;

}


.somniva-home-delivery-page .shd-field {

    position:
        relative;

}


.somniva-home-delivery-page .shd-field-wide {

    grid-column:
        1 / -1;

}


.somniva-home-delivery-page .shd-field label {

    display:
        block;

    margin-bottom:
        9px;

    color:
        var(--shd-text);

    font-size:
        15px;

    font-weight:
        800;

}


.somniva-home-delivery-page .shd-field label b {

    color:
        #d9364f;

}


.somniva-home-delivery-page .shd-field input,
.somniva-home-delivery-page .shd-field select,
.somniva-home-delivery-page .shd-field textarea {

    width:
        100%;

    min-height:
        54px;

    padding:
        13px 16px;

    border:
        1px solid
        rgba(48,32,57,.16);

    outline:
        none;

    background:
        transparent;

    color:
        var(--shd-text);

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        16px;

    font-weight:
        600;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

}


.somniva-home-delivery-page .shd-field textarea {

    resize:
        vertical;

    min-height:
        120px;

}


.somniva-home-delivery-page .shd-field input:focus,
.somniva-home-delivery-page .shd-field select:focus,
.somniva-home-delivery-page .shd-field textarea:focus {

    border-color:
        var(--shd-purple);

    box-shadow:
        0 8px 25px
        rgba(101,53,138,.08);

    transform:
        translateY(-1px);

}


.somniva-home-delivery-page .shd-field.has-error input,
.somniva-home-delivery-page .shd-field.has-error select,
.somniva-home-delivery-page .shd-field.has-error textarea {

    border-color:
        #d9364f;

    box-shadow:
        0 0 0 3px
        rgba(217,54,79,.08);

}


.somniva-home-delivery-page .shd-error {

    display:
        none;

    margin-top:
        6px;

    color:
        #d9364f;

    font-size:
        12px;

    font-weight:
        700;

}


.somniva-home-delivery-page .shd-field.has-error .shd-error {

    display:
        block;

    animation:
        shdErrorShake .3s ease both;

}


.somniva-home-delivery-page .shd-location-row {

    display:
        flex;

    align-items:
        center;

    gap:
        18px;

    margin-top:
        32px;

}


.somniva-home-delivery-page .shd-location-button {

    background:
        transparent;

    color:
        var(--shd-purple);

    border:
        1px solid
        rgba(101,53,138,.3);

}


.somniva-home-delivery-page .shd-location-button:hover {

    background:
        var(--shd-purple);

    color:
        #ffffff;

    transform:
        translateY(-2px);

}


.somniva-home-delivery-page #shdLocationStatus {

    color:
        var(--shd-muted);

    font-size:
        13px;

}


.somniva-home-delivery-page .shd-form-submit {

    display:
        flex;

    align-items:
        center;

    gap:
        20px;

    margin-top:
        35px;

}


.somniva-home-delivery-page #shdFormStatus {

    color:
        #27805b;

    font-size:
        14px;

    font-weight:
        700;

}


/* =========================================================
   SECTION 05 — JOURNEY
========================================================= */

.somniva-home-delivery-page .shd-journey {

    padding:
        130px 0;

    background:
        var(--shd-soft);

}


.somniva-home-delivery-page .shd-journey-heading {

    text-align:
        center;

    margin-bottom:
        75px;

}


.somniva-home-delivery-page .shd-journey-path {

    position:
        relative;

    width:
        min(1000px, 100%);

    min-height:
        900px;

    margin:
        auto;

}


.somniva-home-delivery-page .shd-journey-svg {

    position:
        absolute;

    inset:
        0;

    width:
        100%;

    height:
        100%;

    pointer-events:
        none;

}


.somniva-home-delivery-page .shd-journey-track {

    fill:
        none;

    stroke:
        var(--shd-purple-light);

    stroke-width:
        1.3;

    stroke-dasharray:
        8 7;

    opacity:
        .75;

}


.somniva-home-delivery-page .shd-journey-step {

    position:
        absolute;

    display:
        grid;

    grid-template-columns:
        60px minmax(180px, 330px);

    align-items:
        start;

    gap:
        20px;

    width:
        46%;

}


.somniva-home-delivery-page .shd-journey-step:nth-of-type(even) {

    direction:
        rtl;

}


.somniva-home-delivery-page .shd-journey-step-one {

    top:
        20px;

    left:
        0;

}


.somniva-home-delivery-page .shd-journey-step-two {

    top:
        235px;

    right:
        0;

}


.somniva-home-delivery-page .shd-journey-step-three {

    top:
        475px;

    left:
        0;

}


.somniva-home-delivery-page .shd-journey-step-four {

    top:
        710px;

    right:
        0;

}


.somniva-home-delivery-page .shd-journey-dot {

    position:
        relative;

    z-index:
        3;

    width:
        58px;

    height:
        58px;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid
        var(--shd-purple-light);

    border-radius:
        50%;

    background:
        var(--shd-soft);

    color:
        var(--shd-purple);

    font-size:
        13px;

    font-weight:
        800;

    box-shadow:
        0 0 0 8px
        rgba(101,53,138,.05);

}


.somniva-home-delivery-page .shd-journey-step small {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--shd-purple);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

}


.somniva-home-delivery-page .shd-journey-step h3 {

    margin:
        0 0 7px;

    color:
        var(--shd-text);

    font-size:
        23px;

    font-weight:
        800;

}


.somniva-home-delivery-page .shd-journey-step p {

    margin:
        0;

    color:
        var(--shd-muted);

    font-size:
        15px;

    line-height:
        1.65;

}


/* =========================================================
   SECTION 06 — BENEFITS (REDESIGNED)
========================================================= */

.somniva-home-delivery-page .shd-benefits {

    position:
        relative;

    padding:
        130px 0;

    overflow:
        hidden;

}


.somniva-home-delivery-page .shd-benefits-glow {

    position:
        absolute;

    top:
        50%;

    left:
        50%;

    width:
        min(900px, 90%);

    height:
        min(900px, 90%);

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(101,53,138,.10) 0%,
            rgba(101,53,138,0) 70%
        );

    pointer-events:
        none;

    z-index:
        0;

}


.somniva-home-delivery-page .shd-benefits .shd-container {

    position:
        relative;

    z-index:
        1;

}


.somniva-home-delivery-page .shd-benefits-heading {

    max-width:
        640px;

    margin:
        0 auto 70px;

    text-align:
        center;

}


.somniva-home-delivery-page .shd-benefits-heading .shd-section-label {

    display:
        inline-block;

    margin-bottom:
        14px;

}


.somniva-home-delivery-page .shd-benefits-heading h2 {

    margin:
        0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(45px, 6vw, 80px);

    line-height:
        .98;

    color:
        var(--shd-text);

}


.somniva-home-delivery-page .shd-benefits-heading h2 em {

    color:
        var(--shd-purple-light);

    font-style:
        normal;

}


.somniva-home-delivery-page .shd-benefits-heading p {

    margin:
        22px 0 0;

    color:
        var(--shd-muted);

    font-size:
        16px;

    line-height:
        1.65;

}


.somniva-home-delivery-page .shd-benefits-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        28px;

}


.somniva-home-delivery-page .shd-benefit-card {

    position:
        relative;

    padding:
        38px 30px 34px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        6px;

    background:
        var(--shd-cream);

    border:
        1px solid
        var(--shd-border);

    border-radius:
        22px;

    overflow:
        hidden;

    transition:
        transform .5s
        cubic-bezier(.16,1,.3,1),
        box-shadow .5s
        cubic-bezier(.16,1,.3,1),
        border-color .5s ease;

}


.somniva-home-delivery-page .shd-benefit-card::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        0%;

    height:
        3px;

    background:
        linear-gradient(
            90deg,
            var(--shd-purple-light),
            var(--shd-purple)
        );

    transition:
        width .6s
        cubic-bezier(.16,1,.3,1);

}


.somniva-home-delivery-page .shd-benefit-card:hover {

    transform:
        translateY(-10px);

    border-color:
        var(--shd-purple-light);

    box-shadow:
        0 24px 48px
        rgba(101,53,138,.16);

}


.somniva-home-delivery-page .shd-benefit-card:hover::before {

    width:
        100%;

}


.somniva-home-delivery-page .shd-benefit-index {

    position:
        absolute;

    top:
        26px;

    right:
        30px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        15px;

    font-weight:
        700;

    color:
        var(--shd-border);

    transition:
        color .5s ease;

}


.somniva-home-delivery-page .shd-benefit-card:hover .shd-benefit-index {

    color:
        var(--shd-purple-light);

}


.somniva-home-delivery-page .shd-benefit-icon {

    position:
        relative;

    display:
        grid;

    place-items:
        center;

    width:
        58px;

    height:
        58px;

    margin-bottom:
        8px;

    border-radius:
        50%;

    border:
        1px solid
        var(--shd-purple-light);

    background:
        var(--shd-soft);

    color:
        var(--shd-purple);

    font-size:
        22px;

    transition:
        transform .5s
        cubic-bezier(.16,1,.3,1),
        background .5s ease,
        color .5s ease;

}


.somniva-home-delivery-page .shd-benefit-icon::after {

    content:
        "";

    position:
        absolute;

    inset:
        -8px;

    border-radius:
        50%;

    border:
        1px solid
        var(--shd-purple-light);

    opacity:
        0;

    transform:
        scale(.7);

    transition:
        opacity .5s ease,
        transform .5s ease;

}


.somniva-home-delivery-page .shd-benefit-card:hover .shd-benefit-icon {

    transform:
        scale(1.08)
        rotate(-6deg);

    background:
        var(--shd-purple);

    color:
        var(--shd-cream);

}


.somniva-home-delivery-page .shd-benefit-card:hover .shd-benefit-icon::after {

    opacity:
        1;

    transform:
        scale(1);

}


.somniva-home-delivery-page .shd-benefit-card h3 {

    margin:
        6px 0 0;

    color:
        var(--shd-text);

    font-size:
        19px;

    font-weight:
        800;

}


.somniva-home-delivery-page .shd-benefit-card p {

    margin:
        0;

    color:
        var(--shd-muted);

    font-size:
        14px;

    line-height:
        1.6;

}


/* =========================================================
   SECTION 07 — FAQ
========================================================= */

.somniva-home-delivery-page .shd-faq {

    padding:
        125px 0;

}


.somniva-home-delivery-page .shd-faq-grid {

    display:
        grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap:
        100px;

}


.somniva-home-delivery-page .shd-faq-heading {

    position:
        sticky;

    top:
        120px;

    height:
        fit-content;

}


.somniva-home-delivery-page .shd-faq-item {

    border-bottom:
        1px solid
        var(--shd-border);

}


.somniva-home-delivery-page .shd-faq-question {

    width:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    padding:
        25px 0;

    border:
        0;

    background:
        transparent;

    color:
        var(--shd-text);

    text-align:
        start;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        18px;

    font-weight:
        800;

    cursor:
        pointer;

}


.somniva-home-delivery-page .shd-faq-question i {

    flex:
        0 0 auto;

    color:
        var(--shd-purple);

    font-size:
        20px;

    transition:
        transform .35s ease;

}


.somniva-home-delivery-page .shd-faq-item.is-open
.shd-faq-question i {

    transform:
        rotate(45deg);

}


.somniva-home-delivery-page .shd-faq-answer {

    display:
        grid;

    grid-template-rows:
        0fr;

    transition:
        grid-template-rows .45s
        cubic-bezier(.2,.8,.2,1);

}


.somniva-home-delivery-page .shd-faq-answer p {

    min-height:
        0;

    overflow:
        hidden;

    margin:
        0;

    color:
        var(--shd-muted);

    font-size:
        15px;

    line-height:
        1.75;

}


.somniva-home-delivery-page .shd-faq-item.is-open
.shd-faq-answer {

    grid-template-rows:
        1fr;

}


.somniva-home-delivery-page .shd-faq-item.is-open
.shd-faq-answer p {

    padding:
        0 0 25px;

}


/* =========================================================
   SECTION 08 — FINAL
========================================================= */

.somniva-home-delivery-page .shd-final {

    min-height:
        470px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        90px 25px;

    background:
        linear-gradient(
            135deg,
            #eee0cb,
            #f8f1e4 55%,
            #e9d9c7
        );

    text-align:
        center;

}


.somniva-home-delivery-page .shd-final-content {

    position:
        relative;

    z-index:
        3;

}


.somniva-home-delivery-page .shd-final h2 {

    margin:
        0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(46px, 6vw, 82px);

    line-height:
        .98;

    color:
        #17121a;

}


.somniva-home-delivery-page .shd-final h2 em {

    display:
        block;

    color:
        var(--shd-purple);

    font-style:
        normal;

}


.somniva-home-delivery-page .shd-final p {

    margin:
        20px 0 30px;

    color:
        #665b6a;

    font-size:
        17px;

}


.somniva-home-delivery-page .shd-final-actions {

    display:
        flex;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        12px;

}


.somniva-home-delivery-page .shd-final-orbit {

    position:
        absolute;

    border:
        1px solid
        rgba(101,53,138,.16);

    border-radius:
        50%;

}


.somniva-home-delivery-page .shd-final-orbit-one {

    width:
        580px;

    height:
        580px;

    left:
        -300px;

    top:
        -170px;

    animation:
        shdOrbitFloat 12s
        ease-in-out
        infinite;

}


.somniva-home-delivery-page .shd-final-orbit-two {

    width:
        420px;

    height:
        420px;

    right:
        -180px;

    bottom:
        -160px;

    animation:
        shdOrbitFloatReverse 15s
        ease-in-out
        infinite;

}


/* =========================================================
   SCROLL REVEAL BASE
========================================================= */

.somniva-home-delivery-page .shd-reveal,
.somniva-home-delivery-page .shd-from-left,
.somniva-home-delivery-page .shd-from-right,
.somniva-home-delivery-page .shd-mask-reveal,
.somniva-home-delivery-page .shd-flip-reveal,
.somniva-home-delivery-page .shd-path-reveal,
.somniva-home-delivery-page .shd-collision {

    opacity:
        0;

    will-change:
        transform,
        opacity;

}


.somniva-home-delivery-page .shd-reveal.shd-visible {

    animation:
        shdRevealUp .85s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-from-left.shd-visible {

    animation:
        shdComeFromLeft .95s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-from-right.shd-visible {

    animation:
        shdComeFromRight .95s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-mask-reveal.shd-visible {

    animation:
        shdMaskWipe 1.15s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-flip-reveal.shd-visible {

    animation:
        shdFlipReveal 1.05s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-path-reveal.shd-visible {

    animation:
        shdPathReveal .9s
        cubic-bezier(.16,1,.3,1)
        both;

}


.somniva-home-delivery-page .shd-collision.shd-visible {

    animation:
        shdCollision .9s
        cubic-bezier(.16,1,.3,1)
        both;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes shdHeroImageFocus {

    from {
        transform: scale(1.09);
        filter: blur(5px);
    }

    to {
        transform: scale(1);
        filter: blur(0);
    }

}


@keyframes shdCurtainReveal {

    from {
        clip-path: inset(0 50% 0 50%);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

}


@keyframes shdAmbientOrbit {

    0%,100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(12deg) scale(1.04);
    }

}


@keyframes shdAmbientOrbitReverse {

    0%,100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-15deg);
    }

}


@keyframes shdLineGrow {

    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }

}


@keyframes shdFlashBreathing {

    0%,100% {
        transform:
            translate(-50%,-50%)
            scale(.96);
        opacity: .65;
    }

    50% {
        transform:
            translate(-50%,-50%)
            scale(1.06);
        opacity: 1;
    }

}


@keyframes shdRevealUp {

    from {
        opacity: 0;
        transform:
            translateY(45px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


@keyframes shdComeFromLeft {

    from {
        opacity: 0;
        transform:
            translateX(-80px);
    }

    to {
        opacity: 1;
        transform:
            translateX(0);
    }

}


@keyframes shdComeFromRight {

    from {
        opacity: 0;
        transform:
            translateX(80px);
    }

    to {
        opacity: 1;
        transform:
            translateX(0);
    }

}


@keyframes shdMaskWipe {

    from {
        opacity: 0;
        clip-path:
            inset(0 100% 0 0);
        transform:
            translateX(-25px);
    }

    to {
        opacity: 1;
        clip-path:
            inset(0 0 0 0);
        transform:
            translateX(0);
    }

}


@keyframes shdFlipReveal {

    from {
        opacity: 0;
        transform:
            perspective(900px)
            rotateY(-22deg)
            translateX(50px);
    }

    to {
        opacity: 1;
        transform:
            perspective(900px)
            rotateY(0)
            translateX(0);
    }

}


@keyframes shdPathReveal {

    from {
        opacity: 0;
        transform:
            translateY(45px)
            scale(.94);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes shdCollision {

    from {
        opacity: 0;
        transform:
            scale(.82)
            translateY(45px);
    }

    72% {
        opacity: 1;
        transform:
            scale(1.035)
            translateY(-5px);
    }

    to {
        opacity: 1;
        transform:
            scale(1)
            translateY(0);
    }

}


@keyframes shdErrorShake {

    0%,100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }

}


@keyframes shdOrbitFloat {

    0%,100% {
        transform:
            translate(0,0)
            rotate(0);
    }

    50% {
        transform:
            translate(25px,-15px)
            rotate(8deg);
    }

}


@keyframes shdOrbitFloatReverse {

    0%,100% {
        transform:
            translate(0,0)
            rotate(0);
    }

    50% {
        transform:
            translate(-25px,15px)
            rotate(-8deg);
    }

}


/* =========================================================
   RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .somniva-home-delivery-page .shd-container {

        width:
            min(1100px, calc(100% - 50px));

    }


    .somniva-home-delivery-page .shd-promise-grid,
    .somniva-home-delivery-page .shd-faq-grid {

        gap:
            60px;

    }


    .somniva-home-delivery-page .shd-flash-stage {

        gap:
            18px;

    }


    .somniva-home-delivery-page .shd-flash-image {

        height:
            500px;

    }


    .somniva-home-delivery-page .shd-benefits-grid {

        gap:
            20px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-home-delivery-page .shd-container {

        width:
            min(760px, calc(100% - 40px));

    }


    .somniva-home-delivery-page .shd-promise-grid,
    .somniva-home-delivery-page .shd-faq-grid {

        grid-template-columns:
            1fr;

    }


    .somniva-home-delivery-page .shd-promise-heading,
    .somniva-home-delivery-page .shd-faq-heading {

        position:
            static;

    }


    .somniva-home-delivery-page .shd-flash-stage {

        min-height:
            auto;

        grid-template-columns:
            1fr 1fr;

        align-items:
            start;

    }


    .somniva-home-delivery-page .shd-flash-center {

        grid-column:
            1 / -1;

        grid-row:
            2;

        padding:
            50px 10px;

    }


    .somniva-home-delivery-page .shd-flash-image {

        height:
            480px;

    }


    .somniva-home-delivery-page .shd-benefits {

        padding:
            100px 0;

    }


    .somniva-home-delivery-page .shd-benefits-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .somniva-home-delivery-page .shd-journey-step {

        width:
            43%;

    }

}


/* =========================================================
   MOBILE-L / MOBILE-M / MOBILE-S
========================================================= */

@media (max-width: 767px) {

    .somniva-home-delivery-page .shd-container {

        width:
            calc(100% - 32px);

    }


    .somniva-home-delivery-page .shd-hero {

        height:
            360px;

        min-height:
            360px;

    }


    .somniva-home-delivery-page .shd-hero h1 {

        font-size:
            clamp(38px, 12vw, 55px);

        letter-spacing:
            -1px;

    }


    .somniva-home-delivery-page .shd-hero p {

        font-size:
            15px;

        margin:
            15px auto 20px;

    }


    .somniva-home-delivery-page .shd-promise,
    .somniva-home-delivery-page .shd-flash,
    .somniva-home-delivery-page .shd-form-section,
    .somniva-home-delivery-page .shd-journey,
    .somniva-home-delivery-page .shd-faq {

        padding:
            80px 0;

    }


    .somniva-home-delivery-page .shd-promise-heading h2,
    .somniva-home-delivery-page .shd-flash-heading h2,
    .somniva-home-delivery-page .shd-form-intro h2,
    .somniva-home-delivery-page .shd-journey-heading h2,
    .somniva-home-delivery-page .shd-faq-heading h2 {

        font-size:
            clamp(39px, 11vw, 55px);

    }


    .somniva-home-delivery-page .shd-flash-stage {

        display:
            flex;

        flex-direction:
            column;

    }


    .somniva-home-delivery-page .shd-flash-image {

        width:
            82%;

        height:
            420px;

    }


    .somniva-home-delivery-page .shd-flash-image-one {

        align-self:
            flex-start;

        transform:
            rotate(-2deg);

    }


    .somniva-home-delivery-page .shd-flash-image-two {

        align-self:
            flex-end;

        transform:
            rotate(2deg);

    }


    .somniva-home-delivery-page .shd-flash-center {

        order:
            3;

        width:
            100%;

        padding:
            30px 0;

    }


    .somniva-home-delivery-page .shd-countdown {

        gap:
            5px;

    }


    .somniva-home-delivery-page .shd-countdown div {

        min-width:
            54px;

    }


    .somniva-home-delivery-page .shd-countdown strong {

        font-size:
            28px;

    }


    .somniva-home-delivery-page .shd-countdown span {

        font-size:
            7px;

    }


    .somniva-home-delivery-page .shd-delivery-form {

        padding:
            30px 20px;

    }


    .somniva-home-delivery-page .shd-form-grid {

        grid-template-columns:
            1fr;

    }


    .somniva-home-delivery-page .shd-field-wide {

        grid-column:
            auto;

    }


    .somniva-home-delivery-page .shd-form-progress {

        gap:
            7px;

    }


    .somniva-home-delivery-page .shd-form-progress span {

        font-size:
            8px;

    }


    .somniva-home-delivery-page .shd-form-progress i {

        width:
            18px;

    }


    .somniva-home-delivery-page .shd-location-row,
    .somniva-home-delivery-page .shd-form-submit {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .somniva-home-delivery-page .shd-journey-path {

        min-height:
            auto;

        padding-left:
            35px;

    }


    .somniva-home-delivery-page .shd-journey-svg {

        left:
            0;

        width:
            45px;

    }


    .somniva-home-delivery-page .shd-journey-step,
    .somniva-home-delivery-page .shd-journey-step:nth-of-type(even) {

        position:
            relative;

        inset:
            auto;

        width:
            100%;

        margin-bottom:
            65px;

        display:
            grid;

        grid-template-columns:
            55px 1fr;

        direction:
            ltr;

        gap:
            18px;

    }


    .somniva-home-delivery-page .shd-journey-step:last-child {

        margin-bottom:
            0;

    }


    .somniva-home-delivery-page .shd-journey-svg {

        display:
            none;

    }


    .somniva-home-delivery-page .shd-benefits {

        padding:
            90px 0;

    }


    .somniva-home-delivery-page .shd-benefits-heading {

        margin-bottom:
            40px;

    }


    .somniva-home-delivery-page .shd-benefits-grid {

        grid-template-columns:
            1fr;

        gap:
            18px;

    }


    .somniva-home-delivery-page .shd-benefit-card {

        padding:
            30px 24px 26px;

    }


    .somniva-home-delivery-page .shd-faq-grid {

        gap:
            45px;

    }


    .somniva-home-delivery-page .shd-final {

        min-height:
            430px;

        padding:
            75px 20px;

    }


    .somniva-home-delivery-page .shd-final h2 {

        font-size:
            clamp(43px, 12vw, 62px);

    }

}


@media (max-width: 420px) {

    .somniva-home-delivery-page .shd-container {

        width:
            calc(100% - 24px);

    }


    .somniva-home-delivery-page .shd-hero h1 {

        font-size:
            37px;

    }


    .somniva-home-delivery-page .shd-hero p {

        font-size:
            14px;

    }


    .somniva-home-delivery-page .shd-countdown div {

        min-width:
            48px;

    }


    .somniva-home-delivery-page .shd-countdown strong {

        font-size:
            24px;

    }


    .somniva-home-delivery-page .shd-delivery-form {

        padding:
            25px 16px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .somniva-home-delivery-page *,
    .somniva-home-delivery-page *::before,
    .somniva-home-delivery-page *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;

    }

}

/* =========================================================
   SOMNIVA — SECTION 05 / DELIVERY JOURNEY
   FINAL FIX
   Scoped ONLY to .shd-journey
   ========================================================= */

.shd-journey {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    direction: ltr;

    padding: 120px 0 140px;

    background: var(--somniva-cream);
    color: var(--somniva-text);
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.shd-journey .shd-container {
    position: relative;
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

.shd-journey-heading {
    position: relative;
    z-index: 10;

    max-width: 760px;
    margin: 0 auto 80px;

    text-align: center;
    direction: ltr;
}

.shd-journey .shd-section-label {
    display: block;

    margin-bottom: 18px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.shd-journey-heading h2 {
    margin: 0;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(46px, 5vw, 76px);
    font-weight: 600;
    line-height: 1.05;

    letter-spacing: -2px;
}

.shd-journey-heading h2 span {
    color: var(--somniva-purple-light);
}


/* =========================================================
   JOURNEY AREA
   ========================================================= */

.shd-journey-path {
    position: relative;

    width: 100%;
    min-height: 900px;

    direction: ltr;
}


/* =========================================================
   WAVE
   ========================================================= */

.shd-journey-svg {
    position: absolute;
    z-index: 1;

    top: 0;
    left: 0;

    width: 100%;
    height: 900px;

    pointer-events: none;
    overflow: visible;
}
.shd-journey-track {
    fill: none;

    stroke: var(--somniva-purple-light);

    stroke-width: 0.65;

    stroke-dasharray: 3 4;

    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.75;

    vector-effect: non-scaling-stroke;
}
/* =========================================================
   JOURNEY BOX
   ========================================================= */

.shd-journey-step {
    position: absolute;

    z-index: 10;

    display: flex;
    align-items: center;

    gap: 24px;

    width: 470px;
    min-height: 175px;

    padding: 30px 34px;

    background: var(--somniva-cream-light);

    border: 1px solid var(--somniva-border);
    border-radius: 34px;

    box-shadow:
        0 20px 45px rgba(54, 34, 65, 0.10),
        0 5px 15px rgba(54, 34, 65, 0.04);

    direction: ltr;

    isolation: isolate;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}


/* ---------------------------------------------------------
   BOX CONTENT
   --------------------------------------------------------- */

.shd-journey-step > div {
    position: relative;
    z-index: 12;

    min-width: 0;

    direction: ltr;

    text-align: left;
}


/* ---------------------------------------------------------
   NUMBER
   --------------------------------------------------------- */

.shd-journey-dot {
    position: relative;

    z-index: 13;

    flex: 0 0 66px;

    width: 66px;
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--somniva-purple-light);
    border-radius: 50%;

    background: var(--somniva-cream-light);

    color: var(--somniva-purple);

    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 600;

    line-height: 1;

    box-shadow:
        0 0 0 8px var(--somniva-cream);
}


/* ---------------------------------------------------------
   SMALL LABEL
   --------------------------------------------------------- */

.shd-journey-step small {
    display: block;

    margin-bottom: 7px;

    color: var(--somniva-purple);

    font-size: 11px;
    font-weight: 800;

    line-height: 1.4;
    letter-spacing: 1.7px;

    text-transform: uppercase;

    direction: ltr;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.shd-journey-step h3 {
    margin: 0 0 7px;

    color: var(--somniva-ink);

    font-family: "DM Sans", sans-serif;
    font-size: 22px;
    font-weight: 800;

    line-height: 1.3;
    letter-spacing: -0.25px;

    direction: ltr;
    text-align: left;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.shd-journey-step p {
    margin: 0;

    color: var(--somniva-muted);

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;

    line-height: 1.65;

    direction: ltr;
    text-align: left;
}


/* =========================================================
   DESKTOP POSITIONS
   ========================================================= */

.shd-journey-step-one {
    top: 0;
    left: 2%;
}

.shd-journey-step-two {
    top: 220px;
    right: 2%;
}

.shd-journey-step-three {
    top: 455px;
    left: 2%;
}

.shd-journey-step-four {
    top: 685px;
    right: 2%;
}


/* =========================================================
   HOVER
   ========================================================= */

.shd-journey-step:hover {
    transform: translateY(-7px);

    border-color: rgba(101, 53, 138, 0.25);

    box-shadow:
        0 28px 55px rgba(54, 34, 65, 0.14),
        0 8px 20px rgba(101, 53, 138, 0.08);
}


/* =========================================================
   REVEAL
   ========================================================= */

.shd-journey .shd-path-reveal {
    opacity: 0;

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.shd-journey .shd-path-reveal.shd-visible {
    opacity: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .shd-journey {
        padding: 90px 0 110px;
    }

    .shd-journey .shd-container {
        width: min(760px, calc(100% - 40px));
    }

    .shd-journey-heading {
        margin-bottom: 60px;
    }

    .shd-journey-heading h2 {
        font-size: clamp(42px, 7vw, 60px);
    }

    .shd-journey-path {
        min-height: 900px;
    }

    .shd-journey-svg {
        height: 920px;
        width: 100%;
        left: 0;
    }

    .shd-journey-step {
        width: 43%;
        min-height: 165px;

        padding: 25px;

        gap: 18px;
    }

    .shd-journey-step-one {
        left: 0;
    }

    .shd-journey-step-two {
        right: 0;
    }

    .shd-journey-step-three {
        left: 0;
    }

    .shd-journey-step-four {
        right: 0;
    }

    .shd-journey-dot {
        flex-basis: 58px;

        width: 58px;
        height: 58px;
    }

    .shd-journey-step h3 {
        font-size: 20px;
    }

    .shd-journey-step p {
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .shd-journey {
        padding: 75px 0 90px;
    }

    .shd-journey .shd-container {
        width: calc(100% - 32px);
    }

    .shd-journey-heading {
        margin-bottom: 45px;
    }

    .shd-journey-heading h2 {
        font-size: clamp(38px, 10vw, 50px);
        letter-spacing: -1px;
    }

    /*
       Desktop wave is intentionally removed on mobile.
       This prevents it from crossing the text.
    */

    .shd-journey-svg {
        display: none;
    }

    .shd-journey-path {
        min-height: auto;

        display: flex;
        flex-direction: column;

        gap: 24px;
    }


    /* Reset ALL desktop positioning */

    .shd-journey-step,
    .shd-journey-step-one,
    .shd-journey-step-two,
    .shd-journey-step-three,
    .shd-journey-step-four {

        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        min-height: 0;

        padding: 24px 21px;

        margin: 0;
    }


    .shd-journey-step > div {
        text-align: left;
    }

    .shd-journey-dot {
        flex: 0 0 56px;

        width: 56px;
        height: 56px;

        box-shadow:
            0 0 0 6px var(--somniva-cream);
    }

    .shd-journey-step h3 {
        font-size: 19px;
    }

    .shd-journey-step p {
        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 479px) {

    .shd-journey {
        padding: 65px 0 75px;
    }

    .shd-journey .shd-container {
        width: calc(100% - 24px);
    }

    .shd-journey-heading h2 {
        font-size: 36px;
    }

    .shd-journey-step {
        gap: 14px;

        padding: 21px 17px;

        border-radius: 26px;
    }

    .shd-journey-dot {
        flex-basis: 51px;

        width: 51px;
        height: 51px;

        font-size: 17px;
    }

    .shd-journey-step small {
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .shd-journey-step h3 {
        font-size: 18px;
    }

    .shd-journey-step p {
        font-size: 13px;
    }
}


/* =========================================================
   SOMNIVA HOME DELIVERY
   SECTION 05 + SECTION 06 FINAL FIX
   SCOPED ONLY TO THIS PAGE
========================================================= */


/* =========================================================
   SECTION 05 — JOURNEY
   ========================================================= */

.somniva-home-delivery-page .shd-journey-path {
    position: relative;

    width: min(1000px, 100%);
    min-height: 900px;

    margin-inline: auto;
}


/* SVG stays behind the journey cards */

.somniva-home-delivery-page .shd-journey-svg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    pointer-events: none;

    overflow: visible;
}


/* Wave */

.somniva-home-delivery-page .shd-journey-track {
    fill: none;

    stroke: var(--shd-purple-light);

    stroke-width: 1.3;

    stroke-dasharray: 8 7;

    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: .75;
}


/* Desktop path */

.somniva-home-delivery-page .shd-journey-track-tablet {
    display: none;
}


/* Cards always sit above the wave */

.somniva-home-delivery-page .shd-journey-step {
    z-index: 10;

    box-sizing: border-box;
}


/*
   These positions match the actual SVG coordinates:

   Card 01 center → 25.5% / 87.5
   Card 02 center → 74.5% / 307.5
   Card 03 center → 25.5% / 542.5
   Card 04 center → 74.5% / 772.5
*/

.somniva-home-delivery-page .shd-journey-step-one {
    top: 0;
    left: 2%;
}

.somniva-home-delivery-page .shd-journey-step-two {
    top: 220px;
    right: 2%;
}

.somniva-home-delivery-page .shd-journey-step-three {
    top: 455px;
    left: 2%;
}

.somniva-home-delivery-page .shd-journey-step-four {
    top: 685px;
    right: 2%;
}


/* =========================================================
   SECTION 06 — BENEFITS
   (handled in the main Section 06 block above)
   ========================================================= */


/* =========================================================
   TABLET
   768px — 991px
========================================================= */

@media (max-width: 991px) and (min-width: 768px) {

    /* -------------------------
       SECTION 05
    ------------------------- */

    .somniva-home-delivery-page .shd-journey-step {
        width: 43%;
        min-height: 165px;
    }


    .somniva-home-delivery-page .shd-journey-step-one {
        top: 0;
        left: 0;
    }

    .somniva-home-delivery-page .shd-journey-step-two {
        top: 220px;
        right: 0;
    }

    .somniva-home-delivery-page .shd-journey-step-three {
        top: 455px;
        left: 0;
    }

    .somniva-home-delivery-page .shd-journey-step-four {
        top: 685px;
        right: 0;
    }


    .somniva-home-delivery-page .shd-journey-track-desktop {
        display: none;
    }

    .somniva-home-delivery-page .shd-journey-track-tablet {
        display: block;
    }


    /* -------------------------
       SECTION 06
       (handled in main Section 06 block)
    ------------------------- */
}


/* =========================================================
   MOBILE
   <= 767px
========================================================= */

@media (max-width: 767px) {

    /* -------------------------
       SECTION 05
    ------------------------- */

    /*
       The desktop wave is removed because
       the cards become a normal vertical flow.
    */

    .somniva-home-delivery-page .shd-journey-svg {
        display: none;
    }


    .somniva-home-delivery-page .shd-journey-path {
        min-height: auto;

        display: flex;
        flex-direction: column;

        gap: 24px;
    }


    .somniva-home-delivery-page .shd-journey-step,
    .somniva-home-delivery-page .shd-journey-step-one,
    .somniva-home-delivery-page .shd-journey-step-two,
    .somniva-home-delivery-page .shd-journey-step-three,
    .somniva-home-delivery-page .shd-journey-step-four {

        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        min-height: 0;

        margin: 0;

        padding: 24px 21px;

        box-sizing: border-box;
    }


    /* -------------------------
       SECTION 06
       (handled in main Section 06 block)
    ------------------------- */
}


/* =========================================================
   SOMNIVA ABOUT US
   PAGE-SCOPED STYLES ONLY
========================================================= */


/* =========================================================
   ABOUT ROOT
========================================================= */

.somniva-about-page {

    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

}


.somniva-about-page .somniva-navbar,
.somniva-about-page .somniva-mobile-menu {

    width: 100vw;
    left: 0;
    right: auto;

}


html[dir="rtl"] .somniva-about-page .somniva-navbar,
body.somniva-rtl .somniva-about-page .somniva-navbar {

    width: 100%;
    transform: none;

}


/* =========================================================
   COMMON
========================================================= */

.somniva-about-page .sab-label,
.somniva-about-page .sab-eyebrow {

    display: block;

    color:
        var(--somniva-purple);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2.6px;

}


.somniva-about-page h1,
.somniva-about-page h2,
.somniva-about-page h3 {

    font-family:
        "Playfair Display",
        serif;

}


.somniva-about-page p {

    font-family:
        "DM Sans",
        sans-serif;

}


/* =========================================================
   01 — HERO
========================================================= */

.somniva-about-page .sab-hero {

    position: relative;

    height: 360px;
    min-height: 360px;

    width: 100%;

    overflow: hidden;

    isolation: isolate;

}


.somniva-about-page .sab-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: -3;

    transform:
        scale(1.06);

}


.somniva-about-page .sab-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(31, 12, 45, .94),
            rgba(69, 32, 95, .78),
            rgba(69, 32, 95, .38)
        );

}


.somniva-about-page .sab-hero-decoration {

    position: absolute;

    width: 500px;
    height: 500px;

    right: -190px;
    top: -210px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 50%;

    z-index: -1;

}


.somniva-about-page .sab-hero-decoration::after {

    content: "";

    position: absolute;

    inset: 45px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 50%;

}


.somniva-about-page .sab-hero-content {

    width:
        min(1180px, 100%);

    height: 100%;

    margin: auto;

    padding:
        35px
        45px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.somniva-about-page .sab-hero-content .sab-eyebrow {

    color:
        #ead7f3;

    margin-bottom: 10px;

}


.somniva-about-page .sab-hero-content h1 {

    max-width: 720px;

    margin: 0 0 14px;

    color: #ffffff;

    font-size:
        clamp(42px, 5.2vw, 70px);

    line-height: .98;

    font-weight: 700;

}


.somniva-about-page .sab-hero-content h1 span {

    display: block;

    color:
        #c999e6;

}


.somniva-about-page .sab-hero-content p {

    max-width: 590px;

    margin: 0 0 19px;

    color:
        rgba(255,255,255,.82);

    font-size: 16px;

    line-height: 1.65;

}


.somniva-about-page .sab-hero-link {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 12px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;

}


.somniva-about-page .sab-hero-link i {

    transition:
        transform .3s ease;

}


.somniva-about-page .sab-hero-link:hover i {

    transform:
        translateY(5px);

}


/* =========================================================
   02 — PURPOSE
========================================================= */

.somniva-about-page .sab-purpose {

    position: relative;

    min-height: 500px;

    padding:
        90px 5vw;

    background:
        var(--somniva-cream-light);

    overflow: hidden;

}


.somniva-about-page .sab-purpose-inner {

    position: relative;

    z-index: 3;

    width:
        min(1240px, 100%);

    min-height: 330px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr
        1.15fr
        1fr;

    align-items: center;

    gap: 45px;

}


.somniva-about-page .sab-purpose-copy {

    position: relative;

    z-index: 4;

}


.somniva-about-page .sab-purpose-copy h2 {

    margin: 9px 0 12px;

    color:
        var(--somniva-ink);

    font-size:
        clamp(40px, 4vw, 60px);

    line-height: 1;

}


.somniva-about-page .sab-purpose-copy p {

    max-width: 280px;

    margin: 0;

    color:
        var(--somniva-muted);

    font-size: 16px;

}


.somniva-about-page .sab-purpose-image {

    position: relative;

    height: 330px;

    overflow: hidden;

    border-radius:
        48% 52% 43% 57% /
        40% 45% 55% 60%;

    box-shadow:
        0 24px 60px
        rgba(54,34,65,.14);

}


.somniva-about-page .sab-purpose-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .8s ease;

}


.somniva-about-page .sab-purpose-image:hover img {

    transform:
        scale(1.06);

}


.somniva-about-page .sab-purpose-mark {

    width: 80px;

    height: 1px;

    margin-top: 25px;

    background:
        var(--somniva-purple);

}


.somniva-about-page .sab-purpose-mark::after {

    content: "";

    display: block;

    width: 7px;

    height: 7px;

    margin-top: -3px;

    margin-left: 76px;

    border-radius: 50%;

    background:
        var(--somniva-purple);

}


.somniva-about-page .sab-purpose-line {

    position: absolute;

    width: 170px;

    height: 170px;

    border:
        1px solid
        rgba(101,53,138,.28);

    border-radius: 50%;

}


.somniva-about-page .sab-purpose-line-one {

    left: 28%;

    top: 75px;

}


.somniva-about-page .sab-purpose-line-two {

    right: 28%;

    bottom: 65px;

}


/* =========================================================
   03 — WHY WE EXIST
========================================================= */

.somniva-about-page .sab-exists {

    padding:
        100px 5vw;

    background:
        var(--somniva-cream);

}


.somniva-about-page .sab-exists-inner {

    width:
        min(1180px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;

}


.somniva-about-page .sab-exists-heading h2 {

    margin: 14px 0 0;

    color:
        var(--somniva-ink);

    font-size:
        clamp(45px, 5vw, 70px);

    line-height: .98;

}


.somniva-about-page .sab-exists-heading h2 em {

    color:
        var(--somniva-purple);

    font-style: normal;

}


.somniva-about-page .sab-values {

    display: flex;

    flex-direction: column;

    gap: 28px;

}


.somniva-about-page .sab-value {

    display: grid;

    grid-template-columns:
        58px 1fr;

    gap: 22px;

    align-items: center;

    padding-bottom: 24px;

    border-bottom:
        1px solid
        var(--somniva-border);

}


.somniva-about-page .sab-value-icon {

    width: 54px;

    height: 54px;

    display: grid;

    place-items: center;

    border:
        1px solid
        var(--somniva-purple-light);

    border-radius: 50%;

    color:
        var(--somniva-purple);

    font-size: 21px;

}


.somniva-about-page .sab-value small {

    display: block;

    margin-bottom: 3px;

    color:
        var(--somniva-purple-light);

    font-size: 11px;

    font-weight: 800;

}


.somniva-about-page .sab-value h3 {

    margin: 0 0 4px;

    color:
        var(--somniva-ink);

    font-size: 22px;

}


.somniva-about-page .sab-value p {

    margin: 0;

    font-size: 14px;

}


/* =========================================================
   SOMNIVA ABOUT — HISTORY TIMELINE
   Scoped only to About Us history section
========================================================= */

.sab-history {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 150px 0 190px;
    background: var(--somniva-cream);
    color: var(--somniva-text);
}


/* ---------------------------------------------------------
   INNER
--------------------------------------------------------- */

.sab-history-inner {
    position: relative;
    width: min(1440px, 92%);
    margin: 0 auto;
}


/* ---------------------------------------------------------
   HEADING
--------------------------------------------------------- */

.sab-history-heading {
    position: relative;
    z-index: 8;
    width: min(650px, 90%);
    margin-bottom: 70px;
}

.sab-history-label {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--somniva-purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.sab-history-heading h2 {
    margin: 0;
    color: var(--somniva-ink);
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 700;
    line-height: 0.98;
}

.sab-history-heading h2 span {
    display: block;
    color: var(--somniva-purple);
}

.sab-history-heading p {
    max-width: 590px;
    margin: 25px 0 0;

    color: var(--somniva-muted);
    font-size: 18px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   TIMELINE AREA
--------------------------------------------------------- */

.sab-history-timeline {
    position: relative;
    width: 100%;
    height: 720px;
}


/* ---------------------------------------------------------
   SVG WAVE
--------------------------------------------------------- */

.sab-history-wave {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;

    z-index: 1;

    pointer-events: none;
}


/* Main wave */

.sab-history-wave-line {
    fill: none;

    stroke: var(--somniva-purple-light);

    stroke-width: 3.2;

    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.8;

    filter: drop-shadow(
        0 0 8px rgba(138, 90, 181, 0.30)
    );

    stroke-dasharray: 0.015 0.985;
    stroke-dashoffset: 0;

    animation:
        sabWaveDraw 2.5s ease forwards;
}


/* Glowing duplicate */

.sab-history-wave-glow {
    fill: none;

    stroke: rgba(138, 90, 181, 0.18);

    stroke-width: 13;

    stroke-linecap: round;
    stroke-linejoin: round;

    filter: url("#sab-wave-glow");

    opacity: 0.45;

    pointer-events: none;
}


/* ---------------------------------------------------------
   HISTORY CARDS
--------------------------------------------------------- */

.sab-history-card {
    position: absolute;

    z-index: 5;

    width: 310px;
    min-height: 245px;

    padding: 30px 32px 32px;

    border: 1px solid rgba(101, 53, 138, 0.12);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 250, 241, 0.98),
            rgba(255, 247, 238, 0.94)
        );

    box-shadow:
        0 20px 45px rgba(54, 34, 65, 0.10),
        0 0 0 1px rgba(255,255,255,0.35) inset;

    isolation: isolate;

    transition:
        transform 0.45s cubic-bezier(.22,.61,.36,1),
        box-shadow 0.45s ease;
}


/*
   IMPORTANT:
   The cards have an opaque background and z-index 5.
   Therefore the SVG wave stays BEHIND the card.
*/

.sab-history-card::before {
    content: "";

    position: absolute;
    inset: -1px;

    z-index: -1;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(138, 90, 181, 0.12),
            transparent 55%
        );

    opacity: 0.8;
}


/* ---------------------------------------------------------
   ICONS
--------------------------------------------------------- */

.sab-history-icon {
    position: absolute;

    top: -76px;
    left: 50%;

    width: 76px;
    height: 76px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid var(--somniva-purple);

    border-radius: 50%;

    background: var(--somniva-cream);

    color: var(--somniva-purple);

    font-size: 25px;

    box-shadow:
        0 0 0 9px rgba(101, 53, 138, 0.06),
        0 0 28px rgba(138, 90, 181, 0.16);

    z-index: 8;
}


.sab-history-icon::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 10px;

    bottom: -17px;

    border-radius: 50%;

    background: var(--somniva-purple);

    box-shadow:
        0 0 14px rgba(138, 90, 181, 0.75);
}


/* ---------------------------------------------------------
   CARD CONTENT
--------------------------------------------------------- */

.sab-history-card-body {
    position: relative;
    z-index: 6;
}


.sab-history-year {
    display: block;

    margin-bottom: 4px;

    color: var(--somniva-purple);

    font-family: "Playfair Display", serif;

    font-size: 40px;
    font-weight: 700;

    line-height: 1.05;
}


.sab-history-card h3 {
    margin: 7px 0 10px;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.15;
}


.sab-history-card p {
    margin: 0;

    color: var(--somniva-muted);

    font-size: 16px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   EXACT CARD POSITIONS
--------------------------------------------------------- */

/*
    These positions correspond to the SVG path:

    2019 → top-left
    2021 → bottom-left/center
    2023 → top-right/center
    2026 → bottom-right

    The ICON is positioned over the actual wave.
*/

/* =========================================================
   ABOUT — HISTORY TIMELINE
   FINAL CARD / WAVE ALIGNMENT
   ========================================================= */

.sab-history-card-01 {
    position: absolute;
    left: 7%;
    top: 110px;
    z-index: 5;
}


/* 2021 — move DOWN slightly */
.sab-history-card-02 {
    position: absolute;
    left: 26%;
    top: 505px;
    z-index: 5;
}


/* 2023 — move UP + LEFT */
.sab-history-card-03 {
    position: absolute;
    left: 50%;
    top: 65px;
    z-index: 5;
}


/* 2026 — move DOWN slightly */
.sab-history-card-04 {
    position: absolute;
    right: 3%;
    top: 505px;
    z-index: 5;
}
/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.sab-history-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 60px rgba(54, 34, 65, 0.15),
        0 0 35px rgba(138, 90, 181, 0.12);
}


.sab-history-card:hover .sab-history-icon {
    box-shadow:
        0 0 0 9px rgba(101, 53, 138, 0.08),
        0 0 35px rgba(138, 90, 181, 0.32);
}


/* ---------------------------------------------------------
   SCROLL REVEAL
--------------------------------------------------------- */

.sab-about-reveal {
    opacity: 0;

    transform:
        translateY(45px)
        scale(0.96);

    transition:
        opacity 0.85s ease,
        transform 0.9s cubic-bezier(.22,.61,.36,1);
}


.sab-about-reveal.sab-visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* Stagger */

.sab-history-card-01.sab-visible {
    transition-delay: 0.05s;
}

.sab-history-card-02.sab-visible {
    transition-delay: 0.18s;
}

.sab-history-card-03.sab-visible {
    transition-delay: 0.31s;
}

.sab-history-card-04.sab-visible {
    transition-delay: 0.44s;
}


/* ---------------------------------------------------------
   WAVE DRAW
--------------------------------------------------------- */

@keyframes sabWaveDraw {

    from {
        stroke-dasharray: 0 1;
    }

    to {
        stroke-dasharray: 1 0;
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .sab-history {
        padding: 130px 0 160px;
    }

    .sab-history-inner {
        width: 94%;
    }

    .sab-history-timeline {
        height: 680px;
    }

    .sab-history-card {
        width: 285px;
        min-height: 230px;

        padding: 27px 29px 30px;
    }

    .sab-history-card-01 {
        left: 4%;
        top: 127px;
    }

    .sab-history-card-02 {
        left: 20%;
        top: 457px;
    }

    .sab-history-card-03 {
        left: 43%;
        top: 122px;
    }

    .sab-history-card-04 {
        right: 2%;
        top: 457px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .sab-history {
        padding: 110px 0 130px;
    }

    .sab-history-heading {
        width: 90%;
        margin-bottom: 80px;
    }

    .sab-history-heading h2 {
        font-size: clamp(44px, 7vw, 62px);
    }

    .sab-history-heading p {
        font-size: 17px;
    }

    .sab-history-timeline {
        height: 720px;
    }

    .sab-history-card {
        width: 255px;
        min-height: 220px;

        padding: 25px 27px;
    }

    .sab-history-card-01 {
        left: 0;
        top: 127px;
    }

    .sab-history-card-02 {
        left: 20%;
        top: 487px;
    }

    .sab-history-card-03 {
        left: 42%;
        top: 127px;
    }

    .sab-history-card-04 {
        right: 0;
        top: 487px;
    }

    .sab-history-year {
        font-size: 34px;
    }

    .sab-history-card h3 {
        font-size: 22px;
    }

    .sab-history-card p {
        font-size: 15px;
    }

}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .sab-history {
        padding: 90px 0 110px;
    }

    .sab-history-inner {
        width: 90%;
    }

    .sab-history-heading {
        width: 100%;
        margin-bottom: 75px;
    }

    .sab-history-heading h2 {
        font-size: 44px;
    }

    .sab-history-heading p {
        font-size: 16px;
    }


    /* -----------------------------------------------
       Vertical mobile timeline
    ----------------------------------------------- */

    .sab-history-timeline {
        height: auto;

        padding-left: 85px;

        display: flex;
        flex-direction: column;

        gap: 115px;
    }

    .sab-history-timeline::before {
        content: "";

        position: absolute;
        top: 0;
        bottom: 0;
        left: 27px;

        width: 2px;

        background: var(--somniva-purple-light);
        box-shadow: 0 0 8px rgba(138, 90, 181, 0.3);

        z-index: 1;
    }


    /*
       Mobile SVG becomes a vertical wave.
       The cards remain above the wave.
    */

    .sab-history-wave {
        display: none;
    }


    .sab-history-wave path {
        display: none;
    }


    .sab-history-card {
        position: relative;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100%;
        min-height: 210px;

        padding: 27px 25px;
    }


    /*
       Move icon toward timeline on mobile.
    */

    .sab-history-icon {
        top: 50%;

        left: -58px;

        width: 62px;
        height: 62px;

        transform: translate(-50%, -50%);

        font-size: 21px;
    }

    .sab-history-icon::after {
        display: none;
    }


    .sab-history-year {
        font-size: 34px;
    }

    .sab-history-card h3 {
        font-size: 22px;
    }

    .sab-history-card p {
        font-size: 15px;
    }

}


/* =========================================================
   MOBILE MEDIUM
========================================================= */

@media (max-width: 575px) {

    .sab-history {
        padding: 75px 0 90px;
    }

    .sab-history-inner {
        width: 88%;
    }

    .sab-history-heading h2 {
        font-size: 39px;
    }

    .sab-history-heading p {
        font-size: 15px;
    }

    .sab-history-timeline {
        padding-left: 68px;

        gap: 95px;
    }

    .sab-history-wave {
        display: none;
    }

    .sab-history-timeline::before {
        left: 21px;
    }

    .sab-history-card {
        min-height: 195px;

        padding: 24px 21px;
        border-radius: 23px;
    }

    .sab-history-icon {
        left: -47px;

        width: 55px;
        height: 55px;

        font-size: 18px;
    }

    .sab-history-year {
        font-size: 31px;
    }

    .sab-history-card h3 {
        font-size: 20px;
    }

    .sab-history-card p {
        font-size: 14px;
        line-height: 1.6;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 400px) {

    .sab-history-heading h2 {
        font-size: 35px;
    }

    .sab-history-timeline {
        padding-left: 58px;

        gap: 82px;
    }

    .sab-history-wave {
        display: none;
    }

    .sab-history-timeline::before {
        left: 18px;
    }

    .sab-history-card {
        padding: 22px 18px;
    }

    .sab-history-icon {
        left: -40px;

        width: 48px;
        height: 48px;

        font-size: 16px;
    }

    .sab-history-year {
        font-size: 28px;
    }

    .sab-history-card h3 {
        font-size: 18px;
    }

    .sab-history-card p {
        font-size: 13px;
    }

}

/* =========================================================
   05 — TEAM
   REFERENCE-STYLE CURVED COMPOSITION
========================================================= */

.somniva-about-page .sab-team {

    position: relative;

    min-height: 720px;

    padding:
        105px 5vw;

    background:
        var(--somniva-cream-light);

    display: grid;

    grid-template-columns:
        280px 1fr;

    gap: 40px;

    align-items: center;

    overflow: hidden;

}


.somniva-about-page .sab-team-heading {

    position: relative;

    z-index: 8;

}


.somniva-about-page .sab-team-heading h2 {

    margin: 13px 0 18px;

    color:
        var(--somniva-ink);

    font-size:
        clamp(42px, 4.5vw, 61px);

    line-height: .98;

}


.somniva-about-page .sab-team-heading p {

    max-width: 260px;

    margin-bottom: 25px;

    font-size: 14px;

}


.somniva-about-page .sab-team-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--somniva-purple);

    font-size: 13px;

    font-weight: 800;

}


.somniva-about-page .sab-team-stage {

    position: relative;

    min-height: 520px;

    width: 100%;

}


.somniva-about-page .sab-team-orbit {

    position: absolute;

    border:
        1px solid
        rgba(101,53,138,.22);

    border-radius: 50%;

    pointer-events: none;

}


.somniva-about-page .sab-team-orbit-one {

    width: 560px;

    height: 300px;

    left: 15%;

    top: 100px;

    transform:
        rotate(-7deg);

}


.somniva-about-page .sab-team-orbit-two {

    width: 580px;

    height: 320px;

    left: 13%;

    top: 110px;

    transform:
        rotate(7deg);

}


.somniva-about-page .sab-member {

    position: absolute;

    z-index: 3;

}


.somniva-about-page .sab-member-photo {

    overflow: hidden;

    background:
        var(--somniva-cream-soft);

    box-shadow:
        0 18px 45px
        rgba(54,34,65,.13);

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1),
        box-shadow .4s ease;

}


.somniva-about-page .sab-member-photo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;

}


.somniva-about-page .sab-member:hover .sab-member-photo {

    box-shadow:
        0 28px 60px
        rgba(54,34,65,.22);

}


.somniva-about-page .sab-member:hover .sab-member-photo img {

    transform:
        scale(1.06);

}


.somniva-about-page .sab-member-name {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.somniva-about-page .sab-member-name strong {

    color:
        var(--somniva-ink);

    font-size: 12px;

    font-weight: 800;

}


.somniva-about-page .sab-member-name span {

    color:
        var(--somniva-muted);

    font-size: 10px;

}


.somniva-about-page .sab-member-one {

    width: 190px;

    left: 12%;

    top: 125px;

}


.somniva-about-page .sab-member-one .sab-member-name {

    margin-bottom: 10px;

    text-align: right;

}


.somniva-about-page .sab-member-one .sab-member-photo {

    width: 190px;

    height: 170px;

    border-radius:
        48% 48% 12px 12px;

}


.somniva-about-page .sab-member-two {

    width: 220px;

    left: 37%;

    top: 75px;

    z-index: 5;

}


.somniva-about-page .sab-member-two .sab-member-name {

    margin-bottom: 10px;

    text-align: center;

}


.somniva-about-page .sab-member-two .sab-member-photo {

    width: 220px;

    height: 195px;

    border-radius:
        12px 12px 46% 46%;

}


.somniva-about-page .sab-member-three {

    width: 190px;

    right: 8%;

    top: 135px;

}


.somniva-about-page .sab-member-three .sab-member-name {

    margin-bottom: 10px;

}


.somniva-about-page .sab-member-three .sab-member-photo {

    width: 190px;

    height: 170px;

    border-radius:
        48% 48% 12px 12px;

}


.somniva-about-page .sab-member-four {

    width: 190px;

    left: 28%;

    top: 345px;

}


.somniva-about-page .sab-member-four .sab-member-photo {

    width: 190px;

    height: 135px;

    border-radius:
        12px 12px 42% 42%;

}


.somniva-about-page .sab-member-four .sab-member-name {

    margin-top: 10px;

}


.somniva-about-page .sab-member-five {

    width: 190px;

    right: 19%;

    top: 350px;

}


.somniva-about-page .sab-member-five .sab-member-photo {

    width: 190px;

    height: 135px;

    border-radius:
        12px 12px 42% 42%;

}


.somniva-about-page .sab-member-five .sab-member-name {

    margin-top: 10px;

    text-align: right;

}


.somniva-about-page .sab-team-center-word {

    position: absolute;

    left: 50%;

    top: 275px;

    transform:
        translate(-50%,-50%);

    z-index: 1;

    color:
        rgba(101,53,138,.055);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(65px, 9vw, 135px);

    font-weight: 700;

    letter-spacing: 5px;

    pointer-events: none;

}


/* =========================================================
   06 — PHILOSOPHY
========================================================= */

.somniva-about-page .sab-philosophy {

    min-height: 580px;

    display: grid;

    grid-template-columns:
        1.08fr .92fr;

    background:
        var(--somniva-cream);

}


.somniva-about-page .sab-philosophy-image {

    position: relative;

    min-height: 580px;

    overflow: hidden;

}


.somniva-about-page .sab-philosophy-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;

}


.somniva-about-page .sab-philosophy:hover
.sab-philosophy-image img {

    transform:
        scale(1.04);

}


.somniva-about-page .sab-philosophy-overlay-text {

    position: absolute;

    left: 7%;

    bottom: 8%;

    max-width: 280px;

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(25px, 3vw, 42px);

    line-height: .98;

}


.somniva-about-page .sab-philosophy-copy {

    padding:
        90px 8vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.somniva-about-page .sab-philosophy-copy h2 {

    margin: 14px 0 20px;

    color:
        var(--somniva-ink);

    font-size:
        clamp(40px, 4vw, 60px);

    line-height: .98;

}


.somniva-about-page .sab-philosophy-copy h2 em {

    display: block;

    color:
        var(--somniva-purple);

    font-style: normal;

}


.somniva-about-page .sab-philosophy-copy p {

    max-width: 430px;

    margin-bottom: 25px;

    font-size: 15px;

}


.somniva-about-page .sab-round-link {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border:
        1px solid
        var(--somniva-purple);

    border-radius: 50%;

    color:
        var(--somniva-purple);

    transition:
        transform .3s ease,
        background .3s ease;

}


.somniva-about-page .sab-round-link:hover {

    transform:
        rotate(45deg);

    color:
        #ffffff;

    background:
        var(--somniva-purple);

}


/* =========================================================
   07 — TESTIMONIALS
========================================================= */

.somniva-about-page .sab-testimonials {

    padding:
        100px 5vw;

    background:
        var(--somniva-cream-light);

}


.somniva-about-page .sab-testimonial-heading {

    width:
        min(1100px, 100%);

    margin:
        0 auto 55px;

}


.somniva-about-page .sab-testimonial-heading h2 {

    margin-top: 12px;

    color:
        var(--somniva-ink);

    font-size:
        clamp(42px, 4.5vw, 62px);

    line-height: .98;

}


.somniva-about-page .sab-testimonial-heading h2 em {

    color:
        var(--somniva-purple);

    font-style: normal;

}


.somniva-about-page .sab-testimonial-grid {

    width:
        min(1100px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 0;

}


.somniva-about-page .sab-quote {

    position: relative;

    min-height: 270px;

    padding:
        30px 35px;

    border-right:
        1px solid
        var(--somniva-border);

}


.somniva-about-page .sab-quote:last-child {

    border-right: 0;

}


.somniva-about-page .sab-quote-mark {

    display: block;

    color:
        var(--somniva-purple-light);

    font-family:
        "Playfair Display",
        serif;

    font-size: 65px;

    line-height: .7;

}


.somniva-about-page .sab-quote p {

    max-width: 260px;

    margin:
        20px 0 28px;

    color:
        var(--somniva-text);

    font-size: 15px;

}


.somniva-about-page .sab-quote-person {

    display: flex;

    align-items: center;

    gap: 11px;

}


.somniva-about-page .sab-quote-avatar {

    width: 35px;

    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        var(--somniva-purple);

    color:
        #ffffff;

    font-size: 12px;

    font-weight: 800;

}


.somniva-about-page .sab-quote-person strong,
.somniva-about-page .sab-quote-person small {

    display: block;

}


.somniva-about-page .sab-quote-person strong {

    color:
        var(--somniva-ink);

    font-size: 12px;

}


.somniva-about-page .sab-quote-person small {

    color:
        var(--somniva-muted);

    font-size: 10px;

}


/* =========================================================
   08 — FINAL
========================================================= */

.somniva-about-page .sab-final {

    position: relative;

    min-height: 420px;

    padding:
        90px 7vw;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #32134a,
            #542171 55%,
            #271033
        );

    color: #ffffff;

}


.somniva-about-page .sab-final-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -200px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(190,126,235,.28),
            transparent 65%
        );

}


.somniva-about-page .sab-final-stars {

    position: absolute;

    width: 600px;
    height: 300px;

    right: 5%;
    bottom: -120px;

    border:
        1px solid
        rgba(255,255,255,.14);

    border-radius: 50%;

    transform:
        rotate(-15deg);

}


.somniva-about-page .sab-final-inner {

    position: relative;

    z-index: 3;

    width:
        min(1150px,100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 80px;

    align-items: center;

}


.somniva-about-page .sab-final .sab-label {

    color:
        #d5a7ed;

}


.somniva-about-page .sab-final h2 {

    margin: 15px 0 0;

    color: #ffffff;

    font-size:
        clamp(45px, 5.5vw, 76px);

    line-height: .94;

}


.somniva-about-page .sab-final h2 em {

    display: block;

    color:
        #c58ce8;

    font-style: normal;

}


.somniva-about-page .sab-final-action p {

    max-width: 420px;

    margin-bottom: 24px;

    color:
        rgba(255,255,255,.76);

    font-size: 15px;

}


.somniva-about-page .sab-final-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 12px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;

}


.somniva-about-page .sab-final-link i {

    transition:
        transform .3s ease;

}


.somniva-about-page .sab-final-link:hover i {

    transform:
        translateX(6px);

}


/* =========================================================
   SCROLL REVEAL STATES
========================================================= */

.somniva-about-page .sab-reveal,
.somniva-about-page .sab-reveal-left,
.somniva-about-page .sab-reveal-right,
.somniva-about-page .sab-reveal-scale,
.somniva-about-page .sab-member-reveal {

    opacity: 0;

}


.somniva-about-page .sab-reveal-left {

    transform:
        translateX(-60px);

}


.somniva-about-page .sab-reveal-right {

    transform:
        translateX(60px);

}


.somniva-about-page .sab-reveal-scale {

    transform:
        scale(.88);

}


.somniva-about-page .sab-member-reveal {

    transform:
        translateY(60px)
        rotate(2deg);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-about-page .sab-purpose-inner {

        grid-template-columns:
            1fr 1fr;

        gap: 30px;

    }

    .somniva-about-page .sab-purpose-image {

        grid-column:
            1 / -1;

        grid-row: 1;

        width: min(520px,100%);

        margin: auto;

    }

    .somniva-about-page .sab-purpose-mission {

        grid-column: 1;

        grid-row: 2;

    }

    .somniva-about-page .sab-purpose-vision {

        grid-column: 2;

        grid-row: 2;

    }


    .somniva-about-page .sab-exists-inner {

        gap: 55px;

    }


    .somniva-about-page .sab-team {

        grid-template-columns: 1fr;

        padding-top: 85px;

    }

    .somniva-about-page .sab-team-heading {

        max-width: 500px;

        margin: auto;

        text-align: center;

    }

    .somniva-about-page .sab-team-heading p {

        margin-left: auto;
        margin-right: auto;

    }

    .somniva-about-page .sab-team-stage {

        min-height: 560px;

        max-width: 760px;

        margin: auto;

    }


    .somniva-about-page .sab-philosophy {

        grid-template-columns:
            1fr;

    }

    .somniva-about-page .sab-philosophy-image {

        min-height: 420px;

    }

    .somniva-about-page .sab-philosophy-copy {

        min-height: 400px;

    }


    .somniva-about-page .sab-final-inner {

        grid-template-columns:
            1fr;

        gap: 35px;

    }

}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .somniva-about-page .sab-hero-content {

        padding:
            28px 24px;

    }

    .somniva-about-page .sab-hero-content h1 {

        font-size: 43px;

    }

    .somniva-about-page .sab-hero-content p {

        font-size: 14px;

    }


    .somniva-about-page .sab-purpose {

        padding:
            70px 22px;

    }

    .somniva-about-page .sab-purpose-inner {

        grid-template-columns: 1fr;

    }

    .somniva-about-page .sab-purpose-image,
    .somniva-about-page .sab-purpose-mission,
    .somniva-about-page .sab-purpose-vision {

        grid-column: auto;
        grid-row: auto;

    }

    .somniva-about-page .sab-purpose-image {

        height: 280px;

    }


    .somniva-about-page .sab-exists {

        padding:
            75px 22px;

    }

    .somniva-about-page .sab-exists-inner {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .somniva-about-page .sab-history {

        padding:
            75px 22px;

    }

    .somniva-about-page .sab-history-track {

        min-height: 720px;

        padding-left: 45px;

    }

    .somniva-about-page .sab-history-path {

        top: 0;

        bottom: 0;

        left: 20px;

        right: auto;

        width: 1px;

        height: auto;

        border-top: 0;

        border-left:
            1px solid
            var(--somniva-purple-light);

        transform: none;

    }

    .somniva-about-page .sab-history-item {

        position: relative;

        left: auto !important;
        right: auto !important;
        top: auto !important;

        width: 100%;

        margin-bottom: 55px;

        padding-left: 15px;

    }

    .somniva-about-page .sab-history-dot {

        position: absolute;

        left: -48px;

        top: 0;

    }


    .somniva-about-page .sab-team {

        padding:
            70px 15px;

    }

    .somniva-about-page .sab-team-stage {

        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 30px auto 0;
        overflow: hidden;
        transform: none;
        transform-origin: top center;

    }

    .somniva-about-page .sab-team-grid {

        width: 100%;
        max-width: 100%;
        overflow: hidden;

    }


    .somniva-about-page .sab-testimonials {

        padding:
            75px 22px;

    }

    .somniva-about-page .sab-testimonial-grid {

        grid-template-columns: 1fr;

    }

    .somniva-about-page .sab-quote {

        min-height: auto;

        border-right: 0;

        border-bottom:
            1px solid
            var(--somniva-border);

    }

    .somniva-about-page .sab-quote:last-child {

        border-bottom: 0;

    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 480px) {

    .somniva-about-page .sab-hero {

        height: 360px;
        min-height: 360px;

    }

    .somniva-about-page .sab-hero-content {

        padding:
            25px 18px;

    }

    .somniva-about-page .sab-hero-content h1 {

        font-size: 38px;

    }

    .somniva-about-page .sab-hero-content p {

        font-size: 13px;

    }


    .somniva-about-page .sab-purpose-copy h2 {

        font-size: 42px;

    }


    .somniva-about-page .sab-team-stage {

        max-width: 100%;
        transform: none;
        width: 100%;
        margin-left: 0;
        min-height: 440px;
        overflow: hidden;

    }


    .somniva-about-page .sab-philosophy-image {

        min-height: 360px;

    }

    .somniva-about-page .sab-philosophy-copy {

        padding:
            65px 24px;

    }


    .somniva-about-page .sab-final {

        padding:
            70px 24px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .somniva-about-page .sab-team-stage {

        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        transform: none;

    }

}

/* =========================================================
   SOMNIVA ABOUT PAGE
   05 — FOUR-MEMBER INTERLOCKING TEAM GRID
========================================================= */

.somniva-about-page .sab-team {
    position: relative;
    min-height: 680px;
    padding: clamp(82px, 9vw, 128px)
             clamp(22px, 5vw, 80px);

    display: grid;
    grid-template-columns:
        minmax(220px, .72fr)
        minmax(0, 1.28fr);

    gap: clamp(35px, 6vw, 96px);
    align-items: center;

    overflow: hidden;
    background: var(--somniva-cream-light);
}

.somniva-about-page .sab-team-heading {
    position: relative;
    z-index: 2;
}

.somniva-about-page .sab-team-heading h2 {
    margin: 13px 0 18px;
    color: var(--somniva-ink);
    font-size: clamp(42px, 4.5vw, 61px);
    line-height: .98;
}

.somniva-about-page .sab-team-heading p {
    max-width: 280px;
    margin-bottom: 25px;
    color: var(--somniva-muted);
    font-size: 14px;
    line-height: 1.7;
}

.somniva-about-page .sab-team-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    color: var(--somniva-purple);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.somniva-about-page .sab-team-link i {
    transition: transform .3s ease;
}

.somniva-about-page .sab-team-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   TEAM GRID
========================================================= */

.somniva-about-page .sab-team-stage {
    position: relative;
    width: 100%;
    min-height: 0;
}

.somniva-about-page .sab-team-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    min-height: clamp(390px, 42vw, 510px);
    align-items: stretch;

    isolation: isolate;
}


/* Decorative background orbit */

.somniva-about-page .sab-team-grid::before {
    position: absolute;
    inset: 11% 2% 7%;
    z-index: -1;

    border: 1px solid rgba(101, 53, 138, .16);
    border-radius: 48% 52% 44% 56%;

    content: "";
    transform: rotate(-4deg);
    pointer-events: none;
}


/* Small label above the grid */

.somniva-about-page .sab-team-grid-note {
    position: absolute;
    top: -30px;
    right: 2px;

    color: var(--somniva-purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}


/* =========================================================
   MEMBER TILES
========================================================= */

.somniva-about-page .sab-member {
    position: relative;
    z-index: 1;

    width: auto;
    min-width: 0;

    margin-right: -1px;

    left: auto;
    right: auto;
    top: auto;

    transition:
        transform .55s cubic-bezier(.2, .8, .2, 1),
        z-index 0s linear .55s;
}

.somniva-about-page .sab-member-photo {
    position: relative;
    height: 100%;
    min-height: 390px;

    overflow: hidden;
    isolation: isolate;

    background: var(--somniva-cream-soft);

    box-shadow:
        0 18px 45px rgba(54, 34, 65, .13);

    /*
       Custom asymmetric shape.
       This creates the non-rectangular design.
    */
    clip-path: polygon(
        0 10%,
        13% 3%,
        55% 0,
        88% 8%,
        100% 22%,
        100% 88%,
        90% 100%,
        10% 100%,
        0 88%
    );

    transition:
        box-shadow .4s ease,
        clip-path .55s ease;
}

.somniva-about-page .sab-member-photo::after {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(23, 10, 31, 0) 42%,
            rgba(23, 10, 31, .86) 100%
        );

    content: "";
}

.somniva-about-page .sab-member-photo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    filter:
        saturate(.82)
        contrast(.94);

    transition:
        transform .75s cubic-bezier(.2, .8, .2, 1),
        filter .5s ease;
}


/* =========================================================
   MEMBER TEXT
========================================================= */

.somniva-about-page .sab-member-name {
    position: absolute;
    right: 18px;
    bottom: 21px;
    left: 18px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.somniva-about-page .sab-member-name strong {
    color: #ffffff;
    font-size: clamp(13px, 1.15vw, 17px);
    font-weight: 800;
    line-height: 1.1;
}

.somniva-about-page .sab-member-name span {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(9px, .82vw, 11px);
    letter-spacing: .04em;
}

.somniva-about-page .sab-member-index {
    position: absolute;
    top: 14px;
    right: 13px;
    z-index: 2;

    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;

    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
}


/* =========================================================
   UNIQUE SHAPE FOR EACH MEMBER
========================================================= */

.somniva-about-page .sab-member-one {
    padding-top: 38px;
}

.somniva-about-page .sab-member-one .sab-member-photo {
    clip-path: polygon(
        0 14%,
        16% 4%,
        59% 0,
        88% 9%,
        100% 25%,
        100% 100%,
        0 100%
    );
}

.somniva-about-page .sab-member-two .sab-member-photo {
    clip-path: polygon(
        0 0,
        76% 0,
        93% 9%,
        100% 24%,
        100% 89%,
        87% 100%,
        12% 100%,
        0 88%
    );
}

.somniva-about-page .sab-member-three {
    padding-top: 15px;
}

.somniva-about-page .sab-member-three .sab-member-photo {
    clip-path: polygon(
        0 9%,
        16% 0,
        78% 3%,
        100% 15%,
        100% 100%,
        11% 100%,
        0 88%
    );
}

.somniva-about-page .sab-member-four {
    padding-top: 66px;
}

.somniva-about-page .sab-member-four .sab-member-photo {
    clip-path: polygon(
        0 0,
        88% 0,
        100% 12%,
        100% 87%,
        84% 100%,
        28% 100%,
        6% 91%,
        0 72%
    );
}


/* =========================================================
   HOVER ANIMATION
========================================================= */

.somniva-about-page .sab-member:hover {
    z-index: 4;
    transform: translateY(-12px);
}

.somniva-about-page .sab-member:hover .sab-member-photo {
    box-shadow:
        0 28px 60px rgba(54, 34, 65, .25);
}

.somniva-about-page .sab-member:hover .sab-member-photo img {
    filter:
        saturate(1)
        contrast(1);

    transform: scale(1.08);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-about-page .sab-team {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 85px;
    }

    .somniva-about-page .sab-team-heading {
        max-width: 560px;
        margin: auto;
        text-align: center;
    }

    .somniva-about-page .sab-team-heading p {
        margin-right: auto;
        margin-left: auto;
    }

    .somniva-about-page .sab-team-stage {
        width: min(100%, 780px);
        max-width: 780px;
        margin: auto;
    }
}


/* =========================================================
   MOBILE LARGE / TABLET SMALL
========================================================= */

@media (max-width: 767px) {

    .somniva-about-page .sab-team {
        padding: 70px 15px;
    }

    .somniva-about-page .sab-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: clamp(500px, 112vw, 650px);
    }

    .somniva-about-page .sab-member-one,
    .somniva-about-page .sab-member-two,
    .somniva-about-page .sab-member-three,
    .somniva-about-page .sab-member-four {
        padding-top: 0;
    }

    .somniva-about-page .sab-member-photo {
        min-height: 0;
    }

    .somniva-about-page .sab-team-stage {
        width: 100%;
        min-height: 0;
        margin: 30px auto 0;
        transform: none;
    }
}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 480px) {

    .somniva-about-page .sab-team-grid {
        min-height: clamp(430px, 116vw, 540px);
    }

    .somniva-about-page .sab-team-grid-note {
        top: -25px;
        font-size: 9px;
    }

    .somniva-about-page .sab-member-name {
        right: 12px;
        bottom: 16px;
        left: 12px;
    }

    .somniva-about-page .sab-member-name strong {
        font-size: 12px;
    }

    .somniva-about-page .sab-member-name span {
        font-size: 8px;
    }

    .somniva-about-page .sab-member-index {
        top: 9px;
        right: 8px;
        width: 23px;
        height: 23px;
        font-size: 8px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .somniva-about-page .sab-team-grid {
        min-height: 400px;
    }

    .somniva-about-page .sab-member-name strong {
        font-size: 11px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .somniva-about-page .sab-member,
    .somniva-about-page .sab-member-photo,
    .somniva-about-page .sab-member-photo img,
    .somniva-about-page .sab-team-link i {
        transition: none;
    }

    .somniva-about-page .sab-member:hover {
        transform: none;
    }
}

/* =========================================================
   TEAM SECTION — NEW EQUAL SQUARE CARD VARIANT
   Dedicated override only for the About team cards.
========================================================= */

.somniva-about-page .sab-team-grid-equal {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.5vw, 24px);
    min-height: auto;
    align-items: end;
}

.somniva-about-page .sab-team-grid-equal::before,
.somniva-about-page .sab-team-grid-equal .sab-team-grid-note {
    display: none !important;
}

.somniva-about-page .sab-member-equal {
    width: 100%;
    margin: 0;
    padding-top: 0 !important;
    transform: none;
}

.somniva-about-page .sab-member-equal .sab-member-photo {
    width: 100%;
    min-height: 0;
    height: clamp(260px, 24vw, 390px);
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    clip-path: none;
    box-shadow: 0 18px 45px rgba(54, 34, 65, .13);
}

.somniva-about-page .sab-member-equal .sab-member-photo::after {
    background: linear-gradient(180deg, rgba(23,10,31,0) 42%, rgba(23,10,31,.86) 100%);
}

.somniva-about-page .sab-member-equal .sab-member-name {
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.somniva-about-page .sab-member-equal .sab-member-index {
    top: 12px;
    right: 12px;
}

.somniva-about-page .sab-member-equal:hover {
    transform: translateY(-6px);
}

.somniva-about-page .sab-member-equal:hover .sab-member-photo {
    box-shadow: 0 28px 62px rgba(54, 34, 65, .24);
}

@media (max-width: 1023px) {
    .somniva-about-page .sab-team-grid-equal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .somniva-about-page .sab-member-equal .sab-member-photo {
        height: clamp(290px, 38vw, 420px);
    }
}

@media (max-width: 424px) {
    .somniva-about-page .sab-team-grid-equal {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .somniva-about-page .sab-member-equal .sab-member-photo {
        height: clamp(330px, 76vw, 460px);
    }
}

/* =========================================================
   LOGIN — SIGNUP LINK
   ========================================================= */

.somniva-login-page .somniva-login-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--somniva-muted);
}

.somniva-login-page .somniva-login-signup a {
    color: var(--somniva-purple);
    font-weight: 800;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.somniva-login-page .somniva-login-signup a:hover {
    color: var(--somniva-purple-dark);
    transform: translateY(-1px);
    text-decoration: underline;
}

@media (max-width: 575px) {

    .somniva-login-page .somniva-login-signup {
        margin-top: 15px;
        font-size: 14px;
        gap: 6px;
    }

}

/* =========================================================
   SOMNIVA LOGIN PAGE
   PAGE-SCOPED ONLY
   No global selectors
========================================================= */


/* =========================================================
   PAGE FRAME
========================================================= */

.somniva-login-page .sl-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px 34px 42px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* =========================================================
   TOP CONTROLS
========================================================= */

.somniva-login-page .sl-top-controls {
    position: fixed;
    top: 24px;
    right: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 9px;
}


/* Use the existing Somniva control appearance,
   but constrain it to this page. */

.somniva-login-page .sl-top-controls .somniva-icon-button,
.somniva-login-page .sl-top-controls .somniva-rtl-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--somniva-border);
    background: rgba(255, 250, 241, 0.82);
    color: var(--somniva-ink);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.somniva-login-page .sl-top-controls .somniva-icon-button:hover,
.somniva-login-page .sl-top-controls .somniva-rtl-button:hover {
    transform: translateY(-3px);
    color: var(--somniva-purple);
    border-color: rgba(101, 53, 138, 0.35);
    box-shadow:
        0 12px 30px rgba(54, 34, 65, 0.12),
        0 0 25px rgba(138, 90, 181, 0.10);
}


/* =========================================================
   MAIN LOGIN SHELL
========================================================= */

.somniva-login-page .sl-login-shell {
    width: min(1380px, 100%);
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    background: var(--somniva-cream-light);
    border: 1px solid var(--somniva-border);
    border-radius: 34px;
    overflow: hidden;
    box-shadow:
        0 35px 90px rgba(54, 34, 65, 0.14),
        0 0 70px rgba(101, 53, 138, 0.07);
    animation: slShellReveal 0.8s ease both;
}


/* =========================================================
   LEFT BRAND SIDE
========================================================= */

.somniva-login-page .sl-brand-side {
    position: relative;
    min-width: 0;
    padding: 42px 48px 38px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(138, 90, 181, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(184, 139, 74, 0.08),
            transparent 30%
        ),
        var(--somniva-cream);
    overflow: hidden;
}


/* Decorative corner glow */

.somniva-login-page .sl-brand-side::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -160px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(101, 53, 138, 0.08);
    filter: blur(35px);
    pointer-events: none;
}


/* =========================================================
   BRAND LOGO
========================================================= */

.somniva-login-page .sl-brand-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--somniva-ink);
    position: relative;
    z-index: 2;
    animation: slBrandReveal 0.75s 0.12s ease both;
}

.somniva-login-page .sl-brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--somniva-purple);
    color: #ffffff;
    box-shadow:
        0 12px 28px rgba(101, 53, 138, 0.25),
        0 0 25px rgba(101, 53, 138, 0.12);
}

.somniva-login-page .sl-brand-mark i {
    font-size: 20px;
}

.somniva-login-page .sl-brand-name {
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.7px;
}


/* =========================================================
   IMAGE
========================================================= */

.somniva-login-page .sl-image-wrap {
    position: relative;
    width: 100%;
    height: 285px;
    margin-top: 32px;
    border-radius: 25px;
    overflow: hidden;
    background: var(--somniva-cream-soft);
    animation: slImageReveal 0.9s 0.2s ease both;
}

.somniva-login-page .sl-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
    transition: transform 0.8s ease;
}

.somniva-login-page .sl-image-wrap:hover .sl-main-image {
    transform: scale(1.035);
}

.somniva-login-page .sl-image-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgba(69, 32, 95, 0.04),
            rgba(69, 32, 95, 0.22)
        );
}

.somniva-login-page .sl-image-label {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 3;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 250, 241, 0.88);
    color: var(--somniva-purple-dark);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.6px;
    backdrop-filter: blur(10px);
}


/* =========================================================
   LEFT COPY
========================================================= */

.somniva-login-page .sl-brand-copy {
    margin-top: 25px;
    max-width: 650px;
    animation: slContentReveal 0.8s 0.34s ease both;
}

.somniva-login-page .sl-eyebrow,
.somniva-login-page .sl-form-label {
    display: block;
    color: var(--somniva-purple);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-login-page .sl-brand-copy h1 {
    margin: 9px 0 8px;
    color: var(--somniva-ink);
    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 3.2vw, 52px);
    line-height: 1.04;
    letter-spacing: -1.4px;
}

.somniva-login-page .sl-brand-copy h1 span {
    display: block;
    color: var(--somniva-purple);
}

.somniva-login-page .sl-brand-copy p {
    max-width: 620px;
    margin: 0;
    color: var(--somniva-muted);
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   BENEFITS
========================================================= */

.somniva-login-page .sl-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
    animation: slContentReveal 0.8s 0.45s ease both;
}

.somniva-login-page .sl-benefit {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--somniva-border);
    border-radius: 15px;
    background: rgba(255, 250, 241, 0.55);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.somniva-login-page .sl-benefit:hover {
    transform: translateY(-4px);
    border-color: rgba(101, 53, 138, 0.25);
    box-shadow: 0 15px 30px rgba(54, 34, 65, 0.08);
}

.somniva-login-page .sl-benefit-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--somniva-purple);
    background: rgba(101, 53, 138, 0.09);
}

.somniva-login-page .sl-benefit-icon i {
    font-size: 15px;
}

.somniva-login-page .sl-benefit strong {
    display: block;
    color: var(--somniva-text);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
}

.somniva-login-page .sl-benefit div > span {
    display: block;
    margin-top: 4px;
    color: var(--somniva-muted);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   LEFT FOOTNOTE
========================================================= */

.somniva-login-page .sl-brand-footnote {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.somniva-login-page .sl-brand-footnote > span {
    width: 35px;
    height: 1px;
    flex: 0 0 35px;
    background: var(--somniva-purple-light);
}

.somniva-login-page .sl-brand-footnote p {
    margin: 0;
    color: var(--somniva-muted);
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   RIGHT FORM SIDE
========================================================= */

.somniva-login-page .sl-form-side {
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--somniva-cream-light);
    border-left: 1px solid var(--somniva-border);
}

.somniva-login-page .sl-form-inner {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 54px 58px;
}


/* =========================================================
   FORM HEADING
========================================================= */

.somniva-login-page .sl-form-heading {
    margin-bottom: 31px;
    animation: slContentReveal 0.8s 0.22s ease both;
}

.somniva-login-page .sl-form-heading h2 {
    margin: 8px 0 6px;
    color: var(--somniva-ink);
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 3vw, 47px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.somniva-login-page .sl-form-heading p {
    margin: 0;
    color: var(--somniva-muted);
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.somniva-login-page .sl-login-form {
    width: 100%;
    animation: slFormReveal 0.8s 0.3s ease both;
}

.somniva-login-page .sl-field {
    margin-bottom: 21px;
}

.somniva-login-page .sl-field > label,
.somniva-login-page .sl-label-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--somniva-text);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

.somniva-login-page .sl-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.somniva-login-page .sl-forgot-link {
    color: var(--somniva-purple);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.somniva-login-page .sl-forgot-link:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUTS
========================================================= */

.somniva-login-page .sl-input-wrap {
    position: relative;
}

.somniva-login-page .sl-input-wrap > i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--somniva-purple);
    font-size: 17px;
    pointer-events: none;
}

.somniva-login-page .sl-input-wrap input {
    width: 100%;
    height: 56px;
    padding: 0 50px 0 49px;
    border: 1px solid var(--somniva-border);
    border-radius: 13px;
    outline: none;
    background: var(--somniva-cream);
    color: var(--somniva-text);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.somniva-login-page .sl-input-wrap input::placeholder {
    color: var(--somniva-muted);
    opacity: 0.75;
}

.somniva-login-page .sl-input-wrap input:focus {
    border-color: var(--somniva-purple-light);
    background: var(--somniva-cream-light);
    box-shadow:
        0 0 0 4px rgba(101, 53, 138, 0.09),
        0 10px 25px rgba(54, 34, 65, 0.05);
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.somniva-login-page .sl-password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--somniva-muted);
    cursor: pointer;
    border-radius: 8px;
}

.somniva-login-page .sl-password-toggle:hover {
    color: var(--somniva-purple);
    background: rgba(101, 53, 138, 0.07);
}


/* =========================================================
   ERROR STATES
========================================================= */

.somniva-login-page .sl-error {
    display: block;
    min-height: 17px;
    margin-top: 6px;
    color: #d92d3f;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.somniva-login-page .sl-input-wrap.sl-invalid input {
    border-color: #d92d3f !important;
    box-shadow:
        0 0 0 3px rgba(217, 45, 63, 0.08);
}

.somniva-login-page .sl-input-wrap.sl-valid input {
    border-color: #3c9b72;
}


/* =========================================================
   REMEMBER
========================================================= */

.somniva-login-page .sl-form-options {
    margin-top: -2px;
    margin-bottom: 21px;
}

.somniva-login-page .sl-check-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--somniva-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.somniva-login-page .sl-check-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.somniva-login-page .sl-custom-check {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--somniva-border);
    border-radius: 5px;
    background: var(--somniva-cream);
    transition: 0.25s ease;
}

.somniva-login-page .sl-check-label input:checked + .sl-custom-check {
    background: var(--somniva-purple);
    border-color: var(--somniva-purple);
}

.somniva-login-page .sl-check-label input:checked + .sl-custom-check::after {
    content: "✓";
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   SUBMIT
========================================================= */

.somniva-login-page .sl-submit-button {
    width: 100%;
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 19px 0 22px;
    border: 0;
    border-radius: 13px;
    background: var(--somniva-purple);
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(101, 53, 138, 0.20);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.somniva-login-page .sl-submit-button:hover {
    transform: translateY(-3px);
    background: var(--somniva-purple-dark);
    box-shadow: 0 20px 38px rgba(101, 53, 138, 0.27);
}

.somniva-login-page .sl-submit-button i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.14);
}


/* =========================================================
   FORM STATUS
========================================================= */

.somniva-login-page .sl-form-status {
    min-height: 21px;
    margin-top: 8px;
    text-align: center;
    color: #3c9b72;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   DIVIDER
========================================================= */

.somniva-login-page .sl-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 17px;
}

.somniva-login-page .sl-divider span {
    height: 1px;
    flex: 1;
    background: var(--somniva-border);
}

.somniva-login-page .sl-divider em {
    flex: 0 0 auto;
    color: var(--somniva-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* =========================================================
   SOCIAL BUTTONS
========================================================= */

.somniva-login-page .sl-social-buttons {
    display: grid;
    gap: 10px;
}

.somniva-login-page .sl-social-button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid var(--somniva-border);
    border-radius: 11px;
    background: var(--somniva-cream-light);
    color: var(--somniva-text);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.somniva-login-page .sl-social-button:hover {
    transform: translateY(-2px);
    border-color: rgba(101, 53, 138, 0.27);
    background: var(--somniva-cream);
    box-shadow: 0 10px 24px rgba(54, 34, 65, 0.07);
}

.somniva-login-page .sl-social-button > i {
    font-size: 17px;
}

.somniva-login-page .sl-google-icon,
.somniva-login-page .sl-facebook-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.somniva-login-page .sl-google-icon {
    color: #4285f4;
    font-size: 15px;
}

.somniva-login-page .sl-facebook-icon {
    border-radius: 50%;
    background: #1877f2;
    color: #ffffff;
    font-size: 14px;
}


/* =========================================================
   ACCOUNT NOTE
========================================================= */

.somniva-login-page .sl-account-note {
    margin-top: 20px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--somniva-border);
    border-radius: 11px;
    background: rgba(101, 53, 138, 0.035);
}

.somniva-login-page .sl-account-note > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--somniva-purple);
}

.somniva-login-page .sl-account-note p {
    margin: 0;
    color: var(--somniva-muted);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   BACK HOME
========================================================= */

.somniva-login-page .sl-back-home {
    width: 100%;
    margin: 22px auto 0;
    min-height: 45px;
    border: 1px solid var(--somniva-border);
    border-radius: 13px;
    background: transparent;
    color: var(--somniva-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}

.somniva-login-page .sl-back-home:hover {
    background: var(--somniva-cream);
    border-color: var(--somniva-purple);
    transform: translateY(-1px);
    color: var(--somniva-purple-dark);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes slShellReveal {

    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes slBrandReveal {

    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes slImageReveal {

    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }

}


@keyframes slContentReveal {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes slFormReveal {

    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   LAPTOP — 1200px to 1399px
========================================================= */

@media (min-width: 1200px) and (max-width: 1399px) {

    .somniva-login-page .sl-page {
        padding: 32px 25px 38px;
    }

    .somniva-login-page .sl-login-shell {
        min-height: 720px;
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(400px, 0.95fr);
    }

    .somniva-login-page .sl-brand-side {
        padding: 36px 40px 32px;
    }

    .somniva-login-page .sl-form-inner {
        padding: 45px 48px;
    }

    .somniva-login-page .sl-image-wrap {
        height: 260px;
    }

}


/* =========================================================
   TABLET — 768px to 1199px
========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

    .somniva-login-page .sl-page {
        padding: 90px 22px 30px;
        align-items: flex-start;
    }

    .somniva-login-page .sl-login-shell {
        min-height: auto;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.92fr);
        border-radius: 28px;
    }

    .somniva-login-page .sl-brand-side {
        padding: 32px;
    }

    .somniva-login-page .sl-form-inner {
        padding: 40px 32px;
    }

    .somniva-login-page .sl-image-wrap {
        height: 235px;
    }

    .somniva-login-page .sl-benefits {
        grid-template-columns: 1fr;
    }

    .somniva-login-page .sl-benefit {
        flex-direction: row;
        align-items: center;
    }

    .somniva-login-page .sl-brand-footnote {
        margin-top: 25px;
    }

}


/* =========================================================
   MOBILE-LARGE — 576px to 767px
========================================================= */

@media (min-width: 576px) and (max-width: 767px) {

    .somniva-login-page .sl-page {
        padding: 92px 18px 25px;
        align-items: flex-start;
    }

    .somniva-login-page .sl-login-shell {
        display: block;
        min-height: auto;
        border-radius: 25px;
    }

    .somniva-login-page .sl-brand-side {
        padding: 30px;
    }

    .somniva-login-page .sl-form-side {
        border-left: 0;
        border-top: 1px solid var(--somniva-border);
    }

    .somniva-login-page .sl-form-inner {
        max-width: none;
        padding: 38px 30px;
    }

    .somniva-login-page .sl-image-wrap {
        height: 260px;
    }

    .somniva-login-page .sl-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .somniva-login-page .sl-benefit {
        padding: 12px;
    }

}


/* =========================================================
   MOBILE — 425px to 575px
========================================================= */

@media (max-width: 575px) {

    .somniva-login-page .sl-page {
        padding: 88px 14px 20px;
        align-items: flex-start;
    }

    .somniva-login-page .sl-login-shell {
        display: block;
        min-height: auto;
        border-radius: 22px;
    }

    .somniva-login-page .sl-brand-side {
        padding: 25px 22px 28px;
    }

    .somniva-login-page .sl-form-side {
        border-left: 0;
        border-top: 1px solid var(--somniva-border);
    }

    .somniva-login-page .sl-form-inner {
        padding: 34px 22px;
    }

    .somniva-login-page .sl-image-wrap {
        height: 225px;
        margin-top: 25px;
    }

    .somniva-login-page .sl-brand-copy h1 {
        font-size: 37px;
    }

    .somniva-login-page .sl-benefits {
        grid-template-columns: 1fr;
    }

    .somniva-login-page .sl-benefit {
        flex-direction: row;
        align-items: center;
    }

    .somniva-login-page .sl-top-controls {
        top: 18px;
        right: 17px;
    }

}


/* =========================================================
   MOBILE-S — 0 to 425px
========================================================= */

@media (max-width: 425px) {

    .somniva-login-page .sl-page {
        padding: 82px 10px 16px;
        align-items: flex-start;
    }

    .somniva-login-page .sl-login-shell {
        display: block;
        min-height: auto;
        border-radius: 19px;
    }

    .somniva-login-page .sl-brand-side {
        padding: 22px 17px 24px;
    }

    .somniva-login-page .sl-form-side {
        border-left: 0;
        border-top: 1px solid var(--somniva-border);
    }

    .somniva-login-page .sl-form-inner {
        padding: 30px 17px;
    }

    .somniva-login-page .sl-brand-mark {
        width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .somniva-login-page .sl-brand-name {
        font-size: 24px;
    }

    .somniva-login-page .sl-image-wrap {
        height: 190px;
        margin-top: 22px;
        border-radius: 18px;
    }

    .somniva-login-page .sl-image-label {
        left: 12px;
        bottom: 12px;
        font-size: 8px;
    }

    .somniva-login-page .sl-brand-copy {
        margin-top: 21px;
    }

    .somniva-login-page .sl-brand-copy h1 {
        font-size: 33px;
        letter-spacing: -0.8px;
    }

    .somniva-login-page .sl-brand-copy p {
        font-size: 14px;
    }

    .somniva-login-page .sl-benefits {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .somniva-login-page .sl-benefit {
        flex-direction: row;
        align-items: center;
        padding: 11px;
    }

    .somniva-login-page .sl-benefit div > span {
        font-size: 10px;
    }

    .somniva-login-page .sl-form-heading {
        margin-bottom: 25px;
    }

    .somniva-login-page .sl-form-heading h2 {
        font-size: 34px;
    }

    .somniva-login-page .sl-form-heading p {
        font-size: 14px;
    }

    .somniva-login-page .sl-input-wrap input {
        height: 53px;
        font-size: 14px;
    }

    .somniva-login-page .sl-submit-button {
        min-height: 54px;
    }

    .somniva-login-page .sl-top-controls {
        top: 14px;
        right: 11px;
        gap: 6px;
    }

    .somniva-login-page .sl-top-controls .somniva-icon-button,
    .somniva-login-page .sl-top-controls .somniva-rtl-button {
        width: 43px;
        height: 43px;
        min-width: 43px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .somniva-login-page .sl-login-shell,
    .somniva-login-page .sl-brand-logo,
    .somniva-login-page .sl-image-wrap,
    .somniva-login-page .sl-brand-copy,
    .somniva-login-page .sl-benefits,
    .somniva-login-page .sl-form-heading,
    .somniva-login-page .sl-login-form {
        animation: none;
    }

    .somniva-login-page .sl-main-image,
    .somniva-login-page .sl-benefit,
    .somniva-login-page .sl-social-button,
    .somniva-login-page .sl-submit-button {
        transition: none;
    }

}

/* =========================================================
   SOMNIVA SIGNUP PAGE
   APPEND ONLY
   ========================================================= */

.somniva-signup-page {
    min-height: 100vh;
    min-height: 100svh;
    background: var(--somniva-cream);
    color: var(--somniva-text);
    overflow-x: hidden;
}


/* =========================================================
   TOP CONTROLS
   ========================================================= */

.somniva-signup-page .somniva-signup-controls {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.somniva-signup-page .somniva-signup-theme-button,
.somniva-signup-page .somniva-signup-rtl-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--somniva-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--somniva-cream-light);
    color: var(--somniva-ink);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(54, 34, 65, 0.12);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.somniva-signup-page .somniva-signup-theme-button:hover,
.somniva-signup-page .somniva-signup-rtl-button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   MAIN
   ========================================================= */

.somniva-signup-page .somniva-signup-main {
    min-height: 100vh;
    min-height: 100svh;
    padding: 70px 70px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   MAIN CONTAINER
   BOTH SIDES SAME HEIGHT
   ========================================================= */

.somniva-signup-page .somniva-signup-container {
    width: min(1180px, 100%);
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--somniva-border);
    border-radius: var(--somniva-radius-lg);
    background: var(--somniva-cream-light);
    box-shadow: var(--somniva-shadow);
}


/* =========================================================
   LEFT IMAGE SECTION
   IMAGE FILLS ENTIRE SECTION
   ========================================================= */

.somniva-signup-page .somniva-signup-visual {
    position: relative;
    min-width: 0;
    min-height: 720px;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
}

.somniva-signup-page .somniva-signup-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    animation: somnivaSignupImageReveal 1s ease both;
}

.somniva-signup-page .somniva-signup-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(25, 13, 34, 0.18) 0%,
            rgba(25, 13, 34, 0.34) 45%,
            rgba(25, 13, 34, 0.88) 100%
        );
}

.somniva-signup-page .somniva-signup-brand {
    position: relative;
    z-index: 2;
    min-height: 720px;
    height: 100%;
    padding: 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.somniva-signup-page .somniva-signup-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.somniva-signup-page .somniva-signup-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--somniva-purple);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(101, 53, 138, 0.28);
}

.somniva-signup-page .somniva-signup-mark i {
    font-size: 18px;
}

.somniva-signup-page .somniva-signup-name {
    font-size: 34px;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.somniva-signup-page .somniva-signup-brand-content {
    max-width: 500px;
}

.somniva-signup-page .somniva-signup-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-signup-page .somniva-signup-brand-content h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.somniva-signup-page .somniva-signup-brand-content p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}


/* =========================================================
   RIGHT FORM SECTION
   ========================================================= */

.somniva-signup-page .somniva-signup-form-section {
    min-width: 0;
    min-height: 720px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--somniva-cream-light);
}

.somniva-signup-page .somniva-signup-form-inner {
    width: min(100%, 510px);
    padding: 48px 56px;
}

.somniva-signup-page .somniva-signup-heading {
    margin-bottom: 25px;
}

.somniva-signup-page .somniva-signup-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--somniva-purple);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.somniva-signup-page .somniva-signup-heading h2 {
    margin: 0 0 7px;
    color: var(--somniva-ink);
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.somniva-signup-page .somniva-signup-heading p {
    margin: 0;
    color: var(--somniva-muted);
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

.somniva-signup-page .somniva-signup-form {
    width: 100%;
}

.somniva-signup-page .somniva-signup-field {
    margin-bottom: 15px;
}

.somniva-signup-page .somniva-signup-field > label {
    display: block;
    margin-bottom: 7px;
    color: var(--somniva-ink);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.somniva-signup-page .somniva-signup-input-wrap {
    position: relative;
    width: 100%;
}

.somniva-signup-page .somniva-signup-input-wrap > i:first-child {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: var(--somniva-muted);
    font-size: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

.somniva-signup-page .somniva-signup-input-wrap input {
    width: 100%;
    min-height: 50px;
    padding: 12px 48px;
    border: 1px solid var(--somniva-border);
    border-radius: 13px;
    outline: none;
    background: var(--somniva-cream);
    color: var(--somniva-text);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.somniva-signup-page .somniva-signup-input-wrap input::placeholder {
    color: var(--somniva-muted);
    opacity: 0.75;
}

.somniva-signup-page .somniva-signup-input-wrap input:focus {
    border-color: var(--somniva-purple);
    box-shadow: 0 0 0 4px rgba(101, 53, 138, 0.10);
}

.somniva-signup-page .somniva-signup-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--somniva-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
}

.somniva-signup-page .somniva-signup-hint {
    display: block;
    margin-top: 5px;
    color: var(--somniva-muted);
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.somniva-signup-page .somniva-signup-input-wrap input.somniva-signup-invalid {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.08);
}

.somniva-signup-page .somniva-signup-error {
    display: block;
    min-height: 0;
    margin-top: 4px;
    color: #d93025;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.somniva-signup-page .somniva-signup-error:not(.somniva-signup-error-visible) {
    display: none;
}


/* =========================================================
   CREATE ACCOUNT BUTTON
   ========================================================= */

.somniva-signup-page .somniva-signup-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 5px;
    padding: 13px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--somniva-purple);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(101, 53, 138, 0.20);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.somniva-signup-page .somniva-signup-submit:hover {
    background: var(--somniva-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(101, 53, 138, 0.26);
}


/* =========================================================
   LOGIN LINK
   ========================================================= */

.somniva-signup-page .somniva-signup-login {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--somniva-muted);
    font-size: 14px;
    line-height: 1.5;
}

.somniva-signup-page .somniva-signup-login a {
    color: var(--somniva-purple);
    font-weight: 800;
    text-decoration: none;
    transition: color 0.25s ease;
}

.somniva-signup-page .somniva-signup-login a:hover {
    color: var(--somniva-purple-dark);
    text-decoration: underline;
}


/* =========================================================
   BACK HOME BUTTON
   ========================================================= */

.somniva-signup-page .somniva-signup-back {
    width: 100%;
    margin-top: 11px;
    min-height: 45px;
    border: 1px solid var(--somniva-border);
    border-radius: 13px;
    background: transparent;
    color: var(--somniva-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.somniva-signup-page .somniva-signup-back:hover {
    background: var(--somniva-cream);
    border-color: var(--somniva-purple);
    transform: translateY(-1px);
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes somnivaSignupImageReveal {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   LAPTOP-L / LARGE DESKTOP
   ========================================================= */

@media (min-width: 1440px) {

    .somniva-signup-page .somniva-signup-container {
        width: min(1260px, 100%);
        min-height: 750px;
    }

    .somniva-signup-page .somniva-signup-visual,
    .somniva-signup-page .somniva-signup-form-section,
    .somniva-signup-page .somniva-signup-brand {
        min-height: 750px;
    }

    .somniva-signup-page .somniva-signup-brand {
        padding: 60px;
    }

    .somniva-signup-page .somniva-signup-form-inner {
        padding: 55px 64px;
    }
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .somniva-signup-page .somniva-signup-main {
        padding: 65px 35px 40px;
    }

    .somniva-signup-page .somniva-signup-container {
        min-height: 680px;
    }

    .somniva-signup-page .somniva-signup-visual,
    .somniva-signup-page .somniva-signup-form-section,
    .somniva-signup-page .somniva-signup-brand {
        min-height: 680px;
    }

    .somniva-signup-page .somniva-signup-brand {
        padding: 42px;
    }

    .somniva-signup-page .somniva-signup-form-inner {
        padding: 40px 42px;
    }

    .somniva-signup-page .somniva-signup-brand-content h1 {
        font-size: 44px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .somniva-signup-page .somniva-signup-main {
        padding: 75px 24px 35px;
    }

    .somniva-signup-page .somniva-signup-container {
        min-height: 650px;
        grid-template-columns: 0.9fr 1.1fr;
    }

    .somniva-signup-page .somniva-signup-visual,
    .somniva-signup-page .somniva-signup-form-section,
    .somniva-signup-page .somniva-signup-brand {
        min-height: 650px;
    }

    .somniva-signup-page .somniva-signup-brand {
        padding: 35px;
    }

    .somniva-signup-page .somniva-signup-logo {
        font-size: 30px;
    }

    .somniva-signup-page .somniva-signup-brand-content h1 {
        font-size: 38px;
    }

    .somniva-signup-page .somniva-signup-brand-content p {
        font-size: 15px;
    }

    .somniva-signup-page .somniva-signup-form-inner {
        padding: 35px 38px;
    }

    .somniva-signup-page .somniva-signup-heading h2 {
        font-size: 31px;
    }
}


/* =========================================================
   MOBILE-L / MOBILE-M / MOBILE-S
   ========================================================= */

@media (max-width: 767px) {

    .somniva-signup-page .somniva-signup-controls {
        top: 14px;
        right: 15px;
        gap: 7px;
    }

    .somniva-signup-page .somniva-signup-theme-button,
    .somniva-signup-page .somniva-signup-rtl-button {
        width: 40px;
        height: 40px;
    }

    .somniva-signup-page .somniva-signup-main {
        min-height: 100vh;
        min-height: 100svh;
        padding: 70px 15px 25px;
        align-items: flex-start;
    }

    .somniva-signup-page .somniva-signup-container {
        width: 100%;
        min-height: auto;
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .somniva-signup-page .somniva-signup-visual {
        min-height: 300px;
        height: 300px;
    }

    .somniva-signup-page .somniva-signup-brand {
        min-height: 300px;
        height: 300px;
        padding: 28px 25px;
    }

    .somniva-signup-page .somniva-signup-logo {
        font-size: 29px;
    }

    .somniva-signup-page .somniva-signup-brand-content {
        max-width: 100%;
    }

    .somniva-signup-page .somniva-signup-eyebrow {
        margin-bottom: 8px;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .somniva-signup-page .somniva-signup-brand-content h1 {
        margin-bottom: 8px;
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .somniva-signup-page .somniva-signup-brand-content p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.55;
    }

    .somniva-signup-page .somniva-signup-form-section {
        min-height: auto;
        height: auto;
    }

    .somniva-signup-page .somniva-signup-form-inner {
        width: 100%;
        padding: 34px 25px 32px;
    }

    .somniva-signup-page .somniva-signup-heading {
        margin-bottom: 22px;
    }

    .somniva-signup-page .somniva-signup-heading h2 {
        font-size: 29px;
    }

    .somniva-signup-page .somniva-signup-heading p {
        font-size: 14px;
    }

    .somniva-signup-page .somniva-signup-field {
        margin-bottom: 14px;
    }

    .somniva-signup-page .somniva-signup-field > label {
        font-size: 14px;
    }

    .somniva-signup-page .somniva-signup-input-wrap input {
        min-height: 50px;
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE-S
   ========================================================= */

@media (max-width: 380px) {

    .somniva-signup-page .somniva-signup-main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .somniva-signup-page .somniva-signup-container {
        border-radius: 20px;
    }

    .somniva-signup-page .somniva-signup-visual {
        min-height: 275px;
        height: 275px;
    }

    .somniva-signup-page .somniva-signup-brand {
        min-height: 275px;
        height: 275px;
        padding: 23px 20px;
    }

    .somniva-signup-page .somniva-signup-logo {
        font-size: 26px;
    }

    .somniva-signup-page .somniva-signup-brand-content h1 {
        font-size: 28px;
    }

    .somniva-signup-page .somniva-signup-brand-content p {
        font-size: 13px;
    }

    .somniva-signup-page .somniva-signup-form-inner {
        padding: 29px 20px;
    }

    .somniva-signup-page .somniva-signup-heading h2 {
        font-size: 27px;
    }

    .somniva-signup-page .somniva-signup-input-wrap input {
        padding-left: 44px;
        padding-right: 42px;
    }
}

/* =========================================================
   SOMNIVA 404 PAGE
   APPEND ONLY — NO GLOBAL STYLES
========================================================= */

.somniva-404-page .sl-top-controls {
    position: fixed;
    top: 24px;
    right: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 9px;
}

.somniva-404-page .sl-top-controls .somniva-icon-button,
.somniva-404-page .sl-top-controls .somniva-rtl-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--somniva-border);
    background: rgba(255, 250, 241, 0.82);
    color: var(--somniva-ink);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.somniva-404-page .sl-top-controls .somniva-icon-button:hover,
.somniva-404-page .sl-top-controls .somniva-rtl-button:hover {
    transform: translateY(-3px);
    color: var(--somniva-purple);
    border-color: rgba(101, 53, 138, 0.35);
    box-shadow:
        0 12px 30px rgba(54, 34, 65, 0.12),
        0 0 25px rgba(138, 90, 181, 0.10);
}

.somniva-404-page .somniva-404-main {
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
    background: var(--somniva-cream);
    color: var(--somniva-text);
}


/* =========================================================
   MAIN 404 HERO
========================================================= */

.somniva-404-page .somniva-404-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    padding: 90px 24px 100px;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(101, 53, 138, 0.10),
            transparent 35%
        ),
        var(--somniva-cream);
}


/* =========================================================
   AMBIENT GLOW
========================================================= */

.somniva-404-page .somniva-404-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    z-index: -1;
}

.somniva-404-page .somniva-404-glow-one {
    width: 420px;
    height: 420px;
    top: 8%;
    left: 7%;
    background: rgba(138, 90, 181, 0.10);
    animation: somniva404GlowOne 7s ease-in-out infinite;
}

.somniva-404-page .somniva-404-glow-two {
    width: 500px;
    height: 500px;
    right: 3%;
    bottom: -18%;
    background: rgba(184, 139, 74, 0.08);
    animation: somniva404GlowTwo 8s ease-in-out infinite;
}


/* =========================================================
   FLOATING STARS
========================================================= */

.somniva-404-page .somniva-404-star {
    position: absolute;
    color: var(--somniva-purple-light);
    font-size: 22px;
    opacity: 0.45;
    pointer-events: none;
}

.somniva-404-page .somniva-404-star-one {
    top: 20%;
    left: 16%;
    animation: somniva404StarFloat 3.8s ease-in-out infinite;
}

.somniva-404-page .somniva-404-star-two {
    top: 29%;
    right: 17%;
    font-size: 17px;
    animation: somniva404StarFloat 4.6s ease-in-out infinite 0.5s;
}

.somniva-404-page .somniva-404-star-three {
    bottom: 25%;
    left: 20%;
    font-size: 15px;
    animation: somniva404StarFloat 4.2s ease-in-out infinite 1s;
}

.somniva-404-page .somniva-404-star-four {
    right: 21%;
    bottom: 20%;
    font-size: 20px;
    animation: somniva404StarFloat 5s ease-in-out infinite 0.8s;
}


/* =========================================================
   CONTENT
========================================================= */

.somniva-404-page .somniva-404-content {
    width: min(850px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* =========================================================
   CUTE ILLUSTRATION
========================================================= */

.somniva-404-page .somniva-404-illustration {
    position: relative;
    width: 300px;
    height: 225px;
    margin-bottom: 4px;
}

.somniva-404-page .somniva-404-moon {
    position: absolute;
    width: 155px;
    height: 155px;
    left: 50%;
    top: 26px;
    border-radius: 50%;
    transform: translateX(-50%);
    background:
        radial-gradient(
            circle at 34% 28%,
            #fffdf8 0 8%,
            transparent 9%
        ),
        linear-gradient(
            145deg,
            #d4b5e5,
            #8a5ab5 75%
        );
    box-shadow:
        0 25px 50px rgba(101, 53, 138, 0.22),
        inset -14px -15px 0 rgba(69, 32, 95, 0.10);
    animation: somniva404MoonFloat 3.5s ease-in-out infinite;
}

.somniva-404-page .somniva-404-moon::before,
.somniva-404-page .somniva-404-moon::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.somniva-404-page .somniva-404-moon::before {
    width: 25px;
    height: 25px;
    top: 35px;
    right: 25px;
}

.somniva-404-page .somniva-404-moon::after {
    width: 15px;
    height: 15px;
    bottom: 35px;
    left: 27px;
}


/* =========================================================
   MOON FACE
========================================================= */

.somniva-404-page .somniva-404-moon-face {
    position: absolute;
    inset: 0;
}

.somniva-404-page .somniva-404-eye {
    position: absolute;
    top: 69px;
    width: 7px;
    height: 11px;
    border-radius: 50%;
    background: #45205f;
}

.somniva-404-page .somniva-404-eye.eye-left {
    left: 51px;
}

.somniva-404-page .somniva-404-eye.eye-right {
    right: 51px;
}

.somniva-404-page .somniva-404-cheek {
    position: absolute;
    top: 88px;
    width: 18px;
    height: 9px;
    border-radius: 50%;
    background: rgba(243, 182, 162, 0.55);
}

.somniva-404-page .somniva-404-cheek.cheek-left {
    left: 36px;
}

.somniva-404-page .somniva-404-cheek.cheek-right {
    right: 36px;
}

.somniva-404-page .somniva-404-mouth {
    position: absolute;
    left: 50%;
    top: 87px;
    width: 12px;
    height: 7px;
    border-bottom: 2px solid #45205f;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%);
}


/* =========================================================
   MOON STAR
========================================================= */

.somniva-404-page .somniva-404-moon-star {
    position: absolute;
    top: 13px;
    right: 9px;
    color: #fff9ed;
    font-size: 24px;
    animation: somniva404StarPulse 2.4s ease-in-out infinite;
}


/* =========================================================
   CLOUDS
========================================================= */

.somniva-404-page .somniva-404-cloud {
    position: absolute;
    height: 24px;
    border-radius: 50px;
    background: rgba(255, 250, 241, 0.92);
    box-shadow: 0 10px 25px rgba(54, 34, 65, 0.08);
}

.somniva-404-page .somniva-404-cloud::before,
.somniva-404-page .somniva-404-cloud::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: inherit;
}

.somniva-404-page .somniva-404-cloud::before {
    width: 34px;
    height: 34px;
    left: 18px;
    bottom: 5px;
}

.somniva-404-page .somniva-404-cloud::after {
    width: 28px;
    height: 28px;
    right: 17px;
    bottom: 4px;
}

.somniva-404-page .cloud-one {
    width: 82px;
    left: 19px;
    bottom: 45px;
    animation: somniva404CloudFloat 4s ease-in-out infinite;
}

.somniva-404-page .cloud-two {
    width: 65px;
    right: 17px;
    top: 75px;
    transform: scale(0.82);
    opacity: 0.72;
    animation: somniva404CloudFloat 5s ease-in-out infinite 0.6s;
}


/* =========================================================
   SLEEPING Zs
========================================================= */

.somniva-404-page .somniva-404-sleep-z {
    position: absolute;
    color: var(--somniva-purple);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1;
}

.somniva-404-page .z-one {
    right: 47px;
    top: 30px;
    font-size: 20px;
    animation: somniva404ZFloat 2.8s ease-in-out infinite;
}

.somniva-404-page .z-two {
    right: 22px;
    top: 3px;
    font-size: 28px;
    opacity: 0.75;
    animation: somniva404ZFloat 3s ease-in-out infinite 0.3s;
}

.somniva-404-page .z-three {
    right: -1px;
    top: -31px;
    font-size: 37px;
    opacity: 0.48;
    animation: somniva404ZFloat 3.2s ease-in-out infinite 0.7s;
}


/* =========================================================
   FEATHERS
========================================================= */

.somniva-404-page .somniva-404-feather {
    position: absolute;
    color: var(--somniva-gold);
    font-size: 27px;
    opacity: 0.7;
}

.somniva-404-page .feather-left {
    left: 4px;
    top: 18px;
    transform: rotate(-25deg);
    animation: somniva404FeatherLeft 4.5s ease-in-out infinite;
}

.somniva-404-page .feather-right {
    right: 2px;
    bottom: 23px;
    transform: rotate(35deg);
    animation: somniva404FeatherRight 4s ease-in-out infinite;
}


/* =========================================================
   404 NUMBER
========================================================= */

.somniva-404-page .somniva-404-number {
    margin-top: -8px;
    color: var(--somniva-purple-dark);
    font-family: "Playfair Display", serif;
    font-size: clamp(78px, 12vw, 142px);
    line-height: 0.85;
    font-weight: 700;
    letter-spacing: -7px;
    text-shadow:
        0 15px 35px rgba(101, 53, 138, 0.12);
    animation: somniva404NumberReveal 0.8s ease both;
}


/* =========================================================
   TEXT
========================================================= */

.somniva-404-page .somniva-404-kicker {
    margin-top: 24px;
    color: var(--somniva-purple);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 2px;
}

.somniva-404-page .somniva-404-content h1 {
    max-width: 720px;
    margin: 9px auto 10px;
    color: var(--somniva-ink);
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1px;
}

.somniva-404-page .somniva-404-content > p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--somniva-muted);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
}


/* =========================================================
   BUTTONS
========================================================= */

.somniva-404-page .somniva-404-actions {
    margin-top: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.somniva-404-page .somniva-404-primary,
.somniva-404-page .somniva-404-secondary {
    min-height: 50px;
    padding: 12px 21px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.somniva-404-page .somniva-404-primary {
    background: var(--somniva-purple);
    color: #ffffff;
    box-shadow: 0 13px 30px rgba(101, 53, 138, 0.20);
}

.somniva-404-page .somniva-404-secondary {
    border: 1px solid var(--somniva-border);
    background: var(--somniva-cream-light);
    color: var(--somniva-text);
}

.somniva-404-page .somniva-404-primary:hover,
.somniva-404-page .somniva-404-secondary:hover {
    transform: translateY(-3px);
}

.somniva-404-page .somniva-404-primary:hover {
    background: var(--somniva-purple-dark);
}

.somniva-404-page .somniva-404-secondary:hover {
    border-color: var(--somniva-purple);
}


/* =========================================================
   SMALL TIP
========================================================= */

.somniva-404-page .somniva-404-tip {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--somniva-muted);
    font-size: 13px;
    font-weight: 600;
}

.somniva-404-page .somniva-404-tip i {
    color: var(--somniva-purple);
    font-size: 16px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes somniva404MoonFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateX(-50%) translateY(-10px) rotate(2deg);
    }
}

@keyframes somniva404CloudFloat {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(13px);
    }
}

@keyframes somniva404ZFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.55;
    }

    50% {
        transform: translateY(-9px) scale(1.08);
        opacity: 1;
    }
}

@keyframes somniva404StarFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(20deg);
    }
}

@keyframes somniva404StarPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes somniva404FeatherLeft {

    0%,
    100% {
        transform: translate(0, 0) rotate(-25deg);
    }

    50% {
        transform: translate(-10px, -15px) rotate(-8deg);
    }
}

@keyframes somniva404FeatherRight {

    0%,
    100% {
        transform: translate(0, 0) rotate(35deg);
    }

    50% {
        transform: translate(10px, -14px) rotate(58deg);
    }
}

@keyframes somniva404GlowOne {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 20px) scale(1.1);
    }
}

@keyframes somniva404GlowTwo {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-25px, -20px) scale(1.08);
    }
}

@keyframes somniva404NumberReveal {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LAPTOP-L / DESKTOP
========================================================= */

@media (min-width: 1440px) {

    .somniva-404-page .somniva-404-hero {
        padding-top: 95px;
        padding-bottom: 105px;
    }

    .somniva-404-page .somniva-404-illustration {
        transform: scale(1.05);
        margin-bottom: 8px;
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .somniva-404-page .somniva-404-hero {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .somniva-404-page .somniva-404-illustration {
        transform: scale(0.94);
        margin-bottom: -2px;
    }

    .somniva-404-page .somniva-404-content > p {
        font-size: 16px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .somniva-404-page .somniva-404-hero {
        min-height: calc(100svh - 74px);
        padding: 75px 25px 85px;
    }

    .somniva-404-page .somniva-404-illustration {
        transform: scale(0.92);
        margin-bottom: -5px;
    }

    .somniva-404-page .somniva-404-number {
        font-size: 110px;
    }

    .somniva-404-page .somniva-404-content h1 {
        font-size: 43px;
    }

    .somniva-404-page .somniva-404-content > p {
        font-size: 16px;
    }
}


/* =========================================================
   MOBILE-L / MOBILE-M / MOBILE-S
========================================================= */

@media (max-width: 767px) {

    .somniva-404-page .somniva-404-main {
        min-height: auto;
    }

    .somniva-404-page .somniva-404-hero {
        min-height: calc(100svh - 74px);
        padding: 55px 18px 75px;
    }

    .somniva-404-page .somniva-404-illustration {
        width: 270px;
        height: 205px;
        transform: scale(0.88);
        margin-top: -5px;
        margin-bottom: -15px;
    }

    .somniva-404-page .somniva-404-number {
        font-size: clamp(76px, 24vw, 105px);
        letter-spacing: -5px;
    }

    .somniva-404-page .somniva-404-kicker {
        margin-top: 20px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .somniva-404-page .somniva-404-content h1 {
        max-width: 450px;
        margin-top: 8px;
        font-size: clamp(30px, 8vw, 40px);
        letter-spacing: -0.7px;
    }

    .somniva-404-page .somniva-404-content > p {
        max-width: 450px;
        font-size: 14px;
        line-height: 1.65;
    }

    .somniva-404-page .somniva-404-actions {
        width: 100%;
        max-width: 400px;
        flex-direction: column;
        gap: 10px;
    }

    .somniva-404-page .somniva-404-primary,
    .somniva-404-page .somniva-404-secondary {
        width: 100%;
        min-height: 50px;
    }

    .somniva-404-page .somniva-404-tip {
        max-width: 330px;
        margin-top: 20px;
        font-size: 12px;
        line-height: 1.5;
    }

    .somniva-404-page .somniva-404-star-one {
        left: 7%;
    }

    .somniva-404-page .somniva-404-star-two {
        right: 8%;
    }

    .somniva-404-page .somniva-404-star-three {
        left: 9%;
    }

    .somniva-404-page .somniva-404-star-four {
        right: 10%;
    }
}


/* =========================================================
   MOBILE-S
========================================================= */

@media (max-width: 380px) {

    .somniva-404-page .somniva-404-hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .somniva-404-page .somniva-404-illustration {
        transform: scale(0.76);
        margin-bottom: -28px;
    }

    .somniva-404-page .somniva-404-number {
        font-size: 78px;
    }

    .somniva-404-page .somniva-404-kicker {
        font-size: 9px;
    }

    .somniva-404-page .somniva-404-content h1 {
        font-size: 29px;
    }

    .somniva-404-page .somniva-404-content > p {
        font-size: 13px;
    }

    .somniva-404-page .somniva-404-tip {
        font-size: 11px;
    }
}

/* =========================================================
   SOMNIVA — COMING SOON PAGE
   All styles are scoped to .somniva-comingsoon-page
========================================================= */


/* =========================================================
   PAGE FOUNDATION
========================================================= */

.somniva-comingsoon-page {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(101, 53, 138, 0.13),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--somniva-cream-light),
            var(--somniva-cream)
        );

    color: var(--somniva-text);
}


/* =========================================================
   TOP CONTROLS
========================================================= */

.somniva-comingsoon-page .scs-controls {
    position: fixed;
    top: 22px;
    right: 26px;

    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 10px;
}


/* Theme button */

.somniva-comingsoon-page .scs-theme-button {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--somniva-border);
    border-radius: 50%;

    background: rgba(255, 250, 241, 0.82);
    color: var(--somniva-ink);

    box-shadow:
        0 10px 30px rgba(54, 34, 65, 0.10);

    backdrop-filter: blur(12px);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.somniva-comingsoon-page .scs-theme-button:hover {
    transform: translateY(-3px) rotate(8deg);

    background: var(--somniva-purple);
    color: #ffffff;
}


.somniva-comingsoon-page .scs-theme-button i {
    font-size: 17px;
}


/* RTL button */

.somniva-comingsoon-page .scs-rtl-button {
    min-width: 44px;
    height: 44px;

    padding: 0 12px;

    border: 1px solid var(--somniva-border);
    border-radius: 22px;

    background: rgba(255, 250, 241, 0.82);
    color: var(--somniva-ink);

    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;

    box-shadow:
        0 10px 30px rgba(54, 34, 65, 0.10);

    backdrop-filter: blur(12px);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.somniva-comingsoon-page .scs-rtl-button:hover {
    transform: translateY(-3px);

    background: var(--somniva-purple);
    color: #ffffff;
}


/* =========================================================
   MAIN AREA
========================================================= */

.somniva-comingsoon-page .scs-main {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;

    padding:
        100px
        30px
        70px;

    overflow: hidden;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.somniva-comingsoon-page .scs-content {
    position: relative;

    z-index: 10;

    width: min(900px, 100%);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    animation:
        scsContentReveal 1s ease both;
}


/* =========================================================
   LOGO
========================================================= */

.somniva-comingsoon-page .scs-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 38px;

    color: var(--somniva-ink);

    text-decoration: none;

    animation:
        scsLogoDrop 0.8s ease both;
}


.somniva-comingsoon-page .scs-logo-mark {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    color: #ffffff;

    box-shadow:
        0 10px 35px rgba(101, 53, 138, 0.28);
}


.somniva-comingsoon-page .scs-logo-mark i {
    font-size: 18px;
}


.somniva-comingsoon-page .scs-logo-text {
    font-family: "Playfair Display", serif;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.7px;
}


/* =========================================================
   KICKER
========================================================= */

.somniva-comingsoon-page .scs-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--somniva-purple);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
    line-height: 1.4;

    animation:
        scsFadeUp 0.9s 0.15s ease both;
}


/* =========================================================
   MAIN TITLE
========================================================= */

.somniva-comingsoon-page .scs-content h1 {
    margin: 0;

    color: var(--somniva-ink);

    font-family: "Playfair Display", serif;
    font-size: clamp(68px, 9vw, 132px);
    font-weight: 700;

    line-height: 0.92;
    letter-spacing: -4px;

    animation:
        scsTitleReveal 1s 0.2s cubic-bezier(.2,.8,.2,1) both;
}


.somniva-comingsoon-page .scs-content h1 span {
    display: block;

    color: var(--somniva-purple);

    font-style: italic;

    text-shadow:
        0 12px 40px rgba(101, 53, 138, 0.16);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.somniva-comingsoon-page .scs-description {
    width: min(600px, 100%);

    margin: 30px auto 0;

    color: var(--somniva-muted);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.75;

    animation:
        scsFadeUp 0.9s 0.35s ease both;
}


/* =========================================================
   DIVIDER
========================================================= */

.somniva-comingsoon-page .scs-divider {
    width: min(340px, 75%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin: 27px 0 25px;

    animation:
        scsFadeUp 0.9s 0.45s ease both;
}


.somniva-comingsoon-page .scs-divider span {
    height: 1px;
    flex: 1;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--somniva-purple-light)
        );
}


.somniva-comingsoon-page .scs-divider span:last-child {
    background:
        linear-gradient(
            90deg,
            var(--somniva-purple-light),
            transparent
        );
}


.somniva-comingsoon-page .scs-divider i {
    color: var(--somniva-gold);

    font-size: 15px;

    animation:
        scsMoonPulse 2.5s ease-in-out infinite;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.somniva-comingsoon-page .scs-countdown {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    animation:
        scsCountdownReveal 1s 0.55s ease both;
}


.somniva-comingsoon-page .scs-time {
    min-width: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


.somniva-comingsoon-page .scs-time strong {
    display: block;

    color: var(--somniva-ink);

    font-size: 45px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -1.5px;

    font-variant-numeric: tabular-nums;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}


.somniva-comingsoon-page .scs-time:hover strong {
    color: var(--somniva-purple);

    transform: translateY(-4px);
}


.somniva-comingsoon-page .scs-time span {
    margin-top: 9px;

    color: var(--somniva-muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.somniva-comingsoon-page .scs-time-separator {
    color: var(--somniva-purple);

    font-size: 34px;
    font-weight: 700;

    margin-top: -17px;

    animation:
        scsSeparatorPulse 1.5s ease-in-out infinite;
}


/* =========================================================
   COUNTDOWN LABEL
========================================================= */

.somniva-comingsoon-page .scs-countdown-label {
    margin: 22px 0 0;

    color: var(--somniva-muted);

    font-size: 14px;
    font-weight: 600;

    animation:
        scsFadeUp 0.9s 0.7s ease both;
}


/* =========================================================
   HOME BUTTON
========================================================= */

.somniva-comingsoon-page .scs-home-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 30px;

    padding: 15px 24px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--somniva-purple),
            var(--somniva-purple-dark)
        );

    border-radius: 14px;

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(101, 53, 138, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.somniva-comingsoon-page .scs-home-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}


.somniva-comingsoon-page .scs-home-button:hover {
    color: #ffffff;

    transform: translateY(-4px);

    box-shadow:
        0 20px 50px rgba(101, 53, 138, 0.35);
}


.somniva-comingsoon-page .scs-home-button:hover::before {
    left: 130%;
}


.somniva-comingsoon-page .scs-home-button i {
    transition:
        transform 0.3s ease;
}


.somniva-comingsoon-page .scs-home-button:hover i {
    transform:
        translate(3px, -3px);
}


/* =========================================================
   DECORATIVE MOON
========================================================= */

.somniva-comingsoon-page .scs-moon {
    position: absolute;

    width: 520px;
    height: 520px;

    right: -190px;
    top: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 35%,
            rgba(138, 90, 181, 0.20),
            rgba(101, 53, 138, 0.06) 50%,
            transparent 72%
        );

    z-index: -2;

    animation:
        scsOrbit 12s ease-in-out infinite;
}


.somniva-comingsoon-page .scs-moon::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: 135px;
    left: 135px;

    border-radius: 50%;

    border: 1px solid rgba(101, 53, 138, 0.12);

    box-shadow:
        0 0 70px rgba(101, 53, 138, 0.10);
}


/* =========================================================
   STARS
========================================================= */

.somniva-comingsoon-page .scs-star {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--somniva-purple-light);

    box-shadow:
        0 0 16px rgba(138, 90, 181, 0.65);

    z-index: -1;

    animation:
        scsTwinkle 2.8s ease-in-out infinite;
}


.somniva-comingsoon-page .scs-star-one {
    top: 22%;
    left: 15%;
}


.somniva-comingsoon-page .scs-star-two {
    top: 32%;
    right: 18%;

    animation-delay: 0.7s;
}


.somniva-comingsoon-page .scs-star-three {
    bottom: 23%;
    left: 21%;

    animation-delay: 1.2s;
}


.somniva-comingsoon-page .scs-star-four {
    bottom: 17%;
    right: 13%;

    animation-delay: 1.8s;
}


/* =========================================================
   FEATHERS
========================================================= */

.somniva-comingsoon-page .scs-feather {
    position: absolute;

    color: var(--somniva-purple-light);

    opacity: 0.28;

    z-index: -1;

    animation:
        scsFeatherFloat 6s ease-in-out infinite;
}


.somniva-comingsoon-page .scs-feather i {
    font-size: 42px;
}


.somniva-comingsoon-page .scs-feather-one {
    left: 10%;
    top: 38%;

    transform: rotate(-28deg);
}


.somniva-comingsoon-page .scs-feather-two {
    right: 8%;
    bottom: 30%;

    transform: rotate(25deg);

    animation-delay: 2s;
}


/* =========================================================
   BOTTOM GLOW
========================================================= */

.somniva-comingsoon-page .scs-bottom-glow {
    position: absolute;

    width: 700px;
    height: 260px;

    left: 50%;
    bottom: -210px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(101, 53, 138, 0.20),
            transparent 70%
        );

    filter: blur(20px);

    z-index: -1;

    animation:
        scsBottomGlow 5s ease-in-out infinite;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes scsContentReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes scsLogoDrop {

    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes scsFadeUp {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes scsTitleReveal {

    from {
        opacity: 0;
        transform: scale(0.88) translateY(25px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }

}


@keyframes scsCountdownReveal {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes scsMoonPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }

}


@keyframes scsSeparatorPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }

}


@keyframes scsOrbit {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-25px, 22px);
    }

}


@keyframes scsTwinkle {

    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

}


@keyframes scsFeatherFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-28deg);
    }

    50% {
        transform: translateY(-25px) rotate(-18deg);
    }

}


@keyframes scsBottomGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .somniva-comingsoon-page .scs-main {
        padding-top: 90px;
    }

    .somniva-comingsoon-page .scs-content h1 {
        font-size: clamp(65px, 10vw, 110px);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .somniva-comingsoon-page .scs-main {
        padding:
            100px 28px 60px;
    }

    .somniva-comingsoon-page .scs-description {
        font-size: 17px;
    }

    .somniva-comingsoon-page .scs-countdown {
        gap: 14px;
    }

    .somniva-comingsoon-page .scs-time {
        min-width: 82px;
    }

    .somniva-comingsoon-page .scs-time strong {
        font-size: 40px;
    }

}


/* =========================================================
   MOBILE LARGE
========================================================= */

@media (max-width: 767px) {

    .somniva-comingsoon-page .scs-controls {
        top: 15px;
        right: 16px;
        gap: 7px;
    }

    .somniva-comingsoon-page .scs-theme-button,
    .somniva-comingsoon-page .scs-rtl-button {
        width: 40px;
        height: 40px;
    }

    .somniva-comingsoon-page .scs-main {
        padding:
            95px 20px 55px;
    }

    .somniva-comingsoon-page .scs-logo {
        margin-bottom: 28px;
    }

    .somniva-comingsoon-page .scs-kicker {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .somniva-comingsoon-page .scs-content h1 {
        font-size: clamp(58px, 17vw, 82px);
        letter-spacing: -3px;
    }

    .somniva-comingsoon-page .scs-description {
        margin-top: 25px;
        font-size: 16px;
    }

    .somniva-comingsoon-page .scs-countdown {
        gap: 7px;
    }

    .somniva-comingsoon-page .scs-time {
        min-width: 65px;
    }

    .somniva-comingsoon-page .scs-time strong {
        font-size: 31px;
    }

    .somniva-comingsoon-page .scs-time span {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .somniva-comingsoon-page .scs-time-separator {
        font-size: 24px;
    }

    .somniva-comingsoon-page .scs-moon {
        width: 360px;
        height: 360px;
        right: -190px;
        top: -130px;
    }

    .somniva-comingsoon-page .scs-moon::after {
        width: 160px;
        height: 160px;
        top: 100px;
        left: 100px;
    }

    .somniva-comingsoon-page .scs-feather i {
        font-size: 32px;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 575px) {

    .somniva-comingsoon-page .scs-main {
        padding:
            90px 16px 45px;
    }

    .somniva-comingsoon-page .scs-logo-text {
        font-size: 25px;
    }

    .somniva-comingsoon-page .scs-logo-mark {
        width: 39px;
        height: 39px;
    }

    .somniva-comingsoon-page .scs-content h1 {
        font-size: 58px;
        line-height: 0.95;
    }

    .somniva-comingsoon-page .scs-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .somniva-comingsoon-page .scs-divider {
        margin: 23px 0;
    }

    .somniva-comingsoon-page .scs-countdown {
        width: 100%;
        gap: 2px;
    }

    .somniva-comingsoon-page .scs-time {
        min-width: 0;
        flex: 1;
    }

    .somniva-comingsoon-page .scs-time strong {
        font-size: 26px;
    }

    .somniva-comingsoon-page .scs-time span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .somniva-comingsoon-page .scs-time-separator {
        font-size: 19px;
        margin-top: -12px;
    }

    .somniva-comingsoon-page .scs-home-button {
        width: min(220px, 100%);
        margin-top: 26px;
    }

    .somniva-comingsoon-page .scs-star-one {
        left: 7%;
    }

    .somniva-comingsoon-page .scs-star-two {
        right: 8%;
    }

    .somniva-comingsoon-page .scs-feather-one {
        left: 3%;
    }

    .somniva-comingsoon-page .scs-feather-two {
        right: 2%;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .somniva-comingsoon-page .scs-controls {
        right: 10px;
    }

    .somniva-comingsoon-page .scs-theme-button,
    .somniva-comingsoon-page .scs-rtl-button {
        width: 36px;
        height: 36px;
    }

    .somniva-comingsoon-page .scs-logo-text {
        font-size: 23px;
    }

    .somniva-comingsoon-page .scs-content h1 {
        font-size: 52px;
    }

    .somniva-comingsoon-page .scs-description {
        font-size: 14px;
    }

    .somniva-comingsoon-page .scs-time strong {
        font-size: 23px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .somniva-comingsoon-page *,
    .somniva-comingsoon-page *::before,
    .somniva-comingsoon-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

  #svh1-top-mattresses .svh1-heading {
            width: min(100%, 980px);
            margin: 0 auto 65px;
            text-align: center;
        }

        #svh1-top-mattresses .svh1-heading h2,
        #svh1-top-mattresses .svh1-heading p {
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }

        #svh1-top-mattresses .svh1-heading p {
            max-width: 760px;
        }

        @media (max-width: 767px) {
            #svh1-top-mattresses .svh1-heading {
                width: min(100%, 760px);
                margin-bottom: 42px;
            }

            #svh1-top-mattresses .svh1-heading h2 {
                font-size: clamp(34px, 10vw, 56px);
            }

            #svh1-top-mattresses .svh1-heading p {
                font-size: 15px;
            }
        }

        /* =========================================================
   LAYER EXPLORER (Section 5) — MOBILE/TABLET FIX
   Neutralizes the JS "flip stack" translateY/opacity that
   was stacking on top of the list layout and causing the
   huge gaps. Applies mobile-s through tablet/1024 only —
   1200px+ keeps the original 3D flip effect untouched.
========================================================= */

@media (max-width: 1199px) {

    .svh2-layer-visual {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-height: auto;
        perspective: none;
    }

    .svh2-layer,
    .svh2-layer.layer-one,
    .svh2-layer.layer-two,
    .svh2-layer.layer-three,
    .svh2-layer.layer-four {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 74px;
        margin: 0 !important;
        z-index: 1 !important;
        opacity: 1 !important;
        transform: none !important;   /* kills the GSAP inline offset */
    }

    /* trims the leftover empty space after the last card,
       before the next section starts */
    .svh2-layers {
        padding-bottom: 60px;
    }
}

/* =========================================================
   "HOW IT WORKS" TIMELINE — MOBILE-S/M/L FIX
   Replaces the curvy desktop wave with a straight line for
   narrow screens, and gives the text enough clearance so
   the number-circle can't sit on top of it.
   Scoped to max-width:767px — tablet/laptop/desktop
   (768px+) are untouched.
========================================================= */

@media (max-width: 767px) {

    /* straight vertical line instead of the S-curve wave —
       x=60 is the exact horizontal center of the SVG's own
       viewBox, so it lines up perfectly with the circles */
    .somniva-policy-page .sp-timeline-track {
        d: path("M60 0 L60 900");
    }

    .somniva-policy-page .sp-timeline-left .sp-timeline-content,
    .somniva-policy-page .sp-timeline-right .sp-timeline-content {
        padding-left: 44px;
    }
}

@media (max-width: 480px) {

    .somniva-policy-page .sp-timeline-left .sp-timeline-content,
    .somniva-policy-page .sp-timeline-right .sp-timeline-content {
        padding-left: 40px;
    }
}