.best-seller {
    position: relative;
    width: 100%;
    height: calc(100vh - 160px);
    min-height: 560px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            rgba(16, 42, 86, .84),
            rgba(16, 42, 86, .84)
        ),
        url("../img/corakk.png") center center / cover no-repeat;
    border-bottom-left-radius: 48% 48%;
    z-index: 0;
    color: transparent;
    font-size: 0;
}

.hero-bg::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -1px;
    height: clamp(140px, 24vh, 230px);
    background: #fff;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 8% 18%;
    z-index: 1;
}

.food-content {
    position: relative;
    width: 39%;
    padding-left: 8vw;
    z-index: 10;
    transform: translateY(-2%);
}

.food-content h1 {
    color: #fff;
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 25px;
    letter-spacing: -.8px;
}

.food-content p {
    width: 390px;
    max-width: 100%;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.75;
    margin: 0 0 28px;
}

.cart-btn {
    border: none;
    outline: none;
    padding: 15px 27px;
    background: #1f4380;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 10px 25px rgba(4, 22, 53, .2);
}

.cart-btn:hover {
    transform: translateY(-3px);
    background: #285393;
    box-shadow: 0 14px 30px rgba(4, 22, 53, .3);
}

.product-stage {
    position: absolute;
    width: 620px;
    height: 620px;
    right: 4%;
    top: 45%;
    transform: translateY(-50%) scale(.78);
    transform-origin: center;
    z-index: 5;
}

.orbit {
    position: absolute;
    width: 535px;
    height: 535px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, .28);
    border-radius: 50%;
}

.main-product {
    position: absolute;
    width: 310px;
    height: 310px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    cursor: pointer;
}

.main-product::after {
    content: "";
    position: absolute;
    width: 235px;
    height: 65px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .22);
    filter: blur(26px);
    border-radius: 50%;
    z-index: -1;
}

.main-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 28px 24px rgba(0, 0, 0, .22));
    transition:
        opacity .35s ease,
        transform .5s cubic-bezier(.2, .8, .2, 1);
    animation: productIdle 3s ease-in-out infinite;
}

.main-product:hover img {
    transform: scale(1.04);
}

.main-product.change img {
    opacity: 0;
    animation: none;
    transform: scale(.7) rotate(-8deg);
}

@keyframes productIdle {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

.orbit-item {
    position: absolute;
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    cursor: pointer;
    transition:
        transform .5s ease,
        opacity .4s ease;
}

.orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .18));
    transition: .35s ease;
}

.orbit-item:hover img,
.orbit-item.active img {
    transform: scale(1.1);
}

.item-1 {
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
}

.item-2 {
    right: 30px;
    top: 118px;
}

.item-3,
.item-4,
.item-5 {
    display: none;
}

.item-6 {
    left: 30px;
    top: 118px;
}

.food-content.change {
    animation: contentChange .4s ease;
}

@keyframes contentChange {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .best-seller {
        height: calc(100vh - 140px);
        min-height: 540px;
    }

    .food-content {
        width: 40%;
        padding-left: 5vw;
    }

    .product-stage {
        width: 560px;
        height: 560px;
        right: -15px;
        top: 44%;
        transform: translateY(-50%) scale(.72);
    }

    .food-content h1 {
        font-size: 30px;
    }

    .hero-bg::after {
        height: clamp(100px, 16vh, 150px);
    }
}

@media (max-width: 900px) {
    .best-seller {
        width: 100%;
        overflow: hidden;
        display: block;
    }

    .hero-bg {
        width: 100%;
        height: 74%;
        top: 0;
        right: 0;
        border-bottom-left-radius: 45% 10%;
        background-position: center center;
    }

    .hero-bg::after {
        left: -10%;
        right: -10%;
        bottom: -1px;
        height: 105px;
        border-top-left-radius: 55% 100%;
        border-top-right-radius: 20% 30%;
    }

    .food-content {
        position: absolute;
        width: 100%;
        top: 34px;
        left: 0;
        padding: 0 30px;
        z-index: 25;
        text-align: center;
        transform: none;
        box-sizing: border-box;
    }

    .food-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .food-content p {
        width: 430px;
        max-width: 100%;
        margin: 0 auto 20px;
        font-size: 12px;
        line-height: 1.6;
    }

    .cart-btn {
        padding: 13px 25px;
    }

    .product-stage {
        width: 500px;
        height: 500px;
        left: 50%;
        right: auto;
        top: 62%;
        transform: translate(-50%, -50%) scale(.66);
    }
}

@media (max-width: 600px) {
    .best-seller {
        width: 100%;
        height: 600px;
        min-height: 0;
        max-height: none;
    }

    .hero-bg {
        width: 100%;
        height: 67%;
        border-radius: 0;
        background-position: center center;
    }

    .hero-bg::after {
        left: -28%;
        right: -28%;
        height: 90px;
        border-top-left-radius: 50% 100%;
        border-top-right-radius: 50% 100%;
    }

    .food-content {
        top: clamp(17px, 3.2vh, 24px);
        padding: 0 16px;
    }

    .food-content h1,
    .food-content h1#productName {
        font-size: 38px !important;
        line-height: 1.05 !important;
        margin: 0 auto 9px !important;
        letter-spacing: 0 !important;
        max-width: 280px !important;
    }

    .food-content p {
        width: 100%;
        max-width: 305px;
        margin: 0 auto 11px;
        font-size: clamp(8.5px, 2.55vw, 9.5px);
        line-height: 1.43;
        color: rgba(255, 255, 255, .72);
    }

    .cart-btn {
        padding: 9px 18px;
        min-width: 108px;
        border-radius: 8px;
        font-size: 9.5px;
        box-shadow: 0 7px 16px rgba(4, 22, 53, .24);
    }

    .product-stage {
        width: clamp(335px, 104vw, 390px);
        height: clamp(335px, 104vw, 390px);
        left: 50%;
        right: auto;
        top: 51%;
        transform: translate(-50%, -50%) scale(.68);
        transform-origin: center center;
    }

    .orbit {
        width: 83%;
        height: 83%;
        border-color: rgba(255, 255, 255, .22);
    }

    .main-product {
        width: 56%;
        height: 56%;
    }

    .main-product::after {
        width: 76%;
        height: 20%;
        bottom: 5%;
        filter: blur(19px);
    }

    .main-product img {
        filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .20));
    }

    .orbit-item {
        width: 16%;
        height: 16%;
    }

    .item-1 {
        left: 50%;
        top: 1%;
        transform: translateX(-50%);
    }

    .item-2 {
        right: 1.5%;
        top: 16%;
    }

    .item-6 {
        left: 1.5%;
        top: 16%;
    }
}