.our-recipe-hero {
    position: relative;
    height: 700px;
    width: 100%;
}

.our-recipe-hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.our-recipe-hero .recipe-overlayer {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
}

.our-recipe-hero .recipe-bottom {
    position: absolute;
    bottom: 0;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    height: 50%;
}

.our-recipe-hero .recipe-bottom button {
    height: 33px;
    border-radius: 54px;
    padding-top: 6px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-left: 10px;
    margin-bottom: 12px;
    border-width: 1.09px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.09px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(4.357142925262451px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-recipe-hero .recipe-bottom h1 {
    font-weight: 500;
    font-style: Medium;
    font-size: 52px;
    margin-bottom: 12px;
    line-height: 150%;
    letter-spacing: -2%;
    color: rgba(255, 255, 255, 1);
}

.our-recipe-hero .recipe-bottom p {
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0%;
    color: rgba(153, 153, 153, 1);
    margin-bottom: 20px;
}

.our-recipe-hero .learn-morebtn {
    width: 219px !important;
    height: 55px !important;
    border-radius: 15.28px !important;
    padding: 20px !important;
    font-weight: 500 !important;
    font-style: Medium !important;
    font-size: 18px !important;
    line-height: 100% !important;
    letter-spacing: -1%;
    color: rgba(20, 20, 20, 1) !important;
    background: rgba(255, 255, 255, 1) !important;
    margin-top: 10px;
}

.other-recipe-container {
    background-color: rgba(255, 255, 255, 1);
    padding: 60px 0px;
}

.other-recipe {
    width: 90%;
    margin: 0 auto;
}

.other-recipe h2 {
    font-weight: 500;
    font-style: Medium;
    font-size: 52px;
    line-height: 130%;
    letter-spacing: -2%;
    color: rgba(45, 29, 15, 1);
}

.other-recipe .top-section button {
    height: 51px;
    border-radius: 10px;
    padding-top: 14px;
    padding-right: 16px;
    padding-bottom: 14px;
    padding-left: 16px;
    border-width: 1px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(146, 146, 146, 1);
    color: rgba(146, 146, 146, 1);
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.other-recipe .top-section button.active {
    border: 1px solid rgba(191, 162, 39, 1);
    background-color: rgba(252, 248, 229, 1);
    color: rgba(191, 162, 39, 1);
    font-weight: 600;
}

.other-recipe .cards {
    height: 324px;
    margin: 0rem 0;
    border-radius: 16px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 16px;
    padding-left: 10px;
    border-width: 1px;
    background-color: rgba(251, 246, 224, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.other-recipe .cards .img {
    height: 178px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.other-recipe .cards .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.other-recipe .details h3 {
    font-family: Onest;
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 0%;
    text-transform: capitalize;
    margin-top: 15px;
    margin-bottom: 12px;
    min-height: 46px;
    display: flex;
    align-items: center;
}

.other-recipe .details-bottom span {
    border-radius: 50.58px;
    padding: 6px;
    background-color: rgba(64, 54, 13, 1);
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    font-weight: 500;
    height: 24px;
}

.other-recipe .details-bottom h6 {
    font-weight: 400;
    font-size: 9px;
    line-height: 15.17px;
    letter-spacing: 0px;
    margin-top: 5px;
    color: rgba(10, 10, 10, 1);
}

.other-recipe .details-bottom .line {
    width: 38px;
    height: 1px;
    transform: rotate(-90deg);
    background: linear-gradient(90deg, rgba(191, 152, 42, 0.14) 2.17%, rgba(191, 152, 42, 0.5) 51.84%, rgba(191, 152, 42, 0.14) 97.83%);
}

.other-recipe .details-bottom .mid span {
    border-radius: 8px !important;
    padding: 5px 7px;
}

.our-recipes-mbl {
    display: none;
}

.navi {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    width: 100%;
    gap: 20px;
}

.navi .arrow {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    border-radius: 3.6px;
    border: 1px solid #947E1E;
}

.navi .arrow i {
    font-size: 1.5rem;
}


/* Slider CSS */

.slider_new {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.slides_new {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide_new {
    min-width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.slide_new.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    z-index: 2;
}

.slide_new img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 0px;
}


/* Navigation Arrows */

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 9;
}

.navigation span {
    cursor: pointer;
    font-size: 0.7rem;
    padding: 1rem;
    color: #fff;
    user-select: none;
}


/* Thumbnail container */

.thumbnail-container {
    position: absolute;
    bottom: 20px;
    right: 0px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    max-width: 500px;
}


/* Thumbnails */

.thumbnails_new {
    display: flex;
    gap: 10px;
    overflow: hidden;
    width: 326px;
    scroll-behavior: smooth;
    padding-right: 0px;
}

.thumbnails_new::-webkit-scrollbar {
    display: none;
}

.thumb_new {
    width: 151px !important;
    height: 108px !important;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.8;
    border: 2px solid transparent;
    flex-shrink: 0;
    /* important to prevent shrinking */
}

.thumb_new:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumb_new:last-child {
    margin-right: 20px;
}

.active-thumb {
    border: 2px solid #fff;
    opacity: 1;
}


/* Thumbnail arrows */

.thumb-nav {
    color: white;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s;
}

.thumb-nav i {
    font-size: 30px;
}

.thumb-nav:hover {
    /* background: rgba(0, 0, 0, 0.7); */
}

.recipe-col {
    padding: 0px !important;
}


/*product slider tabs start */

.container {
    max-width: 1200px;
    margin: 0 auto;
}


/* Added header section with title and tabs */

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
}


/* Tab styles for recipe filtering */

.tabs-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 28px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid.sliding {
    transform: translateX(-100%);
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #e8e0d0;
}

.product-content {
    padding: 16px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-details {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px;
    color: #666;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;
    gap: 2px;
}

.detail-item span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.detail-item h6 {
    font-size: 10px;
    font-weight: 500;
    color: #999;
}

.detail-item span i {
    font-size: 14px;
}

.divider {
    width: 38px;
    height: 1px;
    transform: rotate(-90deg);
    background: linear-gradient(90deg, rgba(191, 152, 42, 0.14) 2.17%, rgba(191, 152, 42, 0.5) 51.84%, rgba(191, 152, 42, 0.14) 97.83%);
}

.category-tags {
    display: flex;
    gap: 4px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(64, 54, 13, 1);
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 7px;
    line-height: 20.23px;
    height: 24px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e8e0d0;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #d4c8b8;
}

.tag.label {
    width: auto;
    height: 24px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 10px;
    background-color: #8b7355;
    color: white;
}

.tag.label:hover {
    background-color: #6d5a47;
}

.pagination-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-button {
    width: 36px;
    height: 36px;
    border-radius: 3.6px;
    background-color: #d4c8b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #40360D;
    transition: background-color 0.3s ease;
    border: 0.45px solid var(--Colors-Primary-400, #947E1E);
    background: no-repeat;
}

.nav-button i {
    font-size: 1.5rem;
}

.pagination-info span {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

#totalPages {
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* Responsive */

@media (max-width: 1024px) {
    .product-card {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .product-card {
        min-width: 180px;
    }
}


/*product slider tabs end */

@media (max-width:768px) {
    .our-recipe-hero {
        display: none;
    }
    .our-recipes-mbl {
        padding-top: 10rem;
        display: block;
        background: linear-gradient(to bottom, #fcf6e0 0%, #ffffff 100%);
    }
    .other-recipe h2 {
        font-size: 28px;
    }
    .other-recipe .top-section button {
        font-size: 12px;
        height: 36px;
        padding: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .other-recipe-container {
        padding: 30px 0;
        padding-top: 0px;
    }
    .our-recipes-mbl h2 {
        padding: 0 !important;
        font-weight: 500 !important;
    }
    .our-recipes-mbl p {
        text-align: center;
        color: rgba(102, 102, 102, 1);
        font-weight: 400;
        font-style: Regular;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0%;
        margin-bottom: 2rem;
    }
    .navi {
        display: none;
    }
    .other-recipe .details-bottom h6 {
        font-size: 12px;
    }
    .detail-item {
        align-items: start;
    }
    .details-bottom {
        gap: 7px;
    }
    .our-recipes-mbl .swiper {
        width: 341px;
        height: 412px;
    }
    .tabs-container {
        gap: 5px;
    }
    .pagination-section {
        display: none;
    }
}

@media (min-width:1440px) {
    .other-recipe .details-bottom h6 {
        font-size: 12px;
    }
}

@media (min-width:1920px) {
    .other-recipe .details-bottom h6 {
        font-size: 12px;
    }
}

@media screen and (min-device-width: 1441px) and (max-device-width: 1920px) {}