/*minishop index*/
/* Combined Search, Categories, and Cart Styling */
.search-category-container {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-control{
    border-radius: 10px;
}

.categories-dropdown {
    min-width: 150px;
    border-radius: 10px;
}

.search-category-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-group {
    display: flex;
    flex: 1;
    gap: 15px;
    align-items: center;
}

.categories-dropdown {
    min-width: 150px;
    border-radius: 10px;
}

.categories-dropdown .dropdown-toggle {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.categories-dropdown .dropdown-menu {
    width: 250px;
    padding: 10px 0;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 10px;
}

.categories-dropdown .dropdown-item {
    padding: 8px 15px;
}

.categories-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

.input-group {
    width: 500px;
}

.cart-btn {
    width: 45px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-category-flex {
        flex-direction: column;
        gap: 10px;
    }

    .search-group {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .form-control{
        border-radius: 10px;
    }

    .categories-dropdown {
        width: auto;
        min-width: auto;
    }

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

    .btn.dropdown-toggle span {
        display: none; /* Hide text on smaller screens */
    }

    .input-group {
        width: auto;
        flex: 1;
    }

    .cart-btn {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .search-group {
        gap: 8px;
    }

    .categories-dropdown .dropdown-toggle {
        padding: 0.375rem 0.75rem;
    }
}

.tiktok {
    width: 24px;
    height: 24px;
}

/* Reset Filter Button */
.cls-reset {
    cursor: pointer;
    text-align: center;
    color: #007bff;
    text-decoration: underline;
}

.cls-reset:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Promotion Slider Responsive Styling */
.carousel-inner .promo-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-inner .promo-image {
        height: 150px;
        width: 100%;
        border-radius: 10px;
    }

    /* Adjust carousel controls for mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-indicators {
        bottom: 0;
    }

    /* Product grid adjustments for mobile */
    /* Product grid adjustments */
    .col-sm-6.col-lg-3 {
        width: 50% !important;
        padding: 5px;
        float: left;
    }

    .card.item-card {
        margin-bottom: 10px;
    }

    .card.item-card .card-body {
        padding: 8px;
    }

    /* Product image adjustments */
    .product-img img {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover;
    }

    .text-center.mt-4 {
        margin-top: 10px !important;
    }

    .cls-prod-name {
        font-size: 12px;
        line-height: 1.2;
        height: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin: 5px 0;
    }

    .price {
        font-size: 12px;
        margin: 5px 0;
    }

    .price small {
        font-size: 11px;
    }

    .product-info .btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    /* Ensure proper row clearing */
    .carousel-item .row::after {
        content: "";
        clear: both;
        display: table;
    }

    /* Adjust carousel spacing */
    .carousel-item .row {
        margin: 0 -5px;
    }
}

@media (max-width: 375px) {
    .col-sm-6.col-lg-3 {
        padding: 4px;
    }

    .product-img img {
        height: 130px !important;
    }

    .cls-prod-name {
        font-size: 11px;
    }

    .price {
        font-size: 12px;
    }

    .product-info .btn {
        padding: 3px 6px;
        font-size: 11px;
    }
}

/* Product Card Styling */
.card.item-card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*transition: transform 0.3s ease;*/
    margin-bottom: 15px;
}

.product-img {
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 321px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    /*transition: transform 0.3s ease;*/
}

/* Button Hover Animation */
.btn {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Center the search bar and align the cart button */
.row.mb-3.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-group {
    max-width: 600px;
}

.btn.ml-3 {
    margin-left: 10px;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
}

/* Product Image Styling */
.product-img img {
    width: 321px;
    height: 321px; /* Fixed height */
    object-fit: cover;
    border-radius: 10px;
}

/* Social Media Section Styling */
.social-icons a {
    color: #fff;
    font-size: 16px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    text-decoration: none;
}

/* Product Slider Styling */
.product-slider {
    position: relative;
    padding: 0 40px;
}

.product-slider .carousel-control-prev,
.product-slider .carousel-control-next {
    width: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.product-slider .carousel-control-prev {
    left: -10px;
}

.product-slider .carousel-control-next {
    right: -10px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #F08F35;
}

.carousel-item {
    padding: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-slider {
        padding: 0 20px;
    }

    .col-sm-6.col-lg-3 {
        margin-bottom: 20px;
    }
}

/* Footer Styling */
.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #6c757d;
}

.footer a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #007bff;
}

.footer img {
    vertical-align: middle;
}

@media (max-width: 576px) {
    .footer {
        padding: 15px 10px;
    }

    .footer .text-right,
    .footer .text-left {
        text-align: center;
    }

    .footer img {
        max-width: 50px;
        margin-right: 5px;
    }

    .footer h6 {
        font-size: 14px;
    }

    .footer p {
        font-size: 12px;
    }
}

/*Agent Profile Card*/
.agent-profile-card {
    background: linear-gradient(to bottom, #FFA726, #FFD68A);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.agent-name {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.agent-id {
    color: #353935;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.copy-icon {
    cursor: pointer;
    margin-left: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.social-link i {
    font-size: 1.5rem;
}

/* Social icon specific colors */
.social-link .fa-facebook-f {
    color: #1877f2;
}

.social-link .fa-instagram {
    color: #e4405f;
}

.social-link .fa-tiktok {
    color: #000;
}

.social-link .fa-whatsapp {
    color: #25d366;
}

.social-link .fa-share-alt {
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1.2rem;
    }

    .social-links {
        gap: 1rem;
    }
}

/*See all link*/
.btn-sm {
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}

.form-control.form-control-sm {
    min-width: 180px;
    max-width: 250px;
}

/*page all products*/
/* General pagination styles */
.pagination {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Allow horizontal scroll if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    padding: 10px 0; /* Add padding for scrollbar */
}

.pagination::-webkit-scrollbar {
    display: none; /* Hide scrollbar for cleaner look */
}

.pagination .page-item .page-link {
    border-radius: 10px;
    color: #5e72e4;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    padding: 8px 15px;
}

.pagination .page-item.active .page-link {
    background-color: #5e72e4;
    border-color: #5e72e4;
    color: white;
}

.pagination .page-item .page-link:hover {
    background-color: #edf2ff;
    border-color: #5e72e4;
}

/* Mobile-responsive pagination */
@media (max-width: 768px) {
    .pagination .page-item .page-link {
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Hide page numbers but keep first, last, and current */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    /* Show immediate siblings of active page */
    .pagination .active + .page-item,
    .pagination .active + .page-item + .page-item,
    .pagination .page-item:nth-last-child(2) {
        display: block;
    }

    /* Compact dots for better spacing */
    .pagination .page-item.disabled .page-link {
        padding: 6px 8px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .pagination .page-item .page-link {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* Product card responsive styles */
.product-card {
    height: 100%;
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive button sizes */
@media (max-width: 768px) {
    .product-action-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/*for product details page*/
/* Header and Container Styles */
.page-header {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

/* Product Layout */
.product-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Product Gallery */
.product-gallery {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 16px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    border-color: #F08F35;
}

/* Product Info */
.product-info-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 24px;
}

.product-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Quantity Selector and Buttons */
.quantity-section {
    margin-bottom: 24px;
}

.quantity-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: white;
    color: #4b5563;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #f9fafb;
    color: #1f2937;
}

.qty-input {
    width: 60px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin: 0 8px;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-add-cart, .btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 100px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-wrap: wrap;
}

.btn-add-cart {
    background: #F08F35;
    color: white;
}

.btn-add-cart:hover {
    background: #FDC883;
    transform: translateY(-1px);
}

.btn-buy-now {
    background: #059669;
    color: white;
}

.btn-buy-now:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* Tabs */
.product-tabs {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.tab-button {
    padding: 16px 24px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button.active {
    color: #8760fb;
    border-bottom: 2px solid #4f46e5;
}

.tab-content {
    padding: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.action-buttons-wrapper {
    display: flex;
    gap: 15px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.action-btn i {
    font-size: 16px;
}

.action-btn .badge {
    margin-right: 5px;
}

/* Specific button styles */
.btn-outline {
    border: 1px solid #dee2e6;
    background: transparent;
    color: #495057;
}

.btn-outline:hover {
    background: #FDC883;
}

.btn-danger-outline {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    transition: all 0.3s ease;
}

.btn-danger-outline:hover {
    background: #dc3545;
    color: white;
}


.btn-primary {
    background: #F08F35;
    color: white;
    border: none;
}

.btn-success {
    background: #059669;
    border: none;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .header-actions {
        padding: 10px;
    }

    .action-buttons-wrapper {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .action-btn {
        padding: 8px 12px;
        display: inline-flex;
        align-items: center;
    }

    .btn-text {
        display: none; /* Hide text on mobile */
    }

    .action-btn .badge {
        margin-right: 0;
    }
}

/* Small tablets */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .action-buttons-wrapper {
        gap: 10px;
    }

    .action-btn {
        padding: 8px 15px;
    }
}

/* Base cart styling */
.product-img-cart {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-img-cart:hover {
    transform: scale(1.05);
}

.product-row {
    transition: all 0.3s ease;
}

.product-row:hover {
    background-color: #f8f9fa;
}

/* Product info wrapper */
.product-info-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-wrapper {
    max-width: 150px;
}

/* Table styling */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
}

/* Button styling */
.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-outline-danger:hover {
    transform: scale(1.05);
}

/* Empty cart styling */
.empty-cart {
    padding: 2rem;
    color: #6c757d;
}

.empty-cart i {
    color: #dee2e6;
}

/* Action buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-buttons .btn {
    white-space: nowrap;
    padding: 8px 15px;
    font-size: 14px;
}

/* Quantity wrapper styling */
.quantity-wrapper .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.quantity-wrapper .form-control {
    border: 1px solid #e9ecef;
}

.quantity-wrapper .input-group-text {
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

/*shipping styling*/
.voucher-section {
    margin-top: 15px;
    text-align: center;
}

.voucher-section .input-group {
    max-width: 300px;
    margin: 0 auto;
}

.voucher-section .btn {
    border-radius: 5px;
}

/*show.blade.php style*/
 .custom-card {
     border: none;
     box-shadow: 0 0 20px rgba(0,0,0,0.08);
     border-radius: 15px;
 }

.page-titles {
    padding: 1.5rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: #6c757d;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.invoice-notes {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Status badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.badge-info {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
    color: white;
}

/* Table improvements */
.table-invoice {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
}

.table-invoice thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Address sections */
address {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Card footer */
.card-footer {
    background: transparent;
    border-top: 1px solid #dee2e6;
    padding: 1.5rem 2rem;
}

/* Hover effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Print styles */
@media print {
    .noprint {
        display: none !important;
    }

    .custom-card {
        box-shadow: none;
    }
}

/* General responsive table styles */
@media screen and (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Stack the table cells on mobile */
    .table-invoice {
        display: block;
    }

    .table-invoice thead {
        display: none; /* Hide table headers on mobile */
    }

    .table-invoice tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
    }

    .table-invoice tbody td {
        display: block;
        text-align: right;
        padding: 0.75rem;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }

    /* Add labels before each td content */
    .table-invoice tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.85em;
    }

    /* Remove bottom border from last td in each tr */
    .table-invoice tbody tr td:last-child {
        border-bottom: none;
    }

    /* Adjust spacing for nested tables */
    .table-responsive .table-responsive {
        margin: 0;
        border: none;
    }

    /* Address columns adjustment */
    .col-lg-6 {
        text-align: left !important;
        margin-bottom: 2rem;
    }

    /* Adjust card padding */
    .card-body {
        padding: 1rem;
    }

    /* Make buttons full width on mobile */
    .card-footer .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust spacing for payment info */
    .invoice-notes {
        margin-top: 1rem;
    }

    /* Footer adjustments */
    .footer .col-6 {
        width: 100%;
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
}

/* Additional responsive improvements */
@media screen and (max-width: 576px) {
    .d-lg-flex {
        flex-direction: column;
    }

    .card-title {
        text-align: left;
        margin-top: 1rem;
    }

    .page-header h2 {
        font-size: 1.5rem;
    }

    .footer img {
        max-width: 50px;
        margin: 5px;
    }
}

/* General Styling */
.qty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* Styling for the Plus and Minus Buttons */
/* Styling for the Quantity Input Field */
.qty .count {
    width: 60px;
    height: 35px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.qty .count:focus {
    border-color: #007bff; /* Blue border on focus */
}

/* Styling for the Unit Text */
.qty h5.text-center {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* Error Message Styling */
.qty .cls-err-qty-cart {
    font-size: 12px;
    margin-top: 5px;
}

/* Styling for Small Help Text */
.qty small.text-danger {
    font-size: 12px;
    margin-top: 5px;
}

/* Badge Danger Styling */
.badge-danger {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background-color: #dc3545;
    border-radius: 12px;
    text-align: center;
    min-width: 24px;
    height: 24px;
    line-height: 14px;
    vertical-align: middle;
}

/* Optional hover effect */
.badge-danger:hover {
    background-color: #c82333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* text overflow */
.product-text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

