:root {
    --bg-dark-rgb: rgb(12, 10, 10);
    --olilo-nibble: #f0ffc4;
    --olilo-munch: #bee0ef;
    --olilo-feast: #f0cad7;
}

body {
    background-color: #f9f4f1;
}
.btn-primary {
    background-color: #19423a;
    border-color: #19423a;
}
.btn-primary:hover {
    background-color: #2f544c;
    border-color: #2f544c;
}
.btn-primary:focus {
    background-color: #2f544c;
    border-color: #2f544c;
}
.bg-primary {
    background-color: #19423a;
}
.border-primary {
    border-color: #19423a;
}


.nibble-card-top {
    background-color: var(--olilo-nibble);
}
.munch-card-top {
    background-color: var(--olilo-munch);
}
.feast-card-top {
    background-color: var(--olilo-feast);
}


.addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.addon-card.active {
    border-color: #19423a !important;
    border-width: 2px !important;
    box-shadow: 0 4px 12px rgba(25, 66, 58, 0.2) !important;
    background-color: #f0fdf4 !important;
}

.addon-card.is-disabled,
.router-choice-card.is-disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #f9fafb !important;
}

.addon-card.is-disabled:hover,
.router-choice-card.is-disabled:hover {
    transform: none;
    box-shadow: none !important;
}

.router-section {
    border-color: #e5e7eb !important;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 40%);
}

.router-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 500;
}

.router-choice-unavailable,
.router-detail-unavailable {
    grid-column: 1 / -1;
    margin: 0.25rem 0 0;
    padding-left: 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.router-choice-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 0.875rem 1.125rem;
    width: 100%;
    margin: 0;
    padding: 1rem 1.125rem;
    min-height: 5.25rem;
    cursor: pointer;
    border: 1.5px solid #e5e7eb;
    border-radius: 1rem;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.router-choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.router-choice-thumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.875rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0.35rem;
}

.router-choice-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.router-choice-card.is-photo .router-choice-thumb-wrap {
    background: #fff;
}

.router-choice-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 4.5rem;
}

.router-choice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.router-choice-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

.router-choice-price {
    flex-shrink: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #19423a;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: right;
    line-height: 1.25;
}

.router-choice-check {
    width: 1.375rem;
    height: 1.375rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.router-choice-card:hover:not(.is-disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.router-choice-card.is-selected {
    border-color: #19423a;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(25, 66, 58, 0.12);
}

.router-choice-card.is-selected .router-choice-check {
    border-color: #19423a;
    background: #19423a;
    box-shadow: inset 0 0 0 3px #fff;
}

.router-choice-card.is-selected .router-choice-thumb-wrap {
    border-color: #bbf7d0;
    background: #fff;
}

.router-detail-panel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.25rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.router-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.router-detail-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 11rem;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #f3f4f6;
}

.router-detail-image {
    width: 100%;
    max-width: 11rem;
    max-height: 10rem;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.router-detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.router-detail-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.router-detail-price {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #19423a;
}

.router-detail-desc {
    margin: 0;
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.55;
}

.router-detail-features {
    margin: 0;
    padding-left: 1.125rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.55;
}

.router-detail-features li + li {
    margin-top: 0.35rem;
}

@media (min-width: 992px) {
    .router-detail-panel {
        position: sticky;
        top: 1rem;
        min-height: 18rem;
    }
}

@media (max-width: 575.98px) {
    .router-choice-card {
        grid-template-columns: auto 1fr auto;
        padding: 0.875rem 1rem;
        min-height: 4.75rem;
    }

    .router-choice-thumb-wrap {
        width: 3.75rem;
        height: 3.75rem;
    }

    .router-choice-body {
        min-height: 3.75rem;
    }

    .router-choice-name,
    .router-choice-price {
        font-size: 1rem;
    }

    .router-choice-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .router-choice-price {
        text-align: left;
    }

    .router-choice-unavailable {
        grid-column: 2 / -1;
    }
}

.fs-7 {
    font-size: 0.875rem;
}

/* Consumer site footer (matches consumer.olilo.co.uk) */
.consumer-site-footer {
    background-color: #0c0a0a;
}

.consumer-site-footer__inner {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .consumer-site-footer__inner {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }
}

@media (min-width: 992px) {
    .consumer-site-footer__inner {
        padding-top: 4rem;
    }
}

.consumer-site-footer__logo {
    height: 2rem;
    width: auto;
}

.consumer-site-footer__logo-link {
    display: inline-flex;
    text-decoration: none;
}

.consumer-site-footer__tagline {
    margin-top: 0.75rem;
    margin-bottom: 0;
    max-width: 20rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #d1d5db;
}

.consumer-site-footer__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.05);
}

.consumer-site-footer__rating-star {
    font-size: 0.875rem;
    line-height: 1;
    color: #f5c518;
}

.consumer-site-footer__rating-text {
    font-size: 0.75rem;
    color: #e5e7eb;
}

.consumer-site-footer__trustpilot {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #9ca3af;
}

.consumer-site-footer__trustpilot-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consumer-site-footer__trustpilot-link:hover {
    color: #e5e7eb;
}

.consumer-site-footer__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.consumer-site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: #d1d5db;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.consumer-site-footer__social-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

.consumer-site-footer__heading {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.consumer-site-footer__links li + li {
    margin-top: 0.5rem;
}

.consumer-site-footer__links a {
    font-size: 0.875rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.15s ease;
}

.consumer-site-footer__links a:hover {
    color: #fff;
}

.consumer-site-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .consumer-site-footer__bottom {
        margin-top: 3rem;
    }
}

.consumer-site-footer__legal {
    max-width: 56rem;
    font-size: 0.6875rem;
    line-height: 1.6;
    color: #9ca3af;
}

@media (min-width: 576px) {
    .consumer-site-footer__legal {
        font-size: 0.75rem;
    }
}

.consumer-site-footer__turnstile {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .consumer-site-footer__turnstile {
        font-size: 0.6875rem;
    }
}

.consumer-site-footer__turnstile-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
}