:root {
    --psc-primary: #000000;
    --psc-secondary: #f4f4f4;
    --psc-text: #333;
    --psc-border: #e0e0e0;
    --psc-success: #27ae60;
    --psc-error: #e74c3c;
    --psc-radius: 12px;
    --psc-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.psc-pos-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--psc-text);
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.psc-pos-main-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.psc-pos-col {
    background: #fff;
    border-radius: var(--psc-radius);
    padding: 25px;
    box-shadow: var(--psc-shadow);
    border: 1px solid var(--psc-border);
}

/* Search Header */
.psc-pos-search-header {
    margin-bottom: 25px;
}

.psc-pos-search-box input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: 1px solid var(--psc-border);
    background: var(--psc-secondary);
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.psc-pos-search-box input:focus {
    border-color: var(--psc-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.psc-pos-filter-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-weight: 500;
}

.psc-pos-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

/* Product List */
.psc-pos-product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.psc-pos-product-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--psc-border);
    border-radius: var(--psc-radius);
    transition: all 0.2s;
}

.psc-pos-product-card:hover {
    border-color: var(--psc-primary);
}

.psc-pos-product-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    background: #f9f9f9;
}

.psc-pos-product-info {
    flex: 1;
}

.psc-pos-product-name {
    font-weight: 700;
    margin: 0;
    font-size: 15px;
}

.psc-pos-product-meta {
    font-size: 13px;
    color: #888;
}

.psc-pos-product-price-box {
    text-align: right;
    margin: 0 20px;
}

.psc-pos-old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 12px;
    display: block;
}

.psc-pos-current-price {
    color: #d00;
    font-weight: 800;
    font-size: 18px;
}

.psc-pos-action-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psc-pos-qty-control {
    display: flex;
    align-items: center;
    background: var(--psc-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.psc-pos-qty-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psc-pos-qty-input {
    width: 40px;
    border: none;
    background: none;
    text-align: center;
    font-weight: 700;
    pointer-events: none;
}

.psc-pos-add-to-cart {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.psc-pos-stock-status {
    font-size: 11px;
    text-align: center;
    margin-top: 4px;
    color: var(--psc-success);
    font-weight: 600;
}

/* Load More Button */
.psc-pos-btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.psc-pos-btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* Right Column: Checkout */
.psc-pos-step-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 700;
}

.psc-pos-cart-header {
    display: grid;
    grid-template-columns: 1fr 60px 80px 30px;
    border-bottom: 2px solid var(--psc-secondary);
    padding-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.psc-pos-cart-item {
    display: grid;
    grid-template-columns: 1fr 60px 80px 30px;
    padding: 15px 0;
    border-bottom: 1px solid var(--psc-secondary);
    font-size: 14px;
    align-items: center;
}

.psc-pos-remove-item {
    cursor: pointer;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.psc-pos-remove-item:hover {
    color: var(--psc-error);
}

.psc-pos-summary-box {
    margin-top: 30px;
    background: var(--psc-secondary);
    border-radius: var(--psc-radius);
    padding: 20px;
}

.psc-pos-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.psc-pos-summary-row select,
.psc-pos-summary-row input {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--psc-border);
    background: #fff;
    font-size: 14px;
}

.psc-pos-final-amount {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    font-size: 22px;
    font-weight: 800;
}

.psc-pos-btn-primary {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.1s;
}

.psc-pos-btn-primary:active {
    transform: scale(0.98);
}

/* Form Styles */
.psc-pos-form-group {
    margin-bottom: 15px;
}

.psc-pos-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.psc-pos-input-with-icon i,
.psc-pos-input-with-icon svg {
    position: absolute;
    left: 15px;
    color: #888;
}

.psc-pos-input-with-icon input,
.psc-pos-input-with-icon textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--psc-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

/* Success View */
.psc-pos-success-card {
    text-align: center;
    padding: 20px;
}

.psc-pos-success-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 5px solid var(--psc-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--psc-success);
}

.psc-pos-order-id-badge {
    border: 2px dashed var(--psc-success);
    border-radius: 8px;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--psc-success);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 25px;
}

@media (max-width: 900px) {
    .psc-pos-main-grid {
        grid-template-columns: 1fr;
    }
}