body {
    background-color: #f8f8f8;
    font-size: 14px;
    line-height: 1.7;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.cart-popup {
    position: absolute;
    top: 60px;
    right: 0;
    padding: 30px !important;
    display: none;
    background-color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0px !important;
    width: 280px !important;
    transform: translate(-10px, 0px);
    z-index: 9999999;
}

.cart-popup.visible {
    display: block;
}



.loader {
    display: none;
    /* border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db; */
    /* width: 40px; */
    /* height: 40px; */
    /* animation: spin 2s linear infinite; */
    margin: 7rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader img {
    width: 200px;
}

/* @keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} */

/* Style for the category buttons */
.category-list {
    margin-top: 20px;
}

.category-btn {
    background-color: transparent;
    /* Remove background */
    border: none;
    /* Remove border */
    font-weight: bold;
    /* Bold text */
    color: #57616b;
    /* Initial color */
    letter-spacing: 1px;
    /* Increase spacing between letters */
    font-size: 14px;
    /* Adjust font size */
    padding: 0;
    /* Remove padding */
}

.category-btn:hover,
.category-btn:focus {
    color: #000;
    /* Turn full black on hover or focus */
}

.category-btn.active {
    color: #000;
    /* Full black color when active */
}

/* Optionally, remove text-decoration if added elsewhere */
.category-btn:hover,
.category-btn:focus,
.category-btn.active {
    text-decoration: none;
    /* Remove underline effect */
}


/* Remove border from the button */
.card-popup .cart-btn {
    border: none;
    background-color: transparent;
    /* Make the button background transparent */
    display: flex;
    align-items: center;
    padding: 0;
}

/* Adjust the spacing between the cart icon and arrow */
.cart-btn i {
    margin-left: 5px;
}

.cart-item img {
    border-radius: 5px;
    object-fit: cover;
}

.btn-outline-danger i {
    color: #dc3545;
    font-size: 1.2rem;
}

.btn-outline-danger:hover {
    background-color: inherit !important;
    cursor: pointer;
}



/* Card customizations */
#products .product-card-custom {
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

/* The image container */
#products .image-container {
    position: relative;
    overflow: hidden;
}

/* Overlay container, now affecting only the image */
#products .overlay {
    position: absolute;
    top: 0;
    left: -100%;
    /* Initially off-screen */
    width: 100%;
    height: 100%;
    /* background-color: rgba(255, 255, 255, 0.9); */
    background-color: hsla(0, 0%, 100%, .9);
    /* White transition */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: left 0.7s ease;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Hover effect applied on the entire card, but the overlay only affects image */
#products .product-card-custom:hover .overlay {
    left: 0;
    opacity: 1;
    animation: animate__fadeInLeft 0.7s ease;
}

/* Arrow button styling */
#products .overlay-btn {
    position: absolute;
    top: 20%;
    /* Margin added for better spacing */
    right: 15%;
    background: none;
    border: 1px solid #333;
    /* Improved border styling */
    border-radius: 50%;
    /* Perfect circle */
    padding: 12px;
    /* Larger padding for a bigger button */
    cursor: pointer;
    width: 38px;
    height: 38px;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center the SVG inside the button */
}

/* Hover arrow effect */
#products .product-card-custom:hover .overlay-btn {
    opacity: 1;
    animation: animate__fadeInRight 0.5s ease;
}

/* Overlay content */
#products .overlay-content {
    position: absolute;
    bottom: 0px;
    text-align: center;
    margin-bottom: 12px;
    transform: translateY(100%);
    opacity: 0;
    /* transition: opacity 0.7s ease, transform 0.7s ease; */
    transition: all .4s cubic-bezier(.57, .21, .69, 1.25)
}

/* Hover content animation */
#products .product-card-custom:hover .overlay-content {
    opacity: 1;
    transform: translate(0);
    animation: animate__fadeInUp;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
}

/* Overlay title and subtitle */
#products .overlay-title {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    margin-bottom: 5px;
}

#products .overlay-subtitle {
    font-size: 18px;
    /* Larger font size */
    font-weight: 700;
    /* Bold subtitle */
    color: #333;
    margin-bottom: 5px !important;
}

/* Price and Cart button styles */
#products .price {
    font-size: 20px;
    color: #e74c3c;
    font-weight: bold;
}

#products .cart-btn {
    color: #000;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

#products .cart-btn:hover {
    text-decoration: underline;
    color: #000;
}

#products .card-img-top {
    padding: 30px;
    min-height: 170px;
}


.footer-info {
    padding: 40px 20px;
    border-radius: 5px;
    /* Slight rounded corners */
}

.footer-info img {
    width: 50px;
    height: auto;
}

.footer-info .ms-3 {
    margin-left: 15px;
}

.footer-info h6 {
    font-size: 16px;
    /* Adjust heading size */
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.footer-info p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    /* Remove default paragraph margin */
}

.footer-row {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        /* Stack vertically on small screens */
        text-align: center;
    }

    .footer-info img {
        margin-bottom: 10px;
        /* Add spacing below the icon */
    }

    .footer-info .ms-3 {
        margin-left: 0;
        /* Remove left margin for mobile */
    }
}

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #e9ecef;
    /* Adds a top border to separate from the above content */
}

.footer-bottom p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.footer-bottom img {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        /* Stack content vertically on small screens */
        text-align: center;
        /* Center align both text and icons */
    }

    .footer-bottom img {
        margin-left: 0;
        margin-top: 10px;
        /* Adds spacing above the icons on mobile */
    }
}



/* Checkout */
#checkout .table th,
#checkout .table td {
    vertical-align: middle;
}

/* Quantity input styling */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.quantity-selector button {
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1.2rem;
}

/* Delete button without red background */
.btn-delete {
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
    /* Set a subtle color for the trash icon */
}

/* Align buttons */
.btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}




.login-btn {
    display: inline-block;
    background-color: #ffffff;
    border: 2px solid #000000;
    /* Black border */
    color: #000000;
    /* Black text */
    padding: 8px 16px;
    /* Smaller padding */
    border-radius: 50px;
    /* Rounded corners */
    text-decoration: none;
    /* Remove underline from anchor */
    font-size: 14px;
    /* Smaller font size */
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #000000;
    /* Black background on hover */
    color: #ffffff;
    /* White text on hover */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}




#product-details {
    display: flex;
    align-items: stretch;
    gap: 15px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#product-details .product-img-container,
#product-details .product-details {
    flex: 1;
}

#product-details .product-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#product-details .product-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-description-container {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-description-container p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

#product-details .product-details {
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

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

#product-details .product-info {
    margin-bottom: 15px;
}

#product-details .product-title {
    font-weight: 700;
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 10px;
}

#product-details .product-details-sku {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

#product-details .product-price-section {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

#product-details .product-price {
    font-size: 26px;
    color: var(--bs-danger);
    font-weight: 600;
}

#product-details .product-price del {
    font-size: 16px;
    color: #bdc3c7;
    margin-left: 5px;
}

.product-weight {
    font-size: 15px;
    color: #555;
}

#product-details .product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
    margin-bottom: 10px;
}

/* SKU and Product Type Row */
.product-info-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.product-info-row h5 {
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
}


#product-details .variant-section {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

#product-details .variant-section h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 0;
}

#product-details .variant-section label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

#product-details .variant-section label:hover {
    background-color: #f1f1f1;
}

#product-details .variant-section input[type='radio'] {
    margin-right: 5px;
}

#product-details .quantity-section {
    margin-bottom: 8px;
}

#product-details input[type='number'] {
    padding: 8px 16px;
    font-size: 15px;
    width: 100%;
    max-width: 80px;
    border: 1px solid #ccc;
    border-radius: 50px !important;

}

#product-details .action-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

#product-details button {
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#product-details .btn-outline-dark {
    border: 2px solid #34495e;
    color: #34495e;
}

#product-details .btn-outline-dark:hover {
    background-color: #34495e;
    color: #fff;
}

#product-details .btn-dark {
    background-color: #34495e;
    color: #fff;
    border: 2px solid transparent;
}

#product-details .btn-dark:hover {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}

@media (max-width: 768px) {
    #product-details {
        flex-direction: row;
        gap: 10px;
    }

    .product-img-container {
        flex: 1;
        margin-right: 20px;
    }

    #product-details .product-details {
        padding: 20px;
        flex: 1;
    }

    #product-details .product-title {
        font-size: 24px;
    }

    #product-details .product-price {
        font-size: 20px;
    }

    #product-details button {
        font-size: 14px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    #product-details input[type='number'] {
        max-width: 60px;
    }
}

@media (max-width: 576px) {
    .product-info-row {
        flex-direction: column;
        /* Stack the items vertically on very small screens */
        align-items: flex-start;
    }
}


























.user-dropdown .dropdown-toggle {
    background-color: #ffffff;
    border: 2px solid #000000;
    color: #000000;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    /* Add Flexbox properties */
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown .dropdown-toggle span {
    margin-right: 8px;
    /* Adjust this for spacing between the span and icon */
}

.user-dropdown .dropdown-toggle i {
    display: flex;
    align-items: center;
}

.user-dropdown .dropdown-toggle:hover {
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Dropdown menu styles */
.user-dropdown .dropdown-menu {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 10px;
    margin-top: 8px;
}

.user-dropdown .dropdown-item {
    color: #000000;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.user-dropdown .dropdown-item:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Adjust dropdown position */
.user-dropdown .dropdown-menu {
    left: auto;
    right: 0;
}

/* Optional: Adjust caret color */
.user-dropdown .dropdown-toggle::after {
    border-top-color: #000000;
    transition: border-top-color 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover::after {
    border-top-color: #ffffff;
}

.wishlist-btn {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 50px;
    transform: scale(1.05);
    transition: all 0.3s ease;
    margin: 4px 6px;
}

.wishlist-btn:hover {
    background-color: #ff3b2f;
    transform: scale(1.05);
    color: #fff;
}

.wishlist-btn:active {
    transform: scale(0.95);
}

.wishlist-btn i {
    margin-right: 0px;
}

.wishlist .dropdown-toggle::after {
    display: none !important;
}


#pagination {
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
}

/* Style the pagination links */
.pagination .page-item .page-link {
    color: #000;
    /* Black text color */
    background-color: #f1f1f1;
    /* Light gray background */
    border: 1px solid #ddd;
    margin: 0 5px;
    border-radius: 4px;
}

/* Style the active page */
.pagination .page-item.active .page-link {
    background-color: #000;
    /* Black background for active page */
    color: #fff;
    /* White text color for active page */
    border-color: #000;
}

/* Hover effect for pagination links */
.pagination .page-item .page-link:hover {
    background-color: #e0e0e0;
    /* Slightly darker gray on hover */
    color: #000;
    text-decoration: none;
}

/* Optional: Remove focus outline */
.pagination .page-item .page-link:focus {
    box-shadow: none;
}

 /* Custom Tooltip Styles */
 .tooltip-inner {
    background-color: #343a40; /* Dark background */
    color: #ffffff; /* White text */
    padding: 10px; /* Increase padding for better readability */
    font-size: 0.9rem; /* Slightly increase font size */
    border-radius: 5px; /* Rounded corners */
}

.tooltip-arrow::before {
    border-top-color: #343a40 !important; /* Match arrow color with the tooltip background */
}

.footer-links {
    text-align: left;
}
.footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 6px;
    font-size: 12px;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer {
    background: #f1f1f1;
    padding: 20px 0;
}
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}
.footer-info {
    padding: 10px;
}