@media (min-width: 1600px) {
    .rcp-card-dtl {
        width: 20%;
    }

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1530px;
    }

}

@media (min-width: 1024px) and (max-width: 1600px) {
    .rcp-card-dtl {
        width: 25%;
    }

}

@media (min-width: 768px) and (max-width: 1400px) {
    .related-recipes {
        width: 100%;
        height: 200px !important;

    }

    .related-recipes-details {
        width: 100%;
        height: 435px !important;

    }

}

@media (max-width: 1200px) {
    .amz-logo {
        justify-content: center;
    }

    .amz-logo .lst-amz {
        margin-top: 18px;
    }
}

@media (min-width: 991px) and (max-width: 1024px) {
    .amz-logo {
        justify-content: center;
    }

    .amz-logo .lst-amz {
        margin-top: 18px;
    }

    .rcp-card-dtl {
        width: 33.33%;
    }

    .v-book {
        font-size: 20px;
    }

    .v-book-sub {
        font-size: 16px;
    }

    .recipe-ttl {
        letter-spacing: 4px;
        font-size: 14px;
    }

    .price-tag {
        font-size: 15px;
    }

    .related-card {
        min-height: 225px;
    }

    .ttl-main {
        font-size: 35px;
    }

    .carousel-inner img {
        width: 100%;
        max-width: 315px;
    }

    .all-recipes-tabs {
        flex-direction: column;
    }

    .btn-recipes {
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .all-categoreis-main-bg {
    margin-left: 0px;
    }
    .amz-logo {
        justify-content: center;
    }

    .buy-section {
        background-size: contain;
    }

    .amz-logo .lst-amz {
        margin-top: 18px;
    }

    .empty-recipes img {
        max-width: 75%;
    }

    .empty-cart img {
        max-width: 45%;
    }

    .empty-cart {
        margin-bottom: 35px;
    }

    .recipes-main-row {
        gap: 0px;
    }

    .form-boxes {
        max-width: 100%;
    }

    .blog-content img {
        width: 100% !important;
    }

    .athour-name {
        margin-top: 22px;
    }

    .btn-buy {
        display: inline-flex;
        align-items: center;
        gap: .2rem;
        padding: 10px 30px;
    }

    .feature-icon {
        margin-bottom: 10px;
    }

    .feature-box {
        display: flex;
        align-items: center !important;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .author-right {
        padding-left: 0px !important;
    }

    .author-right {
        border-left: transparent;
    }

    .cook-container {
        padding: 0px 40px;
    }

    .menue-tabs {
        width: 100%;
    }

    .menue-container {
        width: 100%;
    }

    #bookIndexTabsContent .col-3 {
        width: 25% !important;
    }

    .cookbook-desc {
        margin-bottom: 10px !important;
    }

    .nv-recipe .col-lg-3 {
        width: 25%;
    }

    .order-profile {
        max-height: auto !important;
    }

    .order-profile .col-lg-9 {
        padding: 0px;
    }

    .profile-orders {
        padding: 15px !important;
    }

    .order-card {
        padding-right: 0px !important;
    }

    .invoice-btn {
        padding: 5px 6px !important;
    }

    .orders-row {
        max-height: 100% !important;
        overflow-y: hidden;
    }

    .sub-cat-data {
        display: block !important;
        margin-top: 20px;
    }

    .rcp-card-dtl {
        width: 50%;
    }

    #nonveg .col-3 {
        width: 25% !important;
    }

    .sd-main {
        padding-left: 0px;
    }

    .recipe-cart .col-md-7 {
        width: 100%;
    }

    .recipe-cart .col-md-5 {
        width: 100%;
    }

    .testimonial-section {
        padding: 20px 20px;
    }

    .related-card {
        min-height: 225px;
    }

    .blog-details .col-md-7 {
        width: 100%;
    }

    .blog-details .col-md-5 {
        width: 100%;
    }

    .comment-bx {
        gap: 20px;
    }

    .comment-bx .col-md-1 {
        width: 15%;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    .sm-view-hide {
        display: none !important;
    }

    .lg-view-hide {
        display: block !important;
    }

    .author-img img {
        max-width: 205px;
    }

    .author-right {

        padding-left: 70px;
    }

    .athour-name {
        line-height: 28px;
    }

    .author-text h3 {
        text-align: center;
    }

    .cookbook-title {
        text-align: center;
        font-size: 1.4rem;
    }

    .cookbook-author {
        text-align: center;
        font-size: 1.4rem;
    }

    .cookbook-desc {
        text-align: center;
    }

    .btn-cookbook {
        justify-content: center;
        display: flex;
        margin: 0px auto;
        width: 50%;

    }

    .g-4,
    .gx-4 {
        --bs-gutter-x: 2.5rem;
    }

    .v-book {
        font-size: 18px;
    }

    .v-book-sub {
        font-size: 16px;
    }

    .recipe-ttl {
        letter-spacing: 4px;
        font-size: 14px;
    }

    .price-tag {
        font-size: 15px;
    }

    .related-body h6 {
        font-size: 14px
    }

    .carousel-inner img {
        width: 100%;
        max-width: 235px;
    }

    .ttl-main {
        font-size: 31px;
    }

    .swiper-slide {
        width: 100%;
    }

    /* tabs */
    .related-tabs {
        display: flex;
        flex-wrap: nowrap;
        /* keep in one row */
        overflow-x: auto;
        /* horizontal scroll */
        -webkit-overflow-scrolling: touch;
        /* smooth scroll */
        white-space: nowrap;
        /* prevent breaking */
        border-bottom: 1px solid #e6e6e6;
    }

    .related-tabs::-webkit-scrollbar {
        display: none;
        /* hide scrollbar for cleaner UI */
    }

    .related-tab-btn {
        padding: 10px 15px;
        border: none;
        background: none;
        color: #000;
        white-space: nowrap;
    }

    .related-tab-btn.active {
        color: red;
        border-bottom: 2px solid red;
    }

    .related-tabs {
        justify-content: center;
        /* overflow-x: hidden; */
    }

    .video-item {
        width: 50%;
    }

    .amazon-btn {
        min-height: 45px;
    }

    .second-last {
        width: 50%;
    }

    .footer-journey {
        width: 50%;
    }

    .author-section .row {
        display: flex;
        flex-direction: column;
    }


    .author-section .col-md-4 {
        width: 100%;
    }

    .author-section .col-md-8 {
        width: 100%;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .cart-login-gap {
        margin-left: 0px;
    }

    .related-recipes {
        /* height: 550px !important; */
    }
}

@media (max-width: 767px) {
    .all-categoreis-main-bg {
  display: none !important;
    }
    .dashboard-wrapper {
        padding: 15px !important;
    }

    .profile-orders {
        margin-top: 0rem !important;
    }

    /* .sidebar-profile .profile-card {
        display: none;
    }
      .sidebar-profile .list-group {
        display: none;
    } */
    .dashboard-wrapper .sidebar-profile {
        margin-bottom: 0rem !important;
    }

    .profile-section {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }



    .profile-dropdown-wrapper {
        position: relative;
        display: inline-block;

    }

    .profile-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        cursor: pointer;
        border: 1px solid #ddd;
    }

    .profile-dropdown {
        position: absolute;
        right: 0;
        top: 59px;
        width: 200px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        display: none;
        z-index: 9999;
    }

    .profile-dropdown.show {
        display: block;
    }

    .profile-dropdown .list-group-item {
        border: none;
        font-size: 14px;
    }

    .profile-dropdown .list-group-item:hover {
        background: #f8f9fa;
    }

    .profile-dropdown-wrapper {
        position: relative;
        z-index: 99999;
    }












    .recipe-sider-bar .filter-tab {
        padding-top: 7px !important;
    }

    .sender {
        display: flex !important;
        flex-direction: row !important;
    }

    .recipe-sider-bar {
        flex-direction: column;
        align-items: start;
        text-align: left;
    }

    .count-badge {

        width: 16px;
        height: 16px;
        font-size: 9px;

        line-height: 16px;
    }

    .sidebar-category ul li {
        padding: 3px 6px !important;
    }

    .thank-wrapper {
        height: 60vh;
    }

    .amz-logo {
        justify-content: center;
    }

  .amazon-btn {
   
    border: 0.5px solid #e3e3e5;
  }
    .cart-login-gap {
        margin-left: 0px;
        margin-bottom: 13px;
    }

    .empty-cart {

        min-height: 300px;


    }

    .empty-cart img {
        max-width: 50%;
    }

    .empty-recipes {
        min-height: auto;
    }

    .empty-recipes img {
        max-width: 75%;
    }

    #recipe-header {
        display: none !important;
    }

    .recipes-main-row {
        gap: 0px;
    }

    .delight-card {
        margin-bottom: 30px;
    }

    .swiper-slide {
        border: transparent;
    }

    .form-boxes {
        max-width: 100%;
    }

    .dish-card {
        margin: 20px;
    }

    .blog-content img {
        width: 100% !important;
    }

    .ftr-cpyright {
        align-items: flex-start !important;
    }

    .btn-buy {
        width: 175px;
        text-align: center;
        display: block;
    }

    .feature-icon {
        margin-bottom: 10px;
    }

    .feature-box {
        display: flex;
        align-items: center !important;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .book-card {
        text-align: left;
    }

    .cook-container {
        padding: 0px 40px;
    }

    .thank-you-container {
        height: 65vh !important;
    }

    .nv-recipe .col-lg-3 {
        width: 50%;
    }

    .book-card {
        /* width: 100%; */
    }



    .order-profile .col-lg-9 {
        padding: 0px;
    }

    .profile-orders {
        padding: 15px !important;
    }

    .order-card {
        padding-right: 0px !important;
    }

    .invoice-btn {
        padding: 5px 6px !important;
    }

    .orders-row {
        max-height: 100% !important;
        overflow-y: hidden;
    }

    .sub-cat-data {
        display: block !important;
        margin-top: 20px;
    }

    #bookIndexTabsContent .col-3 {
        width: 50%;
        flex: auto;
    }

    .main-course-tab {
        border: 1px solid #dbd9d9;
        padding: 5px 10px;
    }

    .dropdown-menu .menue-tabs p {
        display: none;
    }

    .dropdown-menu .menue-tabs hr {
        display: none;
    }

    .rcp-card-dtl {
        width: 100%;
    }

    .sd-main {
        padding-left: 0px;
    }

    .testimonial-section {
        padding: 20px 20px;
    }

    .related-card {
        min-height: 240px;
    }

    .price-tag {
        font-size: 15px;
    }

    .recipe-ttl {
        letter-spacing: 4px;
        font-size: 14px;
    }

    .v-book {
        font-size: 18px;
    }

    .v-book-sub {
        font-size: 16px;
    }

    .g-4,
    .gx-4 {
        --bs-gutter-x: 2.5rem;
    }

    .author-text h3 {
        text-align: center;
    }

    .btn-cookbook {
        justify-content: center;
        display: flex;
        width: 70%;
        margin: 0px auto;

    }

    .cookbook-title {
        text-align: center;
        font-size: 1.4rem;
    }

    .cookbook-author {
        text-align: center;
        font-size: 1.4rem;
    }

    .cookbook-desc {
        text-align: center;
    }

    .author-text h3 {
        text-align: center;
    }

    .navbar-nav {
        gap: 5px;
    }

    .cart-login-gap {
        margin-left: 0px;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: 0 0 0 0;
    }

    .navbar-toggler {
        padding: 5px;
        font-size: 15px;
    }

    .sm-view-hide {
        display: none !important;
    }

    .lg-view-hide {
        display: block !important;
    }

    .ttl-main {

        font-size: 31px;

    }

    .carousel-inner img {
        width: 100%;
        max-width: 235px;
    }

    .hero-section {
        height: auto;
    }

    .hero-section {
        padding: 30px 0px;
    }

    .btn-outline-custom {
        border: 1.5px solid rgb(236 214 185);
        padding: 8px 10px;
        font-size: 13px;
    }

    .title-head h4 {
        font-size: 22px;
    }

    .amz-logo .col-6 {
        text-align: center;
    }

    .title-head p {
        font-size: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .info-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cookbook-img {
        width: 50%;
    }

    .testimonial-user img {
        margin: 0px;
        width: 45px;
        height: 45px;
    }

    #testimonialCarousel .col-md-4 {
        flex: 0 0 auto;
        width: 75%;
    }

    .amazon-btn img {
        width: 25%;
    }

    .related-body h6 {
        line-height: 23px;
    }

    /* .related-tabs {
        gap: 15px;
    } */

    .play-video .col-sm-6 {
        margin-top: 0px;
    }

    .related-play {

        bottom: -20px;
        width: 40px;
    }

    .author-right {
        border-left: none;
        padding-left: 20px;
    }

    p {

        font-size: 14px;

    }

    .author-text h3 {
        font-size: 22px;
    }

    .sd-main {
        padding-left: 10px;
    }

    .blog-sidebar {
        position: relative;
        top: unset;
    }

    .recent-item img {
        width: 60px;
    }

    .policy-container {
        flex-direction: column;
    }

    .policy-menu {
        display: none;
    }

    .policy-content {
        width: 100%;
        padding-left: 0;
    }

    .progress-bar-line,
    .progress-bar-fill {
        display: none;
    }

    .buy-section h2 {
        font-size: 1.4rem;
    }

    .buy-section h3 {
        font-size: 1.2rem;
    }

    .buy-section p {
        font-size: 0.9rem;
    }

    .blog-right-ttl {

        font-size: 20px;
        line-height: 28px;
    }

    .reply-box button {
        font-size: 14px;
    }

    .author-right {
        margin-left: 0rem !important;
    }

    .blog-details .col-md-7 {
        width: 100%;
    }

    .blog-details .col-md-5 {
        width: 100%;
    }

    .comment-bx {
        gap: 10px;
    }

    .comment-bx .col-md-1 {
        width: 20%;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    .veg-main-item img {
        width: 40px;
    }

    .veg-main-item p,
    .nonveg-main-item p {
        font-size: 13px;
    }

    .contact-us {
        text-align: center;
    }

    .contact-btn-customs {
        margin-top: 30px;
    }

    .dropdown-menu.book-index {
        transform: unset !important;
    }

    .legal-links {

        flex-wrap: wrap;
        justify-content: left;
        gap: 13px 50px !important;

    }

    .legal-links a {
        border-bottom: 1px solid #76212b;
    }

    .megamenu-dropdown .nav-pills {
        justify-content: space-between;
    }

    .megamenu-dropdown .flex-column {
        flex-direction: row !important;
    }

    .megamenu-dropdown hr {
        margin: 0.5rem 0;

    }

    .megamenu-dropdown .menue-tabs p {
        margin-bottom: 0px;
    }

    .sidebar-category .all-categoreis-main-bg {
        display: none;
    }

    .amz-logo a {
        text-align: center;
        justify-content: center;
        width: 100%;
        display: flex;
    }

    .amz-logo .amazon-btn img {
        width: 22% !important;
    }

    .amz-logo .col-lg-4 {
        width: 100%;
    }
    .amz-logo .lst-amz {
        margin-top: 10px;
    }

}

@media (max-width: 576px) {
    .reply-box .row>div {
        margin-bottom: 10px;
    }

    .comment {
        flex-direction: column;
    }

    .comment .avatar {
        margin-bottom: 10px;
    }

    .book-thumb {
        max-width: 110px;
    }

    .btn-buy {
        width: 140px;
        justify-content: center;
    }

    .sender {
        margin-left: 0px;
    }

    .legal-links {

        flex-wrap: wrap;
        justify-content: left;
        gap: 13px 50px !important;

    }

    .legal-links a {
        border-bottom: 1px solid #76212b;
    }
}

@media (max-width: 415px) {
    .amazon-btn img {
        width: 37%;
    }

    .title-head h4 {
        font-size: 16px;
    }

    .title-head p {
        font-size: 14px;
    }

    .info-section h2 {
        line-height: 33px;
    }

    .info-box h4 {
        font-size: 21px;
        line-height: 16px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        background: #ffffffd1;
    }

    .title-head span {
        padding: 5px;
    }

    .cookbook-title {
        font-size: 18px;
    }

    .cookbook-author {
        font-size: 18px;
    }

    .btn-cookbook {
        width: 90%;
    }

    .cookbook-img {
        width: 60%;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-card h5 {
        font-size: 15px;
    }

    .testimonial-card p {
        font-size: 13px;
    }

    .testimonial-user small {
        font-size: 13px;
    }

    .testimonial-user strong {
        font-size: 15px;
    }

    .features-strip h6 {
        font-size: 16px;
    }

    .features-strip p {
        font-size: 13px;
    }

    .recipe-title {
        font-size: 13px;
    }
}







/* Responsive Behavior */
@media (max-width: 991px) {



    .dropdown-menu.book-index .row.g-0 {
        flex-direction: column;
    }

    .menue-tabs {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 15px;
    }

    .menue-container {
        padding: 15px;
    }

    .content {
        padding: 15px;
    }

    .sidebar-category {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100%;
        background: #fff;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
    }

    .sidebar-category.active {
        left: 0;
    }

    .categoreis-main-bg {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        font-size: 24px;
        border: none;
        background: none;
        margin: 10px 0;
        cursor: pointer;
    }



    .button-group {
        flex-wrap: wrap;
        gap: 6px;
    }


    .button-group button {
        margin-bottom: 10px;
    }

    .banner-right .btn-more {
        font-size: 12px;
        padding: 7px 12px;
    }

    .content {
        margin-left: 0px;
    }

    .all-recipes-tabs {
        flex-direction: column;
    }

    .categories-title {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .btn-recipes {

        font-size: 11px !important;
        padding: 4px 8px !important;

    }

    .recipe-search {
        width: 100%;
    }

    .recipe-search input {
        height: 40px;
    }

    .banner-right {
        padding-top: 0px;
        flex-direction: column-reverse;
    }

    .menu-toggle {
        display: inline-block !important;
    }

    .btn-more {
        height: 35px;
        margin-top: 5px;
    }

    .more-recipes-data {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .close-btn {
        display: block !important;
    }

    .recipe-search {
        max-width: 100%;
    }

    #navbarNav .cart-login-gap {
        display: flex !important;
        width: 100%;
        justify-content: space-between;
        padding-top: 7px;
        margin-bottom: 0px;

    }

    div#navbarNav.collapse.navbar-collapse.show {
        display: flex;
        flex-direction: column-reverse;
        align-items: start;
        gap: 5px;
        margin: 0 15px;
    }

    .megamenu-dropdown .dropdown-menu[data-bs-popper] {
        width: 100%;
    }
}






@media (max-width: 480px) {
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}







@media (min-width: 991px) and (max-width: 1200px) {

    .nav-container {
        display: flex;
        flex-direction: column;
    }
}


/* ==============================
   RESPONSIVE FIXES
   ============================== */

@media (max-width: 768px) {
    .related-recipes-details {
        height: 235px;
    }

    .profile-dropdown {
        display: none;
    }

    .profile-dropdown.show {
        display: block;
    }


    .list-group-item.active {
        z-index: 2;

        background-color: #c83f4c;
        color: #bf1e2d !important;
    }

    .profile-dropdown .list-group-item:hover {
        background: #bf1e2d !important;
        color: white !important;
    }

    .blog-post .recipes-title {
        font-size: 23px;

    }

    .nav-container {
        /* max-height: 100vh; */
        /* overflow-y: auto; */
    }

    .content {
        padding: 15px;
    }

    .sidebar-category {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100%;
        background: #fff;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
    }

    .sidebar-category.active {
        left: 0;
    }

    .categoreis-main-bg {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        font-size: 24px;
        border: none;
        background: none;
        margin: 10px 0;
        cursor: pointer;
    }



    .button-group {
        flex-wrap: wrap;
        gap: 6px;
    }


    .button-group button {
        margin-bottom: 10px;
    }

    .banner-right .btn-more {
        font-size: 12px;
        padding: 7px 12px;
    }

    .content {
        margin-left: 0px;
    }

    .all-recipes-tabs {
        flex-direction: column;
    }

    .categories-title {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .btn-recipes {

        font-size: 11px !important;
        padding: 4px 8px !important;

    }

    .recipe-search {
        width: 100%;
    }

    .recipe-search input {
        height: 40px;
    }

    .banner-right {
        padding-top: 0px;
        flex-direction: column-reverse;
    }

    .menu-toggle {
        display: inline-block !important;
    }

    .btn-more {
        height: 35px;
        margin-top: 5px;
    }

    .more-recipes-data {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .close-btn {
        display: block !important;
    }
}


@media (max-width: 996px) and (orientation: landscape) {
    .hero-section {
        height: auto;
    }
}