/* ============================================
   oziTech ICT Solutions - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #FF6A00;
    --primary-dark: #E55A00;
    --primary-light: #FF8533;
    --secondary: #0A2540;
    --secondary-light: #1A3A5C;
    
    /* Neutral Colors */
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* Accent Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    
    /* Spacing */
    --section-spacing: 5rem;
    --section-spacing-sm: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;
}

.business-onboarding-page { min-height: calc(100vh - 90px); padding-top: 8rem !important; background: radial-gradient(circle at 10% 10%, rgba(255, 106, 0, .12), transparent 28%), linear-gradient(135deg, #f7fafc 0%, #eef4f8 100%); }
.business-onboarding-card { overflow: hidden; background: var(--surface); border: 1px solid rgba(10, 37, 64, .08); border-radius: 24px; box-shadow: 0 25px 70px rgba(10, 37, 64, .13); }
.business-onboarding-header { padding: clamp(1.6rem, 4vw, 2.7rem); color: #fff; background: linear-gradient(125deg, var(--secondary) 0%, var(--secondary-light) 65%, var(--primary) 160%); }
.business-onboarding-eyebrow { color: #ffb27d; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.business-onboarding-header h1 { margin: .35rem 0 .25rem; color: #fff; }
.business-onboarding-header p { margin: 0; color: rgba(255,255,255,.76); }
.business-onboarding-steps { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; overflow-x: auto; }
.business-onboarding-steps span { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.56); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.business-onboarding-steps span + span::before { width: 30px; height: 1px; margin-right: .25rem; content: ''; background: rgba(255,255,255,.25); }
.business-onboarding-steps b { display: grid; width: 26px; height: 26px; place-items: center; color: var(--secondary); background: rgba(255,255,255,.7); border-radius: 50%; font-size: .72rem; }
.business-onboarding-steps .is-active { color: #fff; }
.business-onboarding-steps .is-active b { color: #fff; background: var(--primary); }
.business-onboarding-steps .is-complete { color: rgba(255,255,255,.9); }
.business-onboarding-steps .is-complete b { color: #fff; background: var(--primary); }
.business-plan-page { min-height: calc(100vh - 90px); padding-top: 8rem !important; background: radial-gradient(circle at 85% 8%, rgba(255, 106, 0, .14), transparent 26%), linear-gradient(135deg, #f7fafc 0%, #eef4f8 100%); }
.business-plan-shell { overflow: hidden; background: var(--surface); border: 1px solid rgba(10, 37, 64, .08); border-radius: 24px; box-shadow: 0 25px 70px rgba(10, 37, 64, .13); }
.business-plan-header { padding: clamp(1.6rem, 4vw, 2.7rem); color: #fff; background: linear-gradient(120deg, #0A2540 0%, #164d78 58%, #FF6A00 155%); }
.business-plan-header h1 { margin: .35rem 0 .25rem; color: #fff; }
.business-plan-header p { margin: 0; color: rgba(255,255,255,.78); }
.business-plan-card { position: relative; display: flex; flex-direction: column; gap: 1rem; min-height: 100%; padding: 1.45rem; background: #fff; border: 1px solid rgba(10, 37, 64, .1); border-radius: 18px; box-shadow: 0 12px 30px rgba(10, 37, 64, .07); }
.business-plan-card.is-popular { border: 2px solid var(--primary); box-shadow: 0 18px 35px rgba(255, 106, 0, .16); }
.business-plan-card.is-free { border-color: rgba(10, 37, 64, .28); background: linear-gradient(180deg, #fff, #f4f8fb); }
.plan-ribbon { position: absolute; top: 1rem; right: 1rem; padding: .28rem .55rem; color: #fff; background: var(--primary); border-radius: 999px; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.plan-card-kicker { color: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-card-top h2 { margin: .45rem 0 .45rem; color: var(--secondary); font-size: 1.35rem; }
.plan-card-top p { min-height: 3.2rem; margin: 0; color: var(--text-muted); font-size: .84rem; }
.business-plan-price { display: flex; align-items: baseline; gap: .3rem; padding: .85rem 0; border-top: 1px solid rgba(10, 37, 64, .08); border-bottom: 1px solid rgba(10, 37, 64, .08); }
.business-plan-price strong { color: var(--secondary); font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.business-plan-price span, .business-plan-price small { color: var(--text-muted); font-size: .75rem; }
.business-plan-limit { color: var(--secondary); font-size: .8rem; font-weight: 700; }
.plan-feature-list { display: grid; gap: .65rem; min-height: 7rem; margin: 0; padding: 0; list-style: none; }
.plan-feature-list li { display: flex; align-items: flex-start; gap: .5rem; color: var(--text-body); font-size: .82rem; }
.plan-feature-list i { color: var(--primary); margin-top: .2rem; }
.business-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.business-preview-card { padding: 1.35rem; background: #f8fbfd; border: 1px solid rgba(10, 37, 64, .08); border-radius: 16px; }
.business-preview-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.business-preview-card-head h2 { margin: 0; color: var(--secondary); font-size: 1.1rem; }
.business-preview-list { display: grid; gap: .8rem; margin: 0; }
.business-preview-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(10, 37, 64, .07); }
.business-preview-list dt { color: var(--text-muted); font-size: .78rem; }
.business-preview-list dd { margin: 0; color: var(--secondary); font-size: .86rem; font-weight: 700; text-align: right; }
.preview-plan-summary h3 { margin: .45rem 0 .7rem; color: var(--secondary); }
.preview-plan-summary strong { color: var(--primary); font-family: var(--font-display); font-size: 1.8rem; }
.preview-plan-summary p { margin: .75rem 0 0; color: var(--text-muted); font-size: .86rem; }
.preview-payment-note { display: grid; gap: .5rem; margin-top: 1.2rem; padding: .9rem; color: var(--secondary); background: #fff; border-left: 3px solid var(--primary); border-radius: 8px; font-size: .8rem; }
.payment-detail-block { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(10,37,64,.08); }
.payment-detail-block h3 { margin: 0 0 .7rem; color: var(--secondary); font-size: .95rem; }
.payment-qr-block { margin-top: 1.25rem; max-width: 220px; }
.approval-wait-page { min-height: calc(100vh - 90px); display: grid; align-items: center; padding-top: 8rem !important; background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, .14), transparent 30%), #f5f8fa; }
.approval-wait-card { max-width: 650px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem); background: #fff; border: 1px solid rgba(10, 37, 64, .08); border-radius: 24px; box-shadow: 0 25px 70px rgba(10, 37, 64, .14); }
.approval-wait-icon { display: grid; width: 72px; height: 72px; margin: 0 auto 1.2rem; place-items: center; color: #fff; background: linear-gradient(135deg, var(--secondary), var(--primary)); border-radius: 50%; font-size: 1.8rem; }
.approval-wait-card h1 { margin: .6rem auto .8rem; color: var(--secondary); font-size: clamp(1.65rem, 4vw, 2.4rem); }
.approval-wait-card > p { max-width: 480px; margin: 0 auto; color: var(--text-muted); }
.approval-status-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.approval-wait-note { margin-top: 1rem !important; font-size: .85rem; }
.business-plan-shell.is-upgrade-prompt { position: relative; border-color: rgba(255, 106, 0, .35); }
.business-registration-page { min-height: calc(100vh - 90px); background: linear-gradient(135deg, #f7fafc 0%, #eef4f8 100%); }
.business-registration-card { max-width: 980px; overflow: hidden; padding: 0; border: 1px solid rgba(10, 37, 64, .1); border-radius: 24px; box-shadow: 0 20px 60px rgba(10, 37, 64, .12); }
.business-registration-header { padding: 1.5rem 1.75rem; color: #fff; background: linear-gradient(120deg, #0A2540 0%, #164d78 60%, #FF6A00 150%); }
.business-registration-header h1 { margin: .3rem 0 0; color: #fff; }
.business-registration-form { padding: 1.75rem; }
.business-registration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
.business-registration-field--wide { grid-column: 1 / -1; }
.business-registration-field input, .business-registration-field select, .business-registration-field textarea { width: 100%; }
@media (max-width: 700px) { .business-registration-grid { grid-template-columns: 1fr; } .business-registration-field--wide { grid-column: auto; } }
.upgrade-plan-overlay { padding: clamp(1rem, 4vw, 2rem); background: rgba(10, 37, 64, .08); }
.upgrade-plan-modal { max-width: 1200px; margin: 0 auto; padding: clamp(1rem, 3vw, 1.8rem); background: #fff; border: 2px solid rgba(255, 106, 0, .38); border-radius: 20px; box-shadow: 0 20px 55px rgba(10, 37, 64, .16); }
.upgrade-plan-modal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(10, 37, 64, .1); }
.upgrade-plan-modal-header .approval-wait-icon { flex: 0 0 auto; width: 54px; height: 54px; margin: 0; font-size: 1.35rem; }
.upgrade-plan-modal-header h2 { margin: 0 0 .3rem; color: var(--secondary); font-size: 1.35rem; }
.upgrade-plan-modal-header p { margin: 0; color: var(--text-muted); font-size: .88rem; }
@media (max-width: 767.98px) {
    .business-preview-grid { grid-template-columns: 1fr; }
    .business-preview-list div { display: grid; gap: .2rem; }
    .business-preview-list dd { text-align: left; }
}

/* ============================================
   Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-surface { background-color: var(--surface) !important; }
.bg-light { background-color: var(--background) !important; }

.section-padding {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.section-padding-sm {
    padding-top: var(--section-spacing-sm);
    padding-bottom: var(--section-spacing-sm);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.section-title .subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--secondary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
}

/* ============================================
   Header & Navigation
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* Keep fixed navigation from covering anchored content or wide mobile panels. */
html {
    scroll-padding-top: 7rem;
}

.main-header,
.main-header .container,
.main-header .navbar {
    min-width: 0;
}

.main-header .navbar-collapse {
    min-width: 0;
}

.main-header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.42rem;
    line-height: 1;
    white-space: nowrap;
}

.navbar-brand:hover {
    color: inherit;
}

.marketplace-logo {
    width: auto;
    height: 34px;
    object-fit: contain;
}

.marketplace-wordmark .brand-name {
    color: #1261c9;
    letter-spacing: -0.045em;
}

.marketplace-wordmark .brand-marketplace {
    display: inline-block;
    color: #f97316;
    font-size: 0.92em;
    font-weight: 700;
    letter-spacing: 0.015em;
    white-space: nowrap;
}

.marketplace-wordmark .brand-marketplace::after {
    content: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-body);
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.marketplace-nav {
    gap: 0.05rem;
}

.marketplace-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: #334155 !important;
    font-size: 0.9rem;
    font-weight: 700 !important;
    white-space: nowrap;
}

.marketplace-nav-link:hover,
.marketplace-nav-link.active {
    color: #1261c9 !important;
}

.marketplace-rent-link > i {
    color: #f97316;
    font-size: 0.95rem;
    transition: transform 0.22s ease, color 0.22s ease;
}

.marketplace-rent-link:hover > i,
.marketplace-rent-link.active > i {
    color: #1261c9;
    transform: translateY(-2px) scale(1.08);
}

.marketplace-rent-link::before {
    content: '';
    width: 0.34rem;
    height: 0.34rem;
    margin-right: -0.1rem;
    background: #f97316;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55);
    animation: marketplace-dot-pulse 1.8s ease-out infinite;
}

.marketplace-rent-link {
    margin-inline: 0.15rem;
    padding-inline: 0.72rem !important;
    color: #f97316 !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.72);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.marketplace-rent-link:hover,
.marketplace-rent-link:focus-visible,
.marketplace-rent-link.active {
    color: #ea580c !important;
    border-color: rgba(249, 115, 22, 0.42);
    background: #fff7ed;
    transform: translateY(-1px);
}

.marketplace-rent-link:focus-visible {
    outline: 3px solid rgba(249, 115, 22, 0.28);
    outline-offset: 2px;
}

@keyframes marketplace-dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55); opacity: 0.85; }
    70% { box-shadow: 0 0 0 0.38rem rgba(249, 115, 22, 0); opacity: 1; }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
    .marketplace-rent-link::before {
        animation: none;
    }
}

/* A compact marketplace signature that keeps Shop inside the main navigation. */
.navbar-nav .nav-link-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.05rem 0.1rem;
    padding: 0.42rem 0.65rem;
    overflow: hidden;
    color: #9a3412;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(255, 106, 0, 0.28);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(255, 106, 0, 0.1);
    isolation: isolate;
}

.navbar-nav .nav-link-shop::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.78) 48%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.45s ease;
}

.navbar-nav .nav-link-shop > span {
    position: relative;
    z-index: 1;
}

.navbar-nav .nav-link-shop::after {
    bottom: 0.22rem;
    left: 1.95rem;
    right: 0.65rem;
    height: 2px;
    border-radius: 999px;
}

.navbar-nav .nav-link-shop:hover,
.navbar-nav .nav-link-shop:focus-visible,
.navbar-nav .nav-link-shop.active {
    color: var(--secondary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.25);
    transform: translateY(-1px);
}

.navbar-nav .nav-link-shop:hover::before,
.navbar-nav .nav-link-shop:focus-visible::before {
    transform: translateX(120%);
}

.navbar-nav .nav-link-shop.active::after,
.navbar-nav .nav-link-shop:hover::after,
.navbar-nav .nav-link-shop:focus-visible::after {
    background-color: rgba(255, 255, 255, 0.88);
}

.shop-nav-icon {
    display: inline-grid;
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 auto;
    place-items: center;
    color: var(--secondary);
    font-size: 0.76rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(255, 106, 0, 0.28);
    transition: var(--transition);
}

.nav-link-shop:hover .shop-nav-icon,
.nav-link-shop:focus-visible .shop-nav-icon,
.nav-link-shop.active .shop-nav-icon {
    color: var(--primary);
    background: white;
    transform: rotate(-8deg) scale(1.05);
}

.navbar-nav .nav-link-shop > .shop-nav-dot {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.34rem;
    height: 0.34rem;
    flex: 0 0 auto;
    background-color: var(--success);
    border: 1px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

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

.header-cta {
    display: none;
}

@media (min-width: 1200px) {
    .header-cta {
        display: inline-flex;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-nav .nav-link {
        font-size: 0.87rem;
        padding-inline: 0.43rem;
    }

    .marketplace-rent-link {
        margin-inline: 0.08rem;
        padding-inline: 0.5rem !important;
    }

    .header-actions {
        gap: 0.55rem;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    padding-top: 9rem;
    padding-bottom: var(--section-spacing);
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%), url("../images/thehero.fdad395a0d23.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.shop-hero {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%), url("../images/shop.bd9ced6bf011.jpg");
}

.service-hero {
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%), url("../images/service.684f03aeefc2.jpg");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: white;
    opacity: 1;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-section h3 {
    color: var(--primary);
}

.hero-section p.small {
    color: white !important;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Cards
   ============================================ */

.card {
    background-color: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

.card-body {
    padding: 1.5rem;
}

/* Service Card */
.service-card {
    text-align: center;
    padding: 2rem;
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Pricing Card */
.pricing-card {
    text-align: center;
    position: relative;
    padding: 1.5rem;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.pricing-card .price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-body);
}

.pricing-card ul li i {
    color: var(--success);
    font-size: 1.1rem;
}

/* Product Card */
.product-card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 1rem 2.75rem rgba(10, 37, 64, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
    transform: translateY(-0.35rem);
    box-shadow: 0 1.35rem 3.25rem rgba(10, 37, 64, 0.18);
}

.product-card .product-card-image {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1.04;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: .7rem;
    background: linear-gradient(145deg, #f5f7f9 0%, #e9eef2 100%);
}

.product-card-image-frame {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.15rem;
    background: #eef2f5;
}

.product-card .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.2,.75,.2,1), filter 500ms ease;
}

[data-image-lightbox] {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(4, 14, 27, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.image-lightbox__stage {
    display: grid;
    width: min(92vw, 74rem);
    height: min(84vh, 52rem);
    place-items: center;
    overflow: auto;
}

.image-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.9rem;
    object-fit: contain;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38);
    cursor: zoom-in;
    transform: scale(1);
    transition: transform 0.28s ease;
}

.image-lightbox__image.is-zoomed {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
    transform: scale(1.65);
}

.image-lightbox__control {
    position: absolute;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.image-lightbox__control:hover,
.image-lightbox__control:focus-visible {
    color: #fff;
    background: var(--primary);
    transform: translateY(-1px);
}

.image-lightbox__close {
    top: 1.25rem;
    right: 1.25rem;
}

.image-lightbox__zoom {
    right: 1.25rem;
    bottom: 1.25rem;
}

body.image-lightbox-open {
    overflow: hidden;
}

.product-card:hover .product-card-image img {
    transform: scale(1.085);
    filter: saturate(1.05);
}

.product-card-tags {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    max-width: calc(100% - 3.5rem);
    flex-wrap: wrap;
    gap: 0.35rem;
}

.product-card-category,
.product-card-condition {
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0.25rem 0.75rem rgba(10, 37, 64, 0.12);
}

.product-card-category {
    color: #0a2540;
    background: rgba(255, 255, 255, 0.94);
}

.product-card-condition {
    color: #fff;
    background: #0a2540;
}

.product-card-condition--new {
    position: relative;
    background: #dc2626;
    box-shadow: 0 0 .35rem rgba(220, 38, 38, .68), 0 .25rem .75rem rgba(127, 29, 29, .22);
    transform-origin: center;
    animation: product-card-new-pulse 1.8s ease-in-out infinite;
}

.product-card-condition--used {
    background: #ff6a00;
}

@keyframes product-card-new-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 .35rem rgba(220, 38, 38, .62), 0 .25rem .75rem rgba(127, 29, 29, .2);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 1rem rgba(248, 113, 113, .98), 0 .4rem 1rem rgba(127, 29, 29, .32);
    }
}

.product-card-zoom {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #0a2540;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    box-shadow: 0 .3rem .8rem rgba(10, 37, 64, .16);
    font-size: .8rem;
    transition: transform 220ms ease, color 220ms ease, background-color 220ms ease;
}

.product-card:hover .product-card-zoom {
    color: #fff;
    background: #0a2540;
    transform: rotate(12deg);
}

.product-card-dots {
    position: absolute;
    right: 0;
    bottom: 1rem;
    left: 0;
    display: flex;
    justify-content: center;
    gap: .28rem;
}

.product-card-dots i {
    display: block;
    width: .38rem;
    height: .38rem;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(10, 37, 64, .12);
    border-radius: 50%;
}

.product-card-dots i.is-active {
    width: .48rem;
    height: .48rem;
    background: #fff;
}

.product-card .card-body {
    padding: 1.1rem 1rem 1rem;
}

.product-card h3 {
    min-height: 2.7rem;
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.product-card h3 a {
    color: #0a2540;
}

.product-card-description {
    display: -webkit-box;
    min-height: 2.9rem;
    margin: 0 0 .9rem;
    overflow: hidden;
    color: #6b7280;
    font-size: .8rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-footer {
    display: grid;
    gap: 0.9rem;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
}

.product-card-price strong {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: .35rem .75rem;
    color: #0a2540;
    background: #eef2f5;
    border-radius: 999px;
    font-size: 1rem;
}

.product-card-price del {
    color: var(--text-muted);
    font-size: 0.73rem;
}

.product-card-discount {
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    color: #c2410c;
    background: rgba(255, 106, 0, 0.12);
    font-size: 0.65rem;
    font-weight: 800;
}

.product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 0.45rem;
}

.product-card-actions:has(> a:only-child) {
    grid-template-columns: 1fr;
}

.product-card-actions form,
.product-card-actions .btn {
    width: 100%;
}

.product-card-actions .btn {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding-inline: 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-card-actions .btn-primary {
    border-color: #0a2540;
    background: #0a2540;
    color: #fff;
}

.product-card-actions .btn-primary:hover,
.product-card-actions .btn-primary:focus {
    border-color: #ff6a00;
    background: #ff6a00;
    color: #fff;
}

.product-card-actions .btn-outline-primary {
    border-color: #0a2540;
    color: #0a2540;
}

.product-card-actions .btn-outline-primary:hover,
.product-card-actions .btn-outline-primary:focus {
    border-color: #0a2540;
    color: #fff;
    background: #0a2540;
}

.cart-summary-actions {
    margin-top: 1.25rem;
}

.cart-coupon-button {
    border-color: rgba(10, 37, 64, .2);
    color: #0a2540;
}

.cart-coupon-button:hover,
.cart-coupon-button:focus {
    color: #fff;
    background: #0a2540;
    border-color: #0a2540;
}

.cart-coupon-panel {
    max-width: 32rem;
    margin-left: auto;
    padding: 1rem;
    background: #f5f7f9;
    border: 1px solid rgba(10, 37, 64, .1);
    border-radius: 1rem;
}

@media (max-width: 575.98px) {
    .product-card-actions {
        grid-template-columns: 1fr;
    }
}

.featured-products-marquee {
    overflow: hidden;
    padding: 0.5rem 0 1rem;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.featured-products-track {
    display: flex;
    width: max-content;
    animation: featured-products-scroll var(--featured-scroll-duration, 60s) linear infinite;
    will-change: transform;
}

.featured-products-marquee:hover .featured-products-track,
.featured-products-marquee:focus-within .featured-products-track {
    animation-play-state: paused;
}

.featured-products-group {
    display: flex;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.featured-product-slide {
    flex: 0 0 clamp(250px, 24vw, 300px);
    width: clamp(250px, 24vw, 300px);
}

@keyframes featured-products-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Blog Card */
.blog-card .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-card h5 {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card .excerpt {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-card .meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Team Card */
.team-card {
    text-align: center;
}

.team-card .team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--border-light);
}

.team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h5 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-card .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background);
    color: var(--text-muted);
    transition: var(--transition);
}

.team-card .social-links a:hover {
    background-color: var(--primary);
    color: white;
}

/* ============================================
   Footer
   ============================================ */

.main-footer {
    background-color: var(--secondary);
    color: white;
    padding-top: var(--section-spacing);
}

.main-footer.marketplace-footer {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(125deg, rgba(10, 37, 64, 0.97), rgba(10, 37, 64, 0.88)) center / cover no-repeat,
        url("../images/darck .09f138d1d530.jpeg") center / cover no-repeat;
}

.main-footer.marketplace-footer::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    pointer-events: none;
    opacity: 0.35;
    background: url("../images/footer-wave-generated.fff4472efe55.png") center top / 100% auto no-repeat;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
}

.footer-brand:hover {
    color: var(--primary);
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.main-footer h5 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.main-footer p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   Forms
   ============================================ */

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Alerts
   ============================================ */

.alert {
    border: none;
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065F46;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991B1B;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #92400E;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1E40AF;
}

@media (prefers-reduced-motion: reduce) {
    .featured-products-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .featured-products-track {
        animation: none;
    }

    .featured-products-group[aria-hidden="true"] {
        display: none;
    }
}

/* Partner network and database-managed pricing */
.btn-partner-nav {
    align-items: center;
    gap: .4rem;
    padding: .5rem .72rem;
    border: 1px solid rgba(15, 139, 141, .3);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(15, 139, 141, .08);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.btn-partner-nav:hover,
.btn-partner-nav.active {
    color: var(--secondary);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px) scale(1.02);
}

.partner-strip-section { padding: 4rem 0; background: #f7fbfb; overflow: hidden; border-block: 1px solid #e4eeee; }
.partner-strip-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.partner-logo-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.partner-logo-track { display: flex; width: max-content; animation: partner-scroll 32s linear infinite; }
.partner-logo-marquee:hover .partner-logo-track { animation-play-state: paused; }
.partner-logo-set { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; }
.partner-logo-item { width: 190px; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; color: #334155; background: #fff; border: 1px solid #e1eaea; border-radius: 18px; box-shadow: 0 8px 25px rgba(16, 42, 67, .06); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.partner-logo-item:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary); }
.partner-logo-item img { max-width: 125px; width: auto; height: 46px; object-fit: contain; }
.partner-logo-item span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; font-weight: 700; }
.partner-strip-empty { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.2rem; color: #52616b; border: 1px dashed #b9cccc; border-radius: 16px; background: rgba(255,255,255,.7); }
.partner-strip-empty i { color: var(--primary); font-size: 1.4rem; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }

.partner-page-hero,
.partner-apply-hero,
.pricing-page-hero { background: linear-gradient(125deg, rgba(4, 38, 53, .96), rgba(8, 105, 107, .9)); color: #fff; }
.compact-page-title { padding: 1.35rem 0; color: #fff; background: linear-gradient(125deg, #062f3d, #0f7f81); }
.compact-page-title h1 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; }
.partner-application-section { padding-top: 3rem; }
.partner-page-hero .lead,
.partner-apply-hero .lead,
.pricing-page-hero .lead { color: rgba(255,255,255,.82); }
.hero-kicker { display: inline-block; margin-bottom: 1rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #70e3d8; font-size: .76rem; }
.partner-hero-orbit { position: relative; display: inline-grid; place-items: center; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: #fff; font-size: 6rem; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 28px rgba(255,255,255,.03); }
.partner-hero-orbit span { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 62px; height: 62px; color: #063b3c; background: #70e3d8; border-radius: 50%; font-size: 1.5rem; }
.partner-directory-card { position: relative; padding: 1.5rem; background: #fff; border: 1px solid #e4ebeb; border-radius: 20px; box-shadow: 0 12px 35px rgba(22, 53, 69, .07); transition: transform .2s ease, box-shadow .2s ease; }
.partner-directory-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(22, 53, 69, .12); }
.partner-directory-logo { height: 90px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 14px; background: #f8fbfb; }
.partner-directory-logo img { max-width: 150px; max-height: 58px; object-fit: contain; }
.partner-empty-state { padding: 3rem; text-align: center; background: #fff; border: 1px dashed #b9caca; border-radius: 22px; }
.partner-empty-state > i { color: var(--primary); font-size: 3rem; }
.partner-application-aside { top: 110px; }
.partner-step { display: flex; gap: 1rem; margin-top: 1.5rem; }
.partner-step > span { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--secondary); background: var(--primary); font-weight: 800; }
.partner-step strong, .partner-step small { display: block; }
.partner-step small { margin-top: .25rem; color: #64748b; line-height: 1.55; }
.partner-privacy-note { display: flex; gap: .8rem; margin-top: 2rem; padding: 1rem; color: #175b5d; background: #e7f7f5; border-radius: 14px; font-size: .86rem; }
.partner-privacy-note i { font-size: 1.25rem; }
.partner-application-form { padding: clamp(1.4rem, 4vw, 3rem); background: #fff; border: 1px solid #e2eaea; border-radius: 24px; box-shadow: 0 22px 55px rgba(16, 42, 67, .08); }
.form-section-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.form-section-heading > span { display: grid; place-items: center; flex: 0 0 46px; height: 46px; color: var(--primary); background: #e8f7f5; border-radius: 13px; font-weight: 900; }
.partner-application-form .form-control, .partner-application-form .form-select { min-height: 48px; border-color: #d8e3e3; }
.partner-service-cta { background: #edf8f7; }
.partner-service-card { display: flex; align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid #d9e8e7; border-radius: 24px; box-shadow: 0 18px 45px rgba(16, 70, 72, .08); }
.partner-service-icon { flex: 0 0 72px; height: 72px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), #065e60); border-radius: 20px; font-size: 2rem; }

.pricing-audience-tabs { gap: .5rem; }
.pricing-audience-tabs .nav-link { padding: .8rem 1.25rem; color: #475569; background: #fff; border: 1px solid #dce7e7; border-radius: 999px; font-weight: 700; }
.pricing-audience-tabs .nav-link.active { color: var(--secondary); background: var(--primary); border-color: var(--primary); }
.pricing-service-group { margin-bottom: 3.5rem; }
.pricing-service-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.pricing-service-heading span { color: var(--primary); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.pricing-service-heading h2 { margin: .25rem 0 0; }
.pricing-tab-intro { max-width: 700px; margin: 0 auto 2.5rem; text-align: center; }
.modern-plan-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; overflow: hidden; background: #fff; border: 1px solid #dfe8e8; border-radius: 22px; box-shadow: 0 12px 35px rgba(15, 53, 66, .06); }
.modern-plan-card.is-featured { border: 2px solid var(--primary); box-shadow: 0 18px 45px rgba(15, 139, 141, .14); }
.plan-ribbon { position: absolute; top: 15px; right: -34px; width: 130px; padding: .35rem; transform: rotate(38deg); color: #fff; background: var(--primary); text-align: center; font-size: .68rem; font-weight: 800; }
.modern-plan-card h3 { padding-right: 2rem; }
.plan-price { margin: .8rem 0 1rem; color: #0f343e; font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800; }
.plan-price small { display: block; margin-top: .2rem; color: #718096; font-family: Inter, sans-serif; font-size: .78rem; font-weight: 500; }
.plan-limit { display: flex; align-items: center; gap: .6rem; padding: .8rem; color: #155e61; background: #e8f7f5; border-radius: 12px; }
.plan-limit i { font-size: 1.25rem; }
.modern-plan-card ul { flex-grow: 1; margin: 1.2rem 0; padding: 0; list-style: none; }
.modern-plan-card li { display: flex; gap: .6rem; margin-bottom: .7rem; color: #475569; font-size: .9rem; }
.modern-plan-card li i { color: var(--primary); font-weight: 900; }
.pricing-empty { width: min(700px, 100%); margin: auto; padding: 3rem; text-align: center; background: #fff; border: 1px dashed #bfcfcf; border-radius: 20px; }
.pricing-empty i { color: var(--primary); font-size: 2.5rem; }

@media (max-width: 991.98px) {
    .partner-service-card { align-items: flex-start; flex-wrap: wrap; }
    .partner-service-card .btn { width: 100%; }
}

@media (max-width: 767.98px) {
    .partner-strip-heading, .pricing-service-heading { align-items: flex-start; flex-direction: column; }
    .partner-logo-item { width: 155px; min-height: 96px; }
    .partner-application-form { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .partner-logo-track { width: 100%; animation: none; overflow-x: auto; }
    .partner-logo-set[aria-hidden="true"] { display: none; }
}

/* ============================================
   Badges
   ============================================ */

.badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
}

.badge-primary {
    background-color: var(--primary);
    color: white;
}

.badge-success {
    background-color: var(--success);
    color: white;
}

.badge-warning {
    background-color: var(--warning);
    color: white;
}

.badge-danger {
    background-color: var(--danger);
    color: white;
}

.badge-info {
    background-color: var(--info);
    color: white;
}

/* ============================================
   Pagination
   ============================================ */

.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    border-radius: var(--radius);
    color: var(--text-body);
    padding: 0.5rem 1rem;
}

.page-link:hover {
    background-color: var(--background);
    color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: white;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1399.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
    }

    .marketplace-nav {
        gap: 0.15rem;
        padding-block: 0.25rem;
    }

    .marketplace-nav .nav-link {
        width: fit-content;
        padding: 0.62rem 0.7rem;
    }

    .marketplace-rent-link {
        margin: 0.25rem 0 0.1rem;
        padding-inline: 0.7rem !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link-shop {
        width: max-content;
        margin: 0.35rem 0;
    }

    .header-actions {
        border-top: 1px solid var(--border-light);
        flex-wrap: wrap;
        margin-top: 0.75rem;
        padding-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-nav .nav-link-shop::before,
    .shop-nav-icon {
        animation: none;
        transition: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-spacing: 3rem;
        --section-spacing-sm: 2rem;
    }
    
    .hero-section {
        padding-top: 8.5rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

.location-map {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: #fff;
}

.location-map__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.location-map__heading-group {
    min-width: 0;
}

.location-map__eyebrow {
    margin-bottom: 0.125rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.location-map__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.location-map__button {
    flex-shrink: 0;
    white-space: nowrap;
}

.location-map__canvas {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #eef4ff, #f8fafc);
}

.location-map--compact .location-map__canvas {
    height: 160px;
}

.location-map--compact .location-map__header {
    padding: 0.75rem 0.875rem 0.625rem;
}

.location-map--compact .location-map__title {
    font-size: 0.95rem;
}

.location-map__footer {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.location-map__status {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #6c757d;
}

.location-map[data-location-loading="1"] .location-map__status {
    color: var(--primary);
}

.location-map .leaflet-container {
    width: 100%;
    height: 100%;
}

.location-map .leaflet-control-attribution {
    font-size: 0.65rem;
}

.directory-map {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08);
}

.directory-map__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.directory-map__canvas {
    width: 100%;
    height: min(62vh, 560px);
    min-height: 360px;
    background: #eef4ff;
}

[data-directory-map-pane][hidden],
[data-directory-list][hidden] {
    display: none !important;
}

@media (max-width: 576px) {
    .location-map__header {
        flex-direction: column;
    }

    .location-map__button {
        width: 100%;
    }
}

/* ============================================
   Dashboard navigation and popup notifications
   ============================================ */

.dashboard-nav-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.9rem 1rem 0.35rem;
    text-transform: uppercase;
}

.app-toast-container {
    margin-top: max(0.5rem, env(safe-area-inset-top));
    max-width: min(100%, 27rem);
    pointer-events: none;
    z-index: 1095;
}

.app-toast {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-body);
    min-width: min(22rem, calc(100vw - 2rem));
    pointer-events: auto;
}

.app-toast-icon {
    flex: 0 0 auto;
    font-size: 1.25rem;
    margin: 1rem 0 0 1rem;
}

.app-toast-message {
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.app-toast-errors {
    max-height: 12rem;
    overflow-y: auto;
}

@media (max-width: 575.98px) {
    .app-toast-container {
        left: 0;
        max-width: 100%;
        padding: 0.75rem !important;
        right: 0;
        width: 100%;
    }

    .app-toast {
        min-width: 100%;
        width: 100%;
    }
}

/* ============================================
   Homepage marketplace hero
   ============================================ */

.home-marketplace-hero {
    min-height: 780px;
    padding-bottom: 2.5rem;
    padding-top: 8.75rem;
    text-align: left;
}

.home-marketplace-hero::after {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.08), transparent 42%, rgba(34, 197, 94, 0.06));
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.home-hero-orb {
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    position: absolute;
}

.home-hero-orb--one {
    background: rgba(14, 165, 233, 0.2);
    height: 22rem;
    right: -7rem;
    top: 7rem;
    width: 22rem;
}

.home-hero-orb--two {
    background: rgba(34, 197, 94, 0.1);
    bottom: -8rem;
    height: 18rem;
    left: 28%;
    width: 18rem;
}

.home-marketplace-hero .carousel,
.home-marketplace-hero .carousel-inner,
.home-marketplace-hero .carousel-item {
    position: relative;
    z-index: 1;
}

.home-hero-slide {
    min-height: 585px;
}

.home-hero-copy {
    max-width: 37rem;
}

.home-hero-eyebrow {
    align-items: center;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 999px;
    color: #bae6fd;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    gap: 0.5rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    padding: 0.55rem 0.85rem;
    text-transform: uppercase;
}

.home-marketplace-hero .home-hero-title {
    color: #fff;
    font-size: clamp(2.35rem, 4.6vw, 4.25rem);
    letter-spacing: -0.045em;
    line-height: 1.03;
    margin-bottom: 1.35rem;
    text-wrap: balance;
}

.home-hero-title span {
    background: linear-gradient(110deg, #ffc27a 0%, var(--primary-light) 48%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-marketplace-hero .home-hero-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 35rem;
}

.home-marketplace-hero .hero-buttons .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.home-hero-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    margin-top: 2rem;
}

.home-hero-assurances span {
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    font-size: 0.82rem;
    gap: 0.4rem;
}

.home-hero-assurances i {
    color: #38bdf8;
}

.home-hero-showcase {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 1.75rem;
    box-shadow: 0 28px 70px rgba(2, 8, 23, 0.36);
    padding: 1rem;
}

@supports (backdrop-filter: blur(16px)) {
    .home-hero-showcase {
        backdrop-filter: blur(16px);
    }
}

.home-hero-showcase__header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.4rem 0.5rem 1rem;
}

.home-hero-showcase__header h2 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0.15rem 0 0;
}

.home-hero-showcase__kicker {
    color: #7dd3fc;
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-hero-showcase__header > a {
    color: rgba(255, 255, 255, 0.82);
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.home-hero-showcase__header > a:hover {
    color: #fff;
}

.home-hero-market-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-hero-market-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.15rem;
    color: var(--text-body);
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-hero-market-card:hover {
    box-shadow: 0 18px 35px rgba(2, 8, 23, 0.24);
    color: var(--text-body);
    transform: translateY(-4px);
}

.home-hero-market-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(13rem, 42%) minmax(0, 1fr);
}

.home-hero-market-card__media {
    background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
    min-height: 9.4rem;
    overflow: hidden;
    position: relative;
}

.home-hero-market-card--featured .home-hero-market-card__media {
    min-height: 13.25rem;
}

.home-hero-market-card__media img,
.home-hero-market-card__placeholder {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.home-hero-market-card__placeholder {
    align-items: center;
    background: linear-gradient(145deg, #e0f2fe, #ecfdf5);
    color: var(--primary);
    display: flex;
    font-size: 3rem;
    justify-content: center;
}

.home-hero-market-card__media--property .home-hero-market-card__placeholder {
    background: linear-gradient(145deg, #dbeafe, #f0fdfa);
}

.home-hero-market-card__media--provider .home-hero-market-card__placeholder {
    background: linear-gradient(145deg, #ede9fe, #e0f2fe);
}

.home-hero-market-card__badge {
    background: rgba(15, 23, 42, 0.78);
    border-radius: 999px;
    color: #fff;
    font-size: 0.67rem;
    font-weight: 700;
    left: 0.65rem;
    padding: 0.35rem 0.55rem;
    position: absolute;
    top: 0.65rem;
    z-index: 1;
}

.home-hero-market-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.9rem;
}

.home-hero-market-card--featured .home-hero-market-card__body {
    justify-content: center;
    padding: 1.35rem;
}

.home-hero-market-card__body > small {
    color: #64748b;
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-hero-market-card h3 {
    color: #0f172a;
    display: -webkit-box;
    font-size: 0.93rem;
    line-height: 1.25;
    margin-bottom: 0.7rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-hero-market-card--featured h3 {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.home-hero-market-card__details {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.68rem;
    gap: 0.35rem 0.65rem;
    margin-bottom: 0.7rem;
}

.home-hero-market-card__footer {
    align-items: flex-end;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    margin-top: auto;
}

.home-hero-market-card__footer strong {
    color: var(--primary-dark);
    font-size: 0.78rem;
    line-height: 1.2;
}

.home-hero-market-card--featured .home-hero-market-card__footer strong {
    font-size: 1rem;
}

.home-hero-market-card__footer strong small {
    color: #64748b;
    font-size: 0.67rem;
    font-weight: 500;
}

.home-hero-market-card__arrow {
    align-items: center;
    background: #e0f2fe;
    border-radius: 50%;
    color: var(--primary-dark);
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.8rem;
    justify-content: center;
    width: 1.8rem;
}

.home-hero-empty-card {
    align-items: center;
    background: #fff;
    border-radius: 1.15rem;
    color: #0f172a;
    display: flex;
    gap: 1rem;
    grid-column: 1 / -1;
    min-height: 13rem;
    padding: 1.5rem;
    text-decoration: none;
}

.home-hero-empty-card > i:first-child {
    color: var(--primary);
    font-size: 2.5rem;
}

.home-hero-empty-card div {
    display: grid;
    flex: 1;
    gap: 0.25rem;
}

.home-hero-empty-card div span {
    color: #64748b;
    font-size: 0.82rem;
}

.home-hero-navigation {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.15rem;
    padding-top: 1rem;
}

.home-hero-indicators.carousel-indicators {
    gap: 0.5rem;
    justify-content: flex-start;
    margin: 0;
    position: static;
}

.home-hero-indicators.carousel-indicators button {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    gap: 0.45rem;
    height: auto;
    justify-content: center;
    margin: 0;
    opacity: 1;
    padding: 0.5rem 0.8rem;
    text-indent: 0;
    width: auto;
}

.home-hero-indicators.carousel-indicators button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.home-hero-indicators span {
    font-size: 0.72rem;
    font-weight: 700;
}

.home-hero-controls {
    display: flex;
    gap: 0.5rem;
}

.home-hero-controls button {
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 2.75rem;
}

.home-hero-controls button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 1199.98px) {
    .home-marketplace-hero {
        min-height: 0;
        padding-bottom: 2rem;
        padding-top: 7.5rem;
    }

    .home-marketplace-hero .home-hero-title {
        font-size: clamp(2.25rem, 4.3vw, 3.5rem);
    }

    .home-hero-slide {
        min-height: 0;
    }

    .home-hero-copy {
        margin-inline: auto;
        max-width: 44rem;
        text-align: center;
    }

    .home-marketplace-hero .home-hero-lead {
        margin-inline: auto;
    }

    .home-marketplace-hero .hero-buttons,
    .home-hero-assurances {
        justify-content: center;
    }

    .home-hero-showcase {
        margin: 1rem auto 0;
        max-width: 52rem;
    }

    .home-hero-market-card {
        grid-template-columns: 5.75rem minmax(0, 1fr);
    }

    .home-hero-market-card--featured {
        grid-template-columns: minmax(11rem, 40%) minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .home-marketplace-hero {
        padding-top: 7rem;
    }
}

@media (max-width: 767.98px) {
    .home-marketplace-hero {
        text-align: left;
    }

    .home-marketplace-hero .home-hero-title {
        font-size: clamp(2.15rem, 10vw, 3.2rem);
    }

    .home-hero-showcase__header {
        align-items: flex-start;
    }

    .home-hero-navigation {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero-indicators.carousel-indicators {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .home-hero-controls {
        justify-content: flex-end;
    }
}

@media (max-width: 575.98px) {
    .home-marketplace-hero {
        padding-top: 6.5rem;
    }

    .home-hero-copy,
    .home-marketplace-hero .home-hero-lead {
        text-align: left;
    }

    .home-marketplace-hero .hero-buttons,
    .home-hero-assurances {
        justify-content: flex-start;
    }

    .home-marketplace-hero .hero-buttons .btn {
        width: 100%;
    }

    .home-hero-showcase {
        border-radius: 1.25rem;
        padding: 0.7rem;
    }

    .home-hero-showcase__header h2 {
        font-size: 1.05rem;
    }

    .home-hero-market-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-market-card--featured {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .home-hero-market-card--featured .home-hero-market-card__media {
        min-height: 11.5rem;
    }

    .home-hero-market-card:nth-child(n + 3) {
        display: none;
    }

    .home-hero-indicators.carousel-indicators button {
        padding-inline: 0.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marketplace-hero .carousel-item,
    .home-hero-market-card,
    .home-hero-controls button {
        transition: none;
    }
}

/* ============================================
   Public Research Landing Page
   ============================================ */

.research-landing {
    background: #fff;
    overflow: hidden;
}

.research-hero {
    background:
        linear-gradient(115deg, rgba(7, 24, 39, 0.98), rgba(10, 37, 64, 0.94)),
        url("../images/thehero.fdad395a0d23.jpg") center/cover;
    color: #fff;
    overflow: hidden;
    padding: 10rem 0 6rem;
    position: relative;
}

.research-hero::after {
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.research-hero__glow {
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.22;
    pointer-events: none;
    position: absolute;
}

.research-hero__glow--one {
    background: var(--primary);
    height: 28rem;
    right: -9rem;
    top: -10rem;
    width: 28rem;
}

.research-hero__glow--two {
    background: #3b82f6;
    bottom: -14rem;
    height: 25rem;
    left: 32%;
    width: 25rem;
}

.research-eyebrow {
    align-items: center;
    color: var(--primary-dark);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.5rem;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.research-eyebrow--light {
    color: #ffb278;
}

.research-hero h1 {
    color: #fff;
    font-size: clamp(2.75rem, 6vw, 5rem);
    letter-spacing: -0.055em;
    line-height: 0.99;
    margin-bottom: 1.5rem;
    max-width: 13ch;
}

.research-hero h1 span {
    color: var(--primary-light);
}

.research-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 42rem;
}

.research-hero__actions,
.research-final-cta__actions,
.research-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.research-hero__actions .btn-outline-light,
.research-final-cta .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.research-hero__assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

.research-hero__assurances span {
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    font-size: 0.85rem;
    gap: 0.4rem;
}

.research-hero__assurances i {
    color: var(--primary-light);
}

.research-hero__panel {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    position: relative;
    z-index: 1;
}

.research-hero__panel-heading {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.research-hero__panel-icon {
    align-items: center;
    background: var(--primary);
    border-radius: 1rem;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.45rem;
    height: 3.25rem;
    justify-content: center;
    width: 3.25rem;
}

.research-hero__panel-heading span:not(.research-hero__panel-icon) {
    color: rgba(255, 255, 255, 0.58);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.research-hero__panel-heading h2 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
}

.research-hero__steps {
    display: grid;
    gap: 1.35rem;
    list-style: none;
    margin: 1.75rem 0;
    padding: 0;
}

.research-hero__steps li {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.research-hero__steps > li > span {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--primary-light);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.research-hero__steps strong,
.research-hero__steps small {
    display: block;
}

.research-hero__steps strong {
    color: #fff;
    font-size: 0.95rem;
}

.research-hero__steps small {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.15rem;
}

.research-hero__panel-link {
    align-items: center;
    color: #fff;
    display: flex;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: space-between;
}

.research-hero__panel-link:hover {
    color: var(--primary-light);
}

.research-trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.research-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.research-trust-item {
    align-items: center;
    border-right: 1px solid var(--border);
    display: flex;
    gap: 0.85rem;
    min-width: 0;
    padding: 1.55rem 1.25rem;
}

.research-trust-item:first-child {
    border-left: 1px solid var(--border);
}

.research-trust-item > i {
    color: var(--primary);
    flex: 0 0 auto;
    font-size: 1.6rem;
}

.research-trust-item strong,
.research-trust-item span {
    display: block;
}

.research-trust-item strong {
    color: var(--secondary);
    font-size: 0.92rem;
}

.research-trust-item span {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.12rem;
}

.research-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.research-section-heading {
    margin: 0 auto 3.25rem;
    max-width: 45rem;
}

.research-section-heading h2,
.research-planning__intro h2,
.research-faq__intro h2 {
    color: var(--secondary);
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.research-section-heading p,
.research-planning__intro > p,
.research-faq__intro > p {
    color: var(--text-muted);
    font-size: 1.03rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.research-section-heading--split {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    max-width: none;
}

.research-section-heading--split > div:first-child {
    max-width: 44rem;
}

.research-service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.research-service-card::before {
    background: var(--primary);
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    top: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    width: 100%;
}

.research-service-card:hover {
    border-color: rgba(255, 106, 0, 0.28);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.research-service-card:hover::before {
    transform: scaleX(1);
}

.research-service-card__number {
    color: #d6dce3;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

.research-service-card__icon {
    align-items: center;
    background: rgba(255, 106, 0, 0.1);
    border-radius: 1rem;
    color: var(--primary);
    display: inline-flex;
    font-size: 1.6rem;
    height: 3.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 3.6rem;
}

.research-service-card h3,
.research-content-card h3,
.research-empty-state h3 {
    color: var(--secondary);
    font-size: 1.25rem;
}

.research-service-card p,
.research-content-card p,
.research-empty-state p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.research-service-card a,
.research-content-card a,
.research-library__label a {
    align-items: center;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.4rem;
}

.research-library {
    background: #f6f8fb;
}

.research-library__block + .research-library__block {
    border-top: 1px solid var(--border);
    margin-top: 3.25rem;
    padding-top: 3.25rem;
}

.research-library__label {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.research-library__label > span {
    align-items: center;
    color: var(--secondary);
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    gap: 0.5rem;
}

.research-library__label > span i {
    color: var(--primary);
}

.research-content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.research-content-card:hover {
    border-color: rgba(255, 106, 0, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.research-content-card--publication {
    border-top: 3px solid var(--secondary);
}

.research-content-card__meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.research-content-card__meta span {
    background: rgba(255, 106, 0, 0.09);
    border-radius: 999px;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
}

.research-content-card__meta time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.research-content-card h3 {
    line-height: 1.35;
}

.research-content-card p {
    flex-grow: 1;
}

.research-empty-state {
    align-items: center;
    background: #fff;
    border: 1px dashed #cfd7e1;
    border-radius: 1rem;
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
}

.research-empty-state > i {
    align-items: center;
    background: rgba(255, 106, 0, 0.09);
    border-radius: 1rem;
    color: var(--primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.8rem;
    height: 3.75rem;
    justify-content: center;
    width: 3.75rem;
}

.research-empty-state > div {
    flex: 1;
}

.research-empty-state h3,
.research-empty-state p {
    margin-bottom: 0.2rem;
}

.research-planning {
    background: #fff;
}

.research-planning__intro {
    position: sticky;
    top: 7rem;
}

.research-check-list {
    display: grid;
    gap: 0.85rem;
    list-style: none;
    margin: 1.75rem 0;
    padding: 0;
}

.research-check-list li {
    align-items: flex-start;
    color: var(--text-body);
    display: flex;
    font-size: 0.92rem;
    gap: 0.65rem;
}

.research-check-list i {
    align-items: center;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
    color: var(--success);
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.35rem;
    justify-content: center;
    margin-top: 0.1rem;
    width: 1.35rem;
}

.research-price-card {
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.research-price-table thead th {
    background: var(--secondary);
    border: 0;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 1.15rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.research-price-table tbody td {
    border-color: var(--border-light);
    color: var(--text-body);
    font-size: 0.88rem;
    padding: 1.15rem;
}

.research-price-table tbody tr:last-child td {
    border-bottom: 0;
}

.research-price-table tbody tr:hover td {
    background: rgba(255, 106, 0, 0.035);
}

.research-request {
    background:
        radial-gradient(circle at 8% 15%, rgba(255, 106, 0, 0.16), transparent 24rem),
        var(--secondary);
    color: #fff;
}

.research-request__intro {
    position: sticky;
    top: 7rem;
}

.research-request__intro h2 {
    color: #fff;
    letter-spacing: -0.04em;
}

.research-request__intro > p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.research-request__note {
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 0.9rem;
    padding: 1.25rem 0;
}

.research-request__note > i {
    color: var(--primary-light);
    flex: 0 0 auto;
    font-size: 1.35rem;
}

.research-request__note strong,
.research-request__note span {
    display: block;
}

.research-request__note strong {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.research-request__note span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    line-height: 1.55;
}

.research-form-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.research-form-card__heading {
    align-items: center;
    background: #f7f9fc;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem);
}

.research-form-card__heading span {
    color: var(--primary-dark);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.research-form-card__heading h3 {
    color: var(--secondary);
    font-size: 1.35rem;
    margin: 0;
}

.research-form-card__heading > i {
    color: var(--primary);
    font-size: 1.8rem;
}

.research-form {
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.research-form .form-label {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.research-form .form-label span,
.research-form .form-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

.research-form .form-control,
.research-form .form-select {
    border-color: #d8dee7;
    border-radius: 0.65rem;
    min-height: 3.1rem;
    padding: 0.75rem 0.9rem;
}

.research-form textarea.form-control {
    min-height: auto;
}

.research-form .form-control:focus,
.research-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.12);
}

.research-form-divider {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.research-form-divider::before,
.research-form-divider::after {
    background: var(--border);
    content: '';
    flex: 1;
    height: 1px;
}

.research-price-estimate {
    align-items: center;
    background: rgba(255, 106, 0, 0.075);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 0.8rem;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.research-price-estimate > i {
    color: var(--primary);
    font-size: 1.5rem;
}

.research-price-estimate span,
.research-price-estimate strong,
.research-price-estimate small {
    display: block;
}

.research-price-estimate span,
.research-price-estimate small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.research-price-estimate strong {
    color: var(--secondary);
    font-size: 1.2rem;
    margin: 0.1rem 0;
}

.research-faq {
    background: #fff;
}

.research-faq__intro {
    position: sticky;
    top: 7rem;
}

.research-accordion {
    display: grid;
    gap: 0.85rem;
}

.research-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    overflow: hidden;
}

.research-accordion .accordion-button {
    background: #fff;
    color: var(--secondary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    padding: 1.25rem 1.4rem;
}

.research-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 106, 0, 0.055);
    box-shadow: none;
    color: var(--primary-dark);
}

.research-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.12);
}

.research-accordion .accordion-body {
    color: var(--text-body);
    line-height: 1.75;
    padding: 0.25rem 1.4rem 1.4rem;
}

.research-final-cta {
    background: var(--primary);
    padding: 4rem 0;
}

.research-final-cta__inner {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.research-final-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    letter-spacing: -0.04em;
    margin-bottom: 0.6rem;
    max-width: 20ch;
}

.research-final-cta p {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 0;
}

.research-final-cta .research-eyebrow--light {
    color: #fff;
    opacity: 0.78;
}

.research-final-cta__actions {
    flex: 0 0 auto;
}

.research-final-cta .btn-light {
    color: var(--secondary);
}

@media (max-width: 991.98px) {
    .research-hero {
        padding: 8.5rem 0 4.5rem;
    }

    .research-hero h1 {
        max-width: 15ch;
    }

    .research-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .research-trust-item:nth-child(3) {
        border-left: 1px solid var(--border);
    }

    .research-trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .research-planning__intro,
    .research-request__intro,
    .research-faq__intro {
        position: static;
    }

    .research-final-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .research-hero {
        padding-top: 7.5rem;
        text-align: left;
    }

    .research-hero h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .research-hero__actions .btn {
        width: 100%;
    }

    .research-hero__assurances {
        gap: 0.75rem 1rem;
    }

    .research-section-heading--split,
    .research-empty-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .research-heading-actions,
    .research-empty-state .btn {
        width: 100%;
    }

    .research-heading-actions .btn {
        flex: 1;
    }

    .research-library__label {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .research-trust-grid {
        grid-template-columns: 1fr;
    }

    .research-trust-item,
    .research-trust-item:first-child,
    .research-trust-item:nth-child(3) {
        border-bottom: 1px solid var(--border);
        border-left: 1px solid var(--border);
    }

    .research-trust-item:last-child {
        border-bottom: 0;
    }

    .research-service-card,
    .research-content-card,
    .research-empty-state {
        padding: 1.4rem;
    }

    .research-final-cta__actions,
    .research-final-cta__actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .research-service-card,
    .research-service-card::before,
    .research-content-card {
        transition: none;
    }
}

/* oziMarket home structure */
main > .page-hero {
    padding: 7.75rem 0 2rem;
    min-height: 12.5rem;
}

main > .page-hero h1,
main > .page-hero h2,
main > .page-hero p {
    color: #fff;
}

main > .page-hero h1 {
    margin-bottom: 0;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
}

main > .page-hero p {
    max-width: 44rem;
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
}

/* Keep fixed-header pages clear of the navigation on every shared view. */
main > .container.py-5 {
    padding-top: 8.5rem !important;
    padding-bottom: 4.5rem !important;
}

.marketplace-catalog-page {
    padding: 8.5rem 0 4.5rem;
    background: #f8fafc;
}

.marketplace-catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.marketplace-catalog-heading h1 {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.marketplace-catalog-heading span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.marketplace-filter {
    position: sticky;
    top: 7rem;
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 1rem 2.5rem rgba(10, 37, 64, 0.07);
}

@media (max-width: 991.98px) {
    main > .container.py-5 {
        padding-top: 8rem !important;
    }

    .marketplace-catalog-page {
        padding-top: 8rem;
    }

    .marketplace-filter {
        position: static;
    }
}

@media (max-width: 575.98px) {
    main > .container.py-5 {
        padding-top: 7.25rem !important;
        padding-bottom: 3rem !important;
    }

    .marketplace-catalog-page {
        padding: 7.25rem 0 3rem;
    }

    .marketplace-catalog-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}

.storefront-page-heading {
    padding: 9rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.storefront-page-heading h1 {
    margin: 0;
    color: var(--secondary);
}

.storefront-page-heading > .container > h1:not(.storefront-path) {
    font-size: 1.5rem;
}

.storefront-path {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.storefront-moving-section {
    padding: 2.5rem 0;
    background: #f8fafc;
}

.storefront-moving-section .section-title {
    margin-bottom: 1rem;
}

.storefront-moving-section .featured-products-marquee {
    padding-top: 0;
}

.storefront-catalog-section {
    padding: 3.5rem 0 5rem;
    background: #fff;
}

.marketplace-detail-image {
    display: grid;
    min-height: 28rem;
    place-items: center;
    padding: 2rem;
    border-radius: 1.25rem;
    background: #f8fafc;
}

.marketplace-detail-image img {
    max-height: 26rem;
    width: 100%;
    object-fit: contain;
}

.product-purchase-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
}

.product-cart-form {
    display: flex;
    flex: 1 1 18rem;
    gap: 0.65rem;
}

.product-cart-form .form-control {
    width: 5.25rem;
    flex: 0 0 5.25rem;
}

.product-cart-form .btn,
.product-enquiry-button {
    min-height: 2.9rem;
}

.product-enquiry-button {
    flex: 0 1 auto;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .product-purchase-actions,
    .product-cart-form {
        flex-direction: column;
    }

    .product-cart-form .form-control {
        width: 100%;
        flex-basis: auto;
    }

    .product-cart-form .btn,
    .product-enquiry-button {
        width: 100%;
    }
}

.property-detail-page {
    padding: 8.5rem 0 4.5rem;
    background: #f8fafc;
}

.property-detail-shell {
    max-width: 1180px;
}

.property-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.property-detail-gallery__item {
    min-width: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 1.25rem;
    background: #eef3f6;
    box-shadow: 0 1rem 2.5rem rgba(10, 37, 64, 0.08);
}

.property-detail-gallery__item--featured {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
}

.property-detail-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-detail-gallery__item:hover img {
    transform: scale(1.03);
}

.property-detail-copy {
    padding: 2rem 0 0.5rem;
}

.property-detail-copy h1 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.property-detail-copy p:last-child {
    margin-bottom: 0;
}

.property-detail-card {
    position: sticky;
    top: 7rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 1.25rem 3rem rgba(10, 37, 64, 0.1);
}

.property-detail-location {
    margin: 1rem 0;
    color: var(--text-muted);
}

.property-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 700;
}

.property-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.property-detail-meta i {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .property-detail-page {
        padding-top: 8rem;
    }

    .property-detail-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .property-detail-page {
        padding: 7.25rem 0 3rem;
    }

    .property-detail-gallery {
        gap: 0.6rem;
    }

    .property-detail-gallery__item--featured {
        aspect-ratio: 4 / 3;
    }

    .property-detail-copy {
        padding-top: 1.25rem;
    }
}

.marketplace-home-shell {
    --marketplace-blue: #0a2540;
    --marketplace-orange: #ff6a00;
    background: #fff;
}

.marketplace-header-utility {
    padding: 0.38rem 0;
    color: #fff;
    background: var(--secondary);
    font-size: 0.68rem;
}

.marketplace-header-utility i { color: #ff9a52; }

.marketplace-utility-bar {
    padding: 0.42rem 0;
    color: #fff;
    background: var(--marketplace-blue);
    font-size: 0.72rem;
}

.marketplace-home-hero {
    padding: 8.8rem 0 3.2rem;
    overflow: hidden;
    background: linear-gradient(120deg, #f7f2ec 0%, #fffaf5 52%, #ff7a00 52%, #f56a00 100%);
}

.marketplace-home-hero .carousel {
    padding-bottom: 2rem;
}

.marketplace-home-hero .carousel-inner {
    overflow: visible;
}

.marketplace-home-hero .carousel-item {
    min-height: 31rem;
}

.marketplace-home-hero .carousel-item > .row {
    min-height: 31rem;
}

.marketplace-hero-indicators.carousel-indicators {
    bottom: -.35rem;
    gap: .45rem;
    margin-bottom: 0;
}

.marketplace-hero-indicators.carousel-indicators [data-bs-target] {
    width: .65rem;
    height: .65rem;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--marketplace-blue);
    opacity: .3;
}

.marketplace-hero-indicators.carousel-indicators .active {
    background-color: var(--marketplace-orange);
    opacity: 1;
}

.marketplace-eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--marketplace-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.marketplace-hero-title {
    max-width: 34rem;
    margin: 0;
    color: var(--marketplace-blue);
    font-size: clamp(2rem, 4.5vw, 4.4rem);
    line-height: 0.98;
}

.marketplace-hero-price {
    margin-top: 1.25rem;
    color: var(--marketplace-orange);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 800;
}

.btn-marketplace-primary {
    border: 1px solid var(--marketplace-orange);
    color: var(--marketplace-blue);
    background: var(--marketplace-orange);
}

.btn-marketplace-primary:hover,
.btn-marketplace-primary:focus-visible {
    border-color: #df5800;
    color: var(--marketplace-blue);
    background: #df5800;
}

.btn-marketplace-outline {
    border: 1px solid var(--marketplace-orange);
    color: var(--marketplace-orange);
    background: transparent;
}

.btn-marketplace-outline:hover,
.btn-marketplace-outline:focus-visible {
    color: #fff;
    background: var(--marketplace-orange);
}

.marketplace-hero-product-card {
    position: relative;
    display: grid;
    min-height: 29rem;
    place-items: center;
    padding: 2rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1.5rem 4rem rgba(10, 37, 64, 0.14);
}

.marketplace-hero-product-card::before {
    position: absolute;
    inset: 8% 10%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    content: '';
}

.marketplace-hero-product-card img {
    position: relative;
    z-index: 1;
    max-height: 25rem;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.marketplace-hero-product-card--fallback {
    overflow: hidden;
    padding: 0;
}

.marketplace-hero-product-card--fallback::before {
    display: none;
}

.marketplace-hero-product-card--fallback img {
    height: 100%;
    max-height: none;
    object-fit: cover;
    mix-blend-mode: normal;
}

.marketplace-carousel-control {
    top: 50%;
    bottom: auto;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    color: var(--marketplace-blue);
    background: #fff;
    opacity: 1;
    transform: translateY(-50%);
}

.marketplace-carousel-control.carousel-control-prev { left: calc(41.6667% + .35rem); }
.marketplace-carousel-control.carousel-control-next { right: -1rem; }

.marketplace-benefits {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.marketplace-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.2rem;
    color: var(--marketplace-blue);
    text-align: center;
}

.marketplace-benefit i {
    color: var(--marketplace-orange);
    font-size: 1.35rem;
}

.marketplace-home-section {
    padding: 4.5rem 0;
}

.marketplace-section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.marketplace-section-heading h2 {
    margin: 0;
    color: var(--marketplace-blue);
}

.marketplace-section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.marketplace-section-heading--row h2 { margin: 0; }

.marketplace-text-link {
    color: var(--marketplace-orange);
    font-weight: 800;
}

.marketplace-category-card {
    position: relative;
    display: flex;
    height: 100%;
    align-items: end;
    justify-content: center;
    min-height: 10.5rem;
    overflow: hidden;
    padding: 0.9rem;
    border: 0;
    border-radius: 1.2rem;
    color: #fff;
    background: var(--marketplace-blue);
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marketplace-category-card:hover {
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.marketplace-category-card::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(10, 37, 64, 0.92));
    content: '';
}

.marketplace-category-image {
    position: absolute;
    inset: 0;
}

.marketplace-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.marketplace-category-card > span:last-child {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.marketplace-category-card:hover .marketplace-category-image img {
    transform: scale(1.06);
}

.marketplace-products-section {
    background: #f8fafc;
}

.marketplace-offer-strip {
    padding: 2.25rem 0;
    color: #fff;
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.35)), url("../images/special-offer-gifts.02149049bfc2.png") center / cover no-repeat;
}

.marketplace-offer-strip h2 {
    margin: 0;
    color: #fff;
}

.marketplace-offer-strip .marketplace-eyebrow { color: #ffab73; }

.marketplace-newsletter {
    padding: 3rem 0;
    color: #fff;
    background: var(--marketplace-blue);
}

.marketplace-newsletter h2 { margin: 0; color: var(--marketplace-orange); }
.marketplace-newsletter .marketplace-eyebrow { color: #ffab73; }

.marketplace-newsletter-form {
    display: flex;
    gap: 0.65rem;
}

.marketplace-newsletter-form .form-control { min-height: 3rem; }

.marketplace-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
    border: 1px dashed var(--border);
    border-radius: 1rem;
    color: var(--text-muted);
    background: #fff;
    text-align: center;
}

.marketplace-empty-state i {
    color: var(--marketplace-orange);
    font-size: 1.5rem;
}

@media (max-width: 991.98px) {
    .storefront-page-heading { padding-top: 8rem; }
    .marketplace-home-hero { padding-top: 8rem; background: #fff8f1; }
    .marketplace-home-hero .carousel-item { min-height: auto; }
    .marketplace-home-hero .carousel-item > .row { min-height: auto; }
    .marketplace-hero-product-card { min-height: 20rem; }
    .marketplace-carousel-control {
        top: auto;
        bottom: -.6rem;
        transform: none;
    }
    .marketplace-carousel-control.carousel-control-prev { left: calc(50% - 6.25rem); }
    .marketplace-carousel-control.carousel-control-next { right: calc(50% - 6.25rem); }
}

@media (max-width: 575.98px) {
    .main-footer.marketplace-footer::before {
        background-size: auto 12rem;
    }
    main > .page-hero {
        min-height: 11rem;
        padding: 7.25rem 0 1.5rem;
    }
    main > .page-hero h1 { font-size: 1.4rem; }
    .storefront-page-heading { padding-top: 8.75rem; }
    .marketplace-home-hero { padding: 8.75rem 0 2.5rem; }
    .marketplace-hero-title { font-size: 2.2rem; }
    .marketplace-hero-product-card { min-height: 16rem; padding: 1rem; }
    .marketplace-section-heading--row { align-items: flex-start; flex-direction: column; }
    .marketplace-newsletter-form { flex-direction: column; }
}

/* Authentication layout */
.auth-shell {
    position: relative;
    display: grid;
    min-height: 100svh;
    padding: 9rem clamp(.75rem, 3vw, 2rem) 3rem;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 106, 0, .13), transparent 24rem),
        radial-gradient(circle at 94% 78%, rgba(10, 37, 64, .1), transparent 27rem),
        #f8fafc;
}

.auth-shell::before,
.auth-shell::after {
    position: absolute;
    width: 15rem;
    height: 15rem;
    content: '';
    border: 1px solid rgba(255, 106, 0, .14);
    border-radius: 50%;
    pointer-events: none;
}

.auth-shell::before {
    top: 12rem;
    left: -9rem;
}

.auth-shell::after {
    right: -8rem;
    bottom: 4rem;
    border-color: rgba(10, 37, 64, .1);
}

.auth-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, .09);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4.5rem rgba(10, 37, 64, .14);
}

.auth-card.auth-card--login {
    max-width: 32rem;
}

.auth-card.auth-card--register {
    max-width: 52rem;
}

.auth-eyebrow {
    margin: 0 0 .45rem;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-card-body {
    min-width: 0;
    width: 100%;
    padding: clamp(1.5rem, 4vw, 3.25rem);
}

.auth-heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-heading-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: .9rem;
    box-shadow: 0 .7rem 1.5rem rgba(255, 106, 0, .2);
    font-size: 1.25rem;
}

.auth-heading h1 {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    line-height: 1.2;
}

.auth-heading > p:last-child {
    margin: .45rem 0 0;
    color: var(--text-muted);
    font-size: .85rem;
}

.auth-form,
.auth-field {
    min-width: 0;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-field .form-label,
.auth-role-fieldset legend {
    margin-bottom: .4rem;
    color: var(--secondary);
    font-size: .76rem;
    font-weight: 700;
}

.auth-field .form-control,
.auth-field .form-select {
    width: 100%;
    max-width: 100%;
    min-height: 3rem;
    border-color: #d9e1e8;
    border-radius: .75rem;
    background-color: #fbfcfd;
    font-size: .88rem;
}

.auth-field .form-control:focus,
.auth-field .form-select:focus {
    background: #fff;
}

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

.auth-field--compact {
    grid-column: 1 / -1;
    width: calc(50% - .5rem);
    margin-inline: auto;
}

.auth-role-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}

.auth-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.auth-role-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 4.75rem;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    color: var(--secondary);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: .75rem;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.auth-role-card:hover,
.auth-role-card:has(input:checked),
.auth-role-card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 .4rem 1rem rgba(255, 106, 0, .12);
    transform: translateY(-2px);
}

.auth-role-card input {
    position: absolute;
    opacity: 0;
}

.auth-role-card input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: .35rem;
    border-radius: .35rem;
}

.auth-role-card span {
    display: grid;
    gap: .3rem;
    justify-items: center;
}

.auth-role-card i {
    color: var(--primary);
    font-size: 1.35rem;
}

.auth-role-card strong {
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.auth-terms {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: .65rem;
    color: var(--text-body);
    font-size: .78rem;
    justify-content: center;
}

.auth-terms .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    min-height: 0;
    flex: 0 0 auto;
    margin: .08rem 0 0;
}

.auth-terms label {
    min-width: 0;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.auth-field-error {
    margin-top: .3rem;
    color: #b42318;
    font-size: .74rem;
    overflow-wrap: anywhere;
}

.auth-form-link {
    margin-top: -.25rem;
    text-align: center;
}

.auth-form-link a,
.auth-switch a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.auth-form-link a:hover,
.auth-switch a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.auth-submit {
    display: inline-flex;
    min-height: 3rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: .75rem;
    font-weight: 700;
}

.auth-switch {
    margin: 1.25rem 0 0;
    padding-top: 1.15rem;
    color: var(--text-muted);
    border-top: 1px solid #edf1f4;
    font-size: .8rem;
    text-align: center;
}

.auth-form .alert {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .auth-card { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
    .auth-shell {
        padding-top: 8rem;
        padding-bottom: 2.5rem;
        padding-inline: .75rem;
    }

    .auth-card {
        border-radius: 1.1rem;
    }

    .auth-card-body {
        padding: 1.3rem 1.1rem;
    }

    .auth-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: .9rem;
    }

    .auth-field--compact {
        width: 100%;
    }

    .auth-role-grid {
        grid-template-columns: 1fr;
    }

    .auth-role-card {
        min-height: 3.75rem;
    }

    .auth-role-card span {
        grid-template-columns: auto 1fr;
        align-items: center;
        text-align: left;
    }
}
.language-switcher-form { display: inline-flex; margin: 0; }
.language-switcher { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid rgba(10, 37, 64, .2); border-radius: 999px; background: transparent; color: #0A2540; font-size: .75rem; font-weight: 700; padding: .42rem .65rem; }
.language-switcher:hover { background: rgba(10, 37, 64, .06); }
.dashboard-utility-actions .language-switcher { color: #0A2540; border-color: rgba(10, 37, 64, .2); }
.dashboard-notifications-menu { min-width: 320px; max-width: 380px; }
.notification-user-list { max-height: 420px; overflow-y: auto; }

/* Mr. Wolf guided customer-support widget */
.mr-wolf-widget {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1200;
    pointer-events: none;
}

.mr-wolf-launcher {
    position: relative;
    display: grid;
    width: 5.25rem;
    height: 5.25rem;
    padding: 0.1rem;
    place-items: center;
    overflow: hidden;
    pointer-events: auto;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff6a00, #0a2540 78%);
    box-shadow: 0 0.75rem 2rem rgba(10, 37, 64, 0.28), 0 0 0 0.35rem rgba(255, 106, 0, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mr-wolf-launcher:hover,
.mr-wolf-launcher:focus-visible {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 1rem 2.5rem rgba(10, 37, 64, 0.34), 0 0 0 0.5rem rgba(255, 106, 0, 0.18);
}

.mr-wolf-widget.is-open .mr-wolf-launcher {
    pointer-events: none;
    opacity: 0;
    transform: scale(0.72);
}

.mr-wolf-launcher img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mr-wolf-launcher-dot {
    position: absolute;
    right: 0.32rem;
    bottom: 0.38rem;
    width: 0.8rem;
    height: 0.8rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #20c66b;
}

.mr-wolf-panel {
    position: absolute;
    right: 0;
    bottom: 6.25rem;
    display: flex;
    flex-direction: column;
    width: min(23rem, calc(100vw - 2rem));
    max-height: min(36rem, calc(100vh - 7.25rem));
    overflow: hidden;
    pointer-events: auto;
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgba(10, 37, 64, 0.25);
    opacity: 0;
    transform: translateY(0.75rem) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mr-wolf-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mr-wolf-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #fff;
    background: linear-gradient(135deg, #0a2540, #123f67);
}

.mr-wolf-profile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.mr-wolf-profile img {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
    border: 2px solid #ff6a00;
    border-radius: 50%;
    background: #fff;
}

.mr-wolf-profile div {
    display: grid;
    gap: 0.1rem;
}

.mr-wolf-profile strong { font-size: 0.95rem; }
.mr-wolf-profile span { color: rgba(255, 255, 255, 0.72); font-size: 0.7rem; }

.mr-wolf-close {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    border-radius: 50%;
}

.mr-wolf-close:hover,
.mr-wolf-close:focus-visible { color: #0a2540; background: #fff; }

.mr-wolf-messages {
    display: grid;
    flex: 1 1 auto;
    gap: 0.65rem;
    min-height: 8rem;
    max-height: none;
    padding: 1rem;
    overflow-y: auto;
    background: #f8fafc;
}

.mr-wolf-message {
    max-width: 88%;
    padding: 0.65rem 0.75rem;
    color: #334155;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 0.85rem 0.85rem 0.85rem 0.2rem;
    font-size: 0.8rem;
    line-height: 1.45;
}

.mr-wolf-message--user {
    justify-self: end;
    color: #fff;
    background: #0a2540;
    border-radius: 0.85rem 0.85rem 0.2rem 0.85rem;
}

.mr-wolf-topic-list,
.mr-wolf-whatsapp-action {
    display: grid;
    flex: 0 0 auto;
    gap: 0.45rem;
    padding: 0 1rem 1rem;
    background: #f8fafc;
}

.mr-wolf-topic-list button,
.mr-wolf-whatsapp-action .btn {
    min-height: 2.3rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.mr-wolf-topic-list button {
    padding: 0.55rem 0.7rem;
    color: #0a2540;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-radius: 0.65rem;
}

.mr-wolf-topic-list button:hover,
.mr-wolf-topic-list button:focus-visible {
    color: #fff;
    background: #ff6a00;
    border-color: #ff6a00;
}

.mr-wolf-whatsapp-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 0.2rem;
}

.mr-wolf-whatsapp-action .btn-success { background: #16a34a; border-color: #16a34a; }
.mr-wolf-whatsapp-action .btn-link { color: #64748b; }

@media (max-width: 575.98px) {
    .mr-wolf-widget { right: 0.75rem; bottom: 0.75rem; }
    .mr-wolf-launcher { width: 4.5rem; height: 4.5rem; }
    .mr-wolf-panel { bottom: 5.35rem; width: calc(100vw - 1.5rem); }
}

/* Shared mobile-first interaction and layout polish */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

main,
main > *,
.container,
.container-fluid,
.row,
[class*="col-"] {
    min-width: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

.btn:not(.btn-close),
button:not(.btn-close),
input[type="submit"] {
    min-height: 2.75rem;
}

.btn-sm {
    min-height: 2.5rem;
}

.btn-icon {
    width: 2.75rem;
    height: 2.75rem;
}

.form-control,
.form-select,
input[type="file"] {
    min-height: 2.75rem;
    max-width: 100%;
}

textarea.form-control {
    min-height: 7rem;
}

.main-header .navbar-toggler {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.main-header .navbar-collapse {
    max-height: calc(100svh - 5.2rem);
    overflow-y: auto;
}

.main-header .marketplace-nav {
    align-items: stretch;
}

.main-header .marketplace-nav-link {
    min-height: 2.75rem;
}

.header-actions {
    flex-wrap: wrap;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: inherit;
}

.table-responsive > .table {
    min-width: 36rem;
}

.admin-overview,
.form-page {
    overflow-wrap: anywhere;
}

.dashboard-welcome-panel {
    flex-wrap: wrap;
}

.dashboard-welcome-panel > .btn,
.page-heading > .btn {
    flex: 0 1 auto;
}

.admin-panel-header {
    flex-wrap: wrap;
    gap: .65rem;
}

.form-shell {
    max-width: 72rem;
    margin-inline: auto;
    border: 1px solid rgba(10, 37, 64, .08);
    box-shadow: 0 .85rem 2rem rgba(10, 37, 64, .06);
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto 1.25rem;
}

.page-heading h1 {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.image-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    gap: .65rem;
    margin-top: .7rem;
}

.image-upload-preview:empty {
    display: none;
}

.image-upload-preview__item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, .1);
    border-radius: .75rem;
    background: #f8fafc;
}

.image-upload-preview__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.image-upload-preview__item figcaption {
    padding: .35rem .45rem;
    color: var(--text-muted);
    font-size: .68rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-loading {
    position: relative;
    cursor: wait !important;
    opacity: .78;
}

.is-loading::after {
    display: inline-block;
    width: .9rem;
    height: .9rem;
    margin-left: .35rem;
    vertical-align: -.12rem;
    content: '';
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ozi-spin .7s linear infinite;
}

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

.app-toast {
    border-left: .28rem solid var(--info);
}

.app-toast--success { border-left-color: var(--success); }
.app-toast--error,
.app-toast--danger { border-left-color: var(--danger); }
.app-toast--warning { border-left-color: var(--warning); }
.app-toast--info { border-left-color: var(--info); }

.app-toast-container {
    right: max(.75rem, env(safe-area-inset-right));
    left: auto;
}

.modal-dialog {
    width: auto;
    max-width: calc(100% - 1.5rem);
    margin-inline: auto;
}

.modal-content,
.dropdown-menu {
    overflow-wrap: anywhere;
}

@media (max-width: 1399.98px) {
    .header-actions {
        gap: .5rem;
        padding: .75rem 0 .25rem;
    }

    .header-actions > *,
    .header-actions .dropdown {
        max-width: 100%;
    }

    .main-header .navbar-collapse {
        padding-bottom: .5rem;
    }
}

/* Bootstrap's xxl navbar tier keeps the full header from squeezing at 1200px. */
@media (max-width: 1399.98px) {
    .main-header .navbar-expand-xxl .navbar-collapse:not(.show) {
        display: none;
    }

    .main-header .navbar-expand-xxl .navbar-toggler {
        display: block;
    }

    .main-header .navbar-expand-xxl .navbar-nav {
        flex-direction: column;
    }
}

@media (min-width: 1400px) {
    .main-header .navbar-expand-xxl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .main-header .navbar-expand-xxl .navbar-toggler {
        display: none;
    }

    .main-header .navbar-expand-xxl .navbar-nav {
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 1.25rem;
    }

    .dashboard-welcome-panel,
    .page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-welcome-panel > .btn,
    .page-heading > .btn,
    .form-shell > .btn,
    .product-purchase-actions > *,
    .product-cart-form {
        width: 100%;
    }

    .admin-panel-header h2 {
        margin-bottom: 0;
        font-size: 1.05rem;
    }

    .marketplace-filter {
        margin-bottom: .25rem;
    }

    .marketplace-filter .btn,
    .marketplace-newsletter-form .btn {
        width: 100%;
    }

    .product-cart-form {
        display: grid !important;
        grid-template-columns: minmax(5rem, 7rem) minmax(0, 1fr);
    }

    .product-cart-form .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .marketplace-header-utility .container {
        justify-content: center !important;
    }

    .marketplace-header-utility .container span:not(:first-child) {
        display: none;
    }

    .navbar {
        padding: .55rem 0;
    }

    .marketplace-logo {
        height: 30px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .header-actions {
        align-items: stretch;
    }

    .header-actions > a,
    .header-actions > .dropdown,
    .header-actions > form {
        flex: 1 1 auto;
    }

    .header-actions > a.btn,
    .header-actions > .dropdown > .btn,
    .header-actions > form .btn {
        width: 100%;
    }

    .table-responsive > .table {
        min-width: 32rem;
    }

    .app-toast-container {
        top: max(.35rem, env(safe-area-inset-top));
        right: 0;
        left: 0;
        width: 100%;
        max-width: none;
        padding: .65rem !important;
    }

    .app-toast {
        width: 100%;
        min-width: 0;
    }

    .modal-dialog {
        max-width: calc(100% - 1rem);
        margin: .5rem auto;
    }

    .product-card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .35rem;
    }

    .product-card-actions:has(> a:only-child) {
        grid-template-columns: 1fr;
    }

    .product-card-actions form,
    .product-card-actions .btn {
        min-width: 0;
    }

    .product-card-actions .btn {
        min-height: 2.25rem;
        padding: .3rem .25rem;
        font-size: .78rem;
    }

    .product-card-actions .btn span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .is-loading::after {
        animation: none;
    }

    .product-card-condition--new {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .product-card .card-body {
        padding: .7rem .65rem;
    }

    .product-card h3 {
        display: -webkit-box;
        min-height: 2.25rem;
        max-height: 2.25rem;
        margin-bottom: .45rem;
        overflow: hidden;
        font-size: .86rem;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-card-description {
        min-height: 2.05rem;
        max-height: 2.05rem;
        margin: 0 0 .55rem;
        font-size: .7rem;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .product-card-footer {
        gap: .55rem;
    }

    .product-card-price strong {
        font-size: .92rem;
    }

    .product-card-price del {
        font-size: .66rem;
    }
}

/* Compact two-sided language control: Swahili on the left, English on the right. */
.language-toggle-form {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0;
}

.language-toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: auto 2.35rem auto;
    align-items: center;
    gap: .28rem;
    min-width: 5.5rem;
    min-height: 2.75rem;
    padding: .25rem .35rem;
    color: var(--secondary);
    background: #fff;
    border: 1px solid rgba(10, 37, 64, .15);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(10, 37, 64, .08);
    cursor: pointer;
}

.language-toggle__label {
    font-size: .62rem;
    font-weight: 800;
    line-height: 1;
}

.language-toggle__label--sw { color: var(--secondary); }
.language-toggle__label--en { color: var(--primary); }

.language-toggle__track {
    position: relative;
    display: block;
    width: 2.35rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #dbe5ef;
}

.language-toggle__thumb {
    position: absolute;
    top: .15rem;
    left: .15rem;
    width: .95rem;
    height: .95rem;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 2px 5px rgba(10, 37, 64, .25);
    transition: transform .2s ease, background-color .2s ease;
}

.language-toggle.is-english .language-toggle__thumb {
    background: var(--primary);
    transform: translateX(1.1rem);
}

.language-toggle.is-swahili .language-toggle__thumb {
    transform: translateX(0);
}

.language-toggle:hover,
.language-toggle:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(255, 106, 0, .12);
    outline: none;
}

.header-cart-link {
    position: relative;
    z-index: 1005;
    isolation: isolate;
}

.header-cart-link .cart-count {
    z-index: 1006;
    min-width: 1.25rem;
    min-height: 1.25rem;
    padding: .2rem .35rem;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(10, 37, 64, .25);
    line-height: 1;
}

@media (max-width: 575.98px) {
    .header-actions > .language-toggle-form {
        flex: 0 0 auto;
        width: auto;
    }

    .header-actions > .language-toggle-form .language-toggle {
        width: auto;
    }

    .header-actions > .header-cart-link {
        flex: 0 0 2.75rem;
        width: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .language-toggle__thumb {
        transition: none;
    }
}

/* Hero slide indicators: preserve touch targets while keeping the visible marks small. */
.marketplace-hero-indicators.carousel-indicators {
    position: absolute;
    right: auto;
    bottom: .35rem;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 1rem);
    min-height: 2.75rem;
    margin: 0;
    padding: .12rem .25rem;
    gap: .08rem;
    transform: translateX(-50%);
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 4;
}

.marketplace-hero-indicators.carousel-indicators [data-bs-target] {
    position: relative;
    display: inline-flex;
    flex: 0 0 2.5rem;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.75rem;
    min-height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    opacity: 1;
    text-indent: -9999px;
}

.marketplace-hero-indicators.carousel-indicators [data-bs-target]::before {
    width: .48rem;
    height: .48rem;
    content: '';
    border-radius: 999px;
    background: var(--marketplace-blue);
    opacity: .34;
    transition: width .2s ease, background-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.marketplace-hero-indicators.carousel-indicators [data-bs-target].active::before {
    width: 1.2rem;
    background: var(--marketplace-orange);
    border: 2px solid #fff;
    box-sizing: border-box;
    opacity: 1;
}

.marketplace-hero-indicators.carousel-indicators [data-bs-target]:focus-visible {
    outline: 3px solid rgba(255, 106, 0, .35);
    outline-offset: -1px;
}

@media (max-width: 575.98px) {
    .marketplace-hero-indicators.carousel-indicators {
        gap: 0;
        padding-inline: .18rem;
    }

    .marketplace-hero-indicators.carousel-indicators [data-bs-target] {
        flex-basis: 2.35rem;
        width: 2.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketplace-hero-indicators.carousel-indicators [data-bs-target]::before {
        transition: none;
    }
}

/* Give the hero content and indicators extra breathing room on the right and bottom. */
.marketplace-home-hero {
    padding-right: clamp(.75rem, 3vw, 2.5rem);
    padding-bottom: 4rem;
}

@media (max-width: 575.98px) {
    .marketplace-home-hero {
        padding-right: .75rem;
        padding-bottom: 3.25rem;
    }
}

/* Home-page FAQ: compact, readable, and comfortable on touch screens. */
.marketplace-faq-section {
    background: #f8fafc;
}

.marketplace-faq {
    max-width: 58rem;
    margin-inline: auto;
}

.marketplace-faq .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, .12);
    border-radius: .85rem;
    background: #fff;
}

.marketplace-faq .accordion-item + .accordion-item {
    margin-top: .75rem;
}

.marketplace-faq .accordion-button {
    min-height: 3.25rem;
    padding: 1rem 1.15rem;
    color: var(--marketplace-blue);
    font-weight: 700;
    background: #fff;
    box-shadow: none;
}

.marketplace-faq .accordion-button:not(.collapsed) {
    color: var(--marketplace-blue);
    background: #fff7ed;
    box-shadow: inset 0 -1px 0 rgba(10, 37, 64, .08);
}

.marketplace-faq .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 106, 0, .14);
}

.marketplace-faq .accordion-body {
    padding: 0 1.15rem 1rem;
    color: var(--marketplace-muted, #64748b);
    font-size: .9rem;
    line-height: 1.6;
}
