/* ============================================================
   page-shopping-bag-line.css
   Styles unique to the Shopping & Carry Bag Line solution page.
   All tokens from Global.css — no :root{} defined here.
   ============================================================ */


/* ── S1: HERO ─────────────────────────────────────────────── */

.sbl-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sbl-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sbl-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sbl-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(215,25,32,.28), transparent 38%),
        linear-gradient(135deg, rgba(11,13,16,.88) 0%, rgba(23,26,31,.72) 60%, rgba(36,39,46,.55) 100%);
}

.sbl-hero__inner {
    position: relative;
    z-index: 1;
    padding: var(--sp-8) var(--sp-5);
    max-width: 820px;
}

.sbl-hero__badge {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-mid);
    background: rgba(215,25,32,.12);
    border: 1px solid rgba(215,25,32,.30);
    border-radius: var(--r-lg);
    padding: 6px var(--sp-2);
    margin-bottom: var(--sp-3);
}

.sbl-hero__title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    margin-bottom: var(--sp-3);
}

.sbl-hero__title em {
    font-style: normal;
    color: var(--brand-mid);
}

.sbl-hero__sub {
    font-size: var(--text-md);
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: var(--sp-5);
}

.sbl-hero__trust {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-5);
}

.sbl-hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sbl-hero__trust-num {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xl);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.sbl-hero__trust-unit {
    font-size: var(--text-md);
    color: var(--brand-mid);
}

.sbl-hero__trust-label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sbl-hero__trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.12);
    flex-shrink: 0;
}

.sbl-hero__cta-group {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}


/* ── S2: BAG TYPE SELECTOR ────────────────────────────────── */

.sbl-selector {
    padding: var(--sp-7) var(--sp-5);
}

.sbl-selector__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

.sbl-selector__card {
    background: #fff;
    border: 2px solid var(--gray-100);
    border-radius: var(--r-lg);
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sbl-selector__card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-lift);
    transform: translateY(-3px);
}

.sbl-selector__card--active {
    border-color: var(--brand);
    box-shadow: var(--shadow-lift);
}

.sbl-selector__card:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.sbl-selector__card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-50);
}

.sbl-selector__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.sbl-selector__card:hover .sbl-selector__card-img img {
    transform: scale(1.04);
}

.sbl-selector__card-body {
    padding: var(--sp-3) var(--sp-3) var(--sp-2);
    flex: 1;
}

.sbl-selector__tag {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--brand);
    background: var(--brand-tint);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: var(--sp-2);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.sbl-selector__card-body h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--sp-1);
}

.sbl-selector__card-body p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--sp-2);
}

.sbl-selector__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sbl-selector__bullets li {
    font-size: var(--text-sm);
    color: var(--gray-600);
    padding-left: var(--sp-2);
    position: relative;
}

.sbl-selector__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
}

.sbl-selector__arrow {
    padding: var(--sp-2) var(--sp-3);
    color: var(--brand);
    transition: transform .25s ease;
}

.sbl-selector__card--active .sbl-selector__arrow,
.sbl-selector__card:hover .sbl-selector__arrow {
    transform: translateY(3px);
}


/* ── S3: LINE FLOW ────────────────────────────────────────── */

.sbl-flow {
    padding: var(--sp-7) var(--sp-5);
}

/* Panel switching */
.sbl-flow__panel {
    display: none;
}

.sbl-flow__panel--active {
    display: block;
}

.sbl-flow__svg-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: var(--sp-5);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    padding: var(--sp-3);
}

.sbl-flow__svg-wrap svg {
    width: 100%;
    min-width: 760px;
    height: auto;
    display: block;
}

.sbl-flow__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
}

.sbl-flow__card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    transition: border-color .25s ease, background .25s ease;
}

.sbl-flow__card:hover {
    border-color: rgba(215,25,32,.40);
    background: rgba(255,255,255,.07);
}

.sbl-flow__card--optional {
    border-color: rgba(251,191,36,.20);
}

.sbl-flow__card-num {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: rgba(215,25,32,.25);
    line-height: 1;
}

.sbl-flow__card h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: rgba(255,255,255,.90);
    margin: 0;
}

.sbl-flow__card p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.sbl-flow__card-spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--sp-2);
    background: rgba(255,255,255,.04);
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,.08);
}

.sbl-flow__card-spec span {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sbl-flow__card-spec strong {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-sm);
    color: var(--brand-mid);
}

.sbl-flow__card-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-mid);
    text-decoration: none;
    transition: color .2s ease;
}

.sbl-flow__card-link:hover {
    color: #fff;
}

.sbl-flow__card-skip {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.30);
    padding-top: var(--sp-1);
    border-top: 1px solid rgba(255,255,255,.06);
}

.sbl-flow__card-skip a {
    color: rgba(215,25,32,.65);
    text-decoration: none;
    transition: color .2s ease;
}

.sbl-flow__card-skip a:hover {
    color: var(--brand-mid);
}

.sbl-flow__optional-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(251,191,36,.90);
    background: rgba(146,64,14,.35);
    border: 1px solid rgba(251,191,36,.30);
    border-radius: 100px;
    padding: 2px 10px;
}

.sbl-flow__recommended-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(134,239,172,.90);
    background: rgba(22,101,52,.30);
    border: 1px solid rgba(34,197,94,.30);
    border-radius: 100px;
    padding: 2px 10px;
}


/* ── S4: FILM SPEC TABLE ──────────────────────────────────── */

.sbl-film {
    padding: var(--sp-7) var(--sp-5);
}

.sbl-film__table-wrap {
    overflow-x: auto;
    margin-top: var(--sp-5);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
}

.sbl-film__table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    min-width: 600px;
}

.sbl-film__table thead tr {
    background: var(--charcoal);
}

.sbl-film__table thead th {
    padding: var(--sp-2) var(--sp-3);
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.70);
    white-space: nowrap;
}

.sbl-film__table thead th:first-child {
    color: rgba(255,255,255,.45);
}

.sbl-film__table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background .15s ease;
}

.sbl-film__table tbody tr:last-child {
    border-bottom: none;
}

.sbl-film__table tbody tr:hover {
    background: var(--brand-subtle);
}

.sbl-film__table tbody td {
    padding: var(--sp-2) var(--sp-3);
    color: var(--gray-800);
    vertical-align: middle;
}

.sbl-film__table tbody td:first-child {
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

.sbl-film__mono {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-sm);
    color: var(--gray-800);
}


/* ── S5: CONFIGURATION CARDS ──────────────────────────────── */

.sbl-config {
    padding: var(--sp-7) var(--sp-5);
}

.sbl-config__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-top: var(--sp-6);
    align-items: start;
}

.sbl-config__card {
    background: #fff;
    border: 2px solid var(--gray-100);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    box-shadow: var(--shadow-card);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sbl-config__card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-lift);
    transform: translateY(-3px);
}

.sbl-config__card--featured {
    border-color: var(--brand);
    box-shadow: var(--shadow-lift);
}

.sbl-config__tier {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--gray-400);
}

.sbl-config__tier--featured {
    color: var(--brand);
}

.sbl-config__card h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.3;
}

.sbl-config__right-for {
    background: var(--gray-50);
    border-radius: var(--r-md);
    padding: var(--sp-3);
}

.sbl-config__rf-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brand);
    margin-bottom: var(--sp-1);
}

.sbl-config__right-for ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sbl-config__right-for li {
    font-size: var(--text-sm);
    color: var(--gray-600);
    padding-left: var(--sp-2);
    position: relative;
    line-height: 1.5;
}

.sbl-config__right-for li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
}

.sbl-config__machines {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.sbl-config__machine {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--sp-2);
    padding: var(--sp-2);
    background: var(--gray-50);
    border-radius: var(--r-md);
    border: 1px solid var(--gray-100);
}

.sbl-config__machine--skip {
    opacity: .5;
}

.sbl-config__stage {
    grid-row: 1 / 3;
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .05em;
    align-self: center;
}

.sbl-config__model {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.2;
}

.sbl-config__desc {
    font-size: var(--text-xs);
    color: var(--gray-400);
    line-height: 1.4;
}

.sbl-config__note {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
    padding: var(--sp-3);
    background: var(--gray-50);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-100);
}

.sbl-config__note svg {
    flex-shrink: 0;
    color: var(--gray-400);
    margin-top: 1px;
}

.sbl-config__note p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.sbl-config__note a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.sbl-config__note a:hover {
    text-decoration: underline;
}


/* ── S6: WHY LAYERQUESTAR ─────────────────────────────────── */

.sbl-why {
    padding: var(--sp-7) var(--sp-5);
}

.sbl-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

/* Dark-surface card — NOT using .why-card (light-surface only) */
.sbl-why__card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--r-lg);
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.sbl-why__card:hover {
    border-color: rgba(215,25,32,.35);
    background: rgba(255,255,255,.07);
    transform: translateY(-2px);
}

.sbl-why__icon {
    width: 44px;
    height: 44px;
    background: rgba(215,25,32,.14);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-mid);
    flex-shrink: 0;
}

.sbl-why__card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: rgba(255,255,255,.90);
    margin: 0;
    line-height: 1.35;
}

.sbl-why__card p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.50);
    line-height: 1.65;
    margin: 0;
}


/* ── S7: RELATED SOLUTIONS ────────────────────────────────── */

.sbl-related {
    padding: var(--sp-7) var(--sp-5);
}

.sbl-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

.sbl-related__card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sbl-related__card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-lift);
    transform: translateY(-3px);
}

.sbl-related__card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-50);
}

.sbl-related__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.sbl-related__card:hover .sbl-related__card-img img {
    transform: scale(1.04);
}

.sbl-related__card-body {
    padding: var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    flex: 1;
}

.sbl-related__card-tag {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sbl-related__card-body h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.3;
}

.sbl-related__card-body p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.sbl-related__card-body .link-arrow {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand);
    margin-top: var(--sp-1);
}


/* ── S8: FAQ ──────────────────────────────────────────────── */

.sbl-faq {
    padding: var(--sp-7) var(--sp-5);
}

.sbl-faq__list {
    margin-top: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.sbl-faq__item {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: border-color .2s ease;
}

.sbl-faq__item[open] {
    border-color: var(--brand);
}

/* Remove native marker */
.sbl-faq__item summary {
    list-style: none;
}

.sbl-faq__item summary::-webkit-details-marker {
    display: none;
}

.sbl-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    line-height: 1.45;
    transition: color .2s ease;
}

.sbl-faq__q:hover {
    color: var(--brand);
}

.sbl-faq__q:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.sbl-faq__chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform .25s ease;
}

.sbl-faq__item[open] .sbl-faq__chevron {
    transform: rotate(180deg);
}

.sbl-faq__a {
    padding: 0 var(--sp-4) var(--sp-3);
    border-top: 1px solid var(--gray-100);
}

.sbl-faq__a p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.75;
    margin: var(--sp-2) 0 0;
}


/* ── S9: FINAL CTA ────────────────────────────────────────── */

.sbl-cta {
    padding: var(--sp-8) var(--sp-5);
}

.sbl-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
}

.sbl-cta__text {
    flex: 1;
    min-width: 280px;
}

.sbl-cta__text h2 {
    font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--sp-2);
    line-height: 1.2;
}

.sbl-cta__text h2 em {
    font-style: normal;
    color: var(--brand-mid);
}

.sbl-cta__text p {
    font-size: var(--text-base);
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    max-width: 520px;
    margin: 0;
}

.sbl-cta__actions {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
    flex-shrink: 0;
}


/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 960px) {

    .sbl-selector__grid {
        grid-template-columns: 1fr;
    }

    .sbl-flow__cards {
        grid-template-columns: 1fr;
    }

    .sbl-config__grid {
        grid-template-columns: 1fr;
    }

    .sbl-why__grid {
        grid-template-columns: 1fr;
    }

    .sbl-related__grid {
        grid-template-columns: 1fr;
    }

    .sbl-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .sbl-cta__actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .sbl-hero__trust {
        gap: var(--sp-3);
    }

    .sbl-hero__cta-group {
        flex-direction: column;
    }

    .sbl-hero__cta-group .btn {
        width: 100%;
        text-align: center;
    }

    .sbl-cta__actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sbl-selector__card,
    .sbl-flow__card,
    .sbl-config__card,
    .sbl-why__card,
    .sbl-related__card,
    .sbl-selector__card-img img,
    .sbl-related__card-img img,
    .sbl-faq__chevron {
        transition: none;
    }
}
