:root {
  --bg: #f4f5f7;
  --s: #ffffff;
  --s2: #eef0f3;
  --t: #1f2933;
  --m: #667085;
  --b: #d9dde3;
  --d: #252a31;
  --d2: #171b21;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.08);

  --pico-primary: var(--d);
  --pico-primary-hover: var(--d2);
  --pico-primary-inverse: #fff;
  --pico-background-color: var(--bg);
  --pico-color: var(--t);
  --pico-form-element-border-color: var(--b);
  --pico-border-radius: 18px;

  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(circle at top right, rgba(140, 148, 158, 0.16), transparent 30%),
    linear-gradient(180deg, #fafafa 0%, var(--bg) 100%);
  color: var(--t);
}

nav.container-fluid {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(14px);
  background: rgba(244, 245, 247, 0.9);
  border-bottom: 1px solid var(--b);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  padding-left: 0.45rem;
  padding-right: 1.1rem;
}

nav.container-fluid > ul {
  margin: 0;
}

nav.container-fluid > ul:last-child {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.brand-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.brand-link:focus-visible {
  outline: 2px solid rgba(34, 52, 69, 0.35);
  outline-offset: 6px;
  border-radius: 18px;
}

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 420px;
}

.brand-tagline {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(2rem, 2.7vw, 2.85rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 12px 30px rgba(17, 24, 39, 0.18), 0 3px 10px rgba(34, 52, 69, 0.12);
}

main.container {
  padding-top: 2.5rem;
}

.hero-grid {
  align-items: stretch;
  gap: 1rem;
}

.hero,
.box,
.feature,
.review,
.brand-card,
.quick,
.contact-card,
.photo-card,
.hero-note {
  background: var(--s);
  border: 1px solid var(--b);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
  position: relative;
}

.hero h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.03;
}

.hero h3,
.muted,
.section-heading p,
.small,
.contact-copy,
.stock-item small {
  color: var(--m);
}

.hero h3 {
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.hero > p {
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.hero-copy p {
  margin: 0;
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  background: var(--s2);
  border: 1px solid var(--b);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-note {
  padding: 1rem 1.1rem;
  margin-top: 1rem;
  color: #223445;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.08);
}

.hero-note-label {
  margin-bottom: 0.75rem;
}

.hero-note p {
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.cta,
.quick-grid,
.stock-toolbar,
.cards,
.brands,
.reviews,
.contact-grid,
.photo-grid,
.stock-actions,
.stock-contact {
  display: grid;
  gap: 1rem;
}

.cta {
  grid-template-columns: repeat(2, 1fr);
  margin: 1.25rem 0;
}

.quick-grid {
  grid-template-columns: repeat(3, 1fr);
}

.quick {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: var(--t);
}

.quick span {
  display: block;
  color: var(--m);
  font-size: 0.86rem;
}

.visual {
  position: relative;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.visual figure {
  margin: 0;
}

.visual img {
  width: 100%;
  height: min(520px, 55vw);
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--b);
}

.visual figcaption {
  margin-top: 0.65rem;
  color: var(--m);
  font-size: 0.82rem;
}

.rating {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(66, 133, 244, 0.04) 0%, rgba(255, 255, 255, 1) 45%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid var(--b);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.16);
  overflow: hidden;
  text-align: center;
}

.rating::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--google-blue) 0%,
    var(--google-blue) 25%,
    var(--google-red) 25%,
    var(--google-red) 50%,
    var(--google-yellow) 50%,
    var(--google-yellow) 75%,
    var(--google-green) 75%,
    var(--google-green) 100%
  );
}

.rating strong {
  font-size: 2rem;
  display: block;
  line-height: 1;
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.rating small {
  color: var(--m);
  font-weight: 700;
}

.google-rating-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
  color: #223445;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.google-word {
  display: inline-flex;
  gap: 0.01em;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.google-word span:nth-child(1),
.google-word span:nth-child(4) {
  color: var(--google-blue);
}

.google-word span:nth-child(2),
.google-word span:nth-child(6) {
  color: var(--google-red);
}

.google-word span:nth-child(3) {
  color: var(--google-yellow);
}

.google-word span:nth-child(5) {
  color: var(--google-green);
}

.interelektro-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--b);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
  color: #223445;
  overflow: hidden;
  text-align: center;
}

.visual .interelektro-card img,
.interelektro-card img {
  width: min(100%, 285px);
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(34, 52, 69, 0.12);
  background: #ffffff;
}

.interelektro-card span,
.interelektro-card small {
  display: block;
  color: var(--m);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.interelektro-card strong {
  display: block;
  margin: 0.12rem 0;
  color: #223445;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.1);
}

.section-block {
  margin: 2.4rem 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 1.15rem;
}

.box,
.contact-card {
  padding: 1.25rem;
}

.photo-grid {
  grid-template-columns: repeat(3, 1fr);
}

.photo-card {
  padding: 1rem;
}

.photo-card img {
  width: 100%;
  min-height: 220px;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--b);
  margin-bottom: 1rem;
}

.photo-source {
  display: block;
  margin-top: 0.55rem;
  color: var(--m);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  border: 1px solid var(--b);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(37, 42, 49, 0.08), rgba(37, 42, 49, 0.02)),
    repeating-linear-gradient(45deg, rgba(37, 42, 49, 0.05) 0 10px, transparent 10px 20px);
  color: #4a515c;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.gallery-card-empty button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.gallery-card-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.gallery-card-kicker {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: var(--s2);
  border: 1px solid var(--b);
  color: #5a6774;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gallery-card h3,
.gallery-card p {
  margin: 0;
}

.gallery-card h3 {
  font-size: 1.32rem;
  line-height: 1.18;
}

.gallery-card p {
  font-size: 0.94rem;
  line-height: 1.45;
}

.gallery-open-button {
  justify-self: start;
}

.gallery-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.gallery-dialog {
  width: min(1180px, calc(100vw - 2rem));
  max-width: 1180px;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.gallery-dialog::backdrop {
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(7px);
}

.gallery-dialog-shell {
  background: #fff;
  border: 1px solid var(--b);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.25rem;
}

.gallery-dialog-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 100%);
  border-bottom: 1px solid rgba(217, 221, 227, 0.9);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.gallery-dialog-head h3,
.gallery-dialog-head p {
  margin: 0;
}

.gallery-close-button {
  border: 1px solid var(--b);
  background: var(--s2);
  color: var(--d);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.gallery-filter-button {
  border: 1px solid var(--b);
  background: #fff;
  color: var(--d);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.gallery-filter-button.is-active {
  background: var(--d);
  color: #fff;
  border-color: var(--d);
}

.gallery-stage {
  display: grid;
  gap: 1rem;
}

.gallery-stage-frame {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #0f141a;
}

.gallery-stage-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(62vh, 610px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-stage-frame img.is-contain {
  object-fit: contain;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 48%),
    #0f141a;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--d);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.gallery-nav[disabled] {
  opacity: 0.45;
  cursor: default;
}

.gallery-nav-prev {
  left: 1rem;
}

.gallery-nav-next {
  right: 1rem;
}

.gallery-stage-meta {
  display: grid;
  gap: 0.35rem;
}

.gallery-stage-meta strong,
.gallery-stage-meta p {
  margin: 0;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-thumb {
  border: 1px solid var(--b);
  background: #fff;
  border-radius: 18px;
  padding: 0.7rem;
  text-align: left;
  cursor: pointer;
  color: var(--d);
}

.gallery-thumb.is-active {
  border-color: #223445;
  box-shadow: 0 0 0 2px rgba(34, 52, 69, 0.12);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  margin-bottom: 0.55rem;
}

.gallery-thumb img.is-contain {
  object-fit: contain;
  background: #0f141a;
}

.gallery-thumb strong,
.gallery-thumb small {
  display: block;
}

.gallery-thumb small {
  color: var(--m);
}

@media (min-width: 881px) {
  .gallery-stage {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
    align-items: start;
  }

  .gallery-stage-frame,
  .gallery-stage-meta {
    grid-column: 1;
  }

  .gallery-thumbs {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    max-height: min(620px, calc(100dvh - 230px));
    overflow: auto;
    padding-right: 0.25rem;
  }

  .gallery-thumb {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.7rem;
    align-items: center;
  }

  .gallery-thumb img {
    margin-bottom: 0;
  }
}

.stock-toolbar {
  grid-template-columns: 1.5fr 0.8fr auto;
  align-items: end;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
}

.chips span {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--s2);
  border: 1px solid var(--b);
  font-weight: 700;
  font-size: 0.84rem;
}

.stock-runtime {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.stock-runtime-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--b);
  background: var(--s2);
  font-size: 0.82rem;
  font-weight: 800;
}

.stock-runtime-badge.is-live {
  background: rgba(28, 126, 84, 0.1);
  border-color: rgba(28, 126, 84, 0.18);
  color: #0d6b43;
}

.stock-runtime-badge.is-loading {
  background: rgba(23, 27, 33, 0.08);
  border-color: rgba(23, 27, 33, 0.12);
  color: var(--d);
}

.stock-runtime-badge.is-offline {
  background: rgba(181, 51, 57, 0.12);
  border-color: rgba(181, 51, 57, 0.18);
  color: #8f1f28;
}

.stock-runtime-meta {
  color: var(--m);
}

.results {
  display: grid;
  gap: 0.85rem;
}

.stock-item {
  border: 1px solid var(--b);
  background: #fcfcfd;
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.stock-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.stock-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin-top: 0.35rem;
}

.stock-note {
  margin-top: 0.3rem;
}

.availability {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.available {
  background: rgba(28, 126, 84, 0.1);
  color: #0d6b43;
}

.out {
  background: rgba(181, 51, 57, 0.12);
  color: #8f1f28;
}

.stock-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stock-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stock-contact a {
  display: block;
  padding: 0.75rem 0.85rem;
  background: var(--s2);
  border: 1px solid var(--b);
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  color: var(--t);
  font-weight: 700;
}

.cards {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1rem;
  row-gap: 0.9rem;
}

.feature {
  margin: 0;
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
  color: #223445;
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.1);
}

.feature h3,
.feature p {
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b82025 0%, #d8452e 100%);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: #f7f1ea;
  border: 1px solid #ead4bf;
  color: #7f2c1f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.brands {
  grid-template-columns: repeat(6, 1fr);
}

.brand-card {
  margin: 0;
  min-height: 150px;
  padding: 1.1rem 0.9rem;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.8rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.brand-card img {
  width: 100%;
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
}

.brand-card figcaption {
  color: var(--m);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.google-box,
.google-surface {
  position: relative;
  overflow: hidden;
}

.google-box::before,
.google-surface::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--google-blue) 0%,
    var(--google-blue) 25%,
    var(--google-red) 25%,
    var(--google-red) 50%,
    var(--google-yellow) 50%,
    var(--google-yellow) 75%,
    var(--google-green) 75%,
    var(--google-green) 100%
  );
}

.google-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.google-source-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #d7dce3;
  font-size: 0.88rem;
  font-weight: 700;
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.96), 0 7px 16px rgba(34, 52, 69, 0.08);
}

.google-source-pill-inline {
  margin-top: 0.85rem;
}

.google-bulb-icon {
  position: relative;
  width: 24px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 5px 10px rgba(17, 24, 39, 0.12));
}

.google-bulb-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  bottom: 9px;
  border-radius: 58% 58% 46% 46% / 62% 62% 38% 38%;
  border: 1px solid rgba(31, 41, 51, 0.08);
}

.google-bulb-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 0;
  height: 11px;
  border-radius: 4px 4px 7px 7px;
  background:
    linear-gradient(
      180deg,
      #6c7785 0 18%,
      #bfc8d2 18% 54%,
      #758191 54% 68%,
      #c8d0d8 68% 84%,
      #677381 84% 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.google-bulb-icon.variant-outline::before {
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    conic-gradient(
      from 220deg,
      var(--google-blue) 0 25%,
      var(--google-red) 25% 50%,
      var(--google-yellow) 50% 75%,
      var(--google-green) 75% 100%
    ) border-box;
  box-shadow:
    inset 0 -2px 0 rgba(17, 24, 39, 0.04),
    0 2px 8px rgba(17, 24, 39, 0.04);
}

.google-bulb-icon.variant-outline::after {
  background:
    linear-gradient(
      180deg,
      #7c8794 0 20%,
      #d2d9e1 20% 52%,
      #7b8695 52% 66%,
      #d7dde4 66% 84%,
      #707b89 84% 100%
    );
}

.google-inline-link {
  color: var(--google-blue);
  font-weight: 700;
  text-decoration: none;
}

.google-inline-link:hover {
  text-decoration: underline;
}

.google-summary {
  align-items: center;
}

.summary-rating {
  display: grid;
  gap: 0.4rem;
}

.summary-copy {
  display: grid;
  gap: 0.2rem;
}

.summary strong {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1;
}

.summary span {
  display: block;
  color: var(--m);
}

.reviews {
  grid-template-columns: repeat(3, 1fr);
}

.review {
  padding: 1rem;
  box-shadow: none;
}

.google-review-card {
  background:
    linear-gradient(180deg, rgba(66, 133, 244, 0.03) 0%, rgba(255, 255, 255, 1) 36%),
    var(--s);
}

.review small {
  display: block;
  margin-bottom: 0.65rem;
}

.review-cta {
  display: grid;
  gap: 0.8rem;
}

.google-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: #223445;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.96), 0 7px 16px rgba(34, 52, 69, 0.08);
}

#googlePlaceName,
#googlePlaceAddress {
  color: #223445;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 18px rgba(34, 52, 69, 0.08);
}

.google-place-name-card {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.78rem 1rem;
  background: linear-gradient(180deg, #fbfcff 0%, #f2f5fa 100%);
  border: 1px solid #d7dce3;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(34, 52, 69, 0.08);
}

.google-card-kicker .google-bulb-icon {
  width: 20px;
  height: 28px;
  filter: drop-shadow(0 4px 8px rgba(17, 24, 39, 0.1));
}

.google-source-pill .google-bulb-icon {
  transform: translateY(-1px);
}

.review-stars {
  --rating: 0;
  --percent: calc((var(--rating) / 5) * 100%);
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.18em;
}

.review-stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, #f4b400 var(--percent), #d7dce3 var(--percent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-stars-small {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.contact-list a,
.contact-list .is-disabled {
  display: block;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, #fbfcff 0%, #f2f5fa 100%);
  border: 1px solid #d7dce3;
  border-radius: 14px;
  text-decoration: none;
  color: var(--t);
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-list a:hover {
  border-color: rgba(66, 133, 244, 0.32);
  box-shadow: 0 8px 18px rgba(66, 133, 244, 0.08);
}

.contact-icon-link,
.facebook-link {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
}

.facebook-icon,
.google-contact-icon,
.web-icon,
.instagram-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 7px;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.facebook-icon {
  background: #1877f2;
  color: #fff;
}

.instagram-link.is-disabled {
  color: #667085;
  opacity: 0.86;
  cursor: not-allowed;
}

.instagram-icon {
  position: relative;
  background:
    radial-gradient(circle at 70% 30%, #fff 0 6%, transparent 7%),
    radial-gradient(circle at 50% 52%, transparent 0 19%, #fff 20% 29%, transparent 30%),
    linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, #d62976 52%, #962fbf 74%, #4f5bd5 100%);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(214, 41, 118, 0.12);
}

.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #fff;
  border-radius: 7px;
}

.google-contact-icon {
  background: #fff;
  border: 1px solid #d7dce3;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(66, 133, 244, 0.12);
}

.google-contact-icon svg,
.web-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.google-contact-icon .g-blue {
  fill: var(--google-blue);
}

.google-contact-icon .g-red {
  fill: var(--google-red);
}

.google-contact-icon .g-yellow {
  fill: var(--google-yellow);
}

.google-contact-icon .g-green {
  fill: var(--google-green);
}

.web-icon {
  background: #223445;
  border: 1px solid #223445;
  border-radius: 7px;
  color: #223445;
}

.web-icon svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-person-link {
  display: grid;
  gap: 0.22rem;
}

.contact-main {
  display: block;
}

.contact-email {
  display: block;
  color: var(--m);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hours {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  background: #fcfcfd;
  border: 1px solid var(--b);
  border-radius: 16px;
}

.hours small {
  display: block;
  margin-bottom: 0.25rem;
}

.hours-status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hours-status.is-open {
  color: #137333;
  background: rgba(52, 168, 83, 0.12);
}

.hours-status.is-closing-soon {
  color: #b06000;
  background: rgba(251, 188, 5, 0.18);
}

.hours-status.is-closed {
  color: #9a4f4b;
  background: rgba(217, 119, 111, 0.14);
}

.hours-row {
  display: block;
  color: var(--t);
}

.hours-row.current-day {
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--d);
}

.map {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 18px;
  background: #e5e7eb;
  margin-bottom: 1rem;
}

.full {
  width: 100%;
}

.form-band {
  padding: 0 0 1.5rem;
}

.form-band article {
  border-radius: 22px;
  border: 1px solid var(--b);
  box-shadow: var(--shadow);
}

.lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.lead-form textarea,
.lead-form .file-field,
.lead-form button,
.lead-form .form-status {
  grid-column: 1 / -1;
}

.lead-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--m);
  font-weight: 700;
}

.form-status:not(:empty) {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--b);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.form-status.is-sending {
  color: #3f4b58;
  background: #f3f5f7;
}

.form-status.is-success {
  color: #137333;
  background: rgba(19, 115, 51, 0.08);
  border-color: rgba(19, 115, 51, 0.18);
}

.form-status.is-error {
  color: #9a4f4b;
  background: rgba(154, 79, 75, 0.09);
  border-color: rgba(154, 79, 75, 0.18);
}

.form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.wide-field {
  grid-column: 1 / -1;
}

.direct-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.direct-form textarea {
  resize: vertical;
  min-height: 170px;
}

.inquiry-dialog {
  width: min(760px, calc(100vw - 2rem));
  max-width: 760px;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.inquiry-dialog::backdrop {
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(7px);
}

.inquiry-dialog-shell {
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--b);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
}

.inquiry-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  grid-column: 1 / -1;
}

.inquiry-dialog-head h3,
.inquiry-dialog-head p {
  margin: 0;
}

.file-field {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--t);
}

.file-field input[type="file"] {
  width: 100%;
}

.file-field small {
  font-weight: 400;
}

footer.container {
  padding-top: 1rem;
  padding-bottom: 6rem;
}

.footer-copy {
  color: #223445;
  font-weight: 600;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--b);
  backdrop-filter: blur(14px);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
}

.mobile-bar a {
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--b);
  background: var(--s2);
  border-radius: 16px;
  padding: 0.8rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--d);
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 980px) {
  nav.container-fluid {
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }

  nav.container-fluid > ul {
    justify-content: center;
    width: 100%;
  }

  nav.container-fluid > ul:first-child {
    display: flex;
  }

  nav.container-fluid > ul:last-child {
    justify-content: center;
  }

  nav.container-fluid > ul:last-child a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.42rem 0.66rem;
    font-size: 0.9rem;
  }

  .brand {
    justify-content: center;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-tagline {
    font-size: clamp(1.2rem, 5vw, 2.25rem);
  }
}

@media (max-width: 880px) {
  .hero-grid,
  .quick-grid,
  .stock-toolbar,
  .cards,
  .reviews,
  .contact-grid,
  .stock-actions,
  .stock-contact {
    grid-template-columns: 1fr;
  }

  .google-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual img {
    min-height: 260px;
    height: 320px;
  }

  .gallery-dialog-shell {
    padding: 1rem;
  }

  .gallery-dialog-head {
    flex-direction: column;
  }

  .direct-form,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .brand-logo {
    height: 52px;
  }

  .brand-copy {
    min-width: auto;
    justify-content: center;
  }

  .brand-tagline {
    text-align: center;
    font-size: clamp(1rem, 4.7vw, 1.25rem);
  }

  main.container {
    padding-top: 1.2rem;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .brands {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-showcase,
  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .gallery-stage-frame img {
    aspect-ratio: 4 / 3;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .mobile-bar {
    display: grid;
  }

  footer.container {
    padding-bottom: 7rem;
  }
}

@media (max-width: 520px) {
  nav.container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-logo {
    height: 44px;
  }

  nav.container-fluid > ul:last-child {
    gap: 0.35rem;
  }

  nav.container-fluid > ul:last-child a {
    min-height: 34px;
    padding: 0.34rem 0.5rem;
    font-size: 0.78rem;
  }

  .interelektro-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .interelektro-card img {
    margin: 0 auto;
  }
}
