/* ========================================================
   MBAREP TRUSTED - Custom Theme Overrides & Palette
   Primary Accent: #007ACC
   Body Text: #4A4A4A
   Dark Navy / Slate: #2D3E50
   Pure White: #FFFFFF
   ======================================================== */

:root {
    --primary-color: #007ACC;
    --primary-hover: #0060a3;
    --text-color: #4A4A4A;
    --dark-navy: #2D3E50;
    --pure-white: #FFFFFF;
}

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, label {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Ensure Icon Fonts are never overridden by general text font */
.fa, [class*="fa-"], [class^="fa-"] {
    font-family: 'FontAwesome' !important;
}
[class^="icon_"], [class*=" icon_"], [class^="arrow_"], [class*=" arrow_"] {
    font-family: 'ElegantIcons' !important;
}
.bi, [class^="bi-"], [class*=" bi-"] {
    font-family: 'bootstrap-icons' !important;
}

body {
    color: var(--text-color);
}

/* Primary Button Overrides */
.primary-btn, .site-btn {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--pure-white) !important;
    transition: all 0.3s ease;
}

.primary-btn:hover, .site-btn:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* WhatsApp Specific Button */
.btn-whatsapp {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-radius: 4px;
    padding: 10px 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background: #1ebc59 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-rfq {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-radius: 4px;
    padding: 10px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.25s ease;
}

.btn-rfq:hover {
    background: var(--primary-hover) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.35);
}

/* Header & Navigation */
.header__menu ul li.active a,
.header__menu ul li:hover a {
    color: var(--primary-color) !important;
}

.header__menu ul li.active a:after {
    background: var(--primary-color) !important;
}

.header__top {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.header__cart ul li span {
    background: var(--primary-color) !important;
    color: #fff;
}

.header__cart .header__cart__price span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section */
.hero__search__form form button.site-btn {
    background: var(--primary-color) !important;
}

.hero__search__phone__icon {
    background: #e6f3ff !important;
}

.hero__search__phone__icon i {
    color: var(--primary-color) !important;
}

.hero__item .hero__text span {
    color: var(--primary-color) !important;
    letter-spacing: 3px;
    font-weight: 800;
}

/* Section Title */
.section-title h2:after {
    background: var(--primary-color) !important;
}

/* Featured Filter Controls */
.featured__controls ul li.active {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Product Pic Hover Icons */
.featured__item__pic__hover li:hover a,
.product__item__pic__hover li:hover a {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.featured__item__pic__hover li:hover a i,
.product__item__pic__hover li:hover a i,
.featured__item__pic__hover li:hover button .mbt-hover-icon i,
.product__item__pic__hover li:hover button .mbt-hover-icon i {
    color: #ffffff !important;
}
.featured__item__pic__hover li button .mbt-hover-icon,
.product__item__pic__hover li button .mbt-hover-icon {
    font-size: 16px;
    color: #1c1c1c;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #ebebeb;
    background: #ffffff;
    display: block;
    border-radius: 50%;
    transition: all 0.5s;
    cursor: pointer;
}
.featured__item__pic__hover li:hover button .mbt-hover-icon,
.product__item__pic__hover li:hover button .mbt-hover-icon {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Breadcrumb */
.breadcrumb__text h2 {
    color: #ffffff;
}

.breadcrumb__option a:after {
    color: #ffffff;
}

/* Sidebar Elements */
.sidebar__item h4:after {
    background: var(--primary-color) !important;
}

.sidebar__item ul li a:hover {
    color: var(--primary-color) !important;
}

/* Pagination */
.product__pagination a:hover,
.product__pagination a.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Blog Styling */
.blog__item__text .blog__btn:hover {
    color: var(--primary-color) !important;
}

.blog__sidebar__item h4:after {
    background: var(--primary-color) !important;
}

.blog__sidebar__item__tags a:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Footer */
.footer {
    background: var(--dark-navy) !important;
    color: #cbd5e1;
}

.footer h6 {
    color: #ffffff;
}

.footer__widget ul li a {
    color: #94a3b8;
}

.footer__widget ul li a:hover {
    color: var(--primary-color);
}

.footer__widget form button.site-btn {
    background: var(--primary-color) !important;
}

.footer__widget__social a:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.footer__copyright__text {
    color: #94a3b8;
}

.footer__copyright__text a {
    color: var(--primary-color);
}

/* Badge & Indicators */
.badge-rfq-count {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 4px;
}

/* Search bar full width adjustment without department */
.hero__search__form__full {
    width: calc(100% - 210px) !important;
    float: left;
}

@media (max-width: 991px) {
    .hero__search__form__full {
        width: 100% !important;
        float: none;
        margin-bottom: 20px;
    }
}

/* ========================================================
   MBAREP TRUSTED - Full-Width Hero Section & Responsive Styling
   ======================================================== */
.mbt-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.mbt-hero__banner {
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 70px 0 80px 0;
    display: flex;
    align-items: center;
}

/* Fallback gradient and dark overlay */
.mbt-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(26, 38, 57, 0.88) 55%, rgba(15, 23, 42, 0.65) 100%);
    z-index: 1;
}

.mbt-hero__banner .container {
    position: relative;
    z-index: 2;
}

/* Badge */
.mbt-hero__badge {
    display: inline-block;
    background: rgba(0, 122, 204, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Headline */
.mbt-hero__headline {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

/* Description */
.mbt-hero__desc {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 620px;
}

/* Search Bar Inside Banner */
.mbt-hero__search {
    margin-bottom: 26px;
    max-width: 650px;
}

.mbt-hero__search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.mbt-hero__search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 122, 204, 0.4);
}

.mbt-hero__search-form input {
    flex: 1;
    border: none;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    color: #1e293b;
    outline: none;
    background: transparent;
}

.mbt-hero__search-form input::placeholder {
    color: #94a3b8;
}

.mbt-hero__search-form button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.mbt-hero__search-form button:hover {
    background: var(--primary-hover);
}

/* CTA Buttons */
.mbt-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.mbt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.mbt-btn--wa {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.mbt-btn--wa:hover {
    background: #1ebc59;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mbt-btn--outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.mbt-btn--outline:hover {
    background: #ffffff;
    color: var(--dark-navy) !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Trust Points */
.mbt-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mbt-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.mbt-trust-item i {
    font-size: 16px;
}

.mbt-trust-item .fa-handshake-o {
    color: #4ade80;
}

.mbt-trust-item .fa-search {
    color: #38bdf8;
}

.mbt-trust-item .fa-user {
    color: #facc15;
}

/* Slim Search Bar for Non-Home Pages */
.mbt-search-bar-slim {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mbt-search-slim-form {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.mbt-search-slim-form input {
    flex: 1;
    border: none;
    height: 46px;
    padding: 0 16px;
    font-size: 14px;
    color: #334155;
    outline: none;
}

.mbt-search-slim-form button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    height: 46px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mbt-search-slim-form button:hover {
    background: var(--primary-hover);
}

.mbt-wa-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.mbt-wa-pill:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff !important;
}

/* Responsive Media Queries (Desktop, Tablet, Mobile) */
@media (max-width: 991px) {
    .mbt-hero__banner {
        min-height: 520px;
        padding: 50px 0 60px 0;
    }

    .mbt-hero__headline {
        font-size: 32px;
        line-height: 1.3;
    }

    .mbt-hero__desc {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .mbt-hero__banner {
        min-height: auto;
        padding: 40px 0 50px 0;
    }

    .mbt-hero__overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(26, 38, 57, 0.92) 100%);
    }

    .mbt-hero__headline {
        font-size: 26px;
        line-height: 1.35;
    }

    .mbt-hero__desc {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .mbt-hero__search-form {
        flex-direction: row;
        padding: 4px;
    }

    .mbt-hero__search-form input {
        height: 42px;
        font-size: 13px;
        padding: 0 10px;
    }

    .mbt-hero__search-form button {
        height: 42px;
        padding: 0 16px;
        font-size: 13px;
    }

    .mbt-hero__buttons {
        flex-direction: column;
        gap: 10px;
    }

    .mbt-btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 13px;
    }

    .mbt-hero__trust {
        flex-direction: column;
        gap: 12px;
    }

    .mbt-search-bar-slim {
        flex-direction: column;
        align-items: stretch;
    }

    .mbt-wa-pill {
        justify-content: center;
    }
}

/* ========================================================
   FIXED SCROLLING ANNOUNCEMENT BAR (MARQUEE)
   ======================================================== */
.mbt-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 36px;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1030;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mbt-announcement-track {
    display: inline-flex;
    width: max-content;
    will-change: transform;
    animation: mbtMarqueeScroll 38s linear infinite;
}

.mbt-announcement-bar:hover .mbt-announcement-track {
    animation-play-state: paused;
}

.mbt-announcement-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.mbt-announcement-item {
    padding: 0 4px;
    color: #111827;
}

.mbt-announcement-item strong {
    color: #007ACC;
    font-weight: 700;
}

.mbt-announcement-sep {
    margin: 0 20px;
    color: #9ca3af;
    font-weight: 300;
    user-select: none;
}

@keyframes mbtMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Offset body for fixed announcement bar */
body {
    padding-top: 36px;
}

@media (max-width: 768px) {
    .mbt-announcement-bar {
        height: 32px;
    }
    .mbt-announcement-content {
        font-size: 12px;
    }
    .mbt-announcement-sep {
        margin: 0 14px;
    }
    body {
        padding-top: 32px;
    }
}

/* Ensure mobile menu overlay sits above the announcement bar when open */
.humberger__menu__overlay {
    z-index: 1040 !important;
}
.humberger__menu__wrapper {
    z-index: 1045 !important;
}

/* Owl Carousel Slider Navigation Buttons Modernization */
.categories__slider.owl-carousel .owl-nav button {
    height: 42px !important;
    width: 42px !important;
    line-height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #1e293b !important;
    font-size: 16px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s ease !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: -20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}
.categories__slider.owl-carousel .owl-nav button.owl-next {
    left: auto !important;
    right: -20px !important;
}
.categories__slider.owl-carousel .owl-nav button:hover {
    background: #007ACC !important;
    color: #ffffff !important;
    border-color: #007ACC !important;
    box-shadow: 0 6px 16px rgba(0, 122, 204, 0.35) !important;
    transform: translateY(-50%) scale(1.08) !important;
}
.categories__slider.owl-carousel .owl-nav button span {
    font-family: 'FontAwesome' !important;
    line-height: 1 !important;
}

/* Prevent horizontal overflow without breaking fixed mobile bottom bar */
html,
body {
    overflow-x: clip;
}

@media (max-width: 767.98px) {
    .categories__slider.owl-carousel .owl-nav button {
        width: 34px !important;
        height: 34px !important;
        line-height: 34px !important;
        font-size: 14px !important;
        left: 4px !important;
    }
    .categories__slider.owl-carousel .owl-nav button.owl-next {
        left: auto !important;
        right: 4px !important;
    }
}

