/* =========================================================
   ТЕМА «Фиолетовая»: шрифт Exo 2, фиолетовый акцент,
   тёмно-баклажановый первый экран, скруглённые «таблетки».
   Подключается после style.css. Главный цвет — --accent.
   ========================================================= */
:root {
  --bg: #FAF9FD;
  --surface: #FFFFFF;
  --soft: #F3F0FA;
  --chip: #ECE7F8;
  --ink: #1B1530;
  --muted: #5E5873;
  --line: #E4DEF2;
  --accent: #6B3FD4;
  --accent-hover: #5A2FC0;
  --accent-ink: #4A22A8;
  --accent-light: #B79CFF;
  --accent-soft: #EEE8FC;
  --dark: #1C1233;
  --dark-2: #2A1B4A;

  --f-head: "Exo 2", system-ui, sans-serif;
  --f-body: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-hero: clamp(2rem, 1rem + 3.4vw, 4rem);
  --step-h2: clamp(1.6rem, 1rem + 1.9vw, 2.6rem);
  --step-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 22px;
}
::selection { background: var(--accent); color: #fff; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
h1 { letter-spacing: -0.02em; font-weight: 800; }
.eyebrow { color: var(--accent-ink); letter-spacing: .08em; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
:focus-visible { outline-color: var(--accent); }

/* кнопки — фиолетовые таблетки */
.btn { background: var(--accent); color: #fff; border-radius: 999px; font-weight: 700; padding: 1.05rem 1.9rem; box-shadow: 0 10px 24px -12px rgba(107,63,212,.8); }
.btn:hover { background: var(--accent-hover); box-shadow: 0 14px 28px -12px rgba(107,63,212,.9); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent-soft); }

/* шапка */
.header { background: rgba(250,249,253,.9); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { font-weight: 800; font-size: 1.35rem; }
.logo-mark { background: var(--accent); border-radius: 12px; }
.nav a { font-weight: 600; }
.nav a:hover { color: var(--accent-ink); }
.lang { background: var(--chip); border-radius: 999px; }
.lang button { border-radius: 999px; }
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: none; }

/* первый экран — тёмная плашка */
.hero { padding-block: 1rem var(--space-section); }
.hero > .wrap {
  background: var(--dark);
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.3rem, 4vw, 4rem);
  max-width: calc(1200px + 2 * clamp(1rem, 4vw, 2rem));
  position: relative; overflow: hidden; overflow: clip;
}
.hero > .wrap::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(107,63,212,.55), transparent);
  pointer-events: none;
}
.hero > .wrap > * { position: relative; }
.hero .eyebrow { color: var(--accent-light); }
.hero .eyebrow::before { background: var(--accent-light); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--accent-light); }
.hero-lead { color: #CFC8E3; }
.hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-facts { border-top-color: rgba(255,255,255,.14); }
.hero-facts b { color: #fff; font-weight: 800; }
.hero-facts span { color: #A79FC0; }
.lock-screen i.on { background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light); }
.keypad span { color: #CDB8FF; text-shadow: 0 0 6px rgba(183,156,255,.6); }
.chip { background: #fff; color: var(--ink); }
.chip b { color: var(--accent); }
.toast-ic { background: var(--accent-soft); }

/* «боли» */
.pain { background: var(--surface); border: 0; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(40,20,90,.35); }
.pain:nth-child(2) { background: var(--accent); color: #fff; box-shadow: none; }
.pain:nth-child(2) p { color: #E6DDFF; }
.pain-n { color: var(--accent); }
.pain:nth-child(2) .pain-n { color: #fff; }

/* тёмный блок способов открытия */
.methods { background: var(--dark); }
.methods .eyebrow { color: var(--accent-light); }
.methods .eyebrow::before { background: var(--accent-light); }
.methods .section-head p, .method span, .methods-note { color: #B8B0CF; }
.method-list, .method, .method:nth-child(n+4) { border-color: rgba(255,255,255,.1); }
.method svg { color: var(--accent-light); }

/* фильтры — таблетки */
.filter button { border-radius: 999px; background: var(--surface); border-color: var(--line); font-weight: 600; }
.filter button:hover { border-color: var(--accent); color: var(--accent-ink); }
.filter button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* карточки товаров — без рамок, мягкая тень */
.card { border: 0; box-shadow: 0 1px 0 var(--line), 0 20px 44px -34px rgba(40,20,90,.45); }
.card:hover { box-shadow: 0 1px 0 var(--line), 0 28px 56px -30px rgba(40,20,90,.5); }
.card-img { border-bottom-color: var(--soft); }
.card--hit .card-img { border-right-color: var(--soft); }
.badge { border-radius: 999px; }
.badge--accent { background: var(--accent); color: #fff; }
.brand { color: #A39DB6; }
.tags span { background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; }
.price b { font-weight: 800; }
.card-img .mini::before { background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(183,156,255,.45) 7px 9px); }
.card-link { color: var(--accent-ink); }
.card-link:hover { color: var(--accent); }
.card-title:hover { color: var(--accent-ink); }

/* умный дом */
.home-grid { gap: 1rem; background: transparent; border: 0; overflow: visible; }
.tile { background: var(--surface); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(40,20,90,.4); }
.tile:hover { background: var(--surface); transform: translateY(-3px); }
.tile { transition: transform .3s var(--ease); }
.tile svg { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.tile .tag { background: var(--accent-soft); color: var(--accent-ink); }
.tile .tag--muted { background: var(--soft); color: var(--muted); }
.tile-link:hover { color: var(--accent-ink); }

/* шаги */
.step { padding-top: 3.8rem; }
.step::before { -webkit-text-stroke: 0; color: #fff; background: var(--accent); font-size: 1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; }
.step::after { left: 3.8rem; top: 1.4rem; border-top: 2px dashed var(--line); background: none; height: 0; }

/* доставка */
.geo-box { border: 0; box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(40,20,90,.4); }
.geo-box--kz { background: var(--accent); color: #fff; box-shadow: none; }
.geo-box--kz p { color: #E6DDFF; }
.geo-box--kz .cities span { background: rgba(255,255,255,.16); }
.geo-box--kz .cities span.main { background: #fff; color: var(--accent-ink); }
.geo-box:not(.geo-box--kz) .cities span { background: var(--soft); }
.pay > div { background: var(--surface); border: 1.5px dashed var(--line); }

/* гарантии */
.offer-list { border-top: 2px solid var(--accent); }
.offer-list svg { color: var(--accent); }

/* FAQ */
summary:hover { color: var(--accent-ink); }
summary::after { border-color: var(--accent); }

/* заявка */
.final { background: var(--dark); }
.final .eyebrow { color: var(--accent-light); }
.final .eyebrow::before { background: var(--accent-light); }
.final p, .contacts div { color: #B8B0CF; }
.contacts svg { color: var(--accent-light); }
.contacts a:hover { color: var(--accent-light); }
.form { border-radius: 28px; }
.field input, .field select { background: var(--soft); border-color: var(--soft); border-radius: 14px; }
.field input:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.radios span { border-radius: 999px; }
.radios input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }

/* футер и плавающая кнопка */
.footer { background: #140C26; border-top-color: rgba(255,255,255,.06); color: #8E86A6; }
.footer a:hover { color: var(--accent-light); }
.fab { background: var(--accent); border-radius: 50%; box-shadow: 0 12px 28px -10px rgba(107,63,212,.8); }
.fab svg { fill: #fff; }

/* страница товара */
.crumbs a:hover { color: var(--accent-ink); }
.pp-brand { color: var(--accent-ink); }
.gallery-main { border: 0; border-radius: 28px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(40,20,90,.45); }
.thumbs button { border-radius: 14px; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pp-price { background: var(--surface); border: 0; box-shadow: 0 1px 0 var(--line), 0 20px 44px -34px rgba(40,20,90,.45); }
.pp-benefits svg { color: var(--accent); }
.fit { background: var(--accent); color: #fff; }
.fit h2 { color: #fff; }
.fit p { color: #E6DDFF; }
.fit .btn { background: #fff; color: var(--accent-ink); box-shadow: none; }
.fit .btn:hover { background: var(--dark); color: #fff; }

/* плашка первого экрана с отступами от краёв */
.hero > .wrap { width: calc(100% - 2 * clamp(.6rem, 2vw, 1.5rem)); margin-inline: auto; }

/* фото на первом экране вместо нарисованной двери */
.stage-photo { position: absolute; inset: 0 6% 0 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); background: #22355a; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.toast { animation: toast-in .8s var(--ease) 1s both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* блок «Почему Philips» */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.brand-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -40px rgba(40,20,90,.55); }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-grid h2 { margin: 1rem 0 1rem; }
.brand-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.6rem; }
.brand-stats div { background: var(--surface); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: 0 1px 0 var(--line), 0 16px 34px -28px rgba(40,20,90,.45); }
.brand-stats b { display: block; font: 800 1.6rem/1.1 var(--f-head); color: var(--accent); }
.brand-stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .brand-grid { grid-template-columns: 1fr; } }

/* «Главное о модели» на странице товара */
.pp-feat { list-style: none; display: grid; gap: .55rem; }
.pp-feat li { position: relative; padding-left: 2rem; font-size: .98rem; }
.pp-feat li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B3FD4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat; }
.pp-src { margin-top: .6rem; font-size: .8rem; color: var(--muted); }

/* фото всегда целиком внутри рамки (высокие рендеры не обрезаются) */
.gallery-main, .card-img { position: relative; }
.gallery-main img, .card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card--hit .card-img img { padding: 4%; }

/* =========================================================
   ВИТРИНА ЗАМКОВ — первый экран
   ========================================================= */
.showcase {
  position: relative; overflow: hidden; overflow: clip;
  margin: .6rem clamp(.6rem, 2vw, 1.5rem) 0;
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(ellipse 60% 55% at 50% 62%, rgba(140, 96, 255, .42), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 100%, #2c1a55, transparent 70%),
    var(--dark);
  color: #fff;
  min-height: calc(100svh - 84px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.4rem, 4vh, 3rem) 0 clamp(1.4rem, 3.5vh, 2.4rem);
}
.sc-head { text-align: center; }
.sc-head .eyebrow { color: var(--accent-light); justify-content: center; }
.sc-head .eyebrow::before { background: var(--accent-light); }
.sc-head h1 { color: #fff; font-size: clamp(1.7rem, 1rem + 2.5vw, 3.3rem); line-height: 1.08; margin-top: .7rem; }
.sc-head h1 em { font-style: normal; color: var(--accent-light); display: block; }

.sc-wall {
  display: flex; align-items: flex-end; justify-content: safe center;
  gap: clamp(.5rem, 1.6vw, 1.6rem);
  height: clamp(280px, 52vh, 600px);
  padding: 1.2rem clamp(1rem, 3vw, 2rem) 3.2rem;
  overflow-x: auto; overflow-y: visible;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.sc-wall::-webkit-scrollbar { display: none; }
.sc-item {
  position: relative; flex: 0 0 auto;
  height: var(--h, 100%);
  display: block; text-decoration: none; color: #fff;
  scroll-snap-align: center;
  animation: sc-float 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.65s);
  outline-offset: 6px;
}
.sc-item img {
  height: 100%; width: auto; display: block;
  filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .55));
  -webkit-mask-image: linear-gradient(#000 93%, transparent);
          mask-image: linear-gradient(#000 93%, transparent);
  transition: transform .45s var(--ease), filter .45s var(--ease);
  user-select: none;
}
.sc-item:hover img, .sc-item:focus-visible img {
  transform: translateY(-12px) scale(1.05);
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(183, 156, 255, .35));
}
.sc-cap {
  position: absolute; left: 50%; bottom: -2.9rem; transform: translate(-50%, 6px);
  white-space: nowrap; text-align: center;
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  padding: .35rem .8rem; font-size: .8rem; line-height: 1.2;
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.sc-cap b { font-weight: 700; }
.sc-cap small { margin-left: .4rem; color: var(--accent-light); font-weight: 700; font-size: .8rem; }
.sc-item:hover .sc-cap, .sc-item:focus-visible .sc-cap { opacity: 1; transform: translate(-50%, 0); }
@keyframes sc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.sc-foot { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; }
.sc-note { color: #B8B0CF; font-size: .9rem; }
.sc-foot .btn svg { transition: transform .3s var(--ease); }
.sc-foot .btn:hover svg { transform: translateY(3px); }

/* телефон: ряд листается пальцем, подписи видны всегда */
@media (max-width: 820px) {
  .showcase { min-height: calc(100svh - 80px); }
  .sc-wall { justify-content: flex-start; height: clamp(260px, 50vh, 460px); scroll-snap-type: x mandatory; }
  .sc-item { height: 100%; }
  .sc-cap { opacity: 1; transform: translate(-50%, 0); font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-item { animation: none; }
}

/* телефон: подпись под замком, в две строки, не налезает на соседей */
@media (max-width: 820px) {
  .sc-wall { padding-bottom: 1rem; gap: .9rem; }
  .sc-item { display: flex; flex-direction: column; align-items: center; }
  .sc-item img { height: calc(100% - 3.1rem); }
  .sc-cap { position: static; transform: none; margin-top: .45rem; padding: 0; background: none; border: 0;
            backdrop-filter: none; -webkit-backdrop-filter: none; white-space: normal; max-width: 7.5rem; }
  .sc-cap b, .sc-cap small { display: block; margin: 0; }
  .sc-head .eyebrow::before { display: none; }
}

/* компьютер: замки максимально крупно, но весь ряд помещается по ширине */
@media (min-width: 821px) {
  .sc-wall { height: clamp(300px, min(62vh, calc((100vw - 300px) / 2.45)), 700px); }
}


/* =========================================================
   ЛИСТ ХАРАКТЕРИСТИК на странице товара
   ========================================================= */
.pp-more { display: inline-block; margin-top: .8rem; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.pp-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet { padding-block: 0 var(--space-section); scroll-margin-top: 84px; }
.sh-icons {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  background: linear-gradient(100deg, var(--dark), #3a2470 70%, var(--accent));
  border-radius: var(--radius); padding: 1.4rem .6rem; color: #fff;
}
.sh-icons li { display: grid; justify-items: center; align-content: start; gap: .55rem; text-align: center; padding: .2rem .7rem; font-size: .88rem; font-weight: 600; line-height: 1.25; border-right: 1px solid rgba(255,255,255,.16); }
.sh-icons li:last-child { border-right: 0; }
.sh-icons svg { width: 44px; height: 44px; padding: 9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.65); }
.sh-dims { margin-top: clamp(2rem, 4vw, 3rem); }
.sh-dims h2, .sh-title { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin-bottom: 1rem; }
.sh-dims img { display: block; width: 100%; max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: clamp(.8rem, 2vw, 1.5rem); box-shadow: 0 1px 0 var(--line); }
.sh-title { margin-top: clamp(2rem, 4vw, 3rem); }
.sh-cols { columns: 3 300px; column-gap: 1.4rem; }
.sh-group { break-inside: avoid; margin-bottom: 1.2rem; }
.sh-group h3 { font-size: .95rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 10px; padding: .45rem .75rem; margin-bottom: .2rem; }
.sh-group dl > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: .8rem; padding: .45rem .75rem; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.35; }
.sh-group dt { color: var(--muted); }
.sh-group dd { text-align: right; font-weight: 600; }
.sh-notes { list-style: none; margin-top: .6rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .sh-icons { grid-template-columns: repeat(3, 1fr); row-gap: 1.1rem; } .sh-icons li:nth-child(3n) { border-right: 0; } }
@media (max-width: 480px) { .sh-icons { grid-template-columns: repeat(2, 1fr); } .sh-icons li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.16); } .sh-icons li:nth-child(2n) { border-right: 0; } }

/* группы таблицы — это <section>, общий отступ секций им не нужен */
.sh-group { padding-block: 0; }
.sh-group dl > div { grid-template-columns: 1fr 1.35fr; }
.sh-group dl > div.solo { display: block; }
.sh-group dl > div.solo dd { text-align: left; font-weight: 500; line-height: 1.6; }


/* =========================================================
   ВИТРИНА-ЛЕНТА: все модели плывут по кругу (переопределяет ряд выше)
   ========================================================= */
.sc-wall, .sc-wall:is(*) {
  display: block; overflow: hidden; height: auto; padding: 1.2rem 0 0;
  scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.sc-track {
  display: flex; align-items: flex-end; width: max-content;
  gap: clamp(1.4rem, 3vw, 3rem);
  padding-inline: clamp(.7rem, 1.5vw, 1.5rem);
  height: clamp(300px, 58vh, 640px);
  animation: sc-run calc(var(--n) * 3.2s) linear infinite;
}
.sc-wall:hover .sc-track, .sc-wall:focus-within .sc-track { animation-play-state: paused; }
@keyframes sc-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sc-item {
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  animation: none; scroll-snap-align: none;
}
.sc-img { display: flex; align-items: flex-end; height: calc((100% - 3.4rem) * var(--s, 1)); animation: sc-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.65s); }
.sc-img img { height: 100%; width: auto; }
.sc-cap { position: static; transform: none; margin-top: .9rem; opacity: .9; }
.sc-item:hover .sc-cap, .sc-item:focus-visible .sc-cap { opacity: 1; transform: none; background: rgba(255,255,255,.18); }
@media (max-width: 820px) {
  .sc-track { height: clamp(280px, 52vh, 460px); gap: 1.2rem; animation-duration: calc(var(--n) * 2.6s); }
  .sc-img { height: calc((100% - 3.3rem) * var(--s, 1)); }
  .sc-cap { margin-top: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-track { animation: none; }
  .sc-wall { overflow-x: auto; }
  .sc-img { animation: none; }
}


/* =========================================================
   ВИТРИНА: ручная прокрутка + стрелки (переопределяет ленту выше)
   ========================================================= */
.sc-stage { position: relative; }
.sc-wall, .sc-wall:is(*) { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; }
.sc-wall::-webkit-scrollbar { display: none; }
.sc-wall.is-drag { cursor: grabbing; }
.sc-wall.is-drag .sc-item { pointer-events: none; }
.sc-track { animation: none !important; }
.sc-item img {
  -webkit-mask-image: none; mask-image: none;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5));
}
.sc-item:hover img, .sc-item:focus-visible img {
  filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .55));
}
.sc-nav {
  position: absolute; top: 42%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.sc-nav svg { width: 24px; height: 24px; }
.sc-nav:hover { background: var(--accent); border-color: var(--accent); }
.sc-nav:active { transform: translateY(-50%) scale(.94); }
.sc-prev { left: clamp(.6rem, 2vw, 1.6rem); }
.sc-next { right: clamp(.6rem, 2vw, 1.6rem); }
@media (max-width: 820px) {
  .sc-nav { width: 42px; height: 42px; top: 40%; }
  .sc-nav svg { width: 20px; height: 20px; }
}
