
.gsqb-builder{
  --gsqb-accent:#ff5a2c;
  --gsqb-text:#111111;
  --gsqb-muted:#666666;
  --gsqb-border:#eeeeee;
  --gsqb-bg:#ffffff;
  --gsqb-bg-soft:#f7f7f7;
  color:var(--gsqb-text);
  font-family:Tahoma, Arial, Helvetica, sans-serif;
  direction:rtl;
  text-align:right;
  width:100%;
  max-width:100%;
  background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 100%);
  border:1px solid rgba(17,17,17,.05);
  border-radius:28px;
  padding:56px 28px;
  box-shadow:0 18px 48px rgba(17,17,17,.06);
  overflow:hidden;
}

.gsqb-main-fullwidth{
  max-width:100% !important;
  flex:0 0 100% !important;
  width:100% !important;
}
.gsqb-sidebar-hidden{display:none !important;}
.gsqb-row-fullwidth{justify-content:center;}
body.gsqb-page-fullwidth .wf_posts .wf-container{max-width:1440px;}
body.gsqb-page-fullwidth .wf_posts{overflow:visible;}

.gsqb-builder *,
.gsqb-builder *::before,
.gsqb-builder *::after{box-sizing:border-box;}

.gsqb-builder a,
.gsqb-builder button,
.gsqb-builder input,
.gsqb-builder textarea,
.gsqb-builder select{font:inherit;}

.gsqb-builder .gsqb-title,
.gsqb-builder .gsqb-subtitle,
.gsqb-builder .gsqb-cat-title,
.gsqb-builder .gsqb-summary-box h3,
.gsqb-builder .gsqb-form-box h3,
.gsqb-builder .gsqb-tax-box h3,
.gsqb-builder .gsqb-currency-box h3,
.gsqb-builder .gsqb-field label,
.gsqb-builder .gsqb-template-title,
.gsqb-builder .gsqb-section-title,
.gsqb-builder .gsqb-item-title,
.gsqb-builder .gsqb-unit-price,
.gsqb-builder .gsqb-item-total,
.gsqb-builder .gsqb-summary-row strong,
.gsqb-builder .gsqb-template-price,
.gsqb-builder .gsqb-result strong{
  color:var(--gsqb-text) !important;
}

.gsqb-builder .gsqb-subtitle,
.gsqb-builder .gsqb-section-subtitle,
.gsqb-builder .gsqb-item-desc,
.gsqb-builder .gsqb-summary-hint,
.gsqb-builder .gsqb-summary-tax-note,
.gsqb-builder .gsqb-template-desc,
.gsqb-builder .gsqb-template-price-note,
.gsqb-builder .gsqb-unit,
.gsqb-builder .gsqb-auto-note,
.gsqb-builder .gsqb-privacy label,
.gsqb-builder .gsqb-currency-note{
  color:var(--gsqb-muted) !important;
}

.gsqb-section-title,
.gsqb-title{
  margin:0 0 12px;
  font-size:48px;
  font-weight:800;
  line-height:1.08;
  letter-spacing:-0.02em;
}

.gsqb-section-subtitle,
.gsqb-subtitle{
  margin:0 0 34px;
  font-size:18px;
  line-height:1.65;
  max-width:780px;
}

.gsqb-template-title,
.gsqb-item-title{
  word-break:normal;
  overflow-wrap:anywhere;
  hyphens:auto;
}

.gsqb-templates-section{margin-bottom:38px;}
.gsqb-mobile-priority-zone:empty{display:none;}

.gsqb-template-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),360px));
  gap:24px;
  align-items:stretch;
  justify-content:start;
}

.gsqb-builder.gsqb-has-single-template .gsqb-template-grid{
  grid-template-columns:minmax(min(100%,320px),380px);
}

.gsqb-template-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:100%;
  border:1px solid var(--gsqb-border);
  border-radius:22px;
  overflow:hidden;
  background:var(--gsqb-bg);
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor:pointer;
}

.gsqb-template-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 36px rgba(0,0,0,.12);
}

.gsqb-template-card.is-selected{
  border-color:var(--gsqb-accent);
  box-shadow:0 16px 38px rgba(255,90,44,.18);
}

.gsqb-template-image-wrap{
  width:100%;
  aspect-ratio:16/11;
  background:#f4f4f5;
  overflow:hidden;
}

.gsqb-template-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gsqb-template-body{
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:16px;
  flex:1;
}

.gsqb-template-title{
  margin:0;
  font-size:26px;
  font-weight:800;
  line-height:1.24;
}

.gsqb-template-desc{
  margin:0;
  font-size:16px;
  line-height:1.65;
}

.gsqb-template-desc > :first-child{margin-top:0;}
.gsqb-template-desc > :last-child{margin-bottom:0;}
.gsqb-template-desc p{margin:0 0 10px;}
.gsqb-template-desc ul,
.gsqb-template-desc ol{margin:0 0 10px;padding:0;padding-inline-start:20px;}
.gsqb-template-desc li{margin:0 0 6px;}
.gsqb-template-desc a{color:var(--gsqb-accent) !important;}

.gsqb-template-footer{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  margin-top:auto;
}

.gsqb-template-price-wrap{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}

.gsqb-template-price{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:8px;
  font-size:clamp(30px,3vw,42px);
  font-weight:800;
  line-height:1.05;
}

.gsqb-template-price-value,
.gsqb-template-price-currency{white-space:nowrap;}

.gsqb-template-price-currency{
  font-size:.76em;
  line-height:1;
}

.gsqb-template-price-note{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:7px 12px;
  border-radius:999px;
  background:#fff1ec;
  color:var(--gsqb-accent) !important;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}

.gsqb-columns{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,360px);
  gap:28px;
  align-items:start;
}

.gsqb-col-items{min-width:0;}
.gsqb-col-summary{
  min-width:0;
  width:100%;
  position:sticky;
  top:28px;
}

.gsqb-cat{
  margin-bottom:22px;
  border:1px solid var(--gsqb-border);
  border-radius:20px;
  overflow:hidden;
  background:var(--gsqb-bg);
  box-shadow:0 8px 24px rgba(17,17,17,.05);
}

.gsqb-cat-title{
  margin:0;
  padding:22px 24px 14px;
  background:#fff;
  border-bottom:1px solid #f3f4f6;
  font-size:24px;
  font-weight:800;
}

.gsqb-cat-items{padding:8px 24px 12px;}

.gsqb-item{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  padding:18px 0;
  border-bottom:1px solid #f0f0f0;
  align-items:start;
}

.gsqb-item:last-child{border-bottom:0;}

.gsqb-item-main{min-width:0;}

.gsqb-item-title{
  font-weight:800;
  font-size:18px;
  line-height:1.38;
}

.gsqb-item-desc{
  font-size:15px;
  margin-top:6px;
  line-height:1.6;
}

.gsqb-item-link-wrap{margin-top:10px;}

.gsqb-item-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:700;
  color:var(--gsqb-accent) !important;
  text-decoration:none !important;
}

.gsqb-item-link:hover{text-decoration:underline !important;}

.gsqb-item-right{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
  align-items:flex-end;
  width:100%;
}

.gsqb-item-price{
  min-width:148px;
  text-align:start;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.gsqb-unit-price{
  font-weight:800;
  font-size:18px;
  line-height:1.15;
}

.gsqb-unit{
  display:block;
  font-size:13px;
  margin-top:0;
}

.gsqb-item-qty{
  min-width:118px;
  text-align:start;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}

.gsqb-item-qty input[type="number"]{
  width:110px;
  max-width:110px;
  padding:10px 12px;
  border:1px solid #d1d5db;
  border-radius:14px;
  background:#fff;
  color:var(--gsqb-text);
}

.gsqb-item-qty input[type="number"]:focus,
.gsqb-field input:focus,
.gsqb-field textarea:focus,
.gsqb-field select:focus{
  outline:none;
  border-color:var(--gsqb-accent);
  box-shadow:0 0 0 3px rgba(255,90,44,.12);
}

.gsqb-toggle{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
}

.gsqb-toggle span{color:var(--gsqb-text);}
.gsqb-auto-note{font-size:12px;}

.gsqb-item-total{
  margin-inline-start:auto;
  min-width:126px;
  text-align:end;
  font-weight:800;
  font-size:17px;
  align-self:center;
}

.gsqb-currency-box,
.gsqb-tax-box,
.gsqb-summary-box,
.gsqb-form-box{
  position:relative;
  border:1px solid var(--gsqb-border);
  border-radius:20px;
  padding:28px;
  background:var(--gsqb-bg);
  margin-bottom:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  overflow:hidden;
}

.gsqb-currency-box::before,
.gsqb-tax-box::before,
.gsqb-summary-box::before,
.gsqb-form-box::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#ff5a2c 0%,#ff8a62 100%);
}

.gsqb-currency-box h3,
.gsqb-tax-box h3,
.gsqb-summary-box h3,
.gsqb-form-box h3{
  margin:0 0 14px;
  font-size:30px;
  font-weight:800;
  line-height:1.15;
}

.gsqb-summary-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #f0f0f0;
}

.gsqb-summary-row:last-child{border-bottom:0;}
.gsqb-summary-total strong{font-size:24px;}
.gsqb-summary-hint{
  margin:14px 0 0;
  font-size:13px;
  line-height:1.6;
}
.gsqb-summary-row span{color:var(--gsqb-text) !important;}
.gsqb-summary-tax-note{
  margin:14px 0 0;
  font-size:14px;
  line-height:1.6;
}
.gsqb-currency-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.6;
}
.gsqb-field-currency{margin-bottom:0;}

.gsqb-tax-options{display:flex;flex-direction:column;gap:12px;}

.gsqb-tax-option{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  border:1px solid #eeeeee;
  border-radius:18px;
  background:#fff !important;
  cursor:pointer;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.gsqb-tax-option:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(17,17,17,.05);
}

.gsqb-tax-option.is-active{
  border-color:var(--gsqb-accent);
  box-shadow:0 0 0 3px rgba(255,90,44,.14);
}

.gsqb-tax-option input[type="radio"]{
  appearance:auto !important;
  -webkit-appearance:radio !important;
  width:18px !important;
  height:18px !important;
  min-width:18px;
  margin:2px 0 0;
  padding:0 !important;
  accent-color:var(--gsqb-accent);
  cursor:pointer;
  box-shadow:none !important;
}

.gsqb-tax-option-body{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  flex:1;
}

.gsqb-tax-option-title{
  display:block;
  font-size:17px;
  font-weight:800;
  color:var(--gsqb-text) !important;
}

.gsqb-tax-option-desc{
  display:block;
  font-size:14px;
  line-height:1.55;
  color:var(--gsqb-muted) !important;
}

.gsqb-field{margin-bottom:14px;}

.gsqb-field label{
  display:block;
  font-weight:700;
  font-size:13px;
  margin-bottom:6px;
}

.gsqb-field input,
.gsqb-field textarea,
.gsqb-field select{
  width:100%;
  padding:12px 14px;
  border:1px solid #d1d5db;
  border-radius:14px;
  background:#fff;
  color:var(--gsqb-text);
  text-align:start;
}

.gsqb-field textarea{
  min-height:96px;
  resize:vertical;
}

.gsqb-privacy{font-size:12px;}

.gsqb-privacy-wrap{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.gsqb-privacy label{
  display:block;
  font-weight:400;
  line-height:1.6;
  cursor:pointer;
  margin:0;
}

.gsqb-privacy input[type="checkbox"]{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:18px !important;
  height:18px !important;
  min-width:18px;
  margin:2px 0 0;
  padding:0 !important;
  accent-color:var(--gsqb-accent);
  cursor:pointer;
  box-shadow:none !important;
}

.gsqb-template-btn,
.gsqb-submit,
.gsqb-builder .gsqb-result a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  border:1px solid #ff5a2c;
  background:#ff5a2c;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  box-shadow:0 10px 24px rgba(255,90,44,.24);
}

.gsqb-template-btn:hover,
.gsqb-submit:hover,
.gsqb-builder .gsqb-result a:hover{
  opacity:1;
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(255,90,44,.28);
}

.gsqb-template-btn[disabled],
.gsqb-submit[disabled]{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.gsqb-template-btn{
  padding:12px 20px;
  min-width:170px;
  white-space:nowrap;
}

.gsqb-submit{
  width:100%;
  padding:14px 20px;
}

.gsqb-result{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--gsqb-border);
  box-shadow:0 8px 24px rgba(17,17,17,.05);
  font-size:13px;
  color:var(--gsqb-text);
}

.gsqb-result a{padding:10px 14px;}

@media (max-width: 1200px){
  .gsqb-section-title,
  .gsqb-title{font-size:42px;}
  .gsqb-columns{grid-template-columns:minmax(0,1fr) minmax(300px,340px);}
}

@media (max-width: 1024px){
  .gsqb-builder{padding:40px 20px;}
  .gsqb-columns{grid-template-columns:1fr;}
  .gsqb-col-summary{position:static;}
}

@media (max-width: 760px){
  .gsqb-template-grid,
  .gsqb-builder.gsqb-has-single-template .gsqb-template-grid{grid-template-columns:1fr;}
  .gsqb-section-title,
  .gsqb-title{font-size:34px;}
  .gsqb-section-subtitle,
  .gsqb-subtitle{
    font-size:16px;
    margin-bottom:24px;
  }
  .gsqb-tax-box h3,
  .gsqb-summary-box h3,
  .gsqb-form-box h3,
  .gsqb-currency-box h3{font-size:24px;}
  .gsqb-template-title,
  .gsqb-cat-title{font-size:22px;}
  .gsqb-template-body,
  .gsqb-currency-box,
  .gsqb-tax-box,
  .gsqb-summary-box,
  .gsqb-form-box{padding:22px;}
  .gsqb-cat-items{padding:8px 20px 12px;}
  .gsqb-item-right{flex-direction:column;align-items:flex-start;}
  .gsqb-item-price,
  .gsqb-item-qty,
  .gsqb-item-total{
    min-width:0;
    width:100%;
    text-align:start;
    margin-inline-start:0;
  }
  .gsqb-template-btn{width:100%;min-width:0;}
}


html[dir="rtl"] .gsqb-builder,
.gsqb-builder:dir(rtl),
.gsqb-builder.gsqb-is-rtl,
html[lang^="ar"] .gsqb-builder,
html[lang^="fa"] .gsqb-builder,
html[lang^="he"] .gsqb-builder,
html[lang^="ur"] .gsqb-builder{
  direction:rtl;
}

html[dir="rtl"] .gsqb-builder .gsqb-template-footer,
.gsqb-builder:dir(rtl) .gsqb-template-footer,
.gsqb-builder.gsqb-is-rtl .gsqb-template-footer,
html[lang^="ar"] .gsqb-builder .gsqb-template-footer,
html[lang^="fa"] .gsqb-builder .gsqb-template-footer,
html[lang^="he"] .gsqb-builder .gsqb-template-footer,
html[lang^="ur"] .gsqb-builder .gsqb-template-footer{
  align-items:flex-start;
}

html[dir="rtl"] .gsqb-builder .gsqb-tax-option,
.gsqb-builder:dir(rtl) .gsqb-tax-option,
.gsqb-builder.gsqb-is-rtl .gsqb-tax-option,
html[dir="rtl"] .gsqb-builder .gsqb-privacy-wrap,
.gsqb-builder:dir(rtl) .gsqb-privacy-wrap,
.gsqb-builder.gsqb-is-rtl .gsqb-privacy-wrap{
  flex-direction:row;
}

html[dir="rtl"] .gsqb-builder .gsqb-item-total,
.gsqb-builder:dir(rtl) .gsqb-item-total,
.gsqb-builder.gsqb-is-rtl .gsqb-item-total{
  text-align:start;
}


/* Arabic-first layout and bidirectional data handling. */
.gsqb-builder input,
.gsqb-builder textarea,
.gsqb-builder select{
  text-align:right;
}

.gsqb-builder input[type="email"],
.gsqb-builder input[type="tel"],
.gsqb-builder .gsqb-customer-email,
.gsqb-builder .gsqb-customer-phone{
  direction:ltr;
  text-align:left;
}

.gsqb-builder input[type="number"],
.gsqb-builder .gsqb-unit-price,
.gsqb-builder .gsqb-line-total,
.gsqb-builder .gsqb-sum-net,
.gsqb-builder .gsqb-sum-vat,
.gsqb-builder .gsqb-sum-gross,
.gsqb-builder .gsqb-template-price,
.gsqb-builder .gsqb-template-price-value,
.gsqb-builder .gsqb-template-price-currency{
  direction:ltr;
  unicode-bidi:isolate;
}

.gsqb-builder .gsqb-item-right,
.gsqb-builder .gsqb-summary-row,
.gsqb-builder .gsqb-tax-option,
.gsqb-builder .gsqb-privacy-wrap{
  direction:rtl;
}
