.btn-number:hover {
    color: var(--web-secondary);
}

thead {
    background: var(--web-primary) !important;
}

.feature_header {
    display: flex;
    justify-content: center;
}

.feature_header span {
    padding-right: 15px;
    padding-left: 15px;
    font-weight: 700;
    font-size: 25px;
    text-transform: uppercase;
}

.cz-product-gallery {
    display: block;
}

.cz-preview {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    max-height: 100% !important;
    background: white;
    border-radius: 10px;
}

.cz-preview-item.active {
    border: 1px solid #e2f0ff;
    border-radius: 3px;
    padding: 2%;
}

.cz-preview-item > img {
    width: 100%;
    max-height: 600px;
}

.details {

    padding: 16px;

}

img,
figure {
    max-width: 100%;
    vertical-align: middle;
}

.cz-thumblist-item.active {
    border-color: #8888883b!important;
    padding: 10%;
    background: white!important;
}

.cz-thumblist-item {
    border-color: #8888883b!important;
    background: white!important;
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0.625rem;
    transition: border-color 0.2s ease-in-out;
    border-radius: 0.3125rem;
    text-decoration: none !important;
    overflow: hidden;
}

.cz-thumblist-item > img {
    display: block;
    width: 80%;
    transition: opacity 0.2s ease-in-out;
    max-height: 58px;
    opacity: 0.6;
}

.seller_details {
    height: 114px;
    border: 1px solid #e2f0ff;
    padding-left: 20px;
    padding-right: 20px;
    background: white!important;
}

.product_overview{
    background: white!important;
}

.shop_name {
    padding-left: 10px;
}

/* Delivery Options Styles */
.delivery-options-section {
    background: white;
    border: 1px solid #e2f0ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.pincode-check-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.pincode-check-section .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
}

.pincode-check-section .btn {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 5px;
    white-space: nowrap;
}

.delivery-date-tabs {
    border-bottom: 1px solid #e2f0ff;
    margin-bottom: 20px;
}

/* More specific selectors to override Bootstrap styles */
.delivery-date-tabs .nav-pills .nav-link {
    background: transparent !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    font-weight: 600;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.delivery-date-tabs .nav-pills .nav-link:hover,
.delivery-date-tabs .nav-pills .nav-link:focus {
    background: #f8f9fa !important;
    border-color: var(--web-primary, #1455ac) !important;
    color: var(--web-primary, #1455ac) !important;
}

.delivery-date-tabs .nav-pills .nav-link.active,
.delivery-date-tabs .nav-pills .nav-link.show {
    background: var(--web-primary, #1455ac) !important;
    border-color: var(--web-primary, #1455ac) !important;
    color: white !important;
}

/* Fallback for older selectors */
.delivery-date-tabs .nav-link {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    font-weight: 600;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.delivery-date-tabs .nav-link:hover {
    background: #f8f9fa;
    border-color: var(--web-primary, #1455ac);
    color: var(--web-primary, #1455ac);
}

.delivery-date-tabs .nav-link.active {
    background: var(--web-primary, #1455ac);
    border-color: var(--web-primary, #1455ac);
    color: white;
}

/* Stronger, page-scoped overrides to prevent global .nav-link white !important */
.product-cart-option-container .delivery-date-tabs .nav-link {
    color: #1f2937 !important; /* dark text for non-active */
    background: #ffffff !important;
    border-color: #ddd !important;
}
.product-cart-option-container .delivery-date-tabs .nav-link:not(.active) {
    color: #1f2937 !important;
}
.product-cart-option-container .delivery-date-tabs .nav-link.active {
    color: #ffffff !important;
}

/* Tab label coloring to beat global nav-link overrides */
.product-cart-option-container .delivery-date-tabs .nav-link .tab-label {
    color: #000000 !important; /* black when not active */
}
.product-cart-option-container .delivery-date-tabs .nav-link.active .tab-label {
    color: #ffffff !important;
}

/* Make Today and Schedule buttons distinct colors when active */
.delivery-date-tabs .nav-link.tab-today.active {
    background: #1455ac !important;
    border-color: #1455ac !important;
    color: #ffffff !important;
}
.delivery-date-tabs .nav-link.tab-schedule.active {
    background: #ff6f00 !important;
    border-color: #ff6f00 !important;
    color: #ffffff !important;
}

/* Optional hover distinction for better visibility */
.delivery-date-tabs .nav-link.tab-today:hover,
.delivery-date-tabs .nav-link.tab-today:focus {
    border-color: #1455ac !important;
    color: #1455ac !important;
}
.delivery-date-tabs .nav-link.tab-schedule:hover,
.delivery-date-tabs .nav-link.tab-schedule:focus {
    border-color: #ff6f00 !important;
    color: #ff6f00 !important;
}

.delivery-date-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--web-primary);
}

.delivery-date-label {
    font-weight: 600;
    color: #333;
}

.delivery-date-value {
    font-weight: 700;
    color: var(--web-primary);
    margin-left: 10px;
}

.time-slots h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.time-slot-btn {
    border: 2px solid #e2f0ff;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    color: #666;
    height: auto;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.time-slot-btn:hover {
    border-color: var(--web-primary, #1455ac);
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(var(--web-primary-rgb, 20, 85, 172), 0.05) 100%);
    color: var(--web-primary, #1455ac);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--web-primary-rgb, 20, 85, 172), 0.15);
}

.btn-check:checked + .time-slot-btn {
    background: linear-gradient(135deg, var(--web-primary, #1455ac) 0%, rgba(var(--web-primary-rgb, 20, 85, 172), 0.9) 100%) !important;
    border-color: var(--web-primary, #1455ac) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--web-primary-rgb, 20, 85, 172), 0.25);
}

/* Additional specificity for checked state */
input[type="radio"].btn-check:checked + .time-slot-btn {
    background: var(--web-primary, #1455ac) !important;
    border-color: var(--web-primary, #1455ac) !important;
    color: white !important;
}

.btn-check:checked + .time-slot-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    pointer-events: none;
}

.btn-check:checked + .time-slot-btn:hover {
    background: linear-gradient(135deg, var(--web-primary, #1455ac) 0%, rgba(var(--web-primary-rgb, 20, 85, 172), 0.8) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--web-primary-rgb, 20, 85, 172), 0.3);
}

.time-slot-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.time-slot-time {
    font-size: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-check:checked + .time-slot-btn .time-slot-label {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-check:checked + .time-slot-btn .time-slot-time {
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.time-slot-btn:hover .time-slot-label {
    font-weight: 700;
}

.time-slot-btn:hover .time-slot-time {
    opacity: 0.9;
}

.calendar-container .form-control {
    border: 2px solid #e2f0ff;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-container .form-control:focus {
    border-color: var(--web-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--web-primary-rgb), 0.25);
}

.calendar-container .form-control:hover {
    border-color: var(--web-primary);
}

/* Alert Styles */
#pincode-result .alert {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
}

#pincode-result .alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#pincode-result .alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .delivery-options-section {
        padding: 15px;
    }
    
    .delivery-date-tabs .nav-link {
        padding: 8px 15px;
        margin-right: 5px;
        margin-bottom: 10px;
    }
    
    .time-slot-btn {
        min-height: 70px;
        padding: 10px 5px;
    }
    
    .time-slot-label {
        font-size: 13px;
    }
    
    .time-slot-time {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .delivery-date-display {
        padding: 12px;
    }
    
    .delivery-date-label,
    .delivery-date-value {
        display: block;
        margin-left: 0;
    }
    
    .delivery-date-value {
        margin-top: 5px;
    }
}

.shop_name a {
    font-size: 18px;
    font-weight: 600;
    color: black !important;
}

.shop_name .review {
    font-size: 17px;
    font-weight: 600;
}

.star-rating {
    margin-top: 3px;
}

.contact {
    font-weight: 600;
    min-height: 45px;
    background: transparent linear-gradient(269deg, #00ade3 0%, #1b7fed 100%) 0%
        0% no-repeat padding-box;
    border-radius: 6px;
    border: none;
    padding: 0 10px;
    font-size: 18px;
    color: #ffffff !important;
}

.follow {
    font-weight: 600;
    min-height: 45px;
    background: transparent linear-gradient(269deg, #00ade3 0%, #1b7fed 100%) 0%
        0% no-repeat padding-box;
    border-radius: 6px;
    border: none;
    padding: 0 10px;
    font-size: 18px;
    color: #ffffff !important;
}

.product_overview .nav-tabs {
    height: 59px;
    border: 1px solid #e2f0ff;
}

.product_overview .nav-tabs .nav-item .nav-link {
    font-weight: 700;
    font-size: 25px;
}

.product_overview .nav-tabs .nav-link.active::before {
    background-color: #1b7fed;
}

.product_overview .nav-tabs .nav-link::before {
    position: absolute;
    display: block;
    bottom: 0;
    left: 1.25rem;
    width: calc(100% - (1.25rem * 2));
    height: 4px;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out,
        box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
    background-color: transparent;
    content: "";
}

.product_overview .nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #422afe;
    background-color: rgba(0, 0, 0, 0);
    border-color: #12d7fe;
    padding-bottom: 0;
}

/*.text-accent {
    color: #1B7FED !important;
    font-size: 29px;
    font-weight: 700;
}*/

.pro {
    font-weight: 600;
    font-size: 16px;
}

.details .h3 {
    font-weight: 700 !important;
    font-size: 25px;
}



.product-description-label {
    /* font-family: "Roboto", sans-serif; */
    /* font-weight: 700; */
    font-size: 14px;
}

.product-price {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.single_product_review {
    box-shadow: 0px 0px 8px #00000026;
    border-radius: 6px;
}

.product_review_rating {
    color: #1b7fed;
    font-size: 18px;
    font-weight: 600;
    padding-right: 5px;
}

.overall_review {
    font-weight: 700 !important;
    font-size: 30px;
}

.specification .h6 {
    font-weight: 700 !important;
    font-size: 22px !important;
}

.list-unstyled li {
    font-weight: 700;
    font-size: 20px;
    color: black !important;
}

.seller_contact {
    height: 100%;
    display: flex !important;
    justify-content: flex-end !important;
}

.seller_shop {
    display: flex !important;
    justify-content: flex-start !important;
}

.view_all {
    display: flex;
    justify-content: flex-end !important;
}

.view_border {
    margin-top: -53px;
    border-top: 2px solid #e3e9ef;
    margin-bottom: 53px;
}

@media (max-width: 767.98px) and (min-width: 576px) {
    .cz-preview-item > img {
        width: 100%;
    }

    .seller_details {
        height: 160px;
    }

    .seller_contact {
        display: flex !important;
        justify-content: center !important;
    }

    .seller_shop {
        display: flex !important;
        justify-content: center !important;
    }

    .view_all {
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header {
        margin-top: 0;
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header span {
        padding-right: 0;
        padding-left: 0;
        font-weight: 700;
        font-size: 25px;
        text-transform: uppercase;
    }

    .view_border {
        margin: 16px 0px;
        border-top: 2px solid #e2f0ff !important;
    }
}

@media (max-width: 575.98px) {
    .cz-thumblist {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
        margin-right: -1rem;
        margin-left: 0;
        padding-top: 1rem;
        padding-right: 22px;
        padding-bottom: 10px;
    }

    .cz-thumblist-item {
        margin: 0px;
    }

    .cz-thumblist {
        padding-top: 8px !important;
    }

    .cz-preview-item > img {
        width: 100%;
    }

    .seller_details {
        height: 160px;
    }

    .seller_contact {
        display: flex !important;
        justify-content: center !important;
    }

    .seller_shop {
        display: flex !important;
        justify-content: center !important;
    }

    .view_all {
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header {
        margin-top: 0;
        display: flex;
        justify-content: flex-start !important;
    }

    .feature_header span {
        padding-right: 0;
        padding-left: 0;
        font-weight: 700;
        font-size: 25px;
        text-transform: uppercase;
    }

    .view_border {
        margin: 16px 0;
        border-top: 2px solid #e2f0ff !important;
    }
    @media (max-width: 375px) {
        .for-discount-div {
            margin-top: -5% !important;
            margin-right: -5% !important;
            margin-bottom: 6%;
        }
    }
}
