@import url('https://fonts.googleapis.com/css2?family=Birthstone&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
    background-color: #faf3ea;
    overflow-x: hidden;
}

/* container */
.container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
}

#main,
#tortlar,
#pishiriqlar,
#xamirliTaomlar,
#galereya,
#sharhlar,
#footer {
    scroll-margin-top: 90px;
}

/* ============ header ============ */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #faf3ea;
    box-shadow: 0px 2px 12px rgba(64, 36, 21, 0.12);
}

.header__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 14px;
    row-gap: 10px;
    padding: 12px 0;
}

/* logo */
.header__logo a {
    display: flex;
    align-items: center;
}

.header__img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 50%;
}

.header__btns {
    margin-left: auto;
}

/* link */
.header__links {
    order: 3;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    padding-top: 10px;
    border-top: 1px solid #efe3d3;
}

.header__link {
    text-decoration: none;
    color: #5a3620;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
    transition: color .2s ease;
}

.header__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #e0885f;
    transition: width .25s ease;
}

.header__link:hover,
.header__link.alt {
    color: #e0885f;
}

.header__link:hover::after,
.header__link.alt::after {
    width: 100%;
}

/* button */
.header__btn {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    background-color: #e0885f;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(224, 136, 95, .35);
    transition: transform .2s ease, background-color .2s ease;
}

.header__btn:hover {
    background-color: #c96f49;
    transform: translateY(-2px);
}

/* cart icon */
.header__account {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    color: #3f2415;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__cart {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #e0885f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* burger (mobile menu toggle) */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #3f2415;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============ hero / main ============ */
.main {
    height: 66vh;
    min-height: 420px;
    background-image: linear-gradient(180deg, rgba(64, 36, 21, .15), rgba(64, 36, 21, .45)), url("/rasmlar/introimg.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.main__inner {
    display: flex;
    justify-content: center;
}

.main__title {
    font-size: 88px;
    line-height: 1.05;
    color: #fff8ee;
    font-family: "Birthstone", cursive;
    font-weight: 400;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, .45);
    margin: 0;
}

.main__subtitle {
    font-size: 26px;
    color: #f5dac7;
    font-family: "Birthstone", cursive;
    display: block;
    margin-top: 10px;
}

.tortlar {
    color: #e0885f;
}

/* ============ product sections ============ */
.section {
    background-color: #faf3ea;
    padding: 70px 0 40px;
}

.section__inner > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.section__inner h3 {
    grid-column: 1 / -1;
    text-align: center;
    font-family: "Birthstone", cursive;
    font-size: 56px;
    font-weight: 400;
    color: #5a3620;
    margin: 0 0 10px;
}

.section__inner h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background-color: #e0885f;
    margin: 8px auto 0;
    border-radius: 3px;
}

#pishiriqlar::before,
.xamirliTaomlar::before {
    grid-column: 1 / -1;
    text-align: center;
    font-family: "Birthstone", cursive;
    font-size: 56px;
    font-weight: 400;
    color: #5a3620;
    margin: 0 0 10px;
}

#pishiriqlar::before {
    content: "Desertlar va Pishiriqlar";
}

.xamirliTaomlar::before {
    content: "Xamirli taomlar";
}

/* card */
.section__card {
    background-color: #ffffff;
    border: 1px solid #efe3d3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(64, 36, 21, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.section__card-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    color: #3f2415;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(64, 36, 21, .12);
    transition: color .2s ease, transform .15s ease;
}

.section__card-fav:hover {
    transform: scale(1.08);
}

.section__card-fav.is-active {
    color: #e0524a;
}

.section__card-fav.is-active svg {
    fill: #e0524a;
}

.section__card--special {
    border-color: #C9A227;
    box-shadow: 0 6px 18px rgba(201, 162, 39, .18);
}

.section__card--special::before {
    content: "Maxsus taklif";
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #C9A227;
    color: #402d05;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: .3px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(201, 162, 39, .4);
}

.section__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(64, 36, 21, .14);
}

.section__card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.section__card-title {
    margin: 16px 16px 4px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #3f2415;
    text-align: center;
}

.section__card-price {
    margin: 0 16px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #e0885f;
}

.section__card-btn {
    margin: 0 16px 20px;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background-color: #e0885f;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
}

.section__card-btn:hover {
    background-color: #c96f49;
    transform: translateY(-1px);
}

/* ============ footer ============ */
footer {
    background-color: #3f2415;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer__box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__box a {
    color: #f5dac7;
    text-decoration: none;
    font-size: 15px;
    transition: color .2s ease;
}

.footer__box a:hover {
    color: #e0885f;
}

.icons {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .08);
    color: #f5dac7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease;
}

.icon:hover {
    background-color: #C9A227;
    color: #402d05;
}

.icon svg {
    width: 18px;
    height: 18px;
}

.footer__text {
    text-align: center;
    color: #cbb49c;
    font-size: 13px;
    padding-bottom: 25px;
    margin: 0;
}

/* ============ order modal ============ */
.order-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.order-modal.is-open {
    display: flex;
}

.order-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(63, 36, 21, .55);
}

.order-modal__box {
    position: relative;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 30px 26px 24px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    color: #8a7570;
    cursor: pointer;
}

.order-modal__title {
    margin: 0;
    font-family: "Birthstone", cursive;
    font-size: 34px;
    color: #5a3620;
    text-align: center;
}

.order-modal__product {
    margin: 0;
    text-align: center;
    font-weight: 700;
    color: #3f2415;
    font-size: 16px;
}

.order-modal__price {
    margin: 0 0 6px;
    text-align: center;
    color: #e0885f;
    font-weight: 700;
}

.order-modal__input {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #efe3d3;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.order-modal__input:focus {
    outline: none;
    border-color: #e0885f;
}

.order-modal__submit {
    margin-top: 4px;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background-color: #e0885f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.order-modal__submit:hover {
    background-color: #c96f49;
}

.order-modal__submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.order-modal__status {
    margin: 0;
    text-align: center;
    font-size: 13px;
    min-height: 18px;
}

.order-modal__status.ok {
    color: #3f8c5a;
}

.order-modal__status.err {
    color: #c9463f;
}

.a-empty {
    color: #8a7570;
    font-size: 13px;
    text-align: center;
    padding: 10px 0;
}

/* ============ order modal extras (cart-based checkout) ============ */
.order-modal__items {
    max-height: 140px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.order-modal__item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #3f2415;
    padding: 4px 0;
    border-bottom: 1px dashed #efe3d3;
}

.order-modal__totals {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid #efe3d3;
    border-bottom: 1px solid #efe3d3;
    margin: 4px 0;
}

.order-modal__row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #5a3620;
}

.order-modal__row--total {
    font-size: 15px;
    font-weight: 700;
    color: #3f2415;
}

.order-modal__delivery {
    display: flex;
    gap: 16px;
    margin: 4px 0;
}

.order-modal__radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #3f2415;
    cursor: pointer;
}

.order-modal__promo {
    display: flex;
    gap: 8px;
}

.order-modal__promo .order-modal__input {
    flex: 1;
}

.order-modal__promo-btn {
    padding: 0 16px;
    border: 1.5px solid #e0885f;
    background: #fff;
    color: #e0885f;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.order-modal__promo-btn:hover {
    background: #e0885f;
    color: #fff;
}

.order-modal__promo-status {
    margin: -4px 0 4px;
    font-size: 12px;
    min-height: 14px;
}

.order-modal__promo-status.ok {
    color: #3f8c5a;
}

.order-modal__promo-status.err {
    color: #c9463f;
}

/* ============ cart drawer ============ */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
}

.cart-drawer.is-open {
    display: block;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(63, 36, 21, .5);
}

.cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 380px;
    background: #faf3ea;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .25s ease;
}

.cart-drawer.is-open .cart-drawer__panel {
    transform: translateX(0);
}

.cart-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #efe3d3;
}

.cart-drawer__head h3 {
    margin: 0;
    font-family: "Birthstone", cursive;
    font-size: 28px;
    color: #5a3620;
}

.cart-drawer__close {
    border: none;
    background: none;
    font-size: 24px;
    color: #8a7570;
    cursor: pointer;
}

.cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 50px 1fr auto auto;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #efe3d3;
    border-radius: 12px;
    padding: 8px 10px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item__title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #3f2415;
}

.cart-item__price {
    margin: 2px 0 0;
    font-size: 12px;
    color: #e0885f;
    font-weight: 700;
}

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.cart-item__qty button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #efe3d3;
    background: #faf3ea;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.cart-item__remove {
    border: none;
    background: none;
    cursor: pointer;
    color: #3f2415;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
}

.cart-item__remove:hover {
    opacity: 1;
}

.cart-drawer__footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #efe3d3;
}

/* ============ account drawer ============ */
.account-drawer__panel {
    display: flex;
    flex-direction: column;
}

.account-tabs {
    display: flex;
    gap: 6px;
    padding: 0 20px 14px;
    border-bottom: 1px solid #efe3d3;
    flex-wrap: wrap;
}

.account-tab {
    padding: 8px 14px;
    border: 1.5px solid #efe3d3;
    border-radius: 20px;
    background: #fff;
    color: #5a3620;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.account-tab.is-active {
    background: #e0885f;
    border-color: #e0885f;
    color: #fff;
}

.account-panels {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
}

.account-panel {
    display: none;
}

.account-panel.is-active {
    display: block;
}

.account-profile__name {
    font-size: 18px;
    font-weight: 700;
    color: #3f2415;
    margin: 0 0 4px;
}

.account-profile__phone {
    font-size: 13px;
    color: #8a7570;
    margin: 0;
}

.account-address-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #efe3d3;
}

.account-address-item,
.account-address-row {
    background: #fff;
    border: 1px solid #efe3d3;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}

.account-address-row__label {
    display: block;
    color: #3f2415;
    font-weight: 700;
    margin: 0 0 2px;
}

.account-address-row__text {
    margin: 0;
    color: #5a3620;
}

.account-address-item strong {
    display: block;
    color: #3f2415;
    margin-bottom: 2px;
}

.account-address-item button {
    border: none;
    background: none;
    color: #c9463f;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.account-order-item,
.account-order-row {
    background: #fff;
    border: 1px solid #efe3d3;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.account-order-row__title {
    margin: 0;
    font-weight: 700;
    color: #3f2415;
}

.account-order-row__meta {
    margin: 2px 0 0;
    font-size: 11px;
    color: #8a7570;
}

.account-order-item .a-badge {
    margin-top: 6px;
}

.a-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}

.a-badge--yangi {
    background: #fde3d1;
    color: #a15a2c;
}

.a-badge--bajarilmoqda {
    background: #fff3c4;
    color: #8a6d00;
}

.a-badge--tayyor {
    background: #d9f2e2;
    color: #2f7a4f;
}

.a-badge--bekor {
    background: #f8d7d5;
    color: #a3312a;
}

.account-fav-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #efe3d3;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.account-fav-row img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
}

.account-fav-row__title {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #3f2415;
}

.account-fav-row__price {
    margin: 2px 0 0;
    font-size: 12px;
    color: #e0885f;
    font-weight: 700;
}

.order-modal__switch {
    background: none;
    border: none;
    color: #e0885f;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 12px;
}

.cart-drawer__total strong {
    color: #e0885f;
}

.cart-drawer__checkout {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background-color: #e0885f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
}

.cart-drawer__checkout:hover {
    background-color: #c96f49;
}

/* ============ floating telegram button ============ */
.floating-telegram {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #29a9eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(41, 169, 235, .35);
    z-index: 900;
    transition: transform .2s ease;
}

.floating-telegram:hover {
    transform: scale(1.08);
}

/* ============ gallery section ============ */
.section-title {
    text-align: center;
    font-family: "Birthstone", cursive;
    font-size: 48px;
    font-weight: 400;
    color: #5a3620;
    margin: 0 0 26px;
}

.section--alt {
    background-color: #fff8ee;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #efe3d3;
    box-shadow: 0 6px 16px rgba(64, 36, 21, .06);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    margin: 0;
    padding: 10px 12px;
    font-size: 13px;
    color: #5a3620;
    text-align: center;
}

/* ============ reviews section ============ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.review-card {
    background: #fff;
    border: 1px solid #efe3d3;
    border-radius: 14px;
    padding: 18px;
}

.review-card__stars {
    margin: 0 0 8px;
    color: #C9A227;
    font-size: 16px;
}

.review-card__comment {
    margin: 0 0 10px;
    font-size: 13px;
    color: #5a3620;
    font-style: italic;
}

.review-card__name {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #3f2415;
}

.review-form {
    max-width: 420px;
    margin: 0 auto;
    background: #fff8ee;
    border: 1px solid #efe3d3;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-form h4 {
    margin: 0 0 4px;
    text-align: center;
    color: #5a3620;
}

.review-form__stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.review-form__stars button {
    border: none;
    background: none;
    font-size: 26px;
    color: #e6d6c3;
    cursor: pointer;
    transition: color .15s ease;
}

.review-form__stars button.is-active {
    color: #C9A227;
}

/* ============ scroll to top ============ */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background-color: #e0885f;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(64, 36, 21, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, background-color .2s ease;
    z-index: 900;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: #c96f49;
}

/* ============ responsive ============ */
@media (max-width: 900px) {
    .header__burger {
        display: flex;
    }

    .header__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: #faf3ea;
        box-shadow: 0 12px 20px rgba(64, 36, 21, .1);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .header__links.is-open {
        max-height: 400px;
    }

    .header__link {
        padding: 16px 24px;
        width: 100%;
    }

    .header__link::after {
        display: none;
    }

    .main__title {
        font-size: 56px;
    }

    .section__inner > div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .section__inner > div {
        grid-template-columns: 1fr;
    }

    .header__btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .scroll-top {
        right: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }
}
