body {
    font-family: 'Noto Sans Thai', sans-serif;
    background-color: #0d0d0d;
    color: #e0e0e0;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────────────────── */
.pc-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #1e1e1e;
}

.pc-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Brand */
.pc-nav-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.pc-nav-brand:hover { color: #fff; }

.pc-nav-brand-icon {
    color: rgba(255, 66, 66, 0.85);
    font-size: 18px;
}

.pc-nav-brand-accent {
    color: rgba(255, 66, 66, 0.85);
}

/* Center links */
.pc-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.pc-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}
.pc-nav-link i { font-size: 12px; }

.pc-nav-link:hover {
    color: #e0e0e0;
    background: rgba(255,255,255,0.05);
}

.pc-nav-link.active {
    color: rgba(255, 66, 66, 0.9);
    background: rgba(255, 66, 66, 0.08);
}

.pc-nav-link-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Right actions */
.pc-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pc-nav-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s, background 0.15s;
}
.pc-nav-icon-btn:hover { color: #e0e0e0; background: rgba(255,255,255,0.05); }
.pc-nav-icon-btn.active { color: rgba(255,66,66,0.9); background: rgba(255,66,66,0.08); }

.pc-nav-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: rgba(255, 66, 66, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pc-nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 6px;
    border-radius: 8px;
    border: 1px solid #222;
    background: transparent;
    color: #aaa;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    max-width: 200px;
}
.pc-nav-user:hover { color: #e0e0e0; background: rgba(255,255,255,0.04); border-color: #333; }
.pc-nav-user.active { color: rgba(255,66,66,0.9); border-color: rgba(255,66,66,0.3); background: rgba(255,66,66,0.04); }

.pc-nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255,66,66,0.1);
    border: 1px solid rgba(255,66,66,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255,66,66,0.8);
    flex-shrink: 0;
}

.pc-nav-username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-nav-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(255, 66, 66, 0.12);
    border: 1px solid rgba(255, 66, 66, 0.3);
    color: rgba(255, 66, 66, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pc-nav-login:hover {
    background: rgba(255, 66, 66, 0.2);
    border-color: rgba(255, 66, 66, 0.5);
    color: #ff5555;
}

/* Caret */
.pc-nav-caret {
    font-size: 10px;
    color: #555;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.pc-nav-caret.open { transform: rotate(180deg); }

/* Dropdown wrapper */
.pc-nav-drop-wrap {
    position: relative;
}

/* Dropdown panel */
.pc-nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: #141414;
    border: 1px solid #252525;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow: hidden;
    animation: dropFadeIn 0.12s ease;
}

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

.pc-nav-drop-header {
    padding: 12px 16px;
}

.pc-nav-drop-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-nav-drop-email {
    font-size: 11.5px;
    color: #555;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-nav-drop-divider {
    height: 1px;
    background: #1e1e1e;
    margin: 2px 0;
}

/* Dropdown items */
.pc-nav-drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 400;
    color: #aaa;
    text-decoration: none;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.12s, background 0.12s;
    font-family: inherit;
}

.pc-nav-drop-item i {
    width: 16px;
    text-align: center;
    font-size: 12px;
    color: #555;
    flex-shrink: 0;
    transition: color 0.12s;
}

.pc-nav-drop-item:hover {
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.04);
}

.pc-nav-drop-item:hover i { color: #888; }

/* Admin item */
.pc-nav-drop-admin { color: rgba(255, 66, 66, 0.8); }
.pc-nav-drop-admin i { color: rgba(255, 66, 66, 0.6); }
.pc-nav-drop-admin:hover { color: rgba(255, 66, 66, 1); background: rgba(255, 66, 66, 0.06); }
.pc-nav-drop-admin:hover i { color: rgba(255, 66, 66, 0.8); }

/* Logout item */
.pc-nav-drop-logout:hover { color: #fc8181; background: rgba(252, 129, 129, 0.06); }
.pc-nav-drop-logout:hover i { color: #fc8181; }

/* Mobile toggle */
.pc-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.pc-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #888;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.pc-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pc-nav-toggle.open span:nth-child(2) { opacity: 0; }
.pc-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .pc-nav-toggle { display: flex; }
    .pc-nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0; right: 0;
        background: #0d0d0d;
        border-bottom: 1px solid #1e1e1e;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 12px;
        gap: 2px;
    }
    .pc-nav-links.open { display: flex; }
    .pc-nav-inner { position: relative; flex-wrap: wrap; }
    .pc-nav-actions { margin-left: auto; }
}

/* Typography */
.text-red {
    color: rgba(255, 66, 66, 0.726);
}

/* Section Blocks */
.section-block {
    background-color: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 66, 66, 0.726);
    margin-bottom: 20px;
}

/* Option Rows */
.option-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1e1e1e;
}
.option-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.option-label {
    min-width: 130px;
    font-size: 14px;
    color: #999;
    font-weight: 300;
}

.option-value {
    flex: 1;
}

/* Option Buttons */
.option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #888;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.option-btn:hover {
    border-color: #555;
    color: #ccc;
}

.btn-check:checked + .option-btn {
    border-color: rgba(255, 66, 66, 0.5);
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
}

.option-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Quantity Select */
.qty-select {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #333;
    background: transparent;
    color: #e0e0e0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-width: 80px;
}
.qty-select:focus {
    border-color: rgba(255, 66, 66, 0.5);
    outline: none;
}
.qty-select option {
    background: #141414;
    color: #e0e0e0;
}

/* Quantity Number Input */
.qty-input {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #333;
    background: transparent;
    color: #e0e0e0;
    min-width: 80px;
}
.qty-input:focus {
    border-color: rgba(255, 66, 66, 0.5);
    outline: none;
}

/* Soldermask Color Buttons */
.color-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #888;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.color-btn:hover {
    border-color: #555;
    color: #ccc;
}

.btn-check:checked + .color-btn {
    border-color: rgba(255, 66, 66, 0.5);
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
}

.color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* PCB Preview */
.preview-card {
    background-color: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
}

.preview-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    padding: 10px 14px 0;
}

.preview-body {
    padding: 8px 14px 14px;
}

.board-info {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    font-size: 13px;
    color: #888;
}

.board-info-item {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 4px 12px;
}

/* Drop Zone */
.drop-zone {
    background-color: #141414;
    border: 2px dashed #333;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    padding: 48px 24px;
}

.drop-zone:hover {
    border-color: rgba(255, 66, 66, 0.5);
    background-color: rgba(255, 66, 66, 0.03);
}

.drop-zone.drag-over {
    border-color: rgba(255, 66, 66, 0.726);
    background-color: rgba(255, 66, 66, 0.08);
}

.drop-zone-icon {
    font-size: 32px;
    color: #555;
    display: block;
    margin-bottom: 12px;
}

.drop-zone-text {
    font-size: 15px;
    color: #bbb;
}

.drop-zone-sub {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Summary Sidebar */
.summary-card {
    background-color: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 80px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: #888;
}

.summary-divider {
    border-top: 1px solid #222;
    margin: 12px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    padding: 4px 0;
}

.summary-lead-time {
    font-size: 12px;
    color: #666;
    padding-top: 8px;
    margin-bottom: 20px;
}

.btn-add-cart {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 66, 66, 0.726);
    color: white;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-add-cart:hover {
    background: rgba(255, 66, 66, 0.9);
}

.payment-methods-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.payment-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #2a2a2a;
    color: #888;
    white-space: nowrap;
}

.payment-method-promptpay {
    color: #4a9eff;
    background: rgba(74, 158, 255, 0.06);
    border-color: rgba(74, 158, 255, 0.2);
}

.payment-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 11px;
    color: #444;
}

.payment-secure-note i {
    font-size: 10px;
    color: #3a7a3a;
}

/* Contact Page */
.contact-heading {
    color: #e0e0e0;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-copy {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 640px;
}

.contact-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
    border: 1px solid rgba(255, 66, 66, 0.35);
    border-radius: 8px;
    font-size: 13px;
    padding: 10px 12px;
    margin-bottom: 20px;
}

.contact-notice i {
    color: rgba(255, 66, 66, 0.726);
}

.contact-input {
    width: 100%;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #333;
    background: transparent;
    color: #e0e0e0;
}

.contact-input:focus {
    border-color: rgba(255, 66, 66, 0.5);
    outline: none;
}

.contact-input::placeholder {
    color: #666;
}

.contact-select {
    min-width: 180px;
}

.contact-message {
    min-height: 140px;
    resize: vertical;
}

.contact-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.contact-submit {
    width: auto;
    min-width: 180px;
}

.contact-method {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    color: #888;
}

.contact-method i {
    color: rgba(255, 66, 66, 0.726);
    padding-top: 3px;
    width: 18px;
}

.contact-method-label {
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
}

.contact-method-value {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

/* Profile Page */
.profile-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-sidebar {
    background-color: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 80px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.12);
    border: 1px solid rgba(255, 66, 66, 0.35);
    font-size: 24px;
    margin-bottom: 14px;
}

.profile-name {
    color: #e0e0e0;
    font-size: 17px;
    font-weight: 600;
}

.profile-email {
    color: #777;
    font-size: 13px;
    margin-bottom: 24px;
}

.profile-nav {
    gap: 8px;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    color: #888;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    text-align: left;
}

.profile-nav-link:hover {
    color: #ccc;
    border-color: #333;
}

.profile-nav-link.active {
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
    border-color: rgba(255, 66, 66, 0.35);
}

.profile-nav-link i {
    color: rgba(255, 66, 66, 0.726);
    width: 18px;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #333;
    border-radius: 8px;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}

.btn-logout i {
    color: rgba(255, 66, 66, 0.726);
    width: 18px;
}

.btn-logout:hover {
    border-color: rgba(255, 66, 66, 0.35);
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
}

.profile-content {
    min-width: 0;
}

.profile-section-heading {
    color: #e0e0e0;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
}

.profile-address {
    min-height: 96px;
}

.order-list {
    display: grid;
    gap: 12px;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.order-item:hover {
    background: #1d1d1d;
    border-color: rgba(255, 66, 66, 0.35);
}

.order-title {
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 600;
}

.order-meta {
    color: #777;
    font-size: 13px;
    margin-top: 4px;
}

.order-side {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.order-status {
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
    border: 1px solid rgba(255, 66, 66, 0.35);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
}

.order-status-complete {
    color: #bfbfbf;
    background: rgba(255, 255, 255, 0.04);
    border-color: #333;
}

.order-status-inprogress {
    color: #d4a847;
    background: rgba(212, 168, 71, 0.08);
    border-color: rgba(212, 168, 71, 0.35);
}

.order-status-cancelled {
    color: #555;
    background: rgba(255, 255, 255, 0.02);
    border-color: #2a2a2a;
    text-decoration: line-through;
}

.order-price {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
}

/* Order Detail Page */
.order-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 13px;
    text-decoration: none;
}

.profile-back-link:hover {
    color: #e0e0e0;
}

.order-detail-title {
    color: #e0e0e0;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.pcb-demo-preview {
    min-height: 250px;
}

.pcb-demo-board {
    position: relative;
    height: 210px;
    margin: 14px;
    border-radius: 8px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18px 18px, rgba(255,255,255,0.08) 0 3px, transparent 4px),
        linear-gradient(135deg, #063b24, #0c5a35);
    border: 1px solid rgba(255,255,255,0.08);
}

.pcb-demo-bottom {
    background:
        radial-gradient(circle at 22px 22px, rgba(255,255,255,0.08) 0 3px, transparent 4px),
        linear-gradient(135deg, #07321f, #094329);
}

.pcb-chip {
    position: absolute;
    left: 42%;
    top: 34%;
    width: 54px;
    height: 42px;
    background: #161616;
    border: 1px solid #333;
    border-radius: 4px;
}

.pcb-trace {
    position: absolute;
    height: 3px;
    background: rgba(221, 178, 82, 0.8);
    border-radius: 999px;
}

.trace-a {
    left: 18%;
    top: 30%;
    width: 54%;
    transform: rotate(12deg);
}

.trace-b {
    left: 25%;
    top: 62%;
    width: 45%;
    transform: rotate(-18deg);
}

.trace-c {
    left: 12%;
    top: 48%;
    width: 70%;
}

.pcb-pad {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d9b353;
    border: 3px solid rgba(0,0,0,0.35);
}

.pad-a {
    left: 18%;
    top: 26%;
}

.pad-b {
    right: 18%;
    top: 58%;
}

.pad-c {
    left: 50%;
    bottom: 18%;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.order-info-item {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 12px;
}

.order-info-item span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 4px;
}

.order-info-item strong {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-step {
    display: flex;
    gap: 12px;
}

.process-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #666;
    background: #1a1a1a;
    border: 1px solid #333;
    font-size: 12px;
}

.process-complete .process-marker,
.process-active .process-marker {
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
    border-color: rgba(255, 66, 66, 0.35);
}

.process-title {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
}

.process-detail {
    color: #777;
    font-size: 13px;
    margin-top: 2px;
}

.order-status-large {
    color: #e0e0e0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.order-progress {
    height: 10px;
    background: #222;
    border-radius: 999px;
}

.order-progress .progress-bar {
    background: rgba(255, 66, 66, 0.726);
}

.order-progress-label {
    color: #888;
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 991px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .order-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-side {
        align-items: flex-start;
    }

    .order-detail-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Page Cards */
.bg-secondary-2 {
    background-color: #1a1a1a;
}

.card-hover {
    transition: transform 0.2s;
    height: 50dvh;
    background-color: rgb(29, 29, 29);
    color: white;
}

.card-hover:hover {
    cursor: pointer;
    transform: scale(1.05);
    background-color: rgba(8, 8, 8, 0.918);
}

.card-hover.card-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.card-hover.card-disabled:hover {
    cursor: not-allowed;
    transform: none;
    background-color: rgb(29, 29, 29);
}

/* Auth Page */
.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.auth-heading {
    color: #e0e0e0;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-copy {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 480px;
}

.auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
    border: 1px solid rgba(255, 66, 66, 0.35);
    border-radius: 8px;
    font-size: 13px;
    padding: 10px 12px;
    margin-bottom: 20px;
}

.auth-error i {
    color: rgba(255, 66, 66, 0.726);
}

.auth-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.auth-switch {
    color: #777;
    font-size: 13px;
    padding-top: 20px;
}

.auth-switch a {
    color: rgba(255, 66, 66, 0.726);
    text-decoration: none;
}

.auth-switch a:hover {
    color: rgba(255, 66, 66, 0.9);
}

.auth-feature {
    display: flex;
    gap: 12px;
    padding: 10px 0;
}

.auth-feature i {
    color: rgba(255, 66, 66, 0.726);
    padding-top: 3px;
    width: 18px;
}

.auth-feature-title {
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
}

.auth-feature-desc {
    color: #777;
    font-size: 13px;
}

@media (max-width: 991px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }
}

#typing-text::after {
    content: "|";
    animation: blink 1s step-start infinite;
}

/* Cart Page */
.cart-heading {
    color: #e0e0e0;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
}

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

.cart-empty-icon {
    font-size: 40px;
    color: #555;
    display: block;
    margin-bottom: 12px;
}

.cart-empty-text {
    color: #e0e0e0;
    font-size: 18px;
    font-weight: 600;
}

.cart-empty-sub {
    color: #777;
    font-size: 14px;
    margin-top: 4px;
    margin-bottom: 24px;
}

.cart-empty-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ── Cart Tabs ──────────────────────────────────────────── */
.cart-tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border-bottom: 1px solid #222;
    padding-bottom: 0;
}

.cart-tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.cart-tab-btn i { font-size: 11px; }
.cart-tab-btn:hover { color: #aaa; }
.cart-tab-btn.active {
    color: rgba(255, 66, 66, 0.9);
    border-bottom-color: rgba(255, 66, 66, 0.8);
}

.cart-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,66,66,0.12);
    color: rgba(255,66,66,0.8);
}
.cart-tab-btn.active .cart-tab-badge {
    background: rgba(255,66,66,0.18);
}

/* ── Cart Select Bar ──────────────────────────────────── */
.cart-select-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px 12px;
}

.cart-select-all-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #aaa;
    cursor: pointer;
    user-select: none;
}
.cart-select-all-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: rgba(255,66,66,0.8);
    cursor: pointer;
    flex-shrink: 0;
}

.cart-select-bar-count {
    font-size: 12px;
    color: #555;
}

/* ── Cart List & Items ────────────────────────────────── */
.cart-list {
    display: grid;
    gap: 10px;
}

.cart-item-check {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    padding: 4px;
}
.cart-item-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: rgba(255,66,66,0.8);
    cursor: pointer;
}

.cart-item {
    transition: opacity 0.15s;
}
.cart-item:has(.item-cb:not(:checked)) {
    opacity: 0.45;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 16px;
}

.cart-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    background: rgba(255, 66, 66, 0.08);
    border: 1px solid rgba(255, 66, 66, 0.35);
    font-size: 16px;
    flex-shrink: 0;
}

.cart-item-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #111;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-size: 20px;
}

.cart-thumb-pcb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-thumb-pcb svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-thumb-canvas {
    display: block;
    width: 72px;
    height: 72px;
}

.cart-thumb-laser {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

.cart-thumb-laser svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-thumb-laser svg * {
    fill: none !important;
    stroke: #cc3333 !important;
    stroke-width: 1px;
}

.laser-svg-preview {
    background: #111;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laser-svg-preview svg {
    max-width: 100%;
    height: auto;
    max-height: 340px;
}

.laser-svg-preview svg * {
    fill: none !important;
    stroke: #cc3333 !important;
    stroke-width: 0.8px;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.cart-item-service {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 66, 66, 0.75);
}

.cart-item-service i {
    font-size: 10px;
}

.cart-item-meta {
    color: #666;
    font-size: 12px;
    margin-top: 6px;
}

.cart-item-file {
    color: #999;
    font-size: 13px;
    margin-top: 4px;
}

.cart-item-file i {
    color: rgba(255, 66, 66, 0.726);
    margin-right: 4px;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.cart-item-price {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 600;
}

.cart-item-lead {
    color: #777;
    font-size: 12px;
}

.btn-cart-remove {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-cart-remove:hover {
    border-color: rgba(255, 66, 66, 0.35);
    color: rgba(255, 66, 66, 0.726);
}

.btn-cart-details {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 66, 66, 0.25);
    border-radius: 6px;
    background: rgba(255, 66, 66, 0.06);
    color: rgba(255, 66, 66, 0.75);
    cursor: pointer;
    transition: all 0.15s;
}
.btn-cart-details:hover {
    background: rgba(255, 66, 66, 0.12);
    border-color: rgba(255, 66, 66, 0.45);
    color: rgba(255, 66, 66, 0.9);
}

/* ── Order Detail Modal ───────────────────────────────── */
.pc-modal {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    overflow: hidden;
    color: #e0e0e0;
}

.pc-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #1e1e1e;
}

.pc-modal-title {
    font-size: 15px;
    font-weight: 700;
    color: #e0e0e0;
    word-break: break-all;
}

.pc-modal-sub {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 66, 66, 0.75);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pc-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a2a2a;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}
.pc-modal-close:hover { background: rgba(255,66,66,0.1); color: rgba(255,66,66,0.8); border-color: rgba(255,66,66,0.3); }

.pc-modal-body {
    padding: 20px 24px 24px;
    max-height: 75vh;
    overflow-y: auto;
}

.cart-modal-viewer {
    width: 100%;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid #222;
}

.cart-modal-viewer canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.cart-detail-table {
    display: grid;
    gap: 1px;
    background: #1e1e1e;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
}

.cart-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #141414;
    font-size: 13px;
}
.cart-detail-row span { color: #777; }
.cart-detail-row strong { color: #e0e0e0; font-weight: 500; }

.cart-detail-total {
    background: #1a1a1a;
    border-top: 1px solid #222;
}
.cart-detail-total span { color: #aaa; font-weight: 600; }
.cart-detail-total strong { color: rgba(255,66,66,0.9); font-size: 15px; font-weight: 700; }

/* Cart Badge (nav) */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: rgba(255, 66, 66, 0.9);
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.home-hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,66,66,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 0% 100%, rgba(255,66,66,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,66,66,0.25);
    background: rgba(255,66,66,0.06);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,66,66,0.8);
    margin-bottom: 20px;
}
.home-hero-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,66,66,0.8);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.home-hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #f0f0f0;
    letter-spacing: -0.5px;
    line-height: 1.15;
    min-height: 1.2em;
    margin-bottom: 18px;
}

.home-hero-sub {
    font-size: 15px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 32px;
}

.home-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.home-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 9px;
    background: rgba(255,66,66,0.85);
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.home-btn-primary:hover { background: rgba(255,66,66,1); color: #fff; transform: translateY(-1px); }

.home-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 9px;
    border: 1px solid #2a2a2a;
    background: transparent;
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.home-btn-ghost:hover { border-color: #444; color: #e0e0e0; }

.home-hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #e0e0e0;
}
.home-stat-label {
    font-size: 11px;
    color: #555;
    margin-top: 2px;
    letter-spacing: 0.3px;
}
.home-stat-divider {
    width: 1px;
    height: 32px;
    background: #222;
}

.home-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ── Sections ─────────────────────────────────────────────── */
.home-section {
    padding: 72px 0;
}
.home-section-alt {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.home-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.home-section-header .section-label {
    display: inline-block;
    margin-bottom: 12px;
}
.home-section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 10px;
}
.home-section-sub {
    font-size: 14px;
    color: #666;
}

/* ── Services Grid ────────────────────────────────────────── */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-service-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.home-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255,66,66,0.5);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.home-service-card:hover {
    border-color: rgba(255,66,66,0.25);
    background: #141414;
    transform: translateY(-3px);
    color: inherit;
}
.home-service-card:hover::before { transform: scaleX(1); }

.home-service-card-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.home-service-card-disabled:hover {
    transform: none;
    border-color: #1e1e1e;
    background: #111;
}
.home-service-card-disabled:hover::before { transform: scaleX(0); }

.home-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,66,66,0.08);
    border: 1px solid rgba(255,66,66,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255,66,66,0.8);
}

.home-service-title {
    font-size: 15px;
    font-weight: 700;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-service-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255,180,0,0.1);
    border: 1px solid rgba(255,180,0,0.25);
    color: rgba(255,180,0,0.8);
    letter-spacing: 0.3px;
}

.home-service-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.home-service-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.home-service-tags span {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 6px;
    background: #1a1a1a;
    border: 1px solid #252525;
    color: #666;
}

.home-service-arrow {
    align-self: flex-end;
    color: rgba(255,66,66,0.5);
    font-size: 13px;
    transition: transform 0.15s, color 0.15s;
}
.home-service-card:hover .home-service-arrow {
    transform: translateX(4px);
    color: rgba(255,66,66,0.85);
}

/* ── Features ─────────────────────────────────────────────── */
.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-feature-card {
    padding: 24px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
}

.home-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,66,66,0.07);
    border: 1px solid rgba(255,66,66,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255,66,66,0.75);
    margin-bottom: 14px;
}

.home-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.home-feature-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
}

/* ── CTA Strip ────────────────────────────────────────────── */
.home-cta-strip {
    padding: 48px 0;
    border-top: 1px solid #1a1a1a;
    background: linear-gradient(135deg, rgba(255,66,66,0.04) 0%, transparent 50%);
}
.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.home-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 4px;
}
.home-cta-sub {
    font-size: 13px;
    color: #666;
}

/* ── Footer ───────────────────────────────────────────────── */
.home-footer {
    padding: 28px 0;
    border-top: 1px solid #1a1a1a;
    background: #0a0a0a;
}
.home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.home-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #e0e0e0;
}
.home-footer-icon { color: rgba(255,66,66,0.8); }
.home-footer-accent { color: rgba(255,66,66,0.8); }
.home-footer-links {
    display: flex;
    gap: 20px;
}
.home-footer-links a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}
.home-footer-links a:hover { color: #aaa; }
.home-footer-copy {
    font-size: 12px;
    color: #444;
}

/* ── Services Modal ───────────────────────────────────────── */
.svc-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.svc-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 24px 16px;
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.svc-modal-card:hover {
    border-color: rgba(255,66,66,0.3);
    background: #1a1a1a;
    color: inherit;
}
.svc-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255,66,66,0.08);
    border: 1px solid rgba(255,66,66,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: rgba(255,66,66,0.8);
}
.svc-modal-title {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}
.svc-modal-badge {
    font-size: 10px;
    padding: 1px 7px;
    border-radius: 8px;
    background: rgba(255,180,0,0.1);
    border: 1px solid rgba(255,180,0,0.25);
    color: rgba(255,180,0,0.8);
}
.svc-modal-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}
.svc-modal-go {
    font-size: 13px;
    color: rgba(255,66,66,0.5);
    margin-top: 4px;
}
.svc-modal-card:hover .svc-modal-go { color: rgba(255,66,66,0.85); }
.svc-modal-card-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 992px) {
    .home-hero-inner { grid-template-columns: 1fr; }
    .home-hero-visual { display: none; }
    .home-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .home-services-grid { grid-template-columns: 1fr; }
    .home-features-grid { grid-template-columns: 1fr; }
    .svc-modal-grid { grid-template-columns: 1fr; }
    .home-cta-inner { flex-direction: column; align-items: flex-start; }
    .home-footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   CART IMPROVEMENTS
   ═══════════════════════════════════════════════════════════ */

/* Sticky sidebar */
.cart-sticky {
    position: sticky;
    top: 76px;
}

/* Cart heading */
.cart-heading {
    font-size: 20px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* Better section-block for cart */
.cart-section {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    padding: 24px;
}


/* ═══════════════════════════════════════════════════════════
   PAGE HERO — consistent header strip for all inner pages
   ═══════════════════════════════════════════════════════════ */
.page-hero {
    background: #111;
    border-bottom: 1px solid #1e1e1e;
    padding: 1.5rem 0;
}
.page-hero-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.page-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(220,38,38,.1);
    border: 1px solid rgba(220,38,38,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #dc2626;
    flex-shrink: 0;
}
.page-hero-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f0f0f0;
    margin: 0 0 .2rem;
    line-height: 1.2;
}
.page-hero-sub {
    font-size: .8rem;
    color: #666;
    margin: 0;
}

/* ── Laser coming-soon ─────────────────────────────────────── */
.laser-soon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    gap: .75rem;
}
.laser-soon-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: rgba(220,38,38,.07);
    border: 1px solid rgba(220,38,38,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(220,38,38,.4);
    margin-bottom: .5rem;
}
.laser-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255,180,0,.08);
    border: 1px solid rgba(255,180,0,.18);
    color: rgba(255,180,0,.75);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .2rem .7rem;
    border-radius: 99px;
}
.laser-soon-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e0e0e0;
    margin: .2rem 0 0;
}
.laser-soon-sub {
    font-size: .875rem;
    color: #666;
    max-width: 400px;
    line-height: 1.65;
    margin: 0;
}
.laser-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 1.25rem;
    width: 100%;
    max-width: 480px;
}
.laser-feat {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}
.laser-feat-icon { font-size: 1.1rem; color: rgba(220,38,38,.45); margin-bottom: .4rem; }
.laser-feat-label { font-size: .68rem; color: #666; font-weight: 500; margin-bottom: .1rem; }
.laser-feat-val { font-size: .78rem; color: #bbb; font-weight: 600; }
.laser-notify-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(220,38,38,.65);
    font-size: .825rem;
    text-decoration: none;
    margin-top: .5rem;
    padding: .5rem 1.1rem;
    border: 1px solid rgba(220,38,38,.2);
    border-radius: 8px;
    transition: all .2s;
}
.laser-notify-link:hover { background: rgba(220,38,38,.07); color: rgba(220,38,38,.9); }

/* ── Profile avatar improvements ───────────────────────────── */
.profile-avatar-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    position: relative;
}
.profile-avatar-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: rgba(255,255,255,.9);
}
.profile-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: #22c55e;
    border: 2.5px solid #0d0d0d;
    border-radius: 50%;
}
.order-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(220,38,38,.08);
    border: 1px solid rgba(220,38,38,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: rgba(220,38,38,.6);
    flex-shrink: 0;
}

/* ── Order detail service-aware ─────────────────────────────── */
.order-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border-radius: 10px;
    border: 1px solid #1e1e1e;
    background: #0f0f0f;
    gap: .5rem;
}
.order-preview-placeholder i { font-size: 2.25rem; color: #2a2a2a; }
.order-preview-placeholder span { font-size: .75rem; color: #444; }
.order-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #666;
    font-size: .825rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
    padding: .35rem .75rem;
    border: 1px solid #222;
    border-radius: 8px;
    transition: all .2s;
}
.order-detail-back:hover { color: #f0f0f0; border-color: #333; background: #111; }

/* ═══════════════════════════════════════════════════════════
   LASER ORDERING PAGE
   ═══════════════════════════════════════════════════════════ */
.laser-preview-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1e1e1e;
}
.laser-preview-bg {
    background: #1a1a2e;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: background .3s;
}
.laser-preview-svg {
    width: 100%;
    max-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    --laser-stroke: #ffe066;
}
.laser-preview-svg svg {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    display: block;
}
/* Tint all SVG paths/lines to the laser stroke colour */
.laser-preview-svg svg path,
.laser-preview-svg svg line,
.laser-preview-svg svg polyline,
.laser-preview-svg svg polygon,
.laser-preview-svg svg rect,
.laser-preview-svg svg circle,
.laser-preview-svg svg ellipse {
    stroke: var(--laser-stroke) !important;
    fill: none !important;
    stroke-width: 1.5px !important;
    vector-effect: non-scaling-stroke;
}
.laser-preview-svg svg text {
    fill: var(--laser-stroke) !important;
    stroke: none !important;
}
.laser-preview-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 10px 16px;
    background: #0f0f0f;
    border-top: 1px solid #1e1e1e;
    align-items: center;
}
.board-info-link {
    color: rgba(220,38,38,.65);
    text-decoration: none;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: color .2s;
    cursor: pointer;
}
.board-info-link:hover { color: rgba(220,38,38,.9); }

/* ═══════════════════════════════════════════════════════════
   POLICY & TERMS PAGES
   ═══════════════════════════════════════════════════════════ */
.policy-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .policy-layout { grid-template-columns: 1fr; }
    .policy-toc { display: none; }
}

.policy-toc {
    position: sticky;
    top: 80px;
}

.policy-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.policy-toc-nav a {
    display: block;
    padding: 7px 10px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-radius: 7px;
    transition: color 0.15s, background 0.15s;
}

.policy-toc-nav a:hover {
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.04);
}

.policy-content .section-block {
    scroll-margin-top: 80px;
}

.policy-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.policy-text:last-child { margin-bottom: 0; }

.policy-list {
    color: #999;
    font-size: 14px;
    line-height: 1.9;
    padding-left: 20px;
    margin-bottom: 16px;
}

.policy-list li { margin-bottom: 4px; }
.policy-list strong { color: #ccc; }

.policy-item-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.policy-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
}

.policy-item > i {
    font-size: 15px;
    color: rgba(255, 66, 66, 0.7);
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.policy-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 3px;
}

.policy-item-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.policy-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(74, 158, 255, 0.06);
    border: 1px solid rgba(74, 158, 255, 0.18);
    font-size: 13px;
    color: #88aacc;
    line-height: 1.6;
    margin-bottom: 16px;
}

.policy-notice i { flex-shrink: 0; margin-top: 2px; }
.policy-notice a { color: rgba(255, 66, 66, 0.8); text-decoration: none; }
.policy-notice a:hover { color: rgba(255, 66, 66, 1); }

.policy-notice-warn {
    background: rgba(212, 168, 71, 0.06);
    border-color: rgba(212, 168, 71, 0.2);
    color: #c4a855;
}

.policy-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.policy-contact-note {
    font-size: 13px;
    color: #555;
}

/* ── Admin Dashboard ──────────────────────────────────────── */
.admin-shell {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* Sidebar */
.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #111;
    border-right: 1px solid #1e1e1e;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px 20px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 66, 66, 0.9);
    border-bottom: 1px solid #1e1e1e;
    margin-bottom: 12px;
}

.admin-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 10px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #777;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.admin-nav-link i { width: 16px; text-align: center; font-size: 13px; }

.admin-nav-link:hover {
    color: #e0e0e0;
    background: rgba(255,255,255,0.05);
}

.admin-nav-link.active {
    color: rgba(255, 66, 66, 0.9);
    background: rgba(255, 66, 66, 0.08);
}

.admin-sidebar-footer {
    padding: 12px 10px 0;
    border-top: 1px solid #1e1e1e;
    margin-top: auto;
}

/* Main area */
.admin-main {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}

.admin-page {
    padding: 32px;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.admin-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0 0 4px;
}

.admin-page-sub {
    font-size: 13px;
    color: #555;
    margin: 0;
}

/* Stat cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.admin-stat-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.admin-stat-icon-revenue  { background: rgba(212, 168, 71, 0.12); color: #c4a855; }
.admin-stat-icon-orders   { background: rgba(66, 153, 225, 0.12); color: #63b3ed; }
.admin-stat-icon-inprogress { background: rgba(255, 165, 0, 0.12); color: #f6ad55; }
.admin-stat-icon-users    { background: rgba(72, 187, 120, 0.12); color: #68d391; }

.admin-stat-body { flex: 1; min-width: 0; }

.admin-stat-label {
    font-size: 12px;
    color: #555;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.admin-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1.2;
}

.admin-stat-sub {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

/* 2-column row */
.admin-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Cards */
.admin-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 20px;
}

.admin-card-full { width: 100%; }

.admin-card-header {
    font-size: 14px;
    font-weight: 600;
    color: #bbb;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-link {
    font-size: 12px;
    color: rgba(255, 66, 66, 0.8);
    text-decoration: none;
    font-weight: 400;
}
.admin-card-link:hover { color: rgba(255, 66, 66, 1); }

/* Status bars */
.admin-status-bars { display: flex; flex-direction: column; gap: 12px; }

.admin-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-status-label {
    width: 90px;
    font-size: 12.5px;
    color: #666;
    flex-shrink: 0;
}

.admin-status-track {
    flex: 1;
    height: 6px;
    background: #1e1e1e;
    border-radius: 99px;
    overflow: hidden;
}

.admin-status-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
    min-width: 4px;
}

.bar-pending    { background: rgba(246, 173, 85, 0.8); }
.bar-inprogress { background: rgba(66, 153, 225, 0.8); }
.bar-completed  { background: rgba(72, 187, 120, 0.8); }
.bar-cancelled  { background: rgba(160, 60, 60, 0.7); }

.admin-status-count { font-size: 13px; color: #666; width: 24px; text-align: right; }

/* Service list */
.admin-service-list { display: flex; flex-direction: column; gap: 12px; }

.admin-service-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-service-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}

.admin-service-name { flex: 1; font-size: 13.5px; color: #bbb; }
.admin-service-count { font-size: 15px; font-weight: 600; color: #e0e0e0; }

/* Table */
.admin-table-wrap { overflow-x: auto; }

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

.admin-table th {
    text-align: left;
    padding: 0 12px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
    border-bottom: 1px solid #1e1e1e;
}

.admin-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #161616;
    color: #bbb;
    vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.admin-table-id a {
    color: rgba(255, 66, 66, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-family: monospace;
}

.admin-table-id a:hover { color: rgba(255, 66, 66, 1); }

.admin-table-name {
    color: #ddd;
    font-weight: 500;
    text-decoration: none;
}

a.admin-table-name:hover { color: rgba(255, 66, 66, 0.9); }

.admin-table-email { font-size: 12px; color: #555; }

.admin-table-time { font-size: 12px; color: #555; }

.admin-table-empty {
    text-align: center;
    color: #444;
    padding: 32px !important;
    font-size: 13px;
}

/* Badges */
.admin-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 500;
}

.admin-badge-pending    { background: rgba(246, 173, 85, 0.12); color: #f6ad55; }
.admin-badge-inprogress { background: rgba(66, 153, 225, 0.12); color: #63b3ed; }
.admin-badge-completed  { background: rgba(72, 187, 120, 0.12); color: #68d391; }
.admin-badge-cancelled  { background: rgba(160, 60, 60, 0.12);  color: #fc8181; }

/* Responsive */
@media (max-width: 1024px) {
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .admin-row-2 { grid-template-columns: 1fr; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-page { padding: 20px; }
}

/* ── Admin — Filters ──────────────────────────────────────── */
.admin-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 52px;
    flex-shrink: 0;
}

.admin-filter-btn {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 500;
    color: #666;
    background: #111;
    border: 1px solid #222;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.admin-filter-btn:hover { color: #ccc; border-color: #333; }

.admin-filter-btn.active {
    color: rgba(255, 66, 66, 0.9);
    background: rgba(255, 66, 66, 0.08);
    border-color: rgba(255, 66, 66, 0.25);
}

/* ── Admin — Progress ─────────────────────────────────────── */
.admin-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-progress-bar {
    width: 80px;
    height: 5px;
    background: #1e1e1e;
    border-radius: 99px;
    overflow: hidden;
    flex-shrink: 0;
}

.admin-progress-fill {
    height: 100%;
    background: rgba(255, 66, 66, 0.7);
    border-radius: 99px;
}

.admin-progress-pct { font-size: 11.5px; color: #555; }

/* ── Admin — Pagination ───────────────────────────────────── */
.admin-pagination {
    display: flex;
    gap: 4px;
    align-items: center;
}

.admin-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 13px;
    color: #666;
    background: #111;
    border: 1px solid #1e1e1e;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.admin-page-btn:hover { color: #e0e0e0; background: #1a1a1a; }

.admin-page-btn.active {
    color: rgba(255, 66, 66, 0.9);
    background: rgba(255, 66, 66, 0.08);
    border-color: rgba(255, 66, 66, 0.25);
}

/* ── Admin — Row action ───────────────────────────────────── */
.admin-row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.admin-row-action:hover { color: #e0e0e0; background: rgba(255,255,255,0.06); }

/* ── Admin — Info list ────────────────────────────────────── */
.admin-info-list { display: flex; flex-direction: column; gap: 0; }

.admin-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #161616;
    font-size: 13.5px;
}

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

.admin-info-row span { color: #555; flex-shrink: 0; }

.admin-info-row strong { color: #ddd; font-weight: 500; text-align: right; word-break: break-word; }

/* ── Admin — Breadcrumb ───────────────────────────────────── */
.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

.admin-breadcrumb a { color: rgba(255, 66, 66, 0.7); text-decoration: none; }
.admin-breadcrumb a:hover { color: rgba(255, 66, 66, 1); }
.admin-breadcrumb i { font-size: 9px; }

/* ── Admin — File list ────────────────────────────────────── */
.admin-file-list { display: flex; flex-direction: column; gap: 4px; }

.admin-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #161616;
}

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

.admin-file-icon { color: #555; font-size: 14px; flex-shrink: 0; }

.admin-file-name { flex: 1; font-size: 13px; color: #bbb; word-break: break-all; }

.admin-file-dl {
    color: #555;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 5px;
    transition: color 0.15s, background 0.15s;
}

.admin-file-dl:hover { color: #e0e0e0; background: rgba(255,255,255,0.06); }

/* ── Admin — Edit controls ────────────────────────────────── */
.admin-order-edit { display: flex; flex-direction: column; gap: 16px; }

.admin-edit-grid { display: flex; flex-direction: column; gap: 20px; }

.admin-edit-field { display: flex; flex-direction: column; gap: 8px; }

.admin-edit-label { font-size: 12px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.4px; }

.admin-status-btns { display: flex; gap: 6px; flex-wrap: wrap; }

.admin-status-pick {
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 500;
    color: #666;
    background: #111;
    border: 1px solid #222;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.admin-status-pick:hover { color: #ccc; border-color: #333; }

.admin-status-pick.active {
    color: rgba(255, 66, 66, 0.9);
    background: rgba(255, 66, 66, 0.08);
    border-color: rgba(255, 66, 66, 0.3);
}

.admin-range {
    width: 100%;
    accent-color: rgba(255, 66, 66, 0.8);
    cursor: pointer;
}

.admin-input-row { display: flex; gap: 8px; align-items: center; }

.admin-input {
    flex: 1;
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 8px 12px;
    color: #e0e0e0;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.15s;
}

.admin-input:focus { border-color: rgba(255, 66, 66, 0.4); }

.admin-select {
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 7px;
    padding: 6px 10px;
    color: #e0e0e0;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.admin-save-btn {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 66, 66, 0.9);
    background: rgba(255, 66, 66, 0.08);
    border: 1px solid rgba(255, 66, 66, 0.2);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.admin-save-btn:hover { background: rgba(255, 66, 66, 0.14); }
.admin-save-btn:disabled { opacity: 0.4; cursor: default; }

.admin-process-list { display: flex; flex-direction: column; gap: 8px; }

.admin-process-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-process-label { width: 140px; flex-shrink: 0; font-size: 13px; color: #bbb; }

/* ── Admin — Save toast ───────────────────────────────────── */
.admin-save-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(72, 187, 120, 0.12);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #68d391;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Admin — Queue count badge ────────────────────────────── */
.admin-queue-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 99px;
    background: rgba(255,255,255,0.06);
    font-size: 11px;
    font-weight: 600;
    color: #888;
}

/* ── Admin — Search ───────────────────────────────────────── */
.admin-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-search-wrap {
    position: relative;
    flex: 1;
    max-width: 360px;
}

.admin-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 12px;
    pointer-events: none;
}

.admin-search-input {
    width: 100%;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    padding: 8px 12px 8px 34px;
    color: #e0e0e0;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.15s;
}

.admin-search-input:focus { border-color: rgba(255, 66, 66, 0.35); }

/* ── Admin — Empty state ──────────────────────────────────── */
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    gap: 12px;
    text-align: center;
}

.admin-empty-icon { font-size: 36px; color: #333; }

.admin-empty-title { font-size: 15px; font-weight: 600; color: #555; }

.admin-empty-sub { font-size: 13px; color: #444; line-height: 1.6; }

.admin-empty-sub code {
    background: #1a1a1a;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 12px;
    color: #888;
}

/* ── Checkout Wizard ──────────────────────────────────────── */
.co-wrap {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px 60px;
}

.co-container {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Stepper */
.co-stepper {
    display: flex;
    align-items: center;
    gap: 0;
}

.co-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.co-step-item:last-child { flex: 0; }

.co-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    color: #555;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.co-step-item.active .co-step-circle {
    background: rgba(255, 66, 66, 0.12);
    border-color: rgba(255, 66, 66, 0.6);
    color: rgba(255, 66, 66, 0.9);
}

.co-step-item.done .co-step-circle {
    background: rgba(72, 187, 120, 0.12);
    border-color: rgba(72, 187, 120, 0.5);
    color: #68d391;
}

.co-step-label {
    font-size: 12.5px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
    transition: color 0.2s;
}

.co-step-item.active .co-step-label { color: #ccc; }
.co-step-item.done .co-step-label   { color: #68d391; }

.co-step-line {
    flex: 1;
    height: 1px;
    background: #222;
    margin: 0 10px;
}

/* Step content card */
.co-step {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.co-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0;
}

.co-step-sub {
    font-size: 13px;
    color: #555;
    margin: -12px 0 0;
}

/* Order items list (step 1) */
.co-items { display: flex; flex-direction: column; gap: 8px; }

.co-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #0d0d0d;
    user-select: none;
}

.co-item.selected {
    border-color: rgba(255, 66, 66, 0.3);
    background: rgba(255, 66, 66, 0.04);
}

.co-item-check { width: 16px; height: 16px; accent-color: rgba(255, 66, 66, 0.8); cursor: pointer; flex-shrink: 0; }

.co-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    flex-shrink: 0;
}

.co-item-body { flex: 1; min-width: 0; }
.co-item-name { font-size: 14px; font-weight: 600; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-service { font-size: 12px; color: #555; margin-top: 2px; }
.co-item-meta { font-size: 11.5px; color: #444; margin-top: 4px; }

.co-item-right { text-align: right; flex-shrink: 0; }
.co-item-price { font-size: 15px; font-weight: 700; color: #e0e0e0; }
.co-item-lead { font-size: 11.5px; color: #555; margin-top: 3px; }

/* Summary bar */
.co-summary-bar {
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.co-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: #888;
}

.co-summary-line strong { color: #ddd; }

.co-summary-total {
    font-size: 15px;
    font-weight: 600;
    color: #e0e0e0;
    border-top: 1px solid #1e1e1e;
    padding-top: 8px;
    margin-top: 2px;
}

.co-summary-total strong { color: #fff; font-size: 17px; }

/* Actions row */
.co-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.co-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: 1px solid #222;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
}

.co-btn-back:hover { color: #ccc; border-color: #444; }

.co-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 66, 66, 0.85);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.co-btn-next:hover  { background: rgba(255, 66, 66, 1); }
.co-btn-next:disabled { opacity: 0.4; cursor: default; }

.co-btn-pay {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 66, 66, 0.9);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.co-btn-pay:hover   { background: rgba(255, 66, 66, 1); }
.co-btn-pay:disabled { opacity: 0.5; cursor: default; }

/* Shipping addresses */
.co-addr-list { display: flex; flex-direction: column; gap: 10px; }

.co-addr-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    cursor: pointer;
    background: #0d0d0d;
    transition: border-color 0.15s;
}

.co-addr-card.selected {
    border-color: rgba(255, 66, 66, 0.35);
    background: rgba(255, 66, 66, 0.04);
}

.co-addr-radio { padding-top: 2px; flex-shrink: 0; }

.co-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #333;
    transition: border-color 0.15s;
    position: relative;
}

.co-radio-dot.active {
    border-color: rgba(255, 66, 66, 0.7);
}

.co-radio-dot.active::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 66, 66, 0.85);
}

.co-addr-body { flex: 1; min-width: 0; }

.co-addr-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.co-addr-name { font-size: 14px; font-weight: 600; color: #ddd; }

.co-addr-label {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 11px;
    background: rgba(255,255,255,0.05);
    color: #888;
    border: 1px solid #222;
}

.co-addr-default {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 11px;
    background: rgba(72, 187, 120, 0.1);
    color: #68d391;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.co-addr-phone,
.co-addr-address {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.co-addr-phone i, .co-addr-address i { font-size: 11px; margin-top: 2px; flex-shrink: 0; color: #444; }

.co-addr-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.co-addr-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #555;
    background: transparent;
    border: 1px solid #222;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.co-addr-btn:hover { color: #ccc; border-color: #444; background: rgba(255,255,255,0.04); }
.co-addr-btn-del:hover { color: #fc8181; border-color: rgba(252, 129, 129, 0.3); }

/* Add address button */
.co-add-addr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 66, 66, 0.8);
    background: rgba(255, 66, 66, 0.06);
    border: 1px dashed rgba(255, 66, 66, 0.25);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    width: 100%;
    justify-content: center;
}

.co-add-addr-btn:hover {
    background: rgba(255, 66, 66, 0.1);
    border-color: rgba(255, 66, 66, 0.4);
}

/* Address form */
.co-addr-form {
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.co-addr-form-title {
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.co-addr-form-close {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
}

.co-addr-form-close:hover { color: #ccc; }

.co-form-row { display: flex; flex-direction: column; gap: 5px; }

.co-form-label { font-size: 12px; font-weight: 500; color: #666; text-transform: uppercase; letter-spacing: 0.4px; }

.co-form-input {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 9px 13px;
    color: #e0e0e0;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
    box-sizing: border-box;
}

.co-form-input:focus { border-color: rgba(255, 66, 66, 0.4); }

.co-form-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.co-form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    cursor: pointer;
}

.co-form-check input { accent-color: rgba(255, 66, 66, 0.8); }

.co-form-actions { display: flex; justify-content: flex-end; }

.co-form-err {
    background: rgba(252, 129, 129, 0.08);
    border: 1px solid rgba(252, 129, 129, 0.2);
    color: #fc8181;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
}

/* Review section (step 3) */
.co-review-section {
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-review-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
}

.co-review-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.co-review-icon { font-size: 14px; color: #555; width: 20px; text-align: center; flex-shrink: 0; }

.co-review-item-body { flex: 1; min-width: 0; }
.co-review-item-name { font-size: 13.5px; color: #ddd; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-review-item-svc  { font-size: 12px; color: #555; margin-top: 2px; }

.co-review-price { font-size: 14px; font-weight: 600; color: #e0e0e0; flex-shrink: 0; }

.co-review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e1e1e;
    padding-top: 10px;
    font-size: 14px;
    color: #888;
}

.co-review-total strong { font-size: 17px; font-weight: 700; color: #fff; }

.co-review-addr { display: flex; flex-direction: column; gap: 6px; }

/* Secure note */
.co-secure-note {
    font-size: 12px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.co-pay-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-pay-badges span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #222;
    font-size: 11px;
    color: #666;
}

@media (max-width: 540px) {
    .co-step-label { display: none; }
    .co-step { padding: 20px 16px; }
    .co-btn-next, .co-btn-pay { font-size: 13px; padding: 10px 16px; }
}

/* ── Admin Settings ──────────────────────────────────────── */
.settings-card { padding: 0; overflow: hidden; }
.settings-section { padding: 24px 24px 0; }
.settings-section-title {
  font-size: 15px; font-weight: 600; color: #e0e0e0;
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.settings-section-title i { color: rgba(255,66,66,0.85); }
.settings-group-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: #888; margin: 0 0 10px;
}
.settings-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.settings-field { display: flex; flex-direction: column; gap: 5px; min-width: 140px; flex: 1; }
.settings-label { font-size: 12px; color: #aaa; }
.settings-input {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; color: #e0e0e0; padding: 8px 10px;
  font-size: 14px; width: 100%; outline: none; transition: border-color .2s;
}
.settings-input:focus { border-color: rgba(255,66,66,0.5); }
.settings-save-row {
  display: flex; justify-content: flex-end;
  padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.settings-save-btn {
  background: rgba(255,66,66,0.85); color: #fff; border: none;
  border-radius: 7px; padding: 9px 20px; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 7px; transition: opacity .2s;
}
.settings-save-btn:hover:not(:disabled) { opacity: .85; }
.settings-save-btn:disabled { opacity: .5; cursor: not-allowed; }
.settings-toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: #1e2e1e; border: 1px solid #3a5a3a; color: #a3d9a3;
  border-radius: 8px; padding: 12px 18px; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.4);
  animation: toastIn .2s ease;
}
.settings-toast-error { background: #2e1e1e; border-color: #5a3a3a; color: #d9a3a3; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── PrusaSlicer Config Editor ──────────────────────────── */
.settings-hint {
  font-size: 12px; color: #888; margin: -8px 0 14px; line-height: 1.5;
}
.settings-hint code {
  background: rgba(255,255,255,0.08); padding: 1px 5px; border-radius: 3px;
  font-family: monospace; font-size: 11px; color: #ccc;
}
.prusa-tabs { display: flex; gap: 4px; margin-bottom: 0; }
.prusa-tab {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none; border-radius: 6px 6px 0 0; color: #aaa;
  padding: 7px 18px; font-size: 12px; font-weight: 600; cursor: pointer;
  letter-spacing: .04em; transition: background .15s, color .15s;
}
.prusa-tab:hover { background: rgba(255,255,255,0.09); color: #e0e0e0; }
.prusa-tab.active { background: rgba(255,255,255,0.1); color: #e0e0e0; border-color: rgba(255,255,255,0.15); }
.prusa-editor {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 0 6px 6px 6px;
  overflow: hidden; margin-bottom: 8px;
}
.prusa-editor-toolbar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.prusa-editor-label {
  font-size: 12px; color: #aaa; display: flex; align-items: center; gap: 6px; flex: 1;
}
.prusa-editor-label i { color: rgba(255,66,66,0.7); }
.prusa-upload-btn {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px; color: #ccc; padding: 5px 12px; font-size: 12px;
  cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .15s;
}
.prusa-upload-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.prusa-textarea {
  width: 100%; background: #111418; color: #c8d0da;
  border: none; outline: none; resize: vertical;
  font-family: 'Courier New', Consolas, monospace; font-size: 12.5px;
  line-height: 1.6; padding: 14px 16px; display: block; min-height: 220px;
}
.settings-toggles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 20px; margin-top: 4px;
}
.settings-toggle-list { display: flex; flex-direction: column; gap: 8px; }
.settings-toggle-item {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
}
.settings-toggle-switch {
  display: inline-flex; align-items: center;
  width: 36px; height: 20px; border-radius: 10px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
  position: relative; cursor: pointer; flex-shrink: 0;
  transition: background .2s, border-color .2s;
  outline: none;
}
.settings-toggle-switch.active {
  background: rgba(255,66,66,0.75); border-color: rgba(255,66,66,0.6);
}
.settings-toggle-switch:focus-visible { box-shadow: 0 0 0 2px rgba(255,66,66,0.4); }
.settings-toggle-knob {
  position: absolute; left: 2px; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #888; transition: transform .2s, background .2s;
}
.settings-toggle-switch.active .settings-toggle-knob {
  transform: translateX(16px); background: #fff;
}
.settings-toggle-label { font-size: 13px; color: #ccc; }

/* ── Skeleton loading ─────────────────────────────────────────────── */
@keyframes skel-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.skel {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 800px 100%;
  animation: skel-shimmer 1.4s infinite linear;
  border-radius: 6px;
}
.skel-line { height: 14px; border-radius: 4px; }
