/*
Theme Name: Flatsome Bosch Ardabil
Description: قالب حرفه‌ای نمایندگی بوش در اردبیل — boschardabil.ir
Author: Bosch Ardabil Service
Template: flatsome
Version: 1.4.0
Text Domain: flatsome-bosch
*/

.bosch-service-theme {
    --bosch-blue: #005691;
    --bosch-blue-dark: #003b6f;
    --bosch-blue-light: #007bc0;
    --bosch-red: #e20015;
    --bosch-red-dark: #b80012;
    --bosch-text: #1e293b;
    --bosch-text-muted: #64748b;
    --bosch-heading: #003b6f;
    --bosch-bg: #f8fafc;
    --bosch-border: #e2e8f0;
}

.bosch-service-theme,
.bosch-service-theme * {
    font-family: 'Vazirmatn', Vazir, Tahoma, Arial, sans-serif !important;
}

.bosch-service-theme body,
.bosch-service-theme .entry-content,
.bosch-service-theme p {
    color: var(--bosch-text);
    line-height: 1.85;
}

.bosch-service-theme h1,
.bosch-service-theme h2,
.bosch-service-theme h3,
.bosch-service-theme h4 {
    color: var(--bosch-heading);
    font-weight: 800;
    line-height: 1.45;
}

.bosch-service-theme a {
    color: var(--bosch-blue);
}

.bosch-service-theme a:hover {
    color: var(--bosch-red);
}

/* ─── Top bar ─── */
.bosch-service-theme .header-top,
.bosch-service-theme #top-bar {
    background: var(--bosch-blue-dark) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 11px 0 !important;
    border-bottom: 3px solid var(--bosch-red) !important;
}

.bosch-service-theme .header-top a,
.bosch-service-theme #top-bar a {
    color: #fff !important;
}

.bosch-service-theme .header-top a:hover,
.bosch-service-theme #top-bar a:hover {
    color: #fecdd3 !important;
}

/* ─── Header shell ─── */
.bosch-service-theme #masthead,
.bosch-service-theme .header {
    box-shadow: 0 4px 18px rgba(0, 59, 111, 0.16) !important;
}

.bosch-service-theme .header-main,
.bosch-service-theme .header-wrapper,
.bosch-service-theme.stuck .header-main,
.bosch-service-theme .header.stuck .header-main,
.bosch-service-theme .header.show-on-scroll.stuck .header-main {
    background: linear-gradient(135deg, var(--bosch-blue) 0%, var(--bosch-blue-dark) 100%) !important;
    height: auto !important;
    min-height: 68px !important;
    max-height: none !important;
    padding: 10px 0 !important;
}

.bosch-service-theme .header-main .header-inner {
    min-height: 48px;
}

.bosch-service-theme #wide-nav.header-bottom,
.bosch-service-theme .header-bottom.wide-nav {
    background: linear-gradient(135deg, var(--bosch-blue-dark) 0%, #002847 100%) !important;
    padding: 6px 0 !important;
    min-height: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.bosch-service-theme .header-bottom { background-color: transparent !important; }

/* ─── Logo ─── */
.bosch-service-theme .bosch-logo-link,
.bosch-service-theme #logo a {
    background: #fff !important;
    padding: 6px 14px !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12) !important;
    display: inline-block !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.bosch-service-theme .bosch-site-logo {
    display: block !important;
    height: 42px !important;
    width: auto !important;
    max-width: 170px !important;
}

.bosch-service-theme.stuck .bosch-site-logo,
.bosch-service-theme.stuck #logo img {
    height: 42px !important;
    max-height: 42px !important;
}

.bosch-service-theme .bosch-logo-link:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 6px 20px rgba(226, 0, 21, 0.22) !important;
}

/* ─── Navigation (مثل اردبیل سرویس) ─── */
.bosch-service-theme #wide-nav ul.header-bottom-nav > li > a,
.bosch-service-theme #wide-nav .header-bottom-nav > li > a,
.bosch-service-theme .header-bottom .nav > li > a,
.bosch-service-theme .header-main .nav > li > a,
.bosch-service-theme .primary-menu > li > a {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.3px !important;
    border-radius: 10px !important;
    position: relative !important;
    transition: background 0.25s ease, transform 0.25s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
}

.bosch-service-theme.stuck .header-main .nav > li > a,
.bosch-service-theme.stuck .header-bottom-nav > li > a {
    line-height: 1.35 !important;
    padding: 10px 16px !important;
}

.bosch-service-theme .header-main .nav > li > a::after,
.bosch-service-theme .primary-menu > li > a::after,
.bosch-service-theme .header-bottom-nav > li > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 65% !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--bosch-red), #ff4d5e) !important;
    border-radius: 2px !important;
    transition: transform 0.3s ease !important;
}

.bosch-service-theme .header-main .nav > li > a:hover,
.bosch-service-theme .primary-menu > li > a:hover,
.bosch-service-theme .header-bottom-nav > li > a:hover {
    background: rgba(226, 0, 21, 0.18) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.bosch-service-theme .header-main .nav > li > a:hover::after,
.bosch-service-theme .primary-menu > li > a:hover::after,
.bosch-service-theme .header-bottom-nav > li > a:hover::after {
    transform: translateX(-50%) scaleX(1) !important;
}

.bosch-service-theme .header-main .nav > li.current-menu-item > a,
.bosch-service-theme .primary-menu > li.current-menu-item > a {
    background: rgba(226, 0, 21, 0.22) !important;
}

/* ─── Header CTA ─── */
.bosch-service-theme .header-cta-buttons {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-right: 12px;
    align-items: stretch;
}

.bosch-service-theme .header-cta-buttons .button,
.bosch-service-theme .header-cta-buttons .bosch-btn,
.bosch-service-theme .header-cta-buttons .ardabil-open-phone-picker[style] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 0 16px !important;
    min-height: 44px !important;
    min-width: 168px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.bosch-service-theme .header-cta-buttons .bosch-btn__icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.bosch-service-theme .header-cta-buttons .bosch-btn__label {
    line-height: 1.2;
}

.bosch-service-theme .header-cta-buttons .button:hover,
.bosch-service-theme .header-cta-buttons .bosch-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24) !important;
}

.bosch-service-theme .bosch-btn--call,
.bosch-service-theme .header-cta-buttons .bosch-btn--call,
.bosch-service-theme .ardabil-open-phone-picker,
.bosch-service-theme .header-cta-buttons .ardabil-open-phone-picker[style] {
    background: linear-gradient(135deg, var(--bosch-red), var(--bosch-red-dark)) !important;
    color: #fff !important;
}

.bosch-service-theme .bosch-btn--request,
.bosch-service-theme .header-cta-buttons .bosch-btn--request,
.bosch-service-theme .ardabil-open-quick-service {
    background: linear-gradient(135deg, var(--bosch-blue-light), var(--bosch-blue)) !important;
    color: #fff !important;
}

/* ─── Slider ─── */
.bosch-slide-title {
    color: #fff !important;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}

.bosch-slide-text {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.05rem !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

.bosch-service-theme .ux_slider .flickity-button,
.bosch-service-theme .flickity-prev-next-button {
    background: rgba(0, 86, 145, 0.85) !important;
}

.bosch-service-theme .flickity-page-dots .dot.is-selected {
    background: var(--bosch-red) !important;
}

/* ─── Floating buttons ─── */
.bosch-service-theme .ardabil-floating-buttons .ardabil-open-quick-service {
    background: linear-gradient(135deg, var(--bosch-blue-light), var(--bosch-blue)) !important;
}

.bosch-service-theme .ardabil-floating-buttons .ardabil-open-phone-picker {
    background: linear-gradient(135deg, var(--bosch-red), var(--bosch-red-dark)) !important;
}

/* ─── SEO blocks ─── */
.bosch-service-theme .ardabil-seo-hub__title,
.bosch-service-theme .ardabil-seo-block__title {
    color: var(--bosch-heading) !important;
}

.bosch-service-theme .ardabil-seo-hub__subtitle,
.bosch-service-theme .ardabil-seo-card__text {
    color: var(--bosch-text-muted) !important;
}

.bosch-service-theme .ardabil-seo-hub__badge {
    background: linear-gradient(135deg, var(--bosch-blue), var(--bosch-blue-dark)) !important;
    color: #fff !important;
}

.bosch-service-theme .ardabil-seo-card__name {
    color: var(--bosch-heading) !important;
}

.bosch-service-theme .ardabil-seo-card__cta {
    background: var(--bosch-blue) !important;
    color: #fff !important;
}

.bosch-service-theme .ardabil-seo-card:hover {
    border-color: var(--bosch-blue) !important;
}

/* ─── Form plugin ─── */
.bosch-service-theme .service-request-form .form-header h2 {
    color: var(--bosch-heading) !important;
}

.bosch-service-theme .service-request-form .form-section-title {
    color: var(--bosch-blue) !important;
}

.bosch-service-theme .service-request-form label {
    color: var(--bosch-text) !important;
    font-weight: 600 !important;
}

.bosch-service-theme .service-request-form input,
.bosch-service-theme .service-request-form select,
.bosch-service-theme .service-request-form textarea {
    border-color: var(--bosch-border) !important;
    color: var(--bosch-text) !important;
}

.bosch-service-theme .service-request-form input:focus,
.bosch-service-theme .service-request-form select:focus,
.bosch-service-theme .service-request-form textarea:focus {
    border-color: var(--bosch-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 145, 0.12) !important;
}

.bosch-service-theme .service-request-form .submit-btn,
.bosch-service-theme .service-request-form button[type="submit"] {
    background: linear-gradient(135deg, var(--bosch-red), var(--bosch-red-dark)) !important;
    color: #fff !important;
}

.bosch-service-theme #footer {
    border-top: 4px solid var(--bosch-red);
}

/* ─── Hide WooCommerce / shop UI ─── */
.bosch-service-theme .cart-item,
.bosch-service-theme .account-item,
.bosch-service-theme .header-search,
.bosch-service-theme .widget_shopping_cart,
.bosch-service-theme .woocommerce.widget_products,
.bosch-service-theme .payment-icons {
    display: none !important;
}

/* ─── Service footer ─── */
.bosch-service-theme .bosch-service-footer {
    background: linear-gradient(135deg, var(--bosch-blue-dark) 0%, #002847 100%);
    color: #fff;
    padding: 48px 0 36px;
}

.bosch-service-theme .bosch-service-footer .widget-title {
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 800;
}

.bosch-service-theme .bosch-service-footer .is-divider {
    background: rgba(255, 255, 255, 0.18);
}

.bosch-service-theme .bosch-footer-text,
.bosch-service-theme .bosch-footer-links a {
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.9;
}

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

.bosch-service-theme .bosch-footer-links li {
    margin: 0 0 8px;
}

.bosch-service-theme .bosch-footer-links a:hover {
    color: #fecdd3 !important;
}

.bosch-service-theme .bosch-footer-enamad,
.bosch-service-theme .bosch-footer-enamad-inline {
    margin-top: 12px;
}

.bosch-service-theme .absolute-footer.dark {
    background: #001a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bosch-service-theme .absolute-footer .copyright-footer {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.bosch-service-theme #logo,
.bosch-service-theme #logo img,
.bosch-service-theme.stuck #logo img {
    max-height: 42px !important;
    width: auto !important;
}

.bosch-service-theme #wide-nav.header-bottom.wide-nav.hide-for-medium {
    display: none !important;
}

@media (min-width: 850px) {
    .bosch-service-theme #wide-nav.header-bottom.wide-nav.hide-for-medium {
        display: block !important;
    }
}

@media (max-width: 849px) {
    .bosch-service-theme .header-cta-buttons {
        display: none !important;
    }

    .bosch-service-theme .header-main .nav > li > a,
    .bosch-service-theme .primary-menu > li > a {
        font-size: 15px !important;
        padding: 11px 16px !important;
    }
}

@media (max-width: 1199px) {
    .bosch-service-theme .header-cta-buttons .button,
    .bosch-service-theme .header-cta-buttons .bosch-btn {
        min-width: 148px !important;
        font-size: 12px !important;
        padding: 0 12px !important;
    }
}
