.header-shop {
    padding: 20px 40px;
    background: #ff7000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}



.header-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .header-shop {
        flex-direction: column;
        align-items: stretch;
    }

    .header-left {
        margin-bottom: 12px;
    }

    .header-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}




.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    justify-content: center;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
    height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: bold;
    color: #ff7000;
    font-size: 15px;
}

.product-price i {
    margin-right: 6px;
    color: #ff7000;
}

.buy-btn {
    background: #ff7000;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buy-btn:hover {
    background: #8a7768;
}


















.cart-modal-container {
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.cart-scrollable {
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
}

.cart-table thead th {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    text-align: left;
}

.cart-table tbody td {
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.cart-total {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.coin-icon {
    color: #A68F7D;
    margin-right: 4px;
}

.qty-btn {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 26px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f7f7f7;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.qty-btn:hover {
    background: #e0e0e0;
    border-color: #aaa;
}

.qty-btn:active {
    background: #d5d5d5;
}

.cart-table td > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cart-row .remove-item {
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cart-row .remove-item:hover {
    opacity: 1;
    color: #ff4d4f;
}

#cart-total {
    font-weight: bold;
    color: #333;
}


.swal2-actions-row {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.swal2-actions-row .btns {
    padding: 8px 20px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #A68F7D;
    background: white;
    color: #A68F7D;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.swal2-actions-row .btns:hover {
    background: #A68F7D;
    color: white;
}

.swal2-actions-row .btns-light {
    background: #f3f0ea;
    color: #7b5e50;
    border-color: #c4b8ad;
}

.swal2-actions-row .btns-light:hover {
    background: #d8cfc5;
    color: #4d3c32;
}

















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

.bonus-section {
    margin-top: 8px;
    font-size: 14px;
    background: #f9f7f4;
    padding: 10px;
    border-radius: 8px;
}

.bonus-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 500;
}

.bonus-value {
    color: #A68F7D;
}

.bonus-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bonus-input-row input {
    width: 100px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: right;
}

.order-summary {
    text-align: right;
    font-weight: bold;
    margin-top: 12px;
    font-size: 15px;
}

.coin-icon {
    color: #A68F7D;
    margin-right: 4px;
}
