:root { --bs-navy: #24313f; --bs-orange: #b9470b; --bs-gray: #f1f3f5; }
.bs-rfq-card-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; direction: rtl; }
.product-element-bottom > .bs-rfq-card-controls { padding-top: 12px; border-top: 1px solid #edf0f2; }
.bs-rfq-card-controls label span { display: block; margin-bottom: 4px; color: #66717d; font-size: 11px; font-weight: 700; }
.bs-rfq-card-controls input, .bs-rfq-card-controls select { width: 100%; height: 38px; border: 1px solid #dce1e5; border-radius: 6px; background: #fff; font-size: 13px; }
.bs-rfq-card-controls .benaa-rfq-button { grid-column: 1 / -1; min-height: 42px; border: 0; border-radius: 7px; background: var(--bs-orange); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.benaa-rfq-button.is-loading, .bs-rfq-package-button.is-loading { opacity: .65; pointer-events: none; }
.bs-rfq-drawer-backdrop { position: fixed; inset: 0; z-index: 100020; background: rgba(17, 28, 39, .55); }
.bs-rfq-drawer { position: fixed; top: 0; right: 0; z-index: 100021; display: flex; width: min(430px, 94vw); height: 100dvh; flex-direction: column; transform: translateX(105%); background: #fff; box-shadow: -15px 0 40px rgba(18, 31, 45, .2); transition: transform .25s ease; }
.bs-rfq-drawer.is-open { transform: translateX(0); }
.bs-rfq-drawer.is-busy { cursor: wait; }
.bs-rfq-drawer-open { overflow: hidden; }
.bs-rfq-drawer > header { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px; border-bottom: 1px solid #e6e9ec; background: var(--bs-navy); color: #fff; }
.bs-rfq-drawer h2 { margin: 3px 0 0; color: #fff; font-size: 24px; }
.bs-rfq-drawer header small { color: #cbd3da; }
.bs-rfq-drawer header button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff; font-size: 26px; cursor: pointer; }
.bs-rfq-drawer-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.bs-rfq-drawer-item { display: grid; grid-template-columns: 64px 1fr 30px; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid #eceff1; }
.bs-rfq-drawer-item img { width: 64px; height: 64px; border-radius: 7px; object-fit: cover; }
.bs-rfq-drawer-item a { display: block; margin-bottom: 9px; color: var(--bs-navy); font-weight: 800; }
.bs-rfq-item-fields { display: flex; gap: 7px; }
.bs-rfq-item-fields input { width: 78px; height: 34px; border: 1px solid #dbe0e4; border-radius: 5px; font-size: 12px; }
.bs-rfq-remove { border: 0; background: transparent; color: #8c98a3; font-size: 24px; cursor: pointer; }
.bs-rfq-empty { display: grid; place-content: center; min-height: 55vh; text-align: center; }
.bs-rfq-empty strong { color: var(--bs-navy); font-size: 20px; }
.bs-rfq-empty span { max-width: 260px; margin-top: 8px; color: #6c7884; }
.bs-rfq-drawer > footer { padding: 18px 20px; border-top: 1px solid #e4e8eb; }
.bs-rfq-review-button { display: flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 7px; background: var(--bs-orange); color: #fff !important; font-weight: 800; }
.bs-rfq-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100030; max-width: min(360px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 7px; background: var(--bs-navy); box-shadow: 0 8px 25px rgba(0,0,0,.18); color: #fff; font-weight: 700; }
.bs-rfq-toast.is-error { background: #9b2c2c; }
.bs-rfq-mobile-count { position: absolute; top: 3px; right: calc(50% - 25px); display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 20px; background: #fff; color: var(--bs-orange); font-size: 10px; }
@media (max-width: 767px) {
	.bs-rfq-drawer { width: 100%; }
	.bs-rfq-toast { right: 16px; bottom: 84px; }
	.bs-rfq-drawer-item { grid-template-columns: 56px 1fr 28px; }
	.bs-rfq-drawer-item img { width: 56px; height: 56px; }
}

.bs-rfq-page, .bs-rfq-confirmation { max-width: 1120px; margin: 40px auto 70px; padding-inline: 20px; font-family: "IBM Plex Sans Arabic", sans-serif; }
.bs-rfq-page-header { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.bs-rfq-page-header > span { color: var(--bs-orange); font-size: 13px; font-weight: 800; }
.bs-rfq-page-header h1 { margin: 6px 0 10px; color: var(--bs-navy); font-size: clamp(34px, 5vw, 52px); }
.bs-rfq-page-header p { color: #687583; font-size: 17px; line-height: 1.8; }
.bs-rfq-progress { display: grid; max-width: 720px; grid-template-columns: repeat(3, 1fr); margin: 0 auto 30px; padding: 0; list-style: none; }
.bs-rfq-progress li { position: relative; display: grid; justify-items: center; gap: 7px; color: #89939d; font-weight: 700; text-align: center; }
.bs-rfq-progress li:not(:last-child)::after { position: absolute; z-index: 0; top: 18px; inset-inline-start: calc(50% + 18px); width: calc(100% - 36px); height: 2px; background: #dfe4e8; content: ""; }
.bs-rfq-progress b { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #dfe4e8; border-radius: 50%; background: #fff; }
.bs-rfq-progress span { position: relative; z-index: 1; line-height: 1.4; }
.bs-rfq-progress .is-active, .bs-rfq-progress .is-done { color: var(--bs-navy); }
.bs-rfq-progress .is-active b, .bs-rfq-progress .is-done b { border-color: var(--bs-orange); background: var(--bs-orange); color: #fff; }
.bs-rfq-progress .is-done::after { background: var(--bs-orange) !important; }
.bs-rfq-form { min-height: 480px; border: 1px solid #e1e5e8; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px rgba(28,43,57,.08); }
.bs-rfq-step { padding: clamp(22px, 4vw, 42px); }
.bs-rfq-step[hidden] { display: none !important; }
.bs-rfq-step-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #e9ecef; }
.bs-rfq-step-heading small { color: var(--bs-orange); font-weight: 800; }
.bs-rfq-step-heading h2 { margin: 4px 0 0; color: var(--bs-navy); font-size: 27px; }
.bs-rfq-step-heading > span { display: grid; min-width: 42px; height: 42px; place-items: center; border-radius: 22px; background: var(--bs-gray); color: var(--bs-navy); font-weight: 800; }
.bs-rfq-form-item { display: grid; grid-template-columns: 72px minmax(180px, 1fr) 115px 130px 34px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0f2; }
.bs-rfq-form-item img, .bs-rfq-free-icon { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.bs-rfq-free-icon { display: grid; place-items: center; background: var(--bs-gray); color: var(--bs-orange); font-size: 32px; }
.bs-rfq-form-item-main strong { display: block; margin-bottom: 7px; color: var(--bs-navy); }
.bs-rfq-form-item textarea { width: 100%; min-height: 45px; border: 1px solid #e0e4e7; border-radius: 6px; font-size: 12px; }
.bs-rfq-form-item textarea.bs-item-notes { min-height: 44px; max-height: 140px; padding: 9px 11px; overflow-wrap: anywhere; line-height: 1.5; resize: vertical; white-space: normal; overflow-y: auto; transition: height .15s ease; }
.bs-rfq-form-item label span, .bs-rfq-fields label > span { display: block; margin-bottom: 6px; color: #65717c; font-size: 12px; font-weight: 700; }
.bs-rfq-item-measures { display: contents; }
.bs-rfq-form-item input, .bs-rfq-form-item select, .bs-rfq-free-item input, .bs-rfq-free-item select { width: 100%; min-width: 0; height: 44px; border: 1px solid #dce1e5; border-radius: 6px; background: #fff; }
.bs-rfq-form-remove { border: 0; background: transparent; color: #8b96a0; font-size: 25px; cursor: pointer; }
.bs-rfq-empty-form { padding: 35px; border: 1px dashed #ccd3d8; border-radius: 9px; text-align: center; }
.bs-rfq-empty-form strong { display: block; margin-bottom: 8px; color: var(--bs-navy); }
.bs-rfq-free-item { margin-top: 25px; padding: 20px; border-radius: 10px; background: var(--bs-gray); }
.bs-rfq-free-item h3 { margin: 0 0 12px; color: var(--bs-navy); font-size: 17px; }
.bs-rfq-free-item > div { display: grid; grid-template-columns: 2fr .7fr 1fr auto; gap: 8px; }
.bs-add-free-item { min-width: 90px; border: 0; border-radius: 6px; background: var(--bs-navy); color: #fff; font-weight: 800; }
.bs-rfq-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.bs-rfq-step-actions button, .bs-rfq-whatsapp-quick { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding-inline: 24px; border: 0; border-radius: 7px; font-weight: 800; cursor: pointer; }
.bs-rfq-next, .bs-rfq-submit { margin-right: auto; background: var(--bs-orange); color: #fff; }
.bs-rfq-back { background: var(--bs-gray); color: var(--bs-navy); }
.bs-rfq-whatsapp-quick { border: 1px solid #d7dde1; color: var(--bs-navy); }
.bs-rfq-upload { display: grid; min-height: 230px; place-content: center; padding: 30px; border: 2px dashed #cdd4d9; border-radius: 12px; background: #fafbfb; text-align: center; cursor: pointer; }
.bs-rfq-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bs-rfq-upload b { color: var(--bs-navy); font-size: 19px; }
.bs-rfq-upload span { margin-top: 7px; color: #78848f; }
.bs-rfq-file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bs-rfq-file-list span { padding: 8px 12px; border-radius: 20px; background: var(--bs-gray); color: var(--bs-navy); font-size: 12px; }
.bs-rfq-file-list b { color: #7e8994; font-size: 10px; }
.bs-rfq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bs-rfq-fields .is-wide { grid-column: 1 / -1; }
.bs-rfq-fields input, .bs-rfq-fields select, .bs-rfq-fields textarea { width: 100%; border: 1px solid #d8dee2; border-radius: 7px; background: #fff; }
.bs-rfq-fields input, .bs-rfq-fields select { height: 50px; }
.bs-rfq-form-message { margin-top: 18px; padding: 12px 15px; border-radius: 6px; background: #fff0f0; color: #9b2c2c; font-weight: 700; }
.bs-rfq-privacy-note { margin: 14px 0 0; color: #75818c; font-size: 12px; text-align: left; }
.bs-rfq-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* English/WPML direction: keep the same component hierarchy and mirror only directional placement. */
[dir="ltr"].bs-rfq-drawer { right: auto; left: 0; transform: translateX(-105%); box-shadow: 15px 0 40px rgba(18, 31, 45, .2); }
[dir="ltr"].bs-rfq-drawer.is-open { transform: translateX(0); }
[dir="ltr"] .bs-rfq-next, [dir="ltr"] .bs-rfq-submit { margin-right: 0; margin-left: auto; }
[dir="ltr"] .bs-rfq-privacy-note { text-align: right; }

.bs-track-page { max-width: 1120px; margin: 35px auto 70px; padding-inline: 20px; font-family: "IBM Plex Sans Arabic", sans-serif; }
.bs-track-page > header { padding: 34px; border-radius: 14px; background: #24313f; color: #fff; }
.bs-track-page > header h1 { margin: 6px 0; color: #fff; font-size: clamp(30px, 5vw, 48px); }
.bs-track-page > header p { margin: 0; color: #dfe5e9; }
.bs-track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 22px; padding: 24px; border: 1px solid #e0e4e7; border-radius: 12px; background: #fff; }
.bs-track-form label span { display: block; margin-bottom: 7px; color: #24313f; font-weight: 800; }
.bs-track-form input { width: 100%; height: 50px; border: 1px solid #ccd3d8; border-radius: 7px; }
.bs-track-form button { min-height: 50px; padding-inline: 24px; border: 0; border-radius: 7px; background: #b9470b; color: #fff; font-weight: 800; }
.bs-track-error { margin-top: 18px; padding: 13px 16px; border-radius: 7px; background: #fff0f0; color: #8b2525; font-weight: 700; }
.bs-track-result { margin-top: 22px; padding: 26px; border: 1px solid #e0e4e7; border-radius: 12px; background: #fff; }
.bs-track-result > div:first-child { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.bs-track-result > div:first-child strong { color: #24313f; font-size: 24px; }
.bs-track-result > div:first-child span { margin-inline-start: auto; color: #66737e; }
.bs-track-timeline { display: grid; grid-template-columns: repeat(7, 1fr); margin: 30px 0; padding: 0; list-style: none; }
.bs-track-timeline li { position: relative; display: grid; gap: 8px; justify-items: center; color: #8a949c; text-align: center; }
.bs-track-timeline li::before { position: absolute; top: 10px; right: -50%; left: 50%; height: 3px; background: #dfe4e7; content: ""; }
.bs-track-timeline li:first-child::before { display: none; }
.bs-track-timeline i { z-index: 1; width: 22px; height: 22px; border: 4px solid #dfe4e7; border-radius: 50%; background: #fff; }
.bs-track-timeline .is-done i, .bs-track-timeline .is-current i { border-color: #b9470b; background: #b9470b; }
.bs-track-timeline .is-done::before, .bs-track-timeline .is-current::before { background: #b9470b; }
.bs-track-timeline .is-current span { color: #24313f; font-weight: 800; }
.bs-mobile-register { margin-bottom: 28px; padding: 22px; border: 1px solid #e0e4e7; border-radius: 10px; background: #f7f8f9; }
.bs-mobile-register form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.bs-mobile-register label { display: grid; gap: 6px; font-weight: 700; }
.bs-mobile-register input { min-height: 46px; }
.bs-vendor-register { max-width: 980px; margin: 35px auto 70px; padding: 28px; border: 1px solid #e0e4e7; border-radius: 14px; background: #fff; font-family: "IBM Plex Sans Arabic", sans-serif; }
.bs-vendor-register h1 { color: var(--bs-navy); }
.bs-vendor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 20px; }
.bs-vendor-fields label, .bs-vendor-quote-meta label { display: grid; gap: 6px; color: var(--bs-navy); font-weight: 700; }
.bs-vendor-fields input, .bs-vendor-quote input, .bs-vendor-quote select, .bs-vendor-quote textarea { width: 100%; min-height: 44px; border: 1px solid #ccd3d8; border-radius: 6px; }
.bs-vendor-register fieldset { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-block: 20px; padding: 18px; border: 1px solid #dce1e5; }
.bs-vendor-register legend { padding-inline: 8px; color: var(--bs-navy); font-weight: 800; }
.bs-vendor-quote .bs-admin-table-wrap { overflow-x: auto; }
.bs-vendor-quote .shop_table { min-width: 850px; }
.bs-vendor-quote-meta { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 16px; margin-block: 20px; }
.bs-vendor-decline { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e2e6e9; }

@media (max-width: 768px) {
	.bs-track-form, .bs-mobile-register form { grid-template-columns: 1fr; }
	.bs-vendor-fields, .bs-vendor-quote-meta { grid-template-columns: 1fr; }
	.bs-track-timeline { grid-template-columns: 1fr; gap: 0; }
	.bs-track-timeline li { min-height: 52px; grid-template-columns: 28px 1fr; justify-items: start; align-items: start; text-align: start; }
	.bs-track-timeline li::before { top: -30px; right: 10px; left: auto; width: 3px; height: 42px; }
	.bs-track-result > div:first-child span { width: 100%; margin: 0; }
}
.bs-rfq-confirmation { max-width: 720px; padding: 70px 30px; border-radius: 16px; background: #fff; box-shadow: 0 14px 45px rgba(24,39,53,.1); text-align: center; }
.bs-rfq-confirmation-icon { display: grid; width: 74px; height: 74px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: #e8f4ed; color: #237a49; font-size: 38px; }
.bs-rfq-confirmation p { color: #64717d; }
.bs-rfq-confirmation .bs-rfq-confirmation-kicker { margin-bottom: 4px; color: #237a49; font-weight: 800; }
.bs-rfq-confirmation h1 { margin: 10px 0; color: var(--bs-navy); font-size: 42px; direction: ltr; }
.bs-rfq-confirmation .bs-rfq-confirmation-number-help { margin: 0 auto 12px; }
.bs-rfq-copy-button { min-height: 38px; padding-inline: 16px; border: 1px solid #ccd3d8; border-radius: 7px; background: #fff; color: var(--bs-navy); font-weight: 800; cursor: pointer; }
.bs-rfq-confirmation-guide { margin: 24px 0; padding: 18px 20px; border-radius: 10px; background: var(--bs-gray); text-align: start; }
.bs-rfq-confirmation-guide strong { color: var(--bs-navy); font-size: 18px; }
.bs-rfq-confirmation-guide p { margin: 5px 0 0; line-height: 1.8; }
.bs-rfq-confirmation > strong { display: block; color: var(--bs-navy); font-size: 18px; }
.bs-rfq-confirmation .bs-rfq-confirmation-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.bs-rfq-confirmation a { display: inline-flex; min-height: 48px; align-items: center; padding-inline: 22px; border: 1px solid #d9dee2; border-radius: 7px; color: var(--bs-navy); font-weight: 800; }
.bs-rfq-confirmation .bs-rfq-primary { border-color: var(--bs-orange); background: var(--bs-orange); color: #fff; }
.bs-rfq-confirmation .bs-rfq-whatsapp-save { border-color: #178b55; color: #146f46; }
.bs-rfq-confirmation .bs-rfq-whatsapp-help { margin: 12px auto 0; font-size: 13px; line-height: 1.7; }

@media (max-width: 767px) {
	.bs-rfq-page { margin-top: 22px; padding-inline: 12px; }
	.bs-rfq-progress { margin-bottom: 22px; }
	.bs-rfq-progress li span { display: block; font-size: 12px; }
	.bs-rfq-form-item { grid-template-columns: 56px 1fr 30px; }
	.bs-rfq-form-item img, .bs-rfq-free-icon { width: 56px; height: 56px; }
	.bs-rfq-item-measures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-column: 1 / 3; grid-row: 2; gap: 12px; width: 100%; }
	.bs-rfq-item-measures label { min-width: 0; }
	.bs-rfq-item-measures .bs-item-unit { width: 100%; }
	.bs-rfq-form-item textarea.bs-item-notes { min-height: 48px; }
	.bs-rfq-form-remove { grid-column: 3; grid-row: 1; }
	.bs-rfq-free-item > div, .bs-rfq-fields { grid-template-columns: 1fr; }
	.bs-rfq-free-item > div .bs-free-name, .bs-rfq-fields .is-wide { grid-column: auto; }
	.bs-rfq-step-actions { flex-wrap: wrap; }
	.bs-rfq-step-actions > * { flex: 1; min-width: 140px; }
	.bs-rfq-confirmation .bs-rfq-confirmation-actions { flex-direction: column; }
}

