.price-intro { background: #ecf3fc; border-bottom: 1px solid #d0deed; }
.price-hero { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: clamp(25px,3.7vw,52px); }
.price-crumb { color: #4c6182; margin-bottom: 12px; }
.price-intro h1 { font-size: clamp(2.05rem,3.3vw,3.35rem); margin: 0 0 5px; }
.price-hero p { color: #405676; max-width: 680px; line-height: 1.9; }
.tariff-stamp { border-radius: 10px; background: white; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border-inline-start: 3px solid var(--brand-blue); white-space: nowrap; }
.tariff-stamp > .icon { width: 30px; height: 30px; color: var(--brand-link); }
.tariff-stamp strong, .tariff-stamp small { display: block; }
.tariff-stamp small { color: #526685; font-size: .79rem; }
.price-layout { display: grid; grid-template-columns: minmax(145px,.59fr) minmax(0,1.95fr) minmax(258px,.98fr); align-items: start; gap: clamp(16px,1.8vw,29px); padding-block: 31px 70px; }
.price-module-art { width: 53px; height: 53px; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.price-rail,.price-aside { position: sticky; top: 86px; min-width: 0; }
.price-rail h2 { font-size: 1.06rem; margin-bottom: 13px; }
.price-rail > div { border-inline-start: 1px solid var(--line); }
.price-rail a { display: flex; gap: 8px; align-items: center; padding: 9px 11px; color: #3c506e; line-height: 1.6; font-size: .86rem; font-weight: 570; border-inline-start: 3px solid transparent; margin-inline-start: -1px; }
.price-rail a:hover,.price-rail a[aria-current] { color: var(--symbol); background: var(--wash); border-inline-start-color: var(--symbol); }
.price-rail .icon { color: var(--symbol); width: 16px; height: 16px; }
.editor-head { margin-bottom: 12px; }
.editor-head h2 { font-size: clamp(1.45rem,2.2vw,2.05rem); margin-block: 4px; }
.js-control { display: none; }
.price-ready .mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); background: #edf2f9; border-radius: 10px; }
.mode-switch button { display: flex; justify-content: center; gap: 8px; align-items: center; min-height: 40px; border-radius: 7px; border: 1px solid transparent; background: transparent; font-weight: 680; font-size: .89rem; }
.mode-switch button[aria-pressed="true"] { color: var(--brand-link); background: white; border-color: #c5d3ed; box-shadow: 0 2px 5px #15274b0d; }
.mode-switch .icon { width: 18px; }
.price-ready .price-search { display: flex; margin-block: 12px 16px; width: 100%; }
.price-pack { margin: 0 0 10px; border: 1px solid #ccd8e9; border-radius: 10px; background: white; }
.price-pack[open] { border-color: color-mix(in srgb, var(--symbol) 48%, white); }
.price-pack > summary { background: color-mix(in srgb, var(--wash) 45%, white); border-radius: 10px; padding: 13px 15px; list-style: none; min-height: 60px; display: flex; align-items: center; gap: 10px; }
.price-pack > summary::-webkit-details-marker { display: none; }
.price-pack summary > span:nth-child(2) { display: flex; flex-direction: column; }
.price-pack > summary strong { font-size: 1.01rem; line-height: 1.55; }
.price-pack > summary small { color: var(--muted); font-size: .875rem; }
.price-pack > summary > .icon { width: 16px; height: 16px; }
.price-pack[open] > summary > .icon { transform: rotate(180deg); }
.pack-selected { margin-inline-start: auto; font-size: .875rem; font-weight: 700; color: var(--brand-link); }
.price-pack[open] > summary { background: var(--wash); border-radius: 10px 10px 0 0; border-bottom: 1px solid var(--line); }
.price-pack-body { padding: 0 14px 4px; }
.pack-context { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; padding: 11px 0; font-size: .875rem; color: var(--muted); }
.pack-context a { color: var(--brand-link); font-weight: 650; }
.pack-context .icon { width: 13px; height: 13px; margin-inline-start: 3px; }
.price-option { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; align-items: start; border-top: 1px solid #e1e7f1; padding: 12px 4px; cursor: pointer; }
.price-option:hover { background: #f6f9ff; }
.price-option.is-selected { background: #f1f5ff; }
.price-option input { margin: 4px 0 0; width: 17px; height: 17px; accent-color: #365dcb; }
.option-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.option-text strong { font-size: .91rem; }
.option-text small, .pack-note { font-size: .875rem; line-height: 1.75; color: #52637b; }
.estimate-note p + p { margin-top: 5px; }
.pricing[data-mode="groups"] .full-billing-note { display: none; }
.price-amount { display: inline-block; white-space: nowrap; padding-top: 2px; font-size: .89rem; font-weight: 720; }
.price-amount small, .total-row small { font-size: .7rem; color: #52637b; font-weight: 530; }
.full-contents { margin: 3px 0 9px; font-size: .79rem; color: #4b5e7a; background: #f4f7fc; padding: 10px 12px; border-radius: 6px; }
.full-contents strong { color: var(--ink); }
.pack-note, .pack-included { margin: 6px 0; }
.pack-included, .price-empty-results { padding: 10px; background: #eef5fc; font-size: .83rem; }
.pack-included button,.price-empty-results button { border: 0; background: transparent; color: var(--brand-link); font-weight: 700; text-decoration: underline; }
.pricing[data-mode="groups"] :is(.full-option,.full-contents), .pricing[data-mode="full"] .price-group-list { display: none; }
.estimate-box { border: 1px solid #becde6; border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 7px 22px #15274b0b; }
.estimate-box > header { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 13px 16px; background: #172e60; color: white; }
.estimate-box header > div { display: flex; align-items: center; gap: 8px; }
.estimate-symbol { color: #9be5fc; }
.estimate-symbol .icon { width: 20px; }
.estimate-box h2 { font-size: 1.08rem; }
.estimate-box header button { border: 0; padding: 6px 0; background: transparent; color: #d1e1ff; font-size: .875rem; text-decoration: underline; }
.estimate-items, .total-row, .savings, #price-offers { margin-inline: 15px; }
.estimate-origin { margin: 10px 15px 0; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.estimate-origin a { color: var(--brand-link); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.estimate-items { max-height: min(30vh,240px); overflow-y: auto; scrollbar-width: thin; }
#estimate-empty { color: var(--muted); font-size: .85rem; line-height: 1.85; padding: 16px 0; }
#line-items { list-style: none; padding: 0; margin: 0; }
#line-items li { display: flex; justify-content: space-between; gap: 7px; align-items: center; padding: 9px 1px; border-bottom: 1px solid #e4eaf2; }
#line-items strong,#line-items small { display: block; }
#line-items strong { font-size: .83rem; }
#line-items small { color: var(--muted); font-size: .875rem; }
#line-items button { width: 28px; height: 28px; flex: none; border: 0; border-radius: 5px; background: #f3f6fb; font: 1.15rem/1 Arial,sans-serif; color: #556685; }
.price-offer, .savings { background: #eaf7fb; margin-block: 9px; padding: 9px 10px; border-radius: 6px; color: #215570; font-size: .9rem; }
.price-offer button { background: white; border: 1px solid #9fc6d7; color: #1a526c; border-radius: 5px; padding: 5px 8px; margin: 5px 0 0; font-size: .875rem; font-weight: 660; }
.total-row { border-top: 1px solid var(--line); padding: 14px 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.total-row > span { font-weight: 650; font-size: .88rem; }
.total-row > strong { font-size: clamp(1.03rem,1.6vw,1.32rem); color: #1d4387; }
#quote-link { display: flex; margin-inline: 15px; }
#quote-link[aria-disabled=true] { background: #e8edf5; color: #5c6b80; cursor: default; }
.estimate-note { padding: 10px 15px 15px; font-size: .875rem; color: #53647c; line-height: 1.8; }
.price-contact { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px auto 0; color: var(--muted); font-size: .875rem; }
.price-contact .icon { width: 16px; }
#price-offers { max-height: 25vh; overflow: auto; }
@media (max-width:1080px) {
  .price-layout { grid-template-columns: minmax(0,1fr) minmax(247px,.50fr); gap: 20px; }
  .price-rail { grid-column: 1/-1; position: static; }
  .price-rail h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .price-rail > div { display: flex; flex-wrap: wrap; gap: 5px; border: 0; }
  .price-rail a { border: 1px solid var(--line); border-radius: 5px; padding: 5px 9px; font-size: .875rem; }
}
@media (max-width:740px) {
  .price-hero { display: block; padding-block: 17px 20px; }
  .price-crumb { margin-bottom: 9px; }
  .price-hero p { font-size: .87rem; }
  .tariff-stamp { width: fit-content; padding: 3px 9px; margin-top: 10px; gap: 6px; }
  .tariff-stamp > .icon { width: 16px; height: 16px; }
  .tariff-stamp strong { font-size: .875rem; }
  .tariff-stamp small { display: none; }
  .price-layout { grid-template-columns: minmax(0,1fr); gap: 16px; padding-block: 17px 32px; }
  .price-rail > div { flex-wrap: nowrap; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
  .price-rail a { flex: none; }
  .price-aside { position: static; }
  .price-ready .pricing-page { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .price-ready .price-mobile { position: fixed; inset: auto 0 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px max(16px,calc((100vw - 620px)/2)) calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #b6c8e4; background: white; box-shadow: 0 -3px 13px #21345411; }
  .price-mobile > div > small, .price-mobile > div > strong { display: block; }
  .price-mobile small { font-size: .73rem; color: var(--muted); }
  .price-mobile .button { min-height: 39px; font-size: .82rem; }
  .estimate-items { max-height: 35dvh; }
  #price-offers { max-height: 30dvh; }
  .price-pack summary { padding: 11px; }
  .price-pack-body { padding-inline: 9px; }
}
@media (max-width:420px) {
  .price-option { grid-template-columns: 17px minmax(0,1fr); gap: 2px 8px; padding-block: 10px; }
  .price-amount { grid-column: 2; color: #29497d; }
  .price-pack > summary strong { font-size: .93rem; }
  .price-search input { font-size: 16px; }
}

.price-rail a { min-height: 43px; text-wrap: pretty; }
.price-rail .icon { width: 19px; height: 19px; }
.price-pack summary > span > strong { font-family: Estedad,Vazirmatn,sans-serif; font-size: 1.1rem; }
.price-pack > summary { padding-block: 7px; }
.price-option { line-height: 1.8; }
.price-option .option-text strong { font-size: 1rem; }
.price-option .option-text small { font-size: .9rem; color: var(--muted); }
.estimate-box header { background: #193764; }
.estimate-note { font-size: .875rem; }
.total-row > strong, .price-amount bdi { font-variant-numeric: tabular-nums; }
@media(max-width:740px) {
  .price-module-art { width: 41px; height: 41px; }
  .tariff-stamp { padding: 5px 10px; }
  .price-hero p { font-size: 1rem; }
}
.tariff-terms { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(18px,6vw,70px); padding-block: 30px 54px; border-top: 1px solid var(--line); }
.tariff-terms h2 { font-size: clamp(1.35rem,3vw,2rem); margin-bottom: 8px; }
.tariff-terms p, .tariff-terms dd { color: var(--muted); }
.tariff-terms dl, .tariff-terms dd { margin: 0; }
.tariff-terms dl > div { padding-block: 10px; border-bottom: 1px solid var(--line); }
.tariff-terms dt { color: var(--ink); font-weight: 700; }
.tariff-terms a, .estimate-note a { color: var(--brand-link); text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:760px) { .tariff-terms { grid-template-columns: 1fr; } }
