/* =========================================================
   HOW TO ORDER — GLOBAL STYLES
========================================================= */

.how-order-page {
    --ho-ink: #152250;
    --ho-muted: #596582;
    --ho-blue: #2454FF;
    --ho-purple: #7A3CF0;
    --ho-orange: #C43F0C;
    --ho-yellow: #FFC02E;
    --ho-border: #E5EAF5;
    --ho-light-blue: #EEF3FF;
    --ho-white: #FFFFFF;

    color: var(--ho-ink);
    background: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

.how-order-page *,
.how-order-page *::before,
.how-order-page *::after {
    box-sizing: border-box;
}

.how-order-page h1,
.how-order-page h2,
.how-order-page h3,
.how-order-page p {
    overflow-wrap: anywhere;
}

.how-order-page h1,
.how-order-page h2,
.how-order-page h3 {
    color: var(--ho-ink);
}

.how-order-page a {
    text-decoration: none;
}

.ho-container {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
}

.ho-section {
    position: relative;
    padding-block: clamp(56px, 7vw, 96px);
}

.ho-section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.ho-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--ho-orange);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ho-section-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.035em;
}

.ho-section-description {
    max-width: 660px;
    margin: 16px auto 0;
    color: var(--ho-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   HERO
========================================================= */

.ho-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(
        120deg,
        #EEF3FF 0%,
        #FFFFFF 46%,
        #FFF6EC 100%
    );
}

.ho-hero::before,
.ho-hero::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.ho-hero::before {
    top: -170px;
    right: -80px;
    width: 410px;
    height: 410px;
    background: radial-gradient(
        circle,
        rgba(255, 192, 46, .30) 0%,
        rgba(255, 192, 46, 0) 70%
    );
}

.ho-hero::after {
    bottom: -200px;
    left: 20%;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(0, 169, 165, .19) 0%,
        rgba(0, 169, 165, 0) 70%
    );
}

.ho-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    min-height: 390px;
    padding-block: clamp(56px, 7vw, 92px);
}

.ho-hero-copy {
    min-width: 0;
}

.ho-hero-copy .ho-eyebrow {
    margin-bottom: 18px;
}

.ho-hero-title {
    max-width: 720px;
    margin: 0;
    font-size: clamp(38px, 5.2vw, 66px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ho-hero-description {
    max-width: 570px;
    margin: 22px 0 0;
    color: #4C5877;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.85;
}

.ho-hero-products {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    perspective: 1000px;
}

.ho-product-link {
    display: block;
    width: min(30%, 145px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 18px 44px rgba(21, 34, 80, .15);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ho-product-link:nth-child(2) {
    transform: translateY(-22px);
}

.ho-product-link:nth-child(3) {
    transform: translateY(14px);
}

.ho-product-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(21, 34, 80, .22);
}

.ho-product-link img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* =========================================================
   ORDER STEPS
========================================================= */

.ho-steps-section {
    background: #FFFFFF;
    border-bottom: 1px solid var(--ho-border);
}

.ho-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ho-step-card {
    position: relative;
    min-width: 0;
    padding: 28px 24px 30px;
    overflow: hidden;
    border: 1px solid var(--ho-border);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(21, 34, 80, .035);
    transition: transform .25s ease, box-shadow .25s ease,
        border-color .25s ease;
}

.ho-step-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ho-blue), var(--ho-purple));
    content: "";
}

.ho-step-card:hover {
    transform: translateY(-5px);
    border-color: #CFD9FF;
    box-shadow: 0 16px 34px rgba(36, 84, 255, .09);
}

.ho-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: #EEF3FF;
    color: var(--ho-blue);
    font-size: 13px;
    font-weight: 800;
}

.ho-step-label {
    margin: 0 0 10px;
    color: var(--ho-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ho-step-title {
    margin: 0 0 12px;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ho-step-description {
    margin: 0;
    color: var(--ho-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   ORDERING OPTIONS
========================================================= */

.ho-options-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #2454FF 0%,
        #4F46E5 52%,
        #7A3CF0 100%
    );
    color: #FFFFFF;
}

.ho-options-section::before {
    position: absolute;
    top: -170px;
    right: -100px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(255,255,255,.035),
        0 0 0 78px rgba(255,255,255,.025);
    content: "";
    pointer-events: none;
}

.ho-options-section .ho-section-heading {
    position: relative;
}

.ho-options-section .ho-eyebrow {
    color: var(--ho-yellow);
}

.ho-options-section .ho-section-title {
    color: #FFFFFF;
}

.ho-options-section .ho-section-description {
    color: rgba(255,255,255,.82);
}

.ho-options-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ho-option-card {
    min-width: 0;
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 20px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 12px 34px rgba(17, 21, 85, .09);
    backdrop-filter: blur(8px);
    transition: background .25s ease, transform .25s ease;
}

.ho-option-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.14);
}

.ho-option-label {
    margin: 0 0 15px;
    color: var(--ho-yellow);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.6;
    text-transform: uppercase;
}

.ho-option-title {
    margin: 0 0 14px;
    color: #FFFFFF !important;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 750;
    line-height: 1.25;
}

.ho-option-description {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 14.5px;
    line-height: 1.85;
}

.ho-option-contact {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.2);
}

.ho-option-contact a {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.ho-option-contact a:hover {
    color: var(--ho-yellow);
}

/* =========================================================
   FAQ
========================================================= */

.ho-faq-section {
    background: #F7F9FF;
    border-bottom: 1px solid var(--ho-border);
}

.ho-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(36px, 7vw, 100px);
}

.ho-faq-intro {
    position: sticky;
    top: 30px;
}

.ho-faq-intro .ho-section-title {
    max-width: 420px;
}

.ho-faq-intro .ho-section-description {
    margin-inline: 0;
}

.ho-faq-list {
    overflow: hidden;
    border: 1px solid var(--ho-border);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 12px 36px rgba(21, 34, 80, .045);
}

.ho-faq-item + .ho-faq-item {
    border-top: 1px solid var(--ho-border);
}

.ho-faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border: 0;
    background: #FFFFFF;
    color: var(--ho-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ho-faq-question:hover,
.ho-faq-question[aria-expanded="true"] {
    background: #F5F7FF;
    color: var(--ho-blue);
}

.ho-faq-icon {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EEF3FF;
    color: var(--ho-blue);
    font-size: 20px;
    font-weight: 400;
}

.ho-faq-answer {
    padding: 0 26px 24px;
    color: var(--ho-muted);
    font-size: 14.5px;
    line-height: 1.85;
}

.ho-faq-answer p {
    margin: 0;
}

/* =========================================================
   FINAL CTA
========================================================= */

.ho-cta-section {
    background: #FFFFFF;
}

.ho-cta-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(36px, 5.5vw, 68px) clamp(22px, 5vw, 64px);
    border: 1px solid #DDE5FF;
    border-radius: 26px;
    background: linear-gradient(
        125deg,
        #EEF3FF 0%,
        #F9F8FF 58%,
        #FFF5EA 100%
    );
    text-align: center;
}

.ho-cta-panel::before {
    position: absolute;
    z-index: -1;
    top: -110px;
    right: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(122,60,240,.12),
        transparent 70%
    );
    content: "";
}

.ho-cta-title {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.ho-cta-description {
    max-width: 650px;
    margin: 18px auto 0;
    color: var(--ho-muted);
    font-size: 15.5px;
    line-height: 1.8;
}

.ho-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.ho-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease,
        background .2s ease, color .2s ease;
}

.ho-button:hover {
    transform: translateY(-3px);
}

.ho-button-primary {
    background: linear-gradient(135deg, #2454FF, #7A3CF0);
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(36,84,255,.18);
}

.ho-button-primary:hover {
    box-shadow: 0 12px 26px rgba(36,84,255,.26);
}

.ho-button-secondary {
    border-color: var(--ho-blue);
    background: #FFFFFF;
    color: var(--ho-blue) !important;
}

.ho-button-secondary:hover {
    background: #EEF3FF;
}

/* =========================================================
   RESPONSIVE: TABLETS
========================================================= */

@media (max-width: 1024px) {
    .ho-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
        gap: 28px;
    }

    .ho-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .ho-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ho-option-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .ho-faq-layout {
        gap: 36px;
    }

    .ho-faq-question {
        padding: 22px;
    }
}

/* =========================================================
   RESPONSIVE: MOBILE
========================================================= */

@media (max-width: 700px) {
    .ho-container {
        width: calc(100% - 36px);
    }

    .ho-section {
        padding-block: 54px;
    }

    .ho-section-heading {
        margin-bottom: 30px;
        text-align: left;
    }

    .ho-section-description {
        margin-top: 13px;
        font-size: 14.5px;
        line-height: 1.75;
    }

    .ho-hero-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
        padding-block: 56px 52px;
    }

    .ho-hero-title {
        font-size: clamp(36px, 10vw, 52px);
    }

    .ho-hero-description {
        margin-top: 18px;
        font-size: 15px;
    }

    .ho-hero-products {
        justify-content: flex-start;
        gap: 14px;
        padding: 8px 8px 16px;
    }

    .ho-product-link {
        width: min(28%, 120px);
        border-radius: 12px;
    }

    .ho-product-link:nth-child(2) {
        transform: translateY(-12px);
    }

    .ho-product-link:nth-child(3) {
        transform: translateY(8px);
    }

    .ho-steps-grid,
    .ho-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ho-option-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .ho-step-card {
        padding: 24px 22px;
    }

    .ho-step-number {
        margin-bottom: 18px;
    }

    .ho-step-title {
        font-size: 22px;
    }

    .ho-option-card {
        padding: 27px 23px;
    }

    .ho-option-title {
        font-size: 25px;
    }

    .ho-faq-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ho-faq-intro {
        position: static;
    }

    .ho-faq-list {
        border-radius: 14px;
    }

    .ho-faq-question {
        gap: 14px;
        padding: 20px 17px;
        font-size: 15px;
    }

    .ho-faq-answer {
        padding: 0 17px 20px;
        font-size: 14px;
    }

    .ho-cta-panel {
        padding: 36px 20px;
        border-radius: 20px;
    }

    .ho-cta-title {
        font-size: clamp(27px, 7.5vw, 36px);
    }

    .ho-cta-description {
        font-size: 14px;
    }

    .ho-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 24px;
    }

    .ho-button {
        width: 100%;
        padding-inline: 18px;
    }
}

@media (max-width: 380px) {
    .ho-container {
        width: calc(100% - 28px);
    }

    .ho-hero-title {
        font-size: 34px;
    }

    .ho-step-card,
    .ho-option-card {
        padding-inline: 19px;
    }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .how-order-page *,
    .how-order-page *::before,
    .how-order-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: #C43F0C!important;
    border-width: 0;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    padding-top: calc(0.667em + 2px);
    padding-right: calc(1.333em + 2px);
    padding-bottom: calc(0.667em + 2px);
    padding-left: calc(1.333em + 2px);
    text-decoration: none;
    text-transform: inherit;
}
.mp-book-cta h2 {
    color: #fff!important;
}