/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
html {
    scroll-behavior: smooth;
  }

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.brand-logo {
    background-size: cover;
    background-position: center;

}

.ratingname {
    margin-right: 10px;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    color: white;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.navbar-collapse.collapse.show {
    background: white;

}
.dropdown-menu  a:hover{
    color: #FFFF !important;
}



.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;

}


.navbar {
    height: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}
 
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}

/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../images/bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 80px !important;
    }
}

@media (max-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}

/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);

}

/*** featurs End ***/
 
/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px;
    height: 70px;
    top: -50%;
    right: 90px;
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Exclusive  Start ***/
.device .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.device .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.device .device-categorie .device-name {
    line-height: 40px;
}

.device .device-categorie .device-name a {
    transition: 0.5s;
}

.device .device-categorie .device-name a:hover {
    color: var(--bs-secondary);
}

.device .device-item {
    height: 100%;
    transition: 0.5s;
    

}

.device .device-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.device .device-item .device-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.price-history {
    display: flex;
    justify-content: center;
    align-items: center;
}


.device .device-item .device-img img {
    transition: 0.5s;

}

.device .device-item .device-img img:hover {
    transform: scale(1.3);
}

/*** Exclusive  End ***/


/*** electronics Start ***/
.electronics .electronics-item {
    height: 100%;
    transition: 0.5s;

    padding-bottom: 10px;
}

.electronics .electronics-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);

}

.electronics .electronics-item .electronics-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
    height: 300px;
    padding: 10px;

}


.electronics .electronics-item .electronics-img img {
    transition: 0.5s;
    object-fit: fill;
    height: 300px;
    width: 100%;

}


.electronics .electronics-item .electronics-img img:hover {
    transform: scale(1.2);
}

.electronics .owl-stage {
    margin: 50px 0;
    position: relative;
}

.electronics .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.electronics .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.electronics .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.electronics .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** electronics End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}

/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}

/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-primary)
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Single Page End ***/

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #C4197B;
}

/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;

}

.footer a:hover {
    color: #42C2C7;
    text-decoration: none;
}

.sidebar {
    width: 300px;
    padding: 15px;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
}

/*.sidebar {
    width: 250px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-left: 10px;
}*/
.sidebar form {
    display: flex;
    flex-direction: column;
}

.collapsible {
    background-color: #C4197B;
    color: white;
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    text-align: left;
    width: 100%;
    outline: none;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
    text-align: right;
}

.collapsible.active {
    background-color: #ec3616;
}

.resultBar {
    margin-top: 20px;
}

.price-history {
    height: 300px;
    width: 100%;
    justify-content: center;
}


/* Content within each filter section */
.content {
    display: none;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
}


.filter-section {
    margin-bottom: 20px;
}

.filter-section label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    margin-right: 10px;
}

.filter-section input[type="range"] {
    width: 100%;
}

#priceDisplay {
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;

}

.color-options {
    display: flex;
    flex-wrap: wrap;
}

.color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.filter-option label {
    margin-left: 10px;
}

/* Input styles */
input[type="checkbox"] {
    transform: scale(1.2);
}

a input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .banner-im {
        display: none;
    }
}

.red {
    background-color: red;
}

.blue {
    background-color: blue;
}

.black {
    background-color: black;
}

/* Add more colors as needed */

.copyright {
    background-color: #C4197B;

}

a:hover {
    color: #42C2C7;
}

.footer a {
    color: white;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}

/*** Footer End ***/

.category-item {
    display: block;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 10px;
    background-color: var(--bs-light);
    transition: 0.5s;
    border-radius: 10px;
    padding: 2px;
    background-color: var(--bs-primary);
    cursor: pointer;
}

.category-item:hover {
    background-color: var(--bs-secondary);
}

.category-item .icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.category-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;


}


.blur {
    filter: blur(10px) contrast(1.5);
    pointer-events: none;
    transform: scale(0.95);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--bs-primary);
    z-index: 9999;
}

.messsage-regtange {
    background-color: var(--bs-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}



.container {
    margin-top: 50px;
    margin-bottom: 50px
}

.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.10rem
}

.card-header:first-child {
    border-radius: calc(0.37rem - 1px) calc(0.37rem - 1px) 0 0
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)
}

.track {
    position: relative;
    background-color: #ddd;
    height: 7px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 60px;
    margin-top: 50px
}

.track .step {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 25%;
    margin-top: -18px;
    text-align: center;
    position: relative
}

.track .step.active:before {
    background: var(--bs-primary);
}

.track .step::before {
    height: 7px;
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    top: 18px
}

.track .step.active .icon {
    background: var(--bs-primary);
    color: #fff
}

.track .icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: relative;
    border-radius: 100%;
    background: #ddd
}

.track .step.active .text {
    font-weight: 400;
    color: #000
}

.track .text {
    display: block;
    margin-top: 7px
}

.itemside {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%
}

.itemside .aside {
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.img-sm {
    width: 80px;
    height: 80px;
    padding: 7px
}

ul.row,
ul.row-sm {
    list-style: none;
    padding: 0
}

.itemside .info {
    padding-left: 15px;
    padding-right: 7px
}

.itemside .title {
    display: block;
    margin-bottom: 5px;
    color: #212529
}

p {
    margin-top: 0;
    margin-bottom: 1rem
}

.btn-warning {
    color: #ffffff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    border-radius: 1px
}

.btn-warning:hover {
    color: #ffffff;
    background-color: var(--bs-secondary);
    border-color:  var(--bs-secondary);
    border-radius: 1px
}

.favorite-btn:hover i{
    color: white;
} 
.favorite-btn i{
    color: var(--bs-primary);
}
.true-favorite-btn{
    color: white;
    background-color: var(--bs-primary);
}
.true-favorite-btn:hover{
    color: white;
    background-color: var(--bs-secondary);
}

.header_nav{
    background-color: white;
    height: 100px;
    padding-top: 20px;
}


.electronic-item p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fixed-img {
    width: 100%; 
    height: 300px; 
    object-fit: contain;
    border-radius: 10px;
}