.header {
    background: #15110F;
    padding: 38px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

a.order-btn:hover {
    background: #fff;
    color: rgb(252, 198, 80);
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: unset;
}

.menu-btn:hover {
    opacity: 0.8;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
}

.hamburger span {
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.box-header-desktop .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 89px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.box-header-desktop .cart {
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.order-btn {
    background: rgb(252, 198, 80);
    color: #fff;
    border: none;
    padding: 6px 24px 8px;
    border-radius: 25px;

    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}



.box-header-desktop .cart i {
    font-size: 26px;
    position: relative;
}


.cart.btn-open-cart span.cart-count {
    position: absolute;
    top: 1px;
    width: 20px;
    height: 20px;
    background: #fcc650;
    border-radius: 100%;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 8px;
    font-weight: 500;
}

.cart.btn-open-cart {
    position: relative;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 183, 66, 0.4);
    color: #fff;
}

.lang-selector {
    color: #fcc650;
    font-size: 21px;
    cursor: pointer;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Menu */
.slide-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 420px;
    max-width: 85%;
    height: 100%;
    background: #1a1a1a;
    padding: 40px;
    overflow-y: auto;
    transition: left 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 99999999999;
}

.model-popup-sideber {
    position: relative;
    z-index: 9999999999999;
}

.slide-menu.active {
    left: 0;
}

.item-quantity.quantity-wrapper button:hover {
    background: rgb(252, 198, 80);
    color: #fff;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 2px solid rgb(252, 198, 80);
    border-radius: 50%;
    background: none;
    color: rgb(252, 198, 80);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgb(252, 198, 80);
    color: #1a1a1a;
    transform: rotate(90deg);
}

.login-link {
    color: rgb(252, 198, 80);
    text-decoration: none;
    font-size: 23px;
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.login-link:hover {
    opacity: 0.8;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.5s ease forwards;
}

.menu-items li:nth-child(1) {
    animation-delay: 0.1s;
}

.menu-items li:nth-child(2) {
    animation-delay: 0.15s;
}

.menu-items li:nth-child(3) {
    animation-delay: 0.2s;
}

.menu-items li:nth-child(4) {
    animation-delay: 0.25s;
}

.menu-items li:nth-child(5) {
    animation-delay: 0.3s;
}

.menu-items li:nth-child(6) {
    animation-delay: 0.35s;
}

.menu-items li:nth-child(7) {
    animation-delay: 0.4s;
}

.menu-items li:nth-child(8) {
    animation-delay: 0.45s;
}

.menu-items li:nth-child(9) {
    animation-delay: 0.5s;
}

.menu-items li:nth-child(10) {
    animation-delay: 0.55s;
}

.menu-items li:nth-child(11) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-items a {
    color: white;
    text-decoration: none;
    font-size: 27px;
    font-weight: bold;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

.menu-items a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0;
    height: 3px;
    background: rgb(252, 198, 80);
    transition: width 0.3s ease;
}

.menu-items a:hover {
    color: rgb(252, 198, 80);
    transform: translateX(10px);
}

.menu-items a:hover::before {
    width: 40px;
}

/* Content */
.content {
    padding: 60px 40px;
    text-align: center;
}

.content h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.box-header-desktop {
    background: #15110F;
    position: relative;
    z-index: 99;
}

.box-header-desktop .logo img {
    width: 100%;
    height: 100%;
}


@media(max-width:990px) {
    .menu-btn {
        font-size: 21px;
        gap: 9px;
    }

    .hamburger {
        width: 23px;
    }

    .order-btn {
        font-size: 17px;
        padding: 4px 13px 4px;
    }

    .header-right {
        gap: 10px;
    }

    .box-header-desktop .logo {
        height: 73px;
    }

    .header {
        padding: 29px 0px;
    }

    .box-header-desktop .cart {
        font-size: 18px;
        display: block;
        padding: 10px 20px;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        padding: unset;
        font-size: 16px;
        border: 1px solid rgb(252, 198, 80);
    }

    .slide-menu {
        padding: 40px 20px;
    }

    .menu-items a {
        font-size: 23px;
        font-weight: 600;
        padding-bottom: 11px;
    }

    .lang-selector {
        position: fixed;
        right: 0;
        top: 20%;
        background: #1E1E1E;
        padding: 5px 20px;
        color: #fff;
        font-size: 16px;
    }
}


.model-popup-sideber .cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.model-popup-sideber .cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.model-popup-sideber .cart-sidebar {
    position: fixed;
    top: 0;
    right: -1000px;
    width: 100%;
    max-width: 515px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.model-popup-sideber .cart-sidebar.active {
    right: 0;
}

.model-popup-sideber .cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-popup-sideber .cart-title {
    font-size: 25px;
    font-weight: 700;
    color: #000;
}

.model-popup-sideber .btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #718096;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.model-popup-sideber .btn-close:hover {
    background: #f7fafc;
}

.model-popup-sideber .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 10px;
    max-height: calc(100vh - 275px);
}

.model-popup-sideber .cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    align-items: center;
}

.model-popup-sideber .cart-item:first-child {
    padding-top: 0;
}

.model-popup-sideber .item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 12px;
}

.model-popup-sideber .item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-popup-sideber .item-name {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

.model-popup-sideber .item-name a {
    color: #000;
}

.model-popup-sideber .item-remove {
    background: none;
    border: none;
    color: #718096;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-popup-sideber .item-info {
    font-size: 12px;
    color: #718096;
}

.model-popup-sideber .item-quantity {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    width: max-content;
    border: 1px solid #cdcdcd;
    border-radius: 21px;
}

.model-popup-sideber .qty-btn {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 19px;
    color: #4a5568;
    transition: all 0.2s ease;
    padding: unset;
    border: 1px solid #cdcdcd;
    border-radius: 100%;
}

.model-popup-sideber .qty-btn:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
}

.model-popup-sideber .qty-display {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    color: #2d3748;
    width: 37px;
}

.model-popup-sideber .item-price {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 0px 13px;
}

.model-popup-sideber .item-original-price {
    font-size: 14px;
    color: #a0aec0;
    text-decoration: line-through;
    margin-left: 8px;
}

.model-popup-sideber .cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.model-popup-sideber .cart-totals {
    margin-bottom: 20px;
}

.model-popup-sideber .total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 18px;
}

.model-popup-sideber .total-row.final {
    font-size: 17px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    margin-top: 12px;
    color: #2d3748;
}

.model-popup-sideber .total-label {
    color: #4a5568;
}

.model-popup-sideber .total-value {
    font-weight: 600;
    color: #2d3748;
}

.model-popup-sideber .cart-actions {
    display: flex;
    /* flex-direction: column; */
    gap: 12px;
}

.model-popup-sideber .btn-checkout {
    text-align: center;
    width: 100%;
    padding: 10px;
    background: #000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lang-selector select {
    background: none;
    border: none;
    color: #fcc650;
    font-size: 19px;
    width: 90px;
}

.lang-selector select:focus {
    outline: none;
}

.model-popup-sideber .btn-checkout:hover {
    background: #1a202c;
}

.cart-sidebar-wrapper {
    height: 100%;
}

.model-popup-sideber .btn-view-cart {
    text-align: center;
    width: 100%;
    padding: 10px;
    background: white;
    color: #2b3544;
    border: 2px solid #2b3544;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-popup-sideber .btn-view-cart:hover {
    background: #f7fafc;
}

.model-popup-sideber .empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
}

.model-popup-sideber .empty-cart-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.box-header-desktop.header-bg {
    position: fixed;
    width: 100%;
    z-index: 99999;
}



.lang-switcher {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.lang-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px 15px;
    border-radius: 6px;
    transition: 0.2s;
    color: #fff;
    width: 170px;
}

.lang-btn svg {
    width: 10px;
    height: 10px;
}



.lang-btn:hover svg g {
    fill: #fff;
}

.lang-btn img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 0;
}

.lang-menu {
    position: absolute;
    top: 35px;
    left: 0;
    background: #fff;
    width: 140px;
    border: 1px solid #ddd;
    border-radius: 6px;
    list-style: none;
    padding: 5px 0;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999999;
}

.lang-menu li a {
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: 0.2s;
    color: #000;
}

.lang-menu li:hover {
    background: #f3f3f3;
}

.step-dangky {
    padding: 0px 14px;
}

.step-dangky ul {
    display: flex;
    align-items: center;
    gap: 0px 10px;
}

.step-dangky ul li a {
    display: block;
}

.step-dangky ul li a img {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 100%;
}

.lang-menu img {
    width: 20px;
}

.lang-switcher.active .lang-menu {
    display: block;
}

.item-lang-nn {
    display: flex;
    align-items: center;
    gap: 0px 10px;
}

.item-lang-nn span {
    font-size: 20px;
}

.cart.btn-open-cart.btn-open-cart-mobile {
    display: none;
}


@media(max-width:990px) {

    .cart.btn-open-cart.btn-open-cart-mobile {
        display: block;
    }

    .cart.btn-open-cart.btn-open-cart-desktop {
        display: none;
    }

    .model-popup-sideber .qty-display {
        background: #fff;
    }

    .menu-ngonngu {
        display: none;
    }

    .cake-detail .number-input__field {
        background: unset;
    }

    .box-header-desktop .logo img {
        width: auto;
        height: 100%;
        object-fit: cover;
    }

    .model-popup-sideber {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .box-header-desktop .cart i {
        font-size: 23px;
    }

    .cart.btn-open-cart span.cart-count {
        font-size: 13px;
        width: 16px;
        height: 17px;
    }

    .model-popup-sideber .cart-sidebar {
        max-width: 100%;
        right: -100%;
    }

    .model-popup-sideber .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 440px) {
    .silbar-deail-right-name {
        flex-direction: column;
    }

    .model-popup-sideber .cart-header {
        padding: 16px 20px;
    }

    .model-popup-sideber .cart-items {
        padding: 16px 20px;
    }

    .model-popup-sideber .cart-footer {
        padding: 16px 20px;
    }

    .model-popup-sideber .item-image {
        width: 90px;
        height: 90px;
    }
}


.cart-empty {
    text-align: center;
    padding: 20px;
}

.cart-empty p {
    text-align: center;
    padding-top: 20px;
}

.hamburger span svg {
    height: 30px;
    width: 30px;
    margin-top: 9px;
}

.hamburger span svg path {
    fill: #fff;
}
