:root {
  --sentq-bg:#f5f3f2;
  --sentq-card:#ffffff;
  --sentq-text:#111111;
  --sentq-muted:#6f6f6f;
  --sentq-line:#e9e5e2;
  --sentq-burgundy:#8e1733;
  --sentq-dark:#1a2026;
}

* { box-sizing:border-box; }
html { min-height:100%;background:var(--sentq-bg); }
:root { --sentq-vv-bottom-inset:0px; }

body.sentq-collection-page {
  min-height:100vh;
  margin:0;
  overflow-x:hidden;
  background:var(--sentq-bg);
  color:var(--sentq-text);
  font-family:TildaSans,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.sentq-collection-page button,
body.sentq-collection-page input { font-family:inherit; }
body.sentq-collection-page a:not(.sentq-button):not(.result-button) { color:inherit; }

.sentq-shell-header {
  position:sticky;
  z-index:500;
  top:0;
  width:100%;
  height:64px;
  padding:0;
  background:rgba(26,32,38,.97);
  color:#fff;
}
.sentq-shell-header-inner {
  display:flex;
  width:min(calc(100% - 40px),1760px);
  height:100%;
  margin:0 auto;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.sentq-shell-brand {
  display:inline-flex;
  align-items:center;
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:700;
  text-decoration:none;
  letter-spacing:-.02em;
}
.sentq-shell-brand span { color:#c1294d; }
.sentq-shell-title-mobile,
.sentq-shell-back { display:none; }
.sentq-shell-nav { display:flex;align-items:center;gap:8px; }
.sentq-shell-nav a {
  display:inline-flex;
  min-height:36px;
  padding:0 14px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.24);
  border-radius:8px;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:500;
  text-decoration:none;
}
.sentq-shell-nav a:hover,
.sentq-shell-nav a:focus-visible { border-color:#fff;outline:0; }
.sentq-shell-nav a.is-active { border-color:var(--sentq-burgundy);background:var(--sentq-burgundy); }
.sentq-shell-count {
  display:inline-flex;
  min-width:18px;
  height:18px;
  margin-left:6px;
  padding:0 5px;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#fff;
  color:var(--sentq-dark);
  font-size:10px;
  line-height:18px;
  font-weight:700;
}

.sentq-page-wrap {
  width:min(calc(100% - 40px),1200px);
  margin:0 auto;
  padding:28px 0 110px;
}
.sentq-page-topbar {
  display:flex;
  margin:0 0 18px;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}
.sentq-page-heading { min-width:0; }
.sentq-page-heading h1 {
  margin:0;
  font-size:28px;
  line-height:1.25;
  font-weight:600;
  letter-spacing:-.02em;
}
.sentq-page-subtitle {
  margin:6px 0 0;
  color:var(--sentq-muted);
  font-size:14px;
  line-height:1.45;
}
.sentq-page-actions { display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap; }
.sentq-button {
  display:inline-flex;
  min-height:40px;
  padding:0 14px;
  align-items:center;
  justify-content:center;
  border:1px solid #cfcdcd;
  border-radius:8px;
  background:#fff;
  color:#111;
  font-size:13px;
  line-height:1.2;
  font-weight:600;
  cursor:pointer;
}
.sentq-button:hover { border-color:#8e1733; }
.sentq-button:focus-visible { outline:2px solid rgba(142,23,51,.25);outline-offset:2px; }
.sentq-button-primary { border-color:var(--sentq-burgundy);background:var(--sentq-burgundy);color:#fff; }
a.sentq-button.sentq-button-primary,
button.sentq-button.sentq-button-primary,
.sentq-button.sentq-button-primary { color:#fff !important;-webkit-text-fill-color:#fff; }
.sentq-button-quiet { border-color:transparent;background:transparent;color:var(--sentq-burgundy); }

.sentq-empty {
  display:none;
  padding:28px 24px;
  border:0;
  border-radius:12px;
  background:#fff;
  color:#111;
}
.sentq-empty h2 { margin:0 0 7px;font-size:18px;line-height:1.35;font-weight:600; }
.sentq-empty p { margin:0 0 16px;color:var(--sentq-muted);font-size:14px;line-height:1.5; }
.sentq-empty a { text-decoration:none; }

/* Exact product-card proportions and typography from the approved home grid. */
.sentq-collection-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:0;
}
.sentq-collection-card {
  position:relative;
  min-width:0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--sentq-line);
  border-radius:11px;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
  cursor:pointer;
}
.sentq-collection-card:hover { box-shadow:0 5px 16px rgba(18,20,22,.07); }
.sentq-collection-card .img {
  display:block;
  width:calc(100% - 12px);
  height:auto;
  aspect-ratio:276/244;
  margin:6px 6px 0;
  padding:0;
  border:0;
  border-bottom:1px solid #efeff0;
  border-radius:8px 8px 0 0;
  background:#fff;
  object-fit:contain;
  box-shadow:1px 1px 2px rgba(0,0,0,.06);
}
.sentq-collection-card .title {
  min-height:43px;
  max-height:none;
  margin:0;
  padding:9px 40px 0 8px;
  overflow:hidden;
  font-size:16px;
  line-height:1.32;
  font-weight:500;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.sentq-collection-card .meta {
  display:block;
  min-height:39px;
  margin:0;
  padding:5px 40px 12px 8px;
  overflow:hidden;
  color:var(--sentq-burgundy);
  font-size:12px;
  line-height:1.35;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.sentq-collection-card .meta span { display:block;overflow:hidden;text-overflow:ellipsis; }
.sentq-collection-card .favBtn {
  position:absolute;
  right:9px;
  bottom:10px;
  top:auto;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--sentq-burgundy);
  font:26px/30px Arial,sans-serif;
  cursor:pointer;
}

/* Cart uses the approved white product-detail cards and 8/12 px radii. */
.sentq-cart-list { display:flex;flex-direction:column;gap:12px;margin:0; }
.sentq-cart-row {
  display:grid;
  grid-template-columns:128px minmax(0,1fr) auto;
  gap:16px;
  min-width:0;
  padding:12px;
  align-items:center;
  border:1px solid var(--sentq-line);
  border-radius:12px;
  background:#fff;
}
.sentq-cart-row.sizeUnavailable { border-color:#dfb7c1;background:#fffafb; }
.sentq-cart-media-link { display:block;width:128px;height:112px;text-decoration:none; }
.sentq-cart-row .img {
  display:block;
  width:100%;
  height:100%;
  padding:6px;
  border:1px solid #efeff0;
  border-radius:9px;
  background:#fff;
  object-fit:contain;
}
.sentq-cart-row .main { min-width:0; }
.sentq-cart-row .title {
  margin:0;
  color:#111;
  font-size:16px;
  line-height:1.32;
  font-weight:500;
}
.sentq-cart-title-link { color:inherit;text-decoration:none; }
.sentq-cart-title-link:hover { color:var(--sentq-burgundy); }
.sentq-cart-row .meta { display:flex;margin-top:8px;gap:6px;flex-wrap:wrap;color:var(--sentq-muted);font-size:12px; }
.sentq-cart-row .pill {
  padding:5px 8px;
  border:1px solid #e6e2df;
  border-radius:8px;
  background:#fff;
  color:#4e4e4e;
}
.sentq-cart-row .priceStatus { margin-top:8px;font-size:12px;line-height:1.4; }
.sentq-cart-row .priceStatus.checking { color:#6f5a91; }
.sentq-cart-row .priceStatus.fresh { color:#28765b; }
.sentq-cart-row .priceStatus.pending { color:#8a6713; }
.sentq-cart-row .priceStatus.unavailable { color:var(--sentq-burgundy);font-weight:600; }
.sentq-cart-row .qty { display:grid;grid-template-columns:88px 42px;gap:8px;align-items:end; }
.sentq-qty-label { display:grid;gap:5px;color:var(--sentq-muted);font-size:11px;line-height:1.2; }
.sentq-cart-row .qty input {
  width:88px;
  height:40px;
  padding:0 10px;
  border:1px solid #cfcdcd;
  border-radius:8px;
  background:#fff;
  color:#111;
  font-size:14px;
}
.sentq-cart-remove {
  width:42px;
  height:40px;
  padding:0;
  border:1px solid #cfcdcd;
  border-radius:8px;
  background:#fff;
  color:var(--sentq-burgundy);
  font-size:16px;
  cursor:pointer;
}

.sentq-summary-card,
.sentq-pickup-card {
  margin-top:12px;
  padding:20px 24px;
  border:0;
  border-radius:12px;
  background:#fff;
}
.sentq-summary-line { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.sentq-summary-card .price { color:var(--sentq-burgundy);font-size:22px;font-weight:700; }
.sentq-muted { color:var(--sentq-muted);font-size:12px;line-height:1.45; }
.sentq-pickup-card .input {
  min-height:40px;
  padding:0 12px;
  border:1px solid #cfcdcd;
  border-radius:8px;
  background:#fff;
  font-size:14px;
}
.sentq-pickup-card .pvzProviders label,
.sentq-pickup-card .pvzItem,
.sentq-pickup-card .pvzList,
.sentq-pickup-card #pvzMap { border-color:#e6e2df;border-radius:9px;background:#fff; }

.sentq-mobile-bottom-nav { display:none; }

@media (max-width:1199px) {
  .sentq-collection-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:639px) {
  .sentq-page-wrap { width:calc(100% - 24px);padding:18px 0 96px; }
  .sentq-page-topbar { align-items:flex-start;flex-direction:column;margin-bottom:12px; }
  .sentq-page-actions { width:100%;justify-content:flex-start; }
  .sentq-page-heading h1 { font-size:20px; }
  .sentq-page-subtitle { font-size:12px; }
  .sentq-collection-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
  .sentq-collection-card .title { min-height:48px;padding:7px 28px 0 4px;font-size:12px;line-height:1.35; }
  .sentq-collection-card .meta { min-height:34px;padding:4px 28px 9px 4px;font-size:10px; }
  .sentq-collection-card .favBtn { right:3px;bottom:5px;width:25px;height:25px;font-size:21px;line-height:25px; }
  .sentq-cart-row { grid-template-columns:92px minmax(0,1fr);gap:10px;padding:8px;border-radius:9px;align-items:start; }
  .sentq-cart-media-link { width:92px;height:92px; }
  .sentq-cart-row .title { font-size:13px;line-height:1.35; }
  .sentq-cart-row .meta { margin-top:5px;gap:4px; }
  .sentq-cart-row .pill { padding:3px 6px;font-size:10px; }
  .sentq-cart-row .priceStatus { font-size:10px; }
  .sentq-cart-row .qty { grid-column:1/-1;display:flex;align-items:end;justify-content:flex-end; }
  .sentq-summary-card,
  .sentq-pickup-card { padding:14px 12px;border-radius:9px; }
  .sentq-pickup-card .pvzLayout { grid-template-columns:1fr; }
  body[data-sentq-page="checkout"] .checkout-heading h1,
  body[data-sentq-page="profile"] .profile-title { display:none; }
}

/* The 480–639 px export is still a compact touch layout. Keep the full
   desktop navigation from overflowing and use the same section header as the
   approved phone version. */
@media (min-width:480px) and (max-width:639px) {
  .sentq-shell-header { height:58px;background:rgba(245,243,242,.96);color:#111;backdrop-filter:blur(8px); }
  .sentq-shell-header-inner { position:relative;width:100%;padding:0 12px;justify-content:center; }
  .sentq-shell-brand,
  .sentq-shell-nav { display:none; }
  .sentq-shell-title-mobile { display:block;font-size:15px;line-height:1.3;font-weight:600; }
  .sentq-shell-back {
    position:absolute;
    left:12px;
    top:8px;
    display:flex;
    width:42px;
    height:42px;
    padding:0;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:50%;
    background:#fff;
    color:transparent;
    box-shadow:0 4px 14px rgba(18,20,22,.1);
    font-size:0;
    line-height:0;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
  }
  .sentq-shell-back::before {
    content:"";
    display:block;
    width:12px;
    height:12px;
    margin-left:3px;
    border-left:2.2px solid #5f5f5f;
    border-bottom:2.2px solid #5f5f5f;
    transform:rotate(45deg);
  }
}

@media (max-width:479px) {
  body.sentq-collection-page { padding-bottom:calc(64px + env(safe-area-inset-bottom,0px) + var(--sentq-vv-bottom-inset,0px)); }
  .sentq-shell-header { height:58px;background:rgba(245,243,242,.96);color:#111;backdrop-filter:blur(8px); }
  .sentq-shell-header-inner { position:relative;width:100%;padding:0 12px;justify-content:center; }
  .sentq-shell-brand,
  .sentq-shell-nav { display:none; }
  .sentq-shell-title-mobile { display:block;font-size:15px;line-height:1.3;font-weight:600; }
  .sentq-shell-back {
    position:absolute;
    left:12px;
    top:8px;
    display:flex;
    width:42px;
    height:42px;
    padding:0;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:50%;
    background:#fff;
    color:transparent;
    box-shadow:0 4px 14px rgba(18,20,22,.1);
    font-size:0;
    line-height:0;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
  }
  .sentq-shell-back::before {
    content:"";
    display:block;
    width:12px;
    height:12px;
    margin-left:3px;
    border-left:2.2px solid #5f5f5f;
    border-bottom:2.2px solid #5f5f5f;
    transform:rotate(45deg);
  }
  .sentq-page-wrap { width:calc(100% - 16px);padding-top:10px;padding-bottom:28px; }
  .sentq-page-heading h1 { display:none; }
  .sentq-page-subtitle { margin:0;font-size:11px; }
  .sentq-page-topbar { gap:9px; }
  .sentq-page-actions { gap:6px; }
  .sentq-button { min-height:36px;padding:0 10px;font-size:11px; }
  .sentq-empty { padding:20px 14px;border-radius:9px; }
  .sentq-collection-grid { gap:2px; }
  .sentq-collection-card { border-radius:9px; }
  .sentq-collection-card .title { min-height:0;height:auto;padding-top:4px;font-size:14px;line-height:1.15;display:block;overflow:visible; }
  .sentq-collection-card .meta { min-height:0;height:auto;padding-top:3px;font-size:11px;line-height:1.55;white-space:normal; }
  .sentq-cart-list { gap:8px; }
  .sentq-cart-row { grid-template-columns:84px minmax(0,1fr); }
  .sentq-cart-media-link { width:84px;height:84px; }
  .sentq-summary-card .price { font-size:18px; }
  .sentq-mobile-bottom-nav {
    position:fixed;
    z-index:990;
    right:0;
    bottom:var(--sentq-vv-bottom-inset,0px);
    left:0;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    height:64px;
    padding:0 8px env(safe-area-inset-bottom,0);
    border-radius:12px 12px 0 0;
    background:rgba(26,32,38,.95);
  }
  .sentq-mobile-bottom-nav a {
    position:relative;
    display:flex;
    min-width:0;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    text-decoration:none;
  }
  .sentq-mobile-bottom-nav a::before {
    position:absolute;
    top:5px;
    left:50%;
    width:24px;
    height:2px;
    border-radius:2px;
    background:transparent;
    content:"";
    transform:translateX(-50%);
  }
  .sentq-mobile-bottom-nav a.is-active::before { background:var(--sentq-burgundy); }
  .sentq-mobile-bottom-nav .sentq-nav-icon-wrap {
    position:relative;
    display:block;
    flex:0 0 auto;
    width:clamp(20px,6.25vw,30px);
    height:clamp(20px,6.25vw,30px);
  }
  .sentq-mobile-bottom-nav a[aria-label="Главная"] .sentq-nav-icon-wrap {
    width:clamp(22px,6.875vw,33px);
    height:clamp(22px,6.875vw,33px);
  }
  .sentq-mobile-bottom-nav a[aria-label="Корзина"] .sentq-nav-icon-wrap,
  .sentq-mobile-bottom-nav a[aria-label="Профиль"] .sentq-nav-icon-wrap {
    width:clamp(21px,6.5625vw,31.5px);
    height:clamp(21px,6.5625vw,31.5px);
  }
  .sentq-mobile-bottom-nav img { display:block;width:100%;height:100%;object-fit:contain; }
  .sentq-mobile-bottom-nav .sentq-nav-badge {
    position:absolute;
    z-index:2;
    right:-1.25vw;
    top:-0.625vw;
    display:inline-flex;
    width:clamp(12px,3.75vw,18px);
    min-width:clamp(12px,3.75vw,18px);
    height:clamp(12px,3.75vw,18px);
    padding:0;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    background:rgba(142,23,51,.8);
    color:#fff;
    font-size:clamp(8px,2.5vw,12px);
    line-height:1;
    font-weight:700;
    box-shadow:none;
    pointer-events:none;
  }
  .sentq-mobile-bottom-nav a[aria-label="Сообщения"] .sentq-nav-badge,
  .sentq-mobile-bottom-nav a[aria-label="Избранное"] .sentq-nav-badge { transform:translateY(-2px); }
  .sentq-mobile-bottom-nav .sentq-nav-badge[hidden] { display:none !important; }
}


/* Stage 4.76.16 — exact mobile geometry from the two supplied Tilda bottom bars. */
@media (max-width:639px) {
  :root {
    --sentq-tilda-common-bar-height:clamp(43px,13.4375vw,64.5px);
    --sentq-tilda-cart-bar-height:clamp(84px,26.25vw,126px);
  }

  /* The supplied Tilda bars are fixed directly to the visual viewport. */
  .sentq-mobile-bottom-nav.sentq-tilda-common-bar,
  .sentq-mobile-bottom-nav.sentq-tilda-cart-bar {
    position:fixed;
    z-index:2147483646 !important;
    right:0;
    bottom:0 !important;
    left:0;
    padding:0;
    border-radius:clamp(12px,3.75vw,18px) clamp(12px,3.75vw,18px) 0 0;
    background:rgba(26,32,38,.95);
    overflow:visible;
  }

  body[data-sentq-page="favorites"],
  body[data-sentq-page="support"],
  body[data-sentq-page="profile"],
  body[data-sentq-page="checkout"],
  body[data-sentq-page="order-result"] {
    padding-bottom:var(--sentq-tilda-common-bar-height) !important;
  }
  body[data-sentq-page="cart"] {
    padding-bottom:var(--sentq-tilda-cart-bar-height) !important;
  }

  /* Second supplied archive: compact 38px Tilda bar (base width 320). */
  .sentq-mobile-bottom-nav.sentq-tilda-common-bar {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    height:var(--sentq-tilda-common-bar-height);
  }
  .sentq-mobile-bottom-nav.sentq-tilda-common-bar > a {
    position:relative;
    display:flex;
    min-width:0;
    height:100%;
    padding:0;
    align-items:center;
    justify-content:center;
    border-radius:0;
    text-decoration:none;
  }

  /* First supplied archive: 84px Tilda bar with fixed order button. */
  .sentq-mobile-bottom-nav.sentq-tilda-cart-bar {
    display:block;
    height:var(--sentq-tilda-cart-bar-height);
  }
  body[data-sentq-page="cart"].sentq-cart-empty-mobile {
    padding-bottom:var(--sentq-tilda-common-bar-height) !important;
  }
  .sentq-mobile-bottom-nav.sentq-tilda-cart-bar.is-empty-cart {
    height:var(--sentq-tilda-common-bar-height);
  }
  .sentq-mobile-bottom-nav.sentq-tilda-cart-bar.is-empty-cart .sentq-tilda-cart-order {
    display:none !important;
  }
  .sentq-mobile-bottom-nav.sentq-tilda-cart-bar.is-empty-cart .sentq-tilda-cart-nav-row {
    top:0;
    height:100%;
  }
  .sentq-tilda-cart-order {
    position:absolute;
    z-index:3;
    top:clamp(8px,2.5vw,12px);
    right:clamp(8px,2.5vw,12px);
    left:clamp(8px,2.5vw,12px);
    display:flex;
    height:clamp(36px,11.25vw,54px);
    padding:0;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:clamp(8px,2.5vw,12px);
    background:#8e1733;
    color:#fff !important;
    -webkit-text-fill-color:#fff;
    font:600 clamp(14px,4.375vw,21px)/1.55 TildaSans,Arial,sans-serif;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
  }
  .sentq-tilda-cart-order:hover,
  .sentq-tilda-cart-order:active { background:#8e1733; }
  .sentq-tilda-cart-nav-row {
    position:absolute;
    z-index:3;
    top:clamp(43px,13.4375vw,64.5px);
    right:0;
    left:0;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    height:var(--sentq-tilda-common-bar-height);
  }
  .sentq-tilda-cart-nav-row > a {
    position:relative;
    display:flex;
    min-width:0;
    height:100%;
    align-items:center;
    justify-content:center;
    border-radius:0;
    text-decoration:none;
  }
  .sentq-cart-order-top { display:none !important; }

  /* Exact Tilda icon sizes: 320px values scale up with the viewport to 480px. */
  .sentq-tilda-common-bar .sentq-nav-icon-wrap,
  .sentq-tilda-cart-bar .sentq-nav-icon-wrap {
    position:relative;
    display:block;
    flex:0 0 auto;
    width:clamp(20px,6.25vw,30px);
    height:clamp(20px,6.25vw,30px);
  }
  .sentq-tilda-common-bar a[aria-label="Главная"] .sentq-nav-icon-wrap,
  .sentq-tilda-cart-bar a[aria-label="Главная"] .sentq-nav-icon-wrap {
    width:clamp(22px,6.875vw,33px);
    height:clamp(22px,6.875vw,33px);
  }
  .sentq-tilda-common-bar a[aria-label="Корзина"] .sentq-nav-icon-wrap,
  .sentq-tilda-common-bar a[aria-label="Профиль"] .sentq-nav-icon-wrap,
  .sentq-tilda-cart-bar a[aria-label="Корзина"] .sentq-nav-icon-wrap,
  .sentq-tilda-cart-bar a[aria-label="Профиль"] .sentq-nav-icon-wrap {
    width:clamp(21px,6.5625vw,31.5px);
    height:clamp(21px,6.5625vw,31.5px);
  }
  .sentq-tilda-common-bar img,
  .sentq-tilda-cart-bar img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
  }

  /* Burgundy active-section indicator over the icon row. */
  .sentq-tilda-common-bar a::before,
  .sentq-tilda-cart-bar .sentq-tilda-cart-nav-row a::before {
    position:absolute;
    top:clamp(2px,.625vw,3px);
    left:50%;
    width:clamp(24px,7.5vw,36px);
    height:clamp(2px,.625vw,3px);
    border-radius:999px;
    background:transparent;
    content:"";
    transform:translateX(-50%);
  }
  .sentq-tilda-common-bar a.is-active::before,
  .sentq-tilda-cart-bar .sentq-tilda-cart-nav-row a.is-active::before {
    background:#8e1733;
  }

  /* Counters remain attached to their own icon and scale with the Tilda bar. */
  .sentq-tilda-common-bar .sentq-nav-badge,
  .sentq-tilda-cart-bar .sentq-nav-badge {
    position:absolute;
    z-index:5;
    right:-1.25vw;
    top:-.625vw;
    display:inline-flex;
    width:clamp(12px,3.75vw,18px);
    min-width:clamp(12px,3.75vw,18px);
    height:clamp(12px,3.75vw,18px);
    padding:0;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    background:rgba(142,23,51,.8);
    color:#fff;
    font-size:clamp(8px,2.5vw,12px);
    line-height:1;
    font-weight:700;
    box-shadow:none;
    pointer-events:none;
  }
  .sentq-tilda-common-bar a[aria-label="Сообщения"] .sentq-nav-badge,
  .sentq-tilda-common-bar a[aria-label="Поддержка"] .sentq-nav-badge,
  .sentq-tilda-common-bar a[aria-label="Избранное"] .sentq-nav-badge,
  .sentq-tilda-cart-bar a[aria-label="Сообщения"] .sentq-nav-badge,
  .sentq-tilda-cart-bar a[aria-label="Поддержка"] .sentq-nav-badge,
  .sentq-tilda-cart-bar a[aria-label="Избранное"] .sentq-nav-badge {
    transform:translateY(-2px);
  }
  .sentq-tilda-common-bar .sentq-nav-badge[hidden],
  .sentq-tilda-cart-bar .sentq-nav-badge[hidden] { display:none !important; }

  /* iOS Safari auto-zooms focused form controls below 16 CSS px. */
  body[data-sentq-page="cart"] #pickupCity,
  body[data-sentq-page="cart"] .sentq-cart-row .qty input,
  body[data-sentq-page="checkout"] input,
  body[data-sentq-page="profile"] input,
  body[data-sentq-page="profile"] select,
  body[data-sentq-page="profile"] textarea {
    font-size:16px !important;
  }
}

@media (max-width:359px) {
  body[data-sentq-page="cart"] .pvzControls { align-items:stretch; }
  body[data-sentq-page="cart"] .pvzControls .input,
  body[data-sentq-page="cart"] .pvzControls .sentq-button { width:100%; }
  body[data-sentq-page="cart"] .sentq-summary-line { align-items:flex-start;flex-direction:column; }
  body[data-sentq-page="profile"] .profile-order,
  body[data-sentq-page="profile"] .profile-session { align-items:stretch;flex-direction:column; }
  body[data-sentq-page="profile"] .profile-order-status { white-space:normal;overflow-wrap:anywhere; }
}

.sentq-cart-remove {
  display:flex;
  align-items:center;
  justify-content:center;
}
.sentq-cart-remove img {
  display:block;
  width:20px;
  height:20px;
  object-fit:contain;
  pointer-events:none;
}
