/* ── Honeypot field — invisible to humans, not display:none (bots ignore that) ── */
.wcqs-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ─────────────────────────────────────────
   WC Quote System — Frontend Styles
───────────────────────────────────────── */

.wcqs-wrap {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.wcqs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.wcqs-title {
    font-size: 28px;
    margin: 0 0 8px;
}

.wcqs-subtitle {
    color: #666;
    margin: 0 0 36px;
    font-size: 15px;
}

/* Layout */
.wcqs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .wcqs-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ── Cart Summary ── */
.wcqs-cart-summary h2,
.wcqs-form-wrap h2 {
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

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

.wcqs-cart-table th {
    text-align: left;
    padding: 8px 10px;
    background: #f7f7f7;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
}

.wcqs-cart-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.wcqs-product-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wcqs-product-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.wcqs-product-sku {
    color: #999;
    font-size: 13px;
}

.wcqs-product-qty {
    font-weight: 600;
    text-align: center;
}

.wcqs-edit-cart {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.wcqs-edit-cart:hover {
    color: #333;
    border-color: #333;
}

/* ── Form ── */
.wcqs-field {
    margin-bottom: 18px;
}

.wcqs-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.wcqs-field .required {
    color: #e00;
}

.wcqs-field input,
.wcqs-field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}

.wcqs-field input:focus,
.wcqs-field textarea:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

.wcqs-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* ── Submit Button ── */
.wcqs-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: #C92032;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s;
    font-family: inherit;
}

.wcqs-btn:hover:not(:disabled) {
    background: #2d2d4e;
}

.wcqs-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ── Notices ── */
.wcqs-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
    font-size: 14px;
}

.wcqs-notice--error {
    background: #fff0f0;
    border: 1px solid #f5c6c6;
    color: #c00;
}

.wcqs-notice--success {
    background: #f0fff4;
    border: 1px solid #b2dfcc;
    color: #2e7d52;
}

/* ── Confirmation page ── */
.wcqs-confirmation {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.wcqs-confirmation__icon {
    width: 64px;
    height: 64px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    line-height: 64px;
    margin: 0 auto 24px;
}

.wcqs-confirmation h2 {
    font-size: 26px;
    margin: 0 0 12px;
}

.wcqs-confirmation p {
    color: #555;
    font-size: 15px;
    margin: 0 0 12px;
    line-height: 1.6;
}

.wcqs-confirmation .button {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 28px;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}
