/* Order Guide — aligned with contact-us page language */

.order-guide-page {
    padding: 1.5rem 0 4rem;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 24rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 18rem);
}

.order-guide-page__hero {
    margin-bottom: 1.5rem;
    padding: 2rem 2rem 1.75rem;
    border: 1px solid rgba(191, 219, 254, 0.75);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.96));
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.06);
}

.order-guide-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.order-guide-page__hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    font-weight: 800;
    color: #0f172a;
}

.order-guide-page__hero p {
    margin: 0;
    max-width: 46rem;
    font-size: 1rem;
    line-height: 2;
    color: #475569;
}

.order-guide-page__layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
}

.order-guide-page__toc {
    position: sticky;
    top: 9rem;
    z-index: 5;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(191, 219, 254, 0.85);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.order-guide-page__main section[id] {
    scroll-margin-top: 9.25rem;
}

.order-guide-page__toc-title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.order-guide-page__toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.order-guide-page__toc-list a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
    transition: background 0.18s ease, color 0.18s ease;
}

.order-guide-page__toc-list a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.order-guide-page__main {
    display: grid;
    gap: 1.1rem;
    min-width: 0;
}

.order-guide-card {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.order-guide-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 1.35rem 0.85rem;
}

.order-guide-card__icon {
    width: 2.55rem;
    height: 2.55rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 1.15rem;
}

.order-guide-card__eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.order-guide-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.order-guide-card__body {
    padding: 0 1.35rem 1.4rem;
}

.order-guide-card__body p {
    margin: 0 0 0.9rem;
    font-size: 0.98rem;
    line-height: 2;
    color: #475569;
}

.order-guide-card__body p:last-child {
    margin-bottom: 0;
}

.order-guide-card__body.product-description-content {
    line-height: 2;
    color: #475569;
}

.order-guide-card__body.product-description-content p,
.order-guide-card__body.product-description-content li {
    line-height: 2 !important;
    font-size: 0.98rem !important;
}

.order-guide-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.order-guide-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: start;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-inline-start: 3px solid #93c5fd;
}

.order-guide-steps__num {
    margin-top: 0.15rem;
    min-width: 1.35rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

.order-guide-steps strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #0f172a;
    font-size: 0.98rem;
}

.order-guide-steps span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.85;
}

.order-guide-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.order-guide-list > li {
    position: relative;
    padding: 0.75rem 0.95rem 0.75rem 0.95rem;
    padding-inline-start: 2.1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.95;
}

.order-guide-list > li::before {
    content: '';
    position: absolute;
    top: 1.15rem;
    inset-inline-start: 0.85rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #3b82f6;
}

.order-guide-note {
    margin-top: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    color: #9a3412;
    font-size: 0.93rem;
    line-height: 2;
}

.order-guide-note strong {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: #9a3412;
}

.order-guide-note--danger {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fef2f2, #fff7ed);
    color: #991b1b;
}

.order-guide-note--danger strong {
    color: #991b1b;
}

/* CMS content from admin editor (simple sections; page chrome stays in Blade) */
.order-guide-cms {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-guide-cms > section {
    border: 1px solid rgba(191, 219, 254, 0.85);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    scroll-margin-top: 7.5rem;
}

.order-guide-cms > section > h2 {
    margin: 0;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.95));
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 800;
}

.order-guide-cms > section > *:not(h2) {
    margin-left: 1.35rem;
    margin-right: 1.35rem;
}

.order-guide-cms > section > *:not(h2):first-of-type {
    margin-top: 1.1rem;
}

.order-guide-cms > section > *:last-child {
    margin-bottom: 1.25rem;
}

.order-guide-cms p,
.order-guide-cms li {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.85;
}

.order-guide-cms ol,
.order-guide-cms ul {
    padding-right: 1.2rem;
}

.order-guide-cms .order-guide-note {
    margin: 0.85rem 1.35rem 1.1rem;
}

.order-guide-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.order-guide-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.15rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.order-guide-cta a:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.order-guide-cta__primary,
.order-guide-cta__primary:link,
.order-guide-cta__primary:visited {
    background: #1d4ed8;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
}

.order-guide-cta__primary:hover,
.order-guide-cta__primary:focus,
.order-guide-cta__primary:active {
    background: #1e40af;
    color: #fff !important;
}

.order-guide-cta__ghost,
.order-guide-cta__ghost:link,
.order-guide-cta__ghost:visited {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
}

.order-guide-cta__ghost:hover,
.order-guide-cta__ghost:focus,
.order-guide-cta__ghost:active {
    background: #dbeafe;
    color: #1e40af !important;
}

@media (max-width: 991px) {
    .order-guide-page__layout {
        grid-template-columns: 1fr;
    }

    .order-guide-page__toc {
        position: static;
    }
}

@media (max-width: 640px) {
    .order-guide-page {
        padding-top: 1rem;
    }

    .order-guide-page__hero,
    .order-guide-card__head,
    .order-guide-card__body {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .order-guide-page__hero {
        padding-top: 1.4rem;
        padding-bottom: 1.3rem;
        border-radius: 18px;
    }
}
/* ===== Dark mode ===== */
html[data-bs-theme="dark"] .order-guide-page,
body.dark .order-guide-page {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 24rem),
        linear-gradient(180deg, #12171e 0%, #0f1419 18rem);
}

html[data-bs-theme="dark"] .order-guide-page__hero,
body.dark .order-guide-page__hero {
    border-color: rgba(96, 165, 250, 0.18);
    background: linear-gradient(135deg, rgba(26, 34, 45, 0.98), rgba(22, 30, 42, 0.96));
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .order-guide-page__eyebrow,
body.dark .order-guide-page__eyebrow {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

html[data-bs-theme="dark"] .order-guide-page__hero h1,
html[data-bs-theme="dark"] .order-guide-card__title,
html[data-bs-theme="dark"] .order-guide-page__toc-title,
html[data-bs-theme="dark"] .order-guide-steps strong,
body.dark .order-guide-page__hero h1,
body.dark .order-guide-card__title,
body.dark .order-guide-page__toc-title,
body.dark .order-guide-steps strong {
    color: #e8eef7;
}

html[data-bs-theme="dark"] .order-guide-page__hero p,
html[data-bs-theme="dark"] .order-guide-card__body p,
html[data-bs-theme="dark"] .order-guide-steps span,
html[data-bs-theme="dark"] .order-guide-card__eyebrow,
body.dark .order-guide-page__hero p,
body.dark .order-guide-card__body p,
body.dark .order-guide-steps span,
body.dark .order-guide-card__eyebrow {
    color: #9aa8b8;
}

html[data-bs-theme="dark"] .order-guide-page__toc,
html[data-bs-theme="dark"] .order-guide-card,
body.dark .order-guide-page__toc,
body.dark .order-guide-card {
    background: rgba(26, 34, 45, 0.96);
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

html[data-bs-theme="dark"] .order-guide-page__toc-list a,
body.dark .order-guide-page__toc-list a {
    color: #c5d0dc;
}

html[data-bs-theme="dark"] .order-guide-page__toc-list a:hover,
body.dark .order-guide-page__toc-list a:hover {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

html[data-bs-theme="dark"] .order-guide-card__icon,
body.dark .order-guide-card__icon {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

html[data-bs-theme="dark"] .order-guide-steps li,
html[data-bs-theme="dark"] .order-guide-list > li,
body.dark .order-guide-steps li,
body.dark .order-guide-list > li {
    background: rgba(15, 20, 28, 0.85);
    border-color: rgba(148, 163, 184, 0.14);
    color: #c5d0dc;
}

html[data-bs-theme="dark"] .order-guide-steps li,
body.dark .order-guide-steps li {
    border-inline-start-color: #60a5fa;
}

html[data-bs-theme="dark"] .order-guide-steps__num,
body.dark .order-guide-steps__num {
    color: #93c5fd;
}

html[data-bs-theme="dark"] .order-guide-list > li::before,
body.dark .order-guide-list > li::before {
    background: #60a5fa;
}

html[data-bs-theme="dark"] .order-guide-note,
body.dark .order-guide-note {
    border-color: rgba(251, 146, 60, 0.35);
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.35), rgba(69, 26, 3, 0.28));
    color: #fdba74;
}

html[data-bs-theme="dark"] .order-guide-note strong,
body.dark .order-guide-note strong {
    color: #fdba74;
}

html[data-bs-theme="dark"] .order-guide-note--danger,
body.dark .order-guide-note--danger {
    border-color: rgba(248, 113, 113, 0.35);
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.38), rgba(69, 10, 10, 0.3));
    color: #fca5a5;
}

html[data-bs-theme="dark"] .order-guide-note--danger strong,
body.dark .order-guide-note--danger strong {
    color: #fca5a5;
}

html[data-bs-theme="dark"] .order-guide-cta__primary,
html[data-bs-theme="dark"] .order-guide-cta__primary:link,
html[data-bs-theme="dark"] .order-guide-cta__primary:visited,
body.dark .order-guide-cta__primary,
body.dark .order-guide-cta__primary:link,
body.dark .order-guide-cta__primary:visited {
    background: #3b82f6;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

html[data-bs-theme="dark"] .order-guide-cta__primary:hover,
html[data-bs-theme="dark"] .order-guide-cta__primary:focus,
body.dark .order-guide-cta__primary:hover,
body.dark .order-guide-cta__primary:focus {
    background: #2563eb;
    color: #fff !important;
}

html[data-bs-theme="dark"] .order-guide-cta__ghost,
html[data-bs-theme="dark"] .order-guide-cta__ghost:link,
html[data-bs-theme="dark"] .order-guide-cta__ghost:visited,
body.dark .order-guide-cta__ghost,
body.dark .order-guide-cta__ghost:link,
body.dark .order-guide-cta__ghost:visited {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd !important;
    border-color: rgba(96, 165, 250, 0.28);
}

html[data-bs-theme="dark"] .order-guide-cta__ghost:hover,
html[data-bs-theme="dark"] .order-guide-cta__ghost:focus,
body.dark .order-guide-cta__ghost:hover,
body.dark .order-guide-cta__ghost:focus {
    background: rgba(59, 130, 246, 0.22);
    color: #bfdbfe !important;
}
