.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* For responsive design */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}


/* For multi-level dropdowns */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
 

 .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;
}

.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 {
    background: var(--main-color);
    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;
}

.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: 100px;
    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;
}

/* Main dropdown menu styles */
@media (min-width: 1200px) {
    .navbar .nav-item > .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        left: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
        position: absolute;
        z-index: 1000;
    }
    
    /* Show main dropdown on hover */
    .navbar .nav-item:hover > .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light) !important;
        border-radius: 2px !important;
        transition: .5s;
        opacity: 1;
    }
}

/* Submenu styles - position to the right */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    margin-top: 0 !important;
    margin-left: 1px !important;
    display: none !important;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    border-radius: 2px !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
}

/* Show submenu only when parent is hovered */
.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Submenu arrow indicator */
.dropdown-submenu > .dropdown-toggle::after {
    border: none;
    content: "\f105"; /* Right arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    float: right;
    margin-left: auto;
    margin-top: 2px;
}

/* Dropdown item hover effects */
.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

/* Prevent submenu from closing when hovering over it */
.dropdown-submenu:hover > .dropdown-toggle {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

/* For mobile responsiveness */
@media (max-width: 1199px) {
    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        margin-left: 20px;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05) !important;
    }
    
    .dropdown-submenu > .dropdown-toggle::after {
        content: "\f107"; /* Down arrow for mobile */
    }
}

/* Additional positioning fixes */
.navbar .dropdown-menu {
    border: none;
}

.dropdown-submenu > .dropdown-menu {
    border: 1px solid rgba(0,0,0,.125) !important;
}

/* Ensure proper stacking context */
.navbar {
    z-index: 1030;
}

.dropdown-menu {
    z-index: 1000;
}

.dropdown-submenu > .dropdown-menu {
    z-index: 1001;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}



/* style for profile details */
.nav-item.dropdown .dropdown-toggle {
    padding: 10px;
    transition: all 0.3s ease;
}

.nav-item.dropdown .dropdown-toggle:hover {
    background: rgba(var(--bs-primary-rgb), 0.1);
}

.nav-item.dropdown .dropdown-menu {
    min-width: 170px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0px 0px;
    margin-top: 5px;
}

.nav-item.dropdown .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}

.nav-item.dropdown .dropdown-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

.nav-item.dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Make sure dropdown opens on hover for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* end of style for profile details */


/*** Navbar End ***/

/*** Hero Header ***/
.c-item{
    height: 540px;
    background-color: #ffffff;
}

.c-img{
    height: 100%;
    object-fit: contain; /* Shows full image, may have letterboxing */
    background-color: #ffffff;; /* Optional: fill empty space */
}
/* Add this to your existing CSS */
.carousel.slide {
    margin-top: 150px; /* Adjust this value based on your navbar height */
}

.carousel-indicators-btn {
  width: 10px;
  height: 10px;
  border: 2px solid #333;
  background-color: rgba(0, 0, 0, 0.3);
  margin: 0 5px;
  transition: all 0.3s ease;
}

.carousel-indicators-btn.active {
  background-color: #000;
  transform: scale(1.2);
}

.carousel-indicators-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    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 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !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: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}
/*** service End ***/


/* ** home_product_categoriy_tab Start * **/


.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card-compact {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.product-card-compact:hover {
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0,123,255,0.15);
}

.product-item {
    transition: transform 0.2s ease-in-out;
}

.product-item:hover {
    transform: translateY(-3px);
}

.btn-sm {
    font-size: 0.8rem;
}

/* Category and discount badge styling */
.category-badge {
    bottom: 65px;
    left: 10px;
    font-size: 0.75rem;
}

.stock-status {
    bottom: 120px;
    left: 10px;
    font-size: 0.75rem;
}

.discount-badge {
    bottom: 120px;
    right: 10px;
    font-size: 0.75rem;
}

/* Product title styling for consistent height */
.product-title {
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 3.6rem;
    height: 3.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left; 
}

.product-title a:hover {
    color: #007bff !important;
    transition: color 0.2s ease;
}

.card-description{
    font-size: 0.8rem;
    line-height: 1.3;
    min-height: 3.6rem;
    height: 3.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.original-price {
    font-size: 0.8rem;
    color: #dc3545 !important;
}



/* Card hover effects - apply to all product items */
.product-item {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    /* border: 1px solid #e9ecef; */
}

.product-item:hover {
    transform: translateY(-3px);
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0,123,255,0.15);
}

/* Image zoom effect for ALL product items */
.product-item .product-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.product-item .product-img img {
    transition: transform 0.5s ease;
}

.product-item .product-img img:hover {
    transform: scale(1.2);
}

/* Additional enhancement - you can also add this for better shadow effect */
.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* If you want the exact same effect as the carousel version */
.product-item:hover {
    transform: translateY(-3px);
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0,123,255,0.15);
}

/*** home_product_categoriy_tab End ** */





/*** home_individual_categories Start ***/
.product .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.product .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.product .product-categorie .product-name {
    line-height: 40px;
}

.product .product-categorie .product-name a {
    transition: 0.5s;
}

.product .product-categorie .product-name a:hover {
    color: var(--bs-secondary);
}

.product .product-item {
    height: 100%;
    transition: 0.5s;
}
.product .product-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.product .product-item .product-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.product .product-item .product-img img {
    transition: 0.5s;
}

.product .product-item .product-img img:hover {
    transform: scale(1.3);
}
/*** hoeme_individual_categories End ***/



/*** product Start ***/
.product .product-item {
    height: 100%;
    transition: 0.5s;
}

.product .product-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.product .product-item .product-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.product .product-item .product-img img {
    transition: 0.5s;
}

.product .product-item .product-img img:hover {
    transform: scale(1.2);
}

.product .owl-stage {
    margin: 50px 0;
    position: relative;
}

.product .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;

}

.product .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .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;
}

.product .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** product 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 Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/


/*** breadcrumb Start ***/
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    font-family: 'Segoe UI', sans-serif;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.breadcrumb-item a:hover {
    color: #0d6efd;
}

.breadcrumb-item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.breadcrumb-item a:hover::after {
    width: 100%;
}

.breadcrumb-item.active {
    color: #212529;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    padding: 0 0.5rem;
    color: #adb5bd;
}
/*** breadcrumb End ***/





/* Add this CSS to your static CSS file or in the template head */

/* Ensure cart buttons have proper cursor */
.update-cart, .remove-cart {
    cursor: pointer !important;
    transition: all 0.2s ease;
    user-select: none;
}

.update-cart:hover, .remove-cart:hover {
    transform: scale(1.05);
    background-color: #f8f9fa !important;
}

.update-cart:active, .remove-cart:active {
    transform: scale(0.95);
}

/* Disabled state */
.update-cart:disabled, .remove-cart:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

/* Make sure icons don't interfere with clicks */
.update-cart i, .remove-cart i {
    pointer-events: none;
}

/* Quantity input styling */
.quantity input {
    pointer-events: none; /* Prevent manual editing */
    background-color: #f8f9fa;
}

/* Button group styling */
.input-group-btn {
    display: flex;
    align-items: center;
}

/* Ensure proper spacing and alignment */
.input-group.quantity {
    border: 1px solid #dee2e6;
    border-radius: 50px;
    overflow: hidden;
}

.input-group.quantity .form-control {
    border: none;
    background: white;
}

.input-group.quantity .btn {
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
}



.animate-pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Smooth transitions for cart updates */
.table tbody tr {
    transition: all 0.3s ease;
}

.cart-summary-item {
    transition: all 0.2s ease;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
