:root {
  --bg: #f7f9fa;
  --surface: #ffffff;
  --surface-strong: #f7f9fa;
  --ink: #1a1a1a;
  --ink-soft: #787878;
  --line: rgba(26, 26, 26, 0.12);
  --line-soft: rgba(120, 120, 120, 0.24);
  --accent: #1a1a1a;
  --accent-dark: #1a1a1a;
  --footer: #1a1a1a;
  --shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: min(1200px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(26, 26, 26, 0.04), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.shell--catalog {
  width: min(1080px, calc(100vw - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link,
.language-pill,
.category-pill,
.text-link,
.button-primary {
  transition: 180ms ease;
}

.nav-link {
  padding: 10px 14px;
  color: var(--ink-soft);
  border-radius: 999px;
}

.nav-link--active,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: rgba(120, 120, 120, 0.08);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.language-pill {
  min-width: 44px;
  padding: 9px 11px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.language-pill:hover,
.language-pill:focus-visible,
.language-pill--active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(26, 26, 26, 0.08);
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 999px;
}

.page-shell {
  min-height: calc(100vh - 142px);
}

.hero-section {
  padding: 36px 0 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.gallery-card,
.product-details,
.product-card,
.error-state,
.notice {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.error-state {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.hero-copy h1,
.product-details h1,
.error-state h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 18px;
}

.hero-card {
  display: flex;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.04), rgba(26, 26, 26, 0.02)),
    var(--surface-strong);
}

.hero-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-section {
  padding: 18px 0 48px;
}

.page-section--top {
  padding-top: 28px;
}

.home-hero,
.contact-hero,
.split-panel,
.contact-layout,
.band-card,
.feature-card,
.info-card,
.stats-card,
.contact-card,
.contact-form-mock {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.home-hero,
.split-panel,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.home-hero__copy,
.home-hero__panel,
.contact-hero,
.split-panel__intro,
.split-panel__cards,
.contact-layout__copy,
.contact-form-mock,
.band-card {
  border-radius: var(--radius-lg);
  padding: 34px;
}

.home-hero__copy,
.contact-hero,
.split-panel__intro,
.contact-layout__copy {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
}

.home-hero {
  grid-template-columns: 1fr;
}

.home-hero__copy {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  border: 0;
  box-shadow: none;
  background:
    url("../images/sonoffee-virselis.png") center center / cover no-repeat,
    #111111;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.home-hero__copy h1,
.contact-hero h1,
.section-heading h2,
.split-panel__intro h2,
.contact-layout__copy h2,
.band-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.home-hero__copy .eyebrow,
.home-hero__copy h1 {
  color: #ffffff;
}

.home-hero__copy h1 {
  line-height: 1.06;
  margin-bottom: 26px;
}

.home-hero__panel h2,
.feature-card h3,
.info-card h3,
.contact-card h3,
.contact-form-mock h2,
.contact-form-mock h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home-hero__panel,
.split-panel__cards,
.contact-form-mock {
  background: var(--surface);
}

.home-hero__panel p,
.split-panel__intro p,
.info-card p,
.feature-card p,
.contact-card p,
.contact-layout__copy p,
.contact-form-mock p,
.band-card p,
.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.home-hero__copy .hero-text {
  max-width: 38ch;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button-primary--filled {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
}

.button-primary--filled:hover,
.button-primary--filled:focus-visible {
  background: rgba(255, 255, 255, 0.88);
  color: #111111;
}

.button-secondary--hero {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.button-secondary--hero:hover,
.button-secondary--hero:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.home-pills span,
.contact-card span,
.contact-benefit,
.mock-field {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface-strong);
  color: var(--ink);
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 22px;
  border: 1px dashed rgba(26, 26, 26, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 250, 0.98));
  color: var(--ink-soft);
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.image-placeholder--hero {
  min-height: 280px;
  margin-bottom: 22px;
}

.image-placeholder--card {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}

.image-placeholder--wide {
  min-height: 240px;
  margin-top: 28px;
}

.image-placeholder--form {
  min-height: 180px;
}

.contact-simple {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.contact-simple__copy,
.contact-simple__image,
.contact-simple--full,
.contact-full-image {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.contact-simple__copy {
  padding: 34px;
}

.contact-simple--full {
  display: block;
  padding: 34px;
}

.contact-simple__image {
  overflow: hidden;
}

.contact-simple__image img,
.contact-full-image img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-full-image {
  overflow: hidden;
}

.contact-simple__email {
  display: inline-flex;
  margin-top: 24px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-simple__email:hover,
.contact-simple__email:focus-visible {
  color: var(--ink-soft);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.stats-card,
.feature-card,
.info-card,
.contact-card {
  border-radius: 24px;
  padding: 26px;
}

.stats-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-card span {
  color: var(--ink-soft);
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading--home {
  display: grid;
  row-gap: 0;
}

.section-heading--home h2 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading__lead {
  margin-top: 34px;
}

.section-heading__lead p {
  margin: 0;
}

.section-heading--home p:last-child {
  max-width: 46ch;
}

.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid--categories {
  align-items: stretch;
}

.feature-card--category {
  display: block;
  min-height: 220px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
  transition: 180ms ease;
}

.feature-card--category:hover,
.feature-card--category:focus-visible {
  border-color: rgba(26, 26, 26, 0.24);
  transform: translateY(-2px);
}

.feature-card--category h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.feature-card--category p:last-child {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.button-primary--catalog {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: #ffffff;
  color: var(--ink);
}

.button-primary--catalog:hover,
.button-primary--catalog:focus-visible {
  border-color: var(--ink);
  background: var(--surface-strong);
  color: var(--ink);
}

.split-panel__cards,
.contact-benefits {
  display: grid;
  gap: 16px;
}

.contact-layout__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.direct-contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(247, 249, 250, 0.92), #ffffff);
}

.direct-contact-card__label {
  display: inline-flex;
  align-self: flex-start;
  min-height: 38px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.08);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.direct-contact-card__email {
  display: inline-flex;
  align-self: flex-start;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.direct-contact-card__email:hover,
.direct-contact-card__email:focus-visible {
  color: var(--ink-soft);
}

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

.mock-field {
  color: var(--ink-soft);
  justify-content: flex-start;
}

.mock-field--large {
  min-height: 180px;
  align-items: flex-start;
  padding-top: 14px;
}

.band-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
}

.app-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.app-promo__copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.app-promo__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
}

.app-promo__ewelink,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-promo__ewelink {
  width: 100%;
  min-height: 112px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.app-promo__ewelink img,
.store-badge img,
.systems-strip img {
  width: 100%;
  height: auto;
}

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
}

.store-badge {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 142px;
}

.systems-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.band-card--app {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #111111 0%, #1b1b1b 100%);
  color: #ffffff;
  border: 0;
  box-shadow: none;
}

.band-card--app .eyebrow,
.band-card--app h2,
.band-card--app p {
  color: #ffffff;
}

.band-card--app .eyebrow {
  margin-bottom: 0;
  opacity: 0.72;
}

.band-card--app h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.band-card--app p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
}

.band-card--app .app-promo__media {
  padding: 0;
  border: 0;
  background: transparent;
  align-items: stretch;
}

.band-card--app .app-promo__ewelink img {
  max-width: 210px;
  object-fit: contain;
}

.band-card--app .store-badge {
  background: transparent;
  border: 0;
}

.band-card--app .store-badge img {
  border-radius: 0;
}

.app-showcase {
  width: 100%;
  margin-top: 28px;
}

.app-showcase img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.band-card--app .systems-strip {
  max-width: 760px;
  margin-top: 30px;
  padding-top: 26px;
}

.systems-strip__label {
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.band-card--app .systems-strip img {
  border-radius: 14px;
  background: #ffffff;
  padding: 8px 10px;
  object-fit: contain;
}

.band-card--dark {
  background: var(--ink);
  color: #fff;
}

.band-card--dark p,
.band-card--dark .eyebrow,
.band-card--dark h2 {
  color: inherit;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.notice {
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  background: #f7f9fa;
  border-color: var(--line-soft);
}

.category-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-soft);
  font-weight: 700;
}

.category-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(120, 120, 120, 0.12);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.category-pill:hover,
.category-pill:focus-visible,
.category-pill--active {
  background: var(--ink);
  color: #fff;
}

.category-pill:hover span,
.category-pill:focus-visible span,
.category-pill--active span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
}

.product-card__media {
  display: block;
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%);
  aspect-ratio: 1 / 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 22px;
}

.product-card__body h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.product-card__summary {
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.65;
}

.product-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.82);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.text-link,
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--accent-dark);
}

.text-link:hover,
.button-primary:hover {
  color: var(--accent);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--ink);
  background: var(--surface-strong);
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(460px, 1.12fr);
  gap: 26px;
  align-items: start;
}

.gallery-card,
.product-details {
  border-radius: var(--radius-lg);
}

.gallery-card {
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%);
}

.product-details h1 {
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  max-width: none;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}

.gallery-main {
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 12px;
  margin-top: 14px;
  padding-bottom: 4px;
}

.gallery-thumbs--hidden {
  display: none;
}

.gallery-thumb {
  border: 1px solid rgba(20, 33, 61, 0.12);
  background: #fff;
  border-radius: 16px;
  padding: 6px;
  flex: 0 0 110px;
  width: 110px;
  min-width: 110px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-thumb--active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.gallery-thumb--current {
  display: none;
}

.product-details {
  padding: 28px;
}

.meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.meta-row strong {
  color: var(--ink);
  font-weight: 800;
}

.detail-block + .detail-block {
  margin-top: 22px;
}

.detail-block h3 {
  margin: 0 0 14px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.detail-block:first-of-type,
.detail-block:nth-of-type(2) {
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(247, 249, 250, 0.92), #ffffff);
}

.rich-text {
  color: var(--ink);
  line-height: 1.82;
  font-size: 1.04rem;
}

.rich-text p:first-child {
  margin-top: 0;
}

.rich-text p {
  margin: 0 0 1.05em;
}

.rich-text strong {
  color: var(--ink);
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.rich-text li {
  margin-bottom: 0.6em;
}

.rich-text table {
  width: 100%;
}

.rich-text img {
  height: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
  vertical-align: top;
  text-align: left;
}

.specs-table th {
  width: 34%;
  color: var(--ink);
  font-weight: 700;
}

.specs-table td {
  color: var(--ink);
}

.detail-chip-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(247, 249, 250, 0.92);
}

.detail-chip-group + .detail-chip-group {
  margin-top: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(9, 14, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.empty-state,
.error-state {
  text-align: center;
}

.empty-state {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
}

.empty-state--compact {
  padding: 18px;
}

.error-state p {
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 16px auto 0;
  line-height: 1.7;
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner p {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 1120px) {
  .hero-grid,
  .product-layout,
  .home-hero,
  .split-panel,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .contact-grid,
  .stats-strip,
  .app-promo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-details h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 74px;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
  }

  .header-actions.is-open {
    display: flex;
  }

  .main-nav,
  .language-switcher {
    width: 100%;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    width: 100%;
    padding: 12px 14px;
    background: rgba(26, 26, 26, 0.04);
  }

  .language-switcher {
    padding-top: 8px;
  }

  .hero-grid,
  .product-grid,
  .home-hero,
  .split-panel,
  .contact-layout,
  .feature-grid,
  .contact-grid,
  .stats-strip,
  .app-promo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__copy,
  .home-hero__panel,
  .contact-hero,
  .split-panel__intro,
  .contact-layout__copy,
  .contact-form-mock,
  .band-card {
    padding: 26px;
  }

  .band-card--app .app-promo__media {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100vw - 20px, 100%);
  }

  .hero-section {
    padding-top: 18px;
  }

  .hero-copy,
  .hero-card,
  .product-details,
  .gallery-card,
  .error-state,
  .home-hero__copy,
  .home-hero__panel,
  .contact-hero,
  .split-panel__intro,
  .contact-layout__copy,
  .contact-form-mock,
  .band-card {
    padding: 22px;
  }

  .product-details {
    padding: 22px;
  }

  .category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-right: -4px;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    flex: 0 0 auto;
  }

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

  .home-hero,
  .split-panel,
  .contact-layout,
  .feature-grid,
  .contact-grid,
  .stats-strip,
  .form-row,
  .store-badges {
    grid-template-columns: 1fr;
  }

  .app-promo {
    grid-template-columns: 1fr;
  }

  .app-promo__media {
    width: min(100%, 340px);
    margin-left: 0;
  }

  .gallery-thumbs {
    padding-bottom: 4px;
  }

  .gallery-thumb {
    flex: 0 0 82px;
  }

  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
  }

  .specs-table th {
    padding-bottom: 4px;
  }

  .specs-table td {
    padding-top: 0;
  }

  .band-card--app h2 {
    max-width: none;
  }
}
