* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --page: #f5f2ed;
  --surface: #fffdf9;
  --surface-alt: #ebe5dc;
  --ink: #181716;
  --muted: #655f57;
  --line: #d9d2c8;
  --brand: #1f1d1b;
  --brand-dark: #000000;
  --accent: #b28a4a;
  --accent-soft: #f0e5d2;
  --danger: #6f2532;
  --focus: #9b6a1f;
  --shadow: 0 18px 38px rgba(24, 23, 22, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fffdf9 0%, var(--page) 360px, #eee9e1 100%);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--danger);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 3px;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
}

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

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(24, 23, 22, 0.12);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 8px 24px rgba(24, 23, 22, 0.08);
}

.brand {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
  grid-row: 1 / span 2;
}

.brand h1 {
  grid-column: 2;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.brand p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand .tagline {
  display: none;
}

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

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--ink);
  color: #ffffff;
}

.hero {
  border-bottom: 1px solid rgba(24, 23, 22, 0.16);
  background:
    linear-gradient(90deg, rgba(24, 23, 22, 0.88), rgba(24, 23, 22, 0.62)),
    url("Images/IMG_1273.JPG.jpeg") center / cover;
  color: #ffffff;
}

.hero-content {
  max-width: 980px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 48px);
}

.hero h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.hero p {
  max-width: 640px;
  color: #f2eee7;
  font-size: 1.08rem;
}

.location-tagline {
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 23, 22, 0.16);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(24, 23, 22, 0.18);
}

.section-card .button:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.section-card .button.small {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.section-card .button.small:hover {
  background: var(--ink);
  color: #ffffff;
}

.button.small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(14px, 3vw, 32px) 42px;
}

.section-card {
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-card h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.section-card > p {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--muted);
}

.product-grid,
.contact-grid,
.store-list,
.catalogue-feature-grid,
.review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card,
.contact-card,
.store-item,
.catalogue-feature,
.review-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf9;
  padding: 20px;
}

.product-card h3,
.contact-card h3,
.store-item h3,
.catalogue-feature h3,
.review-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.product-card p,
.contact-card p,
.store-item p,
.catalogue-feature p,
.review-card p {
  margin-bottom: 16px;
  color: var(--muted);
}

.gallery-section,
.catalogue-details {
  background: #211f1d;
  color: #ffffff;
}

.gallery-section h2,
.catalogue-details h2,
.gallery-section .section-heading,
.catalogue-details h3 {
  color: #ffffff;
}

.gallery-section > p,
.catalogue-details > p,
.catalogue-feature p {
  color: #e6dfd5;
}

.gallery-section a {
  color: #e0bd7a;
}

.gallery-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.gallery-tools label,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: #edf5f2;
  font-weight: 800;
}

.gallery-tools input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #788783;
  border-radius: 3px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #b9aa94;
  border-radius: 3px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.filter-button:hover,
.filter-button.active,
.filter-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #211f1d;
}

.gallery-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: #edf5f2;
  font-weight: 700;
}

.catalogue-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.catalogue-strip div {
  border: 1px solid #4b4640;
  border-radius: 4px;
  padding: 16px;
  background: #2b2825;
}

.catalogue-label,
.feature-kicker {
  display: block;
  margin-bottom: 8px;
  color: #d7b36c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalogue-strip p {
  margin: 0;
  color: #e6dfd5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.gallery-item {
  border: 1px solid #3d3832;
  border-radius: 4px;
  overflow: hidden;
  background: #fffdf9;
  color: var(--ink);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item[role="button"] {
  cursor: pointer;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #eee9e1;
}

.gallery-item figcaption {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.lamp-code {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.gallery-item figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.lamp-price {
  width: fit-content;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--ink);
  padding: 6px 9px;
  font-weight: 900;
}

.catalogue-feature {
  background: #2b2825;
  border-color: #4b4640;
}

.catalogue-feature h3 {
  color: #ffffff;
}

.review-card {
  padding: 0;
  overflow: hidden;
}

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

.review-card h3,
.review-card p {
  padding-left: 18px;
  padding-right: 18px;
}

.review-card h3 {
  margin-top: 16px;
}

.review-card p {
  padding-bottom: 18px;
}

.contact-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--ink);
}

.icon svg {
  width: 20px;
  height: 20px;
}

.contact-card a,
.store-item a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.store-item a:hover {
  background: var(--ink);
  color: #ffffff;
}

.store-contact,
.phone-display {
  color: var(--ink);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(24, 23, 22, 0.78);
}

.lightbox.open {
  display: grid;
}

.lightbox-panel {
  width: min(900px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 4px;
  background: #fffdf9;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-header {
  display: flex;
  justify-content: flex-end;
  padding: 12px;
}

.lightbox-close {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fffdf9;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 8px 12px;
}

.lightbox img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  background: #eee9e1;
}

.lightbox-copy {
  padding: 18px 20px 22px;
}

.lightbox-copy p {
  color: var(--muted);
  margin-bottom: 12px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-width: 52px;
  min-height: 52px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-contact-bar {
  display: none;
}

.page-footer {
  border-top: 1px solid var(--line);
  background: #fffdf9;
  color: var(--muted);
  text-align: center;
  padding: 28px 18px;
}

.page-footer p + p {
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 16px;
  }

  body {
    padding-bottom: 82px;
  }

  .page-header {
    position: static;
    display: grid;
    gap: 14px;
  }

  .brand {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .main-nav a {
    justify-content: center;
    border: 1px solid var(--line);
  }

  .hero-content {
    min-height: 360px;
  }

  .gallery-tools {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalogue-strip {
    grid-template-columns: 1fr;
  }

  .gallery-item figcaption {
    min-height: auto;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: 0 14px 34px rgba(24, 23, 22, 0.18);
  }

  .mobile-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-contact-bar a:nth-child(2) {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
  }

  .back-to-top {
    right: 12px;
    bottom: 92px;
  }
}
