/* Cart: compact destination summary */
.silsila-cart-delivery {box-sizing:border-box; max-width:100%; margin-bottom:16px; padding:12px; border:1px solid #e3eaf3; border-radius:18px; background:#fff; box-shadow:0 4px 16px rgba(20,35,55,.05);}
.silsila-cart-delivery[hidden] {display:none !important;}
.silsila-cart-delivery *, .silsila-cart-delivery *::before {box-sizing:border-box;}
.silsila-cart-delivery [hidden] {display:none !important;}
.scd-summary {display:flex; align-items:center; gap:10px; min-width:0;}
.scd-icon {flex:0 0 40px; width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#eaf1ff; color:#0b5bc0;}
.scd-icon svg {width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.scd-ico-home, .is-courier .scd-ico-pvz {display:none;}
.is-courier .scd-ico-home {display:block;}
.is-courier .scd-icon {background:#e8f6f0; color:#12805f;}
.is-empty .scd-icon {background:#fff4e5; color:#c26a00;}
.scd-copy {flex:1 1 auto; min-width:0;}
.scd-title {display:flex; align-items:center; gap:6px; min-width:0; margin:0 0 2px; font-size:12px; line-height:1.2; font-weight:600;}
.scd-kicker {color:#687384; white-space:nowrap;}
.scd-mode {flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:2px 7px; border-radius:999px; background:#eef2f7; color:#3a4656; font-size:11px; font-weight:700;}
.is-courier .scd-mode {background:#e8f6f0; color:#12805f;}
.scd-dest {margin:0; color:#19212d; font-size:14px; font-weight:700; line-height:1.3; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow-wrap:anywhere;}
.is-empty .scd-dest {color:#a35800;}
.silsila-cart-delivery .scd-change {flex:0 0 auto; min-height:44px; min-width:44px; margin:0; padding:0 14px; border:0; border-radius:12px; background:#007aff; color:#fff; font-size:14px; font-weight:700; cursor:pointer;}
.silsila-cart-delivery .scd-change:hover {background:#0068d9;}
.is-busy .scd-change {opacity:.7;}
.silsila-cart-delivery .scd-change:focus-visible, .scd-more-toggle:focus-visible, .silsila-delivery-modes input:focus-visible + span, .silsila-cart-delivery .scd-geo:focus-visible {outline:2px solid #0b5bc0; outline-offset:2px;}
#silsila-cart-delivery-status {margin:8px 0 0; padding-left:50px; font-size:12px; line-height:1.35; color:#4f5d6f;}
#silsila-cart-delivery-status:empty {display:none;}
.is-busy #silsila-cart-delivery-status {color:#64748b;}
.is-error #silsila-cart-delivery-status {color:#b42318; font-weight:600;}
.scd-more {margin-top:8px; border-top:1px solid #eef1f5;}
.scd-more-toggle {display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; padding:0 2px; list-style:none; color:#4a5361; font-size:13px; font-weight:600; cursor:pointer;}
.scd-more-toggle::-webkit-details-marker {display:none;}
.scd-more-toggle svg {width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; transition:transform .2s ease;}
.scd-more[open] .scd-more-toggle svg {transform:rotate(180deg);}
.scd-more-body {padding:4px 0 6px;}
.silsila-delivery-modes {display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:0 0 10px; padding:0; border:0;}
.silsila-delivery-modes label {position:relative; display:block; cursor:pointer;}
.silsila-delivery-modes input {position:absolute; opacity:0; inset:0; margin:0;}
.silsila-delivery-modes span {display:flex; align-items:center; justify-content:center; min-height:44px; padding:6px 8px; border:1px solid #e2e8f0; border-radius:12px; font-size:13px; font-weight:600; text-align:center; color:#3a4656;}
.silsila-delivery-modes input:checked + span {border-color:#007aff; background:#eaf3ff; color:#0b5bc0;}
.silsila-cart-address .delivery-address-trigger {display:flex; align-items:center; min-height:44px; padding:8px 12px; border:1px solid #e2e8f0; border-radius:12px; background:#f7f9fc; font-size:13px; overflow-wrap:anywhere;}
.scd-coords {margin:0 0 6px; font-size:12px; color:#687384;}
#silsila-cart-home-map {height:min(240px, 50vh); border-radius:14px; z-index:1; margin:0 0 8px;}
.silsila-cart-delivery .scd-geo {width:100%; min-height:44px; margin:0 0 8px; padding:8px 12px; border:1px solid #cfd8e3; border-radius:12px; background:#fff; color:#0b5bc0; font-weight:600; cursor:pointer;}
.scd-landmark-label {display:block; font-size:12px; color:#687384; font-weight:600;}
.silsila-cart-delivery textarea {display:block; width:100%; padding:10px 12px; border:1px solid #cbd5e1; border-radius:12px; margin-top:4px; font-size:16px; resize:vertical;}
#silsila-cart-zone-legend {display:grid; gap:6px; margin:10px 0 0; font-size:12px; overflow-wrap:anywhere;}
#silsila-cart-zone-legend:empty {display:none;}
#silsila-cart-zone-legend i {display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:8px;}
@media (max-width:360px) {
  .silsila-cart-delivery {padding:10px;}
  .scd-icon {flex-basis:34px; width:34px; height:34px;}
  .scd-kicker {display:none;}
  .silsila-cart-delivery .scd-change {padding:0 11px;}
  #silsila-cart-delivery-status {padding-left:0;}
}
@media (min-width:700px) {.silsila-cart-delivery {padding:16px 18px;} .scd-dest {font-size:15px;}}
@media (prefers-reduced-motion: reduce) {.scd-more-toggle svg {transition:none;}}
.silsila-seller-link {display:block; margin:6px 8px; font-size:12px; color:#1478e8; text-decoration:underline; overflow-wrap:anywhere;}
.silsila-delivery-status {font-size:12px; margin-top:8px; color:#007aff;}
.silsila-delivery-status.is-unavailable {color:#b42318 !important;}
.silsila-delivery-status.is-loading {color:#64748b;}
.silsila-cart-shipping-summary {font-size:13px;}
.myshop-cart-total-wrapper small {display:block; font-size:12px; margin:10px 0 16px; color:#64748b;}

/* Компактная строка ETA в карточках товара */
.myshop-product-card .silsila-card-eta, .silsila-cart-item .silsila-card-eta, .myshop-single-card .silsila-card-eta {display:flex; align-items:center; gap:5px; min-width:0; min-height:28px; margin:2px 0 6px; padding:3px 8px; border:1px solid transparent; border-radius:9px; background:#eef5ff; color:#0b5bc0; font-size:12px; line-height:1.25;}
.myshop-product-card .silsila-card-eta {margin:2px 8px 6px;}
.silsila-card-eta-text {flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.silsila-card-eta-text b {font-weight:700;}
.silsila-card-eta-text i {font-style:normal; color:#4a6a92;}
.myshop-product-card svg.silsila-card-eta-ico,
.silsila-cart-item svg.silsila-card-eta-ico {flex:0 0 14px; width:14px; height:14px; min-width:14px; max-width:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.silsila-card-eta[data-delivery-state="choose"], .silsila-card-eta[data-delivery-state="loading"], .silsila-card-eta.is-loading {background:#f2f4f7; color:#5b6575;}
.silsila-card-eta[data-delivery-state="off"] {background:#fff1ee; color:#b42318;}
.silsila-card-eta-info {position:relative; flex:0 0 24px; width:24px; height:24px; margin:0; padding:0; border:0; border-radius:50%; background:#b42318; color:#fff; font-size:13px; font-weight:800; line-height:24px; cursor:pointer;}
.silsila-card-eta-info::before {content:""; position:absolute; inset:-10px;}
@media(max-width:360px){.myshop-product-card .silsila-card-eta{margin-left:4px;margin-right:4px;padding-left:4px;font-size:11px}}
.silsila-eta-dlg {position:fixed; inset:0; z-index:10100; display:grid; place-items:end center;}
.silsila-eta-dlg[hidden] {display:none;}
.silsila-eta-backdrop {position:absolute; inset:0; background:rgba(13,24,39,.5);}
.silsila-eta-panel {position:relative; box-sizing:border-box; width:min(100%,440px); max-height:85dvh; overflow:auto; padding:18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius:20px 20px 0 0; background:#fff; color:#19212d; box-shadow:0 -12px 40px rgba(10,20,35,.2);}
@media (min-width:600px){.silsila-eta-dlg{place-items:center}.silsila-eta-panel{border-radius:20px;padding-bottom:18px}}
.silsila-eta-panel header {display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px;}
.silsila-eta-panel h2 {margin:0; font-size:17px;}
.silsila-eta-x {width:44px; height:44px; border:0; border-radius:12px; background:#f2f4f7; font-size:22px; cursor:pointer;}
.silsila-eta-reason {margin:0 0 12px; font-size:14px; line-height:1.5; overflow-wrap:anywhere;}
.silsila-eta-note {margin:0 0 12px; font-size:13px; color:#b42318;}
.silsila-eta-panel dl {display:grid; gap:6px; margin:0 0 14px; padding:10px 12px; border-radius:12px; background:#f6f8fb; font-size:13px;}
.silsila-eta-panel dl div {display:flex; justify-content:space-between; gap:10px;}
.silsila-eta-panel dt {color:#687384;} .silsila-eta-panel dd {margin:0; font-weight:650; text-align:right;}
.silsila-eta-panel footer {display:flex; flex-wrap:wrap; gap:8px;}
.silsila-eta-panel footer button {flex:1 1 140px; min-height:44px; border-radius:12px; font-weight:700; cursor:pointer;}
.silsila-eta-addr {border:1px solid #cfd8e3; background:#fff; color:#0b5bc0;}
.silsila-eta-addr[hidden] {display:none;}
.silsila-eta-ok {border:0; background:#007aff; color:#fff;}
/* Продавец под отзывами */
.silsila-seller-row {margin:16px 0 0; min-width:0;}
.silsila-seller-row .silsila-seller-link {display:flex; align-items:center; gap:8px; max-width:100%; min-height:44px; box-sizing:border-box; margin:0; padding:8px 12px; border:1px solid #e7ebf0; border-radius:12px; background:#f7f9fc; color:#19212d; text-decoration:none; font-size:14px;}
.silsila-seller-k {flex:0 0 auto; color:#687384; font-size:12px;}
.silsila-seller-n {flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; color:#0b5bc0;}
.silsila-seller-row svg {flex:0 0 16px; width:16px; height:16px; fill:none; stroke:#687384; stroke-width:2;}

/* Seller row: name link + separate chat link */
.silsila-seller-row {display:flex; align-items:stretch; gap:8px; flex-wrap:nowrap;}
.silsila-seller-row .silsila-seller-link {flex:1 1 auto; min-width:0;}
.silsila-seller-chat {flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; min-width:44px; box-sizing:border-box; padding:8px 12px; border-radius:12px; background:#eaf1ff; color:#0b5bc0; font-size:14px; font-weight:700; text-decoration:none;}
.silsila-seller-chat:hover {background:#dce8ff;}
.silsila-seller-chat:focus-visible, .silsila-seller-row .silsila-seller-link:focus-visible {outline:2px solid #0b5bc0; outline-offset:2px;}
.silsila-seller-row .silsila-seller-chat svg {flex:0 0 18px; width:18px; height:18px; stroke:currentColor; stroke-linejoin:round; stroke-linecap:round;}
@media (max-width:360px) {
  .silsila-seller-chat {padding:8px 10px;}
  .silsila-seller-row .silsila-seller-k {display:none;}
}
.silsila-seller-row {flex-wrap:wrap;}
.silsila-seller-chat-t {white-space:normal;}
@media (max-width:480px) {
  .silsila-seller-row .silsila-seller-link {flex-basis:100%;}
  .silsila-seller-row .silsila-seller-chat {width:100%;}
}

/* Адрес не выбран: спокойная подсказка рядом со строкой срока доставки. */
.silsila-card-eta[data-delivery-state="choose"] {
  border: 1px solid #e8edf2;
  background: #f8fafb;
  color: #526175;
}

.silsila-card-eta[data-delivery-state="choose"] .silsila-card-eta-info.is-question {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #cbd8e6;
  background: #fff;
  color: #4c647d;
  font-size: 14px;
  line-height: 26px;
  box-shadow: none;
}

.silsila-card-eta[data-delivery-state="choose"] .silsila-card-eta-info.is-question:hover {
  border-color: #1768c4;
  background: #f2f7fc;
  color: #1768c4;
}

.silsila-card-eta-info:focus-visible,
.silsila-eta-panel button:focus-visible {
  outline: 3px solid #9bc5f2;
  outline-offset: 3px;
}

.silsila-eta-panel h2 {
  font-size: 19px;
  letter-spacing: -.03em;
}

.silsila-eta-panel footer button {
  min-height: 48px;
  border-radius: 13px;
}

.silsila-eta-addr {
  border: 0;
  background: #1768c4;
  color: #fff;
}

.silsila-eta-addr:hover {
  background: #1058a9;
}

.silsila-eta-ok {
  border: 1px solid #e2e8ee;
  background: #fff;
  color: #455365;
}

.silsila-eta-ok:hover {
  background: #f7f9fb;
}

.silsila-eta-dlg[data-eta-state="choose"] .silsila-eta-addr {
  background: #1768c4;
  color: #fff;
}

.silsila-eta-dlg[data-eta-state="choose"] .silsila-eta-ok {
  border: 1px solid #e2e8ee;
  background: #fff;
  color: #455365;
}
