
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.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;
    border-radius: 50%;
}

.btn.btn-primary {
    /* background: var(--bs-primary) !important; */
    background: #3c03aa !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: #3c03aa !important; /* darker tones */
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.btn.btn-secondary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary) !important;
}

/*** Top icon links ***/
.gradient-link span {
    width: 40px;   /* adjust to match btn-md-square size */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #525caf;
    border-radius: 50%;
    color: #6c757d;;   /* default icon color */
    transition: all 0.3s ease;
}

.gradient-link:hover span {
    background: #3c03aa;
    border-color: transparent;
    color: #fff; /* icon turns white */
    transform: scale(1.05);
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}


/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    /* background: var(--bs-primary) !important; */
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.nav-bar .categories-bars .categories-bars-item {
    padding: 5px 15px;
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item a,
.nav-bar .categories-bars .categories-bars-item span {
    color: var(--bs-dark);
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item:hover {
    background: var(--bs-primary);
}

.nav-bar .categories-bars .categories-bars-item:hover a,
.nav-bar .categories-bars .categories-bars-item:hover span {
    color: var(--bs-white);
}

.nav-bar .navbar.navbar-light {
    padding: 0 !important;
}

.nav-bar .navbar .navbar-nav .nav-link {
    padding: 18px 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    transition: .5s;
}

.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: #4aceef !important
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .nav-bar .navbar .navbar-nav .nav-link {
        padding: 8px 0px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 5px 15px;
}

#allCat {
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 51px; 
    z-index: 999; 
    background: var(--bs-light);
}

.nav-bar .navbar-toggler {
    border-radius: 5px !important; 
    box-shadow: none !important;
}
/* search input ............................. */

.text-center .search input[type=text] {
    width: 100%;
    height: 40px;
    padding: 0 0 0 15px;
    /* color: #666666; */
    /* border: 1px linear-gradient(to right, #525caf, #fe6ebb); */
}

.text-center .search button {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 0px;
    right: 0px;
    padding: 0 15px;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    background: #3c03aa;
    color: #fff;
}

.text-center .search button:hover {
    background: #4b58b0;
    color: #ffffff;
}

.text-center .search .button1 {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 0px;
    right: 0px;
    padding: 0 15px;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    background: #3c03aa;
    color: #fff;
}

.text-center .search .button1:hover {
    background:#4b58b0;
    color: #ffffff;
}

/* Full-width search panel under header, overlaying page */
.search-panel {
  position: absolute;          /* fixed so it overlays everything */
  top: 138px !important;                /* adjust to your header height */
  left: 0;
  width: 100%;
  height: 100%;         /* scrollable if content too tall */
  overflow-y: auto;
  background: #fff;
  border-bottom: 2px solid #eee;
  z-index: 9999;            /* above slider/content */
  display: none;            /* hidden by default */
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Close button */
#closeSearch {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10000;
}



/*** mega menu css ***.............................../

/* Mega menu wrapper */
.mega-dropdown { position: static; }
.mega-menu {
  position: absolute;
  top: 130%;   /* appear just below the button */
  left: 0;
  right: 0;
  width: 93vw; /* full width */
  background: #f8f9fa;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Show on hover (desktop) */
/* @media (min-width: 768px) {
  .mega-dropdown:hover .mega-menu { display: block; }
} */

/* Dropdown items */
.mega-menu h6 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.mega-menu .dropdown-item {
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}
.mega-menu .dropdown-item:hover {
  color: #0d3779;
  background: transparent;
}

/* Scrollable container */
.mega-menu-scrollable {
    max-height: 450px; /* adjust height as needed */
    overflow-y: auto;  /* vertical scroll */
    padding-right: 0.3rem; /* avoid scrollbar overlap */
}

/* Optional: style the scrollbar (for modern browsers) */
.mega-menu-scrollable::-webkit-scrollbar {
    width: 6px;
}
.mega-menu-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

/* Mobile: stacked, not absolute */
@media (max-width: 767.98px) {
  .mega-menu {
    position: relative;
    top: 0;
    box-shadow: none;
  }
}

/*** Navbar End ***/



/*** Carousel Header Start ***/
.header-carousel.owl-carousel .owl-nav .owl-prev,
.header-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 87%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel.owl-carousel .owl-nav .owl-prev {
    display: none !important;
    right: 130px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-next {
    display: none !important;
    right: 60px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-prev:hover,
.header-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.carousel .carousel-header-banner {
    position: relative;
}

.carousel .carousel-banner-offer {
    position: absolute;
    top: 20px; 
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel .carousel-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
/*** Carousel Header End ***/


/*** Page Header start ***/
.page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/*** Page Header end ***/

/*** services Start ***/
.service-bg{
    background: #fff; /* makes shadow visible if bg-light is behind */
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*** Products Start ***/
.product .product-item {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    z-index: 2; /* keeps it above neighbors when zoomed */
}

.product .product-item .product-item-inner {
    height: 100%;
    flex: 1; /* stretch inner part equally */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product .product-item .product-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
    /* margin-top: auto; */
}

.product .product-item:hover .product-item-add {
    background: var(--bs-white);
    margin-bottom: -124px;
    opacity: 1;
}
.product .product-item:hover .product-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.product .product-item .product-item-inner .product-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.product .product-item .product-item-inner .product-item-inner-item .product-new,
.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    position: absolute;
    width: 40px; 
    height: 40px;
    border-radius: 30px; 
    font-size: 0.9em;
    top: 10px; 
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.product .product-item .product-item-inner .product-item-inner-item .product-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner img {
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner img {
    transform: scale(1.1);
}

.product .product-item .product-item-inner .product-item-inner-item .product-details {
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.product .product-item .product-item-inner .product-item-inner-item .product-details a i {
    width: 50px; 
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4b58b0;
    color: var(--bs-white);
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner .product-item-inner-item .product-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item:hover .product-item-inner .product-details {
    opacity: 1;
}

.product .tab-class .nav .nav-item a.active {
    background: #3c03aa !important;
}

.product .tab-class .nav .nav-item a.active span {
    color: var(--bs-white) !important;
}

/* product nameContent */

.product-text {
    display: grid;
    grid-template-rows: auto min-content; /* name takes auto, price always below */
    gap: 0.2rem; /* spacing between name and price */
    text-align: center;
}

.product-text .two-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: 2.4em; /* 2 lines */
    word-break: break-word;
    white-space: normal;
}

.product-text .price {
    color: #808ae9ff;
    font-size: 0.8rem;
}

/*** Product End ***/


/*** ProductList Categories Start ***/
.productList .productList-carousel {
    height: 215px !important;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    position: relative;
    width: calc(100% - 1px);
    transition: 0.5s;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    margin-bottom: 75px;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item:hover {
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.productList .productList-carousel .owl-nav .owl-prev,
.productList .productList-carousel .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.productList .productList-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0px;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    opacity: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-next {
    opacity: 1;
}
/*** ProductList Categories End ***/



/*** bestseller Products Start ***/
.products .products-mini .products-mini-item {
    position: relative;
    border-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.products .products-mini .products-mini-item .products-mini-img {
 position: relative;
 overflow: hidden;
}

.products .products-mini .products-mini-item .products-mini-img img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img img {
    border-bottom-left-radius: 0 !important;
    transform: scale(1.3);
}

.products .products-mini .products-mini-item .products-mini-img .products-mini-icon {
    position: absolute;
    width: 50px; 
    height: 50px; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon {
    opacity: 1;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon:hover {
    background: var(--bs-secondary) !important;
}

.products .products-mini .products-mini-item .products-mini-add {
    position: absolute;
    bottom: 0;
    left: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bs-white);
    transition: 0.5s;
    z-index: 9;
    opacity: 0;
}

.products .products-mini .products-mini-item:hover .products-mini-add {
    opacity: 1;
    margin-bottom: -75px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*** bestseller Products End ***/

/*** Pagination Start ***/
.custom-pagination .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 38px;
  border: 1px solid #3c03aa !important;  /* Force border color */
  border-radius: 50% !important;
  font-weight: 500;
  color: #3c03aa !important;
  padding: 0;
}

.custom-pagination .page-item.active .page-link {
  background-color: #3c03aa !important;
  color: #fff !important;
  border-color: #3c03aa !important;
}

.custom-pagination .page-link:hover {
  background-color: #3c03aa !important;
  border-color: #3c03aa !important;
  color: #fff !important;
}

/*** Pagination End ***/

/*** Shop Page Start ***/
.shop .product-categories .categories-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.shop .product-categories .categories-item a {
    transition: 0.5s;
}

.shop .product-categories .categories-item a:hover {
    color: var(--bs-primary) !important;
}

.shop .product-color .product-color-item {
    display: flex;
    padding: 10px 0;
}

.shop .product-color .product-color-item a {
    transition: 0.5s;
}

.shop .product-color .product-color-item a:hover {
    color: var(--bs-secondary);
}

.shop .price {
    padding: 10px 0;
}

.shop .additional-product .additional-product-item {
    padding: 10px 0;
}

.shop .featured-product .featured-product-item {
    display: flex;
    align-items: center;
    justify-content: start;
}

.shop .product-tags .product-tags-items a {
    display: inline-block !important;
    background: var(--bs-white);
    color: var(--bs-dark);
    transition: 0.5;
}

.shop .product-tags .product-tags-items a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** Shop Page End ***/


/*** Single Products Start ***/
.single-product .owl-nav .owl-prev,
.single-product .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -13%;
    font-size: 22px;
    color: var(--bs-primary);
}

.single-product .owl-nav .owl-prev {
    left: 0;
}

.single-product .owl-nav .owl-next {
    right: 0 !important;
}


.single-product .single-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-right: 15px;
    border: 2px solid var(--bs-primary);
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot.active img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 4px solid var(--bs-secondary);
}














.related-product .related-carousel .related-item {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 125px;
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 99;
}

.related-product .related-carousel .related-item:hover .related-item-add {
    background: var(--bs-white);
    margin-bottom: -125px;
    opacity: 1;
}

.related-product .related-carousel .related-item:hover .related-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new,
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    position: absolute;
    width: 60px; 
    height: 60px;
    border-radius: 60px; 
    top: 20px; 
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center; 
    z-index: 5;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner img {
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner img {
    transform: scale(1.1);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details {
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details a i {
    width: 50px; 
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-item-inner-item .related-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-details {
    opacity: 1;
}


.related-product .owl-nav .owl-prev,
.related-product .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .owl-nav .owl-prev {
    left: 0;
}

.related-product .owl-nav .owl-next {
    right: 0;
}

.related-product .owl-nav .owl-prev:hover,
.related-product .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
}
/*** Single Products End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color:#fff !important;
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-primary) !important;
}
/*** copyright end ***/

/*** back to top ***/
.back-to-top {
    position: fixed;
    bottom: 10px;
    right: 70px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** whatsapp ***/
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 12px;
    z-index: 9999;
}

.whatsapp-button {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    border-radius: 50%;
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
    text-align: center;
    line-height: 45px;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 0px;
    bottom: 55%;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #444;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
}


/* new csss ..........................*/
.bg-primary-copy {
  /* background: linear-gradient(to right, #fe6ebb, #525caf); */
  /* background: linear-gradient(to right, #4a2037, #191d3e); */
  background: #3c03aa;
  /* background: linear-gradient(to right, #525caf, #fe6ebb); */
}

.border-clor {
    /* border: ; */
    border: 1px solid #4aceef !important;
}

.txt-color {
    color: 1px solid #4aceef !important;
}



/* ................ For About Page .............................................
..................................................................................
..................................................................................
....................................................................................
...................................................................................
................................................................................... */



.section {
  padding: 20px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-weight: 700;
  color: var(--heading-color);
}

.section-title p {
  color: var(--default-color);
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 1rem;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h1 {
  font-size: 3rem;
  font-weight: 700;
}

.about .content h3 {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--heading-color);
}
.about h3::after {
  content: "";
  width: 100px;
  height: 3px;
  background: var(--accent-color);
  display: block;
  margin-top: 10px;
}

.about .content ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.about .content ul li {
  display: flex;
  align-items: start;
  margin-bottom: 10px;
}

.about .content ul i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-right: 10px;
}

.about .content p {
  color: var(--default-color);
  font-size: 0.95rem;
}

.about img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.about .pulsating-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.image-overlay11 {
    position: relative;
    display: inline-block; /* ensures the overlay matches image size */
    
}

.image-overlay11 img {
    display: block;
    width: 100%;
    height: auto;
}

/* Overlay that matches the image size */
.image-overlay11::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 47, 65, 0.404); /* Change color and opacity */
    pointer-events: none; /* Allows clicks on the image if needed */
    border-radius: 10px;
}


/* second image */
.image-overlay12 {
    position: relative;
    display: inline-block; /* ensures the overlay matches image size */
    
}

.image-overlay12 img {
    display: block;
    width: 100%;
    height: auto;
}

/* Overlay that matches the image size */
.image-overlay12::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 27, 36, 0.596); /* Change color and opacity */
    pointer-events: none; /* Allows clicks on the image if needed */
    border-radius: 10px;
}




/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 300px;
}

.features h3 {
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.features h3::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  display: block;
  margin-top: 10px;
}

.features .icon-box {
  margin-top: 30px;
  display: flex;
  align-items: start;
}

.features .icon-box i {
  color: var(--accent-color);
  background-color: var(--surface-color);
  font-size: 1.75rem;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.features .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.features .icon-box h4 a {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s;
  text-decoration: none;
}

.features .icon-box h4 a:hover {
  color: var(--accent-color);
}

.features .icon-box p {
  font-size: 0.95rem;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background: var(--surface-color);
  border-radius: 10px;
  text-align: center;
  padding: 30px 20px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.services .service-item .icon {
  background: rgba(82, 92, 175, 0.1);
  color: var(--accent-color);
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.services .service-item h3 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  position: relative;
}

.services .service-item h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  margin: 10px auto;
}

.services .service-item p {
  font-size: 0.95rem;
  color: var(--default-color);
}

.services .service-item:hover {
  transform: translateY(-8px);
}

.services .service-item:hover .icon {
  background: var(--accent-color);
  color: #fff;
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  background: var(--background-color);
  border-radius: 10px;
  padding: 40px 0;
}

.tabs .nav-tabs {
  border: none;
}

.tabs .nav-link {
  border: none;
  color: var(--default-color);
  font-weight: 600;
  padding: 12px 15px;
  border-right: 3px solid transparent;
  transition: all 0.3s ease;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: transparent;
}

.tabs .tab-pane {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--heading-color);
}

.tabs .details p {
  color: var(--default-color);
  font-size: 0.95rem;
}

.tabs img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .features .features-image,
  .about img {
    min-height: 250px;
  }

  .tabs {
    padding: 20px;
  }

  .tabs .nav-link {
    border: none;
    padding: 10px 12px;
    background: rgba(82, 92, 175, 0.05);
    margin-bottom: 5px;
    border-radius: 6px;
  }

  .tabs .nav-link.active {
    background: var(--accent-color);
    color: #fff;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }

  .features .icon-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .features .icon-box i {
    margin: 0 0 10px 0;
  }

  .about .content ul li {
    align-items: center;
  }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Cart Page .............................................................
....................................................................................
..............................................................................................
...................................................................................................... */

/* =========================
   Fully Responsive Cart Table
   ========================= */
.cart-wrapper {
    --primary-color: #525caf;      /* Indigo */
    --accent-color: #666eb4;       /* Light blue */
    --bg-color: #f3f4f6;     
    --card-bg: #ffffff;            /* Card/table background */
    --text-color: #1f2937;         /* Dark text */
    --muted-color: #6b7280;        /* Muted text */
    --danger-color: #ef4444;       /* Remove button */
    --card-radius: 12px;
}

/* Wrapper */
.cart-wrapper {
    background-color: var(--bg-color);
    /* padding: 25px; */
}

/* Table desktop style */
.cart-wrapper .table {
    width: 100%;
    border: none;
    background: transparent;
}

.cart-wrapper .table thead th {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.cart-wrapper .table tbody tr {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.cart-wrapper .table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.cart-wrapper .table tbody tr td,
.cart-wrapper .table tbody tr th {
    padding: 0.2rem 0.4rem;
}

/* Product image */
.cart-wrapper .table tbody tr td img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
}

/* Product name and details */
.cart-wrapper .table tbody tr th p,
.cart-wrapper .table tbody tr td p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Quantity controls */
.cart-wrapper .input-group.quantity {
    width: 110px;
}

.cart-wrapper .input-group.quantity .btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: #3c03aa;
    font-weight: 600;
}

.cart-wrapper .input-group.quantity .btn:hover {
    background: var(--primary-color);
}

.cart-wrapper .input-group.quantity .form-control {
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f9fafb;
    color: var(--text-color);
}

/* Remove button */
.cart-wrapper .table .btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--danger-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-wrapper .table .btn:hover {
    background: var(--danger-color);
    color: #fff;
}

/* Totals panel */
.cart-wrapper .bg-whitet.rounded {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cart-wrapper .display-8 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-wrapper #subtotal,
.cart-wrapper #grandtotal {
    font-weight: 600;
    color: var(--text-color);
}

.cart-wrapper #transpo {
    font-size: 0.8em;
    color: var(--muted-color);
    line-height: 18px;
}

/* Checkout button */
.cart-wrapper .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(37,99,235,0.3);
    transition: all 0.3s ease;
}

.cart-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}

/* =========================
   Fully Responsive for Tablets & Mobiles
   ========================= */
@media (max-width: 991.98px) {
    .cart-wrapper .table-responsive {
        overflow-x: auto;
    }
}

@media (max-width: 767.98px) {
    .cart-wrapper .table thead {
        display: none; /* hide headers on mobile */
    }

    .cart-wrapper .table tbody tr {
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: var(--card-radius);
    }

    .cart-wrapper .table tbody tr td,
    .cart-wrapper .table tbody tr th {
        display: block;
        width: 100%;
        padding: 0.35rem 0;
        text-align: left;
    }

    .cart-wrapper .table tbody tr td img {
        float: left;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Add labels before values */
    .cart-wrapper .table tbody tr td:before,
    .cart-wrapper .table tbody tr th:before {
        font-weight: 700;
        color: var(--muted-color);
        display: block;
        margin-bottom: 0.15rem;
    }

    .cart-wrapper .table tbody tr td:nth-child(1):before { content: "Product:"; }
    .cart-wrapper .table tbody tr th:nth-child(2):before { content: "Name:"; }
    .cart-wrapper .table tbody tr td:nth-child(3):before { content: "Model:"; }
    .cart-wrapper .table tbody tr td:nth-child(4):before { content: "Price:"; }
    .cart-wrapper .table tbody tr td:nth-child(5):before { content: "Quantity:"; }
    .cart-wrapper .table tbody tr td:nth-child(6):before { content: "Total:"; }
    .cart-wrapper .table tbody tr td:nth-child(7):before { content: "Remove:"; }

    /* Totals panel full width below table */
    .cart-wrapper .col-sm-12.col-md-12.col-lg-4.col-xl-4 {
        margin-top: 1rem;
    }

    .cart-wrapper .btn-primary {
        width: 100%;
        margin: 1rem 0;
    }
}


/* Checkout Page .............................................................
....................................................................................
..............................................................................................
...................................................................................................... */



.custom-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* semi-transparent background */
  backdrop-filter: blur(2px);
}

.custom-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px 30px;
  border-radius: 15px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.custom-modal-content h4 {
  margin-bottom: 15px;
  color: #333;
}

.custom-modal-content p {
  margin-bottom: 20px;
  color: #555;
}

.custom-modal-content button {
  padding: 7px 25px;
  border: none;
  background-color: #3c03aa;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.custom-modal-content button:hover {
  background-color: #0056b3;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: #333;
}