/* "Расшифровка стоимости" modal — redesign. Namespace: .pd */
.modal-price-decode .modal__wrap{max-width:100vw;width:880px!important;padding:24px 16px}
.modal-price-decode .modal__content{padding:0;border-radius:16px!important}
.pd{font-family:Montserrat,sans-serif;color:var(--as-text);background:var(--as-bg);-webkit-font-smoothing:antialiased}
.pd__close{width:40px;height:40px;border-radius:999px;background:var(--as-bg-soft);color:var(--as-text-2);display:flex;align-items:center;justify-content:center;right:24px;top:24px}
.pd__close:hover{background:var(--as-surf-g)}
.pd__head{display:flex;flex-direction:column;gap:10px;padding:28px 80px 22px 32px;border-bottom:1px solid var(--as-bd-14)}
.pd__kicker{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--as-muted-13)}
.pd__title{font-size:26px;font-weight:700;line-height:1.1}
.pd__chips,.pd__chips>[data-pd=head]{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pd__chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--as-bg-soft);font-size:12px;font-weight:700;color:var(--as-text-2);white-space:nowrap}
.pd__chip--warn{background:var(--as-tint-warm-2);color:var(--as-warn-tx)}
.pd__share{display:flex;flex-direction:column;gap:10px;padding:20px 32px 0}
.pd__bar{display:flex;height:10px;border-radius:999px;overflow:hidden;gap:2px}
.pd__bar-seg{display:block;min-width:2px}
.pd__bar-seg--part{background:var(--as-brand)}
.pd__bar-seg--customs{background:var(--as-bg-inv)}
.pd__bar-seg--rus{background:#b5b5b5}
.pd__legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;font-weight:700;color:var(--as-text-2)}
.pd__legend-item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pd-flag{display:inline-flex;flex-shrink:0;width:18px;height:13px;border-radius:2px;overflow:hidden;border:1px solid var(--as-bd-17);box-sizing:content-box;line-height:0}
.pd-flag svg{display:block}
.pd [hidden]{display:none!important}
.pd .pd-flag--jp,.pd .pd-flag--kr,.pd .pd-flag--cn{display:none}
.pd--jp .pd-flag--jp,.pd--kr .pd-flag--kr,.pd--cn .pd-flag--cn{display:inline-flex}
.pd__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 32px 24px}
.pd-section{border:1px solid var(--as-bd-14);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:12px;background:var(--as-bg);box-sizing:border-box}
.pd-section--part{grid-row:span 2}
.pd-section__head{all:unset;box-sizing:border-box;width:100%;font:inherit;color:inherit;text-align:left;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--as-bd-14)}
.pd-section__name{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;line-height:1.3}
.pd-section__sum{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end}
.pd-section__rub{font-size:17px;font-weight:700;white-space:nowrap}
.pd-section__foreign{font-size:11px;color:var(--as-muted-13);white-space:nowrap}
.pd-section__chevron{display:none;flex-shrink:0;color:var(--as-muted-13);transition:transform .2s}
.pd-section__body{display:flex;flex-direction:column;gap:12px}
.pd-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.pd-row__label{font-size:14px;color:var(--as-text-2);line-height:1.35}
.pd-row__note{display:block;font-size:11px;font-weight:700;color:var(--as-warn-tx);margin-top:2px}
.pd-row__values{display:flex;gap:8px;align-items:baseline;flex-shrink:0}
.pd-row__rub{font-size:14px;font-weight:700;white-space:nowrap}
.pd-row__foreign{font-size:11px;color:var(--as-muted-13);white-space:nowrap;min-width:78px;text-align:right}
.pd__warn{display:flex;gap:12px;align-items:flex-start;margin:0 32px 14px;padding:12px 16px;border-radius:10px;background:var(--as-tint-warm-2);color:var(--as-warn-tx-2);font-size:13px;line-height:1.45}
.pd__warn svg{flex-shrink:0;color:var(--as-warn-tx);margin-top:1px}
.pd__warn strong{color:var(--as-warn-tx)}
.pd__total{margin:0 32px 28px;background:var(--as-bg-inv);border-radius:12px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.pd__total-text{display:flex;flex-direction:column;gap:6px;min-width:0}
.pd__total-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--as-muted-2)}
.pd__total-sum{font-size:32px;font-weight:700;line-height:1;color:var(--as-on-inv);white-space:nowrap}
.pd__total-rates{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11px;color:var(--as-muted-13)}
.pd__cta{flex-shrink:0;height:52px;padding:0 28px;border:none;border-radius:10px;background:var(--as-brand);color:var(--as-on-inv);font-family:inherit;font-size:16px;font-weight:700;letter-spacing:.02em;cursor:pointer;white-space:nowrap}
.pd__cta:hover{background:#a3002a}
@media screen and (max-width:768px){
  .modal-price-decode .modal__wrap{width:100%!important;padding:0}
  .modal-price-decode .modal__content{border-radius:0!important;min-height:100vh}
  .pd__close{right:16px;top:16px}
  .pd__head{padding:20px 68px 16px 20px;gap:6px}
  .pd__title{font-size:22px}
  .pd__share{padding:16px 20px 0;gap:8px}
  .pd__bar{height:8px}
  .pd__legend{gap:6px 14px;font-size:11px}
  .pd__grid{grid-template-columns:1fr;gap:10px;padding:16px 20px 0}
  .pd-section{padding:14px 16px;gap:10px}
  .pd-section--part{grid-row:auto}
  .pd-section__head{cursor:pointer;-webkit-tap-highlight-color:transparent;align-items:center;padding-bottom:0;border-bottom:none}
  .pd-section--open .pd-section__head{padding-bottom:10px;border-bottom:1px solid var(--as-bd-14)}
  .pd-section__chevron{display:block}
  .pd-section--open .pd-section__chevron{transform:rotate(180deg)}
  .pd-section__body{display:none;gap:10px}
  .pd-section--open .pd-section__body{display:flex}
  .pd-section__name{font-size:14px}
  .pd-section__rub{font-size:15px}
  .pd-row__label,.pd-row__rub{font-size:13px}
  .pd-row__foreign{font-size:10px;min-width:0}
  .pd__warn{margin:12px 20px 0;font-size:12px}
  .pd__total{position:sticky;bottom:0;z-index:2;margin:12px 0 0;border-radius:0;padding:12px 20px 16px;flex-direction:column;align-items:stretch;gap:10px;box-shadow:0 -8px 24px rgba(0,0,0,.18)}
  .pd__total-text{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px}
  .pd__total-label{flex-basis:100%;font-size:10px}
  .pd__total-sum{font-size:24px}
  .pd__total-rates{font-size:10px}
  .pd__cta{height:48px}
  .pd__cta{width:100%}
}
