/**
 * wse-quote.css – Merkliste & Anfrageformular
 */

/* ── Wrapper ─────────────────────────────────────────────── */
.wse-quote-wrap {
    max-width: 860px;
    margin: 0 auto;
}

/* ── Merklisten-Tabelle ──────────────────────────────────── */
.wse-merkliste {
    margin-bottom: 2.5rem;
}

.wse-merkliste h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.wse-merkliste-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.wse-merkliste-table th,
.wse-merkliste-table td {
    padding: .5rem .75rem;
    border: 1px solid #e2e6ea;
    text-align: left;
    vertical-align: top;
}

.wse-merkliste-table th {
    background: #f4f6f8;
    font-weight: 600;
    color: #444;
}

.wse-merkliste-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.wse-variation-detail {
    font-size: .85rem;
    color: #666;
    border-top: none !important;
}

.wse-merkliste-edit {
    margin-top: .75rem;
    font-size: .875rem;
}

.wse-merkliste-edit a {
    color: var(--color-primary, #0071a1);
    text-decoration: none;
}

.wse-merkliste-edit a:hover {
    text-decoration: underline;
}

/* ── Formular ────────────────────────────────────────────── */
.wse-form-wrap {
    background: #f8f9fa;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 2rem 2.5rem;
}

.wse-form-wrap h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 .4rem 0;
}

.wse-intro {
    color: #555;
    font-size: .95rem;
    margin: 0 0 1.5rem 0;
}

.wse-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.wse-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.wse-field--full {
    grid-column: 1 / -1;
}

.wse-field label {
    font-size: .875rem;
    font-weight: 600;
    color: #333;
}

.wse-required { color: #c0392b; font-weight: 700; }
.wse-optional { font-weight: 400; color: #888; font-size: .8rem; }

.wse-field input,
.wse-field textarea {
    padding: .55rem .75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: .95rem;
    font-family: inherit;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.wse-field input:focus,
.wse-field textarea:focus {
    border-color: var(--color-primary, #0071a1);
    box-shadow: 0 0 0 3px rgba(0,113,161,.12);
    outline: none;
}

.wse-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* ── Submit ──────────────────────────────────────────────── */
.wse-submit-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.wse-submit-row .button {
    padding: .65rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--color-primary, #0071a1) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s ease;
}

.wse-submit-row .button:hover {
    background: var(--color-primary-dark, #005a80) !important;
}

.wse-submit-row .button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.wse-required-note {
    font-size: .8rem;
    color: #888;
}

/* ── Notices ─────────────────────────────────────────────── */
.wse-notice {
    padding: .85rem 1.1rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    font-size: .95rem;
    font-weight: 500;
}

.wse-notice--success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    text-align: center;
    border-radius: 8px;
}

.wse-notice--error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

.wse-notice--info {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #1565c0;
    display: block !important;
}

.wse-notice--info a {
    display: inline-block;
    margin-top: .75rem;
}

/* ── Responsiv ───────────────────────────────────────────── */
@media ( max-width: 640px ) {
    .wse-form-wrap { padding: 1.25rem; }
    .wse-form-grid { grid-template-columns: 1fr; }
    .wse-field--full { grid-column: 1; }
    .wse-submit-row { flex-direction: column; align-items: flex-start; }
    .wse-submit-row .button { width: 100%; text-align: center; }
}

/* ── Warenkorb-Seite: Anfrage-Button ─────────────────────── */
.wse-btn-anfrage {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: .75rem;
    background: var(--color-primary, #0071a1) !important;
    color: #fff !important;
    border-radius: 4px;
    padding: .65rem 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease;
}

.wse-btn-anfrage:hover {
    background: var(--color-primary-dark, #005a80) !important;
    color: #fff !important;
}

/* ── Warenkorb-Seite: Preise + Summen ausblenden ─────────── */

/* Preis-Spalte in der Produkttabelle */
.woocommerce-cart .woocommerce-cart-form .product-price,
.woocommerce-cart .woocommerce-cart-form .product-subtotal {
    display: none !important;
}

/* Spaltenüberschriften Preis / Zwischensumme */
.woocommerce-cart .woocommerce-cart-form th.product-price,
.woocommerce-cart .woocommerce-cart-form th.product-subtotal {
    display: none !important;
}

/* Kompletter Summen-Block (Cart Totals) */
.woocommerce-cart .cart_totals,
.woocommerce-cart .wc-proceed-to-checkout {
    display: none !important;
}

/* Coupon-Block */
.woocommerce-cart .coupon,
.woocommerce-cart .cart-collaterals {
    display: none !important;
}
