:root {
    --night: #1B2A4A;
    --night-2: #243456;
    --paper: #F6F2EA;
    --paper-2: #EFE9DC;
    --amber: #C98A4B;
    --sage: #5C7B72;
    --ink: #2E2A25;
    --ink-soft: #5A554C;
    --line: rgba(46, 42, 37, 0.12);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.serif {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

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

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage);
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 242, 234, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 65px;
    width: auto !important;
    height: auto !important;
    display: block;
}

.logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}

nav a:hover {
    color: var(--amber);
}

.nav-cta {
    background: var(--night);
    color: var(--paper);
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--amber);
    color: var(--night);
}

.burger {
    display: none;
}

/* Mobile Menu Button */

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   Navigation Dropdown
========================= */

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav>ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    text-decoration: none;
}

/* Submenu */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    background: #fff;
    border: 1px solid rgba(27, 42, 74, 0.10);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(27, 42, 74, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 9999;
	padding: 4px 7px;
}

/* CPAP Dropdown - Vertical */
.main-nav li .sub-menu {
    display: block !important;
    flex-direction: column !important;
}

.main-nav li .sub-menu li {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.main-nav li .sub-menu a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
}


/* ---------- Dropdown Arrow ---------- */
.main-nav li.menu-item-has-children>a {
    display: flex !important;
    align-items: center;
	justify-content: center;
    gap: 5px;
}

.main-nav li.menu-item-has-children>a::after {
    content: "";
    width: 4px;
    height: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.2s ease;
}

.main-nav li.menu-item-has-children:hover>a::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* ---------- Dropdown Show on Hover (Desktop) ---------- */
.main-nav li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



@media (max-width: 900px) {

    /* CPAP dropdown - mobile */
    .nav-menu .menu-item-has-children > .sub-menu {
        position: static;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .nav-menu .menu-item-has-children > .sub-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu .menu-item-has-children > .sub-menu a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
    }

}
/* ---------- Mobile Submenu Toggle ---------- */
@media(max-width:900px) {
    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        transform: none;
        padding: 0px 10px;
        transition: max-height 0.3s ease;
    }

    .main-nav li.sub-menu-open>.sub-menu {
        visibility: visible;
        max-height: 500px;
    }
}

/* Mobile */

@media(max-width:900px) {

    .nav-row {
        position: relative;
        justify-content: space-between;
    }


    .menu-toggle {
        display: block;
        order: 3;
    }


    .logo {
        order: 1;
    }


    .main-nav {
        display: none;
        position: absolute;
        top: 95px;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 999;
        padding: 20px;
    }


    .main-nav.active {
        display: block;
    }


    .nav-cta {
        display: none;
    }

    header {
        top: 0;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0;
        padding: 0;
    }

}

/* ---------- Mobile Arrow Toggle (NEW) ---------- */

/* Naya arrow by default hidden — sirf mobile pe dikhega */
.submenu-toggle-arrow {
    display: none;
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.submenu-toggle-arrow::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 45%;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.2s ease;
}

/* Jab submenu open ho, arrow ulta ho jaye (desktop jaisa) */
.main-nav li.sub-menu-open > a .submenu-toggle-arrow::after {
    transform: translate(-50%, -50%) rotate(-135deg);
    margin-top: 4px;
}

@media (max-width: 900px) {

    /* purana hover-arrow chhupao mobile pe */
    .main-nav li.menu-item-has-children > a::after {
        display: none;
    }

   .main-nav li.menu-item-has-children > a {
    justify-content: center;
}

    /* naya arrow sirf mobile pe dikhao */
    .submenu-toggle-arrow {
        display: inline-block;
    }

}
/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--night);
    color: var(--paper);
    overflow: hidden;
    padding: 90px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--amber);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 600;
    max-width: 560px;
    color: #fff;
}

.hero h1 em {
    font-style: italic;
    color: var(--amber-2, #E3B77D);
}

.hero p {
    margin-top: 22px;
    font-size: 17.5px;
    color: rgba(246, 242, 234, 0.78);
    max-width: 490px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--amber);
    color: var(--night);
    padding: 14px 26px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

.btn-primary:hover {
    background: #E3B77D;
}

.btn-ghost {
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 15px;
}

.btn-ghost:hover {
    border: 1px solid #C98A4B;
    color: #C98A4B;
}

/* breathing waveform */
.wave-box {
    position: relative;
    background: var(--night-2);
    border: 1px solid rgba(246, 242, 234, 0.12);
    border-radius: 6px;
    padding: 26px 24px 20px;

    width: 100%;
    max-width: 540px;
}

.wave-label {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(246, 242, 234, 0.55);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.wave-label b {
    color: var(--amber);
    font-weight: 600;
}

svg#breath {
    width: 100%;
    height: 110px;
    display: block;
}

.wave-stats {
    display: flex;
    gap: 26px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(246, 242, 234, 0.12);
}

.wave-stats div {
    font-size: 12px;
    color: rgba(246, 242, 234, 0.55);
}

.wave-stats b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.hero-bg-line {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ---------- Trust strip ---------- */
.trust {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}

.trust .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ink-soft);
    font-weight: 500;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--sage);
    flex-shrink: 0;
}

/* ---------- Section shared ---------- */
section {
    padding: 86px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    gap: 24px;
    flex-wrap: wrap;
}

.section-head .kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-head h2 {
    font-size: 34px;
    color: var(--night);
    max-width: 520px;
}

.section-head p {
    color: var(--ink-soft);
    max-width: 360px;
    font-size: 15px;
}

/* ---------- Topic cards (Cpap, Sleep Apnea, Diagnosis, Treatment) ---------- */
.topics {
    background: var(--paper);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.topic-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 30px 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(27, 42, 74, 0.08);
    border-color: transparent;
}

.topic-num {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 18px;
    display: block;
}

.topic-icon {
    width: 38px;
    height: 38px;
    color: var(--night);
    margin-bottom: 18px;
}

.topic-card h3 {
    font-size: 19px;
    color: var(--night);
    margin-bottom: 10px;
}

.topic-card p {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.topic-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sage);
}

.topic-link:hover {
    color: var(--amber);
}

/* ---------- Featured articles ---------- */
.articles {
    background: var(--paper-2);
}

.article-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 26px;
}

.article-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.article-card.lead {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.article-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-card.lead .article-img {
    height: 460px;
    flex-shrink: 0;
}

.article-img img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
    object-position: center center;
    display: block;
}

.article-card img {
    transition: transform .4s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}



.article-tag {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--amber);
    font-weight: 700;
}

.article-card h3 {
    font-size: 16px;
    color: var(--night);
    margin: 10px 0 8px;
    line-height: 1.3;
}

.article-card.lead h3 {
    font-size: 23px;
}

.article-card p {
    font-size: 13.5px;
    color: var(--ink-soft);
}

.article-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 14px;
    opacity: 0.7;
}

/* ---------- Community ---------- */
.community {
    background: var(--night);
    color: var(--paper);
}

.community .section-head h2 {
    color: #fff;
}

.community .section-head p {
    color: rgba(246, 242, 234, 0.7);
}

.comm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.comm-card {
    background: var(--night-2);
    border: 1px solid rgba(246, 242, 234, 0.1);
    border-radius: 6px;
    padding: 26px;
}

.comm-quote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 16.5px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 16px;
}

.comm-person {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--night);
    font-size: 14px;
}

.comm-person div {
    font-size: 13px;
    color: rgba(246, 242, 234, 0.65);
}

.comm-person b {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--paper);
    text-align: center;
}

.nl-box {
    max-width: 560px;
    margin: 0 auto;
}

.nl-box .kicker {
    justify-content: center;
    display: flex;
}

.nl-box h2 {
    font-size: 30px;
    color: var(--night);
    margin-bottom: 14px;
}

.nl-box p {
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.nl-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}

.nl-form input {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-family: 'Inter';
    font-size: 14.5px;
    background: #fff;
}

.nl-form input:focus {
    outline: 2px solid var(--amber);
    outline-offset: 1px;
}

.nl-form button {
    background: var(--night);
    color: #fff;
    padding: 13px 22px;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
}

.nl-form button:hover {
    background: var(--amber);
    color: var(--night);
}

/* ---------- Footer ---------- */
footer {
    background: var(--night-2);
    color: rgba(246, 242, 234, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 13.5px;
    max-width: 280px;
    color: rgba(246, 242, 234, 0.55);
}

.footer-col h4 {
    font-family: 'Inter';
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--amber);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(246, 242, 234, 0.75);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(246, 242, 234, 0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(246, 242, 234, 0.45);
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width:900px) {
    .community-grid {
        grid-template-columns: 1fr;
    }

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

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-card.lead {
        grid-row: auto;
    }

    .comm-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 38px;
    }

    .nl-form {
        flex-direction: column;
    }

    .hero-grid {
        display: block;
    }

    .wave-box {
        margin-top: 15px;
    }

    .topic-card {
        margin-bottom: 15px;
    }

    .article-card.lead .article-img {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #breath-path {
        animation: none !important;
    }
}



/* ==========================
   ABOUT 
========================== */

/* Page Hero */
.page-hero {
    background: var(--night);
    color: #fff;
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}

.page-hero .wrap {
    max-width: 760px;
}

.page-hero h1 {
    font-size: 44px;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 17.5px;
    color: rgba(246, 242, 234, 0.78);
    max-width: 560px;
}

/* Story */
.story {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.story-visual {
    background: linear-gradient(135deg, var(--night), var(--night-2));
    border-radius: 6px;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
}

.story-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}


.story-quote {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    z-index: 2;
    /* <-- Ye add karo */
    color: #fff;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.45;
}

.story h2 {
    font-size: 30px;
    color: var(--night);
    margin-bottom: 18px;
}

.story p {
    color: var(--ink-soft);
    font-size: 15.5px;
    margin-bottom: 16px;
    max-width: 560px;
}

/* Values */
.values {
    background: var(--paper-2);
}

.values-head {
    max-width: 560px;
    margin-bottom: 44px;
}

.values-head h2 {
    font-size: 32px;
    color: var(--night);
}

.values-head p {
    color: var(--ink-soft);
    font-size: 15px;
    margin-top: 12px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px 24px;
}

.value-num {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    font-size: 18px;
    color: var(--night);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--ink-soft);
}

/* Team */
.team-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    gap: 24px;
    flex-wrap: wrap;
}

.team-head h2 {
    font-size: 32px;
    color: var(--night);
    max-width: 480px;
}

.team-head p {
    color: var(--ink-soft);
    max-width: 340px;
    font-size: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: left;
}

.team-photo {
    aspect-ratio: 1/1.05;
    border-radius: 6px;
    background: linear-gradient(135deg, #E9E2D2, var(--paper-2));
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
}

.team-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 65% 30%, rgba(92, 123, 114, 0.25), transparent 60%);
}

.team-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    color: var(--night);
    font-weight: 600;
}

.team-card span {
    font-size: 13px;
    color: var(--sage);
    font-weight: 600;
    display: block;
    margin: 4px 0 8px;
}

.team-card p {
    font-size: 13px;
    color: var(--ink-soft);
}

/* Stats */
.stats {
    background: var(--night);
    color: #fff;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-grid b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 38px;
    color: var(--amber-2);
    font-weight: 600;
}

.stat-grid span {
    font-size: 13.5px;
    color: rgba(246, 242, 234, 0.7);
    margin-top: 6px;
    display: block;
}

/* CTA */
.cta-band {
    text-align: center;
}

.cta-band .wrap {
    max-width: 600px;
}

.cta-band h2 {
    font-size: 30px;
    color: var(--night);
    margin-bottom: 14px;
}

.cta-band p {
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.about-btn {
    border: 1px solid #243456;
    color: #243456;
    padding: 14px 26px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 15px;
}

.about-btn:hover {
    border: 1px solid #C98A4B;
    color: #C98A4B;
}

/* Responsive */
@media (max-width:900px) {

    .story {
        grid-template-columns: 1fr;
    }

    .value-grid {
        display: block;
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        display: block;
        grid-template-columns: 1fr 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .value-card {
        margin-bottom: 20px;
    }

    .team-card {
        margin-bottom: 15px;
    }

}

/* ==========================
   ABOUT End
========================== */

/* ==========================
   CONTACT 
========================== */

/* Page Hero */
.page-hero {
    background: var(--night);
    color: #fff;
    padding: 90px 0 60px;
}

.page-hero .wrap {
    max-width: 760px;
}

.page-hero h1 {
    font-size: 44px;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 17.5px;
    color: rgba(246, 242, 234, 0.78);
    max-width: 560px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.reach-card {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.reach-card:first-child {
    padding-top: 0;
}

.reach-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: var(--night);
    background: var(--paper-2);
    border-radius: 6px;
    padding: 8px;
}

.reach-card h3 {
    font-size: 16px;
    color: var(--night);
    margin-bottom: 4px;
}

.reach-card p {
    font-size: 14px;
    color: var(--ink-soft);
}

.reach-card a.email {
    color: var(--sage);
    font-weight: 600;
}

.reach-card a.email:hover {
    color: var(--amber);
}

/* Contact Form */
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 36px;
}

.form-card h2 {
    font-size: 24px;
    color: var(--night);
    margin-bottom: 8px;
}

.form-card>p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1/-1;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.field input,
.field select,
.field textarea {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: 'Inter';
    font-size: 14.5px;
    background: var(--paper);
    color: var(--ink);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--amber);
    outline-offset: 1px;
    border-color: transparent;
}

.form-note {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 14px 0 20px;
}

/* FAQ */
.faq {
    background: var(--paper-2);
}

.faq-head {
    max-width: 560px;
    margin-bottom: 44px;
}

.faq-head h2 {
    font-size: 32px;
    color: var(--night);
}

.faq-head p {
    color: var(--ink-soft);
    font-size: 15px;
    margin-top: 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 800px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.faq-q {
    font-weight: 600;
    color: var(--night);
    font-size: 15.5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q::after {
    content: "+";
    font-family: 'Fraunces', serif;
    font-size: 22px;
    color: var(--amber);
}

.faq-item[open] .faq-q::after {
    content: "–";
}

.faq-a {
    padding: 0 24px 20px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

/* Responsive */
@media (max-width:900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero h1 {
        font-size: 32px;
    }

}

/* ==========================
   CONTACT End
========================== */


/* ==========================
   Privacy Policy
========================== */

/* Page Hero */
.page-hero {
    background: var(--night);
    color: #fff;
    padding: 80px 0 56px;
}

.page-hero .wrap {
    max-width: 760px;
}

.page-hero h1 {
    font-size: 40px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 16px;
    color: rgba(246, 242, 234, 0.75);
}

.page-hero .updated {
    font-size: 13.5px;
    color: var(--amber-2);
    margin-top: 18px;
    font-weight: 600;
}

/* Legal Layout */
.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    padding: 70px 0 100px;
    align-items: start;
}

/* Table of Contents */
.toc {
    position: sticky;
    top: 100px;
}

.toc h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage);
    font-weight: 700;
    margin-bottom: 16px;
}

.toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    border-left: 2px solid var(--line);
}

.toc a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 13.8px;
    padding: 2px 0 2px 16px;
    display: block;
}

.toc a:hover {
    color: var(--amber);
    border-left: 2px solid var(--amber);
    margin-left: -2px;
}

/* Legal Content */
.legal-body h2 {
    font-size: 22px;
    color: var(--night);
    margin: 44px 0 14px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body p {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 14px;
    max-width: 700px;
}

.legal-body ul {
    margin: 0 0 14px 20px;
    color: var(--ink-soft);
    font-size: 15px;
}

.legal-body li {
    margin-bottom: 8px;
    max-width: 680px;
}

.legal-body strong {
    color: var(--ink);
}

/* Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
    max-width: 700px;
}

.info-table th,
.info-table td {
    text-align: left;
    padding: 12px 16px;
    font-size: 13.8px;
    border: 1px solid var(--line);
}

.info-table th {
    background: var(--paper-2);
    color: var(--night);
    font-weight: 600;
}

.info-table td {
    color: var(--ink-soft);
    background: #fff;
}

/* Callout */
.callout {
    background: var(--paper-2);
    border-left: 3px solid var(--amber);
    border-radius: 0 6px 6px 0;
    padding: 18px 22px;
    margin: 18px 0;
    max-width: 680px;
}

.callout p {
    margin: 0;
    font-size: 14.5px;
}

/* Responsive */
@media (max-width:900px) {

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        border-bottom: 1px solid var(--line);
        padding-bottom: 24px;
    }

    .page-hero h1 {
        font-size: 29px;
    }

}

/* ==========================
   Privacy Policy End
========================== */


/* ==========================
    Cpap 
========================== */

/* Breadcrumb */

.crumb {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 16px 0 0;
}

.crumb a {
    color: var(--ink-soft);
    font-weight: 500;
}

.crumb a:hover {
    color: var(--amber);
}

.crumb span.sep {
    margin: 0 6px;
    opacity: 0.5;
}

.crumb span.here {
    color: var(--night);
    font-weight: 600;
}

.cpap-hero {
    padding: 22px 0 40px;
    border-bottom: 1px solid var(--line);
}

.cpap-hero h1 {
    font-size: 42px;
    color: var(--night);
    line-height: 1.12;
    max-width: 820px;
    margin-bottom: 18px;
}

.cpap-hero .sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 680px;
    margin-bottom: 22px;
}

.byline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.byline .avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 13px;
}

.byline b {
    color: var(--ink);
}

.byline .divider {
    opacity: 0.4;
}

.badge-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sage);
    background: var(--paper-2);
    padding: 6px 12px;
    border-radius: 20px;
}

.badge svg {
    width: 14px;
    height: 14px;
}

.cpap-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 56px;
    padding: 48px 0 90px;
    align-items: start;
}

.toc {
    position: sticky;
    top: 100px;
}

.toc h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage);
    font-weight: 700;
    margin-bottom: 16px;
}

.toc ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
    border-left: 2px solid var(--line);
}

.toc a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 13.6px;
    padding: 2px 0 2px 16px;
    display: block;
}

.toc a:hover {
    color: var(--amber);
    border-left: 2px solid var(--amber);
    margin-left: -2px;
}

.toc-cta {
    margin-top: 26px;
    padding: 18px;
    background: var(--night);
    border-radius: 8px;
}

.toc-cta p {
    color: rgba(246, 242, 234, 0.75);
    font-size: 12.8px;
    margin-bottom: 12px;
}

.toc-cta a {
    color: white;
    font-size: 13px;
    border-left: 2px solid white;
}

.cpap-body h2 {
    font-size: 26px;
    color: var(--night);
    margin: 46px 0 14px;
}

.cpap-body h2:first-child {
    margin-top: 0;
}

.cpap-body h3 {
    font-size: 19px;
    color: var(--night);
    margin: 26px 0 10px;
}

.cpap-body p {
    font-size: 15.5px;
    color: var(--ink-soft);
    margin-bottom: 14px;
    max-width: 720px;
}

.cpap-body ul.bullets {
    margin: 0 0 16px 4px;
    max-width: 700px;
}

.cpap-body ul.bullets li {
    font-size: 15.5px;
    color: var(--ink-soft);
    margin-bottom: 9px;
    padding-left: 20px;
    position: relative;
}

.cpap-body ul.bullets li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--amber);
}

.cpap-body strong {
    color: var(--ink);
}

.glance {
    background: var(--paper-2);
    border-left: 3px solid var(--sage);
    border-radius: 0 8px 8px 0;
    padding: 24px 26px;
    margin: 8px 0 36px;
    max-width: 760px;
}

.glance h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sage);
    margin: 0 0 10px;
    font-family: 'Inter';
    font-weight: 700;
}

.glance p {
    margin-bottom: 0;
    font-size: 15px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0 30px;
    max-width: 760px;
}

.part-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 18px;
}

.part-item b {
    display: block;
    color: var(--night);
    font-size: 14.5px;
    margin-bottom: 4px;
}

.part-item span {
    font-size: 13.5px;
    color: var(--ink-soft);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 30px;
    max-width: 760px;
}

.compare-table th,
.compare-table td {
    text-align: left;
    padding: 13px 16px;
    font-size: 14px;
    border: 1px solid var(--line);
}

.compare-table th {
    background: var(--night);
    color: #fff;
    font-weight: 600;
}

.compare-table td {
    color: var(--ink-soft);
    background: #fff;
}

.compare-table tr:first-child td {
    font-weight: 600;
    color: var(--night);
}

.shop-block {
    background: var(--night);
    border-radius: 12px;
    padding: 44px 40px;
    margin: 16px 0 44px;
    color: #fff;
    max-width: 900px;
}

.shop-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.shop-head h3 {
    font-size: 23px;
    color: #fff;
    max-width: 460px;
}

.shop-head p {
    font-size: 14px;
    color: rgba(246, 242, 234, 0.65);
    max-width: 320px;
    margin: 8px 0 0;
}

.shop-disclosure {
    font-size: 11.5px;
    color: rgba(246, 242, 234, 0.5);
    margin-bottom: 22px;
    font-style: italic;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card.partner {
    border-color: rgba(201, 138, 75, 0.4);
}

.partner-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: rgba(246, 242, 234, 0.55);
    margin-top: 10px;
}

.partner-tag svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.price-now {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.price-was {
    font-size: 12.5px;
    color: rgba(246, 242, 234, 0.45);
    text-decoration: line-through;
}

.product-card {
    background: var(--night-2);
    border: 1px solid rgba(246, 242, 234, 0.12);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.product-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber-2);
    font-weight: 700;
    margin-bottom: 12px;
}

.product-img {
    aspect-ratio: 1/0.8;
    background: linear-gradient(135deg, #2c3d63, #1B2A4A);
    border-radius: 6px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.product-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 35% 30%, rgba(201, 138, 75, 0.4), transparent 60%);
}

.product-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-rating {
    font-size: 13px;
    color: rgba(246, 242, 234, 0.6);
    margin-bottom: 14px;
}

.product-rating b {
    color: var(--amber-2);
}

.product-card .btn-shop {
    margin-top: auto;
    background: var(--amber);
    color: var(--night);
    text-align: center;
    padding: 11px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13.5px;
}

.product-card .btn-shop:hover {
    background: var(--amber-2);
    color: var(--night);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 760px;
    margin: 18px 0 10px;
}

.acc-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.acc-q {
    padding: 18px 22px;
    font-weight: 600;
    color: var(--night);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-q::after {
    content: "+";
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: var(--amber);
}

.acc-item[open] .acc-q::after {
    content: "–";
}

.acc-a {
    padding: 0 22px 18px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.acc-a ul.bullets {
    margin-top: 6px;
}

.acc-a ul.bullets li {
    font-size: 14.5px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 760px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
}

.faq-item summary {
    font-weight: 600;
    color: var(--night);
    font-size: 15.5px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: var(--amber);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin-top: 12px;
}

.disclaimer-box {
    background: var(--paper-2);
    border-radius: 6px;
    padding: 18px 22px;
    font-size: 13px;
    color: var(--ink-soft);
    font-style: italic;
    max-width: 760px;
    margin: 30px 0;
}

.related {
    background: var(--paper-2);
    padding: 70px 0;
}

.related-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 34px;
    flex-wrap: wrap;
    gap: 16px;
}

.related-head h2 {
    font-size: 26px;
    color: var(--night);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.cpap-related-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--night), var(--night-2));
    position: relative;
    overflow: hidden;
}

.cpap-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
}

.cpap-related-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(92, 123, 114, 0.3), transparent 55%);
}

.related-body {
    padding: 16px 18px;
}

.related-body span {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.related-body h4 {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    color: var(--night);
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.35;
}

/* type cards */
.type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0 34px;
}

.type-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.type-card .t-num {
    font-family: 'Fraunces', serif;
    font-size: 12.5px;
    color: var(--amber);
    font-weight: 700;
}

.type-card h4 {
    font-size: 15px;
    color: var(--night);
    margin: 8px 0 6px;
}

.type-card p {
    font-size: 12.8px;
    color: var(--ink-soft);
    margin: 0;
}

/* compact inline product card - one per section */
.mini-shop {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    margin: 18px 0 32px;
    max-width: 740px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.mini-shop.partner {
    border-color: rgba(201, 138, 75, 0.4);
    background: var(--paper-2);
}

.mini-shop-img {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--paper-2), #E9E2D2);
    position: relative;
    overflow: hidden;
}

.mini-shop-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 35% 30%, rgba(92, 123, 114, 0.3), transparent 60%);
}

.mini-shop.partner .mini-shop-img {
    background: linear-gradient(135deg, #2c3d63, #1B2A4A);
}

.mini-shop.partner .mini-shop-img::after {
    background-image: radial-gradient(circle at 35% 30%, rgba(201, 138, 75, 0.4), transparent 60%);
}

.mini-shop-body {
    flex: 1;
    min-width: 0;
}

.mini-shop-badge {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
    font-weight: 700;
}

.mini-shop-body h4 {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    color: var(--night);
    font-weight: 600;
    margin: 5px 0 6px;
}

.mini-shop-meta {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 0;
}

.mini-shop-meta b {
    color: var(--amber-2, var(--amber));
}

.mini-shop-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.mini-shop-price .now {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    color: var(--night);
    font-weight: 600;
}

.mini-shop-price .was {
    font-size: 12px;
    color: var(--ink-soft);
    text-decoration: line-through;
}

.mini-shop-cta {
    flex-shrink: 0;
    background: var(--night);
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
}

.mini-shop-cta:hover {
    background: var(--amber);
    color: var(--night) !important;
}

.mini-shop-sub {
    font-size: 10.5px;
    color: var(--ink-soft);
    margin-top: 6px;
    font-style: italic;
}

@media (max-width:600px) {
    .mini-shop {
        flex-wrap: wrap;
    }

    .mini-shop-cta {
        width: 100%;
        text-align: center;
    }
}


/* full comparison table - scrollable */
.compare-wrap {
    overflow-x: auto;
    margin: 18px 0 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    max-width: 900px;
}

.full-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.full-compare th {
    background: var(--night);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    position: sticky;
    top: 0;
}

.full-compare th:first-child {
    min-width: 170px;
}

.full-compare td {
    padding: 13px 16px;
    font-size: 13px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    max-width: 220px;
}

.full-compare tr td:first-child {
    font-weight: 600;
    color: var(--night);
    background: var(--paper-2);
}

.full-compare tr:last-child td {
    border-bottom: none;
}

.compare-scroll-hint {
    font-size: 12px;
    color: var(--ink-soft);
    font-style: italic;
    margin: -24px 0 30px;
}

.simple-compare {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 30px;
    max-width: 760px;
}

.simple-compare td {
    text-align: left;
    padding: 13px 16px;
    font-size: 14px;
    border: 1px solid var(--line);
}

.simple-compare th {
    background: var(--night);
    color: #fff;
    padding: 13px 16px;
    text-align: left;
    font-size: 14px;
}

.simple-compare tr td:first-child {
    font-weight: 600;
    color: var(--night);
    background: #fff;
}


/* decision steps */
.decision-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0 30px;
    max-width: 760px;
}

.decision-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
}

.decision-step .step-num {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--amber);
    flex-shrink: 0;
    width: 28px;
}

.decision-step h4 {
    font-size: 15px;
    color: var(--night);
    margin-bottom: 8px;
}

.decision-step p {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

/* brands */
.brand-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0 30px;
    max-width: 760px;
}

.brand-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 18px;
}

.brand-item b {
    display: block;
    color: var(--night);
    font-size: 14.5px;
    margin-bottom: 4px;
}

.brand-item span {
    font-size: 13px;
    color: var(--ink-soft);
}

/* pros/cons */
.pc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0 30px;
    max-width: 760px;
}

.pc-card {
    border-radius: 8px;
    padding: 22px;
}

.pc-card.pros {
    background: rgba(92, 123, 114, 0.08);
    border: 1px solid rgba(92, 123, 114, 0.25);
}

.pc-card.cons {
    background: rgba(176, 86, 63, 0.06);
    border: 1px solid rgba(176, 86, 63, 0.2);
}

.pc-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.pc-card.pros h4 {
    color: var(--good);
}

.pc-card.cons h4 {
    color: var(--bad);
}

.pc-card li {
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
}

.pc-card.pros li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--good);
    font-weight: 700;
}

.pc-card.cons li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--bad);
    font-weight: 700;
}

/* buying checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 700px;
    margin: 18px 0 30px;
}

.check-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14.5px;
    color: var(--ink);
}

.check-item svg {
    width: 18px;
    height: 18px;
    color: var(--sage);
    flex-shrink: 0;
}

@media (max-width:900px) {
    .crumb {
        margin: 0px 25px;
    }

    .cpap-layout {
        padding: 0px 25px;
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line);
    }

    .parts-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .shop-block {
        padding: 28px 22px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .cpap-hero h1 {
        font-size: 29px;
    }

    .type-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .shop-block {
        padding: 28px 22px;
    }

    .pc-grid {
        grid-template-columns: 1fr;
    }

    .brand-list {
        grid-template-columns: 1fr;
    }
	
}

/* ==========================
    Cpap End
========================== */

/* ==========================
   BLOG
========================== */

/* Page Hero */
.page-hero {
    background: var(--night);
    color: #fff;
    padding: 80px 0 56px;
}

.page-hero h1 {
    font-size: 44px;
    color: #fff;
    margin-bottom: 16px;
    max-width: 640px;
}

.page-hero p {
    font-size: 16.5px;
    color: rgba(246, 242, 234, 0.75);
    max-width: 560px;
}


/* Search + Filters */
.filter-bar {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    position: sticky;
    top: 65px;
    z-index: 40;
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.chip.active {
    background: var(--night);
    color: #fff;
    border-color: var(--night);
}

.chip:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 9px 16px;
    min-width: 230px;
}

.search-title {
    font-size: 26px;
    color: var(--night);
    margin: 40px 0 30px;
}

.search-box form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.search-box svg {
    width: 15px;
    height: 15px;
    color: var(--ink-soft);
    flex-shrink: 0;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 13.5px;
    font-family: 'Inter';
    background: transparent;
    width: 100%;
}


/* Featured Post */
.featured {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 56px;
}

.featured-img {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.featured-image {
    width: 100% !important;
    height: 420px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

.featured-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(201, 138, 75, .35), transparent 55%);
    pointer-events: none;
    z-index: 2;
}



.featured-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--amber);
    font-weight: 700;
}

.featured-body h2 {
    font-size: 26px;
    color: var(--night);
    margin: 12px 0;
    line-height: 1.3;
}

.featured-body p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.post-meta {
    display: flex;
    gap: 12px;
    font-size: 12.5px;
    color: var(--ink-soft);
}


/* Blog Grid */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-head h2 {
    font-size: 34px;
    color: var(--night);
}

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

.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(27, 42, 74, 0.08);
}

.post-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    position: relative;
}

.post-body {
    padding: 20px;
}

.post-body h3 {
    font-size: 17px;
    color: var(--night);
    margin: 10px 0 8px;
    line-height: 1.35;
}

.post-body p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 12px;
}


/* Load More */
.load-more {
    text-align: center;
    margin-top: 44px;
}

.btn-outline {
    border: 1px solid var(--night);
    color: var(--night);
    padding: 13px 30px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14.5px;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--night);
    color: #fff;
}


/* Newsletter */
.newsletter {
    background: var(--paper-2);
    text-align: center;
}

.nl-box {
    max-width: 520px;
    margin: 0 auto;
}

.nl-box h2 {
    font-size: 27px;
    color: var(--night);
    margin-bottom: 10px;
}

.nl-box p {
    color: var(--ink-soft);
    margin-bottom: 24px;
    font-size: 14.5px;
}

.nl-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.nl-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
}

.nl-form button {
    background: var(--night);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.nl-form button:hover {
    background: var(--amber);
    color: var(--night);
}


/* Responsive */
@media (max-width:900px) {

    .featured {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-bar {
        position: static;
    }

    .page-hero h1 {
        font-size: 32px;
    }

}

@media (max-width:600px) {

    .post-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================
   BLOG End
========================== */

/* ==========================
   Blog Detail
========================== */

/* Breadcrumb */

.crumb {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 16px 0 0;
}

.crumb a {
    color: var(--ink-soft);
    font-weight: 500;
}

.crumb a:hover {
    color: var(--amber);
}

.crumb span.sep {
    margin: 0 6px;
    opacity: .5;
}

.crumb span.here {
    color: var(--night);
    font-weight: 600;
}


/* Article Hero */

.article-hero {
    padding: 22px 0 0;
}

.tag-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--amber);
    font-weight: 700;
}

.article-hero h1 {
    font-size: 40px;
    color: var(--night);
    line-height: 1.15;
    max-width: 820px;
    margin: 14px 0 18px;
}

.article-hero .sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 680px;
    margin-bottom: 22px;
}

.byline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-soft);
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 13px;
}

.byline b {
    color: var(--ink);
}

.byline .divider {
    opacity: .4;
}

.share {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.share a {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
}

.share a:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.share svg {
    width: 15px;
    height: 15px;
}


/* Hero Image */

.hero-img {
    aspect-ratio: 10/7;
    border-radius: 8px;
    margin: 32px 0 8px;
    position: relative;
    overflow: hidden;
}

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

.hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(201, 138, 75, .35), transparent 55%);
}

.img-caption {
    font-size: 12.5px;
    color: var(--ink-soft);
    text-align: center;
    margin-bottom: 40px;
}


/* Article Layout */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 56px;
    padding-bottom: 90px;
    align-items: start;
}


/* Article Body */

.article-body {
    padding: 20px;
}

.article-body h2 {
    font-size: 25px;
    color: var(--night);
    margin: 38px 0 14px;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 18px;
    color: var(--night);
    margin: 15px 0 10px;
}

.article-body p {
    font-size: 16px;
    color: var(--ink-soft);
    margin-bottom: 16px;
    max-width: 700px;
}

.article-body ul.bullets {
    margin: 0 0 16px 4px;
    max-width: 680px;
}

.article-body ul.bullets li {
    font-size: 15.5px;
    color: var(--ink-soft);
    margin-bottom: 9px;
    padding-left: 20px;
    position: relative;
}

.article-body ul.bullets li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--amber);
}

.article-body strong {
    color: var(--ink);
}

.pull-quote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--night);
    border-left: 3px solid var(--amber);
    padding: 6px 0 6px 24px;
    margin: 28px 0;
    max-width: 640px;
}


/* Inline CTA */

.inline-cta {
    background: var(--paper-2);
    border-radius: 8px;
    padding: 24px 26px;
    margin: 30px 0;
    max-width: 680px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inline-cta p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 600;
    max-width: 400px;
}

.btn-small {
    background: var(--night);
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 4px;
    font-size: 13.5px;
    white-space: nowrap;
}

.btn-small:hover {
    background: var(--amber);
    color: var(--night) !important;
}


/* Author Box */

.author-box {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    margin-top: 40px;
    max-width: 700px;
    align-items: flex-start;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sage);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 19px;
}

.author-box h4 {
    font-size: 15px;
    color: var(--night);
    margin-bottom: 4px;
}

.author-box p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 0;
}


/* Sidebar */

.sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.side-block h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sage);
    font-weight: 700;
    margin-bottom: 16px;
}

.side-post {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.side-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--paper-2), #E9E2D2);
    flex-shrink: 0;
}

.side-post h5 {
    font-family: 'Fraunces', serif;
    font-size: 13.5px;
    color: var(--night);
    font-weight: 600;
    line-height: 1.35;
}

.side-cta {
    background: var(--night);
    border-radius: 8px;
    padding: 20px;
    color: #fff;
}

.side-cta p {
    font-size: 13px;
    color: rgba(246, 242, 234, .7);
    margin-bottom: 12px;
}

.side-cta a {
    color: var(--amber-2) !important;
    font-size: 13px;
}


/* Related Posts */

.related {
    background: var(--paper-2);
    padding: 70px 0;
}

.related-head {
    margin-bottom: 34px;
}

.related-head h2 {
    font-size: 26px;
    color: var(--night);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.related-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.related-img {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

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

.related-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(92, 123, 114, 0.3), transparent 55%);
}

.related-body {
    padding: 18px;
}

.related-body span {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 700;
    letter-spacing: .05em;
}

.related-body h4 {
    font-family: 'Fraunces', serif;
    font-size: 15.5px;
    color: var(--night);
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.35;
}


/* Responsive */

@media (max-width:900px) {

    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        font-size: 28px;
    }

    .inline-cta {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* ==========================
   Blog Detail End
========================== */

/* ==========================
   Review 
========================== */
.review-page-hero {
    background: var(--night);
    color: #fff;
    padding: 80px 0 56px;
}

.page-hero h1 {
    font-size: 44px;
    color: #fff;
    margin-bottom: 16px;
    max-width: 640px;
}

.page-hero p {
    font-size: 16.5px;
    color: rgba(246, 242, 234, 0.75);
    max-width: 560px;
}

.trust-row {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-row span {
    font-size: 13px;
    color: rgba(246, 242, 234, 0.65);
    display: flex;
    align-items: center;
    gap: 7px;
}

.trust-row svg {
    width: 15px;
    height: 15px;
    color: var(--amber-2);
}

.filter-bar {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    position: sticky;
    top: 65px;
    z-index: 40;
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.chip.active {
    background: var(--night);
    color: #fff;
    border-color: var(--night);
}

.chip:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.sort-select {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 20px;
}

section {
    padding: 60px 0;
}

.section-head {
    margin-bottom: 34px;
}

.section-head h2 {
    font-size: 26px;
    color: var(--night);
}

.review-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(27, 42, 74, 0.08);
}

.review-card .review-img {
    width: 100%;
    height: 340px;
    aspect-ratio: auto;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.review-card .review-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.review-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 65% 30%, rgba(92, 123, 114, 0.25), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.review-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.review-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
    font-weight: 700;
}

.review-body h3 {
    font-size: 17px;
    color: var(--night);
    margin: 10px 0 8px;
    line-height: 1.35;
}

.stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stars svg {
    width: 14px;
    height: 14px;
    color: var(--amber);
}

.stars b {
    font-size: 13.5px;
    color: var(--ink);
    margin-left: 4px;
}

.review-body p {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.verdict-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.verdict-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--sage);
}

.read-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--night);
}

.review-card:hover .read-link {
    color: var(--amber);
}

.buying-guide {
    background: var(--paper-2);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.guide-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px;
}

.guide-card svg {
    width: 30px;
    height: 30px;
    color: var(--night);
    margin-bottom: 14px;
}

.guide-card h4 {
    font-size: 15px;
    color: var(--night);
    margin-bottom: 6px;
}

.guide-card p {
    font-size: 13px;
    color: var(--ink-soft);
}

.disclosure {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-style: italic;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}


@media (max-width:900px) {
    .review-hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-bar {
        position: static;
    }

    .review-page-hero h1 {
        font-size: 32px;
    }
}

@media (max-width:600px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   Review End
========================== */


/* ==========================
   Review Detail
========================== */
.crumb {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 16px 0 0;
}

.crumb a {
    color: var(--ink-soft);
    font-weight: 500;
}

.crumb a:hover {
    color: var(--amber);
}

.crumb span.sep {
    margin: 0 6px;
    opacity: 0.5;
}

.crumb span.here {
    color: var(--night);
    font-weight: 600;
}

/* ---- Review Hero ---- */
.review-hero {
    padding: 30px 0 50px;
}

.hero-review-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.gallery-main {
    aspect-ratio: 1/0.85;
    background: linear-gradient(135deg, var(--paper-2), #E9E2D2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.gallery-main img#review-main-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}
.gallery-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 60% 30%, rgba(92, 123, 114, 0.25), transparent 60%);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--paper-2), #E9E2D2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb.active {
    border-color: var(--amber);
}

.review-cat-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
    font-weight: 700;
}

.review-hero h1 {
    font-size: 34px;
    color: var(--night);
    line-height: 1.18;
    margin: 12px 0 14px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.big-score {
    font-family: 'Fraunces', serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--night);
}

.stars-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars svg {
    width: 16px;
    height: 16px;
    color: var(--amber);
}

.stars {
    display: flex;
    gap: 3px;
}

.rating-summary span {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.verdict-box {
    background: var(--paper-2);
    border-radius: 8px;
    padding: 20px 22px;
    margin-bottom: 22px;
}

.verdict-box p {
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
}

.verdict-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sage);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.buy-box {
    background: var(--night);
    border-radius: 8px;
    padding: 24px;
    color: #fff;
}

.buy-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.buy-now {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.buy-was {
    font-size: 14px;
    color: rgba(246, 242, 234, 0.5);
    text-decoration: line-through;
}

.buy-btn {
    display: block;
    background: var(--amber);
    color: var(--night) !important;
    text-align: center;
    padding: 14px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.buy-btn:hover {
    background: #e3b77d;
}

.buy-sub {
    font-size: 12px;
    color: rgba(246, 242, 234, 0.55);
    text-align: center;
}

.buy-features {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 242, 234, 0.15);
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.buy-features li {
    font-size: 13px;
    color: rgba(246, 242, 234, 0.75);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.buy-features svg {
    width: 14px;
    height: 14px;
    color: var(--amber-2);
    flex-shrink: 0;
    margin-top: 2px;
}

/* score bars */
.score-bars {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-bar-row span {
    font-size: 13px;
    color: var(--ink-soft);
    width: 110px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: var(--paper-2);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--amber);
    border-radius: 4px;
}

.score-bar-row b {
    font-size: 13px;
    color: var(--ink);
    width: 28px;
    text-align: right;
}

/* ---- Article layout ---- */
section {
    padding: 60px 0;
}

.review-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 56px;
    align-items: start;
}

.review-body h2 {
    font-size: 24px;
    color: var(--night);
    margin: 38px 0 14px;
}

.review-body h2:first-child {
    margin-top: 0;
}

.review-body p {
    font-size: 15.5px;
    color: var(--ink-soft);
    margin-bottom: 15px;
    max-width: 700px;
}

/* pros/cons */
.pc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0 30px;
    max-width: 700px;
}

.pc-card {
    border-radius: 8px;
    padding: 22px;
}

.pc-card.pros {
    background: rgba(92, 123, 114, 0.08);
    border: 1px solid rgba(92, 123, 114, 0.25);
}

.pc-card.cons {
    background: rgba(176, 86, 63, 0.06);
    border: 1px solid rgba(176, 86, 63, 0.2);
}

.pc-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-card.pros h4 {
    color: var(--good);
}

.pc-card.cons h4 {
    color: var(--bad);
}

.pc-card svg {
    width: 16px;
    height: 16px;
}

.pc-card li {
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
}

.pc-card.pros li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--good);
    font-weight: 700;
}

.pc-card.cons li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--bad);
    font-weight: 700;
}

/* specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 30px;
    max-width: 700px;
}

.specs-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
}

.specs-table td:first-child {
    color: var(--ink-soft);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--ink);
    font-weight: 600;
}

.disclaimer-box {
    background: var(--paper-2);
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 12.5px;
    color: var(--ink-soft);
    font-style: italic;
    max-width: 700px;
    margin: 20px 0;
}

/* comparison box */
.compare-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    max-width: 700px;
    margin: 20px 0 30px;
}

.compare-box h4 {
    font-size: 15px;
    color: var(--night);
    margin-bottom: 14px;
}

.compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row span {
    font-size: 14px;
    color: var(--ink);
}

.compare-row a {
    font-size: 13px;
}

/* sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.side-block h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage);
    font-weight: 700;
    margin-bottom: 16px;
}

.side-review {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.review-thumb {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--paper-2), #E9E2D2);
    flex-shrink: 0;
    overflow: hidden;
}
.review-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.side-review h5 {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    color: var(--night);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 3px;
}

.side-review .mini-stars {
    font-size: 11.5px;
    color: var(--amber);
}


@media (max-width:900px) {
    .hero-review-grid {
        grid-template-columns: 1fr;
    }

    .review-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .pc-grid {
        grid-template-columns: 1fr;
    }

    .review-hero h1 {
        font-size: 26px;
    }
}


/* ==========================
   Review Detail End
========================== */

/* ==========================
   CPAP Body Content - Mobile Responsive
========================== */
@media (max-width: 600px) {

    .cpap-body h2 {
        font-size: 20px;
        margin: 32px 0 12px;
    }

    .cpap-body h3 {
        font-size: 16px;
    }

    .cpap-body p {
        font-size: 14.5px;
    }

    .cpap-body ul.bullets li {
        font-size: 14.5px;
    }

    .glance {
        padding: 18px;
        margin: 8px 0 28px;
    }

    .glance h3 {
        font-size: 12.5px;
    }

    .glance p {
        font-size: 14px;
    }

    /* Type cards -> 1 column */
    .type-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 14px 0 26px;
    }

    .type-card {
        padding: 16px;
    }

    /* Comparison table - tighter cells, still horizontal scroll */
    .compare-scroll-hint {
        display: block;
        margin: -16px 0 20px;
    }

    .compare-wrap {
        margin: 14px 0 26px;
    }

    .full-compare {
        min-width: 680px;
    }

    .full-compare th,
    .full-compare td {
        padding: 10px 12px;
        font-size: 12px;
    }

    .full-compare th:first-child {
        min-width: 130px;
    }

    .full-compare td {
        max-width: 170px;
    }

    /* Mini-shop product cards - stack vertically */
    .mini-shop {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        margin: 14px 0 24px;
        gap: 12px;
    }

    .mini-shop-img {
        width: 100%;
        height: 140px;
    }

    .mini-shop-cta {
        width: 100%;
        text-align: center;
    }

    /* Shop block */
    .shop-block {
        padding: 22px 18px;
        margin: 14px 0 32px;
    }

    .shop-head h3 {
        font-size: 18px;
    }

    .shop-head p {
        font-size: 13px;
    }

    /* Decision steps - number above text */
    .decision-steps {
        gap: 10px;
        margin: 14px 0 24px;
    }

    .decision-step {
        flex-direction: column;
        gap: 8px;
        padding: 16px 18px;
    }

    .decision-step .step-num {
        width: auto;
        font-size: 16px;
    }

    .decision-step h4 {
        font-size: 14.5px;
    }

    .decision-step p {
        font-size: 13.5px;
    }

    /* Brands */
    .brand-list {
        gap: 10px;
        margin: 14px 0 24px;
    }

    .brand-item {
        padding: 14px 16px;
    }

    /* Pros/Cons */
    .pc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 14px 0 24px;
    }

    .pc-card {
        padding: 18px;
    }

    .pc-card li {
        font-size: 13.5px;
    }

    /* Checklist */
    .checklist {
        gap: 8px;
        margin: 14px 0 24px;
    }

    .check-item {
        padding: 12px 14px;
        font-size: 13.5px;
        align-items: flex-start;
    }

    .check-item svg {
        margin-top: 2px;
    }

    /* FAQ */
    .faq-item {
        padding: 15px 22px;
    }

    .faq-item summary {
        font-size: 14px;
        gap: 12px;
    }

    .faq-item summary::after {
        font-size: 18px;
    }

    .faq-item p {
        font-size: 13.5px;
        margin-top: 10px;
    }
}
@media (max-width:900px) {
	.cpap-layout,
    .cpap-layout > * {
        min-width: 0;
    }
    .crumb {
        margin: 0px 25px;
    }
    .cpap-layout {
        padding: 0px 25px;
        grid-template-columns: 1fr;
    }
    .toc {
        position: static;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line);
    }
    .parts-grid {
        grid-template-columns: 1fr;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    .shop-block {
        padding: 28px 22px;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cpap-hero h1 {
        font-size: 29px;
    }
    .type-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .shop-block {
        padding: 28px 22px;
    }
    .pc-grid {
        grid-template-columns: 1fr;
    }
    .brand-list {
        grid-template-columns: 1fr;
    }
}