/* Каталог освещения и корзина (13.10.2026). Фирменные: #14735c, тёмный #0b4c3d, мята #a0e4cd, линии #dfe5e1. */
.svn { background: #fff; border-bottom: 1px solid #dfe5e1; position: relative; z-index: 5; }
.svn__in { display: flex; gap: 6px; align-items: center; min-height: 52px; overflow-x: auto; scrollbar-width: none; }
.svn__in::-webkit-scrollbar { display: none; }
.svn__a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 6px; color: var(--ink, #202522); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.svn__a:hover { background: #f4f6f5; }
.svn__a.is-on { background: #e9f3ef; color: #0b4c3d; }
.svn__cart { margin-left: auto; }
.svn__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #14735c; color: #fff; font-size: 12.5px; font-weight: 800; box-sizing: border-box; }
.svn__n[hidden] { display: none; }

.svs { padding: 28px 0 56px; }
.svs__crumbs { font-size: 13.5px; color: var(--muted, #65706a); margin-bottom: 10px; }
.svs__crumbs a { color: inherit; text-decoration: none; }
.svs__crumbs a:hover { color: #14735c; text-decoration: underline; }
.svs__h { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0 0 6px; }
.svs__sub { margin: 0 0 18px; color: var(--muted, #65706a); }

.svt { list-style: none; margin: 0 0 22px; padding: 14px 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; background: #f4f6f5; border-radius: 8px; font-size: 13.5px; color: var(--ink-2, #424944); line-height: 1.4; }
.svt b { color: #0b4c3d; display: block; font-size: 14px; }

.svs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.svs-filter { display: grid; gap: 16px; position: sticky; top: 90px; }
.svs-filter details { border: 0; }
.svs-filter summary { display: none; }
.svs-filter__t { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #65706a); margin: 0 0 6px; }
.svs-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.svs-cats a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 6px; color: var(--ink, #202522); text-decoration: none; font-size: 14.5px; }
.svs-cats a:hover { background: #f4f6f5; }
.svs-cats a.is-on { background: #e9f3ef; color: #0b4c3d; font-weight: 700; }
.svs-cats span { color: var(--muted, #65706a); font-size: 13px; }
.svs-f input, .svs-f select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #bcc8c0; border-radius: 6px; background: #fff; font: inherit; font-size: 15px; box-sizing: border-box; }
.svs-f__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svs-f label.svs-check { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.svs-f label.svs-check input { width: auto; min-height: 0; }
.svs-f .btn { width: 100%; justify-content: center; min-height: 42px; }

.svs-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14.5px; color: var(--muted, #65706a); }
.svs-bar select { min-height: 38px; padding: 6px 10px; border: 1px solid #bcc8c0; border-radius: 6px; font: inherit; background: #fff; }

.svs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svs-card { display: flex; flex-direction: column; border: 1px solid #dfe5e1; border-radius: 8px; background: #fff; overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.svs-card:hover { border-color: #b9dccd; box-shadow: 0 6px 20px rgba(20,22,30,.07); }
.svs-card__img { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid #f0f3f1; }
.svs-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; display: block; }
.svs-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; flex: 1; }
.svs-card__brand { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #14735c; }
.svs-card__name { color: var(--ink, #202522); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svs-card__name:hover { color: #14735c; }
.svs-card__art { font-size: 12.5px; color: var(--muted, #65706a); }
.svs-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.svs-card__price { font-size: 19px; font-weight: 800; color: var(--ink, #202522); white-space: nowrap; }
.svs-add { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 6px; background: #14735c; color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.svs-add:hover { background: #0b4c3d; }
.svs-add.is-added { background: #e9f3ef; color: #0b4c3d; }
.svs-na { font-size: 12.5px; color: #9a6207; }

.svs-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 26px; }
.svs-pages a, .svs-pages span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid #dfe5e1; border-radius: 6px; color: var(--ink, #202522); text-decoration: none; box-sizing: border-box; }
.svs-pages span.is-on { background: #0b4c3d; color: #fff; border-color: #0b4c3d; }

.svs-empty { padding: 36px 24px; border: 1px dashed #bcc8c0; border-radius: 8px; text-align: center; background: #fff; }
.svs-empty h2 { font-size: 22px; margin: 0 0 8px; }
.svs-empty p { margin: 0 auto 16px; max-width: 34em; color: var(--ink-2, #424944); }

/* карточка товара */
.svp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: start; }
.svp-gal__main { aspect-ratio: 1; border: 1px solid #dfe5e1; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.svp-gal__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; box-sizing: border-box; }
.svp-gal__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.svp-gal__thumbs button { flex: none; width: 72px; height: 72px; border: 1px solid #dfe5e1; border-radius: 6px; background: #fff; padding: 4px; cursor: pointer; }
.svp-gal__thumbs button.is-on { border-color: #14735c; box-shadow: 0 0 0 1px #14735c inset; }
.svp-gal__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.svp-info { display: grid; gap: 12px; }
.svp-brand { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #14735c; }
.svp-info h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0; }
.svp-art { font-size: 14px; color: var(--muted, #65706a); }
.svp-buy { display: grid; gap: 12px; padding: 18px; border: 1px solid #dfe5e1; border-radius: 8px; background: #fff; }
.svp-price { font-size: 30px; font-weight: 800; color: var(--ink, #202522); }
.svp-price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted, #65706a); margin-top: 2px; }
.svp-buy__row { display: flex; gap: 10px; align-items: stretch; }
.svp-qty { display: inline-flex; align-items: center; border: 1px solid #bcc8c0; border-radius: 6px; overflow: hidden; }
.svp-qty button { width: 40px; height: 48px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: #0b4c3d; }
.svp-qty input { width: 46px; height: 48px; border: 0; text-align: center; font: inherit; font-size: 16px; -moz-appearance: textfield; }
.svp-qty input::-webkit-outer-spin-button, .svp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.svp-buy .svs-add { flex: 1; min-height: 50px; font-size: 16px; }
.svp-help { font-size: 14px; color: var(--ink-2, #424944); }
.svp-help a { color: #14735c; }
.svp-sec { margin-top: 36px; }
.svp-sec h2 { font-size: 22px; margin: 0 0 12px; }
.svp-params { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.svp-params li { break-inside: avoid; display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eef1ef; font-size: 14.5px; }
.svp-params li span:first-child { color: var(--muted, #65706a); }
.svp-params li span:last-child { text-align: right; color: var(--ink, #202522); }
.svp-desc { font-size: 15.5px; line-height: 1.6; color: var(--ink-2, #424944); max-width: 52em; }

/* корзина */
.svc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.svc-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto 32px; gap: 14px; align-items: center; padding: 12px; border: 1px solid #dfe5e1; border-radius: 8px; background: #fff; }
.svc-line__img { width: 84px; height: 84px; display: grid; place-items: center; }
.svc-line__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.svc-line__main { display: grid; gap: 4px; min-width: 0; }
.svc-line__name { color: var(--ink, #202522); font-weight: 600; text-decoration: none; line-height: 1.35; }
.svc-line__meta { font-size: 13px; color: var(--muted, #65706a); }
.svc-line__meta b { color: #9a6207; font-weight: 600; }
.svc-qty { display: inline-flex; align-items: center; border: 1px solid #bcc8c0; border-radius: 6px; }
.svc-qty button { width: 34px; height: 36px; border: 0; background: none; font-size: 18px; cursor: pointer; color: #0b4c3d; }
.svc-qty span { min-width: 28px; text-align: center; font-weight: 700; }
.svc-line__sum { white-space: nowrap; font-size: 16px; }
.svc-line__x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f4f6f5; font-size: 18px; cursor: pointer; color: var(--muted, #65706a); }
.svc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px 0; font-size: 16px; }
.svc-total b { font-size: 24px; color: #0b4c3d; }
.svc-note { font-size: 13.5px; color: var(--muted, #65706a); margin: 8px 4px 0; }
.svc.is-empty .svc-full { display: none; }
.svc:not(.is-empty) .svc-emptybox { display: none; }
.svc-form { display: grid; gap: 14px; padding: 20px; border: 1px solid #dfe5e1; border-radius: 8px; background: #fff; position: sticky; top: 90px; }
.svc-form h2 { font-size: 20px; margin: 0; }
.svc-form label.svc-f { display: grid; gap: 6px; font-size: 13px; color: var(--muted, #65706a); }
.svc-form input[type=text], .svc-form input[type=tel], .svc-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bcc8c0; border-radius: 6px; font: inherit; font-size: 16px; color: var(--ink, #202522); box-sizing: border-box; background: #fff; }
.svc-form textarea { min-height: 70px; resize: vertical; }
.svc-form [hidden] { display: none !important; }
.svc-radios { display: grid; gap: 6px; }
.svc-radios label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #dfe5e1; border-radius: 6px; cursor: pointer; font-size: 14.5px; color: var(--ink, #202522); }
.svc-radios label:has(input:checked) { border-color: #14735c; background: #e9f3ef; }
.svc-form .btn { width: 100%; justify-content: center; }
.svc-form [data-svet-error] { margin: 0; color: #b42318; font-size: 14px; }
.svc-form [data-svet-error]:empty { display: none; }
.svc-terms { margin-top: 26px; font-size: 13.5px; color: var(--muted, #65706a); line-height: 1.55; }
.svc-terms h2 { font-size: 16px; color: var(--ink, #202522); margin: 0 0 6px; }
.svc-terms p { margin: 0 0 6px; }
.svc-done { padding: 36px 24px; border: 1px solid #b9dccd; background: #f4faf7; border-radius: 8px; text-align: center; }
.svc-done h2 { font-size: 26px; margin: 10px 0 8px; }
.svc-done p { margin: 0 auto 8px; max-width: 36em; color: var(--ink-2, #424944); }

.svs-toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 90; padding: 12px 18px; border-radius: 8px; background: #0b4c3d; color: #fff; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: opacity .2s, transform .2s; white-space: nowrap; }
.svs-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.svs-toast a { color: #a0e4cd; font-weight: 700; margin-left: 6px; }

@media (max-width: 1100px) {
  .svs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .svs-layout, .svp, .svc { grid-template-columns: minmax(0, 1fr); }
  .svs-filter { position: static; }
  .svs-filter details { border: 1px solid #dfe5e1; border-radius: 8px; padding: 0 14px; background: #fff; }
  .svs-filter summary { display: block; padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
  .svs-filter details[open] summary { border-bottom: 1px solid #eef1ef; margin-bottom: 12px; }
  .svs-filter details > div { display: grid; gap: 16px; padding-bottom: 14px; }
  .svc-form { position: static; }
  .svp-params { columns: 1; }
}
@media (max-width: 720px) {
  .svs { padding: 18px 0 40px; }
  .svs-grid { gap: 10px; }
  .svs-card__body { padding: 10px 10px 12px; }
  .svs-card__name { font-size: 14px; }
  .svs-card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .svs-card__price { font-size: 17px; }
  .svt { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .svc-line { grid-template-columns: 64px minmax(0, 1fr) 28px; grid-template-areas: "img main x" "img qty sum"; row-gap: 8px; }
  .svc-line__img { grid-area: img; width: 64px; height: 64px; }
  .svc-line__main { grid-area: main; }
  .svc-qty { grid-area: qty; justify-self: start; }
  .svc-line__sum { grid-area: sum; justify-self: end; }
  .svc-line__x { grid-area: x; width: 28px; height: 28px; }
  .svs-toast { bottom: 88px; }
}

.svs-filter details > div { display: grid; gap: 20px; }
/* в магазине свой путь к заказу – кнопку чата не показываем, чтобы не закрывала карточки и корзину */
.page-shop .pa-fab { display: none !important; }
@media (max-width: 720px) {
  .svc-total { flex-direction: column; align-items: flex-start; gap: 2px; }
  .svc-total b { font-size: 22px; }
}
