/* ==========================================================================
   FreshMart Frontend - Global Custom Theme & Navigation Stylesheet
   Location: public/frontend/assets/css/frontend-custom.css
   ========================================================================== */

/* Faint / subtle / hazy placeholders ("japsa") */
::placeholder,
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0.1px !important;
}

body {
    background-color: var(--body-bg-color, #f8fafc) !important;
    color: var(--text-main, #0f172a);
}

.top-bar {
    background-color: #09090b !important;
    color: #ffffff !important;
}

/* Dynamic Navbar Header */
.main-site-navbar {
    background-color: var(--brand-primary, #09090b) !important;
    background: var(--brand-primary, #09090b) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: background-color 0.25s ease;
}
.main-site-navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    transition: all 0.2s ease;
}
.main-site-navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    opacity: 0.88;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}
.main-site-navbar .navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}
.main-site-navbar .navbar-nav .nav-link i {
    color: #ffffff !important;
    opacity: 0.95;
}
.main-site-navbar .navbar-search .form-control {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}
.main-site-navbar .navbar-search .btn-dark {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #ffffff !important;
}
.main-site-navbar a.btn-dark {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}
.main-site-navbar a.btn-dark:hover {
    background-color: rgba(255, 255, 255, 0.28) !important;
}
.main-site-navbar a.btn-dark i {
    color: #ffffff !important;
}
.main-site-navbar .bagdoom-hamburger-icon span {
    background-color: #ffffff !important;
}
.main-site-navbar .mobile-icon-box {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.main-site-navbar .mobile-icon-box i {
    color: #ffffff !important;
}

/* Dynamic Order Now Buttons */
.btn-order-now,
.btn-order-amber,
.polo-product-card .btn-order-amber,
.polo-product-card .btn-order-now {
    background-color: var(--order-btn-bg, var(--brand-primary, #09090b)) !important;
    background: var(--order-btn-bg, var(--brand-primary, #09090b)) !important;
    color: var(--order-btn-text, #ffffff) !important;
    border-color: var(--order-btn-bg, var(--brand-primary, #09090b)) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}
.btn-order-now:hover,
.btn-order-amber:hover,
.polo-product-card .btn-order-amber:hover,
.polo-product-card .btn-order-now:hover {
    background-color: var(--order-btn-hover, var(--brand-primary, #09090b)) !important;
    background: var(--order-btn-hover, var(--brand-primary, #09090b)) !important;
    color: var(--order-btn-text, #ffffff) !important;
    opacity: 0.93;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
}

/* Footer Styling */
.site-footer {
    background-color: var(--brand-footer-bg, #09090b) !important;
    color: var(--footer-text-color, #ffffff) !important;
}
.site-footer p,
.site-footer span:not(.badge),
.site-footer li,
.site-footer .text-white {
    color: var(--footer-text-color, #ffffff) !important;
}
.site-footer a:not(.btn) {
    color: var(--footer-text-color, #ffffff) !important;
    opacity: 0.85;
}
.site-footer a:not(.btn):hover {
    opacity: 1;
    text-decoration: underline !important;
}
.site-footer .text-white-50 {
    color: var(--footer-text-color, #ffffff) !important;
    opacity: 0.72 !important;
}
.site-footer .footer-heading,
.site-footer .footer-cta-title {
    color: var(--footer-text-color, #ffffff) !important;
}

/* Brand Button Classes */
.btn-dark {
    background-color: var(--brand-primary, #09090b) !important;
    border-color: var(--brand-primary, #09090b) !important;
    color: #ffffff !important;
}
.btn-dark:hover {
    opacity: 0.92;
    background-color: var(--primary-hover, #27272a) !important;
    border-color: var(--primary-hover, #27272a) !important;
}
.btn-outline-dark {
    color: var(--brand-primary, #09090b) !important;
    border-color: var(--brand-primary, #09090b) !important;
}
.btn-outline-dark:hover {
    background-color: var(--brand-primary, #09090b) !important;
    color: #ffffff !important;
}
.btn-danger, .badge.bg-danger {
    background-color: var(--brand-accent, #f43f5e) !important;
    border-color: var(--brand-accent, #f43f5e) !important;
}
.btn-danger:hover {
    background-color: var(--brand-accent-hover, #e11d48) !important;
    border-color: var(--brand-accent-hover, #e11d48) !important;
}
.text-danger, a.text-danger, .nav-link.active.text-danger {
    color: var(--brand-accent, #f43f5e) !important;
}
.border-danger {
    border-color: var(--brand-accent, #f43f5e) !important;
}
.text-primary-brand {
    color: var(--brand-primary, #09090b) !important;
}

/* Size Pill Buttons */
.size-pill-btn {
    min-width: 48px;
    height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: 2px solid var(--brand-primary, #09090b) !important;
    background-color: #ffffff;
    color: var(--brand-primary, #09090b);
    cursor: pointer;
}
.size-pill-btn:hover {
    background-color: #f1f5f9;
    color: var(--brand-primary, #09090b);
    border-color: var(--brand-primary, #09090b) !important;
}
.size-pill-btn.active {
    background-color: var(--brand-primary, #09090b) !important;
    color: #ffffff !important;
    border-color: var(--brand-primary, #09090b) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Right-Side Flat Toast Notification (Zero Border-Radius, Screenshot Match #5bb75b) */
.top-floating-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto !important;
    transform: none !important;
    z-index: 99999999;
    pointer-events: none;
}
.top-toast-card {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5bb75b; /* Screenshot vibrant green */
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 0 !important; /* ZERO RADIUS */
    border: none !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    min-width: 220px;
    max-width: 90vw;
    animation: toastSlideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.top-toast-card.toast-danger,
.top-toast-card.toast-error {
    background-color: #d9534f !important; /* Flat Solid Red for Delete / Errors */
    color: #ffffff !important;
    border-left: none !important;
}
.top-toast-card.toast-success {
    background-color: #5bb75b !important; /* Screenshot Green for Add / Update */
    color: #ffffff !important;
    border-left: none !important;
}
.top-toast-card.toast-warning {
    background-color: #f0ad4e !important;
    color: #ffffff !important;
    border-left: none !important;
}
.top-toast-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    flex-shrink: 0;
}
.top-toast-content {
    color: #ffffff !important;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.top-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0 0 0 10px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.top-toast-close:hover {
    color: #ffffff;
}
@keyframes toastSlideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastSlideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(60px); }
}

@media (max-width: 576px) {
    .top-floating-toast {
        top: 12px;
        right: 12px;
    }
    .top-toast-card {
        padding: 10px 16px;
        font-size: 0.88rem;
        max-width: calc(100vw - 24px);
        min-width: 180px;
    }
}

/* ---------------- Mobile Bagdoom Style Header ---------------- */
.mobile-header-row {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    height: 44px;
    padding: 0;
    margin: 0;
}
.mobile-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 40px;
    flex-shrink: 0;
}
.mobile-hamburger-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    line-height: 1;
}
.bagdoom-hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 15px;
}
.bagdoom-hamburger-icon span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #0f172a;
    border-radius: 2px;
}
.mobile-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    height: 100%;
    padding: 0 4px;
}
.mobile-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mobile-logo-img {
    max-height: 32px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    display: block;
}
.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    height: 100%;
}
.mobile-icon-box {
    width: 38px;
    height: 38px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 1.05rem;
    text-decoration: none !important;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.mobile-icon-box:hover, .mobile-icon-box:active {
    background-color: #e2e8f0;
    color: #0f172a;
}
.mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e11d48;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    line-height: 1;
}
.mobile-menu-offcanvas {
    width: 320px !important;
    max-width: 85vw !important;
}

/* ---------------- PC Desktop Pure Hover 4-Column Mega Menu ---------------- */
@media (min-width: 992px) {
    .navbar > .container {
        position: relative !important;
    }
    .mega-category-dropdown {
        position: static !important;
    }
    .mega-category-dropdown .dropdown-mega-menu {
        display: none;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 100% !important;
        width: 960px !important;
        max-width: calc(100% - 40px) !important;
        margin-top: 0 !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16) !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        border-radius: 20px !important;
        z-index: 1060 !important;
        pointer-events: auto !important;
    }
    .mega-category-dropdown .dropdown-mega-menu::before {
        content: '';
        position: absolute;
        top: -24px;
        left: 0;
        right: 0;
        height: 24px;
        background: transparent;
        pointer-events: auto;
    }
    .mega-category-dropdown:hover > .dropdown-mega-menu,
    .dropdown-mega-menu:hover {
        display: block !important;
        animation: megaFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 6px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.mega-menu-heading {
    font-size: 0.82rem;
    letter-spacing: 1.2px;
    color: #0f172a;
    font-weight: 700;
}
.mega-menu-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.mega-menu-cat-item:hover,
.mega-menu-cat-item.active {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}
.mega-menu-cat-item.active .cat-name-text {
    color: #e11d48 !important;
    font-weight: 700 !important;
}
.mega-menu-cat-item:hover .cat-name-text {
    color: #0f172a !important;
}
.mega-sub-category-pane {
    display: none;
}
.mega-sub-category-pane.active {
    display: block;
    animation: fadeInPane 0.18s ease;
}
@keyframes fadeInPane {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mega-menu-link {
    display: inline-block;
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s ease;
}
.mega-menu-link:hover {
    color: #0f172a;
    transform: translateX(3px);
}
.mega-promo-card {
    background: linear-gradient(155deg, #18181b 0%, #09090b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-promo-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
    font-size: 0.65rem !important;
    letter-spacing: 1px;
}
.bullet-dot {
    color: #e11d48;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 0.8;
    margin-right: 6px;
    vertical-align: middle;
}
.mega-promo-btn {
    font-size: 0.78rem !important;
    letter-spacing: 0.5px;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.mega-promo-btn:hover {
    transform: translateY(-2px);
    background-color: #f8fafc !important;
}

/* ----------------------------------------------------
   Mobile Bottom Navigation Bar Styles (Mobile Only)
---------------------------------------------------- */
@media (max-width: 768px) {
    body {
        padding-bottom: 64px !important;
    }
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 56px;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.07);
        z-index: 99999;
    }
    .mobile-bottom-nav-inner {
        height: 100%;
        padding: 0 4px;
        position: relative;
    }
    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #0f172a;
        padding: 4px 0;
        transition: transform 0.15s ease, color 0.15s ease;
    }
    .mobile-nav-item:active {
        transform: scale(0.94);
    }
    .mobile-nav-item.active {
        color: var(--brand-primary, #09090b);
    }
    .mobile-nav-item.active .nav-icon-wrap svg {
        stroke: var(--brand-primary, #09090b);
    }
    .nav-icon-wrap {
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0f172a;
    }
    .nav-icon-wrap.circle-icon {
        width: 22px;
        height: 22px;
        border: 1.8px solid #0f172a;
        border-radius: 50%;
        font-size: 0.75rem;
    }
    .nav-label {
        font-size: 0.64rem;
        font-weight: 700;
        margin-top: 2px;
        letter-spacing: 0.2px;
        line-height: 1.1;
        color: #0f172a;
    }
    .mobile-nav-item.center-pill-item {
        position: relative;
        overflow: visible;
    }
    .btn-live-chat-pill {
        position: relative;
        top: -12px;
        background-color: var(--brand-primary, #09090b) !important;
        color: #ffffff !important;
        border: none;
        border-radius: 14px;
        padding: 6px 14px;
        font-weight: 800;
        font-size: 0.68rem;
        letter-spacing: 0.6px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .btn-live-chat-pill:active {
        transform: scale(0.92);
    }
    .live-pulse-dot {
        display: inline-block;
        width: 6px;
        height: 6px;
        background-color: #22c55e;
        border-radius: 50%;
        margin-bottom: 2px;
        box-shadow: 0 0 6px #22c55e;
        animation: livePulseAnim 1.6s infinite;
    }
    @keyframes livePulseAnim {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
        70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    }
    .live-dot-green {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #22c55e;
        border-radius: 50%;
        box-shadow: 0 0 6px #22c55e;
    }
    .contact-channel-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .contact-channel-card:hover,
    .contact-channel-card:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
    }
    .channel-icon-badge {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
}
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ========================================================
   MODERN CUSTOMER LOGIN EXPERIENCE
   ======================================================== */
.modern-login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1rem;
    background: radial-gradient(circle at 50% 15%, rgba(239, 68, 68, 0.05) 0%, rgba(248, 250, 252, 1) 100%);
}
.modern-login-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.modern-login-header {
    background: linear-gradient(135deg, #09090b 0%, #1e1b4b 100%);
    padding: 2.25rem 2rem 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
}
.login-avatar-glow {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.login-input-group .input-group-text {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    border-radius: 12px 0 0 12px;
    font-size: 1.05rem;
}
.login-input-group .form-control {
    border-color: #e2e8f0;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
}
.login-input-group .form-control:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.btn-toggle-password {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 0;
    color: #64748b;
    border-radius: 0 12px 12px 0;
    padding: 0 0.85rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.btn-toggle-password:hover {
    color: #0f172a;
}
.btn-login-submit {
    background: linear-gradient(135deg, #09090b 0%, #1f2937 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn-login-submit:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.3);
}
.login-trust-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    color: #475569;
}

/* ==========================================================================
   Dynamic Live Instant Search Dropdown
   ========================================================================== */
.live-search-wrapper {
    position: relative;
    width: 100%;
}
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 100%;
    min-width: 320px;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    z-index: 999999;
    max-height: 440px;
    overflow-y: auto;
    display: none;
}
@media (max-width: 991.98px) {
    .live-search-dropdown {
        left: 0 !important;
        right: 0 !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}
.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.live-search-item:last-child {
    border-bottom: none;
}
.live-search-item:hover,
.live-search-item:focus {
    background-color: #f8fafc;
    color: #0f172a;
}
.live-search-item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    background-color: #f8fafc;
}
.live-search-item .info {
    flex-grow: 1;
    min-width: 0;
}
.live-search-item .product-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.live-search-item:hover .product-name {
    color: #ef4444;
}
.live-search-item .product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}
.live-search-item .product-price {
    font-weight: 700;
    color: #0f172a;
}
.live-search-item .product-price.sale {
    color: #dc2626;
}
.live-search-item .product-del {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.live-search-item .product-badge {
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 4px;
    background-color: #f1f5f9;
    color: #64748b;
    font-weight: 500;
}
.live-search-footer {
    display: block;
    padding: 10px 14px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ef4444;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.live-search-footer:hover {
    background-color: #fef2f2;
    color: #b91c1c;
}
.live-search-empty,
.live-search-loading {
    padding: 22px 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Footer Bottom Payment Methods Strip & Developer Info
   ========================================================================== */
.footer-bottom-strip {
    transition: background-color 0.2s ease;
}
.payment-card-badge {
    background: #ffffff;
    border-radius: 5px;
    padding: 3px 8px;
    height: 32px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
    user-select: none;
}
.payment-card-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.payment-strip-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    font-weight: 300;
    padding: 0 4px;
    user-select: none;
}

/* ==========================================================================
   ✨ ULTRA-SMART PROFESSIONAL MULTILINGUAL TYPOGRAPHY SYSTEM
   Modern Streetwear & Luxury E-Commerce Grade Font Architecture
   ========================================================================== */

/* 1. Global Font Stacking & Anti-Aliasing */
:root {
    --fm-font-sans: 'Plus Jakarta Sans', 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --fm-font-display: 'Outfit', 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    --fm-font-numbers: 'Outfit', 'Plus Jakarta Sans', 'Inter', sans-serif;
}

html, body {
    font-family: var(--fm-font-sans) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    letter-spacing: -0.011em;
}

/* 2. Professional Headings & Section Titles */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.section-title-clean,
.font-streetwear,
.brand-title {
    font-family: var(--fm-font-display);
    letter-spacing: -0.025em;
    font-weight: 700;
    line-height: 1.22;
}

/* Ensure Bengali headings & review text always preserve natural letter spacing */
.customer-review-section,
.customer-review-section *,
.font-bengali {
    letter-spacing: normal !important;
}

.section-title-clean {
    font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.03em !important;
}

/* 3. Product Cards & Product Titles */
.polo-product-title,
.tshirt-title,
.fashion-card-title,
.product-card-title,
.product-name {
    font-family: var(--fm-font-sans) !important;
    letter-spacing: -0.012em;
    font-weight: 600;
    line-height: 1.35;
}

.polo-product-title a {
    color: #1e293b !important;
    font-weight: 600 !important;
    transition: color 0.18s ease;
}

.polo-product-title a:hover {
    color: var(--brand-primary, #09090b) !important;
}

/* 4. Luxury Pricing & Tabular Numbers */
.polo-sale-price,
.product-price,
.current-price,
.sale-price,
.effective-price,
.price-tag,
.order-amount-display {
    font-family: var(--fm-font-numbers) !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: -0.028em !important;
    font-weight: 800 !important;
    color: #0f172a;
}

.polo-regular-price,
.old-price,
.original-price {
    font-family: var(--fm-font-numbers) !important;
    font-feature-settings: "tnum" 1 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: -0.015em !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
}

/* 5. Modern Call-To-Action Buttons */
.btn-order-now,
.btn-order-amber,
.btn-view-all-dark,
.btn-checkout,
.order-btn-now {
    font-family: var(--fm-font-sans) !important;
    font-weight: 700 !important;
    letter-spacing: 0.35px !important;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
}

.btn-view-all-dark {
    font-family: var(--fm-font-display) !important;
    letter-spacing: 0.6px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
}

/* 6. Navigation, Badges & Micro-Copy */
.main-site-navbar .navbar-nav .nav-link {
    font-family: var(--fm-font-sans) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.1px;
}

.top-bar {
    font-family: var(--fm-font-sans) !important;
    letter-spacing: 0.15px;
    font-weight: 500;
}

.badge,
.badge-discount-tag,
.chip-name,
.size-badge {
    font-family: var(--fm-font-sans) !important;
    letter-spacing: 0.2px;
}

.badge-discount-tag {
    font-family: var(--fm-font-numbers) !important;
    font-weight: 700 !important;
}

/* 7. Form Controls & Inputs */
input, select, textarea, .form-control {
    font-family: var(--fm-font-sans) !important;
    letter-spacing: -0.008em;
}

/* 8. Crisp Body Prose & Descriptions */
p, .product-description, .customer-review-text {
    font-family: var(--fm-font-sans) !important;
    line-height: 1.62;
    letter-spacing: -0.008em;
}




