/* MyElectric Frontend Styles */

/* ── Spec Table ──────────────────────────────────────────────────────────── */
.me-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.me-spec-table tr:nth-child(even) td { background: #f9f9f9; }
.me-spec-table td { padding: 9px 14px; border: 1px solid #e0e0e0; }
.me-spec-table .me-spec-label { font-weight: 600; color: #555; width: 40%; }
.me-spec-table .me-spec-value { color: #222; }

/* ── Documents Tab ───────────────────────────────────────────────────────── */
.me-doc-list { display: flex; flex-direction: column; gap: 8px; }
.me-doc-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fafafa; text-decoration: none; color: inherit; transition: background .15s; }
.me-doc-item:hover { background: #f0f6ff; border-color: #93c5fd; }
.me-doc-icon { font-size: 26px; color: #1a3d6b; }
.me-doc-meta-wrap { flex: 1; }
.me-doc-name { font-weight: 600; font-size: 14px; color: #222; margin-bottom: 2px; }
.me-doc-meta { font-size: 12px; color: #888; }
.me-doc-dl { margin-left: auto; font-size: 18px; color: #aaa; }

/* ── GST / Shipping Tab ──────────────────────────────────────────────────── */
.me-shipping-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .me-shipping-grid { grid-template-columns: 1fr; } }
.me-ship-card { background: #fafafa; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 18px; }
.me-ship-title { font-size: 14px; font-weight: 700; color: #1a3d6b; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.me-ship-title .dashicons { font-size: 18px; width: 18px; height: 18px; }
.me-ship-card p { font-size: 13px; color: #555; line-height: 1.65; }
.me-gst-table { width: 100%; font-size: 13px; border-collapse: collapse; margin-top: 8px; }
.me-gst-table td { padding: 5px 0; vertical-align: top; }
.me-gst-table td:first-child { color: #888; width: 48%; }
.me-gst-table td:last-child { font-weight: 500; color: #222; }
.me-gst-note { font-size: 11px; color: #2da44e; margin-top: 8px; }

/* ── Compatible Accessories ──────────────────────────────────────────────── */
.me-compat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 768px) { .me-compat-grid { grid-template-columns: repeat(2, 1fr); } }
.me-compat-card { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; display: block; background: #fff; transition: border-color .15s, box-shadow .15s; }
.me-compat-card:hover { border-color: #1a5fb4; box-shadow: 0 2px 8px rgba(26,61,107,.1); }
.me-compat-img { height: 80px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.me-compat-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.me-compat-body { padding: 10px 12px; }
.me-compat-name { font-size: 12px; font-weight: 600; color: #222; line-height: 1.35; margin-bottom: 4px; }
.me-compat-price { font-size: 14px; color: #1a3d6b; font-weight: 700; margin-bottom: 2px; }
.me-compat-sku { font-size: 11px; color: #aaa; }
.me-compat-note { font-size: 11px; color: #2da44e; margin-top: 3px; font-weight: 500; }

/* ── WhatsApp Buttons ────────────────────────────────────────────────────── */
.me-wa-wrap { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.me-wa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: opacity .15s; background: #128c3e; color: #fff; border: none; }
.me-wa-btn:hover { opacity: .9; color: #fff; }
.me-wa-btn--quote { background: #fff; color: #128c3e; border: 2px solid #128c3e; }
.me-wa-btn--quote:hover { background: #f0fdf4; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.me-empty { color: #888; font-style: italic; font-size: 13px; padding: 8px 0; }
