.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 #E9EDE4;
    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 #E9EDE4;
    padding-left: 20px;
    padding-right: 20px;
    background: white!important;
}

.product_overview{
    background: white!important;
}

.shop_name {
    padding-left: 10px;
}

.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%, #16224F 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%, #16224F 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 #E9EDE4;
}

.product_overview .nav-tabs .nav-item .nav-link {
    font-weight: 700;
    font-size: 25px;
}

.product_overview .nav-tabs .nav-link.active::before {
    background-color: #16224F;
}

.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: #16224F !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: #16224F;
    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 #E9EDE4 !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 #E9EDE4 !important;
    }
    @media (max-width: 375px) {
        .for-discount-div {
            margin-top: -5% !important;
            margin-right: -5% !important;
            margin-bottom: 6%;
        }
    }
}

/* ══════════════════════════════════════════════
   Recipe Product UI
   ══════════════════════════════════════════════ */

/* Badge */
.recipe-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px 4px 10px;
    border-radius: 50px;
    width: fit-content;
}

.recipe-cuisine-tag {
    background: rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 1px 8px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    font-size: 11px;
}

/* Stats row */
.recipe-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recipe-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1 1 auto;
    min-width: 110px;
    transition: box-shadow 0.2s;
}

.recipe-stat-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.recipe-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.recipe-stat-prep .recipe-stat-icon  { background: #e8f4ff; color: #2196f3; }
.recipe-stat-cook .recipe-stat-icon  { background: #fff0e8; color: #ff6b35; }
.recipe-stat-total .recipe-stat-icon { background: #f3eeff; color: #7c4dff; }
.recipe-stat-serves .recipe-stat-icon{ background: #e8faf0; color: #43a047; }
.recipe-stat-diff .recipe-stat-icon  { background: #fff8e1; color: #ffa000; }

.recipe-stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.recipe-stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.recipe-stat-num small {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    margin-left: 2px;
}

.recipe-stat-lbl {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

/* Difficulty colours */
.recipe-diff-text { font-size: 15px !important; }
.recipe-diff-easy   { color: #43a047; }
.recipe-diff-medium { color: #ffa000; }
.recipe-diff-hard   { color: #e53935; }

/* Wishlist / save button */
.recipe-wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    transition: all 0.2s;
    cursor: pointer;
}

.recipe-wishlist-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: #fff6f2;
}

.recipe-wishlist-btn .fa-heart { color: #e53935; }
.recipe-wishlist-btn .fa-heart-o { color: #bbb; }

/* ── Ingredients tab ── */
.recipe-ingredients-count {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.recipe-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 14px;
    padding-bottom: 12px;
}

.recipe-ingredient-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    cursor: default;
}

.recipe-ingredient-img-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f4ff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    background: #f8faff;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.recipe-ingredient-card:hover .recipe-ingredient-img-wrap {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.13);
}

.recipe-ingredient-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-ingredient-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    color: #66bb6a;
    font-size: 1.6rem;
}

.recipe-ingredient-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    word-break: break-word;
    max-width: 96px;
    line-height: 1.3;
}

/* ── Instructions tab ── */
.recipe-instructions-wrap {
    background: #fafbfc;
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid #eef1f6;
}

.recipe-instructions-body {
    font-size: 14.5px;
    line-height: 2;
    color: #2d2d2d;
}

.recipe-instructions-body p { margin-bottom: 10px; }

.recipe-instructions-body ol {
    padding-left: 0;
    list-style: none;
    counter-reset: recipe-step;
}

.recipe-instructions-body ol li {
    counter-increment: recipe-step;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recipe-instructions-body ol li:last-child { border-bottom: none; }

.recipe-instructions-body ol li::before {
    content: counter(recipe-step);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.recipe-instructions-body ul {
    padding-left: 1.2rem;
}

.recipe-instructions-body ul li {
    margin-bottom: 8px;
    list-style: disc;
}

/* Empty state */
.recipe-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #bbb;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .recipe-stats-row { gap: 8px; }
    .recipe-stat-card { min-width: 90px; padding: 8px 12px; }
    .recipe-stat-num  { font-size: 15px; }
    .recipe-stat-icon { width: 32px; height: 32px; font-size: 0.9rem; border-radius: 8px; }
}

@media (max-width: 576px) {
    .recipe-stats-row { gap: 6px; }
    .recipe-stat-card { flex: 1 1 calc(50% - 6px); min-width: 0; }
    .recipe-ingredients-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
    .recipe-ingredient-img-wrap { width: 64px; height: 64px; }
    .recipe-instructions-wrap { padding: 14px 16px; }
}
