/* Camping Isfahan brand layer: white, charcoal and logo red. */
:root {
    --brand-red: #b5121b;
    --brand-red-dark: #8d0d14;
    --brand-red-soft: #fff0f1;
    --brand-black: #171717;
    --brand-charcoal: #292929;
    --brand-muted: #6b6b6b;
    --brand-surface: #ffffff;
    --brand-background: #f7f7f8;
    --brand-border: #e5e5e7;
    --main-color-one: var(--brand-red);
    --main-color-one-shadow: rgb(181 18 27 / 18%);
    --main-color-one-hover: var(--brand-red-dark);
    --main-color-two: var(--brand-black);
    --main-color-two-shadow: rgb(23 23 23 / 16%);
    --main-color-two-hover: #000000;
    --main-color-three: var(--brand-charcoal);
    --main-color-three-shadow: rgb(41 41 41 / 16%);
    --main-color-three-hover: #101010;
    --bg-site: var(--brand-background);
    --color-site: #242424;
    --text-muted: #626262;
    --text-muted-two: #858585;
    --border-muted: var(--brand-border);
    --shadow-box: 0 8px 30px rgb(20 20 20 / 7%) !important;
    --shadow-md: 0 8px 24px rgb(20 20 20 / 9%);
    --bs-primary: var(--brand-red);
    --bs-primary-rgb: 181, 18, 27;
    --bs-yellow: #cdbccd;
    --bs-yellow-rgb: 205, 188, 205;
    --bs-link-color: var(--brand-red);
    --bs-link-hover-color: var(--brand-red-dark);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--brand-background);
    color: var(--brand-charcoal);
}

::selection {
    color: #fff;
    background: var(--brand-red);
}

a {
    text-decoration-color: rgb(181 18 27 / 35%);
}

a:hover,
.nav-link:hover,
.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--brand-red);
}

:focus-visible {
    outline: 3px solid rgb(181 18 27 / 28%) !important;
    outline-offset: 2px;
}

.header {
    padding: 12px 0;
    border-bottom: 1px solid var(--brand-border);
    box-shadow: 0 5px 24px rgb(0 0 0 / 5%);
}

.top-header-logo {
    width: 100%;
    max-width: 220px;
}

.top-header-logo > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 94px;
    overflow: hidden;
}

.top-header-logo img {
    width: 194px;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: scale(1.24);
}

.header-logo img,
.auth-logo {
    width: 190px;
    max-width: 100%;
    height: 96px;
    object-fit: cover;
    object-position: center;
}

.footer-contact-image {
    width: 180px;
}

.footer-contact-image img {
    width: 180px;
    height: 105px;
    object-fit: cover;
    object-position: center;
}

.search-filed .search-input {
    min-height: 50px;
    color: var(--brand-charcoal);
    background: #f5f5f6;
    border: 1px solid transparent;
}

.top-header .search-form {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
}

.search-filed .search-input:hover {
    background: #fff;
    border-color: #d6d6d8;
}

.search-filed .search-input:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 .22rem rgb(181 18 27 / 12%) !important;
}

.search-filed .search-btn {
    color: #fff;
    background: var(--brand-red) !important;
    box-shadow: 0 6px 16px rgb(181 18 27 / 22%);
}

.btn-primary,
.btn-primary-cm,
.btn-primary-pill,
.main-color-one-bg,
.main-color-two-bg,
.main-color-three-bg {
    color: #fff !important;
    border-color: var(--brand-red) !important;
    background: var(--brand-red) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary-cm:hover,
.btn-primary-pill:hover,
.main-color-one-bg:hover,
.main-color-two-bg:hover,
.main-color-three-bg:hover {
    color: #fff !important;
    border-color: var(--brand-red-dark) !important;
    background: var(--brand-red-dark) !important;
    box-shadow: 0 8px 20px rgb(181 18 27 / 22%);
}

.btn-outline-primary {
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    border-color: var(--brand-red);
    background: var(--brand-red);
}

.btn-cart-counter,
.btn-favorite-items,
.top-header-call-icon {
    color: #fff;
    background: var(--brand-black);
}

.btn-cart-counter:hover,
.btn-favorite-items:hover {
    color: #fff;
    background: var(--brand-red);
}

.btn-cart-counter i,
.btn-cart-counter span {
    color: #fff;
    background: var(--brand-red);
}

.btn-favorite-items span {
    color: #fff;
    background: var(--brand-red);
}

.top-header-link-login::before {
    background: var(--brand-red);
    box-shadow: 0 0 0 4px rgb(181 18 27 / 12%);
}

.mega-menu,
.mega-menu-top,
.menu-container,
.offcanvas,
.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--brand-red);
    --bs-dropdown-link-hover-bg: var(--brand-red-soft);
}

.mega-menu a:hover,
.mega-menu .active > a,
.menu-container a:hover {
    color: var(--brand-red) !important;
}

.main-slider .slider,
.main-slider .swiper-slide,
.main-slider .swiper-slide img {
    border-radius: 16px;
}

.main-slider .swiper-rtl .swiper-button-next,
.main-slider .swiper-rtl .swiper-button-prev,
.swiper-pagination-bullet-active {
    background: var(--brand-red) !important;
}

.main-slider .swiper-rtl .swiper-button-next,
.main-slider .swiper-rtl .swiper-button-prev {
    box-shadow: 0 8px 20px rgb(181 18 27 / 22%);
}

.feature-item {
    min-height: 132px;
    color: var(--brand-charcoal);
    background: #fff;
    border: 1px solid var(--brand-border);
    box-shadow: 0 6px 22px rgb(0 0 0 / 5%);
}

.feature-item.active {
    color: #fff;
    background: var(--brand-red);
    border-color: var(--brand-red);
    box-shadow: 0 10px 26px rgb(181 18 27 / 22%);
}

.feature-item:hover,
.feature-item.active:hover {
    color: #fff !important;
    background: var(--brand-black);
    border-color: var(--brand-black);
    transform: translateY(-3px);
}

.feature-item:hover h6,
.feature-item.active:hover h6 {
    color: #fff !important;
}

.feature-item:hover .icon,
.feature-item.active:hover .icon {
    border-color: rgb(255 255 255 / 65%);
}

.cat-item,
.product-box,
.offer,
.blog-item,
.content-box,
.auth-form,
.panel-meta,
.product-meta-info {
    border: 1px solid var(--brand-border);
    box-shadow: 0 8px 28px rgb(15 15 15 / 6%);
}

.cat-item,
.product-box,
.blog-item {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cat-item:hover,
.product-box:hover,
.blog-item:hover {
    border-color: rgb(181 18 27 / 35%);
    box-shadow: 0 14px 34px rgb(15 15 15 / 10%);
    transform: translateY(-4px);
}

.product-header-btn a:hover {
    color: #fff;
    background: var(--brand-red);
}

.product-box .product-action {
    border-top-color: var(--brand-border);
}

.product-box .product-timer .timer-label,
.cart-canvas-delete a {
    background: var(--brand-red-soft);
}

.product-box .product-timer .timer-label span,
.cart-canvas-delete a,
.new-price,
.product-meta-price .new-price,
.blog-item:hover .title h4,
.main-color-one-color,
.main-color-two-color {
    color: var(--brand-red) !important;
}

.product-box .product-title .rating .icon i,
.rating-star i,
.bi-star-fill {
    color: var(--brand-red);
}

.offer-discount span,
.discount,
.badge.bg-primary {
    color: #fff;
    background: var(--brand-red) !important;
}

.mini-box:hover {
    border-bottom-color: var(--brand-red);
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active,
.page-item.active .page-link {
    color: #fff;
    border-color: var(--brand-red);
    background: var(--brand-red);
}

.page-link {
    color: var(--brand-charcoal);
}

.page-link:hover {
    color: var(--brand-red);
    background: var(--brand-red-soft);
}

.progress-bar,
.noUi-connect,
.range-slider .ui-slider-range {
    background: var(--brand-red) !important;
}

.footer {
    background: #fff;
    border-top: 3px solid var(--brand-red);
    box-shadow: 0 -8px 30px rgb(0 0 0 / 5%);
}

.footer-app {
    position: relative;
    overflow: hidden;
    background: var(--brand-black);
}

.footer-app::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--brand-red);
}

.footer-col .social-link a.bi-instagram,
.footer-col .social-link a.bi-twitter,
.footer-col .social-link a.bi-whatsapp,
.footer-col .social-link a.bi-youtube,
.footer-col .social-link a.bi-linkedin {
    background: var(--brand-black);
}

.footer-col .social-link a:hover {
    color: #fff;
    background: var(--brand-red);
    transform: translateY(-3px);
}

.mobile-footer {
    border-top: 1px solid var(--brand-border);
    box-shadow: 0 -8px 24px rgb(0 0 0 / 8%) !important;
}

.mobile-footer .mf-link:hover .mf-link-icon,
.mobile-footer .mf-link:hover .mf-link-title {
    color: var(--brand-red);
}

.alert-info {
    color: #5f1015;
    border-color: #f1c7ca;
    background: var(--brand-red-soft);
}

@media (max-width: 991.98px) {
    .header {
        padding: 8px 0;
    }

    .top-header-logo {
        max-width: 142px;
    }

    .top-header-logo > a {
        height: 70px;
    }

    .top-header-logo img {
        width: 155px;
        transform: scale(1.2);
    }

    .header-logo img,
    .auth-logo {
        width: 150px;
        height: 78px;
    }

    .feature-item {
        min-height: 118px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
