:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #52606d;
  --line: #d8dee6;
  --surface: #ffffff;
  --soft: #f4f7fa;
  --navy: #123453;
  --blue: #1769aa;
  --red: #c3342b;
  --green: #2f7d55;
  --gold: #a86514;
  --shadow: 0 18px 50px rgba(18, 52, 83, 0.12);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f1b84b;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 220px;
  height: auto;
}

.site-nav {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.25rem;
  width: min(100%, 580px);
}

.site-nav a,
.header-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--blue);
}

.header-call {
  background: var(--navy);
  color: #fff;
}

.hero {
  min-height: min(690px, calc(100vh - 76px));
  background: linear-gradient(90deg, rgba(18, 52, 83, 0.88), rgba(18, 52, 83, 0.58)), var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  width: min(1180px, calc(100% - 32px));
  min-height: min(690px, calc(100vh - 76px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 2.5rem;
  padding: 4rem 0 5rem;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
}

.hero .eyebrow {
  color: #ffcc75;
}

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

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

.hero h1 {
  font-size: clamp(2.1rem, 3.25vw, 3.25rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.24;
  letter-spacing: 0;
}

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

.hero p,
.page-hero p {
  max-width: 720px;
  font-size: 1.1rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.quick-section,
.section,
.page-hero,
.product-family-section,
.product-detail-section,
.detail-overview,
.resource-template-section,
.detail-gallery-section,
.resource-controls,
.table-wrap,
.info-grid,
.pledge-grid,
.company-letter,
.history-section,
.directions-layout,
.band,
.contact-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-section,
.section {
  padding: 4rem 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

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

.quick-link {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.06);
}

.quick-link span {
  color: var(--blue);
  font-weight: 800;
}

.quick-link strong {
  line-height: 1.4;
}

.product-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0.75rem;
}

.product-carousel-viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.product-carousel-track {
  display: grid;
  grid-auto-columns: minmax(270px, calc((100% - 2.5rem) / 3));
  grid-auto-flow: column;
  gap: 1.25rem;
}

.product-carousel-slide {
  min-width: 0;
  scroll-snap-align: start;
}

.product-carousel .product-card {
  height: 100%;
}

.carousel-button {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.carousel-button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translate(-35%, -50%) rotate(225deg);
}

.carousel-button.next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card-link:hover {
  border-color: rgba(23, 105, 170, 0.45);
  box-shadow: 0 22px 54px rgba(18, 52, 83, 0.16);
  transform: translateY(-2px);
}

.product-card[hidden],
tr[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef2f6;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: #e9f2fb;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.status {
  background: #eef8f2;
  color: var(--green);
}

.card-link-label {
  position: relative;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.card-link-label::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}

.status-muted {
  background: #f3f0ec;
  color: var(--gold);
}

.product-page-hero {
  padding-bottom: 1.5rem;
}

.product-hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-family-section,
.product-detail-section {
  padding-bottom: 4rem;
}

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

.product-family-link {
  min-height: 190px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.25rem 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.06);
}

.product-family-link img {
  grid-row: span 3;
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 8px;
  background: #eef2f6;
}

.product-family-link span {
  color: var(--gold);
  font-weight: 900;
}

.product-family-link strong {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.35;
}

.product-family-link small {
  color: var(--muted);
  font-weight: 700;
}

.product-detail-list {
  display: grid;
  gap: 1.5rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.product-detail.is-legacy {
  border-left: 5px solid var(--gold);
}

.product-media {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
}

.product-detail-body {
  min-width: 0;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.product-facts.compact {
  max-width: 760px;
}

.product-facts div {
  min-width: 0;
  padding: 0.9rem;
  background: #fff;
  color: var(--ink);
}

.product-facts dt {
  color: var(--muted);
  font-weight: 900;
}

.product-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-specs {
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 8px;
  background: var(--soft);
}

.product-specs h3,
.product-download-panel h3 {
  font-size: 1.05rem;
}

.product-specs ul {
  margin: 0;
  padding-left: 1.2rem;
}

.product-specs li + li {
  margin-top: 0.35rem;
}

.resource-order-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.resource-slot {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 132px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.resource-slot > span {
  color: var(--gold);
  font-weight: 900;
}

.resource-slot a {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.resource-slot strong {
  color: var(--navy);
  line-height: 1.4;
}

.resource-slot small,
.resource-slot p {
  color: var(--muted);
}

.resource-slot p {
  margin-bottom: 0;
}

.product-detail .resource-order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-detail-hero {
  padding-bottom: 2rem;
}

.detail-overview {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.detail-overview > img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f6;
}

.resource-template-section,
.detail-gallery-section {
  padding-bottom: 4rem;
}

.gallery-viewer {
  display: grid;
  place-items: center;
  min-height: 420px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f6;
}

.gallery-viewer img,
.gallery-viewer iframe {
  width: 100%;
  display: block;
}

.gallery-viewer img {
  height: auto;
  max-height: min(78vh, 860px);
  object-fit: contain;
  background: #fff;
}

.gallery-viewer iframe {
  aspect-ratio: 16 / 9;
  min-height: 420px;
  border: 0;
  background: #111820;
}

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

.gallery-thumb {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.55rem;
  min-height: 160px;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.gallery-thumb.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(195, 52, 43, 0.18);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 4px;
  background: #eef2f6;
}

.gallery-thumb strong {
  align-self: start;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.35;
}

.gallery-thumb.is-video {
  border-color: #efb1aa;
  background: #fff6f5;
}

.product-list-gallery .gallery-viewer {
  height: 340px;
  min-height: 340px;
  margin-bottom: 0.75rem;
}

.product-list-gallery,
.product-list-gallery .gallery-strip {
  min-width: 0;
}

.product-list-gallery .gallery-viewer img,
.product-list-gallery .gallery-viewer iframe {
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.product-list-gallery .gallery-viewer iframe {
  min-height: 0;
  aspect-ratio: auto;
}

.product-list-gallery .gallery-strip {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x proximity;
}

.product-list-gallery .gallery-thumb {
  flex: 0 0 136px;
  min-height: 136px;
  padding: 0.55rem;
  scroll-snap-align: start;
}

.product-list-gallery .gallery-thumb img {
  aspect-ratio: 4 / 3;
}

.product-list-gallery .gallery-thumb strong {
  font-size: 0.86rem;
}

.play-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(195, 52, 43, 0.94);
}

.play-badge::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.band,
.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.band .eyebrow,
.contact-band .eyebrow {
  color: #ffcc75;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero.compact h1 {
  max-width: 860px;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.22;
  color: var(--navy);
}

.resource-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.resource-controls label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.resource-controls input,
.resource-controls select {
  width: 100%;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1px solid #b9c3cf;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.resource-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.resource-table caption {
  text-align: left;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

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

.resource-table th {
  background: var(--navy);
  color: #fff;
}

.resource-table td:first-child span {
  display: block;
  color: var(--muted);
}

.table-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.empty-state {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.info-grid.compact {
  width: 100%;
  padding: 0;
}

.info-grid article,
.pledge-grid article,
.notice-list {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.pledge-grid article {
  border-top: 5px solid var(--red);
}

.pledge-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.pledge-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.pledge-grid span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-weight: 900;
}

.company-letter {
  margin-bottom: 4rem;
  padding: 2rem;
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: var(--soft);
}

.company-letter p {
  max-width: 940px;
}

.signature {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 900;
}

.history-section {
  padding-bottom: 4rem;
}

.history-timeline {
  display: grid;
  gap: 0.75rem;
}

.history-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
}

.history-item time {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
}

.history-item h3 {
  margin-bottom: 0.2rem;
}

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

.notice-list {
  display: grid;
  gap: 1rem;
  max-width: 860px;
}

.notice-list p,
.site-footer p {
  margin-bottom: 0;
}

.footer-logo {
  width: 220px;
  height: auto;
  margin-bottom: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.directions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: 1.5rem;
  padding: 1rem 0 4rem;
}

.map-card,
.location-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card {
  overflow: hidden;
}

.naver-map {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(18, 52, 83, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 52, 83, 0.08) 1px, transparent 1px),
    #eef3f7;
  background-size: 42px 42px;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  padding: 2rem;
  text-align: center;
}

.naver-map.is-loaded .map-fallback {
  display: none;
}

.map-pin {
  width: 54px;
  height: 54px;
  display: inline-block;
  border: 14px solid var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #fff;
}

.map-fallback strong {
  font-size: 1.6rem;
  color: var(--navy);
}

.map-fallback p {
  margin-bottom: 0;
  color: var(--muted);
}

.location-card {
  align-self: start;
  padding: 1.5rem;
}

.location-list {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.location-list div {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.location-list dt {
  color: var(--muted);
  font-weight: 800;
}

.location-list dd {
  margin: 0;
  font-weight: 700;
}

.map-info-window {
  display: grid;
  gap: 0.2rem;
  min-width: 190px;
  padding: 0.75rem;
  color: var(--ink);
  font: 14px/1.45 "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

.map-info-window strong {
  color: var(--navy);
}

.map-info-window span {
  color: var(--muted);
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 6rem;
  background: #111820;
  color: #e7edf4;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1.2fr;
  gap: 2rem;
}

.footer-grid a {
  color: #fff;
}

.footer-grid address {
  margin: 0;
  color: #e7edf4;
  font-style: normal;
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #aeb9c6;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .site-nav {
    justify-self: stretch;
    width: 100%;
  }

  .header-call {
    display: none;
  }

  .hero,
  .hero-overlay {
    min-height: auto;
  }

  .quick-grid,
  .product-family-grid,
  .product-detail,
  .detail-overview,
  .resource-order-grid,
  .resource-controls,
  .info-grid,
  .pledge-grid,
  .directions-layout,
  .footer-grid,
  .band,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

  .product-carousel-track {
    grid-auto-columns: minmax(260px, calc((100% - 1.25rem) / 2));
  }

  .product-list-gallery .gallery-viewer {
    height: 300px;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  .hero-overlay {
    padding: 3rem 0 6rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.08rem;
  }

  .page-hero.compact h1 {
    font-size: 1.85rem;
  }

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

  .action-row,
  .product-hero-actions,
  .product-actions,
  .contact-actions {
    display: grid;
  }

  .product-facts,
  .history-item {
    grid-template-columns: 1fr;
  }

  .product-detail {
    padding: 1rem;
  }

  .site-nav {
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0 0.35rem;
    font-size: 1.05rem;
  }

  .product-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 0.4rem;
  }

  .product-carousel-track {
    grid-auto-columns: minmax(220px, 100%);
  }

  .carousel-button {
    width: 38px;
    height: 44px;
  }

  .product-family-link {
    min-height: auto;
    grid-template-columns: 72px 1fr;
  }

  .product-family-link img {
    width: 72px;
    height: 72px;
  }

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

  .gallery-thumb {
    min-height: 132px;
  }

  .gallery-viewer,
  .gallery-viewer iframe {
    min-height: 280px;
  }

  .product-list-gallery .gallery-viewer,
  .product-list-gallery .gallery-viewer iframe {
    min-height: 0;
  }

  .product-list-gallery .gallery-viewer {
    height: 260px;
    min-height: 260px;
  }

  .button {
    width: 100%;
  }

  .band,
  .contact-band {
    padding: 1.25rem;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(23, 32, 42, 0.12);
  }

  .mobile-cta a {
    min-height: 60px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: 900;
  }

  .mobile-cta a:first-child {
    background: var(--red);
    color: #fff;
  }
}
