/* ==================================================
   ParelHosting Child Theme - Custom CSS
   Scope: Client area theme only
   Excludes: Order form / standard_cart styling
================================================== */

/* ==================================================
   1. Theme tokens
================================================== */

:root {
    --bg: #f5f7fb;
    --bg-soft: #eef3f8;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --surface-muted: rgba(255, 255, 255, 0.78);

    --text: #0f172a;
    --text-strong: #0b1324;
    --text-muted: #64748b;
    --text-soft: #516076;

    --primary: #336699;
    --primary-strong: #2563eb;
    --primary-strong-hover: #1d4ed8;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #e11d48;
    --teal: #0f9f8c;
    --gray-icon: #475569;

    --border: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(15, 23, 42, 0.08);

    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.08);

    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;

    --footer-bg: #0b1220;
    --footer-text: rgba(255, 255, 255, 0.76);
    --footer-text-soft: rgba(255, 255, 255, 0.68);

    --account-card-bg: linear-gradient(180deg, #0f172a 0%, #172554 100%);
}

html[data-theme="dark"] {
    --bg: #0b1220;
    --bg-soft: #0f172a;
    --surface: #111827;
    --surface-soft: #0f172a;
    --surface-muted: rgba(17, 24, 39, 0.88);

    --text: #e5eef9;
    --text-strong: #f8fbff;
    --text-muted: #94a3b8;
    --text-soft: #a8b6c8;

    --primary: #60a5fa;
    --primary-strong: #3b82f6;
    --primary-strong-hover: #2563eb;

    --success: #4ade80;
    --warning: #f59e0b;
    --danger: #fb7185;
    --teal: #2dd4bf;
    --gray-icon: #cbd5e1;

    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.12);

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.24);

    --footer-bg: #060b16;
    --footer-text: rgba(255, 255, 255, 0.80);
    --footer-text-soft: rgba(255, 255, 255, 0.66);

    --account-card-bg: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

/* ==================================================
   2. Global base
================================================== */

html,
body {
    overflow-x: hidden;
}

body.homepage-layout {
    background: var(--bg);
}

body.homepage-layout #main-body {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

body.homepage-layout .primary-content {
    padding-top: 0;
}

.homepage-modern {
    color: var(--text);
}

/* ==================================================
   3. Header / Navigation
================================================== */

.header-modern {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-strong);
}

html[data-theme="dark"] .header-modern {
    background: rgba(11, 18, 32, 0.92);
}

.topbar-modern {
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border-strong);
    padding: 0.55rem 0;
}

.btn-topbar-notifications {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    font-weight: 500;
    box-shadow: none !important;
}

.topbar-notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    margin-left: 0.3rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
}

.modern-header-shell {
    background: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .modern-header-shell {
    background: rgba(11, 18, 32, 0.92);
}

.modern-header-row {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.modern-navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 1.5rem;
    color: var(--text) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.modern-navbar-brand .logo-img {
    max-height: 42px;
    width: auto;
}

.modern-desktop-nav {
    margin-left: auto;
    margin-right: 1.25rem;
}

.modern-nav-list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.modern-nav-item {
    list-style: none;
    position: relative;
}

.modern-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    border-radius: 0.8rem;
    color: var(--text) !important;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.modern-nav-link:hover,
.modern-nav-link:focus {
    background: rgba(148, 163, 184, 0.10);
    color: var(--text) !important;
}

.modern-nav-link-login {
    color: var(--text) !important;
}

.modern-nav-link-cta {
    background: var(--primary-strong);
    color: #fff !important;
    padding: 0.8rem 1.15rem;
    border-radius: 0.85rem;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.modern-nav-link-cta:hover,
.modern-nav-link-cta:focus {
    background: var(--primary-strong-hover);
    color: #fff !important;
}

.modern-dropdown-menu {
    margin-top: 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    min-width: 240px;
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.modern-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    color: var(--text);
    font-weight: 500;
    text-decoration: none !important;
}

.modern-dropdown-item:hover,
.modern-dropdown-item:focus {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text);
}

.modern-navbar-mobile-tools .btn {
    border-radius: 0.85rem;
}

.modern-cart-btn,
.modern-menu-toggle,
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
    transition: all 0.18s ease;
}

.modern-cart-btn:hover,
.modern-menu-toggle:hover,
.theme-toggle-btn:hover {
    background: rgba(148, 163, 184, 0.10);
}

.modern-cart-btn .badge {
    margin-left: 0.25rem;
}

.theme-toggle-btn {
    width: 44px;
    border-radius: 0.85rem;
}

.modern-mobile-navbar-wrapper {
    padding: 0 0 1rem;
    background: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .modern-mobile-navbar-wrapper {
    background: rgba(11, 18, 32, 0.92);
}

.modern-mobile-navbar-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.modern-mobile-link {
    display: block;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    text-decoration: none !important;
}

.modern-mobile-link-cta {
    background: var(--primary-strong);
    border-color: var(--primary-strong);
    color: #fff !important;
    text-align: center;
}

.modern-mobile-link-cta:hover {
    background: var(--primary-strong-hover);
    color: #fff !important;
}

body.homepage-layout .header-modern {
    background: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.homepage-layout .header-modern {
    background: rgba(11, 18, 32, 0.90);
}

/* ==================================================
   4. Homepage - Hero
================================================== */

.homepage-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 2.5rem;
}

.homepage-hero-content {
    max-width: 680px;
}

.homepage-eyebrow,
.homepage-section-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(51, 102, 153, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.homepage-hero-title {
    font-size: 2.75rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-strong);
    letter-spacing: -0.025em;
    max-width: 700px;
}

.homepage-hero-text {
    max-width: 620px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 1.75rem;
}

.homepage-hero-actions .btn {
    min-width: 210px;
    border-radius: 0.7rem;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
}

.homepage-hero-trust {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 1rem 1.5rem;
}

.homepage-trust-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.homepage-trust-item i {
    margin-right: 0.55rem;
    color: var(--primary);
}

.homepage-hero-panel {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--border);
}

.hero-panel-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(51, 102, 153, 0.10);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-panel-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-strong);
}

.hero-panel-text {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.hero-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-panel-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
}

.hero-panel-list i {
    margin-right: 0.7rem;
    margin-top: 0.2rem;
    color: #22c55e;
}

/* ==================================================
   5. Homepage - Trust strip
================================================== */

.homepage-trust-strip {
    padding: 0.5rem 0 1.75rem;
}

.homepage-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    padding: 1.2rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.homepage-trust-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 2.9rem;
    border-radius: 0.85rem;
    background: #eef5fb;
    color: var(--primary);
    font-size: 1rem;
}

.homepage-trust-card-content h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.homepage-trust-card-content p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

/* ==================================================
   6. Homepage - Generic sections
================================================== */

.homepage-section {
    padding: 2.8rem 0 1rem;
}

.homepage-section-heading {
    max-width: 760px;
    margin: 0 auto 2.1rem;
}

.homepage-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text-strong);
}

.homepage-section-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* ==================================================
   7. Homepage - Product cards
================================================== */

.homepage-product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homepage-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}

.homepage-product-icon,
.homepage-link-icon,
.homepage-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.homepage-product-icon {
    background: #eef5fb;
    color: var(--primary);
}

.homepage-product-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.homepage-product-text {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ==================================================
   8. Homepage - Support cards
================================================== */

.homepage-link-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid rgba(148, 163, 184, 0.10);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

.homepage-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.homepage-link-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.homepage-link-text {
    display: block;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.homepage-link-card-teal .homepage-link-icon {
    background: #e8fbf7;
    color: var(--teal);
}

.homepage-link-card-red .homepage-link-icon {
    background: #fff0f0;
    color: var(--danger);
}

.homepage-link-card-yellow .homepage-link-icon {
    background: #fff8e6;
    color: var(--warning);
}

.homepage-link-card-gray .homepage-link-icon {
    background: #f1f5f9;
    color: var(--gray-icon);
}

.homepage-link-card-green .homepage-link-icon {
    background: #ebfff3;
    color: var(--success);
}

/* ==================================================
   9. Homepage - Account cards
================================================== */

.homepage-account-section {
    padding-top: 3.2rem;
    padding-bottom: 0;
}

.homepage-account-grid {
    justify-content: center;
}

.homepage-account-card {
    display: block;
    height: 100%;
    min-height: 100%;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    background: var(--account-card-bg);
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homepage-account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.24);
}

.homepage-account-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.homepage-account-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: #fff;
    line-height: 1.3;
}

.homepage-account-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

/* ==================================================
   10. Footer
================================================== */

.footer-modern {
    width: 100%;
    margin: 5rem 0 0;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.08), transparent 24%),
        linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
    color: var(--footer-text);
    padding: 4.5rem 0 2rem;
    position: relative;
}

.footer-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0),
        rgba(59, 130, 246, 0.35),
        rgba(96, 165, 250, 0.35),
        rgba(59, 130, 246, 0)
    );
}

.footer-modern .container {
    max-width: 1200px;
}

.footer-modern-top {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-brand-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.footer-brand-text {
    margin-bottom: 0;
    max-width: 380px;
    color: rgba(226, 232, 240, 0.72);
    line-height: 1.85;
    font-size: 0.98rem;
}

.footer-modern-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.footer-modern-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-modern-links li + li {
    margin-top: 0.8rem;
}

.footer-modern-links a {
    color: rgba(203, 213, 225, 0.72);
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer-modern-links a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-modern-bottom {
    padding-top: 1.5rem;
}

.footer-bottom-left {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
}

.footer-inline-link {
    color: rgba(203, 213, 225, 0.68);
    text-decoration: none;
}

.footer-inline-link:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-socials .list-inline {
    margin: 0;
}

.footer-socials .list-inline-item {
    margin-right: 0.45rem;
}

.footer-socials .list-inline-item a,
.footer-socials .btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.10);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.12);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-socials .list-inline-item a:hover,
.footer-socials .btn-social:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(96, 165, 250, 0.24);
    color: #fff;
}

.footer-locale-btn {
    border: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(59, 130, 246, 0.08);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.68rem 0.95rem;
    font-size: 0.9rem;
    box-shadow: none;
}

.footer-locale-btn:hover,
.footer-locale-btn:focus {
    color: #fff;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(96, 165, 250, 0.26);
}

.footer-copyright {
    margin-top: 1.75rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.5);
}

/* ==================================================
   11. Dark mode polish
================================================== */

html[data-theme="dark"] .homepage-trust-card-icon,
html[data-theme="dark"] .homepage-product-icon {
    background: rgba(96, 165, 250, 0.10);
    color: var(--primary);
}

html[data-theme="dark"] .homepage-link-card-teal .homepage-link-icon {
    background: rgba(45, 212, 191, 0.12);
}

html[data-theme="dark"] .homepage-link-card-red .homepage-link-icon {
    background: rgba(251, 113, 133, 0.12);
}

html[data-theme="dark"] .homepage-link-card-yellow .homepage-link-icon {
    background: rgba(245, 158, 11, 0.12);
}

html[data-theme="dark"] .homepage-link-card-gray .homepage-link-icon {
    background: rgba(203, 213, 225, 0.12);
}

html[data-theme="dark"] .homepage-link-card-green .homepage-link-icon {
    background: rgba(74, 222, 128, 0.12);
}

html[data-theme="dark"] .hero-panel-list i {
    color: #4ade80;
}

/* ==================================================
   12. Responsive
================================================== */

@media (max-width: 1199.98px) {
    .modern-header-row {
        min-height: 78px;
    }

    .homepage-hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 991.98px) {
    body.homepage-layout #main-body {
        padding-top: 1.5rem;
        padding-bottom: 2.25rem;
    }

    .homepage-hero {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .homepage-hero-title {
        font-size: 2.2rem;
    }

    .homepage-section {
        padding-top: 2.2rem;
    }

    .homepage-trust-strip {
        padding-top: 0;
        padding-bottom: 1.25rem;
    }

    .footer-bottom-right {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    body.homepage-layout #main-body {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .homepage-modern {
        overflow: hidden;
    }

    .homepage-hero {
        padding-top: 0.5rem;
        padding-bottom: 1.75rem;
    }

    .homepage-eyebrow,
    .homepage-section-eyebrow {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 0.85rem;
    }

    .homepage-hero-title {
        font-size: 1.95rem;
        line-height: 1.15;
        margin-bottom: 0.85rem;
    }

    .homepage-hero-text {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

    .homepage-hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .homepage-hero-actions .btn {
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0.9rem 1rem;
    }

    .homepage-hero-trust {
        gap: 0.6rem 1rem;
        margin-top: 1rem;
    }

    .homepage-trust-item {
        font-size: 0.88rem;
    }

    .homepage-hero-panel {
        margin-top: 1.25rem;
        border-radius: var(--radius-md);
    }

    .hero-panel-title {
        font-size: 1.45rem;
    }

    .hero-panel-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-panel-list li {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .homepage-trust-strip {
        padding: 0.25rem 0 1.25rem;
    }

    .homepage-trust-card {
        gap: 0.85rem;
        padding: 1rem;
        border-radius: 0.95rem;
    }

    .homepage-trust-card-icon {
        width: 2.5rem;
        height: 2.5rem;
        flex: 0 0 2.5rem;
        border-radius: 0.75rem;
        font-size: 0.92rem;
    }

    .homepage-trust-card-content h3 {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 0.25rem;
    }

    .homepage-trust-card-content p {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .homepage-section {
        padding-top: 2.1rem;
        padding-bottom: 0.25rem;
    }

    .homepage-section-heading {
        margin-bottom: 1.5rem;
    }

    .homepage-section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.65rem;
    }

    .homepage-section-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .homepage-product-card,
    .homepage-link-card,
    .homepage-account-card {
        border-radius: 1rem;
    }

    .homepage-product-card .card-body,
    .homepage-link-card,
    .homepage-account-card {
        padding: 1.15rem !important;
    }

    .homepage-product-title,
    .homepage-link-title,
    .homepage-account-card h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .homepage-product-text,
    .homepage-link-text,
    .homepage-account-card p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .homepage-link-grid .col-6,
    .homepage-link-grid .col-12,
    .homepage-account-grid .col-md-6,
    .homepage-account-grid .col-xl-4 {
        margin-bottom: 0.9rem;
    }

    .homepage-account-section {
        padding-top: 2.4rem;
    }

    .homepage-account-card {
        min-height: auto;
    }

    .modern-header-row {
        min-height: 72px;
        gap: 1rem;
    }

    .modern-cart-btn,
    .modern-menu-toggle,
    .theme-toggle-btn {
        min-width: 42px;
        height: 42px;
    }

    .modern-mobile-link {
        padding: 0.9rem 0.95rem;
    }

    .footer-modern {
        padding: 2.75rem 0 1.4rem;
    }

    .footer-modern-top {
        padding-bottom: 1.5rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .footer-brand-text {
        font-size: 0.9rem;
        line-height: 1.7;
        max-width: none;
    }

    .footer-modern-title {
        margin-top: 1rem;
        margin-bottom: 0.7rem;
    }

    .footer-modern-links li + li {
        margin-top: 0.55rem;
    }

    .footer-bottom-left {
        gap: 0.6rem 1rem;
    }

    .footer-bottom-right {
        justify-content: flex-start;
        gap: 0.7rem;
        margin-top: 1rem;
    }

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

    .footer-copyright {
        margin-top: 1.25rem;
        padding-top: 1rem;
        font-size: 0.82rem;
        line-height: 1.5;
    }
}

/* ==================================================
   Orderflow breadcrumb + theme toggle polish
================================================== */

/* ==================================================
   Breadcrumb / winkelwagenbalk
================================================== */

.master-breadcrumb {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: none;
}

.master-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.master-breadcrumb .breadcrumb,
.master-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0.8rem 0;
    background: transparent !important;
    list-style: none;
}

.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb li {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.master-breadcrumb .breadcrumb-item a,
.master-breadcrumb .breadcrumb li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.master-breadcrumb .breadcrumb-item a:hover,
.master-breadcrumb .breadcrumb li a:hover {
    color: var(--primary);
    text-decoration: none;
}

.master-breadcrumb .breadcrumb-item.active,
.master-breadcrumb .breadcrumb li.active {
    color: var(--text);
    font-weight: 600;
}

.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.master-breadcrumb .breadcrumb li + li::before {
    content: "/";
    color: var(--text-muted);
    margin-right: 0.35rem;
}

/* Dark mode */
html[data-theme="dark"] .master-breadcrumb {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .master-breadcrumb .breadcrumb-item,
html[data-theme="dark"] .master-breadcrumb .breadcrumb li,
html[data-theme="dark"] .master-breadcrumb .breadcrumb-item a,
html[data-theme="dark"] .master-breadcrumb .breadcrumb li a {
    color: #94a3b8;
}

html[data-theme="dark"] .master-breadcrumb .breadcrumb-item.active,
html[data-theme="dark"] .master-breadcrumb .breadcrumb li.active {
    color: #e5eef9;
}

html[data-theme="dark"] .master-breadcrumb .breadcrumb-item + .breadcrumb-item::before,
html[data-theme="dark"] .master-breadcrumb .breadcrumb li + li::before {
    color: #64748b;
}

/* Mobiel */
@media (max-width: 767.98px) {
    .master-breadcrumb .breadcrumb,
    .master-breadcrumb ol {
        padding: 0.7rem 0;
        font-size: 0.88rem;
    }
}

/* theme toggle zichtbaar houden */
.theme-toggle,
.theme-switch,
.dark-mode-toggle,
button[data-theme-toggle],
button.theme-toggle,
button.theme-switch,
.theme-toggle-btn {
    color: inherit !important;
}

.theme-toggle i,
.theme-switch i,
.dark-mode-toggle i,
button[data-theme-toggle] i,
button.theme-toggle i,
button.theme-switch i,
.theme-toggle-btn i,
.theme-toggle svg,
.theme-switch svg,
.dark-mode-toggle svg,
button[data-theme-toggle] svg,
button.theme-toggle svg,
button.theme-switch svg,
.theme-toggle-btn svg {
    color: currentColor !important;
    fill: none !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

html:not([data-theme="dark"]) .theme-toggle,
html:not([data-theme="dark"]) .theme-switch,
html:not([data-theme="dark"]) .dark-mode-toggle,
html:not([data-theme="dark"]) button[data-theme-toggle],
html:not([data-theme="dark"]) button.theme-toggle,
html:not([data-theme="dark"]) button.theme-switch,
html:not([data-theme="dark"]) .theme-toggle-btn {
    color: #0f172a !important;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .theme-switch,
html[data-theme="dark"] .dark-mode-toggle,
html[data-theme="dark"] button[data-theme-toggle],
html[data-theme="dark"] button.theme-toggle,
html[data-theme="dark"] button.theme-switch,
html[data-theme="dark"] .theme-toggle-btn {
    color: #f8fbff !important;
}

@media (max-width: 767.98px) {
    .theme-toggle i,
    .theme-switch i,
    .dark-mode-toggle i,
    button[data-theme-toggle] i,
    button.theme-toggle i,
    button.theme-switch i,
    .theme-toggle-btn i,
    .theme-toggle svg,
    .theme-switch svg,
    .dark-mode-toggle svg,
    button[data-theme-toggle] svg,
    button.theme-toggle svg,
    button.theme-switch svg,
    .theme-toggle-btn svg {
        color: currentColor !important;
        stroke: currentColor !important;
        opacity: 1 !important;
    }
}

/* ==================================================
   Final responsive polish March 2026
================================================== */

.modern-navbar-brand {
    min-width: 0;
}

.modern-navbar-brand .logo-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .topbar-modern .container > .d-flex {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .modern-header-row {
        flex-wrap: nowrap;
    }

    .modern-navbar-mobile-tools {
        flex: 0 0 auto;
    }
}

@media (max-width: 767.98px) {
    .modern-header-shell .container,
    .modern-mobile-navbar-wrapper .container,
    .master-breadcrumb .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modern-header-row {
        min-height: 68px;
        gap: 0.75rem;
    }

    .modern-navbar-brand .logo-img {
        max-height: 34px;
    }

    .modern-navbar-mobile-tools {
        gap: 0.5rem;
    }

    .modern-navbar-mobile-tools .btn,
    .modern-cart-btn,
    .modern-menu-toggle,
    .theme-toggle-btn {
        min-width: 40px;
        width: 40px;
        height: 40px;
        padding: 0;
    }

    .modern-cart-btn .badge {
        margin-left: 0.15rem;
    }

    .topbar-modern {
        padding: 0.45rem 0;
    }

    .btn-topbar-notifications {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .modern-header-shell .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modern-header-row {
        min-height: 72px;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .modern-navbar-brand {
        display: flex;
        align-items: center;
        min-height: 40px;
        line-height: 1.2;
        margin-right: 0;
        flex: 1 1 auto;
    }

    .modern-navbar-mobile-tools {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        flex: 0 0 auto;
    }

    .modern-navbar-mobile-tools .btn,
    .modern-cart-btn,
    .modern-menu-toggle,
    .theme-toggle-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
}