:root {
    --quiet-orange: #f78c20;
    --quiet-orange-hover: #ff9e38;

    --quiet-black: #0c0e0f;
    --quiet-dark: #15181b;
    --quiet-dark-2: #1a1e22;

    --quiet-text: #202226;
    --quiet-muted: #707782;

    --quiet-border: #e3e5e8;
    --quiet-light: #f5f6f7;
    --quiet-white: #ffffff;

    --quiet-radius: 14px;
    --quiet-shell: 1480px;
}


/* ---------- Base ---------- */

.quiet-home,
.quiet-home * {
    box-sizing: border-box;
}

.quiet-home {
    overflow: hidden;
    font-family: inherit;
}

.quiet-shell {
    width: min(calc(100% - 80px), var(--quiet-shell));
    margin-left: auto;
    margin-right: auto;
}

.quiet-home h1,
.quiet-home h2,
.quiet-home h3,
.quiet-home p {
    margin-top: 0;
}

.quiet-home a {
    text-decoration: none;
}


/* ---------- Hero ---------- */

.quiet-hero {
    background: var(--quiet-black);
    color: #fff;
    padding: 115px 0 120px;
}

.quiet-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, .85fr);
    gap: 90px;
    align-items: center;
}

.quiet-eyebrow {
    color: var(--quiet-orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .25em;
    margin-bottom: 38px;
}

.quiet-hero h1 {
    color: #fff;
    font-size: clamp(58px, 5.6vw, 94px);
    line-height: .99;
    letter-spacing: -.045em;
    max-width: 820px;
    margin-bottom: 34px;
}

.quiet-hero-desc {
    color: #a7adb5;
    max-width: 760px;
    font-size: 20px;
    line-height: 1.75;
    margin-bottom: 38px;
}

.quiet-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.quiet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    transition: all .2s ease;
}

.quiet-btn-primary {
    background: var(--quiet-orange);
    color: #fff;
}

.quiet-btn-primary:hover {
    background: var(--quiet-orange-hover);
    color: #fff;
    transform: translateY(-1px);
}

.quiet-btn-outline {
    color: #fff;
    border: 1px solid #424950;
}

.quiet-btn-outline:hover {
    border-color: #727a84;
    color: #fff;
}


/* Hero Visual */

.quiet-hero-visual {
    position: relative;
    height: 480px;
}

.quiet-visual-main {
    position: absolute;
    width: 70%;
    height: 72%;
    right: 0;
    top: 12%;
    border-radius: 16px;
    border: 1px solid #353b42;
    background: #181c20;
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quiet-visual-main strong {
    font-size: 38px;
    color: #fff;
}

.quiet-visual-main span {
    color: #8f969f;
    margin-top: 7px;
}

.quiet-visual-card {
    position: absolute;
    width: 42%;
    min-width: 255px;
    padding: 34px;
    border: 1px solid #363d44;
    border-radius: 15px;
    background: #171b1f;
    box-shadow: 0 22px 55px rgba(0,0,0,.32);
}

.quiet-visual-card b {
    display: block;
    color: var(--quiet-orange);
    margin-bottom: 28px;
}

.quiet-visual-card span {
    color: #d3d6da;
    font-size: 18px;
}

.quiet-card-one {
    left: 0;
    top: 4%;
}

.quiet-card-two {
    left: 12%;
    bottom: 0;
}


/* ---------- General Section ---------- */

.quiet-section {
    padding: 105px 0;
}

.quiet-section-head {
    max-width: 850px;
    margin: 0 auto 58px;
    text-align: center;
}

.quiet-section-head h2 {
    color: var(--quiet-text);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin-bottom: 22px;
}

.quiet-section-head p {
    color: var(--quiet-muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* ---------- Categories ---------- */

.quiet-explore {
    background: #fff;
}

.quiet-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quiet-category-card {
    display: flex;
    flex-direction: column;
    min-height: 365px;
    padding: 38px;
    border: 1px solid var(--quiet-border);
    border-radius: var(--quiet-radius);
    background: #fafafa;
}

.quiet-card-number {
    display: block;
    color: var(--quiet-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 38px;
}

.quiet-category-card h3 {
    color: var(--quiet-text);
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.quiet-category-card p {
    color: #666d75;
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 30px;
}

.quiet-category-card a {
    margin-top: auto;
    color: var(--quiet-orange);
    font-weight: 600;
    font-size: 16px;
}


/* ---------- Why Quiet ---------- */

.quiet-why {
    background: var(--quiet-dark);
    color: #fff;
}

.quiet-head-light h2 {
    color: #fff;
}

.quiet-head-light p {
    color: #a7adb5;
}

.quiet-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #343a40;
    border-bottom: 1px solid #343a40;
}

.quiet-why-item {
    min-height: 255px;
    padding: 38px 34px;
    border-right: 1px solid #343a40;
}

.quiet-why-item:last-child {
    border-right: 0;
}

.quiet-why-item > span {
    color: var(--quiet-orange);
    font-size: 13px;
    font-weight: 700;
}

.quiet-why-item h3 {
    color: #fff;
    font-size: 23px;
    margin: 44px 0 16px;
}

.quiet-why-item p {
    color: #9ca3ab;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* ---------- Latest Products ---------- */

.quiet-latest {
    background: #fff;
}

.quiet-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.quiet-product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    border: 1px solid var(--quiet-border);
    border-radius: var(--quiet-radius);
    background: #fff;
}

.quiet-product-image {
    display: block;
    height: 235px;
    overflow: hidden;
    background: #111416;
}

.quiet-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiet-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    letter-spacing: .25em;
    font-size: 18px;
    font-weight: 700;
}

.quiet-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.quiet-product-body h3 {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.quiet-product-body h3 a {
    color: var(--quiet-text);
}

.quiet-product-body p {
    color: var(--quiet-muted);
    line-height: 1.65;
    margin-bottom: 25px;
}

.quiet-text-link {
    margin-top: auto;
    color: var(--quiet-orange);
    font-weight: 600;
}

.quiet-center-action {
    margin-top: 46px;
    text-align: center;
}

.quiet-btn-dark {
    background: #16191c;
    color: #fff;
}

.quiet-btn-dark:hover {
    color: #fff;
    background: #262a2f;
}


/* ---------- CTA ---------- */

.quiet-cta {
    padding: 85px 0;
    background: var(--quiet-black);
    color: #fff;
}

.quiet-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.quiet-cta h2 {
    color: #fff;
    font-size: clamp(34px, 3.5vw, 50px);
    margin-bottom: 13px;
}

.quiet-cta p {
    color: #a7adb5;
    margin-bottom: 0;
}

.quiet-btn-outline-light {
    color: #fff;
    border: 1px solid #4a5057;
}

.quiet-btn-outline-light:hover {
    color: #fff;
    border-color: #90969d;
}


/* ---------- Footer ---------- */

.quiet-footer {
    background: #111315;
    color: #fff;
    border-top: 1px solid #2b3035;
}

.quiet-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 48px;
}

.quiet-footer strong {
    font-size: 23px;
}

.quiet-footer p {
    color: #8e959d;
    margin: 10px 0 0;
}

.quiet-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.quiet-footer-nav a {
    color: #b6bbc1;
}

.quiet-footer-nav a:hover {
    color: var(--quiet-orange);
}

.quiet-footer-bottom {
    border-top: 1px solid #2b3035;
    padding-top: 24px;
    padding-bottom: 28px;
    color: #747b83;
    font-size: 14px;
}


/*
 * Hide Astra's default footer only on the custom Quiet homepage.
 * get_footer() is still kept for wp_footer scripts.
 */

body.home .site-footer {
    display: none !important;
}


/* ---------- Responsive ---------- */

@media (max-width: 1100px) {

    .quiet-shell {
        width: min(calc(100% - 50px), var(--quiet-shell));
    }

    .quiet-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .quiet-hero h1 {
        font-size: 64px;
    }

    .quiet-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiet-why-item:nth-child(2) {
        border-right: 0;
    }

    .quiet-why-item:nth-child(-n+2) {
        border-bottom: 1px solid #343a40;
    }

}


@media (max-width: 820px) {

    .quiet-shell {
        width: min(calc(100% - 34px), var(--quiet-shell));
    }

    .quiet-hero {
        padding: 80px 0;
    }

    .quiet-hero-grid {
        grid-template-columns: 1fr;
    }

    .quiet-hero h1 {
        font-size: clamp(50px, 12vw, 70px);
    }

    .quiet-hero-visual {
        height: 400px;
        margin-top: 20px;
    }

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

    .quiet-category-card {
        min-height: 290px;
    }

    .quiet-cta-inner,
    .quiet-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 560px) {

    .quiet-section {
        padding: 75px 0;
    }

    .quiet-hero-desc {
        font-size: 17px;
    }

    .quiet-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .quiet-btn {
        width: 100%;
    }

    .quiet-hero-visual {
        height: 350px;
    }

    .quiet-visual-main {
        width: 78%;
    }

    .quiet-visual-card {
        width: 55%;
        min-width: 0;
        padding: 24px;
    }

    .quiet-why-grid {
        grid-template-columns: 1fr;
    }

    .quiet-why-item,
    .quiet-why-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #343a40;
    }

    .quiet-why-item:last-child {
        border-bottom: 0;
    }

}


/* =========================================================
   Quiet Software V1.2
   Compatibility styles for current front-page.php
   ========================================================= */


/* ---------- Page sections ---------- */

.quiet-section-light {
    background: #ffffff;
    color: #202226;
}

.quiet-section-dark {
    background: #15181b;
    color: #ffffff;
}

.quiet-section-head-dark h2 {
    color: #ffffff;
}

.quiet-section-head-dark p {
    color: #9da4ad;
}


/* ---------- Secondary button ---------- */

.quiet-btn-secondary {
    color: #ffffff;
    border: 1px solid #454b52;
    background: transparent;
}

.quiet-btn-secondary:hover {
    color: #ffffff;
    border-color: #808790;
    background: rgba(255,255,255,.03);
}


/* =========================================================
   HERO PANEL
   ========================================================= */

.quiet-hero-panel {
    position: relative;
    height: 480px;
    min-width: 0;
}

.quiet-panel-card {
    position: absolute;
    border: 1px solid #343a40;
    border-radius: 16px;
    background: #171b1f;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.quiet-panel-card strong {
    display: block;
    color: #ffffff;
}

.quiet-panel-card small {
    display: block;
    color: #9299a2;
    margin-top: 8px;
}


/* Main Quiet block */

.quiet-panel-a {
    width: 68%;
    height: 68%;
    right: 0;
    top: 14%;
    padding: 46px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quiet-panel-a strong {
    font-size: 38px;
    line-height: 1.1;
}

.quiet-panel-a small {
    font-size: 16px;
}


/* Floating block 01 */

.quiet-panel-b {
    width: 48%;
    min-height: 155px;
    left: 0;
    top: 4%;
    padding: 32px;
}

.quiet-panel-b strong {
    color: var(--quiet-orange);
    font-size: 15px;
    margin-bottom: 28px;
}

.quiet-panel-b small {
    color: #d5d8dc;
    font-size: 18px;
}


/* Floating block 02 */

.quiet-panel-c {
    width: 48%;
    min-height: 150px;
    left: 12%;
    bottom: 2%;
    padding: 32px;
}

.quiet-panel-c strong {
    color: var(--quiet-orange);
    font-size: 15px;
    margin-bottom: 28px;
}

.quiet-panel-c small {
    color: #d5d8dc;
    font-size: 18px;
}


/* =========================================================
   EXPLORE QUIET SOFTWARE
   The current PHP intentionally leaves this area available
   for future dynamic product/category content.
   ========================================================= */

.quiet-section-light .quiet-section-head {
    margin-bottom: 45px;
}


/* =========================================================
   WHY QUIET
   ========================================================= */

.quiet-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: 55px;
    border-top: 1px solid #343a40;
    border-bottom: 1px solid #343a40;
}

.quiet-value {
    min-height: 270px;
    padding: 38px 34px;

    border-right: 1px solid #343a40;
}

.quiet-value:last-child {
    border-right: none;
}

.quiet-value > span {
    display: block;
    color: var(--quiet-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.quiet-value h3 {
    margin: 43px 0 17px;

    color: #ffffff;
    font-size: 23px;
    line-height: 1.25;
}

.quiet-value p {
    margin-bottom: 0;

    color: #9ea5ad;
    font-size: 15px;
    line-height: 1.72;
}


/* =========================================================
   LATEST SOFTWARE HEADER
   ========================================================= */

.quiet-section-head-row {
    max-width: none;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    text-align: left;
}

.quiet-section-head-row > div {
    max-width: 760px;
}

.quiet-section-head-row .quiet-text-link {
    flex: 0 0 auto;
    margin-bottom: 8px;
}

.quiet-text-link {
    color: var(--quiet-orange);
    font-weight: 600;
}

.quiet-text-link:hover {
    color: var(--quiet-orange-hover);
}


/* =========================================================
   CTA
   ========================================================= */

.quiet-cta {
    padding: 90px 0;
    background: #0c0e0f;
    color: #ffffff;
}

.quiet-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.quiet-cta-inner > div:first-child {
    max-width: 780px;
}

.quiet-cta h2 {
    color: #ffffff;

    font-size: clamp(38px, 3.8vw, 56px);
    line-height: 1.08;
    letter-spacing: -.035em;

    margin-bottom: 18px;
}

.quiet-cta p {
    color: #9da4ad;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* =========================================================
   SPACING / TYPOGRAPHY POLISH
   ========================================================= */

.quiet-section-light,
.quiet-section-dark {
    padding-top: 105px;
    padding-bottom: 105px;
}

.quiet-section-head h2 {
    font-weight: 700;
}

.quiet-section-head-row h2 {
    margin-bottom: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .quiet-hero-grid {
        grid-template-columns: minmax(0,1fr) minmax(360px,.85fr);
        gap: 50px;
    }

    .quiet-value-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .quiet-value:nth-child(2) {
        border-right: none;
    }

    .quiet-value:nth-child(1),
    .quiet-value:nth-child(2) {
        border-bottom: 1px solid #343a40;
    }

}


/* =========================================================
   MOBILE / TABLET PORTRAIT
   ========================================================= */

@media (max-width: 820px) {

    .quiet-hero-grid {
        grid-template-columns: 1fr;
    }

    .quiet-hero-panel {
        width: 100%;
        height: 410px;
        margin-top: 30px;
    }

    .quiet-panel-a {
        width: 72%;
    }

    .quiet-panel-b,
    .quiet-panel-c {
        width: 48%;
    }

    .quiet-section-head-row {
        display: block;
    }

    .quiet-section-head-row .quiet-text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .quiet-cta-inner {
        display: block;
    }

    .quiet-cta-inner .quiet-actions {
        margin-top: 32px;
    }

}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 560px) {

    .quiet-section-light,
    .quiet-section-dark {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .quiet-hero-panel {
        height: 340px;
    }

    .quiet-panel-a {
        width: 78%;
        height: 66%;
        padding: 28px;
    }

    .quiet-panel-a strong {
        font-size: 30px;
    }

    .quiet-panel-b,
    .quiet-panel-c {
        width: 55%;
        min-height: 120px;
        padding: 22px;
    }

    .quiet-panel-b strong,
    .quiet-panel-c strong {
        margin-bottom: 18px;
    }

    .quiet-panel-b small,
    .quiet-panel-c small {
        font-size: 15px;
    }

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

    .quiet-value,
    .quiet-value:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid #343a40;
    }

    .quiet-value:last-child {
        border-bottom: none;
    }

    .quiet-value {
        min-height: 230px;
    }

}



/* =========================================================
   Quiet Homepage Sections
   Explore + Latest Software
   ========================================================= */

.quiet-home-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 78px 24px 0;
}

.quiet-section-heading {
    margin-bottom: 30px;
}

.quiet-section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: #16181d;
}

.quiet-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.quiet-section-link {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #5d6470;
    transition: color .2s ease;
}

.quiet-section-link:hover {
    color: #111318;
}


/* Explore cards */

.quiet-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.quiet-explore-card {
    position: relative;
    display: block;
    min-height: 245px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.quiet-explore-card:hover {
    transform: translateY(-4px);
    border-color: #d5d8de;
    box-shadow: 0 18px 45px rgba(20, 25, 35, .08);
}

.quiet-card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 28px;
    padding: 0 10px;
    margin-bottom: 40px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4c525d;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
}

.quiet-explore-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.25;
    color: #17191e;
}

.quiet-explore-card p {
    max-width: 310px;
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
}

.quiet-card-arrow {
    position: absolute;
    right: 28px;
    bottom: 25px;
    font-size: 22px;
    line-height: 1;
    color: #a0a5ae;
    transition:
        transform .2s ease,
        color .2s ease;
}

.quiet-explore-card:hover .quiet-card-arrow {
    transform: translateX(4px);
    color: #25282e;
}


/* Latest Software */

.quiet-latest-section {
    padding-top: 92px;
    padding-bottom: 90px;
}

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

.quiet-software-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.quiet-software-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(20, 25, 35, .075);
}

.quiet-software-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f6f8;
}

.quiet-software-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.quiet-software-card:hover .quiet-software-image img {
    transform: scale(1.025);
}

.quiet-software-body {
    padding: 25px 26px 28px;
}

.quiet-software-label {
    margin-bottom: 12px;
    color: #969ba4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.quiet-software-card h3 {
    margin: 0 0 11px;
    font-size: 21px;
    line-height: 1.3;
}

.quiet-software-card h3 a {
    color: #181a1f;
    text-decoration: none;
}

.quiet-software-card p {
    min-height: 48px;
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}

.quiet-software-link {
    color: #34383f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.quiet-software-link:hover {
    color: #000;
}

.quiet-software-empty {
    padding: 38px 32px;
    border: 1px dashed #d9dde3;
    border-radius: 16px;
    color: #7a8089;
    background: #fafafa;
    font-size: 15px;
}


/* Responsive */

@media (max-width: 900px) {

    .quiet-explore-grid,
    .quiet-software-grid {
        grid-template-columns: 1fr;
    }

    .quiet-explore-card {
        min-height: 210px;
    }

}

@media (max-width: 600px) {

    .quiet-home-section {
        padding-left: 18px;
        padding-right: 18px;
        padding-top: 58px;
    }

    .quiet-latest-section {
        padding-top: 68px;
        padding-bottom: 64px;
    }

    .quiet-section-heading-row {
        align-items: flex-start;
    }

    .quiet-section-heading h2 {
        font-size: 29px;
    }

    .quiet-explore-card {
        padding: 25px;
    }

    .quiet-card-tag {
        margin-bottom: 30px;
    }

}


/* =========================================================
   Quiet Home Ambient Ripple
   subtle animated background
   ========================================================= */

.quiet-explore-section {
    position: relative;
    isolation: isolate;
}

.quiet-explore-section::before,
.quiet-explore-section::after {
    content: "";
    position: absolute;
    z-index: -2;
    pointer-events: none;
    border-radius: 50%;
}


/* Large soft ripple */

.quiet-explore-section::before {
    width: 620px;
    height: 620px;

    left: -240px;
    top: 20px;

    background:
        radial-gradient(
            circle,
            rgba(255, 132, 0, 0.055) 0%,
            rgba(255, 132, 0, 0.025) 28%,
            rgba(255, 132, 0, 0.012) 46%,
            transparent 68%
        );

    animation: quietRippleOne 10s ease-in-out infinite alternate;
}


/* Secondary cooler ripple */

.quiet-explore-section::after {
    width: 520px;
    height: 520px;

    right: -190px;
    top: 190px;

    background:
        radial-gradient(
            circle,
            rgba(70, 100, 150, 0.045) 0%,
            rgba(70, 100, 150, 0.018) 35%,
            transparent 68%
        );

    animation: quietRippleTwo 13s ease-in-out infinite alternate;
}


/* Cards stay above ambient layer */

.quiet-explore-grid,
.quiet-section-heading {
    position: relative;
    z-index: 2;
}


/* faint concentric wave over the whole section */

.quiet-explore-section .quiet-explore-grid::before {
    content: "";
    position: absolute;

    width: 760px;
    height: 760px;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        repeating-radial-gradient(
            circle,
            transparent 0,
            transparent 48px,
            rgba(80, 86, 98, 0.022) 49px,
            rgba(80, 86, 98, 0.022) 50px,
            transparent 51px,
            transparent 96px
        );

    pointer-events: none;
    z-index: -1;

    animation: quietWaveBreath 12s ease-in-out infinite;
}


@keyframes quietRippleOne {

    0% {
        transform: translate3d(0, 0, 0) scale(0.94);
        opacity: .65;
    }

    100% {
        transform: translate3d(55px, 28px, 0) scale(1.08);
        opacity: 1;
    }

}


@keyframes quietRippleTwo {

    0% {
        transform: translate3d(0, 20px, 0) scale(1);
        opacity: .55;
    }

    100% {
        transform: translate3d(-45px, -20px, 0) scale(1.12);
        opacity: .9;
    }

}


@keyframes quietWaveBreath {

    0% {
        transform: translate(-50%, -50%) scale(.92);
        opacity: .28;
    }

    50% {
        opacity: .55;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.07);
        opacity: .20;
    }

}


/* Respect accessibility settings */

@media (prefers-reduced-motion: reduce) {

    .quiet-explore-section::before,
    .quiet-explore-section::after,
    .quiet-explore-section .quiet-explore-grid::before {
        animation: none !important;
    }

}


/* Mobile: reduce effect strength */

@media (max-width: 768px) {

    .quiet-explore-section::before {
        width: 420px;
        height: 420px;
        left: -230px;
    }

    .quiet-explore-section::after {
        width: 360px;
        height: 360px;
        right: -220px;
    }

    .quiet-explore-section .quiet-explore-grid::before {
        width: 520px;
        height: 520px;
        opacity: .45;
    }

}


/* =========================================================
   Quiet Product Detail Page
   ========================================================= */

.quiet-product-single {
    background: #ffffff;
    color: #17191e;
}


/* ---------- Hero ---------- */

.quiet-product-hero {
    padding: 88px 24px 82px;
    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(255, 132, 0, 0.055),
            transparent 30%
        ),
        #f8f9fa;
    border-bottom: 1px solid #eceef1;
}

.quiet-product-hero-inner {
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 70px;
}

.quiet-product-label {
    margin-bottom: 20px;

    color: #ff7a00;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.quiet-product-hero h1 {
    margin: 0 0 22px;

    color: #15171b;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.quiet-product-lead {
    max-width: 680px;
    margin: 0 0 30px;

    color: #656c76;
    font-size: 19px;
    line-height: 1.7;
}

.quiet-product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.quiet-product-facts span {
    display: inline-flex;
    align-items: center;

    padding: 8px 13px;

    border: 1px solid #e1e4e8;
    border-radius: 999px;

    background: rgba(255,255,255,.82);

    color: #515761;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}


/* ---------- Buttons ---------- */

.quiet-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quiet-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 23px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.quiet-button-primary {
    color: #fff !important;
    background: #191b20;
}

.quiet-button-primary:hover {
    color: #fff !important;
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.quiet-button-disabled {
    cursor: default;

    color: #747a83;
    background: #eceef0;
    border: 1px solid #e0e3e6;
}


/* ---------- Product image ---------- */

.quiet-product-hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiet-product-image {
    display: block;

    width: 100%;
    height: auto;

    border: 1px solid #e4e7ea;
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 28px 65px rgba(22, 28, 40, .11);
}

.quiet-product-image-placeholder {
    width: 100%;
    min-height: 360px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid #e2e5e9;
    border-radius: 18px;

    background:
        linear-gradient(145deg, #ffffff, #f1f3f5);

    box-shadow:
        0 28px 65px rgba(22, 28, 40, .08);
}

.quiet-product-image-placeholder span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 84px;
    height: 84px;
    margin-bottom: 18px;

    border-radius: 22px;

    background: #191b20;
    color: #fff;

    font-size: 44px;
    line-height: 1;
    font-weight: 700;
}

.quiet-product-image-placeholder small {
    color: #626974;
    font-size: 15px;
    font-weight: 600;
}


/* ---------- Main content ---------- */

.quiet-product-content-section {
    padding: 90px 24px;
}

.quiet-product-content {
    max-width: 900px;
    margin: 0 auto;

    color: #525963;

    font-size: 17px;
    line-height: 1.85;
}

.quiet-product-content > *:first-child {
    margin-top: 0;
}

.quiet-product-content h2,
.quiet-product-content h3 {
    color: #17191d;
    letter-spacing: -.025em;
}

.quiet-product-content h2 {
    margin-top: 58px;
    margin-bottom: 18px;

    font-size: 34px;
    line-height: 1.2;
}

.quiet-product-content h3 {
    margin-top: 42px;
    margin-bottom: 15px;

    font-size: 24px;
}

.quiet-product-content p {
    margin-top: 0;
    margin-bottom: 24px;
}

.quiet-product-content ul {
    margin: 18px 0 30px;
    padding-left: 22px;
}

.quiet-product-content li {
    margin-bottom: 9px;
}


/* ---------- Product Information ---------- */

.quiet-product-info-section {
    padding: 80px 24px;

    background: #f7f8f9;
    border-top: 1px solid #eceef1;
    border-bottom: 1px solid #eceef1;
}

.quiet-product-info-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.quiet-product-info-inner h2 {
    margin: 0 0 32px;

    color: #17191e;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -.03em;
}

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

.quiet-product-info-item {
    min-height: 126px;
    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid #e0e3e7;
    border-radius: 14px;

    background: #fff;
}

.quiet-product-info-item span {
    color: #8a9099;

    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.quiet-product-info-item strong {
    color: #202329;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 650;
}


/* ---------- Privacy section ---------- */

.quiet-product-privacy {
    padding: 92px 24px;
    background: #191b20;
}

.quiet-product-privacy-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quiet-product-privacy h2 {
    margin: 0 0 18px;

    color: #fff;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.quiet-product-privacy p {
    max-width: 680px;
    margin: 0 auto;

    color: #b8bdc5;
    font-size: 16px;
    line-height: 1.75;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .quiet-product-hero {
        padding-top: 65px;
    }

    .quiet-product-hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .quiet-product-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .quiet-product-hero,
    .quiet-product-content-section,
    .quiet-product-info-section,
    .quiet-product-privacy {
        padding-left: 18px;
        padding-right: 18px;
    }

    .quiet-product-hero {
        padding-top: 52px;
        padding-bottom: 55px;
    }

    .quiet-product-hero h1 {
        font-size: 42px;
    }

    .quiet-product-lead {
        font-size: 17px;
    }

    .quiet-product-image-placeholder {
        min-height: 270px;
    }

    .quiet-product-content-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .quiet-product-info-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

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

    .quiet-product-privacy {
        padding-top: 68px;
        padding-bottom: 68px;
    }

}

/* Quiet product page - full width canvas */
body.single-quiet_product,
body.single-quiet_product #page,
body.single-quiet_product .site,
body.single-quiet_product .site-content {
    background: #ffffff;
}

body.single-quiet_product .quiet-main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.single-quiet_product .quiet-product-single {
    width: 100%;
    max-width: none;
    margin: 0;
}

