#mobileCart {
    display: none;
}

@media (max-width: 900px) {
    #mobileCart {
        display: inline-flex;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #172033;
    background: #edf4ff;
    border: 1px solid #d7e6ff;
    border-radius: 10px;
    padding: 10px 14px;
    white-space: nowrap;
}

.cart-link:hover {
    color: #1769ff;
}

.cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: #1769ff;
    color: white;
    font-size: 12px;
    display: grid;
    place-items: center;
}

.service-card .service-meta,
.price-card .price-actions {
    margin-top: 16px;
}

.service-price {
    font-size: 15px;
    font-weight: 800;
    color: #1769ff;
    margin-bottom: 10px;
}

.service-price span {
    font-size: 12px;
    font-weight: 500;
    color: #7a869a;
}

.add-cart-btn,
.qty-btn,
.icon-btn {
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.add-cart-btn {
    width: 100%;
    background: #1769ff;
    color: white;
    padding: 11px 14px;
    font-size: 13px;
}

.add-cart-btn:hover {
    background: #0e58dc;
}

.add-cart-btn.secondary {
    background: #edf4ff;
    color: #1769ff;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%) translateY(20px);
    background: #071326;
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
    z-index: 4000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.page-hero {
    background: #071326;
    color: white;
    padding: 50px 20px 40px;
}

.page-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.page-hero p {
    color: #aebbd0;
}

.shop-layout {
    max-width: 1100px;
    margin: -30px auto 70px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
}

.panel {
    background: white;
    border: 1px solid #e7ebf2;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 18px 50px rgba(25, 50, 90, 0.06);
}

.cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f7;
}

.cart-row:last-child {
    border-bottom: none;
}

.cart-row strong {
    display: block;
}

.cart-row small {
    color: #718097;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn,
.icon-btn {
    width: 32px;
    height: 32px;
    background: #edf4ff;
    color: #1769ff;
}

.qty-box span {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: #59667d;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 900;
    margin: 18px 0;
}

.shop-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 14px 0 6px;
}

.shop-form input,
.shop-form textarea,
.shop-form select {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 11px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.shop-form input:focus,
.shop-form textarea:focus {
    border-color: #1769ff;
}

.pay-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #dfe7f4;
    border-radius: 14px;
    padding: 14px;
    margin: 10px 0;
    cursor: pointer;
}

.pay-option input {
    width: auto;
    margin-top: 4px;
}

.pay-option.active {
    border-color: #1769ff;
    background: #f4f8ff;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #fff1f1;
    color: #b42318;
}

.alert-ok {
    background: #edfaf3;
    color: #067647;
}

.empty-cart {
    text-align: center;
    padding: 40px 10px;
    color: #718097;
}

.pay-box {
    background: #f7f9fc;
    border-radius: 16px;
    padding: 18px;
    margin: 16px 0;
}

.pay-box code {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 6px 0 10px;
    color: #071326;
}

.status-pill {
    display: inline-block;
    background: #edf4ff;
    color: #1769ff;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
}

.status-pill.paid {
    background: #edfaf3;
    color: #067647;
}

.qris-placeholder {
    width: 180px;
    height: 180px;
    margin: 12px 0;
    border: 8px solid #071326;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background:
        repeating-linear-gradient(90deg, #071326 0 8px, transparent 8px 16px),
        repeating-linear-gradient(#071326 0 8px, #fff 8px 16px);
    color: white;
    text-shadow: 0 0 8px #000;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.admin-nav a {
    font-weight: 700;
    font-size: 14px;
    color: #47536b;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f7f9fc;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: #edf4ff;
    color: #1769ff;
}

.admin-nav .admin-user {
    margin-left: auto;
    font-size: 13px;
    color: #718097;
}

.price-input {
    width: 140px;
    border: 1px solid #d9e1ee;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: inherit;
}

.inline-admin-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.inline-admin-form input {
    border: 1px solid #d9e1ee;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: inherit;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid #eef2f7;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .nav-right .nav-button {
        display: none;
    }

    .admin-nav .admin-user {
        margin-left: 0;
        width: 100%;
    }
}
