/* Cyber Café marketplace + admin/seller management screens. Light theme, Offlikart green. */
.cc, .cc-admin {
    --cc-green: #08783e;
    --cc-green-hover: #06612f;
    --cc-green-tint: #e8f5ee;
    --cc-text: #0f172a;
    --cc-muted: #475569;
    --cc-border: #cbd5e1;
    --cc-card: #ffffff;
    --cc-surface: #f8fafc;
    --cc-danger: #b91c1c;
    --cc-danger-tint: #fef2f2;
    --cc-warn: #92400e;
    --cc-warn-tint: #fffbeb;
    --cc-info: #1d4ed8;
    --cc-info-tint: #eff6ff;
    --cc-focus: #1d4ed8;
    color: var(--cc-text);
}
.cc *, .cc-admin * { box-sizing: border-box; }
.cc :focus-visible, .cc-admin :focus-visible { outline: 3px solid var(--cc-focus); outline-offset: 2px; }

/* Buttons */
.cc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px;
    border-radius: 10px; border: 1px solid var(--cc-green); background: var(--cc-green); color: #fff; font-weight: 700;
    font-size: .92rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.cc-btn:hover { background: var(--cc-green-hover); border-color: var(--cc-green-hover); color: #fff; }
.cc-btn:active { transform: translateY(1px); }
.cc-btn[disabled], .cc-btn.is-disabled { background: #e2e8f0; border-color: #e2e8f0; color: #475569; cursor: not-allowed; transform: none; }
.cc-btn-ghost { background: #fff; color: var(--cc-green); }
.cc-btn-ghost:hover { background: var(--cc-green-tint); color: var(--cc-green-hover); }
.cc-btn-danger { background: #fff; color: var(--cc-danger); border-color: var(--cc-danger); }
.cc-btn-danger:hover { background: var(--cc-danger-tint); color: #991b1b; border-color: #991b1b; }
.cc-btn-sm { min-height: 36px; padding: 6px 12px; font-size: .84rem; border-radius: 8px; }
.cc-btn-icon { min-width: 36px; padding: 6px; }

/* Status pills (text colours meet 4.5:1 on their tints) */
.cc-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.cc-pill-pending { background: var(--cc-warn-tint); color: var(--cc-warn); border: 1px solid #fcd34d; }
.cc-pill-approved, .cc-pill-live, .cc-pill-available { background: var(--cc-green-tint); color: #065f46; border: 1px solid #86efac; }
.cc-pill-rejected, .cc-pill-revoked, .cc-pill-unavailable { background: var(--cc-danger-tint); color: var(--cc-danger); border: 1px solid #fca5a5; }
.cc-pill-off, .cc-pill-draft { background: #f1f5f9; color: #334155; border: 1px solid var(--cc-border); }
.cc-pill-busy { background: var(--cc-warn-tint); color: var(--cc-warn); border: 1px solid #fcd34d; }
.cc-pill-info { background: var(--cc-info-tint); color: var(--cc-info); border: 1px solid #93c5fd; }

.cc-alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: .92rem; line-height: 1.45; border: 1px solid; }
.cc-alert-ok { background: var(--cc-green-tint); color: #065f46; border-color: #86efac; }
.cc-alert-err { background: var(--cc-danger-tint); color: var(--cc-danger); border-color: #fca5a5; }
.cc-alert-info { background: var(--cc-info-tint); color: #1e3a8a; border-color: #93c5fd; }
.cc-alert ul { margin: 6px 0 0 18px; padding: 0; }

/* ── Customer marketplace ─────────────────────────────────────────── */
.cc-page { max-width: 1200px; margin: 0 auto; padding: 20px 16px 48px; }
.cc-intro { background: linear-gradient(135deg, #08783e, #0b8f4b); color: #fff; border-radius: 16px; padding: 24px; margin-bottom: 22px; }
.cc-intro h1 { font-size: clamp(1.35rem, 3.2vw, 2rem); font-weight: 900; margin: 0 0 6px; line-height: 1.2; color: #fff; }
.cc-intro p { margin: 0; font-size: .95rem; line-height: 1.5; color: #f0fdf4; max-width: 680px; }
.cc-crumbs { font-size: .85rem; color: var(--cc-muted); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-crumbs a { color: var(--cc-green); text-decoration: none; font-weight: 600; }
.cc-crumbs a:hover { text-decoration: underline; }

.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cc-card { background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.cc-card-media { aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; background: var(--cc-green-tint); display: flex; align-items: center; justify-content: center; color: var(--cc-green); }
.cc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cc-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.cc-card h2, .cc-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0; line-height: 1.3; color: var(--cc-text); overflow-wrap: anywhere; }
.cc-card p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--cc-muted); overflow-wrap: anywhere; }
.cc-price { font-weight: 800; color: var(--cc-text); font-size: .95rem; }
.cc-meta { font-size: .82rem; color: var(--cc-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cc-card-foot { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.cc-card-foot .cc-btn { flex: 1 1 auto; }

.cc-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--cc-border); border-radius: 14px; background: var(--cc-surface); color: var(--cc-muted); }
.cc-empty h2 { color: var(--cc-text); font-size: 1.15rem; margin: 8px 0 6px; }
.cc-empty p { margin: 0 auto 14px; max-width: 520px; line-height: 1.5; }

.cc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.cc-detail-desc { white-space: pre-line; }
.cc-provider-list { display: flex; flex-direction: column; gap: 12px; }
.cc-provider { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--cc-border); border-radius: 12px; padding: 14px; background: #fff; }
.cc-provider img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 1px solid var(--cc-border); flex-shrink: 0; }
.cc-provider-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-provider-name { font-weight: 800; font-size: 1rem; color: var(--cc-text); }
.cc-provider-ins { font-size: .86rem; color: #334155; background: var(--cc-surface); border-radius: 8px; padding: 8px 10px; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .cc-detail { grid-template-columns: 1fr; }
    .cc-intro { padding: 18px; border-radius: 14px; }
    .cc-provider { flex-wrap: wrap; }
    .cc-provider .cc-btn { width: 100%; }
}

/* ── Admin / seller management ────────────────────────────────────── */
.cc-admin .cc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cc-admin .cc-head h1 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 800; color: var(--cc-text); }
.cc-admin .cc-head p { margin: 0; color: var(--cc-muted); font-size: .92rem; max-width: 720px; }
.cc-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--cc-border); margin-bottom: 18px; }
.cc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; min-height: 44px; border: 1px solid transparent; border-bottom: none;
    border-radius: 10px 10px 0 0; color: var(--cc-muted); font-weight: 700; text-decoration: none; font-size: .9rem; margin-bottom: -1px; }
.cc-tab:hover { color: var(--cc-text); background: var(--cc-surface); }
.cc-tab[aria-current="page"] { color: var(--cc-green); background: #fff; border-color: var(--cc-border); }
.cc-count { background: var(--cc-danger); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; }

.cc-panel { background: #fff; border: 1px solid var(--cc-border); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.cc-panel h2 { font-size: 1.1rem; margin: 0 0 12px; color: var(--cc-text); }
.cc-table-wrap { overflow-x: auto; border: 1px solid var(--cc-border); border-radius: 12px; background: #fff; }
.cc-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.cc-table th { text-align: left; background: var(--cc-surface); color: #334155; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--cc-border); white-space: nowrap; }
.cc-table td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: top; color: var(--cc-text); }
.cc-table tr:last-child td { border-bottom: none; }
.cc-table .cc-sub { color: var(--cc-muted); font-size: .8rem; }
.cc-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cc-actions form { margin: 0; }

.cc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.cc-form .cc-full { grid-column: 1 / -1; }
.cc-field label, .cc-field legend { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; color: var(--cc-text); }
.cc-field .cc-hint { font-size: .8rem; color: var(--cc-muted); margin-top: 4px; }
.cc-field input[type=text], .cc-field input[type=tel], .cc-field input[type=number], .cc-field input[type=file], .cc-field select, .cc-field textarea {
    width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 10px; background: #fff; color: var(--cc-text); font: inherit; font-size: .92rem;
}
.cc-field textarea { min-height: 96px; resize: vertical; }
.cc-field input::placeholder, .cc-field textarea::placeholder { color: #64748b; }
.cc-field fieldset { border: 1px solid var(--cc-border); border-radius: 10px; padding: 10px 12px; margin: 0; }
.cc-check { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: .9rem; color: var(--cc-text); cursor: pointer; }
.cc-check input { width: 18px; height: 18px; accent-color: var(--cc-green); flex-shrink: 0; }
.cc-form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.cc-thumb { width: 72px; height: 48px; border-radius: 8px; object-fit: cover; border: 1px solid var(--cc-border); background: var(--cc-green-tint); display: inline-flex; align-items: center; justify-content: center; color: var(--cc-green); }

.cc-seller-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cc-seller-card { border: 1px solid var(--cc-border); border-radius: 14px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cc-seller-card h3 { margin: 0; font-size: 1rem; color: var(--cc-text); overflow-wrap: anywhere; }
.cc-seller-card p { margin: 0; color: var(--cc-muted); font-size: .86rem; line-height: 1.45; }
.cc-note { font-size: .84rem; background: var(--cc-surface); border-left: 3px solid var(--cc-border); padding: 8px 10px; border-radius: 6px; color: #334155; overflow-wrap: anywhere; }

/* Navigation category admin preview */
.cc-nav-preview { display: flex; gap: 8px; overflow-x: auto; padding: 10px; background: linear-gradient(135deg, #08783e, #0b8f4b); border-radius: 12px; scrollbar-width: thin; }
.cc-nav-preview .ok-mode-card { flex: 0 0 auto; }
.cc-preview-label { font-size: .8rem; color: var(--cc-muted); margin: 10px 0 6px; font-weight: 700; }
@media (max-width: 640px) {
    .cc-form { grid-template-columns: 1fr; }
    .cc-panel { padding: 14px; }
    .cc-admin .cc-head h1 { font-size: 1.25rem; }
}

/* Section headings, help/error text, request form */
.cc-h2 { font-size: 1.15rem; margin: 0 0 12px; color: var(--cc-text); }
.cc-pin-help { margin: 8px 0 0; font-size: .85rem; color: var(--cc-muted); }
.cc-pin-error { color: var(--cc-danger); font-weight: 700; }
.cc-request { margin-top: 4px; }
.cc-request > summary { list-style: none; width: fit-content; }
.cc-request > summary::-webkit-details-marker { display: none; }
.cc-request-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.cc-request-form label { font-weight: 700; font-size: .86rem; }
.cc-request-form textarea { min-height: 84px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 10px; font: inherit; font-size: .92rem; color: var(--cc-text); resize: vertical; }
.cc-request-form .cc-btn { align-self: flex-start; }
.cc-issues { margin: 6px 0 0; padding-left: 16px; font-size: .8rem; color: var(--cc-warn); }
.cc-issues li { margin: 2px 0; }

/* Notifications and Messages */
.cc-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cc-notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cc-notif-link { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--cc-border); border-radius: 12px; text-decoration: none; color: var(--cc-text); min-height: 44px; }
.cc-notif-link:hover { background: var(--cc-surface); }
.cc-notif.is-unread .cc-notif-link { border-left: 4px solid var(--cc-green); background: #f6fbf8; }
.cc-notif-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--cc-green-tint); color: var(--cc-green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-notif-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-notif-title { font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.cc-notif.is-unread .cc-notif-title { font-weight: 800; }
.cc-notif-msg { font-size: .85rem; color: #334155; overflow-wrap: anywhere; }
.cc-notif-time { font-size: .76rem; color: var(--cc-muted); }
.cc-inbox { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 14px; min-height: 420px; }
.cc-conv-list { display: flex; flex-direction: column; gap: 6px; }
.cc-conv { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--cc-border); border-radius: 12px; background: #fff; text-decoration: none; color: var(--cc-text); }
.cc-conv:hover { background: var(--cc-surface); }
.cc-conv.is-active { border-color: var(--cc-green); box-shadow: 0 0 0 2px var(--cc-green-tint); }
.cc-conv-name { font-weight: 800; font-size: .92rem; display: flex; justify-content: space-between; gap: 6px; }
.cc-conv-last { font-size: .84rem; color: #334155; overflow-wrap: anywhere; }
.cc-conv.is-unread .cc-conv-last { font-weight: 700; color: var(--cc-text); }
.cc-thread { border: 1px solid var(--cc-border); border-radius: 14px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.cc-thread .cc-empty { border: none; margin: auto; background: transparent; }
.cc-thread-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--cc-border); }
.cc-thread-back { display: none; }
.cc-msgs { list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 55vh; flex: 1; }
.cc-msg { align-self: flex-start; max-width: 80%; background: var(--cc-surface); border: 1px solid #e2e8f0; border-radius: 12px 12px 12px 4px; padding: 8px 12px; font-size: .9rem; color: var(--cc-text); overflow-wrap: anywhere; }
.cc-msg.is-mine { align-self: flex-end; background: var(--cc-green-tint); border-color: #bbf7d0; border-radius: 12px 12px 4px 12px; }
.cc-msg time { display: block; font-size: .72rem; color: var(--cc-muted); margin-top: 4px; }
.cc-reply { border-top: 1px solid var(--cc-border); padding: 12px 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.cc-reply textarea { flex: 1 1 220px; min-height: 48px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 10px; font: inherit; font-size: .92rem; color: var(--cc-text); resize: vertical; }
.cc-reply .cc-pin-help { flex-basis: 100%; margin: 0; }
@media (max-width: 768px) {
    .cc-inbox { grid-template-columns: 1fr; }
    .cc-inbox.has-open .cc-conv-list { display: none; }
    .cc-inbox:not(.has-open) .cc-thread-placeholder { display: none; }
    .cc-inbox:not(.has-open) .cc-thread { display: none; }
    .cc-thread-back { display: inline-flex; }
    .cc-msg { max-width: 92%; }
}

/* ── Service orders, files and attachments ─────────────────────────────── */
.cc-h3 { font-size: 1rem; font-weight: 800; margin: 16px 0 6px; color: var(--cc-text); }
.cc-pre { white-space: normal; overflow-wrap: anywhere; margin: 0; }
.cc-list { margin: 4px 0 8px; padding-left: 20px; color: var(--cc-text); }
.cc-list li { margin: 2px 0; }
.cc-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 16px; margin: 14px 0; }
.cc-dl div { min-width: 0; }
.cc-dl dt { font-size: .76rem; font-weight: 700; color: var(--cc-muted); text-transform: uppercase; letter-spacing: .02em; }
.cc-dl dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.cc-files { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cc-file-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--cc-border); border-radius: 10px; background: var(--cc-surface); }
.cc-file-row img, .cc-file-row svg { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.cc-file-name { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.cc-file-preview { display: flex; flex-wrap: wrap; gap: 8px; flex-basis: 100%; }
.cc-file-preview:empty { display: none; }
.cc-file-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--cc-border); border-radius: 8px; background: #fff; font-size: .84rem; max-width: 100%; overflow-wrap: anywhere; }
.cc-file-chip img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.cc-upload, .cc-status-form { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; padding: 12px; border: 1px dashed var(--cc-border); border-radius: 12px; max-width: 560px; }
.cc-upload label, .cc-status-form > label { font-weight: 700; font-size: .88rem; }
.cc-upload input[type="file"] { max-width: 100%; }
.cc-status-form fieldset { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-status-form legend { font-weight: 800; margin-bottom: 4px; }
.cc-status-form textarea { padding: 8px 10px; border: 1px solid #94a3b8; border-radius: 8px; font: inherit; color: var(--cc-text); width: 100%; }
.cc-upload .cc-btn, .cc-status-form .cc-btn { align-self: flex-start; }
progress { width: 100%; max-width: 560px; height: 10px; accent-color: var(--cc-green); }
.cc-status { margin: 0; font-size: .88rem; }
.cc-status:empty { display: none; }
.cc-status-ok { color: #065f46; }
.cc-status-err { color: var(--cc-danger); font-weight: 600; }
.cc-history { margin-top: 14px; }
.cc-history summary { cursor: pointer; font-weight: 700; }
.cc-history ol { margin: 8px 0 0; padding-left: 20px; font-size: .88rem; }
.cc-history time { color: var(--cc-muted); margin-right: 6px; }
.cc-type-block { border-top: 1px solid var(--cc-border); padding-top: 4px; }
.cc-type-block[hidden] { display: none; }
.cc-module { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cc-order-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cc-order-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--cc-border); border-radius: 12px; background: #fff; color: var(--cc-text); text-decoration: none; }
.cc-order-card:hover { border-color: var(--cc-green); }
.cc-attach { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.cc-attach img { max-width: 220px; max-height: 220px; border-radius: 8px; border: 1px solid var(--cc-border); display: block; }
.cc-attach a { color: var(--cc-info); font-weight: 600; overflow-wrap: anywhere; }
.cc-attach-btn { min-width: 44px; padding: 8px; }
.cc-reply progress { flex-basis: 100%; }
/* Order status pills (text meets 4.5:1 on its tint) */
.cc-pill-st-new, .cc-pill-st-info_received { background: var(--cc-info-tint); color: var(--cc-info); border: 1px solid #93c5fd; }
.cc-pill-st-awaiting_info { background: var(--cc-warn-tint); color: var(--cc-warn); border: 1px solid #fcd34d; }
.cc-pill-st-in_progress { background: #f5f3ff; color: #5b21b6; border: 1px solid #c4b5fd; }
.cc-pill-st-ready_for_pickup, .cc-pill-st-completed { background: var(--cc-green-tint); color: #065f46; border: 1px solid #86efac; }
.cc-pill-st-cancelled { background: #f1f5f9; color: #334155; border: 1px solid var(--cc-border); }
.cc-pill-st-awaiting_payment { background: var(--cc-warn-tint); color: var(--cc-warn); border: 1px solid #fcd34d; }
.cc-pill-st-payment_failed { background: var(--cc-danger-tint); color: var(--cc-danger); border: 1px solid #fca5a5; }
@media (max-width: 600px) {
    .cc-file-row .cc-btn { flex: 1 1 auto; }
    .cc-attach img { max-width: 100%; }
}
.cc .cc-sub, .cc-admin .cc-sub { color: var(--cc-muted); font-size: .84rem; }
.cc .cc-hint, .cc-admin .cc-hint { font-size: .8rem; color: var(--cc-muted); margin-top: 4px; }

/* ── Packages, checkout and payment ── */
.cc-pkg-form { display: flex; flex-direction: column; gap: 10px; }
.cc-pkg-list { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cc-pkg { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--cc-border); border-radius: 12px; background: var(--cc-card); cursor: pointer; min-width: 0; }
.cc-pkg:has(input:checked) { border-color: var(--cc-green); background: var(--cc-green-tint); }
.cc-pkg input[type="radio"] { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--cc-green); }
.cc-pkg-off { opacity: .6; cursor: not-allowed; }
.cc-pkg-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.cc-pkg-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cc-pkg-top strong { overflow-wrap: anywhere; }
.cc-pkg-top small { font-weight: 600; color: var(--cc-muted); }
.cc-pkg-desc { font-size: .88rem; color: var(--cc-muted); line-height: 1.5; overflow-wrap: anywhere; }
.cc-pkg-sub { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--cc-muted); margin-top: 4px; }
.cc-pkg .cc-list { margin: 0; }

.cc-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 16px; align-items: start; }
.cc-checkout-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cc-checkout-main .cc-panel, .cc-checkout-summary { margin: 0; }
.cc-checkout-summary { position: sticky; top: 90px; }
.cc-checkout .cc-field textarea, .cc-checkout .cc-field input[type="text"], .cc-checkout .cc-field input[type="tel"] { width: 100%; box-sizing: border-box; }
.cc-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 0; margin: 0; }
.cc-sum dt { color: var(--cc-muted); overflow-wrap: anywhere; }
.cc-sum dd { margin: 0; padding-left: 12px; text-align: right; font-weight: 700; }
.cc-sum .cc-sum-total { border-top: 1px solid var(--cc-border); padding-top: 8px; color: var(--cc-text); font-weight: 800; font-size: 1.05rem; }
@media (max-width: 860px) {
    .cc-checkout { grid-template-columns: minmax(0, 1fr); }
    .cc-checkout-summary { position: static; }
}

.cc-pay-box { border: 2px solid #fcd34d; background: var(--cc-warn-tint); border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
.cc-pill-pay-paid { background: var(--cc-green-tint); color: #065f46; border: 1px solid #86efac; }
.cc-pill-pay-awaiting_payment, .cc-pill-pay-refund_pending { background: var(--cc-warn-tint); color: var(--cc-warn); border: 1px solid #fcd34d; }
.cc-pill-pay-payment_failed { background: var(--cc-danger-tint); color: var(--cc-danger); border: 1px solid #fca5a5; }
.cc-pill-pay-refunded, .cc-pill-pay-unpaid, .cc-pill-pay-paid_at_store, .cc-pill-pay-not_required { background: #f1f5f9; color: #334155; border: 1px solid var(--cc-border); }

.cc-pkg-rows { display: flex; flex-direction: column; gap: 12px; }
.cc-pkg-edit { border: 1px solid var(--cc-border); border-radius: 12px; padding: 12px; background: var(--cc-surface); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cc-pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px 12px; }
.cc-pkg-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cc-pkg-photo { display: contents; }
.cc-pkg-photo[hidden] { display: none; }
.cc-pkg-edit .cc-field { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.cc-pkg-edit .cc-field span { font-size: .82rem; font-weight: 700; }
.cc-pkg-edit input, .cc-pkg-edit select, .cc-pkg-edit textarea { width: 100%; box-sizing: border-box; min-width: 0; }
.cc-pkg-edit [data-cc-remove-row] { align-self: flex-start; }

/* Cyber Café monthly rent (service access) */
.cc-pill-cancelled { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.cc-rent-line { margin: 4px 0; font-size: .9rem; }
.cc-cancel { margin-top: 10px; }
.cc-cancel > summary { list-style: none; display: inline-flex; cursor: pointer; }
.cc-cancel > summary::-webkit-details-marker { display: none; }
