@font-face{font-family:IRANYekanX;src:url("fonts/IRANYekanX-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:IRANYekanX;src:url("fonts/IRANYekanX-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:IRANYekanX;src:url("fonts/IRANYekanX-DemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:IRANYekanX;src:url("fonts/IRANYekanX-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

.mbbp-app,.mbbp-app *{box-sizing:border-box}
.mbbp-app [hidden]{display:none!important}
.mbbp-app{--teal:#42c1c7;--teal-dark:#197f85;--ink:#242424;--muted:#747b80;--line:#d8e3e4;--soft:#eefafa;--rose:#a71e45;--rose-bg:#fdecef;max-width:1320px;margin:0 auto;padding:46px 24px 80px;color:var(--ink);font-family:IRANYekanX,Tahoma,sans-serif;line-height:1.8;text-align:right}
.mbbp-app button,.mbbp-app input,.mbbp-app textarea,.mbbp-app select{font:inherit}
.mbbp-page-head{text-align:center;max-width:900px;margin:0 auto 34px}
.mbbp-catalog .mbbp-page-head{max-width:1180px}
.mbbp-catalog .mbbp-page-head p{white-space:nowrap;font-size:clamp(14px,1.35vw,17px)}
.mbbp-eyebrow{display:block;color:var(--teal-dark);font-weight:600;font-size:14px;margin-bottom:8px}
.mbbp-page-head h1,.mbbp-form-head h1{margin:0 0 10px;font-size:clamp(30px,4vw,48px);line-height:1.35;font-weight:700}
.mbbp-page-head p,.mbbp-form-head p{margin:0;color:var(--muted);font-size:17px}
.mbbp-card-list{display:grid;gap:22px}
.mbbp-project-card{display:grid;grid-template-columns:minmax(320px,42%) 1fr;gap:30px;align-items:center;padding:28px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(105deg,#f1fcfc,#fff 45%);box-shadow:0 12px 34px rgba(28,68,72,.07)}
.mbbp-project-image{aspect-ratio:16/9;border-radius:21px;overflow:hidden;background:#dfeeee}
.mbbp-project-image img{width:100%;height:100%;display:block;object-fit:cover}
.mbbp-project-content h2{font-size:clamp(24px,2.2vw,31px);line-height:1.45;margin:0 0 8px;font-weight:700}
.mbbp-project-content>p{color:var(--muted);font-size:16px;margin:0}
.mbbp-project-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px}
.mbbp-primary-button,.mbbp-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:12px;padding:10px 24px;border:1px solid transparent;cursor:pointer;font-weight:600;text-decoration:none!important;transition:.18s ease}
.mbbp-primary-button{background:var(--ink);color:#fff!important}
.mbbp-primary-button:hover,.mbbp-primary-button:focus{background:var(--teal-dark);color:#fff!important;transform:translateY(-1px)}
.mbbp-secondary-button{background:#fff;color:var(--ink);border-color:#aebdbe}
.mbbp-secondary-button:hover{border-color:var(--teal);color:var(--teal-dark)}
.mbbp-primary-button:disabled{opacity:.55;cursor:wait;transform:none}
.mbbp-lead-time{min-width:225px;border:2px solid #f1a1b4;border-radius:16px;background:var(--rose-bg);padding:12px 20px;color:var(--rose);text-align:right}
.mbbp-lead-time small,.mbbp-lead-time span{display:block;font-size:12px}
.mbbp-lead-time strong{display:block;font-size:23px;line-height:1.55}

.mbbp-form-app{max-width:1160px}
.mbbp-form-head{position:relative;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:end;padding:34px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(110deg,var(--soft),#fff 55%);box-shadow:0 12px 34px rgba(28,68,72,.06)}
.mbbp-form-head h1{font-size:clamp(29px,4vw,42px)}
.mbbp-back-link{grid-column:1/-1;color:var(--teal-dark);font-weight:600;text-decoration:none}
.mbbp-progress{position:sticky;top:32px;z-index:10;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:28px 0;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px)}
.mbbp-progress-item{display:flex;align-items:center;gap:8px;color:#8b9598;min-width:0}
.mbbp-progress-item span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #bdc9ca;border-radius:50%;font-size:13px}
.mbbp-progress-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.mbbp-progress-item.is-active,.mbbp-progress-item.is-complete{color:var(--teal-dark);font-weight:600}
.mbbp-progress-item.is-active span,.mbbp-progress-item.is-complete span{background:var(--teal);border-color:var(--teal);color:#fff}
.mbbp-order-form{border:1px solid var(--line);border-radius:28px;background:#fff;padding:36px;box-shadow:0 16px 42px rgba(28,68,72,.07)}
.mbbp-order-form.is-blocked{display:none}
.mbbp-step{display:none}
.mbbp-step.is-active{display:block;animation:mbbpFade .25s ease}
@keyframes mbbpFade{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:none}}
.mbbp-step-head{margin-bottom:28px}
.mbbp-step-head>span{color:var(--teal-dark);font-size:13px;font-weight:600}
.mbbp-step-head h2{font-size:28px;line-height:1.5;margin:3px 0}
.mbbp-step-head p{margin:0;color:var(--muted)}
.mbbp-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
.mbbp-field{grid-column:1/-1;min-width:0}
.mbbp-field--half{grid-column:span 1}
.mbbp-label{display:block;font-weight:600;font-size:15px;margin-bottom:8px}
.mbbp-label em{font-style:normal;color:#d22d57}
.mbbp-field input[type=text],.mbbp-field input[type=search],.mbbp-field input[type=email],.mbbp-field input[type=url],.mbbp-field input[type=tel],.mbbp-field input[type=number],.mbbp-field input[type=time],.mbbp-field textarea,.mbbp-field select,.mbbp-feedback-gate textarea,.mbbp-feedback-gate select{width:100%;min-height:48px;border:1px solid #b9c6c7;border-radius:11px;padding:10px 13px;background:#fff;color:var(--ink);outline:none}
.mbbp-field textarea,.mbbp-feedback-gate textarea{min-height:112px;resize:vertical}
.mbbp-field input:focus,.mbbp-field textarea:focus,.mbbp-field select:focus,.mbbp-feedback-gate textarea:focus,.mbbp-feedback-gate select:focus{border-color:var(--teal-dark);box-shadow:0 0 0 3px rgba(66,193,199,.18)}
.mbbp-input-wrap{display:flex;align-items:stretch}
.mbbp-input-wrap input{border-radius:11px!important}
.mbbp-input-wrap:has(.mbbp-calendar-trigger) input{border-radius:0 11px 11px 0!important;cursor:pointer}
.mbbp-calendar-trigger{flex:0 0 auto;min-height:48px;padding:0 14px;border:1px solid #b9c6c7;border-right:0;border-radius:11px 0 0 11px;background:#f2f8f8;color:var(--teal-dark);font-weight:600;cursor:pointer}
.mbbp-calendar-trigger:hover,.mbbp-calendar-trigger:focus{background:var(--soft);outline:3px solid rgba(66,193,199,.18)}
.mbbp-jalali-calendar{position:absolute;z-index:999999;width:310px;padding:14px;border:1px solid #cbd8d9;border-radius:16px;background:#fff;box-shadow:0 18px 48px rgba(20,52,56,.2);direction:rtl;font-family:IRANYekanX,Tahoma,sans-serif;color:#242424}
.mbbp-calendar-head{display:grid;grid-template-columns:40px 1fr 40px;gap:8px;align-items:center;margin-bottom:10px}
.mbbp-calendar-head strong{text-align:center}
.mbbp-calendar-head button{width:40px;height:40px;border:1px solid #d3dfe0;border-radius:9px;background:#f7fbfb;color:#197f85;font-size:22px;cursor:pointer}
.mbbp-calendar-week,.mbbp-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.mbbp-calendar-week{margin-bottom:5px;color:#7a8386;font-size:11px;text-align:center}
.mbbp-calendar-grid>span,.mbbp-calendar-grid>button{aspect-ratio:1;display:grid;place-items:center}
.mbbp-calendar-grid>button{border:0;border-radius:8px;background:transparent;color:#2c3335;cursor:pointer}
.mbbp-calendar-grid>button:hover:not(:disabled),.mbbp-calendar-grid>button:focus{background:#eefafa;color:#197f85;outline:2px solid rgba(66,193,199,.3)}
.mbbp-calendar-grid>button.is-selected{background:#42c1c7;color:#fff;font-weight:700}
.mbbp-calendar-grid>button:disabled{color:#c5cbcd;cursor:not-allowed}
.mbbp-jalali-calendar>small{display:block;margin-top:10px;color:#747b80;font-size:11px}
.mbbp-suffix{display:flex;align-items:center;margin-right:-1px;padding:0 15px;border:1px solid #b9c6c7;border-radius:11px 0 0 11px;background:#f2f6f6;color:#586164;white-space:nowrap}
.mbbp-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}
.mbbp-field--one-row .mbbp-choices{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
.mbbp-field--two-row .mbbp-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.mbbp-field--two-row-four .mbbp-choices{grid-template-columns:repeat(4,minmax(0,1fr))}
.mbbp-choice{position:relative;display:flex;min-height:48px;cursor:pointer}
.mbbp-choice input{position:absolute;opacity:0;pointer-events:none}
.mbbp-choice span{display:flex;align-items:center;justify-content:center;width:100%;padding:9px 12px;border:1px solid #b9c6c7;border-radius:11px;background:#fff;text-align:center;transition:.15s ease}
.mbbp-choice input:checked+span{border-color:var(--teal-dark);background:var(--soft);color:var(--teal-dark);box-shadow:inset 0 0 0 1px var(--teal-dark);font-weight:600}
.mbbp-choice input:focus-visible+span{outline:3px solid rgba(66,193,199,.25)}
.mbbp-help{display:block;color:var(--muted);font-size:12px;margin-top:6px}
.mbbp-other{margin-top:10px}
.mbbp-other summary{width:max-content;color:var(--teal-dark);font-size:13px;cursor:pointer}
.mbbp-other input{margin-top:8px}
.mbbp-field-error{min-height:19px;margin-top:4px;color:#c51e48;font-size:12px}
.mbbp-field.has-error input,.mbbp-field.has-error textarea,.mbbp-field.has-error select{border-color:#d32c57}
.mbbp-note{grid-column:1/-1;padding:15px 18px;border-right:4px solid var(--teal);border-radius:10px;background:var(--soft);color:#35575a}
.mbbp-empty{color:var(--muted);margin:0}
.mbbp-option-search{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin-bottom:10px}
.mbbp-selection-count{color:var(--teal-dark);font-size:13px;font-weight:600;white-space:nowrap}
.mbbp-choices[data-dynamic-options="all-products-searchable"]{max-height:310px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:13px;background:#fbfdfd;align-content:start}
.mbbp-equipment-quantities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfdfd}
.mbbp-equipment-quantity-row{display:grid;grid-template-columns:1fr 90px;gap:10px;align-items:center}
.mbbp-equipment-quantity-row span{font-size:14px}
.mbbp-equipment-quantity-row input{min-height:44px!important}
.mbbp-form-actions{display:flex;justify-content:space-between;gap:12px;margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}
.mbbp-form-message{margin-top:14px;font-weight:600}
.mbbp-form-message.is-error{color:#bd1942}
.mbbp-form-message.is-success{color:#187a5b}
.mbbp-confirm{display:flex;gap:10px;align-items:flex-start;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f8fbfb}
.mbbp-confirm input{margin-top:7px}

.mbbp-review{display:grid;gap:18px;margin-bottom:24px}
.mbbp-review section{padding:20px;border:1px solid var(--line);border-radius:16px;background:#fbfdfd}
.mbbp-review h3{font-size:18px;margin:0 0 12px;color:var(--teal-dark)}
.mbbp-review dl{margin:0}
.mbbp-review dl>div{display:grid;grid-template-columns:minmax(180px,30%) 1fr;gap:12px;padding:8px 0;border-bottom:1px dashed #dfe7e8}
.mbbp-review dl>div:last-child{border-bottom:0}
.mbbp-review dt{font-weight:600}
.mbbp-review dd{margin:0;color:#4f585b;white-space:pre-wrap}
.mbbp-success{text-align:center;padding:50px 20px}
.mbbp-success>span{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:var(--teal);color:#fff;font-size:32px}
.mbbp-success strong{display:block;width:max-content;margin:12px auto 24px;padding:12px 22px;border-radius:10px;background:var(--soft);color:var(--teal-dark);font-size:24px;direction:ltr}

.mbbp-feedback-gate{margin:24px 0;padding:30px;border:2px solid #f1a1b4;border-radius:24px;background:linear-gradient(115deg,var(--rose-bg),#fff 65%)}
.mbbp-feedback-gate[hidden]{display:none}
.mbbp-feedback-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--rose);color:#fff;font-size:23px}
.mbbp-feedback-gate h2{font-size:25px;margin:10px 0 2px}
.mbbp-feedback-gate>p{margin:0 0 20px;color:#6f4c55}
.mbbp-score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}
.mbbp-score-grid label{font-weight:600;font-size:13px}
.mbbp-score-grid select{margin-top:6px}
.mbbp-choices--compact{grid-template-columns:repeat(3,1fr);margin-bottom:18px}
.mbbp-feedback-gate .mbbp-confirm{margin:14px 0}

.mbbp-artwork-components{display:grid;gap:9px;margin-bottom:12px}
.mbbp-component-row{display:grid;grid-template-columns:36px minmax(130px,1.2fr) minmax(170px,1.5fr) 120px minmax(125px,1fr) 36px;gap:8px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fbfdfd}
.mbbp-component-row input,.mbbp-component-row select{min-height:42px!important}
.mbbp-component-check{position:relative;display:grid;place-items:center}
.mbbp-component-check input{position:absolute;opacity:0}
.mbbp-component-check span{display:block;width:22px;height:22px;border:1px solid #9eacad;border-radius:6px}
.mbbp-component-check input:checked+span{background:var(--teal);border-color:var(--teal)}
.mbbp-component-check input:checked+span:after{content:"✓";display:block;color:#fff;text-align:center;line-height:20px}
.mbbp-component-code{direction:ltr;text-align:center;color:var(--teal-dark);font-size:12px;font-weight:600}
.mbbp-remove-component{border:0;background:transparent;color:#b32346;font-size:24px;cursor:pointer}

@media (max-width:900px){
    .mbbp-catalog .mbbp-page-head p{white-space:normal}
    .mbbp-project-card{grid-template-columns:1fr}
    .mbbp-project-actions{align-items:flex-end}
    .mbbp-score-grid{grid-template-columns:repeat(2,1fr)}
    .mbbp-component-row{grid-template-columns:34px 1fr 1fr}
    .mbbp-component-language,.mbbp-component-code{grid-column:span 1}
}
@media (max-width:640px){
    .mbbp-app{padding:28px 14px 60px}
    .mbbp-project-card,.mbbp-form-head,.mbbp-order-form{padding:18px;border-radius:20px}
    .mbbp-project-actions,.mbbp-form-head{display:flex;flex-direction:column;align-items:stretch}
    .mbbp-lead-time{min-width:0}
    .mbbp-progress{top:10px;padding:8px}
    .mbbp-progress-item small{display:none}
    .mbbp-progress-item{justify-content:center}
    .mbbp-fields-grid{grid-template-columns:1fr}
    .mbbp-field--half{grid-column:1/-1}
    .mbbp-choices,.mbbp-field--one-row .mbbp-choices,.mbbp-field--two-row .mbbp-choices,.mbbp-field--two-row-four .mbbp-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mbbp-score-grid,.mbbp-choices--compact{grid-template-columns:1fr}
    .mbbp-review dl>div{grid-template-columns:1fr;gap:2px}
    .mbbp-option-search,.mbbp-equipment-quantities{grid-template-columns:1fr}
    .mbbp-selection-count{white-space:normal}
    .mbbp-form-actions{position:sticky;bottom:8px;z-index:8;padding:10px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.95)}
    .mbbp-component-row{grid-template-columns:32px 1fr 32px}
    .mbbp-component-size,.mbbp-component-language,.mbbp-component-code{grid-column:2/3}
}
