.ewd-search{max-width:720px;margin:0 auto 30px}
.ewd-search .ewd-title{margin:0 0 6px;text-align:center}
.ewd-search .ewd-desc{text-align:center;color:#666;margin-bottom:16px}
.ewd-form{display:flex;gap:8px;flex-wrap:wrap;position:relative}
.ewd-form input[type=text]{flex:1 1 240px;min-width:0;margin:0;height:2.6em}
.ewd-form .ewd-btn{margin:0;flex:0 0 auto}
.ewd-results{margin-top:18px}
.ewd-loading,.ewd-empty{text-align:center;color:#555;padding:14px;background:#f7f7f7;border-radius:6px}
.ewd-empty{background:#fff4f4;color:#b42318}
.ewd-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);margin-bottom:16px;overflow:hidden}
.ewd-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;background:#f9fafb;border-bottom:1px solid #e5e7eb}
.ewd-code{font-weight:700;letter-spacing:.5px}
.ewd-table{width:100%;margin:0;border-collapse:collapse}
.ewd-table th,.ewd-table td{padding:9px 16px;border-bottom:1px solid #f0f0f0;text-align:left;vertical-align:top;font-size:.95em}
.ewd-table tr:last-child th,.ewd-table tr:last-child td{border-bottom:0}
.ewd-table th{width:36%;color:#555;font-weight:600;white-space:nowrap}
.ewd-table ul{margin:0 0 0 1.1em}
.ewd-table li{margin:0}
@media(max-width:480px){.ewd-table th{white-space:normal;width:40%}}

/* Bảng dịch vụ & thời hạn bảo hành từng hạng mục */
.ewd-items-title{padding:12px 16px 6px;font-weight:700;border-top:1px solid #e5e7eb;background:#f9fafb}
.ewd-items-scroll{overflow-x:auto}
.ewd-items{width:100%;margin:0;border-collapse:collapse}
.ewd-items th,.ewd-items td{padding:9px 16px;border-bottom:1px solid #f0f0f0;text-align:left;vertical-align:top;font-size:.93em}
.ewd-items th{background:#f9fafb;color:#555;font-weight:600;white-space:nowrap}
.ewd-items tr:last-child td{border-bottom:0}
.ewd-items small{color:#777}

/* ===== Kiểu dáng dự phòng cho theme không phải Flatsome =====
   Dùng :where() (độ ưu tiên = 0) nên bất kỳ kiểu nút/ô nhập nào của theme
   đều tự động đè lên; chỉ khi theme không định dạng thì mới dùng các kiểu này.
   Đổi màu nút: [ewd_tracuu color="#e11d48"] */
.ewd-search{--ewd-accent:#2563eb}
:where(.ewd-form .ewd-btn){
	display:inline-block;padding:.6em 1.6em;border:0;border-radius:4px;
	background:var(--ewd-accent);color:#fff;font:inherit;font-weight:600;line-height:1.2;
	cursor:pointer;transition:filter .15s
}
:where(.ewd-form .ewd-btn:hover){filter:brightness(1.1)}
:where(.ewd-form .ewd-btn:disabled){opacity:.6;cursor:not-allowed}
:where(.ewd-form input[type=text]){
	padding:.5em .8em;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:inherit;font:inherit
}
:where(.ewd-form input[type=text]:focus){outline:2px solid var(--ewd-accent);outline-offset:0;border-color:transparent}
