* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #254965;
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
header {
    background: rgba(37, 73, 101, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo:hover {
    color: white;
    text-decoration: none;
}

.logo i {
    color: white;
}

.logo:hover i {
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00baf1;
}

.nav-links > li {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    max-width: 420px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(15, 29, 53, 0.18);
    z-index: 1200;
}

/* Invisible bridge so the pointer can reach the panel without closing. */
.nav-links .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: -1rem;
    right: -1rem;
    height: 0.75rem;
}

.nav-links > li.has-children > a.has-dropdown {
    padding-bottom: 0.35rem;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.65rem 1rem;
    color: #1e293b;
    font-size: 0.85rem;
    line-height: 1.35;
    white-space: normal;
}

.nav-links .dropdown-menu a:hover {
    background: rgba(0, 186, 241, 0.08);
    color: #00baf1;
}

.nav-links > li:hover > .dropdown-menu,
.nav-links > li:focus-within > .dropdown-menu,
.nav-links > li.has-children > .dropdown-menu:hover {
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.icon-buttons {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00baf1;
}

/* Hero + quick-buy vignette overlay */
.hero-shell {
    position: relative;
    margin-top: 70px;
}

/* Hero Slider */
.hero-slider {
    margin-top: 0;
    height: 520px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #254965 0%, #1d3a52 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    max-width: 900px;
    padding: 2.5rem 2rem 1rem;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00baf1 0%, #00baf1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.slider-dots {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 25;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #00baf1;
    width: 30px;
    border-radius: 5px;
}

/* Main Nav Tabs */
.main-tabs {
    background: #ffffff;
    padding: 2rem 0;
    margin-top: -1px;
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.tab-item {
    background: rgba(0, 186, 241, 0.1);
    border: 1px solid rgba(0, 186, 241, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: inherit;
    text-decoration: none;
    display: block;
}

.tab-item:hover {
    background: rgba(0, 186, 241, 0.15);
    transform: translateY(-3px);
}

.tab-item i {
    font-size: 2rem;
    color: #00baf1;
    margin-bottom: 0.5rem;
}

.tab-item span {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Homepage quick-buy vignette boxes — overlaid on hero slider */
.vignette-quick {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3.25rem;
    z-index: 30;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

.vignette-quick__grid {
    pointer-events: auto;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.vignette-quick__card {
    --vq-accent: #00baf1;
    --vq-accent-rgb: 0, 186, 241;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(var(--vq-accent-rgb), 0.35);
    border-radius: 14px;
    background:
        linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.14) 0%, rgba(var(--vq-accent-rgb), 0.04) 100%),
        #ffffff;
    box-shadow: 0 12px 40px rgba(15, 29, 53, 0.28);
    color: #1a2942;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Distinct palette per validity length (homepage + order form step 2) */
.vignette-quick__card--d1,
.vignette-option--d1 {
    --vq-accent: #059669;
    --vq-accent-rgb: 5, 150, 105;
}
.vignette-quick__card--d10,
.vignette-option--d10 {
    --vq-accent: #0284c7;
    --vq-accent-rgb: 2, 132, 199;
}
.vignette-quick__card--d30,
.vignette-option--d30 {
    --vq-accent: #7c3aed;
    --vq-accent-rgb: 124, 58, 237;
}
.vignette-quick__card--d100,
.vignette-option--d100 {
    --vq-accent: #ea580c;
    --vq-accent-rgb: 234, 88, 12;
}
.vignette-quick__card--d365,
.vignette-option--d365 {
    --vq-accent: #dc2626;
    --vq-accent-rgb: 220, 38, 38;
}

.vignette-quick__card:hover {
    transform: translateY(-6px);
    border-color: var(--vq-accent);
    box-shadow: 0 18px 40px rgba(var(--vq-accent-rgb), 0.28);
}

.vignette-quick__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--vq-accent);
    background: rgba(var(--vq-accent-rgb), 0.14);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

.vignette-quick__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--vq-accent-rgb), 0.16);
}

.vignette-quick__icon i {
    font-size: 1.5rem;
    color: var(--vq-accent);
}

.vignette-quick__title {
    font-size: 1.2rem;
    font-weight: 700;
}

.vignette-quick__note {
    font-size: 0.85rem;
    color: #5b6b82;
}

.vignette-quick__price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--vq-accent);
}

.vignette-quick__cta {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--vq-accent);
}

.vignette-quick__cta i {
    transition: transform 0.25s ease;
}

.vignette-quick__card:hover .vignette-quick__cta i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .vignette-quick__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
        padding: 0 0.75rem;
    }

    .vignette-quick__card {
        padding: 0.55rem 0.35rem;
        gap: 0.25rem;
        border-radius: 10px;
        min-width: 0;
    }

    .vignette-quick__card:hover {
        transform: translateY(-3px);
    }

    .vignette-quick__tag,
    .vignette-quick__note,
    .vignette-quick__cta {
        display: none;
    }

    .vignette-quick__icon {
        width: 34px;
        height: 34px;
    }

    .vignette-quick__icon i {
        font-size: 0.95rem;
    }

    .vignette-quick__title {
        font-size: 0.72rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .vignette-quick__price {
        font-size: 0.82rem;
        font-weight: 800;
        line-height: 1.15;
        white-space: nowrap;
    }
}

/* Section */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.card {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 186, 241, 0.4);
    box-shadow: 0 10px 30px rgba(0, 186, 241, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 186, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: #00baf1;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-link {
    color: #00baf1;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

a.card-link-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.card-link-wrap:hover {
    text-decoration: none;
}

a.card-link-wrap .card-link {
    color: #00baf1;
}

/* Homepage shortcut cards — icon + title in one row, links aligned at bottom */
.cards-grid--shortcuts {
    align-items: stretch;
}

.cards-grid--shortcuts .card-link-wrap .card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cards-grid--shortcuts .card-link-wrap .card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    margin-bottom: 0;
}

.cards-grid--shortcuts .card-link-wrap .card-icon i {
    font-size: 1.35rem;
}

.cards-grid--shortcuts .card-link-wrap h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    flex: 1;
}

.cards-grid--shortcuts .card-link-wrap p {
    flex: 1;
    margin-bottom: 0;
}

.cards-grid--shortcuts .card-link-wrap .card-link {
    margin-top: auto;
    padding-top: 1.25rem;
}

.card-link:hover {
    gap: 0.5rem;
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.news-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 186, 241, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-icon i {
    color: #00baf1;
    font-size: 1.3rem;
}

.news-content {
    flex: 1;
}

.news-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.news-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.news-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 186, 241, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #00baf1;
    margin-left: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #254965 0%, #1d3a52 100%);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-btn {
    background: #00baf1;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 186, 241, 0.3);
}

/* Download Section */
.download-section {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.download-content p {
    color: #94a3b8;
}

.download-btn {
    background: #fbbf24;
    color: #254965;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #1d3a52;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 0.9rem;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.45;
    letter-spacing: 0.4px;
}

.footer-column h4 a {
    color: inherit;
    text-decoration: none;
}

.footer-column h4 a:hover {
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    position: relative;
    padding-left: 0.9rem;
    margin-bottom: 0.45rem;
}

.footer-column ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #00baf1;
    font-size: 0.85rem;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.7;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #00baf1;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
}

/* Order page */
.order-hero {
    max-width: 1400px;
    margin: 120px auto 40px;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.order-hero__content h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1rem;
}

.order-hero__content .lede {
    color: #cbd5e1;
    max-width: 720px;
}

.order-hero__meta {
    display: grid;
    gap: 1rem;
}

.meta-card {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.meta-card i {
    color: #00baf1;
    font-size: 1.4rem;
}

.meta-title {
    font-weight: 600;
}

.meta-text {
    color: #94a3b8;
    font-size: 0.95rem;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #00baf1;
}

.order-wrapper {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 2rem;
    position: relative;
}

.order-form {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(37, 73, 101, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 186, 241, 0.15);
}

.step-indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.step-indicator-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 186, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.3s;
}

.step-indicator-item.active .step-indicator-number {
    background: #00baf1;
    border-color: #00baf1;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 186, 241, 0.4);
}

.step-indicator-item.completed .step-indicator-number {
    background: rgba(46, 204, 113, 0.2);
    border-color: #10b981;
    color: #10b981;
}

.step-indicator-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    font-weight: 500;
}

.step-indicator-item.active .step-indicator-label {
    color: #00baf1;
    font-weight: 600;
}

.step-indicator-item.completed .step-indicator-label {
    color: #10b981;
}

.step-indicator-line {
    flex: 1;
    height: 2px;
    background: rgba(0, 186, 241, 0.2);
    margin: 0 0.5rem;
    position: relative;
    top: -20px;
}

.step-indicator-line.completed {
    background: #10b981;
}

.order-summary-fixed {
    background: rgba(37, 73, 101, 0.6);
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 90px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.summary-header h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.summary-label {
    color: #94a3b8;
}

.summary-value {
    color: #ffffff;
    font-weight: 600;
}

.summary-value.highlight {
    color: #00baf1;
    font-size: 1.1rem;
}

.form-steps {
    display: grid;
    gap: 1.5rem;
}

.form-step {
    display: none;
    border: 1px solid rgba(0, 186, 241, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    background: rgba(37, 73, 101, 0.35);
}

.form-step.active {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #00baf1;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.step-kicker {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #00baf1;
    margin: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #cbd5e1;
    font-weight: 600;
}

.form-input,
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 186, 241, 0.3);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #00baf1;
    box-shadow: 0 0 0 3px rgba(0, 186, 241, 0.15);
}

/* Validation: only show error state after user has interacted (blur) */
.form-input.touched.invalid,
.form-input.touched:invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.form-input.touched.invalid:focus,
.form-input.touched:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.vignette-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vignette-option {
    /* --vq-accent set by .vignette-option--d{N} (must not reset here — base rule is later in file than modifiers) */
    position: relative;
    border: 2px solid rgba(var(--vq-accent-rgb), 0.35);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.12) 0%, rgba(var(--vq-accent-rgb), 0.03) 100%);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.vignette-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.vignette-option-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--vq-accent-rgb), 0.16);
    border-radius: 50%;
    color: var(--vq-accent);
    font-size: 2.25rem;
}

.vignette-option-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.vignette-option:hover {
    border-color: var(--vq-accent);
    background: linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.18) 0%, rgba(var(--vq-accent-rgb), 0.06) 100%);
    transform: translateY(-2px);
}

.vignette-option:hover .vignette-option-icon {
    background: rgba(var(--vq-accent-rgb), 0.28);
}

.vignette-option-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.35rem;
    color: var(--vq-accent);
    opacity: 0;
    transition: opacity 0.2s;
}

.vignette-option.selected .vignette-option-check {
    opacity: 1;
}

.vignette-option.selected .vignette-option-icon {
    background: rgba(var(--vq-accent-rgb), 0.35);
    box-shadow: 0 0 0 3px rgba(var(--vq-accent-rgb), 0.3);
}

.vignette-option.selected {
    border-color: var(--vq-accent);
    border-width: 3px;
    background: linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.22) 0%, rgba(var(--vq-accent-rgb), 0.08) 100%);
    box-shadow: 0 10px 40px rgba(var(--vq-accent-rgb), 0.22), inset 0 0 0 1px rgba(var(--vq-accent-rgb), 0.2);
}

.vignette-option .option-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
}

.vignette-option .option-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 0.35rem;
}

.vignette-option .option-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--vq-accent);
    margin: 0.15rem 0;
}

.vignette-option .option-validity {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.vehicle-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vehicle-option {
    position: relative;
    border: 2px solid rgba(0, 186, 241, 0.25);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vehicle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.vehicle-option-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 186, 241, 0.15);
    border-radius: 50%;
    color: #00baf1;
    font-size: 2.5rem;
}

.vehicle-option:hover {
    border-color: rgba(0, 186, 241, 0.5);
    background: rgba(0, 186, 241, 0.05);
}

.vehicle-option.selected .vehicle-option-icon {
    background: rgba(0, 186, 241, 0.35);
    color: #00baf1;
    box-shadow: 0 0 0 3px rgba(0, 186, 241, 0.3);
}

.vehicle-option.selected {
    border-color: #00baf1;
    border-width: 3px;
    background: rgba(0, 186, 241, 0.15);
    box-shadow: 0 10px 40px rgba(0, 186, 241, 0.2), inset 0 0 0 1px rgba(0, 186, 241, 0.2);
}

.vehicle-option-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #00baf1;
    opacity: 0;
    transition: opacity 0.2s;
}

.vehicle-option.selected .vehicle-option-check {
    opacity: 1;
}

.vehicle-option-content {
    flex: 1;
}

.option-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}

.option-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00baf1;
}

.vignette-option .option-price {
    color: var(--vq-accent);
}

.option-validity {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.info-box {
    background: rgba(0, 186, 241, 0.08);
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: #cbd5e1;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.info-box i {
    color: #00baf1;
}

.form-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.form-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.4rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00baf1;
}

.checkbox-label {
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.checkbox-link {
    margin-left: 2.2rem;
    margin-top: 0.35rem;
}

.checkbox-link a {
    color: #00baf1;
    text-decoration: none;
    font-size: 0.85rem;
}

.checkbox-link a:hover {
    text-decoration: underline;
}

.checkbox-card {
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 0.75rem;
}

.step-summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.step-summary-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.step-summary-image {
    position: relative;
    flex-shrink: 0;
}

.step-summary-image img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.image-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 186, 241, 0.9);
    color: #ffffff;
    text-align: center;
    padding: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0 0 10px 10px;
}

.step-summary-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #fbbf24;
    margin-top: 1rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.summary-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-detail-row:last-child {
    border-bottom: none;
}

.summary-detail-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.summary-detail-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.payment-methods-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.payment-method-card:hover {
    border-color: rgba(0, 186, 241, 0.5);
    transform: translateY(-2px);
}

.payment-method-card.selected {
    border-color: rgba(0, 186, 241, 0.8);
    background: rgba(0, 186, 241, 0.08);
    box-shadow: 0 10px 30px rgba(0, 186, 241, 0.08);
}

.payment-method-card i {
    font-size: 2.5rem;
    color: #00baf1;
}

.payment-method-card span {
    font-weight: 600;
    color: #ffffff;
}

.payment-method-card .payment-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.price-summary-final {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.confirmation-message {
    text-align: center;
    padding: 3rem 2rem;
}

.confirmation-message i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.confirmation-message h2 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.confirmation-message p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.country-flags-wrapper {
    margin-top: 0.5rem;
}

.country-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.country-flag-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s;
    min-width: 80px;
}

.country-flag-option:hover {
    border-color: rgba(0, 186, 241, 0.5);
    transform: translateY(-2px);
}

.country-flag-option.selected {
    border-color: rgba(0, 186, 241, 0.8);
    background: rgba(0, 186, 241, 0.08);
    box-shadow: 0 10px 30px rgba(0, 186, 241, 0.08);
}

.country-flag-option input[type="radio"] {
    display: none;
}

.country-flag-option .flag-box {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.country-flag-option .flag-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-flag-option .flag-code {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
}

.order-summary {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-icons {
    display: flex;
    gap: 0.6rem;
    color: #94a3b8;
}

.payment-icon {
    font-size: 1.4rem;
}

.price-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 186, 241, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-row.total {
    border-bottom: none;
    font-weight: 700;
    color: #ffffff;
}

.step-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.primary-btn,
.secondary-btn,
.submit-btn {
    border: 1px solid rgba(0, 186, 241, 0.3);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    background: rgba(0, 186, 241, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.primary-btn:hover,
.secondary-btn:hover,
.submit-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 186, 241, 0.6);
}

/* ---------- Vignette validity check (/kontrola-platnosti) ---------- */
.vignette-check-hero {
    max-width: 1400px;
    margin: 120px auto 2.5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.vignette-check-hero__content h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.15;
}

.vignette-check-hero__content .lede {
    color: #cbd5e1;
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.vignette-check-hero__meta {
    display: grid;
    gap: 0.85rem;
}

.vignette-check-wrapper {
    max-width: 720px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.vignette-check-card {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.22);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 16px 48px rgba(15, 29, 53, 0.18);
}

.vignette-check-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.vignette-check-card__head i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 186, 241, 0.12);
    color: #00baf1;
    font-size: 1.15rem;
}

.vignette-check-card__head h2 {
    margin: 0;
    font-size: 1.35rem;
    color: #254965;
}

.vignette-check-card__head p {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.vignette-check-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.vignette-check-form .form-group label {
    color: #1e293b;
    font-size: 0.9375rem;
    font-weight: 600;
}

.vignette-check-form .form-group label .required {
    color: #ef4444;
}

.vignette-check-form .form-group input,
.vignette-check-form .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #1e293b;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vignette-check-form .form-group input:focus,
.vignette-check-form .form-group select:focus {
    outline: none;
    border-color: #00baf1;
    box-shadow: 0 0 0 3px rgba(0, 186, 241, 0.15);
    background: #ffffff;
}

.vignette-check-form .form-group input {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vignette-check-form .help-text {
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.vignette-check-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #00baf1 0%, #0099cc 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(0, 186, 241, 0.28);
}

.vignette-check-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 186, 241, 0.35);
}

.vignette-check-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.vignette-check-submit .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: vignette-check-spin 0.7s linear infinite;
}

.vignette-check-submit.loading .btn-spinner {
    display: block;
}

.vignette-check-submit.loading .btn-text {
    display: none;
}

@keyframes vignette-check-spin {
    to { transform: rotate(360deg); }
}

.vignette-check-footnote {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.5;
}

.vignette-check-footnote a {
    color: #00baf1;
    text-decoration: none;
    font-weight: 600;
}

.vignette-check-footnote a:hover {
    text-decoration: underline;
}

/* Full-screen loading overlay */
.vignette-check-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 29, 53, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vignette-check-overlay[hidden] {
    display: none !important;
}

.vignette-check-overlay__panel {
    width: 100%;
    max-width: 360px;
    text-align: center;
    padding: 2.25rem 2rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.25);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.vignette-check-overlay__spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.35rem;
    border: 4px solid rgba(0, 186, 241, 0.18);
    border-top-color: #00baf1;
    border-radius: 50%;
    animation: vignette-check-spin 0.8s linear infinite;
}

.vignette-check-overlay__title {
    margin: 0 0 0.4rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #254965;
}

.vignette-check-overlay__hint {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
}

body.vignette-check-busy {
    overflow: hidden;
}

#vignette-result {
    margin-top: 1.75rem;
    display: none;
}

#vignette-result.is-visible {
    display: block;
}

.vignette-result-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.25rem;
    border-radius: 12px;
    border: 1px solid transparent;
}

.vignette-result-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
}

.vignette-result-card__body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.vignette-result-card__body .vignette-result-message {
    margin: 0 0 0.65rem;
    font-size: 0.975rem;
    line-height: 1.55;
}

.vignette-result-card__body .vignette-result-meta {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.9;
}

.vignette-result-card.valid {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #064e3b;
}

.vignette-result-card.valid .vignette-result-card__icon {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.vignette-result-card.valid h3 {
    color: #047857;
}

.vignette-result-card.invalid {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7f1d1d;
}

.vignette-result-card.invalid .vignette-result-card__icon {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.vignette-result-card.invalid h3 {
    color: #b91c1c;
}

.vignette-result-card.unknown {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}

.vignette-result-card.unknown .vignette-result-card__icon {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.vignette-result-card.unknown h3 {
    color: #b45309;
}

.vignette-result-card.error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7f1d1d;
}

.vignette-result-card.error .vignette-result-card__icon {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.vignette-result-card.error h3 {
    color: #b91c1c;
}

.vignette-result-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: #00baf1;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.vignette-result-cta:hover {
    background: #0099cc;
}

.vignette-result-card .error-guidance {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .vignette-check-hero {
        grid-template-columns: 1fr;
        margin-top: 100px;
        gap: 1.5rem;
    }

    .vignette-check-hero__content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .vignette-check-wrapper {
        padding: 0 1rem;
        margin-bottom: 3rem;
    }

    .vignette-check-card {
        padding: 1.35rem;
    }

    .vignette-check-form .form-group input,
    .vignette-check-form .form-group select {
        font-size: 16px;
    }
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
}

.submit-btn {
    flex: 1;
    justify-content: center;
    background: #00baf1;
    border-color: #00baf1;
    box-shadow: 0 10px 30px rgba(0, 186, 241, 0.25);
}

.flash {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.flash-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #a7f3d0;
}

.flash-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Order Success Page */
.order-success-page {
    max-width: 920px;
    margin: 120px auto 80px;
    padding: 0 1.5rem;
}

.order-success-card {
    background: #ffffff;
    border: 1px solid rgba(0, 186, 241, 0.18);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(37, 73, 101, 0.08);
    padding: 3rem 2.5rem;
    text-align: center;
}

.success-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.08));
    border: 3px solid rgba(16, 185, 129, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 2.75rem;
    color: #059669;
}

.order-success-title {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.35;
    margin: 0.75rem 0 1rem;
    color: #254965;
    font-weight: 800;
}

.success-message {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0 auto 2rem;
    max-width: 640px;
    line-height: 1.75;
}

.success-message strong {
    color: #1e293b;
}

.order-details-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    margin: 0 0 1.5rem;
    text-align: left;
}

.order-details-card h2 {
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    color: #254965;
    text-align: center;
    font-weight: 700;
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.detail-item--full {
    grid-column: 1 / -1;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.detail-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.detail-value {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 700;
}

.detail-value.highlight {
    color: #00baf1;
    font-size: 1.35rem;
}

.recap-section {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.recap-section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.recap-section-title {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00baf1;
    text-align: left;
}

.recap-price-rows {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.recap-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #475569;
    font-size: 1rem;
}

.recap-price-row--total {
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid #e2e8f0;
    font-weight: 700;
    color: #1e293b;
}

.recap-payment-meta {
    margin-top: 0.5rem;
}

.success-info-box {
    background: rgba(0, 186, 241, 0.08);
    border: 1px solid rgba(0, 186, 241, 0.22);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    text-align: left;
}

.success-info-box i {
    color: #00baf1;
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.success-info-title {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #254965;
}

.success-info-box ul {
    margin: 0;
    padding-left: 1.15rem;
    color: #475569;
}

.success-info-box li {
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.success-info-box li:last-child {
    margin-bottom: 0;
}

.success-info-box a {
    color: #00baf1;
    font-weight: 600;
    text-decoration: underline;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .order-success-page {
        margin-top: 96px;
        padding: 0 1rem;
    }

    .order-success-card {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    .order-details-grid {
        grid-template-columns: 1fr;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .primary-btn,
    .success-actions .secondary-btn {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .order-summary-fixed {
        position: static;
    }
    .order-hero {
        grid-template-columns: 1fr;
        margin-top: 90px;
    }
    .step-summary-content {
        flex-direction: column;
    }
    .payment-methods-selection {
        grid-template-columns: 1fr;
    }
    .step-indicator {
        padding: 1rem;
    }
    .step-indicator-label {
        font-size: 0.65rem;
    }
    .step-indicator-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .step-indicator {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .step-indicator-line {
        display: none;
    }
    .step-indicator-item {
        flex: 0 0 calc(33.333% - 0.5rem);
    }
    .country-flags {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .step-actions {
        flex-direction: column;
    }
    .primary-btn,
    .secondary-btn,
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 2rem;
    }
}

/* Hide the original vignette form field completely */
.order-form > div[style*="display: none"] {
    display: none !important;
}

.order-form > div[style*="display: none"] * {
    display: none !important;
    visibility: hidden !important;
}


/* =========================================================================
   V3 light-theme overrides (V2 palette)
   The V1 base above is a dark theme. The block below relights the body and
   inner surfaces so the result reads as V2-style (light bg, navy headings,
   cyan accents) while keeping V1's layout, components and behaviour intact.
   Header and footer purposefully stay navy to match V2's header/footer.
   ========================================================================= */

body {
    background: #f8fafc;
    color: #1e293b;
}

main,
section,
.section,
.cards-grid,
.news-grid,
.order-hero,
.order-wrapper,
.vignette-check-hero,
.vignette-check-wrapper {
    color: #1e293b;
}

/* Page-level headings on the light body */
.section-title,
.order-hero__content h1,
.vignette-check-hero__content h1,
.download-content h2,
h1,
h2,
h3,
h4 {
    color: #254965;
}

/* Card-like surfaces that became white via the V2 palette swap */
.card h3,
.news-title,
.meta-title,
.download-content h2,
.summary-header h3 {
    color: #254965;
}

.card p,
.news-text,
.meta-text,
.summary-label,
.option-validity,
.form-label,
.checkbox-label,
.info-box,
.form-hint,
.order-hero__content .lede,
.vignette-check-hero__content .lede {
    color: #64748b;
}

.summary-value {
    color: #1e293b;
}

/* Form surfaces (light card-on-light-body look) */
.form-step,
.order-summary-fixed,
.step-indicator,
.step-summary-box,
.checkbox-card,
.info-box {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

.form-input,
.form-select,
textarea.form-input {
    background: #ffffff;
    color: #1e293b;
    border-color: #e2e8f0;
    /* 16px keeps iOS Safari from auto-zooming on focus on phones. */
    font-size: 16px;
}

.form-input::placeholder,
.form-select::placeholder {
    color: #94a3b8;
}

.form-input:focus,
.form-select:focus {
    border-color: #00baf1;
    box-shadow: 0 0 0 3px rgba(0, 186, 241, 0.15);
}

/* Vehicle option chips on the light body (vignette cards use duration colors via --vq-accent) */
.vehicle-option {
    background: #ffffff;
    color: #1e293b;
}

.vehicle-option:hover {
    background: #f0f9ff;
}

.vehicle-option.selected {
    background: rgba(0, 186, 241, 0.08);
}

/* Step 2 vignettes on light order page — keep duration palette visible */
.order-wrapper .vignette-option {
    background: linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.14) 0%, rgba(var(--vq-accent-rgb), 0.04) 100%);
    border-color: rgba(var(--vq-accent-rgb), 0.4);
}

.order-wrapper .vignette-option:hover {
    background: linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.2) 0%, rgba(var(--vq-accent-rgb), 0.07) 100%);
    border-color: var(--vq-accent);
}

.order-wrapper .vignette-option.selected {
    border-color: var(--vq-accent);
    background: linear-gradient(165deg, rgba(var(--vq-accent-rgb), 0.24) 0%, rgba(var(--vq-accent-rgb), 0.1) 100%);
    box-shadow: 0 10px 40px rgba(var(--vq-accent-rgb), 0.2), inset 0 0 0 1px rgba(var(--vq-accent-rgb), 0.2);
}

.order-wrapper .vignette-option-icon {
    background: rgba(var(--vq-accent-rgb), 0.18);
    color: var(--vq-accent);
}

.order-wrapper .vignette-option.selected .vignette-option-icon {
    background: rgba(var(--vq-accent-rgb), 0.35);
    box-shadow: 0 0 0 3px rgba(var(--vq-accent-rgb), 0.28);
}

.order-wrapper .vignette-option-check {
    color: var(--vq-accent);
}

.order-wrapper .vignette-option .option-price {
    color: var(--vq-accent);
}

/* Duration palette — repeated after light-theme block so vars beat .vignette-option reset */
.vignette-quick__card--d1,
.vignette-option.vignette-option--d1 {
    --vq-accent: #059669;
    --vq-accent-rgb: 5, 150, 105;
}
.vignette-quick__card--d10,
.vignette-option.vignette-option--d10 {
    --vq-accent: #0284c7;
    --vq-accent-rgb: 2, 132, 199;
}
.vignette-quick__card--d30,
.vignette-option.vignette-option--d30 {
    --vq-accent: #7c3aed;
    --vq-accent-rgb: 124, 58, 237;
}
.vignette-quick__card--d100,
.vignette-option.vignette-option--d100 {
    --vq-accent: #ea580c;
    --vq-accent-rgb: 234, 88, 12;
}
.vignette-quick__card--d365,
.vignette-option.vignette-option--d365 {
    --vq-accent: #dc2626;
    --vq-accent-rgb: 220, 38, 38;
}

.vignette-option:not([class*="vignette-option--d"]) {
    --vq-accent: #00baf1;
    --vq-accent-rgb: 0, 186, 241;
}

.step-indicator-number {
    background: #f1f5f9;
    color: #64748b;
}

/* Step indicator separator line */
.step-indicator-line {
    background: #e2e8f0;
}

/* Dividers inside cards */
.step-header,
.form-section {
    border-color: #e2e8f0 !important;
}

/* Header stays navy (matches V2's top bar). Make sure nav links read well. */
header {
    background: #254965;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-links a {
    color: #e2e8f0;
}

.nav-links a:hover {
    color: #00baf1;
}

/* Footer stays navy with light text (matches V2). */
footer {
    background: #254965;
}

.footer-column h4,
.footer-column a,
.app-btn,
.footer-bottom,
.footer-links a {
    color: #cbd5e1;
}

.footer-column h4 {
    color: #ffffff;
}

/* CTA / hero gradients keep the navy→cyan V2 feel */
.cta-section {
    color: #ffffff;
}

.cta-section h2,
.cta-section p {
    color: #ffffff;
}

.slide-content h1 {
    background: linear-gradient(135deg, #00baf1 0%, #254965 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Order step buttons: V1 styled them as semi-transparent cyan/white on a
   dark card; on V3's white cards we need solid contrast colors. */
.primary-btn {
    background: #00baf1;
    color: #ffffff;
    border: 1px solid #00baf1;
}

.primary-btn:hover {
    background: #0099cc;
    border-color: #0099cc;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 186, 241, 0.25);
}

.secondary-btn {
    background: #ffffff;
    color: #254965;
    border: 1px solid #e2e8f0;
}

.secondary-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #254965;
}

.submit-btn {
    background: #00baf1;
    color: #ffffff;
    border: 1px solid #00baf1;
}

.submit-btn:hover {
    background: #0099cc;
    border-color: #0099cc;
    color: #ffffff;
}

/* Country picker: <button> reset so flag tiles work as buttons, plus a small
   gap between the quick-pick row and the full country <select> below it. */
button.country-flag-option {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: inherit;
    padding-block: inherit;
}

.country-flags-wrapper + .form-input,
.country-flags-wrapper + .form-select,
[data-country-quickpick] + [data-country-select] {
    margin-top: 0.75rem;
}

/* =========================================================================
   Polished <select> styling for V3 (V2 palette).
   Native selects render OS chrome which doesn't match our form inputs.
   We strip that, add a custom chevron, and keep the geometry identical
   to text inputs so the country dropdown reads as part of the same form.
   ========================================================================= */
select.form-input,
select.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.9rem 2.75rem 0.9rem 1rem;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    cursor: pointer;
    /* Custom chevron — navy stroke (#254965) inlined so no extra HTTP. */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23254965' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6l4.5 4 4.5-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

select.form-input:hover,
select.form-select:hover {
    border-color: #00baf1;
    background-color: #f8fafc;
}

select.form-input:focus,
select.form-select:focus {
    outline: none;
    border-color: #00baf1;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 186, 241, 0.18);
}

select.form-input:disabled,
select.form-select:disabled {
    color: #94a3b8;
    background-color: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.7;
}

/* The empty placeholder option reads as muted "Vyberte krajinu…" */
select.form-input:invalid,
select.form-select:invalid {
    color: #64748b;
}

/* Browsers that respect option styling (Firefox + recent Chrome on
   non-mac) — keep the dropdown list legible on light bg. */
select.form-input option,
select.form-select option {
    color: #1e293b;
    background-color: #ffffff;
}

select.form-input option:checked,
select.form-select option:checked {
    background: #e0f4fd;
    color: #0099cc;
}

/* The country picker specifically: give it a subtle "Or choose another"
   placeholder so users notice the full list under the 6 flag tiles. */
[data-country-quickpick] + select.form-input,
[data-country-quickpick] + select.form-select {
    margin-top: 0.75rem;
}

/* =========================================================================
   V3 RESPONSIVE — tablet & mobile.
   The base stylesheet above was authored for ~1400px desktops. The rules
   below take over progressively at 1024px (tablet), 768px (large phone /
   small tablet) and 480px (phone). The goal is a single-column, touch-
   friendly layout on phones with no horizontal scrolling on any page.
   ========================================================================= */

/* Prevent any wide child (image, table, hero text) from forcing horizontal
   scroll on a phone. body/html stay non-overflow so sticky/dropdowns work. */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Mobile nav toggle — hidden on desktop, shown on ≤768px. */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- ≤1024px : tablet ---------- */
@media (max-width: 1024px) {
    nav {
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .tabs-container {
        padding: 0 1.5rem;
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .download-section {
        padding: 2rem;
    }

    .cta-section {
        padding: 2rem;
        margin: 3rem 0;
    }

    .footer-grid {
        padding: 0 1.5rem;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        padding: 1.5rem;
    }

    .order-hero {
        margin-top: 100px;
        padding: 0 1.5rem;
    }

    .order-wrapper {
        padding: 0 1.5rem;
    }

    .vignette-options {
        grid-template-columns: 1fr;
    }
}

/* ---------- ≤768px : large phone / small tablet ---------- */
@media (max-width: 768px) {
    /* Header — collapse links into a slide-down panel triggered by the
       hamburger. Background uses the navy header so it visually feels like
       an extension of the top bar. */
    header {
        padding: 0.75rem 0;
    }

    nav {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #254965;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    /* Nested CMS dropdowns: stack flat on mobile. */
    .nav-links .dropdown-menu,
    .nav-links .dropdown-submenu {
        position: static;
        transform: none;
        display: block;
        min-width: 0;
        max-width: none;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        list-style: none;
        padding: 0 0 0 1rem;
        margin: 0 0 0.5rem;
    }

    .nav-links .dropdown-menu::before {
        display: none;
    }

    .nav-links > li.has-children > a.has-dropdown {
        padding-bottom: 0;
    }

    .nav-links .dropdown-menu a,
    .nav-links .dropdown-submenu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 0.9rem;
        color: #cbd5e1;
    }

    body.nav-open {
        overflow: hidden;
    }

    /* Hero slider — shorter on phones, smaller headline so it actually fits. */
    .hero-shell {
        margin-top: 60px;
    }

    .hero-slider {
        height: 380px;
    }

    .slide-content {
        padding: 1.75rem 1.5rem 1rem;
    }

    .vignette-quick {
        bottom: 2.75rem;
    }

    .slider-dots {
        bottom: 0.65rem;
    }

    .slide-content h1 {
        font-size: 1.85rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    /* Tabs — 2 columns on phones (was already, just tighten gap & padding). */
    .main-tabs {
        padding: 1.25rem 0;
    }

    .tabs-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .tab-item {
        padding: 1rem 0.75rem;
    }

    .tab-item i {
        font-size: 1.6rem;
    }

    .tab-item span {
        font-size: 0.85rem;
    }

    /* Sections + page titles */
    .section {
        padding: 2.5rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Cards & news cards stack and tighten on phones */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .news-card {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    /* Home-page news image (inline-styled in home.html.twig): override width
       so it goes full-bleed inside the stacked card. */
    .news-card .news-image {
        width: 100% !important;
        height: 200px !important;
    }

    /* CTA + download blocks */
    .cta-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .cta-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .download-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.75rem;
    }

    .download-content h2 {
        font-size: 1.4rem;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer — 2 cols then 1 col below 480px */
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 1rem 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Order page — single column, tighter card padding, smaller hero */
    .order-hero {
        margin-top: 80px;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .order-hero__content h1 {
        font-size: 1.7rem;
    }

    .order-hero__content .lede {
        font-size: 0.95rem;
    }

    .order-wrapper {
        padding: 0 1rem;
        margin-bottom: 3rem;
    }

    .order-form {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .form-step {
        padding: 1rem;
        border-radius: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .step-header {
        gap: 0.75rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .step-header h2,
    .step-header h3 {
        font-size: 1.05rem;
    }

    /* Step indicator — keep horizontal but tight. The 640px breakpoint
       below also kicks in on phones for finer adjustments. */
    .step-indicator {
        padding: 1rem 0.75rem;
        gap: 0.5rem;
    }

    .step-indicator-label {
        font-size: 0.7rem;
    }

    /* Vignette / vehicle option chips */
    .vignette-options,
    .vehicle-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vignette-option {
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .vignette-option-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .vignette-option .option-title {
        font-size: 1rem;
    }

    .vignette-option .option-price {
        font-size: 1.25rem;
    }

    .vehicle-option {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .vehicle-option-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    /* Country picker — flag tiles smaller so 4 fit per row on phones */
    .country-flag-option {
        min-width: 64px;
        padding: 0.5rem;
        gap: 0.35rem;
    }

    .country-flag-option .flag-box {
        width: 56px;
        height: 42px;
    }

    .country-flag-option .flag-code {
        font-size: 0.75rem;
    }

    /* Payment + summary blocks */
    .payment-methods-selection {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .payment-method-card {
        padding: 1.25rem;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .payment-method-card i {
        font-size: 2rem;
    }

    .price-summary,
    .price-summary-final {
        padding: 1rem;
    }

    /* Order success */
    .order-success-page {
        margin-top: 96px;
    }

    .order-success-card {
        padding: 2rem 1.25rem;
    }

    .order-success-title {
        font-size: 1.5rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .order-details-card {
        padding: 1.25rem;
    }

    .success-info-box {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Step actions */
    .step-actions {
        flex-wrap: wrap;
    }

    /* Long words / IDs (license plates, emails) shouldn't overflow */
    .summary-value,
    .detail-value,
    .news-list-item-title,
    .news-detail-title {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* ---------- ≤480px : small phone ---------- */
@media (max-width: 480px) {
    .section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .hero-shell {
        margin-top: 60px;
    }

    .hero-slider {
        height: 360px;
    }

    .slide-content {
        padding: 1.5rem 1rem 1rem;
    }

    .vignette-quick {
        bottom: 2.5rem;
    }

    .vignette-quick__grid {
        gap: 0.35rem;
        padding: 0 0.5rem;
    }

    .vignette-quick__card {
        padding: 0.45rem 0.2rem;
        gap: 0.2rem;
        border-radius: 8px;
    }

    .vignette-quick__icon {
        width: 28px;
        height: 28px;
    }

    .vignette-quick__icon i {
        font-size: 0.8rem;
    }

    .vignette-quick__title {
        font-size: 0.62rem;
        -webkit-line-clamp: 2;
    }

    .vignette-quick__price {
        font-size: 0.72rem;
    }

    .slider-dots {
        bottom: 0.5rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .slide-content p {
        font-size: 0.875rem;
    }

    .tabs-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .tab-item {
        padding: 0.85rem 0.5rem;
    }

    .tab-item i {
        font-size: 1.4rem;
    }

    .tab-item span {
        font-size: 0.8rem;
    }

    /* Footer collapses fully on tiny phones */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Order page tweaks for tiny screens */
    .order-hero__content h1 {
        font-size: 1.45rem;
    }

    .order-form {
        padding: 1rem;
    }

    .form-step {
        padding: 0.875rem;
    }

    /* Step indicator: hide the connector lines and labels under the bubbles
       so the 5-step row stops wrapping/squishing on very small screens. */
    .step-indicator {
        padding: 0.75rem 0.5rem;
        gap: 0.35rem;
    }

    .step-indicator-line {
        display: none;
    }

    .step-indicator-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .step-indicator-label {
        font-size: 0.6rem;
        line-height: 1.1;
    }

    /* Country picker: 3 tiles per row at most */
    .country-flag-option {
        min-width: 60px;
    }

    .country-flag-option .flag-box {
        width: 48px;
        height: 36px;
    }

    /* News list/detail tighter on tiny phones */
    .news-list-item {
        padding: 1.25rem;
    }

    .news-list-item-image,
    .news-list-item-icon {
        height: 170px !important;
    }

    .news-detail-container {
        padding: 1rem;
    }

    .news-detail-title {
        font-size: 1.6rem;
    }

    .news-detail-excerpt {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .news-detail-content {
        font-size: 0.95rem;
    }

    .news-detail-hero-image {
        height: 220px;
    }
}

