:root {
  --canon-red: #c40012;
  --ink: #151515;
  --muted: #5d626b;
  --line: #e6e2dc;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --aqua: #0e7886;
  --gold: #b87918;
  --shadow: 0 18px 48px rgba(20, 20, 20, 0.12);
  --radius: 8px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.section {
  padding-inline: clamp(18px, 5vw, 64px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: clamp(12px, 3vw, 30px);
  color: #333;
  font-weight: 650;
}

.nav-links a,
.language-switch button,
.btn,
.text-link {
  min-height: 44px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--canon-red);
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-switch button {
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.language-switch button.active {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100dvh - 72px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.88) 46%, rgba(251, 250, 247, 0.5) 100%),
    url("https://s7d1.scene7.com/is/image/canon/5539C001_selphy-cp1500-black_primary?fmt=webp-alpha&hei=1200&wid=1200")
      right 12% center / min(54vw, 640px) no-repeat,
    #f7f1e9;
}

.hero-product-list {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(80px, 12vw, 140px);
  display: flex;
  flex-direction: row;
  gap: 8px;
  z-index: 2;
}

.hero-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(20, 20, 20, 0.08);
}

.hero-product-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-product-model {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-product-color {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding-block: clamp(72px, 12vh, 128px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--canon-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-card h3 {
  font-size: clamp(1.42rem, 2.2vw, 1.8rem);
}

.hero-copy,
.section-heading p,
.about-copy p,
.footer-intro p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-copy {
  width: min(580px, 100%);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: safe center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
}

.btn.primary {
  background: var(--canon-red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(196, 0, 18, 0.22);
}

.btn.secondary {
  border-color: rgba(21, 21, 21, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.btn:focus-visible,
.text-link:focus-visible,
.language-switch button:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 3px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(520px, 100%);
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.products-section,
.about-section,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-block: clamp(58px, 9vw, 104px);
}

.products-section {
  width: min(1440px, 100%);
  padding-inline: clamp(16px, 3vw, 40px);
  padding-block: clamp(42px, 7vw, 78px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: end;
  margin-bottom: 26px;
}

.section-heading > p {
  margin-bottom: 8px;
}

.title-stack .eyebrow {
  margin-bottom: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  --selected-color: var(--theme);
  --theme: var(--canon-red);
  --theme-soft: rgba(196, 0, 18, 0.12);
  --theme-deep: #86000b;
  cursor: pointer;
}

.product-card.theme-gold {
  --theme: #b87918;
  --theme-soft: rgba(184, 121, 24, 0.14);
  --theme-deep: #6f4308;
}

.product-card.theme-teal {
  --theme: #0e7886;
  --theme-soft: rgba(14, 120, 134, 0.14);
  --theme-deep: #07515b;
}

.product-card.theme-blue {
  --theme: #355f9f;
  --theme-soft: rgba(53, 95, 159, 0.14);
  --theme-deep: #1f3f73;
}

.product-card.theme-violet {
  --theme: #7652a7;
  --theme-soft: rgba(118, 82, 167, 0.14);
  --theme-deep: #4e3472;
}

.product-card:focus-visible {
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 4px;
}

.product-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  height: 360px;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 22%, color-mix(in srgb, var(--selected-color) 34%, transparent), transparent 28%),
    radial-gradient(circle at 80% 20%, var(--theme-soft), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f1ede7 100%);
}

.product-image {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.image-preview-zone {
  position: absolute;
  inset: 18px 0;
  z-index: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.image-preview-zone img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(72%, 300px);
  max-height: calc(100% - 28px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(21, 21, 21, 0.14));
}

.angle-rail {
  position: static;
  z-index: 4;
  display: grid;
  align-self: center;
  align-content: center;
  gap: 8px;
  max-height: min(236px, calc(100% - 32px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 12px 12px 8px;
  border-left: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.34);
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.angle-thumb {
  display: grid;
  width: 58px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(21, 21, 21, 0.08);
}

.angle-thumb.active {
  border-color: var(--theme);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--theme) 18%, transparent),
    0 8px 18px rgba(21, 21, 21, 0.1);
}

.angle-thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
}

.angle-thumb:focus-visible {
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 2px;
}

.product-image::before {
  position: absolute;
  bottom: 8px;
  left: 50%;
  z-index: 0;
  width: min(68%, 280px);
  height: 12px;
  border-radius: 999px;
  background: var(--selected-color);
  content: "";
  opacity: 0.38;
  transform: translateX(-50%);
  filter: blur(8px);
}

.image-preview-zone::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(21, 21, 21, 0.22);
  backdrop-filter: blur(4px);
  content: "";
  opacity: 0;
  transition: opacity 160ms ease;
}

.image-preview-zone:hover::after,
.image-preview-zone:focus-within::after {
  opacity: 1;
}

.image-view-more {
  position: absolute;
  top: calc(50% - 22px);
  left: 50%;
  z-index: 3;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(21, 21, 21, 0.82);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.image-preview-zone:hover .image-view-more,
.image-preview-zone:focus-within .image-view-more {
  opacity: 1;
  transform: translate(-50%, 0);
}

.image-view-more:hover,
.image-view-more:focus-visible {
  background: var(--theme);
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 3px;
}

.image-market-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.condition-price-list {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.image-price {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.image-price b {
  overflow-wrap: anywhere;
  color: var(--theme);
  font-size: clamp(0.98rem, 2vw, 1.14rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.image-price em {
  color: var(--ink);
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.image-market-meta strong {
  color: var(--theme);
  font-weight: 900;
  text-align: right;
}

.model-visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(52%, 190px);
  max-height: calc(100% - 58px);
  aspect-ratio: 1.28;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.55)),
    linear-gradient(135deg, var(--selected-color), color-mix(in srgb, var(--selected-color) 42%, white));
  box-shadow: 0 18px 28px rgba(21, 21, 21, 0.14);
  color: #151515;
  text-align: center;
}

.model-visual::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.model-visual span,
.model-visual small {
  position: relative;
  z-index: 1;
  display: block;
}

.model-visual span {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.model-visual small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 12px;
}

.product-content h3,
.product-content p {
  margin-bottom: 0;
}

.product-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.control-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-picker {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.color-picker-header {
  display: grid;
  gap: 2px;
}

.color-picker-header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-picker-header strong {
  color: #252525;
  font-size: 0.84rem;
  line-height: 1.25;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch {
  display: inline-flex;
  min-width: 40px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.swatch::before {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(21, 21, 21, 0.18);
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  content: "";
}

.swatch span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.swatch.active {
  border-color: var(--theme);
  background: var(--theme-soft);
}

.swatch:focus-visible {
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 3px;
}

.product-dropdown {
  margin: 0;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.product-detail-grid {
  display: grid;
  gap: 8px;
}

.product-dropdown summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  cursor: pointer;
  list-style: none;
}

.product-dropdown summary::-webkit-details-marker {
  display: none;
}

.product-dropdown summary span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.product-dropdown summary::after {
  justify-self: end;
  color: var(--theme);
  content: "⌄";
  font-size: 1.2rem;
  font-weight: 900;
}

.product-dropdown[open] summary::after {
  content: "⌃";
}

.dropdown-body {
  padding: 0 10px 10px;
}

.overview-grid {
  display: grid;
  gap: 10px;
}

.overview-block {
  display: grid;
  gap: 6px;
}

.overview-block h4 {
  margin: 0;
  color: var(--theme-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spec-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 18px;
  color: #333;
  font-size: 0.88rem;
}

.spec-list li::marker {
  color: var(--theme);
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.paper-tags span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #252525;
  font-size: 0.78rem;
  font-weight: 750;
}

.dropdown-copy {
  margin: 0;
  color: #333;
  font-size: 0.88rem;
  line-height: 1.35;
}

.info-box {
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-left: 4px solid var(--theme);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.info-box span,
.info-box strong {
  display: block;
}

.info-box span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-box strong {
  color: #252525;
  font-size: 0.86rem;
  line-height: 1.35;
}

.compact-info-box {
  align-self: stretch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: var(--theme);
  font-weight: 850;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
}

.gallery-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(21, 21, 21, 0.56);
}

.gallery-modal {
  display: grid;
  width: min(1180px, 100%);
  height: min(88dvh, 900px);
  max-height: min(88dvh, 900px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.modal-count {
  color: var(--muted);
  font-weight: 750;
}

.modal-close {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1;
}

.gallery-viewer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 18px 72px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
    #f4f1ec;
}

.gallery-hero {
  display: grid;
  width: 100%;
  height: 500px;
  max-height: 500px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  place-items: center;
}

.gallery-hero img {
  width: auto;
  height: 500px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(21, 21, 21, 0.16));
}

.gallery-hero figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.72);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(21, 21, 21, 0.14);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-nav:hover,
.gallery-nav:focus-visible,
.modal-close:hover,
.modal-close:focus-visible {
  background: var(--ink);
  color: #fff;
  outline: none;
}

.gallery-thumbnails {
  display: flex;
  min-height: 120px;
  max-height: 120px;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 28px 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.thumb {
  display: inline-grid;
  min-width: 92px;
  width: 92px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #f4f1ec;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--canon-red);
}

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

.thumb:focus-visible {
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 2px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f1ec;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  gap: 14px;
}

.about-item {
  padding: 22px;
  border-left: 4px solid var(--canon-red);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(280px, 0.48fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-block: clamp(52px, 8vw, 92px);
  border-top: 1px solid var(--line);
}

.video-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  justify-self: center;
  width: min(520px, 100%);
}

.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151515;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.42));
  content: "";
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 999px;
  background: rgba(196, 0, 18, 0.94);
  color: #fff;
  font-size: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 36px rgba(21, 21, 21, 0.26);
}

.video-play::before {
  width: 0;
  height: 0;
  border-block: 12px solid transparent;
  border-left: 18px solid #fff;
  content: "";
  transform: translateX(2px);
}

.video-frame:hover .video-play,
.video-frame:focus-visible .video-play {
  background: var(--ink);
}

.video-frame:focus-visible {
  outline: 3px solid rgba(14, 120, 134, 0.5);
  outline-offset: 3px;
}

.video-modal {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  max-height: min(88dvh, 920px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: #151515;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

.video-modal iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-intro {
  width: min(760px, 100%);
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.8fr;
  gap: 16px;
}

.contact-grid > div {
  min-height: 112px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.contact-grid span,
.footer-note {
  color: rgba(255, 255, 255, 0.68);
}

.contact-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.social-links p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.social-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-weight: 850;
}

.footer-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-card {
    grid-template-rows: auto 1fr;
  }

  .product-media {
    height: 300px;
  }

  .product-content {
    padding: 14px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 780px;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 1) 0%, rgba(251, 250, 247, 0.9) 58%, rgba(251, 250, 247, 0.58) 100%),
      url("https://s7d1.scene7.com/is/image/canon/5539C001_selphy-cp1500-black_primary?fmt=webp-alpha&hei=900&wid=900")
        center bottom 80px / min(88vw, 560px) no-repeat,
      #f7f1e9;
  }

  .hero::after {
    right: 7vw;
    bottom: 42px;
    width: clamp(112px, 32vw, 220px);
  }

  .hero-content {
    padding-top: 54px;
  }

  .section-heading,
  .about-section,
  .video-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .video-frame {
    justify-self: auto;
  }

  .video-grid {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding-inline: 18px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 820px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.75rem, 17vw, 4.2rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

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

  .product-media {
    grid-template-columns: none;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 330px;
    padding: 12px;
  }

  .product-content,
  .about-item,
  .video-section,
  .contact-grid > div {
    padding: 16px;
  }

  .video-section {
    padding-block: 42px;
  }

  .video-grid {
    width: min(100%, 520px);
    justify-self: center;
  }

  .product-content {
    gap: 8px;
  }

  .product-tagline {
    -webkit-line-clamp: 1;
    font-size: 0.88rem;
  }

  .angle-rail {
    display: flex;
    align-self: end;
    justify-content: flex-start;
    min-height: 66px;
    max-height: none;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 2px;
    border-left: 0;
    background: transparent;
    gap: 6px;
  }

  .angle-thumb {
    min-width: 76px;
    width: 76px;
    height: 56px;
  }

  .color-picker {
    padding: 8px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .gallery-modal {
    height: 88dvh;
    max-height: 88dvh;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .modal-header {
    padding: 18px;
  }

  .gallery-viewer {
    min-height: 0;
    padding: 12px 48px;
  }

  .gallery-hero {
    height: min(360px, 100%);
    max-height: 360px;
  }

  .gallery-hero img {
    height: min(360px, 100%);
    max-height: 100%;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .gallery-thumbnails {
    min-height: 104px;
    max-height: 104px;
    padding: 14px 18px max(28px, calc(18px + env(safe-area-inset-bottom)));
  }

  .thumb {
    min-width: 76px;
    width: 76px;
    height: 60px;
  }

  .image-view-more {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    min-height: 46px;
    padding-inline: 14px;
    opacity: 1;
    transform: none;
  }
}
