
.carousel-item img {
    height: 400px;
}
.carousel-item {
    margin-top:65px;
}



.catagoryImg:hover {
    transform: translateY(-2px);
    transition: transform .2s;
}

.catagoryImg {
    width: 50px;
    height: 50px;

}



.cardImage {
    height:auto;

}


.margin100 {
    margin-top: 100px;
}

.seeMore {
    text-align: center;
    margin-top: 20px;
}

.buyNowForm {
    width: 100%;
    height: 100vh;
    border: none;
}

a{
    text-decoration: none;
    color:black;
}

.cart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
}
.cart-dropdown.show {
    display: block;
}
.cart-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}
.product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
}




.card {
    position: relative;
    overflow: hidden;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.discount-badge .badge {
    background: linear-gradient(45deg, #ff3c3c, #ff0000);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 5px;
}

.original-price del {
    color: #6c757d;
    font-size: 0.9rem;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color:green;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .discount-badge .badge {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .carousel-item img {
        height: 200px;
    }
    
}

.cart-wrapper {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 320px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.cart-dropdown.show {
    display: block;
}

/* Cart Items Container with Scrolling */
.cart-items-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    /* Customize scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Webkit scrollbar customization */
.cart-items-container::-webkit-scrollbar {
    width: 5px;
}

.cart-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Checkout Section Styles */
.checkout-section {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    margin-top: auto;
}

.cart-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}


/* my cart er jonne */

.cart-wrapper {
    position: relative;
    margin-left: 1rem; /* For left spacing on large screens */
    z-index: 100;
}



.cart-icon-container:hover {
    background: #e9ecef;
}

.cart-icon-link {
    text-decoration: none;
}

.cart-count {
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-left: 5px;
}

.cart-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cart-dropdown.show {
    display: block;
}

@media (max-width: 991px) {
    .navbar-toggler {
        order: 2; /* Placing the toggler after the cart icon on small screens */
    }

    .cart-wrapper {
        order: 1; /* Cart on the left side */
        margin-left:100px;
        margin-right: 0;
    }

    .cart-icon-container {
        padding: 3px 8px;
    }

    .cart-dropdown {
        position: fixed;
        top: 60px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .cart-wrapper {
        order: 3; /* Keep the cart icon after the navbar items */
    }
}


/* Add these styles to your CSS */
.navbar .nav-link.active {
    color: #0d6efd !important;
    font-weight: 500;
}

.navbar .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

/* Optional: Style for active dropdown parent */
.navbar .dropdown.show > .nav-link {
    color: #0d6efd !important;
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-left: 2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar .container {
        padding: 0.5rem 1rem;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1010;
    }

    .cart-wrapper {
        position: relative;
        z-index: 1020;
    }

    .navbar-toggler {
        padding: 4px 8px;
        z-index: 1020;
    }
    
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* inside & outside dhaka delivery charge for code */

.order-summary-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin: 1.5rem 0;
}

.summary-title {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    transition: background-color 0.3s ease;
}

.summary-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0 -0.75rem;
}

.item-label {
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.item-label i {
    width: 20px;
    text-align: center;
    color: #007bff;
}

.item-value {
    font-weight: 600;
    color: #2c3e50;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(to right, #e9ecef, #007bff, #e9ecef);
    margin: 1rem 0;
    border-radius: 2px;
}

.summary-item.total {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 0 -0.75rem;
}

.summary-item.total .item-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.summary-item.total .item-value {
    color: #007bff;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Animation for value changes */
.item-value span {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-summary-container {
        padding: 1rem;
        margin: 1rem 0;
    }

    .summary-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .summary-card {
        padding: 1rem;
    }

    .summary-item {
        padding: 0.5rem 0;
    }

    .item-label {
        font-size: 0.9rem;
    }

    .item-value {
        font-size: 0.9rem;
    }

    .summary-item.total {
        padding: 0.75rem;
    }

    .summary-item.total .item-label,
    .summary-item.total .item-value {
        font-size: 1rem;
    }
}

/* Make modal more responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 15px;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* Add smooth transitions */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

/* Add animation for summary updates */
@keyframes highlight {
    0% {
        background-color: #fff3cd;
    }
    100% {
        background-color: transparent;
    }
}

.summary-item.updated {
    animation: highlight 1s ease;
}

/* combo pack design */
.combo-offers {
    padding: 8px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.combo-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.combo-item {
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.combo-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.quantity {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

.discount {
    color: #dc3545;
    font-weight: bold;
    font-size: 0.9rem;
    background-color: #fff3f5;
    padding: 3px 6px;
    border-radius: 4px;
}

.combo-btn {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.combo-btn:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.combo-btn .fas {
    font-size: 0.8rem;
}

.footer-color{
    background-color: #0B5ED7;
}
body{
    background-color: #edf4ff;
}

/* live chat widget */
.contact-dropdown {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.dropdown-btn {
    background-color: #25EFF3;
    color: white;
    padding: 20px 20px;
    border: none;
    border-radius: 50%;  /* গোলাকার করার জন্য */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; /* আইকন সেন্টার করার জন্য */
    width: 50px; /* বাটনের প্রস্থ নির্ধারণ */
    height: 50px; /* বাটনের উচ্চতা নির্ধারণ */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}


.dropdown-btn:hover {
    background-color: #25EFF3;
    transform: scale(1.05);
}

.dropdown-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.contact-options {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px;
    margin-bottom: 10px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: black;
    transition: background-color 0.2s;
    border-radius: 5px;
}

.contact-option:hover {
    background-color: #f1f1f1;
}

.contact-option i {
    margin-right: 10px;
    font-size: 20px;
}

.contact-option.whatsapp {
    color: #25D366;
}

.contact-option.call {
    color:black;
}

.contact-option.messenger {
    color: #0084FF;
}
