/* select-country.html: the step between a buy button and checkout (all screen sizes) */
.sc-page { background: #f6f4f3; color: #111827; }
/* brand and back button always share one row */
.sc-page .navbar-custom > .container-fluid { flex-wrap: nowrap; gap: 8px; }
.sc-page .navbar-custom .sc-back { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 40px; height: auto; margin: 0; padding: 8px 16px; line-height: 1.2; white-space: nowrap; }

.sc-main { padding: 34px 24px 64px; }
.sc-inner { max-width: 960px; margin: 0 auto; }

/* ---- progress ---- */
.sc-steps { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.sc-step { display: flex; align-items: center; gap: 8px; color: #6b7280; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sc-step + .sc-step::before { content: ""; width: 44px; height: 2px; margin-right: 4px; background: #d9d4ce; }
.sc-step-dot { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 2px solid #d9d4ce; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 700; }
.sc-step.is-done, .sc-step.is-current { color: #111827; }
.sc-step.is-done .sc-step-dot, .sc-step.is-current .sc-step-dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.sc-step.is-current + .sc-step::before, .sc-step.is-done + .sc-step::before { background: var(--accent); }
.sc-step.is-current .sc-step-dot { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.16); }
.sc-step a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }

/* ---- heading ---- */
.sc-main .sc-title { margin: 0 0 10px; color: #111827; text-align: center; }
.sc-title span { color: var(--accent); }
.sc-lead { max-width: 560px; margin: 0 auto 28px; color: #475569; font-size: 17px; line-height: 1.6; text-align: center; }

/* ---- selected package ---- */
.sc-package { border: 2px solid var(--accent); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.14); overflow: hidden; scroll-margin-top: 16px; }
.sc-package-bar { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; padding: 11px 16px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sc-package-main { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 20px 28px; }
.sc-package .pr-media { margin: 0; }
.sc-package-name { margin: 0 0 10px; color: #111827; font-size: 22px; font-weight: 800; line-height: 1.25; }
.sc-includes { margin: 0; padding: 0; list-style: none; }
.sc-includes li { position: relative; padding: 3px 0 3px 22px; color: #334155; font-size: 14.5px; line-height: 1.45; }
.sc-includes li::before { content: ""; position: absolute; top: 8px; left: 3px; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sc-package-price { text-align: right; }
.sc-off { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: #ffdc32; color: #121212; font-size: 12px; font-weight: 800; }
.sc-amounts { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; margin: 0; }
.sc-amounts s { color: #7a828c; font-size: 18px; text-decoration-color: #e00000; text-decoration-thickness: 2px; }
.sc-total { font-size: 38px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.sc-per { margin: 4px 0 0; color: #475569; font-size: 14px; }
.sc-switch-label { margin: 0; padding: 14px 28px 0; border-top: 1px solid #efebe7; color: #475569; font-size: 14px; font-weight: 600; text-align: center; }

.sc-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px 28px 20px; }
.sc-option { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 60px; justify-content: center; padding: 8px 6px; border: 2px solid #e2ddd7; border-radius: 10px; background: #fff; color: #111827; cursor: pointer; }
.sc-option strong { font-size: 15px; font-weight: 700; }
.sc-option span { color: #475569; font-size: 13px; }
.sc-option:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.sc-option[aria-pressed="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.07); }

/* ---- countries ---- */
.sc-countries-title { margin: 38px 0 16px; color: #111827; font-size: 22px; font-weight: 800; text-align: center; }
.sc-countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sc-country { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 18px 18px; border: 1px solid #e7e3df; border-radius: 14px; background: #fff; text-align: center; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.sc-country:hover, .sc-country:focus-within { border-color: var(--accent); box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.14); transform: translateY(-2px); }
.sc-flag { width: 66px; height: 44px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); }
.sc-country-name { margin: 0; color: #111827; font-size: 18px; font-weight: 700; }
/* the button's ::after stretches over the card, so the whole card is clickable */
.sc-go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px; border: 1px solid #d4b000; border-radius: 8px; background: #ffdc32; box-shadow: 0 3px 0 0 #dedede; color: #121212; font-size: 17px; font-weight: 800; text-decoration: none; }
.sc-go::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.sc-go:hover, .sc-go:focus-visible { background: #f5d100; color: #121212; }
.sc-ship { margin: 18px 0 0; color: #475569; font-size: 14px; line-height: 1.6; text-align: center; }

/* ---- what gets chosen at checkout ---- */
.sc-next { margin-top: 36px; padding: 26px 28px; border: 1px solid #dbe8df; border-radius: 14px; background: #eef5f0; text-align: center; }
.sc-next-title { margin: 0 0 8px; color: #111827; font-size: 20px; font-weight: 800; }
.sc-next-text { max-width: 620px; margin: 0 auto; color: #334155; font-size: 15.5px; line-height: 1.65; }
.sc-colors { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 16px 0 0; padding: 0; list-style: none; }
.sc-colors li { display: flex; align-items: center; gap: 8px; color: #1f2937; font-size: 14px; font-weight: 600; }
.sc-colors li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18); }

/* ---- longer ordering content below the countries ---- */
.sc-band { padding: 60px 24px; background: #fff; }
.sc-band-soft { background: #f6f4f3; }
.sc-band-green { background: #eef5f0; }
.sc-wrap { max-width: 1040px; margin: 0 auto; }
.sc-wrap-narrow { max-width: 760px; }
.sc-center { text-align: center; }
.sc-band h2 { margin: 0 0 14px; color: #111827; text-align: center; }
.sc-band p { margin: 0 0 14px; color: #334155; font-size: 16px; line-height: 1.7; }
.sc-band p:last-child { margin-bottom: 0; }
.sc-band a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.sc-band .sc-intro { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.sc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sc-card { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid #e7e3df; border-radius: 14px; background: #fff; }
.sc-card h3 { margin: 0 0 10px; color: #111827; font-size: 18px; font-weight: 700; line-height: 1.3; }
.sc-band .sc-card p { font-size: 15px; }
.sc-card-num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.sc-card-pick p { flex: 1; }
.sc-pick { min-height: 46px; padding: 10px; border: 2px solid var(--accent); border-radius: 8px; background: #fff; color: var(--accent); font-size: 15px; font-weight: 700; cursor: pointer; }
.sc-pick:hover, .sc-pick:focus-visible { background: var(--accent); color: #fff; }
.sc-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sc-guide { padding: 24px 22px; border: 1px solid #e7e3df; border-radius: 14px; background: #fff; }
.sc-guide h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: #111827; font-size: 18px; font-weight: 700; line-height: 1.3; }
.sc-guide h3 img { flex: 0 0 auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); }
.sc-band .sc-guide p { font-size: 15px; }
.sc-band .sc-guide .sc-plug { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.08); color: var(--accent); font-size: 13px; font-weight: 700; }
.sc-faq-body { padding: 0 40px 26px; color: #334155; font-size: 16px; line-height: 1.7; }
.sc-return { margin: 32px 0 0; text-align: center; }
.sc-return a { color: var(--accent); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .sc-country { transition: none; }
    .sc-country:hover, .sc-country:focus-within { transform: none; }
}

/* tablet: price sits under the contents list so the text column stays wide */
@media (min-width: 768px) and (max-width: 991px) {
    .sc-package-main { grid-template-columns: 220px minmax(0, 1fr); row-gap: 12px; }
    .sc-package .pr-media { grid-row: span 2; }
    .sc-package-price { grid-column: 2; text-align: left; }
    .sc-amounts { justify-content: flex-start; }
}

/* small tablet and phone */
@media (max-width: 767px) {
    .sc-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-package-main { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 16px 20px 18px; }
    .sc-package .pr-media { max-width: 240px; height: 158px; }
    .sc-package-name { text-align: center; }
    .sc-package-price { text-align: center; }
    .sc-amounts { justify-content: center; }
    .sc-switch-label { padding: 12px 20px 0; }
    .sc-switch { padding: 10px 20px 18px; }
    .sc-cards, .sc-guides { grid-template-columns: minmax(0, 1fr); }
}

/* phone: countries become one slim row each */
@media (max-width: 575px) {
    /* arrow only, so the brand line has room */
    .sc-back-long { display: none; }
    .sc-page .navbar-custom .sc-back { justify-content: center; width: 40px; padding: 0; }
    .sc-main { padding: 22px 14px 44px; }
    .sc-steps { gap: 6px; margin-bottom: 22px; }
    .sc-step { gap: 6px; font-size: 12px; }
    .sc-step a { gap: 6px; }
    .sc-step + .sc-step::before { width: 16px; margin-right: 0; }
    .sc-step-dot { width: 24px; height: 24px; font-size: 12px; }
    .sc-lead { margin-bottom: 20px; font-size: 16px; }
    .sc-package-bar { font-size: 13px; }
    .sc-package-main { padding: 14px; }
    .sc-package-name { font-size: 19px; }
    .sc-total { font-size: 34px; }
    .sc-switch-label { padding: 12px 14px 0; }
    .sc-switch { gap: 8px; padding: 10px 14px 14px; }
    .sc-band { padding: 44px 16px; }
    .sc-card, .sc-guide { padding: 20px 18px; }
    .sc-faq-body { padding: 0 18px 20px; }
    .sc-option strong { font-size: 14px; }
    .sc-option span { font-size: 12.5px; }
    .sc-countries-title { margin-top: 28px; font-size: 20px; }
    .sc-countries { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .sc-country { flex-direction: row; gap: 12px; padding: 12px; text-align: left; }
    .sc-flag { flex: 0 0 auto; width: 48px; height: 32px; }
    .sc-country-name { flex: 1; min-width: 0; font-size: 16px; }
    .sc-go { flex: 0 0 auto; width: auto; min-height: 44px; gap: 8px; padding: 8px 14px; font-size: 14.5px; }
    .sc-next { margin-top: 28px; padding: 20px 16px; }
}
