/**
 * APMFI Theme – Page-Specific Styles
 *
 * @package APMFI_Theme
 */
/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
}
.hero-slide {
    min-height: 35dvw;max-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
}
.hero-slide-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-slide:not([style])::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(184,0,15,.2) 0%, rgba(26,26,26,.7) 100%);
}
.hero-content { 
    position: relative;
    z-index: 1;
    color: #fff;
    width: 100%;
    border-radius: 20px 0 20px 0;
    padding: 0.5rem 2rem;
}
.hero-slide .container-fluid { position: relative; z-index: 1; }

.btn-hero-primary {
    background: #fff;
    color: var(--color-primary) !important;
    border: 2px solid #fff;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .5px;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    background: var(--color-primary);
    color: #fff !important;
    border-color: rgba(255,255,255,.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-hero-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.65);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: .92rem;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-nav-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: background .2s, border-color .2s;
}
.hero-indicators{
    justify-content: end;
    margin-right: 5%;
}
.hero-indicators button {
    width: 15px !important; 
    height: 15px !important;
    border-radius: 2px;
    background: rgba(255,255,255,.4);
    border: none;
    margin: 0 3px;
    transition: background .2s, width .2s;
}
.hero-indicators button.active { width: 15px; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}
.hero-title {
    max-width: 90%;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0,0,0,.3);
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.9);
    max-width: 90%;
    text-overflow: ellipsis;
    margin: 0;
}
.hero-actions .btn { margin-right: 12px; margin-bottom: 10px; }
.hero-slide-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: none;
}
.video{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: none;
    pointer-events: none;
     user-select: none;
    -webkit-user-select: none;
}
.hero-slide-image{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Hero text position variants */
.hero-content--left   { margin-right: auto; margin-left: 0; text-align: left; }
.hero-content--center { margin-left: auto;  margin-right: auto; text-align: center; }
.hero-content--right  { margin-left: auto;  margin-right: 0; text-align: right; }

.carousel-indicators button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
}
.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 100%;
    top: 50%; transform: translateY(-50%);
    opacity: 1;
    transition: background var(--transition-fast);
}
.carousel-control-prev-icon, .carousel-control-next-icon { width: 20px; height: 20px; }

/* ── Quick Stats Bar ── */
.quick-stats-bar {
    background: var(--color-primary);
    padding: 0;
    color: #fff;
    border-top: none;
    border-bottom: none;
}
.stat-item {
    padding: 6px;
    border-right: 1px solid rgba(255,255,255,.15);
    transition: background .2s;
}
.stat-item:hover { background: rgba(0,0,0,.08); }
.stat-number {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.stat-icon {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
}
.stat-label {
    font-size: .9rem;
    text-transform: uppercase;
    color: #fff;
    display: block;
    margin-top: 4px;
}

/* ── CTA Section ── */
.cta-section {
    background: var(--color-primary) !important;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.15) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50% 15%;
    border: 60px solid rgba(255,255,255,.06);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-title { color: #fff !important; }
.cta-section p { color: rgba(255,255,255,.85); }
.cta-section .btn-light {
    background: #fff;
    color: var(--color-primary) !important;
    border: none;
    font-weight: 700;
    padding: 11px 28px;
}
.cta-section .btn-light:hover { opacity: 0.8; }

/* ── Loan Calculator ── */
#loan-calculator { background: #f8f8f8 !important; }
.loan-calculator-box {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 6px 28px rgba(0,0,0,.06);
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--color-primary);
    font-size: 1rem;
}

.calc-result-box {
    background: var(--color-primary);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    text-align: center;
}
#calcResults .col-md-4:nth-child(2) .calc-result-box { background: var(--color-primary-dark); }
#calcResults .col-md-4:nth-child(3) .calc-result-box { background: #1a1a1a; }
.calc-result-label {
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}
.calc-result-value {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    display: block;
}

/* ── Float Loan Calculator ── */
.float-calc-wrap {
    position: fixed;
    bottom: 10px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}
.float-calc-toggle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(184,0,15,.45);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.float-calc-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(184,0,15,.55);
}
.float-calc-toggle .float-calc-icon-open,
.float-calc-toggle .float-calc-icon-close { font-size: 1.1rem; line-height: 1; }
.float-calc-toggle .float-calc-label {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
}
.float-calc-toggle .float-calc-icon-close { display: none; }
.float-calc-wrap.is-open .float-calc-icon-open  { display: none; }
.float-calc-wrap.is-open .float-calc-icon-close { display: block; }
.float-calc-wrap.is-open .float-calc-label      { display: none; }

.float-calc-panel {
    position: absolute;
    bottom: 60px; right: 0;
    width: 280px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0,0,0,.18);
    border: 1.5px solid var(--color-border);
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px) scale(.97);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 10;
}
.float-calc-wrap.is-open .float-calc-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.float-calc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #fff;
    padding: 12px 16px;
    font-size: .88rem;
    font-weight: 700;
}
.float-calc-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    cursor: pointer;
    font-size: .9rem;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}
.float-calc-close:hover { color: #fff; }
.float-calc-body { padding: 10px; }
.fc-field { margin-bottom: 8px; }
.fc-field label {
    font-size: .76rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.fc-rate-val { font-weight: 700; color: var(--color-primary); font-size: .82rem; }
.fc-field .form-control,
.fc-field .form-select {
    font-size: .85rem;
    border-color: var(--color-border);
    border-radius: 6px;
}
.fc-field .form-control:focus,
.fc-field .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(184,0,15,.12);
}
.fc-field .form-range { accent-color: var(--color-primary); }
.fc-result {
    background: var(--color-off-white);
    border-radius: 8px;
    padding: 4px 14px;
    border: 1px solid var(--color-border);
}
.fc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    padding: 3px 0;
    border-bottom: 1px solid var(--color-border);
}
.fc-result-row:last-child { border-bottom: none; }
.fc-result-row span { color: var(--color-text-muted); }
.fc-result-row strong { color: var(--color-primary); font-size: .88rem; }

/* ── Contact Page ── */
.contact-info-card {
    background: var(--color-primary);
    border-radius: 16px;
    padding: 36px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,.06);
    pointer-events: none;
}
.contact-info-heading { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.contact-info-sub { color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.65; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon {
    width: 38px; height: 38px; min-width: 38px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: #fff;
}
.contact-label { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.contact-text { font-size: .88rem; color: rgba(255,255,255,.9); }
.contact-text a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.contact-text a:hover { text-decoration-color: #fff; }
.contact-map-link { font-size: .78rem; color: rgba(255,255,255,.7); text-decoration: none; display: inline-block; margin-top: 4px; transition: color .15s; }
.contact-map-link:hover { color: #fff; }
.contact-divider { border: none; border-top: 1px solid rgba(255,255,255,.15); margin: 20px 0; }
.contact-social-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.contact-social .footer-social a {
    width: 34px; height: 34px;
    font-size: .82rem;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.3);
    color: #fff;
}
.contact-social .footer-social a:hover { background: #fff; border-color: #fff; color: var(--color-primary); transform: translateY(-2px); }

.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--color-primary);
}
.contact-submit-note { font-size: .78rem; }

/* ── Branches / Map ── */
.branches-section { background: #fff; }
.branch-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid #eaeaea;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.branch-card:hover, .branch-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(184,0,15,.1);
    background: rgba(184,0,15,.02);
}
.branch-card-icon {
    width: 40px; height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(184,0,15,.3);
}
.branch-name { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.branch-address { font-size: .80rem; color: var(--color-mid-gray); }
#branch-map { height: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ── Branch Enhanced Layout ── */
.branch-map-layout {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.1);
    border: 1px solid #eaeaea;
}
.branch-list-col {
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 560px;
}
.branch-list-controls {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}
.branch-search-wrap { position: relative; margin-bottom: 10px; }
.branch-search-icon {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: .85rem;
    pointer-events: none;
}
.branch-search-input {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 12px 9px 34px;
    font-size: .88rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.branch-search-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(184,0,15,.1); }

.branch-type-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.branch-type-tab {
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    color: #555;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.branch-type-tab:hover { background: rgba(184,0,15,.08); color: var(--color-primary); }
.branch-type-tab.active { background: var(--color-primary); color: #fff; }
.branch-type-count { background: rgba(255,255,255,.3); border-radius: 10px; padding: 1px 6px; font-size: .68rem; }
.branch-type-tab:not(.active) .branch-type-count { background: rgba(0,0,0,.08); color: inherit; }
.branch-result-count { font-size: .74rem; color: #888; text-transform: uppercase; letter-spacing: .8px; }

.branch-list-scroll {
    overflow-y: auto;
    flex: 1;
    padding: 8px;
    max-height: 440px;
    scrollbar-width: thin;
    scrollbar-color: rgba(184,0,15,.3) #f5f5f5;
}
.branch-list-scroll::-webkit-scrollbar       { width: 5px; }
.branch-list-scroll::-webkit-scrollbar-track { background: #f5f5f5; }
.branch-list-scroll::-webkit-scrollbar-thumb { background: rgba(184,0,15,.3); border-radius: 4px; }

.branch-list-item {
    display: flex;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .15s;
    margin-bottom: 4px;
    border: 1.5px solid transparent;
    position: relative;
}
.branch-list-item:hover { background: rgba(184,0,15,.04); border-color: rgba(184,0,15,.12); }
.branch-list-item.active { background: rgba(184,0,15,.07); border-color: var(--color-primary); }
.branch-list-item.hidden,
.branch-list-item[style*="display: none"] { display: none !important; }

.bli-icon {
    width: 36px; height: 36px; min-width: 36px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    margin-top: 2px;
    box-shadow: 0 3px 8px rgba(184,0,15,.3);
}
.branch-list-item.active .bli-icon { box-shadow: 0 4px 14px rgba(184,0,15,.5); }
.bli-body { flex: 1; min-width: 0; }
.bli-name {
    font-weight: 700;
    font-size: .9rem;
    color: #1a1a1a;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.branch-list-item.active .bli-name { color: var(--color-primary); }
.bli-type-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 5px;
    background: rgba(184,0,15,.1);
    color: var(--color-primary);
}
.bli-type-badge.bli-type-head-office { background: rgba(184,0,15,.15); }
.bli-row { display: flex; align-items: flex-start; gap: 6px; font-size: .78rem; color: #666; margin-bottom: 3px; line-height: 1.4; }
.bli-row i { color: var(--color-primary); font-size: .72rem; margin-top: 2px; width: 13px; flex-shrink: 0; }
.bli-row a { color: var(--color-primary); }
.bli-directions {
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    background: rgba(184,0,15,.08);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: .75rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s, background .15s;
}
.branch-list-item:hover .bli-directions,
.branch-list-item.active .bli-directions { opacity: 1; }
.bli-directions:hover { background: var(--color-primary); color: #fff; }
.branch-no-results { text-align: center; padding: 40px 20px; color: #aaa; }
.branch-no-results i { font-size: 2rem; display: block; margin-bottom: 10px; }
.branch-map-col { position: relative; }
.branch-map-canvas { height: 560px; width: 100%; background: #eee; }

.branch-map-popup {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    border-left: 4px solid var(--color-primary);
    z-index: 1000;
    animation: popupSlideUp .25s ease;
}
@keyframes popupSlideUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.bmp-close { position: absolute; top: 10px; right: 10px; background: none; border: none; cursor: pointer; color: #aaa; font-size: .85rem; padding: 4px; }
.bmp-close:hover { color: var(--color-primary); }
.bmp-name { font-weight: 700; font-size: 1rem; color: var(--color-primary); margin-bottom: 2px; padding-right: 20px; }
.bmp-type { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 8px; }
.bmp-body { font-size: .82rem; }
.bmp-row { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; color: #555; }
.bmp-row i { color: var(--color-primary); width: 13px; flex-shrink: 0; margin-top: 2px; font-size: .75rem; }
.bmp-row a { color: var(--color-primary); }
.bmp-dir {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}
.bmp-dir:hover { background: var(--color-primary-dark); color: #fff; }

/* ── Branch Location Shortcode ── */
.apmfi-branch-location {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    font-size: .9rem;
}
.apmfi-bl-heading { font-weight: 700; color: var(--color-primary); margin-bottom: 12px; font-size: 1rem; }
.apmfi-bl-name { font-weight: 700; font-size: .95rem; color: #1a1a1a; margin-bottom: 8px; }
.apmfi-bl-type { font-weight: 400; font-size: .78rem; color: #888; margin-left: 6px; }
.apmfi-bl-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; color: #555; font-size: .86rem; line-height: 1.5; }
.apmfi-bl-row i { color: var(--color-primary); margin-top: 3px; width: 14px; flex-shrink: 0; font-size: .82rem; }
.apmfi-bl-row a { color: var(--color-primary); }
.apmfi-bl-row a:hover { text-decoration: underline; }
.apmfi-bl-map { width: 100%; height: 220px; border-radius: 8px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--color-border); background: #eee; }
.apmfi-branch-compact { font-size: .88rem; color: #555; }
.apmfi-branch-inline  { font-size: .88rem; color: #555; }
/* ── Breadcrumb Image ── */
.breadcrumb-img{
    min-width: 100dvw;
    max-height: 450px;
}
/* ── Single Product ── */
.single-apmfi_product .btn-outline-secondary { border-color: var(--color-primary); color: var(--color-primary); }
.single-apmfi_product .btn-outline-secondary:hover { background: var(--color-primary); color: #fff; }

/* ── Promotion Single ── */

.promo-expired-alert { background: #f8f8f8; border-left: 4px solid #aaa; color: #666; border-radius: 0 6px 6px 0; }
.promo-terms-box { background: #f8f8f8; border-left: 4px solid var(--color-primary); border-radius: 0 8px 8px 0; }
.promo-benefit-box { background: rgba(184,0,15,.05); border: 1px dashed rgba(184,0,15,.25); }

/* ── Leaflet Overrides ── */
.leaflet-popup-content-wrapper { border-radius: var(--radius-md) !important; box-shadow: var(--shadow-lg) !important; }
.leaflet-popup-tip { background: #fff !important; }

/* ── Vendor Slider ── */
.carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 90px;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    cursor: grab;
}
.carousel-wrapper:active {
    cursor: grabbing;
}
.marquee {
    display: flex;
    gap: 0.7rem;
    will-change: transform;
}
.vendor-card {
    min-width: 150px;
    flex-shrink: 0;
    border-radius: 1rem;
    padding: 1.5rem 0;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(20, 20, 20, 0.1);
    pointer-events: none;
}
.logo-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vendor-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vendor-name {
    color: var(--color-primary);
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.vendor-type {
    color: #94a3b8;
    font-size: 0.7rem;
}
@media (max-width: 768px) {
    .carousel-wrapper
    {
        margin: 0px;
    }
    .vendor-card {
        min-width: 120px;
        width: 100px;
        padding: 0.5rem;
    }
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    .marquee{
        gap: 0.5rem;
    }
}

