:root {
    --primary-blue: #007bff;
    --light-bg: #f8f9fa;
    --dark-blue: #003366;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

.site-logo {
    height: 58px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 48px;
    width: auto;
    display: block;
}

.navbar-top {
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link.is-active {
    color: var(--primary-blue) !important;
    background-color: rgba(0, 123, 255, 0.12);
}

.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    background: #000;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
}

.hero-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 220px;
    }

    .site-logo {
        height: 46px;
    }
}

.category-card {
    border: none;
    transition: transform 0.2s;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-img {
    border-radius: 8px;
    padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
}

.category-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
}

.member-privilege {
    background: linear-gradient(90deg, #001f3f 0%, #003366 100%);
    color: white;
    padding: 40px 0;
}

.membership-tier-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.rating-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 30px;
}

.scroll-offset {
    scroll-margin-top: 110px;
}

.process-card {
    height: 100%;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    border: 1px solid rgba(0, 51, 102, 0.08);
    box-shadow: 0 18px 40px rgba(0, 51, 102, 0.06);
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--dark-blue);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.faq-section {
    padding: 60px 0;
}

.faq-image {
    max-width: 350px;
}

.blog-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.blog-card-link .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-link:hover .card,
.blog-card-link:focus-visible .card {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 51, 102, 0.12) !important;
}

.content-hero {
    padding: 72px 0 40px;
    background:
        radial-gradient(circle at top right, rgba(0, 123, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.content-card {
    background: #fff;
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.06);
    padding: 36px;
}

.content-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-catalog-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.article-image {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.quote-checklist {
    display: grid;
    gap: 12px;
}

.quote-checklist-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f7fbff;
}

.quote-checklist-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 2px;
}

.auth-shell {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    padding: 72px 0;
    background:
        radial-gradient(circle at top left, rgba(0, 123, 255, 0.14), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

body.client-login-page .auth-shell {
    min-height: 100vh;
}

.auth-panel {
    background: #fff;
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 51, 102, 0.08);
    overflow: hidden;
}

.auth-aside {
    height: 100%;
    padding: 40px;
    background: linear-gradient(160deg, #003366 0%, #007bff 100%);
    color: #fff;
}

.auth-form-wrap {
    padding: 40px;
}

.auth-input {
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 51, 102, 0.12);
}

.auth-input:focus {
    border-color: rgba(0, 123, 255, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.12);
}

.auth-alert {
    border-radius: 16px;
}

.account-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.3fr 0.7fr;
}

.account-stat {
    padding: 20px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.bunting-price-sticky {
    box-shadow: 0 14px 32px rgba(0, 51, 102, 0.12);
}

.bunting-floating-total {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 1030;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bunting-floating-total.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bunting-floating-total__alert {
    box-shadow: 0 16px 36px rgba(0, 51, 102, 0.16);
}

@media (max-width: 767.98px) {
    .auth-aside,
    .auth-form-wrap {
        padding: 28px 24px;
    }
}

@media (max-width: 767.98px) {
    .content-card {
        padding: 24px;
    }

    .bunting-floating-total {
        top: 76px;
    }
}

@media (max-width: 991.98px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
}

.footer-top {
    background: #fdfdfd;
    border-top: 1px solid #eee;
    padding: 40px 0;
}

.footer-main {
    background: #eef7ff;
    padding: 60px 0;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    border: none;
    padding: 8px 24px;
}

.search-bar {
    background: #f1f3f4;
    border: none;
    border-radius: 20px;
    padding-left: 15px;
}

.svg-placeholder {
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 8px;
}

.not-found-section {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    padding: 72px 0;
    background:
        radial-gradient(circle at top left, rgba(0, 123, 255, 0.12), transparent 32%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.not-found-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 51, 102, 0.08);
    padding: 48px;
}

.not-found-code {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.not-found-title {
    color: var(--dark-blue);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
}

.not-found-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .not-found-card {
        padding: 32px 24px;
    }
}
