/* کندو — ماشین‌حساب برآورد | جهت «کاغذ و برنج» ۱۴۰۵/۰۶/۰۴ */

.cnd-est{
  position:relative;background:#FAF7F1;border:1px solid #E7E0D5;border-radius:0;
  padding:38px 36px 34px;margin:0 auto!important;box-shadow:none;max-width:1060px
}
.cnd-est::before{content:"";position:absolute;top:-1px;right:-1px;width:64px;height:2px;background:#A5896A}
.cnd-est *{box-sizing:border-box}
.cnd-est-kick{
  font-size:11px!important;font-weight:700!important;letter-spacing:.16em;
  color:#8A6E4E!important;margin:0 0 10px!important;line-height:1.7
}
.cnd-est-h{
  font-size:25px!important;font-weight:800!important;color:#18453F!important;
  margin:0 0 8px!important;letter-spacing:-.015em;line-height:1.55
}
.cnd-est-sub{font-size:14px!important;color:#4F473E!important;margin:0 0 30px!important;line-height:2}

.cnd-est-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 24px}
.cnd-est-f{display:flex;flex-direction:column;min-width:0}
.cnd-est-f label,.cnd-est-lbl{
  display:block;font-size:11px!important;font-weight:700!important;letter-spacing:.1em;
  color:#4A4137!important;margin:0 0 9px!important;line-height:1.7
}
.cnd-est .cnd-est-f input,.cnd-est .cnd-est-f input[type="text"],.cnd-est .cnd-est-f input[type="tel"]{
  font:inherit!important;font-size:17px!important;font-weight:500!important;color:#18453F!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-bottom:1px solid #B3A794!important;border-radius:0!important;
  box-shadow:none!important;outline:0;
  padding:7px 2px 10px!important;margin:0!important;width:100%!important;height:auto!important;
  min-height:0!important;line-height:1.7!important;
  font-variant-numeric:tabular-nums;direction:rtl;text-align:right;
  transition:border-color .15s ease
}
.cnd-est-f input::placeholder{color:#A0968A;font-weight:400}
.cnd-est .cnd-est-f input:focus{outline:0!important;box-shadow:none!important;border-bottom:2px solid #18453F!important;padding-bottom:9px!important}
.cnd-est .cnd-est-f input.is-bad{border-bottom:2px solid #B03A2B!important;padding-bottom:9px!important}
.cnd-est-hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.cnd-seg{display:flex;gap:26px;padding:7px 0 0;background:none;border:0}
.cnd-est .cnd-seg button{
  font:inherit!important;font-size:16px!important;font-weight:500!important;cursor:pointer;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:0 0 10px!important;margin:0!important;color:#5E564C!important;
  border-bottom:1px solid transparent!important;transition:color .15s ease;width:auto!important
}
.cnd-est .cnd-seg button[aria-pressed="true"]{color:#18453F!important;font-weight:700!important;border-bottom:2px solid #18453F!important;padding-bottom:9px!important}
.cnd-seg button:focus-visible{outline:2px solid #A5896A;outline-offset:3px}

.cnd-est-go{grid-column:1/-1;margin-top:12px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.cnd-est .cnd-est-btn{
  font:inherit!important;font-size:15px!important;font-weight:700!important;letter-spacing:.02em;
  cursor:pointer;white-space:nowrap;width:auto!important;
  background:#18453F!important;color:#fff!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:16px 46px!important;margin:0!important;transition:background .15s ease
}
.cnd-est .cnd-est-btn:hover{background:#0C221F!important;color:#fff!important}
.cnd-est .cnd-est-btn[disabled]{opacity:.55;cursor:default}
.cnd-est-go span{font-size:13px;color:#5A5148}
.cnd-est-err{
  color:#B03A2B!important;font-size:13.5px!important;font-weight:600!important;
  margin:16px 0 0!important;min-height:1px;line-height:1.9
}

.cnd-res{background:#fff;border:1px solid #E7E0D5;border-top:0;margin:0 0 30px}
.cnd-res-h{
  display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap;
  padding:22px 30px;border-bottom:1px solid #EDE7DE;background:#fff
}
.cnd-res-t{font-size:13px!important;font-weight:700!important;letter-spacing:.06em;color:#18453F!important;line-height:1.8}
.cnd-res-h span{font-size:13px;color:#5A5148}

.cnd-lvw{border-bottom:1px solid #F0EBE3}
.cnd-lvw:last-of-type{border-bottom:0}
.cnd-lv{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start;padding:26px 30px;position:relative}
.cnd-lvw.is-hi .cnd-lv{background:#FAF7F1}
.cnd-lvw.is-hi .cnd-lv::after{content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:#A5896A}
.cnd-lv-t{font-size:17px!important;font-weight:700!important;color:#18453F!important;margin:0 0 5px!important;line-height:1.55}
.cnd-lv-d{font-size:13.5px!important;color:#4F473E!important;margin:0 0 12px!important;line-height:1.9}
.cnd-lv-n{text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}
.cnd-tot{font-size:27px;font-weight:800;color:#18453F;line-height:1.35;letter-spacing:-.02em}
.cnd-tot i,.cnd-tot .cnd-cur{font-style:normal;font-size:13px;font-weight:500;color:#6B6055;letter-spacing:0}
.cnd-tot .cnd-wait{font-size:13.5px;font-weight:400;color:#847A6C;letter-spacing:0}
.cnd-rate{font-size:13.5px;color:#4F473E;margin-top:5px;min-height:1px}

.cnd-res .cnd-more{
  font:inherit!important;font-size:12.5px!important;font-weight:600!important;cursor:pointer;
  color:#18453F!important;background:none!important;border:0!important;
  border-bottom:1px solid #CFC5B4!important;border-radius:0!important;box-shadow:none!important;
  padding:0 0 4px!important;margin:0!important;white-space:nowrap;width:auto!important;
  transition:border-color .15s ease
}
.cnd-res .cnd-more:hover{border-bottom-color:#18453F!important;color:#18453F!important}
.cnd-more:focus-visible{outline:2px solid #A5896A;outline-offset:4px}
.cnd-more .cnd-chev{display:inline-block;transition:transform .18s ease;margin-inline-start:6px;font-size:10px}
.cnd-more[aria-expanded="true"] .cnd-chev{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){.cnd-more .cnd-chev{transition:none}}

.cnd-det{display:none;padding:4px 30px 30px;background:#FCFAF7;border-top:1px solid #F0EBE3}
.cnd-det.is-open{display:block}
.cnd-dl{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));
  gap:18px 28px;margin:24px 0 26px!important;padding:0!important;list-style:none!important
}
.cnd-dl li{margin:0!important;list-style:none!important;line-height:1.9;display:block!important}
.cnd-dl b{display:block;font-size:10.5px;font-weight:700;color:#A5896A;letter-spacing:.12em;margin-bottom:4px}
.cnd-dl span{font-size:13.5px;color:#3F3A33;line-height:1.95}
.cnd-pf-t{
  font-size:10.5px!important;font-weight:700!important;letter-spacing:.12em;
  color:#6B6055!important;margin:0 0 14px!important;line-height:1.8
}
.cnd-pf-no{font-size:13.5px!important;color:#6B6055!important;margin:0 0 6px!important}

.cnd-pfs,.cnd-mts{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:14px;margin:0 0 28px!important;padding:0!important;list-style:none!important;
  background:none;border:0
}
.cnd-pfs li,.cnd-mts li{margin:0!important;list-style:none!important;background:#fff;overflow:hidden;display:block!important;border:1px solid #E7E0D5}
.cnd-pfs a{display:block;text-decoration:none;background:#fff;overflow:hidden}
.cnd-pfs img,.cnd-mts img{
  display:block;width:100%;height:148px;object-fit:cover;background:#F0EBE3;
  transition:transform .5s ease;border:0
}
.cnd-pfs a:hover img{transform:scale(1.045)}
.cnd-pfs a:focus-visible{outline:2px solid #A5896A;outline-offset:-2px}
.cnd-pfs b,.cnd-mts b{display:block;font-size:14.5px;font-weight:700;color:#18453F;padding:14px 15px 0}
.cnd-pfs span,.cnd-mts span{
  display:block;font-size:11.5px;color:#6B6055;line-height:1.8;
  font-variant-numeric:tabular-nums;padding:3px 15px 15px
}
.cnd-mts{margin-bottom:28px!important}
@media (prefers-reduced-motion:reduce){.cnd-pfs img{transition:none}}

.cnd-act{
  background:#18453F;padding:28px 30px;display:flex;justify-content:space-between;
  align-items:center;gap:22px;flex-wrap:wrap
}
.cnd-act p{margin:0!important;font-size:14px!important;color:#B8CFCB!important;line-height:1.95;max-width:48ch}
.cnd-act p b{display:block;color:#fff!important;font-size:16.5px;font-weight:700;margin-bottom:4px}
.cnd-act a{
  font-size:14.5px;font-weight:700;text-decoration:none!important;white-space:nowrap;
  background:#C9A961;color:#0C221F!important;padding:16px 36px;border:0;transition:background .15s ease
}
.cnd-act a:hover{background:#DCC087;color:#0C221F!important}
.cnd-act a:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media (max-width:860px){
  .cnd-est{padding:26px 20px 24px}
  .cnd-est-grid{grid-template-columns:1fr 1fr;gap:22px 16px}
  .cnd-est-h{font-size:21px!important}
  .cnd-est-sub{margin-bottom:24px!important}
  .cnd-est .cnd-est-btn{width:100%!important;text-align:center}
  .cnd-est-go{margin-top:6px}
  .cnd-res-h,.cnd-lv,.cnd-act{padding-left:20px;padding-right:20px}
  .cnd-det{padding:4px 20px 24px}
  .cnd-lv{grid-template-columns:1fr;gap:14px}
  .cnd-lv-n{text-align:right}
  .cnd-tot{font-size:24px}
  .cnd-act a{width:100%;text-align:center}
  .cnd-pfs,.cnd-mts{grid-template-columns:1fr 1fr}
  .cnd-pfs img,.cnd-mts img{height:120px}
}
@media (max-width:520px){
  .cnd-est-grid{grid-template-columns:1fr}
  .cnd-seg{gap:22px}
}
/* cnd-wrapmax — پانل در صفحه عریض پهن نشود */
.cnd-list .cnd-res{max-width:1060px;margin-inline:auto}

.cnd-act .cnd-act-b{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cnd-act a.cnd-act-2{background:transparent;color:#fff!important;border:1px solid rgba(255,255,255,.35)}
.cnd-act a.cnd-act-2:hover{background:rgba(255,255,255,.08);color:#fff!important}
@media(max-width:640px){.cnd-act .cnd-act-b{width:100%}.cnd-act .cnd-act-b a{flex:1 1 100%;text-align:center}}

/* صفحه لیست — فرم ۴ فیلدی: دکمه کنار محل غرفه */
@media(min-width:781px){body.page-id-1485 .cnd-est-go{grid-column:2 / -1;margin-top:0;align-self:end;padding-bottom:2px}}

.cnd-act .cnd-act-b{max-width:none!important;margin:0!important}

/* حذف نشانه دایره‌ای قالب روی لیست‌های ماشین‌حساب */
.cnd-dl li::before,.cnd-mts li::before,.cnd-pfs li::before,.cnd-dl li::after,.cnd-mts li::after,.cnd-pfs li::after{content:none!important;display:none!important;border:0!important}

/* برگه برآورد — دکمه دریافت زیر نتیجه */
.cnd-getfile{
  margin:22px 0 0;padding:18px 20px;background:#FAF7F1;border:1px solid #E7E0D5;
  display:flex;align-items:center;gap:16px;flex-wrap:wrap
}
.cnd-getfile span{font-size:13px;color:#6B6055;line-height:1.9;flex:1;min-width:200px}
a.cnd-getfile-b,a.cnd-getfile-b:visited{
  background:#18453F!important;color:#fff!important;border:1px solid #18453F!important;
  border-radius:0!important;font-size:13.5px!important;font-weight:700!important;
  padding:13px 26px!important;text-decoration:none!important;display:inline-block;white-space:nowrap
}
a.cnd-getfile-b:hover{background:#0C221F!important;border-color:#0C221F!important;color:#fff!important}
@media (max-width:860px){
  .cnd-getfile{display:block;padding:16px}
  a.cnd-getfile-b{display:block;text-align:center;margin-bottom:10px}
  .cnd-getfile span{display:block}
}


/* === cnd-est: navar-e onvan-e abzar (2026-08-27) === */
.cnd-est-bar{margin:-38px -36px 24px;background:#18453F;color:#fff;padding:14px 30px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;line-height:1.6}
body .wpb_text_column .cnd-est .cnd-est-bar b,.cnd-est .cnd-est-bar b{font-size:18px!important;font-weight:800!important;letter-spacing:-.01em;color:#fff!important;margin:0!important;line-height:1.6}
body .wpb_text_column .cnd-est .cnd-est-bar em,.cnd-est .cnd-est-bar em{font-style:normal!important;font-size:12.5px!important;color:#A8C9C1!important;margin-inline-start:auto}
.cnd-est-ic{width:26px;height:26px;flex:0 0 26px;border:1.5px solid #C9A961;position:relative;display:block}
.cnd-est-ic::before{content:"";position:absolute;top:4px;left:4px;right:4px;height:6px;background:#C9A961}
.cnd-est-ic::after{content:"";position:absolute;bottom:4px;left:4px;right:4px;height:9px;background:repeating-linear-gradient(90deg,#C9A961 0 4px,transparent 4px 7px),repeating-linear-gradient(0deg,#C9A961 0 3px,transparent 3px 6px)}
.cnd-est .cnd-est-sub{margin:0 0 18px!important}
.cnd-est-tr{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 26px!important;padding:0 0 20px;border-bottom:1px solid #E7E0D5;list-style:none}
.cnd-est-tr span{font-size:12.5px;color:#4F473E;background:#fff;border:1px solid #E7E0D5;padding:5px 11px;line-height:1.8;display:inline-block}
@media (max-width:860px){.cnd-est-bar{margin:-26px -20px 20px;padding:12px 18px}.cnd-est-bar b{font-size:16px}.cnd-est-bar em{margin-inline-start:0;width:100%}.cnd-est-tr{margin-bottom:20px!important;padding-bottom:16px}}

.cnd-est-tr .cnd-est-cnt{font-size:12.5px!important;color:#18453F!important;background:#fff;border:1px solid #18453F;padding:5px 11px;line-height:1.8;display:inline-block;font-weight:700}
