/* ─── NO1 QUOTE ENQUIRY — FRONTEND STYLES ─── */

.n1qe-hidden { display: none !important; }

/* ── PRODUCT PAGE BUTTON WRAP ── */
.n1qe-wrap { margin-top: 12px; }

/* ── QUOTE PAGE LAYOUT ── */
.n1qe-quote-page { max-width: 1100px; margin: 0 auto; padding: 20px 0; }

.n1qe-quote-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

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

/* ── SECTION TITLES ── */
.n1qe-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    color: #1a1a1a;
}

/* ── CART ITEMS ── */
#n1qe-cart-items { display: flex; flex-direction: column; gap: 14px; }

.n1qe-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 14px;
    position: relative;
    transition: border-color 0.2s;
}
.n1qe-cart-item:hover { border-color: #ccc; }

.n1qe-item-img { flex-shrink: 0; }
.n1qe-item-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }

.n1qe-item-details { flex: 1; }
.n1qe-item-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}
.n1qe-item-name:hover { text-decoration: underline; }

/* ── QTY CONTROLS ── */
.n1qe-qty-wrap { display: flex; align-items: center; gap: 6px; }

.n1qe-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.n1qe-qty-btn:hover { background: #e0e0e0; }

.n1qe-qty-input {
    width: 52px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    -moz-appearance: textfield;
}
.n1qe-qty-input::-webkit-outer-spin-button,
.n1qe-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── REMOVE BUTTON ── */
.n1qe-remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}
.n1qe-remove-btn:hover { color: #e00; background: #fff0f0; }

/* ── CLEAR ALL BUTTON ── */
.n1qe-clear-btn {
    margin-top: 16px;
    background: none;
    border: 1px solid #ddd;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 4px;
    transition: all 0.15s;
}
.n1qe-clear-btn:hover { background: #fff0f0; border-color: #e00; color: #e00; }

/* ── ENQUIRY FORM ── */
.n1qe-form-wrap {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.n1qe-field { margin-bottom: 16px; }

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

.n1qe-field input,
.n1qe-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-family: inherit;
}
.n1qe-field input:focus,
.n1qe-field textarea:focus {
    border-color: #7e2491;
    outline: none;
    background: #fff;
}
.n1qe-field textarea { resize: vertical; min-height: 90px; }

.n1qe-submit-btn { width: 100%; margin-top: 4px; justify-content: center; }

.n1qe-privacy-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 12px;
}

/* ── MESSAGES ── */
.n1qe-success-msg {
    background: #f0fff4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center;
}
.n1qe-error-msg {
    background: #fff0f0;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ── EMPTY CART STATE ── */
.n1qe-empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 2px dashed #e8e8e8;
    border-radius: 12px;
}
.n1qe-empty-icon { font-size: 56px; margin-bottom: 12px; }
.n1qe-empty-cart h3 { font-size: 22px; color: #333; margin-bottom: 8px; }
.n1qe-empty-cart p { color: #666; margin-bottom: 20px; }

/* ── MENU BADGE ── */
.n1qe-count-badge {
    background: #7e2491;
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
}

/* ── LOADING STATE ── */
.n1qe-btn.loading { opacity: 0.7; pointer-events: none; }
