@media (min-width: 768px) {

    .smug-pack .cake2 {
        width: 35%;
    }

    .smug-pack .cake {
        width: 35%;
    }

    .mobile-only {
        display: none;
    }

    .topbar {
        padding: 22px 26px 0;
    }

    .bottom {
        padding: 0 26px 28px;
    }

    .hero {
        position: relative;
        height: min(78vh, 53vh);
        min-height: unset;
    }

    .slide {
        background-size: cover;
    }

    .footer-col.left-auto {
        margin-left: auto;
    }

    .product-box:hover .smug-card .hover-section,
    article.product-box:hover .card-inner .hover-section {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hover-section {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease-in-out;
        pointer-events: none;
    }

    .hover-section.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

}

@media (min-width: 992px) {
    .offer {
        font-size: 16px;
    }


    .wrap .title {
        font-size: 3rem;
    }

    .scroll-arrow {
        right: 2%;
    }


}

@media (min-width: 1200px) {
    .card {
        --card-w: calc((100% - var(--gap)*3) / 4);
    }

    .hero {
        position: relative;
        height: min(81vh, 860px);
        min-height: unset;
    }

    .offcanvas .cart-pack .cake {
        width: 60%;
    }

    img.cake.mini-product {
        bottom: 35px;
        width: 50%;
    }
}

@media (min-width: 1350px) {

    .offcanvas .cart-pack .cake {
        width: 60%;
    }

    .hero {
        position: relative;
        height: min(81vh, 860px);
        min-height: unset;
    }

    .hero-content {
        padding-top: 40px;
    }

    .flickity-enabled.is-draggable .flickity-viewport {
        height: 650px;
    }

    .hero-slider {
        margin-top: -70px;
    }

    .product-box img {
        margin-bottom: 0;
    }

    .products .product-box:nth-child(2) img.cake {
        width: 39%;
        bottom: 183px;
    }

    .smug-pack .cake {
        bottom: 185px;
        width: 43%;
    }

    .hero-inner.third-slide .bottom {
        margin-top: 0%;
        width: 40%;
    }
}

@media (min-width: 1440px) {
    .smug-card:hover .cake {
        bottom: 200px;
    }

    .products .product-box:nth-child(2) img.cake {
        bottom: 200px;
        width: 40%;
    }
}

@media (min-width: 1600px) {

    .smug-pack .mini_size.cake2 {
        bottom: 140px;
    }

    .smug-card:hover .cake2 {
        bottom: 150px;
    }

    .sticky-left img {
        max-height: 730px;
    }

    .products .product-box:nth-child(2) img.cake {
        width: 38%;
                bottom: 190px;
    }
}

@media (min-width: 1900px) {

    .sticky-left img {
        max-height: 880px;
    }

    .hero {
        position: relative;
        height: min(88vh, 860px);
        min-height: unset;
    }
}



@media (max-width: 1199px) {
    .smug-carousel {
        --per-view: 3;
    }

    .card {
        --card-w: calc((100% - var(--gap)*2) / 3);
    }

    h2.title_main {
        font-size: 49px;
        line-height: 59px;
    }
}

@media (max-width:1024px) {
    .features {
        grid-template-columns: repeat(3, 1fr)
    }

    .choose-inner_content .box>div {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .smug-carousel {
        --per-view: 2;
    }

    .nav-icon-btn {
        margin-top: 10px;
    }

    .choose-inner_content .box-2>div:not(:last-child) {
        flex-direction: row-reverse;
        text-align: start;
    }

    .choose-inner_content .box {
        gap: 30px;
        flex-direction: column;
    }

    .choose-inner_content .box-1>div:not(:first-child),
    .choose-inner_content .box-3>div:not(:first-child) {
        flex-direction: row-reverse;
        text-align: end;
    }

    .smug-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr)
    }



    .card {
        min-height: 520px
    }

    .card {
        --card-w: calc((100% - var(--gap)) / 3);
    }

    h2.title_main {
        font-size: 26px;
        line-height: 36px;
    }

    .oure_story_img.text-center,
    .recipe_text.recipe-section {
        width: 100%;
        max-width: 100%;
        ;
    }

    .story-img {
        max-width: 400px;
    }

    nav.navbar.navbar-expand-lg.navbar-dark {
        height: auto;
    }
}

@media (max-width: 900px) {
    .hero-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .social {
        grid-template-columns: 1fr;
    }

    .offer {
        font-size: 14px;
    }

    .recipe-card img {
        width: 160px;
        height: 160px;
    }

    .mode-toggle {
        margin-left: 0;
    }

}

@media (max-width:767px) {

    .desktop-only {
        display: none;
    }

    .order-items img {
        width: 50px;
        height: 50px;
    }

    .recipe-image-box img {
        max-width: 450px;
        width: 100%;
    }

    .wrapper-unique .recipe-qr-box,
    .wrapper-unique .recipe-tip-box {
        width: 100%;
        max-width: 100%;
    }

    nav.navbar.navbar-expand-lg.navbar-dark {
        height: auto;
    }

    .wrapper-unique .recipe-qr-box {
        margin-bottom: 25px;
    }

    .smug-nav {
        width: 30px;
        height: 30px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pack-stage {
        width: 78vw;
        height: 78vw;
    }

    .choose-inner_content .box-2>div:not(:last-child) {
        flex-direction: row-reverse;
        text-align: start;
    }

    .choose-inner_content .box {
        gap: 30px;
        flex-direction: column;
    }

    .choose-inner_content .box-1>div:not(:first-child),
    .choose-inner_content .box-3>div:not(:first-child) {
        flex-direction: row-reverse;
        text-align: end;
    }

    .smug-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .main-logo_wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .card_main {
        width: 50%;
        max-width: 100%;
    }


    .recipe_text.recipe-section {
        width: 100%;
        max-width: 100%;
    }

    .oure_story_img.text-center {
        width: 100%;
        max-width: 100%;
    }

    .recipe-section .title {
        font-size: 1.5rem;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .recipe_text.recipe-section {
        padding-top: 40px;
    }

    .info-bar {
        padding: 30px 5%;
    }

    .info-item i {
        font-size: 30px;
    }

    .info-item span {
        font-size: 14px;
    }

    .info-bar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        text-align: left;
    }

    .image {
        width: 30px;
        height: 30px;
    }

    .info-item {
        justify-content: flex-start;
    }

    h2.title_main {
        font-size: 16px;
        line-height: 20px;
    }

    .card {
        --card-w: calc((100% - var(--gap)) / 2);
    }

    .hero {
        position: relative;
        height: min(78vh, 33vh);
        min-height: unset;
    }

    .slide {
        background-size: cover;
    }

    .viewport .card:hover {
        content: none;
        transform: none;
    }

    .viewport .hover-section {
        opacity: 1;
    }

    article.product-box:hover .card-inner .hover-section {
        content: none;
        transform: none;
        transition: none;
        opacity: 1;
    }

    .hover-section {
        opacity: 1;
        transform: translateY(10px);
        transition: all 0.4s ease-in-out;
    }
}


@media (max-width:576px) {

    .btn-home {
        width: 100%;
    }

    .info-bar {
        margin-top: 16px !important;
        padding: 20px;
    }

    .social {
        grid-template-columns: 1fr;
    }

    .offer {
        font-size: 12px;
    }

    .smug-carousel {
        --per-view: 1;
    }

    .recipe-card img {
        width: 130px;
        height: 130px;
    }

    .card_main {
        width: 100%;
        max-width: 100%;
    }

    .btn-cta {
        padding: .7rem 1.1rem;
    }

    .pret {
        font-size: .8rem;
    }

    #hero .topbar {
        top: 12px;
        width: calc(100% - 20px);
    }

    .card {
        min-height: 480px
    }

    .foot {
        left: 18px;
        bottom: 18px
    }

    .card {
        --card-w: 100%;
    }

    .smug-card:hover .cake2 {
        bottom: 130px;
    }

    .smug-pack .cake {
        bottom: 170px;
        width: 35%;
    }

    .smug-pack .cake2 {
        width: 35%;
    }

    .story_text {
        gap: 10px;
    }

    .story-img {
        width: 180px;
    }

    .info-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .wrapper_footer {
        display: flex;
        justify-content: space-between;
        text-align: center;
    }

    .wrapper_footer .footer-col:first-child {
        width: 50%;
        max-width: 100%;
    }

    .wrapper_footer .footer-col:last-child {
        width: 50%;
        max-width: 100%;
    }

    .footer-grid {
        padding-top: 0 !important;
        padding-bottom: 0;
    }

    .hero {
        position: relative;
        height: min(78vh, 41vh);
        min-height: unset;
    }

    .ctrl {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .title_main {
        display: none;
    }

}

@media(max-width:500px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .smug-track {
        display: grid;
        grid-template-columns: repeat(1, 1fr)
    }

    .main-logo_wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:375px) {
    .hero {
        position: relative;
        height: min(78vh, 40vh);
        min-height: unset;
    }
}