@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;0,6..12,800&family=Nunito:wght@300;400;500;600;700;800&display=swap");

:root {
    --color-primary: #eb2a49;
    --color-primary-dark: #bd1d38;
    --color-primary-light: #fce4ec;
    --color-navy: #1a2557;
    --color-navy-dark: #0d1333;
    --color-navy-light: #2d3a6b;
    --color-bg: #fff;
    --color-white: #ffffff;
    --color-border: #e2e4f0;
    --color-muted: #8892b0;
    --color-text: #2d3a6b;
    --color-text-soft: #5a6a99;
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-full: 9999px;
    --shadow-soft: 0 2px 20px rgba(26, 37, 87, 0.07);
    --shadow-card: 0 4px 24px rgba(26, 37, 87, 0.1);
    --shadow-btn: 0 4px 14px rgba(233, 30, 99, 0.3);
    --shadow-nav: 0 2px 16px rgba(26, 37, 87, 0.08);
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}
body {
    font-family: "Nunito", ui-sans-serif, system-ui;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito Sans", sans-serif;
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.25;
}

.navbar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-nav);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-link {
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-text);
    padding: 0.375rem 0;
    position: relative;
    transition: color var(--transition);
    text-decoration: none;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-link:hover {
    color: var(--color-primary);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link.active {
    color: var(--color-primary);
}
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.625rem 1.625rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition:
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    transform: translateY(-1px);
    color: var(--color-white);
}
/* Navbar login button — no shadow */
.navbar .btn-primary,
.navbar .btn-primary:hover {
    box-shadow: none;
    transform: none;
}

/* ── Select2 inside hero search bar ───────────────────────────── */
.search-bar .select2-container {
    flex: 1;
    width: auto !important;
    min-width: 0;
}
.search-bar .select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
}
.search-bar
    .select2-container--default.select2-container--focus
    .select2-selection--single,
.search-bar
    .select2-container--default.select2-container--open
    .select2-selection--single {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.search-bar
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #2d3a6b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 0 !important;
    line-height: 1 !important;
}
.search-bar
    .select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #8892b0 !important;
    font-weight: 600 !important;
}
.search-bar
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    display: none !important;
}
.search-bar
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    display: none !important;
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-navy);
    color: var(--color-white);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition:
        background var(--transition),
        transform var(--transition);
    text-decoration: none;
    width: 100%;
    justify-content: center;
}
.btn-navy:hover {
    background: var(--color-navy-dark);
    transform: translateY(-1px);
    color: var(--color-white);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-navy);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    width: 100%;
}
.btn-outline:hover {
    border-color: var(--color-navy);
    background: var(--color-navy);
    color: var(--color-white);
}
.cart-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.cart-btn:hover {
    background: var(--color-navy-dark);
    color: white;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}
.form-input {
    width: 100%;
    padding: 0.8125rem 1rem;
    padding-right: 2.75rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: "Nunito", sans-serif;
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(26, 37, 87, 0.06);
}
.form-input::placeholder {
    color: var(--color-muted);
}
.form-input:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(26, 37, 87, 0.08);
}
.form-input.error {
    border-color: var(--color-primary);
}
.otp-boxes {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}
.otp-box {
    width: 3rem;
    height: 3.25rem;
    text-align: center;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(26, 37, 87, 0.06);
}
.otp-box:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(26, 37, 87, 0.08);
}
.otp-box.error {
    border-color: var(--color-primary);
}
@media (max-width: 380px) {
    .otp-boxes {
        gap: 0.4rem;
    }
    .otp-box {
        width: 2.5rem;
        height: 2.85rem;
        font-size: 1.2rem;
    }
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrapper .form-input {
    padding-right: 2.75rem;
}
.input-icon {
    position: absolute;
    right: 1rem;
    color: var(--color-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.form-select {
    width: 100%;
    padding: 0.8125rem 2.5rem 0.8125rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: "Nunito", sans-serif;
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238892b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(26, 37, 87, 0.06);
}
.form-select:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(26, 37, 87, 0.08);
}

.tab-bar {
    display: flex;
    border-bottom: 1.5px solid var(--color-border);
    margin-bottom: 1.75rem;
}
.tab-btn {
    flex: 1;
    padding: 0.875rem 0;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-muted);
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    cursor: pointer;
    transition:
        color var(--transition),
        border-color var(--transition);
}
.tab-btn.active {
    color: var(--color-navy);
    border-bottom-color: var(--color-navy);
}

.toggle-btn-group {
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.toggle-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--color-white);
    color: var(--color-navy);
}
.toggle-btn:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}
.toggle-btn:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.toggle-btn.active {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* ── Pill/badge selectable options (same style as the profiles filter sidebar) ── */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}
.pill-opt {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.78rem;
    border-radius: 9999px;
    border: 1.5px solid #e5e7ef;
    font-size: 0.79rem;
    font-weight: 700;
    font-family: "Nunito", sans-serif;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.14s;
    user-select: none;
    position: relative;
}
.pill-opt input[type="radio"],
.pill-opt input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pill-opt:hover {
    border-color: #eb2a49;
    color: #eb2a49;
}
.pill-opt.pill-active {
    background: #1a2557;
    color: #fff;
    border-color: #1a2557;
}

.step-progress {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2rem;
}
.step-item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-line {
    position: absolute;
    top: 0.9375rem;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}
.step-item:last-child .step-line {
    display: none;
}
.step-line.done {
    background: var(--color-navy);
}
.step-dot {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Nunito", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-muted);
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    transition: all var(--transition);
}
.step-dot.done {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}
.step-dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.14);
}
.step-label {
    font-family: "Nunito", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.3;
    padding: 0 0.25rem;
}
.step-label.done {
    color: var(--color-navy);
}
.step-label.active {
    color: var(--color-primary);
}

.auth-card {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}
.auth-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 0.25rem;
}

.footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.75);
}
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition);
    display: block;
    padding: 0.25rem 0;
}
.footer-link:hover {
    color: var(--color-white);
}
.footer-heading {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}
.footer-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: background var(--transition);
    text-decoration: none;
}
.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.alert-danger {
    background: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd0;
}
.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}
.field-error {
    color: var(--color-primary);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    font-weight: 600;
}

.admin-sidebar {
    width: 16rem;
    min-height: 100vh;
    background: var(--color-navy);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 40;
    transition: transform var(--transition);
    overflow-y: auto;
}
.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.admin-sidebar-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.07);
    border-left-color: var(--color-primary);
}
.admin-sidebar-link.active {
    color: var(--color-white);
    background: rgba(233, 30, 99, 0.15);
    border-left-color: var(--color-primary);
}
.admin-content {
    margin-left: 16rem;
    min-height: 100vh;
    min-width: 0;
    background: var(--color-bg);
    flex: 1;
}
.admin-topbar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0 1.75rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 30;
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    background: var(--color-bg);
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
}
.data-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
    color: var(--color-text);
}
.data-table tr:hover td {
    background: rgba(248, 249, 255, 0.8);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-success {
    background: #e8f5e9;
    color: #2e7d32;
}
.badge-danger {
    background: #fce4ec;
    color: #c2185b;
}
.badge-info {
    background: #e3f2fd;
    color: #1565c0;
}
.badge-warning {
    background: #fff8e1;
    color: #f57f17;
}

.custom-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--color-navy);
    cursor: pointer;
}

.divider-rings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.divider-rings::before,
.divider-rings::after {
    content: "";
    flex: 1;
    max-width: 5rem;
    height: 1.5px;
    background: var(--color-border);
}
.divider-rings img {
    user-select: none;
    -webkit-user-drag: none;
}
.link-red {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: opacity var(--transition);
}
.link-red:hover {
    opacity: 0.8;
}
.link-navy {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
    transition: opacity var(--transition);
}
.link-navy:hover {
    opacity: 0.7;
}
.fade-in {
    animation: fadeIn 0.35s ease both;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
    .auth-card {
        padding: 2rem 1.25rem;
    }
    .step-page-wrap {
        padding: 0 1rem;
    }
}

@media (max-width: 560px) {
    .auth-card {
        padding: 1.5rem 0;
    }
    .auth-title {
        font-size: 1.65rem;
    }
    .auth-title-sm {
        font-size: 1.4rem;
    }

    .step-page-wrap {
        padding: 0 0.875rem !important;
    }
    .cp-card {
        padding: 1.25rem !important;
    }
    .pricing-section {
        padding: 5rem 0rem !important;
        background: #fff;
    }
}

.hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    width: 100%;
}
.hero-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
}

.search-bar {
    background: white;
    border-radius: 9999px;
    padding: 0.4rem 0.4rem 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.search-field {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    border-right: 1px solid #e2e4f0;
    padding: 0 0.75rem 0 0.25rem;
}
.search-field-mid {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    border-right: 1px solid #e2e4f0;
    padding: 0 0.75rem;
}
.search-field-last {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    padding: 0 0.75rem;
}
.search-icon {
    width: 1rem;
    height: 1rem;
    color: #eb2a49;
    flex-shrink: 0;
}
.search-select {
    border: none;
    outline: none;
    font-family: "Nunito", sans-serif;
    font-size: 0.875rem;
    color: #2d3a6b;
    background: transparent;
    width: 100%;
    cursor: pointer;
    padding: 0.5rem 0;
}
.search-btn {
    background: #eb2a49;
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-white {
    padding: 2.5rem 1.5rem;
    background: white;
}
.section-cream {
    padding: 2.5rem 1.5rem;
    background: #f4f1ea;
}
.section-cream-outer {
    padding: 2.5rem 1.5rem;
    background: #fff;
}
.cream-card {
    background: #f4f1ea;
    border-radius: 3.5rem;
}
.cream-card .content {
    padding: 2rem 3.5rem;
}
.cream-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0rem;
}
.section-light {
    padding: 2.5rem 1.5rem;
    background: #f4f1ea;
}
.section-navy {
    padding: 4rem 1.5rem;
    background: #1a2557;
}
.container-xl {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a2557;
    margin-bottom: 0;
}
.section-title-xl {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2.76rem;
    font-weight: 700;
    color: #1a2557;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.section-title-white {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.875rem;
}
.section-divider-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.875rem 0 1.5rem;
}
.divider-line {
    height: 1.5px;
    width: 4rem;
    background: #e2e4f0;
}
.rings-img {
    height: 1.75rem;
}
.section-text {
    color: #8892b0;
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.section-text-sm {
    color: #8892b0;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.accent-red {
    color: #eb2a49;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.grid-4-gap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.grid-2-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.grid-2-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.grid-flex-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.match-img-wrap {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    height: 240px;
    background: linear-gradient(135deg, #fce4ec, #e8eaf6);
}
.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.match-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a2557;
    margin-bottom: 0.5rem;
}
.match-desc {
    color: #8892b0;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.learn-more {
    color: #eb2a49;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.icon-xs {
    width: 0.625rem;
    height: 0.625rem;
}
.icon-sm {
    width: 0.875rem;
    height: 0.875rem;
}
.icon-md {
    width: 1rem;
    height: 1rem;
}
.icon-lg {
    width: 1.25rem;
    height: 1.25rem;
}

.profile-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e4f0;
    box-shadow: 0 2px 12px rgba(26, 37, 87, 0.07);
}
.profile-img-wrap {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #fce4ec, #e8eaf6);
}
.profile-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #eb2a49;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
}
.profile-like-btn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: white;
    border: none;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.profile-body {
    padding: 0.875rem;
}
.profile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2557;
    margin: 0 0 0.5rem;
}
.profile-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
    margin-bottom: 0.75rem;
}
.profile-meta-item {
    font-size: 0.7rem;
    color: #8892b0;
}
.profile-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-profile-view {
    flex: 1;
    background: #1a2557;
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    font-family: "Nunito", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: block;
}
.btn-share {
    background: none;
    border: 1px solid #e2e4f0;
    border-radius: 0.5rem;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
}
.icon-muted {
    color: #8892b0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1.5px solid #1a2557;
    color: #1a2557;
    background: white;
    border-radius: 9999px;
    padding: 0.625rem 2.5rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
}
.text-center-mt {
    text-align: center;
    margin-top: 2rem;
}

/* ---- Trust-Focused overlay card design ---- */
.trust-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    height: 340px;
    background: linear-gradient(135deg, #fce4ec, #e8eaf6);
    box-shadow: 0 4px 20px rgba(26, 37, 87, 0.12);
}
.trust-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.trust-overlay-card {
    position: absolute;
    bottom: 0.875rem;
    left: 0.875rem;
    right: 0.875rem;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem 1.125rem 1.125rem;
    box-shadow: 0 4px 16px rgba(26, 37, 87, 0.13);
}
.trust-icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #eb2a49;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.trust-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a2557;
    margin-bottom: 0.3rem;
    min-width: 0;
    word-break: break-word;
}
.trust-desc {
    color: #8892b0;
    font-size: 0.8rem;
    line-height: 1.55;
    margin: 0;
}

.stories-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.story-hero-img {
    border-radius: 1rem;
    overflow: hidden;
    height: 160px;
    background: linear-gradient(135deg, #fce4ec, #e8eaf6);
}
.story-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #e2e4f0;
}
.story-date {
    font-size: 0.75rem;
    color: #eb2a49;
    font-weight: 700;
    margin-bottom: 0.375rem;
}
.story-text {
    font-size: 0.875rem;
    color: #2d3a6b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.story-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a2557;
}

.rounded-img-lg {
    border-radius: 3.5rem;
    overflow: hidden;
    height: 180px;
    background: linear-gradient(135deg, #fce4ec, #e8eaf6);
}

.cta-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.btn-primary-lg {
    font-size: 1rem;
    padding: 0.875rem 2.25rem;
    white-space: nowrap;
}
.btn-stories {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1a2557;
    color: white;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
}

.admin-body-wrap {
    display: flex;
}
.admin-sidebar-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-logo {
    height: 2.5rem;
    width: auto;
}
.admin-logo-text {
    display: none;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}
.admin-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}
.admin-nav-label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem 0.25rem;
}
.admin-nav-label-spaced {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1.25rem 1.5rem 0.25rem;
}
.admin-sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-toggle-btn {
    display: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
}
.admin-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.admin-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #1a2557;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}
.admin-username {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a2557;
    margin: 0;
}
.admin-role {
    font-size: 0.75rem;
    color: #8892b0;
    margin: 0;
}
.admin-main {
    padding: 2rem;
    animation: fadeIn 0.35s ease both;
}
.alert-mb {
    margin-bottom: 1.25rem;
}
.admin-logout-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
}
.admin-page-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a2557;
    margin: 0;
}

.step-page-wrap {
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.auth-card-wide {
    max-width: 44rem;
}
.auth-title-sm {
    font-size: 1.75rem;
}
.step-progress-wrap {
    max-width: 44rem;
    margin: 0 auto;
}
.step-note {
    max-width: 44rem;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-navy);
    text-align: center;
}
.step-note-current {
    color: var(--color-muted);
    font-weight: 600;
}

.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.step-actions .btn-navy {
    width: auto;
    flex: 1;
    min-width: 0;
}
.step-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-muted);
    text-decoration: none;
    padding: 0.75rem 0.25rem;
    flex-shrink: 0;
    transition: color var(--transition);
}
.step-back-link:hover {
    color: var(--color-navy);
}
.step-back-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .step-label {
        display: none;
    }
    .step-label.active {
        display: block;
    }
    .step-dot {
        width: 1.625rem;
        height: 1.625rem;
        font-size: 0.75rem;
    }
    .step-line {
        top: 0.8125rem;
    }
}

.form-container {
    max-width: 48rem;
}
.form-container-md {
    max-width: 52rem;
}

.btn-fit {
    width: auto;
    padding: 0.8125rem 1.5rem;
}
.btn-fit-wide {
    width: auto;
    padding: 0.8125rem 2rem;
}
.btn-sm-fit {
    width: auto;
    padding: 0.625rem 1.25rem;
}
.btn-logout {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
}

.cta-banner {
    background: linear-gradient(135deg, #1a2557 0%, #2d3a6b 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

@media (min-width: 640px) {
    .cta-banner {
        flex-direction: row;
        text-align: left;
    }
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* =========================================================
   TRANSPARENT / HERO NAVBAR  (home + pricing pages)
   ========================================================= */
body.has-hero-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    z-index: 100;
}
body.has-hero-nav .navbar.nav-solid {
    background: #fff;
    border-bottom: 1px solid #e2e4f0;
    box-shadow: 0 2px 16px rgba(26, 37, 87, 0.08);
}
/* nav links white on transparent nav */
body.has-hero-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
}
body.has-hero-nav .nav-link:hover,
body.has-hero-nav .nav-link.active {
    color: #fff;
}
body.has-hero-nav .nav-link::after {
    background: #fff;
}
/* nav links revert to navy once scrolled */
body.has-hero-nav .navbar.nav-solid .nav-link {
    color: var(--color-text);
}
body.has-hero-nav .navbar.nav-solid .nav-link:hover,
body.has-hero-nav .navbar.nav-solid .nav-link.active {
    color: var(--color-primary);
}
body.has-hero-nav .navbar.nav-solid .nav-link::after {
    background: var(--color-primary);
}
/* cart + login button on transparent nav */
body.has-hero-nav .cart-btn {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
body.has-hero-nav .navbar.nav-solid .cart-btn {
    background: var(--color-navy);
    color: #fff;
}
/* logo swap — default: show dark, hide white */
.logo-white {
    display: none;
}
.logo-dark {
    display: block;
}
/* on hero pages: transparent nav → show white logo */
body.has-hero-nav .logo-dark {
    display: none;
}
body.has-hero-nav .logo-white {
    display: block;
}
/* on hero pages: once nav scrolls solid → revert to dark logo */
body.has-hero-nav .navbar.nav-solid .logo-dark {
    display: block;
}
body.has-hero-nav .navbar.nav-solid .logo-white {
    display: none;
}
/* ── User avatar / initial — solid white nav (default) ── */
.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e2e4f0;
    transition: border-color 0.2s;
}
.nav-user-initial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f1f8;
    border: 2px solid #e2e4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.8rem;
    color: #1a2557;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}

/* ── Transparent hero nav: flip to white ── */
body.has-hero-nav .navbar:not(.nav-solid) .nav-user-avatar {
    border-color: rgba(255, 255, 255, 0.45);
}
body.has-hero-nav .navbar:not(.nav-solid) .nav-user-initial {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* user dropdown on transparent nav */
body.has-hero-nav .btn-primary {
    /* keep red pill visible */
}

/* =========================================================
   HERO — full-viewport for pages with hero-nav
   ========================================================= */
body.has-hero-nav .hero {
    min-height: 60vh;
}
body.has-hero-nav .sub-hero {
    min-height: 35vh;
}

/* Dark overlay inside hero */
.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        175deg,
        rgba(10, 14, 40, 0.45) 0%,
        rgba(10, 14, 40, 0.72) 100%
    ); */
    z-index: 1;
}

/* Hero content sits above overlay */
.hero-content {
    z-index: 2;
}

/* On hero-nav pages the fixed navbar needs clearance at top of hero content */
body.has-hero-nav .hero-content {
    padding-top: 6rem; /* 80px navbar + ~16px gap */
}

/* =========================================================
   SUB-HERO  (e.g. pricing page top image)
   ========================================================= */
.sub-hero {
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2557 0%, #2d3a6b 100%);
}
.sub-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* =========================================================
   PRICING / SUBSCRIPTION  PAGE
   ========================================================= */
.pricing-section {
    padding: 5rem 1.5rem;
    background: #fff;
}
.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}
.pricing-toggle {
    display: flex;
    background: #f4f1ea;
    border-radius: 9999px;
    padding: 0.3rem;
    border: 1.5px solid #e2e4f0;
    gap: 0;
}
.pricing-toggle-btn {
    padding: 0.625rem 2rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #8892b0;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.pricing-toggle-btn.active {
    background: #eb2a49;
    color: #fff;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}
.pricing-card {
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    border: 1.5px solid #e2e4f0;
    background: #fff;
    position: relative;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}
.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(26, 37, 87, 0.12);
}
.pricing-card-featured {
    background: #1a2557;
    border-color: #1a2557;
    transform: translateY(-14px);
    box-shadow: 0 16px 48px rgba(26, 37, 87, 0.28);
}
.pricing-card-featured:hover {
    transform: translateY(-18px);
}
.pricing-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: #eb2a49;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 0 0 0.875rem 0.875rem;
}
.pricing-plan-name {
    font-family: "Nunito", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #eb2a49;
    margin-bottom: 0.875rem;
}
.pricing-price {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a2557;
    line-height: 1;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.pricing-card-featured .pricing-price {
    color: #fff;
}
.pricing-price-strike {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8892b0;
    text-decoration: line-through;
}
.pricing-card-featured .pricing-price-strike {
    color: rgba(255, 255, 255, 0.45);
}
.pricing-desc {
    font-size: 0.875rem;
    color: #8892b0;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    margin-top: 0.75rem;
}
.pricing-card-featured .pricing-desc {
    color: rgba(255, 255, 255, 0.65);
}
.pricing-benefits-title {
    font-weight: 800;
    font-size: 0.875rem;
    color: #1a2557;
    margin-bottom: 0.875rem;
}
.pricing-card-featured .pricing-benefits-title {
    color: #fff;
}
.pricing-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.pricing-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: #2d3a6b;
    padding: 0.375rem 0;
    line-height: 1.5;
}
.pricing-card-featured .pricing-benefits li {
    color: rgba(255, 255, 255, 0.82);
}
.pricing-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.pricing-check svg {
    width: 10px;
    height: 10px;
    stroke: #2e7d32;
}
.pricing-card-featured .pricing-check {
    background: rgba(255, 255, 255, 0.12);
}
.pricing-card-featured .pricing-check svg {
    stroke: #81c784;
}
.btn-pricing {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0.875rem;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.btn-pricing-outline {
    background: transparent;
    color: #eb2a49;
    border-color: #eb2a49;
}
.btn-pricing-outline:hover {
    background: #eb2a49;
    color: #fff;
}
.btn-pricing-white {
    background: #fff;
    color: #1a2557;
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.18);
}
.btn-pricing-white:hover {
    background: #f4f1ea;
}

/* =========================================================
   WEB CREATE PROFILE  (auth layout, clean wizard)
   ========================================================= */
.wcp-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}
.wcp-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a2557;
    text-align: center;
    margin-bottom: 0.5rem;
}
.wcp-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 2.25rem;
}
.wcp-divider::before,
.wcp-divider::after {
    content: "";
    flex: 1;
    max-width: 4rem;
    height: 1.5px;
    background: #e2e4f0;
}
.wcp-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 0.875rem;
    overflow: hidden;
    border: 1.5px solid #e2e4f0;
    margin-bottom: 2rem;
}
.wcp-toggle-btn {
    padding: 0.9rem 1rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: #fff;
    color: #1a2557;
}
.wcp-toggle-btn + .wcp-toggle-btn {
    border-left: 1.5px solid #e2e4f0;
}
.wcp-toggle-btn.active {
    background: #1a2557;
    color: #fff;
}
/* Step indicator */
.wcp-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}
.wcp-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.wcp-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e2e4f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #8892b0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: all 0.2s;
}
.wcp-step-dot.done {
    background: #1a2557;
    border-color: #1a2557;
    color: #fff;
}
.wcp-step-dot.active {
    background: #eb2a49;
    border-color: #eb2a49;
    color: #fff;
}
.wcp-step-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8892b0;
    white-space: nowrap;
}
.wcp-step-label.done {
    color: #1a2557;
}
.wcp-step-label.active {
    color: #eb2a49;
}
.wcp-step-line {
    flex: 1;
    height: 2px;
    background: #e2e4f0;
    max-width: 52px;
    min-width: 20px;
    margin-bottom: 14px;
}
.wcp-step-line.done {
    background: #1a2557;
}
/* form elements */
.wcp-field {
    margin-bottom: 1.375rem;
}
.wcp-label {
    display: block;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #1a2557;
    margin-bottom: 0.5rem;
}
.wcp-input-wrap {
    position: relative;
}
.wcp-input,
.wcp-select {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1.125rem;
    border: 1.5px solid #e2e4f0;
    border-radius: 0.875rem;
    font-family: "Nunito", sans-serif;
    font-size: 0.9375rem;
    color: #1a2557;
    background: #fff;
    outline: none;
    appearance: none;
    transition:
        border 0.18s,
        box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(26, 37, 87, 0.05);
}
.wcp-input:focus,
.wcp-select:focus {
    border-color: #1a2557;
    box-shadow: 0 0 0 3px rgba(26, 37, 87, 0.08);
}
.wcp-input-icon {
    position: absolute;
    right: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8892b0;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.wcp-select-wrap {
    position: relative;
}
.wcp-select-wrap .wcp-input-icon {
    pointer-events: none;
}
.wcp-btn-next {
    width: 100%;
    padding: 1rem;
    border-radius: 0.875rem;
    border: none;
    background: #1a2557;
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.75rem;
}
.wcp-btn-next:hover {
    background: #0d1333;
}
.wcp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #eb2a49;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 1.25rem;
    justify-content: center;
    width: 100%;
}
.wcp-section-card {
    background: #f4f1ea;
    border: 1.5px solid #e2e4f0;
    border-radius: 1.25rem;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.wcp-section-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #eb2a49;
    margin-bottom: 1.25rem;
}

/* =========================================================
   PROFILE SHOW — ensure all info visible
   ========================================================= */
.profile-info-section {
    margin-bottom: 2rem;
}

/* =========================================================
   PILL SELECTOR — replaces dropdowns for ≤5 options
   ========================================================= */
.pill-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.375rem;
}
.pill-selector input[type="radio"],
.pill-selector input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pill-option {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1.5px solid #e2e4f0;
    background: #ffffff;
    color: #5a6a99;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    user-select: none;
    white-space: nowrap;
}
.pill-option:hover {
    border-color: #eb2a49;
    color: #eb2a49;
    background: #fff5f8;
}
.pill-selector input:checked + .pill-option,
.pill-option.selected {
    background: #1a2557;
    border-color: #1a2557;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   PROFILE CARD — exact match to screenshot design
   ═══════════════════════════════════════════════════════════════ */
.pc-card {
    background: #fff;
    border-radius: 1.375rem;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(26, 37, 87, 0.13);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
    border: 1.5px solid #e8eaf4;
    display: flex;
    flex-direction: column;
}
.pc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(26, 37, 87, 0.18);
}

/* ── Featured (boosted) card — premium look, no glow ── */
.pc-card-featured {
    border: 2px solid transparent;
    background:
        linear-gradient(180deg, #fffdf5 0%, #ffffff 35%) padding-box,
        linear-gradient(
                135deg,
                #b8860b 0%,
                #e8c04a 22%,
                #f7e08a 50%,
                #d9b13b 78%,
                #b8860b 100%
            )
            border-box;
}
.pc-featured-badge {
    position: absolute;
    bottom: 0.55rem;
    right: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #c9a227, #e8c04a);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    font-family: "Nunito Sans", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    box-shadow: 0 3px 12px rgba(201, 162, 39, 0.45);
}

/* ── Photo ── */
.pc-photo-wrap {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #fce4ec, #e8eaf6);
    overflow: hidden;
    flex-shrink: 0;
}
.pc-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s;
}
.pc-card:hover .pc-photo-wrap img {
    transform: scale(1.05);
}

.pc-photo-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(transparent, rgba(10, 15, 40, 0.28));
    pointer-events: none;
}
.pc-verified-dot {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.28rem 0.65rem 0.28rem 0.28rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}
.pc-verified-dot .vc-icon {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pc-verified-dot .vc-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1a2a1a;
    letter-spacing: 0.01em;
    font-family: "Nunito", sans-serif;
    line-height: 1;
}
.pc-like-btn {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #eb2a49;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(235, 42, 73, 0.45);
    transition:
        transform 0.18s,
        background 0.18s;
}
.pc-like-btn:hover {
    transform: scale(1.13);
    background: #c8183b;
}

/* ── Match percentage badge ── */
.pc-match-badge {
    position: absolute;
    bottom: 0.55rem;
    left: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.22rem 0.55rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    font-family: "Nunito Sans", sans-serif;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
    line-height: 1;
}
.pc-match-badge.match-high {
    background: rgba(22, 163, 74, 0.82);
    color: #fff;
}
.pc-match-badge.match-mid {
    background: rgba(217, 119, 6, 0.82);
    color: #fff;
}
.pc-match-badge.match-low {
    background: rgba(220, 38, 38, 0.78);
    color: #fff;
}

/* ── Body ── */
.pc-body {
    padding: 0.875rem 0.875rem 0.875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Row 1: flag + name + marital ── */
.pc-name-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}
.pc-flag {
    height: 16px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
}
.pc-name {
    flex: 1;
    text-align: center;
    font-size: 1.175rem;
    font-weight: 800;
    color: #1a2557;
    font-family: "Nunito Sans", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pc-ms-badge {
    font-size: 0.74rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.18rem 0.52rem;
    border-radius: 9999px;
    letter-spacing: 0.025em;
    text-transform: capitalize;
    display: inline-block;
    line-height: 1.6;
}
.pc-ms-never {
    background: #166534;
}
.pc-ms-widowed {
    background: #f59e0b;
    color: #fff;
}
.pc-ms-separated {
    background: #b91c1c;
}
.pc-ms-divorced {
    background: #f59e0b;
    color: #fff;
}
.pc-ms-other {
    background: #475569;
}

/* ── Row 2: 3 gray meta boxes (city | age | gender) ── */
.pc-meta-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}
.pc-meta-box {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #f3f4f9;
    border-radius: 0.5rem;
    padding: 0.3rem 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d3a6b;
    overflow: hidden;
    min-width: 0;
}
.pc-meta-box svg {
    flex-shrink: 0;
}
.pc-meta-box span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.pc-divider {
    height: 1px;
    background: #f0f1f8;
    margin: 0.45rem 0;
}

.pc-info-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.25rem 0.375rem;
}

.pc-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.1rem;
    min-width: 0;
}
.pc-info-label {
    font-size: 0.73rem;
    color: #8892b0;
    font-weight: 600;
    line-height: 1.25;
}
.pc-info-value {
    font-size: 0.83rem;
    color: #eb2a49;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Row 4: religion / sect / caste / practicing badges ── */
.pc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.625rem;
    flex: 1;
    align-content: flex-start;
}
.pc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.pc-badge-green {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}
.pc-badge-orange {
    background: #fff3e0;
    color: #e65100;
    border-color: #ffe0b2;
}
.pc-badge-blue {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}
.pc-badge-lime {
    background: #f9fbe7;
    color: #558b2f;
    border-color: #dcedc8;
}
.pc-badge-pink {
    background: #fce4ec;
    color: #c2185b;
    border-color: #f8bbd9;
}

/* ── Row 5: actions ── */
.pc-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}
.pc-view-btn {
    flex: 1;
    display: block;
    padding: 0.625rem 0;
    border-radius: 0.75rem;
    background: #1a2557;
    color: #fff;
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s;
}
.pc-view-btn:hover {
    background: #0d1333;
    color: #fff;
}

/* ── Featured card: gold View Profile button with shine sweep ── */
.pc-card-featured .pc-view-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #b8860b 0%, #d9b13b 40%, #e8c04a 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(120, 85, 0, 0.35);
    transition:
        transform 0.22s,
        box-shadow 0.22s,
        background 0.22s;
}
.pc-card-featured .pc-view-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.pc-card-featured .pc-view-btn:hover {
    background: linear-gradient(135deg, #a67608 0%, #cfa42e 40%, #ddb53f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.45);
    color: #fff;
}
.pc-card-featured .pc-view-btn:hover::after {
    left: 130%;
}
.pc-share-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    border: 1.5px solid #e2e4f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.18s;
}
.pc-share-btn:hover {
    border-color: #eb2a49;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card-featured {
        transform: none;
    }
    .pricing-card-featured:hover {
        transform: none;
    }
}
@media (max-width: 640px) {
    body.has-hero-nav .hero {
        min-height: auto;
    }
    .wcp-page {
        padding: 2rem 1rem 3rem;
    }
    .wcp-title {
        font-size: 1.75rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
}

/* =========================================================
   HOME PAGE — FULL RESPONSIVENESS
   ========================================================= */

/* ── 1280px: tighten profile grid slightly ── */
@media (max-width: 1280px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4-gap {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── 1024px: trust cards collapse ── */
@media (max-width: 1024px) {
    .section-title {
        font-size: 1.875rem;
    }
    .section-title-xl {
        font-size: 2rem;
    }
    .grid-2-hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .grid-2-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .container-xl {
        padding: 0 1.25rem;
    }
    .section-white,
    .section-cream,
    .section-cream-outer,
    .section-light,
    .section-navy {
        padding: 2rem 1.25rem;
    }
    .cream-card {
        padding: 2.5rem 2rem;
        border-radius: 1.5rem;
    }
}

/* ── 900px: 3-col → 2-col everywhere ── */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.125rem;
    }
    .grid-4-gap {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.125rem;
    }

    /* search bar stacks vertically on mobile */
    .search-bar {
        flex-direction: column;
        border-radius: 1.25rem;
        overflow: hidden;
        padding: 0;
        gap: 0;
    }
    .search-field,
    .search-field-mid,
    .search-field-last {
        border-right: none;
        border-bottom: 1px solid #e2e4f0;
        border-radius: 0;
        padding: 0.875rem 1rem;
        width: 100%;
    }
    .search-field-last {
        border-bottom: none;
    }
    .search-btn {
        border-radius: 0;
        width: 100%;
        padding: 0.875rem 1rem;
    }

    /* trust section already covered by grid-4-gap */

    /* pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card-featured {
        transform: none;
    }
}

/* ── 680px: hero shrinks ── */
@media (max-width: 680px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    .section-title {
        font-size: 1.625rem;
    }
    .section-title-xl {
        font-size: 1.75rem;
    }
}

/* ── 560px: single column + micro adjustments ── */
@media (max-width: 560px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .grid-4-gap {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .grid-5 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .container-xl {
        padding: 0 0.875rem;
    }
    .section-white,
    .section-cream,
    .section-cream-outer,
    .section-light,
    .section-navy {
        padding: 1.5rem 0rem;
    }

    .hero-content {
        padding: 2.5rem 0.875rem 2rem;
    }
    .cream-card {
        padding: 2rem 1.25rem;
        border-radius: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }
    .section-title {
        font-size: 1.5rem;
    }

    /* profile card: 1 per row on mobile */
    .pc-name {
        font-size: 1rem;
    }
    .pc-body {
        padding: 0.875rem 0.875rem 1rem;
    }
    .pc-meta-box {
        font-size: 0.78rem;
        padding: 0.3rem 0.35rem;
    }
    .pc-info-label {
        font-size: 0.73rem;
    }
    .pc-info-value {
        font-size: 0.83rem;
    }
    /* profile photo height for 1-col layout */
    .pc-photo-wrap {
        height: 320px;
    }
    /* badges normal size */
    .pc-badge {
        font-size: 0.8rem;
        padding: 0.22rem 0.6rem;
    }

    /* ── Trust cards: stack icon + title vertically, center-aligned ── */
    .trust-header-row {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        margin-bottom: 0.625rem;
    }
    .trust-icon-circle {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }
    .trust-icon-circle svg {
        width: 18px !important;
        height: 18px !important;
    }
    .trust-title {
        font-size: 1rem !important;
        min-width: 0;
        text-align: center;
    }
    .trust-desc {
        font-size: 0.8rem !important;
        text-align: center;
    }
    .trust-card-body {
        padding: 0.875rem 1rem 1rem;
        text-align: center;
    }
    .trust-card-img {
        height: 155px;
    }

    /* auth form 2-col grids → single col */
    .auth-grid-2col {
        grid-template-columns: 1fr !important;
    }

    /* wcp page */
    .wcp-page {
        padding: 1.5rem 0.875rem 2.5rem;
    }
    .wcp-title {
        font-size: 1.6rem;
    }
}

/* ── 420px: tightest ── */
@media (max-width: 420px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .grid-5 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.375rem;
    }
    .search-bar {
        margin: 1.25rem 0.5rem 0;
    }
    /* 1-col full-width: good photo height */
    .pc-photo-wrap {
        height: 320px;
    }

    /* auth 2-col grids → single col on very small phones */
    .auth-grid-2col {
        grid-template-columns: 1fr !important;
    }
}

/* ── Footer: mobile centered layout ── */
@media (max-width: 768px) {
    body.has-hero-nav .sub-hero {
        min-height: 26vh!important;
    }
    .footer .grid > div {
        text-align: center;
    }
    .footer .grid > div > p {
        margin-left: auto;
        margin-right: auto;
    }
    .footer .grid > div > .flex {
        justify-content: center;
    }
    .footer .flex.items-start,
    .footer .flex.items-center {
        justify-content: center;
        align-items: center;
    }
    .footer .border-t > div {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    .footer-internal-links {
        text-align: center;
    }
    .footer-internal-links nav {
        justify-content: center;
    }
}

/* ── Universal field height standardization ── */
.form-input,
.form-select,
.ep-input,
.ep-select,
.cp-input {
    padding-top: 0.72rem !important;
    padding-bottom: 0.72rem !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    min-height: 42px;
}
/* Select2 single selection matches field height */
.select2-container--default .select2-selection--single {
    height: auto !important;
    min-height: 42px !important;
    padding-top: 0.72rem !important;
    padding-bottom: 0.72rem !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 1.5 !important;
    padding: 0 !important;
}

/* Prevent iOS Safari auto-zoom on focus: any focusable field needs a
   16px+ font size on mobile, site-wide (not just the profile-setup wizard).
   Must come after the block above — equal specificity + !important means
   whichever rule is LAST in the file wins the tie, media query or not. */
@media (max-width: 640px) {
    .form-input,
    .form-select,
    .ep-input,
    .ep-select,
    .cp-input,
    .cp-select {
        font-size: 1rem !important;
    }
    .select2-container--default
        .select2-selection--single
        .select2-selection__rendered,
    .select2-container--default
        .select2-selection--multiple
        .select2-search__field {
        font-size: 1rem !important;
    }
}

/* ── Phone header: center the logo (no other nav items visible on mobile) ── */
@media (max-width: 767px) {
    .navbar .container-xl {
        justify-content: center;
    }
}

/* ── Mobile bottom nav + unified single sidebar/drawer ── */
.mnav-bottom {
    display: none;
}

@media (max-width: 767px) {
    .mnav-bottom {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: #ffffff;
        border-top: 1px solid #e2e4f0;
        box-shadow: 0 -4px 20px rgba(26, 37, 87, 0.08);
        padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: stretch;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    #compare-bucket-btn {
        bottom: calc(1.5rem + 62px) !important;
    }
    #fav-toast {
        bottom: calc(5.5rem + 62px) !important;
    }
}

.mnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    flex: 1;
    padding: 0.35rem 0.2rem;
    color: #8892b0;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
}
.mnav-item svg {
    width: 25px;
    height: 25px;
}
.mnav-item.active {
    color: #eb2a49;
}

.mnav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
.mnav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mnav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    max-width: 85%;
    background: #fff;
    z-index: 1050;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
}
.mnav-drawer.show {
    transform: translateX(0);
}

.mnav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e2e4f0;
    flex-shrink: 0;
}
.mnav-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a2557;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background 0.15s;
}
.mnav-drawer-close:hover {
    background: #f4f1ea;
}

.mnav-drawer-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e4f0;
    flex-shrink: 0;
    background: #fafbff;
}

.mnav-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}
.mnav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mnav-drawer-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e2e4f0;
    flex-shrink: 0;
}

body.mnav-open {
    overflow: hidden;
}
