/* ===============================================================
   JP EXPRESS — SHIPPING GUIDES PAGE
   Isolated: html.page-shipping-guides
   Premium, mobile-first, fully responsive.
   =============================================================== */

/* ===============================================================
   01. HERO
   =============================================================== */
.page-shipping-guides .sg-hero .hero-copy {
    max-width: 820px;
}

.sg-hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin: 12px 0 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

.sg-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sg-hero-trust i {
    color: var(--jp-orange-light, #FFB08A);
}

/* ===============================================================
   02. SECTION HEADINGS
   =============================================================== */
.sg-section-head {
    max-width: 720px;
    margin-bottom: 28px;
}

.sg-section-head h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    line-height: 1.18;
    letter-spacing: -.02em;
    color: var(--jp-heading-color, #1B2559);
    margin: 2px 0 4px;
}

.sg-section-head p {
    margin: 0;
    color: var(--jp-text-muted, #64748b);
    font-size: 14px;
    line-height: 1.5;
}

.sg-section-head--flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===============================================================
   03. §4 JOURNEY
   =============================================================== */
.sg-journey {
    background: var(--jp-white);
    padding: clamp(22px, 3.5vw, 36px) 0;
    border-bottom: 1px solid var(--jp-border-light, #eef2f7);
}

.sg-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    counter-reset: sg-step;
}

.sg-step {
    display: grid;
    grid-template-columns: 30px 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    padding: 10px 12px;
    background: var(--jp-white);
    border: 1px solid var(--jp-border-muted, #e1e9f2);
    border-radius: 14px;
    color: var(--jp-navy, #2B3990);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sg-step:hover,
.sg-step:focus-visible {
    transform: translateY(-2px);
    border-color: var(--jp-orange, #F26323);
    box-shadow: 0 10px 22px rgba(43, 57, 144, .12);
    color: var(--jp-navy, #2B3990);
    outline: none;
}

.sg-step:focus-visible {
    box-shadow: 0 0 0 3px rgba(242, 99, 35, .35);
}

.sg-step-num {
    grid-column: 1;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--jp-orange, #F26323);
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 14px;
}

.sg-step-ico {
    grid-column: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(43, 57, 144, .08);
    color: var(--jp-navy, #2B3990);
    font-size: 18px;
}

.sg-step-body {
    grid-column: 3;
    display: block;
    min-width: 0;
}

.sg-step-body strong {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--jp-navy, #2B3990);
    line-height: 1.25;
}

.sg-step-body small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--jp-text-muted, #64748b);
}

/* ===============================================================
   04. §5 LIBRARY
   =============================================================== */
.sg-library {
    padding: clamp(22px, 3.5vw, 36px) 0;
    background: var(--jp-bg-light, #f8fbfe);
}

/* Category cards */
.sg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sg-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    scroll-margin-top: 96px;
    background: #fff;
    border: 1px solid var(--jp-border-muted, #e1e9f2);
    border-radius: 16px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sg-cat-card:hover,
.sg-cat-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(43, 57, 144, .13);
    border-color: rgba(242, 99, 35, .45);
    outline: none;
}

.sg-cat-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(242, 99, 35, .35);
}

.sg-cat-ico {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(242, 99, 35, .1);
    color: var(--jp-orange, #F26323);
    font-size: 20px;
}

.sg-cat-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--jp-navy, #2B3990);
    margin: 0;
}

.sg-cat-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--jp-text-muted, #64748b);
    flex: 1;
}

.sg-cat-meta {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 6px;
}

.sg-cat-tag {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(43, 57, 144, .08);
    color: var(--jp-navy, #2B3990);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sg-cat-open {
    margin-top: auto;
    font-size: 13px;
    font-weight: 800;
    color: var(--jp-orange, #F26323);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sg-cat-open i {
    transition: transform .2s ease;
}

.sg-cat-card:hover .sg-cat-open i,
.sg-cat-card:focus-visible .sg-cat-open i {
    transform: translateX(4px);
}

/* ===============================================================
   05. §7 CHECKLIST
   =============================================================== */
.sg-checklist {
    margin-top: 22px;
    padding: clamp(14px, 2.2vw, 20px);
    background: #fff;
    border: 1px solid var(--jp-border-muted, #e1e9f2);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(43, 57, 144, .06);
}

.sg-checklist-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.sg-checklist-head h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 800;
    color: var(--jp-heading-color, #1B2559);
    margin: 2px 0;
}

.sg-checklist-head p {
    margin: 0;
    font-size: 14px;
    color: var(--jp-text-muted, #64748b);
}

.sg-checklist-progress {
    display: grid;
    gap: 6px;
    min-width: 180px;
    font-size: 13px;
    font-weight: 700;
    color: var(--jp-navy, #2B3990);
}

.sg-progress-bar {
    display: block;
    height: 6px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}

.sg-progress-bar>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--jp-orange, #F26323), #FF8A57);
    border-radius: 999px;
    transition: width .35s ease;
}

.sg-checklist-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sg-checklist-list label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid var(--jp-border-muted, #e1e9f2);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.sg-checklist-list label:hover {
    border-color: var(--jp-orange, #F26323);
    background: #fff8f4;
}

.sg-checklist-list label:has(input:checked) {
    border-color: #1da86b;
    background: #eef8f3;
}

.sg-checklist-list label:has(input:checked) strong {
    color: #146d48;
}

.sg-checklist-list input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--jp-orange, #F26323);
    cursor: pointer;
}

.sg-checklist-list strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--jp-navy, #2B3990);
    line-height: 1.3;
}

.sg-checklist-list small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--jp-text-muted, #64748b);
}

.sg-checklist-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 12px;
    background: #f5f8ff;
    border: 1px solid #dfe8f2;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #45516b;
}

.sg-checklist-note i {
    color: var(--jp-navy, #2B3990);
    margin-top: 2px;
}

.sg-checklist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sg-checklist-actions .btn-main {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 8px;
}

.sg-btn-ghost {
    background: #fff;
    border: 1.5px solid var(--jp-navy, #2B3990);
    color: var(--jp-navy, #2B3990);
}

.sg-btn-ghost:hover {
    background: var(--jp-navy, #2B3990);
    color: #fff;
}

/* ===============================================================
   06. §8 FAQ + SUPPORT CTA
   =============================================================== */
.sg-faq-section {
    padding: clamp(22px, 3.5vw, 36px) 0;
    background: #fff;
}

.sg-faq-section .accordion {
    gap: 8px;
}

.sg-faq-section .accordion-button {
    padding: 11px 16px;
    font-size: 14px;
}

.sg-faq-section .accordion-body {
    padding: 0 16px 12px;
    font-size: 13.5px;
    line-height: 1.5;
}

.sg-faq-cta {
    margin-top: 14px;
    padding: 14px 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--jp-navy-dark, #1E2A6B), var(--jp-navy, #2B3990));
    color: #fff;
}

.sg-faq-cta p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .88);
    flex: 1 1 260px;
}

.sg-faq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sg-faq-actions .btn-main {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
}

.sg-faq-actions .sg-btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.sg-faq-actions .sg-btn-ghost:hover {
    background: #fff;
    color: var(--jp-navy, #2B3990);
}

/* ===============================================================
   07. RELATED
   =============================================================== */
.sg-related {
    padding: clamp(20px, 3vw, 32px) 0;
    background: var(--jp-bg-light, #f8fbfe);
}

.sg-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sg-related-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 13px 14px;
    background: #fff;
    border: 1px solid var(--jp-border-muted, #e1e9f2);
    border-radius: 14px;
    color: var(--jp-navy, #2B3990);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sg-related-card:hover {
    transform: translateY(-3px);
    border-color: var(--jp-orange, #F26323);
    box-shadow: 0 10px 24px rgba(43, 57, 144, .12);
    color: var(--jp-navy, #2B3990);
}

.sg-related-card i {
    font-size: 22px;
    color: var(--jp-orange, #F26323);
}

.sg-related-card strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.sg-related-card small {
    font-size: 12.5px;
    color: var(--jp-text-muted, #64748b);
}

/* ===============================================================
   08. §6 MODAL
   =============================================================== */
.sg-modal[hidden] {
    display: none;
}

body.sg-modal-open {
    overflow: hidden;
}

.sg-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 16px;
}

.sg-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 60, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.sg-modal-panel {
    position: relative;
    width: min(680px, 100%);
    overscroll-behavior: contain;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(8, 14, 60, .35);
    animation: sgModalIn .28s ease both;
}

@keyframes sgModalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.sg-modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 12px;
    background: linear-gradient(135deg, var(--jp-navy-dark, #1E2A6B), var(--jp-navy, #2B3990));
    color: #fff;
    border-radius: 18px 18px 0 0;
}

.sg-modal-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--jp-orange-light, #FFB08A);
}

.sg-modal-head h2 {
    margin: 2px 0 4px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.1rem, 2.6vw, 1.3rem);
    font-weight: 800;
    line-height: 1.2;
}

.sg-modal-head h2:focus {
    outline: none;
}

.sg-modal-summary {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .82);
}

.sg-modal-close {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.sg-modal-close:hover {
    background: rgba(255, 255, 255, .2);
    border-color: #fff;
}

.sg-modal-body {
    padding: 14px 18px 18px;
}

.sg-modal-block {
    margin-bottom: 18px;
}

.sg-modal-block h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--jp-navy, #2B3990);
}

.sg-modal-block h3 i {
    color: var(--jp-orange, #F26323);
}

.sg-modal-block p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #45516b;
}

.sg-modal-block ul,
.sg-modal-block ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: #45516b;
}

.sg-modal-warn h3 {
    color: #B54708;
}

.sg-modal-warn h3 i {
    color: #B54708;
}

.sg-modal-related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sg-modal-related a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--jp-border-muted, #e1e9f2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: var(--jp-navy, #2B3990);
    text-decoration: none;
}

.sg-modal-related a:hover {
    border-color: var(--jp-orange, #F26323);
    color: var(--jp-orange, #F26323);
}

.sg-modal-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 14px;
}

.sg-modal-cta .btn-main {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
}

.sg-modal-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    background: #f5f8ff;
    border: 1px solid #dfe8f2;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #45516b;
}

.sg-modal-note i {
    color: var(--jp-navy, #2B3990);
    margin-top: 2px;
}

/* ===============================================================
   09. RESPONSIVE — mobile-first
   =============================================================== */
@media (max-width: 1199px) {
    .sg-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-checklist-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-shipping-guides .sg-hero {
        padding: 24px 0 22px;
    }

    .page-shipping-guides .sg-hero .page-crumb {
        margin-bottom: 10px;
    }

    .page-shipping-guides .sg-hero h1 {
        margin: 0 auto 8px;
    }

    .sg-hero-trust {
        font-size: 11.5px;
        gap: 6px 14px;
        margin-top: 12px;
    }

    .sg-journey,
    .sg-library,
    .sg-faq-section,
    .sg-related {
        padding: 24px 0;
    }

    .sg-section-head {
        margin-bottom: 16px;
        text-align: left;
    }

    .sg-section-head h2 {
        font-size: clamp(1.2rem, 5.4vw, 1.5rem);
        line-height: 1.18;
    }

    .sg-section-head p {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .sg-section-head--flex {
        display: block;
    }

    .sg-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sg-step {
        padding: 10px 12px;
        grid-template-columns: 32px 38px minmax(0, 1fr);
        column-gap: 10px;
    }

    .sg-step-num {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .sg-step-ico {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }

    .sg-step-body strong {
        font-size: 14px;
    }

    .sg-step-body small {
        font-size: 12px;
    }

    .sg-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sg-cat-card {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 6px;
        align-items: center;
        padding: 14px;
        border-radius: 12px;
    }

    .sg-cat-card>* {
        grid-column: 1 / -1;
    }

    .sg-cat-ico {
        grid-column: 1;
        grid-row: 1;
        width: 42px;
        height: 42px;
        font-size: 16px;
        border-radius: 11px;
    }

    .sg-cat-meta {
        display: none;
    }

    .sg-cat-card h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
        line-height: 1.25;
        margin: 0;
    }

    .sg-cat-card p {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .sg-cat-open {
        font-size: 12.5px;
    }

    .sg-checklist {
        margin-top: 20px;
        padding: 14px;
        border-radius: 14px;
    }

    .sg-checklist-head {
        gap: 10px;
        margin-bottom: 12px;
    }

    .sg-checklist-head h2 {
        font-size: clamp(1.2rem, 5.2vw, 1.4rem);
        margin: 2px 0;
    }

    .sg-checklist-head p {
        font-size: 13px;
    }

    .sg-checklist-progress {
        min-width: 0;
        width: 100%;
        font-size: 12px;
    }

    .sg-checklist-list {
        gap: 8px;
        margin-bottom: 12px;
    }

    .sg-checklist-list label {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 10px;
    }

    .sg-checklist-list input {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
    }

    .sg-checklist-list strong {
        font-size: 13.5px;
    }

    .sg-checklist-list small {
        font-size: 12px;
    }

    .sg-checklist-note {
        font-size: 12px;
        padding: 8px 10px;
        margin-bottom: 12px;
    }

    .sg-checklist-actions .btn-main {
        flex: 1 1 calc(50% - 5px);
        min-height: 42px;
        font-size: 14px;
        padding: 0 10px;
        justify-content: center;
    }

    .sg-faq-section .accordion-button {
        padding: 12px 14px;
        font-size: 13.5px;
    }

    .sg-faq-section .accordion-body {
        padding: 0 14px 14px;
        font-size: 13px;
    }

    .sg-faq-cta {
        padding: 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .sg-faq-cta p {
        font-size: 13px;
    }

    .sg-faq-actions {
        width: 100%;
    }

    .sg-faq-actions .btn-main {
        flex: 1 1 calc(50% - 5px);
        min-height: 42px;
        font-size: 14px;
        justify-content: center;
    }

    .sg-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sg-related-card {
        padding: 12px;
        border-radius: 12px;
        gap: 4px;
    }

    .sg-related-card i {
        font-size: 18px;
    }

    .sg-related-card strong {
        font-size: 14px;
    }

    .sg-related-card small {
        font-size: 12px;
    }

    /* Modal becomes near-fullscreen sheet on mobile */
    .sg-modal {
        padding: 0;
        place-items: end center;
    }

    .sg-modal-panel {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        animation: sgSheetIn .28s ease both;
    }

    @keyframes sgSheetIn {
        from {
            transform: translateY(100%);
        }

        to {
            transform: none;
        }
    }

    .sg-modal-head {
        padding: 16px 16px 14px;
        border-radius: 18px 18px 0 0;
    }

    .sg-modal-body {
        padding: 16px 16px 22px;
    }

    .sg-modal-block {
        margin-bottom: 14px;
    }

    .sg-modal-block h3 {
        font-size: 13.5px;
        margin-bottom: 6px;
    }

    .sg-modal-block p,
    .sg-modal-block ul,
    .sg-modal-block ol {
        font-size: 13px;
    }

    .sg-modal-cta .btn-main {
        flex: 1 1 calc(50% - 5px);
        min-height: 42px;
        padding: 0 10px;
        font-size: 13.5px;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .sg-cat-card {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .sg-cat-ico {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 10px;
    }

    .sg-cat-card h3 {
        font-size: 14px;
    }

    .sg-checklist-actions .btn-main {
        flex-basis: 100%;
    }

    .sg-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .sg-step,
    .sg-cat-card,
    .sg-related-card,
    .sg-cat-open i,
    .sg-progress-bar>span,
    .sg-modal-panel,
    .sg-modal-backdrop {
        transition: none !important;
        animation: none !important;
    }
}

/* ===============================================================
   10. MOBILE COMPACT OVERRIDES (final, keep at end of file)
   =============================================================== */
@media (max-width: 767px) {

    html.page-shipping-guides .container-xl {
        padding-left: 12px;
        padding-right: 12px;
    }

    html.page-shipping-guides .hero.sg-hero {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .sg-hero-trust {
        font-size: 11px;
        gap: 4px 10px;
        margin-top: 8px;
    }

    .sg-journey,
    .sg-library,
    .sg-faq-section,
    .sg-related {
        padding: 16px 0;
    }

    .sg-section-head {
        margin-bottom: 10px;
    }

    .sg-section-head h2 {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
        margin: 0 0 2px;
    }

    .sg-section-head p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Journey: 2 columns, compact tiles */
    .sg-steps {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .sg-step {
        grid-template-columns: 26px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 4px 8px;
        padding: 8px 10px;
        border-radius: 10px;
        align-items: start;
    }

    .sg-step-num {
        grid-column: 1;
        grid-row: 1;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .sg-step-ico {
        display: none;
    }

    .sg-step-body {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .sg-step-body strong {
        font-size: 13px;
        line-height: 1.2;
    }

    .sg-step-body small {
        font-size: 11.5px;
        line-height: 1.3;
    }

    /* Library cards */
    .sg-grid {
        gap: 6px;
    }

    .sg-cat-card {
        grid-template-columns: 36px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 3px;
        padding: 10px 12px;
        border-radius: 10px;
        scroll-margin-top: 80px;
    }

    .sg-cat-ico {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 10px;
    }

    .sg-cat-card h3 {
        font-size: 14px;
    }

    .sg-cat-card p {
        font-size: 12px;
        line-height: 1.4;
    }

    .sg-cat-open {
        font-size: 12px;
    }

    /* Checklist */
    .sg-checklist {
        margin-top: 14px;
        padding: 12px;
        border-radius: 12px;
    }

    .sg-checklist-head {
        gap: 6px;
        margin-bottom: 8px;
    }

    .sg-checklist-head h2 {
        font-size: 1.1rem;
    }

    .sg-checklist-head p {
        font-size: 12.5px;
    }

    .sg-checklist-list {
        gap: 6px;
        margin-bottom: 8px;
    }

    .sg-checklist-list label {
        padding: 8px 10px;
        gap: 8px;
        border-radius: 9px;
    }

    .sg-checklist-list strong {
        font-size: 13px;
    }

    .sg-checklist-list small {
        font-size: 11.5px;
    }

    .sg-checklist-note {
        font-size: 11.5px;
        padding: 6px 10px;
        margin-bottom: 8px;
    }

    .sg-checklist-actions {
        gap: 6px;
    }

    .sg-checklist-actions .btn-main {
        min-height: 40px;
        font-size: 13.5px;
    }

    /* FAQ */
    .sg-faq-section .accordion {
        gap: 6px;
    }

    .sg-faq-section .accordion-button {
        padding: 10px 12px;
        font-size: 13px;
    }

    .sg-faq-section .accordion-body {
        padding: 0 12px 10px;
        font-size: 12.5px;
    }

    .sg-faq-cta {
        margin-top: 10px;
        padding: 12px;
        gap: 8px;
    }

    .sg-faq-cta p {
        font-size: 12.5px;
    }

    .sg-faq-actions {
        gap: 6px;
    }

    .sg-faq-actions .btn-main {
        min-height: 38px;
        font-size: 13px;
    }

    /* Related */
    .sg-related-grid {
        gap: 6px;
    }

    .sg-related-card {
        padding: 10px;
        gap: 2px;
        border-radius: 10px;
    }

    .sg-related-card i {
        font-size: 16px;
    }

    .sg-related-card strong {
        font-size: 13px;
    }

    .sg-related-card small {
        font-size: 11.5px;
    }

    /* Modal bottom sheet */
    .sg-modal-panel {
        max-height: 90vh;
    }

    .sg-modal-head {
        padding: 12px 14px 10px;
    }

    .sg-modal-head h2 {
        font-size: 1.1rem;
    }

    .sg-modal-summary {
        font-size: 12.5px;
    }

    .sg-modal-body {
        padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
    }

    .sg-modal-block {
        margin-bottom: 10px;
    }

    .sg-modal-block h3 {
        font-size: 13px;
    }

    .sg-modal-block p,
    .sg-modal-block ul,
    .sg-modal-block ol {
        font-size: 12.5px;
    }

    .sg-modal-related a {
        padding: 6px 11px;
        font-size: 12px;
    }

    .sg-modal-cta .btn-main {
        min-height: 40px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {

    .sg-steps {
        grid-template-columns: 1fr;
    }

    .sg-cat-card {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .sg-cat-ico {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .sg-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}