.baffco-form { display: grid; gap: 18px; }
.baffco-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.baffco-form label { display: grid; gap: 7px; font-weight: 700; }
.baffco-form label > span { font-size: 13px; }
.baffco-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.baffco-selected-product { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px; border: 1px solid var(--line, #dbe3e7); border-radius: 6px; background: #f4f7f8; }
.baffco-selected-product small { direction: ltr; }
.baffco-consent { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.baffco-consent input { width: 18px; height: 18px; accent-color: #38e977; }
.baffco-file-picker { position: relative; min-height: 50px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; padding: 6px; border: 1px dashed #9dafba; border-radius: 6px; background: #f8fafb; font-weight: 500; }
.baffco-file-picker:focus-within { border-color: #38e977; box-shadow: 0 0 0 3px rgba(98,253,146,.18); }
.baffco-file-picker input { position: absolute; width: 1px !important; height: 1px; padding: 0 !important; opacity: 0; }
.baffco-file-picker__button { min-height: 38px; display: inline-flex; align-items: center; padding: 7px 15px; color: #061827; background: #62fd92; border-radius: 5px; font-weight: 800; }
.baffco-file-picker__name { min-width: 0; overflow: hidden; color: #62717f; text-overflow: ellipsis; white-space: nowrap; }
.baffco-alert { margin-bottom: 20px; padding: 16px; border-radius: 6px; background: #edf3f6; }
.baffco-alert--success { border: 1px solid #38e977; background: #e9fff0; }
.baffco-alert--error { border: 1px solid #d92d20; background: #fff1f0; }
.baffco-rfq-button { margin-inline-start: 8px !important; color: #061827 !important; background: #62fd92 !important; }
.baffco-specs dl, .baffco-specs__list { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dbe3e7; border-radius: 6px; overflow: hidden; }
.baffco-specs dl > div, .baffco-specs__list > div { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; border-bottom: 1px solid #dbe3e7; }
.baffco-specs dt { color: #62717f; }
.baffco-specs dd { margin: 0; font-weight: 700; }
.baffco-lead-time { padding: 10px 12px; border-right: 3px solid #62fd92; background: #f4f7f8; }
.baffco-assistant { overflow: hidden; border: 1px solid #dbe3e7; border-radius: 10px; background: #fff; }
.baffco-assistant > header { display: flex; align-items: center; gap: 14px; padding: 20px; color: #fff; background: #061827; }
.baffco-assistant > header h2, .baffco-assistant > header p { margin: 0; }
.baffco-assistant > header p { color: #b9c8d1; font-size: 12px; }
.baffco-assistant__mark { width: 48px; height: 48px; display: grid; place-items: center; color: #061827; background: #62fd92; border-radius: 50%; font: 900 16px Inter,sans-serif; }
.baffco-assistant__messages { min-height: 260px; max-height: min(50vh,420px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #f4f7f8; }
.baffco-assistant__messages article { max-width: 82%; padding: 12px 15px; border: 1px solid #dbe3e7; border-radius: 10px; background: #fff; }
.baffco-assistant__messages article.is-user { align-self: flex-end; color: #061827; background: #d9ffe5; border-color: #62fd92; }
.baffco-assistant__messages article.is-error { color: #b42318; border-color: #fda29b; }
.baffco-assistant__messages p { margin: 0; }
.baffco-assistant__suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.baffco-assistant__suggestions button { min-height: 40px; padding: 8px 12px; color: #17364a; background: #fff; border: 1px solid #c8d4da; border-radius: 999px; font-size: 12px; font-weight: 700; }
.baffco-assistant__suggestions button:hover, .baffco-assistant__suggestions button:focus-visible { border-color: #38e977; background: #effff4; }
.baffco-assistant > form { display: grid; gap: 10px; padding: 16px; }
.baffco-assistant > form textarea { width: 100%; resize: vertical; }
.baffco-assistant__file { display: grid; gap: 6px; padding: 12px; border: 1px dashed #b7c6ce; border-radius: 8px; background: #f8fafb; }
.baffco-assistant__file span { color: #17364a; font-weight: 800; }
.baffco-assistant__file input { width: 100%; }
.baffco-assistant > form > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.baffco-assistant > form small { color: #62717f; }
.baffco-assistant__products { display: grid; gap: 6px; margin-top: 12px; }
.baffco-assistant__products a { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; padding: 8px; border: 1px solid #dbe3e7; border-radius: 6px; }
.baffco-assistant__products img { width: 48px; aspect-ratio: 1; object-fit: contain; }
.baffco-assistant__products small { display: block; direction: ltr; color: #62717f; }
.baffco-sales-ai { display: grid; gap: 24px; }
.baffco-sales-ai__hero { position: relative; overflow: hidden; padding: clamp(28px,5vw,64px); color: #fff; background: radial-gradient(circle at 15% 15%,rgba(98,253,146,.22),transparent 34%),#061827; border-radius: 16px; }
.baffco-sales-ai__hero span { display: inline-flex; margin-bottom: 12px; padding: 6px 12px; color: #061827; background: #62fd92; border-radius: 999px; font-size: 12px; font-weight: 900; }
.baffco-sales-ai__hero h2 { margin: 0 0 12px; color: #fff; font-size: clamp(28px,4vw,48px); }
.baffco-sales-ai__hero p { max-width: 760px; margin: 0; color: #d8e3e8; font-size: 16px; line-height: 2; }
.baffco-sales-ai__grid { display: grid; grid-template-columns: minmax(240px,.7fr) minmax(0,1.7fr); gap: 20px; align-items: start; }
.baffco-sales-ai__grid > aside { padding: 24px; border: 1px solid #dbe3e7; border-radius: 12px; background: #fff; }
.baffco-sales-ai__grid > aside h3 { margin-top: 0; }
.baffco-sales-ai__grid > aside ul { display: grid; gap: 10px; padding-inline-start: 20px; }
.baffco-sales-ai__grid > aside p { padding-top: 16px; color: #62717f; border-top: 1px solid #e3e9ec; font-size: 13px; }
.baffco-sales-ai__grid > aside a { display: flex; justify-content: center; padding: 11px 14px; color: #061827; background: #62fd92; border-radius: 6px; font-weight: 850; }
.baffco-quotes table { width: 100%; border-collapse: collapse; }
.baffco-quotes th, .baffco-quotes td { padding: 12px; text-align: right; border-bottom: 1px solid #dbe3e7; }
.baffco-empty { padding: 30px; border: 1px dashed #aab9c2; text-align: center; }
.baffco-comparison { max-width: 100%; overflow-x: auto; border: 1px solid #dbe3e7; border-radius: 8px; background: #fff; overscroll-behavior-inline: contain; }
.baffco-comparison table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; background: #fff; }
.baffco-comparison th, .baffco-comparison td { min-width: 170px; padding: 14px; text-align: center; border: 1px solid #dbe3e7; }
.baffco-comparison tbody th { position: sticky; z-index: 2; inset-inline-start: 0; min-width: 130px; text-align: right; background: #f4f7f8; box-shadow: -1px 0 #dbe3e7; }
.baffco-comparison thead th { vertical-align: top; }
.baffco-comparison thead img { width: 140px; height: 120px; margin: 0 auto 10px; object-fit: contain; }
.baffco-comparison thead a { display: block; font-weight: 800; }
.baffco-comparison thead small { display: block; direction: ltr; color: #62717f; }
.baffco-comparison__actions { position: sticky; z-index: 4; inset-inline-start: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 14px; }
.baffco-comparison__back, .baffco-comparison__clear, .baffco-comparison__remove { min-height: 40px; padding: 8px 14px; border: 1px solid #cbd7dd; border-radius: 6px; font: inherit; font-weight: 750; cursor: pointer; }
.baffco-comparison__back { color: #082133; background: #62fd92; border-color: #62fd92; }
.baffco-comparison__clear, .baffco-comparison__remove { color: #8b2530; background: #fff; border-color: #e6bdc2; }
.baffco-comparison__remove { display: block; min-height: 34px; margin: 10px auto 0; padding: 5px 10px; font-size: 12px; }
.baffco-comparison__back:hover, .baffco-comparison__back:focus-visible { color: #082133; background: #4ae77a; }
.baffco-comparison__clear:hover, .baffco-comparison__clear:focus-visible, .baffco-comparison__remove:hover, .baffco-comparison__remove:focus-visible { background: #fff1f2; }
@media (max-width: 640px) { .baffco-form__grid, .baffco-specs dl, .baffco-specs__list { grid-template-columns: 1fr; } .baffco-assistant > form > div { align-items: stretch; flex-direction: column; } }
@media (max-width: 820px) { .baffco-sales-ai__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .baffco-comparison th, .baffco-comparison td { min-width: 145px; padding: 10px; } .baffco-comparison thead img { width: 110px; height: 92px; } .baffco-comparison__actions { align-items: stretch; flex-direction: column; } .baffco-comparison__back, .baffco-comparison__clear { width: 100%; text-align: center; } }
.baffco-comparison__intro { margin: 0 0 16px; color: #314553; font-weight: 700; }
.baffco-comparison tbody tr.is-different td { background: #fff8e7; }
.baffco-comparison tbody tr.is-different th::after { content: ' متفاوت'; color: #9a5b00; font-size: 11px; font-weight: 600; }
