body {
    background: #f5f7fb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1f2a44;
}

.customer-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e9edf5;
    box-shadow: 0 2px 8px rgba(15, 34, 58, 0.04);
}

.customer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.customer-brand-text strong {
    display: block;
    font-size: 18px;
    color: #183153;
    line-height: 1.1;
}

.customer-brand-text small {
    color: #6c7a92;
    font-size: 12px;
}

.customer-content {
    padding: 24px;
}

.customer-box {
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 34, 58, 0.04);
    margin-bottom: 24px;
}

.customer-hero {
    background: linear-gradient(90deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #e9edf5;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
}

.customer-hero h2 {
    font-weight: 700;
    margin-bottom: 8px;
}

.customer-stat {
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 18px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(15, 34, 58, 0.04);
}

.customer-stat h6 {
    color: #6c7a92;
    margin-bottom: 8px;
    font-weight: 600;
}

.customer-stat h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
}

.category-bar {
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(15, 34, 58, 0.04);
    margin-bottom: 20px;
}

.category-scroll {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-scroll .btn {
    border-radius: 999px;
}

@media (max-width: 991px) {
    .customer-content {
        padding: 16px;
    }

    .customer-brand-text strong {
        font-size: 16px;
    }
}

.cart-note-input-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    animation: fadeInNote 0.2s ease-in-out;
}

.cart-note-input-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.cart-note-label {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.cart-note-input-header h4 {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px;
}

.cart-note-input-header p {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
}

.cart-note-textarea-wrap {
    width: 100%;
}

.cart-note-textarea {
    display: block;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    color: #111827;
    outline: none;
    resize: vertical;
    min-height: 110px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.cart-note-textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cart-note-textarea::placeholder {
    color: #9ca3af;
}

.cart-note-helper {
    display: block;
    color: #6b7280;
    margin-top: 8px;
    font-size: 13px;
}

@keyframes fadeInNote {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.header-cart-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
}

.header-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-cart-text {
    display: inline-block;
    line-height: 1;
}

.header-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* =========================
   RINGKASAN BELANJA
========================= */

.cart-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cart-summary-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.cart-summary-total {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 18px;
    padding: 18px;
}

.cart-summary-total > span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 10px;
}

.cart-total-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 900;
    line-height: 1;
}

.cart-total-currency,
.cart-total-amount,
.cart-total-price span {
    font-size: 28px;
    font-weight: 900;
    color: #f97316;
    line-height: 1;
}

/* =========================
   TOMBOL AKSI RINGKASAN
========================= */

.cart-action-row {
    display: flex;
    gap: 12px;
    margin-top: 16px; /* kasih jarak dari total */
}

.cart-continue-btn,
.cart-checkout-btn {
    flex: 1;
    min-height: 44px;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

.cart-continue-btn {
    background: #e8f1ff;
    color: #2563eb;
}

.cart-continue-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
    text-decoration: none;
}

.cart-checkout-btn {
    background: #f97316;
    color: #ffffff;
}

.cart-checkout-btn:hover {
    background: #ea580c;
    color: #ffffff;
}

.cart-checkout-btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .cart-action-row {
        flex-direction: column;
    }

    .cart-total-currency,
    .cart-total-amount,
    .cart-total-price span {
        font-size: 24px;
    }
}