:root {
  color-scheme: light;
  --ink: #17221e;
  --muted: #66716c;
  --line: #d8ddd9;
  --paper: #f6f4ef;
  --panel: #fff;
  --forest: #284b3c;
  --forest-dark: #183329;
  --clay: #b66c4c;
  --sand: #dfd5c4;
  --cream: #f1ece3;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(23, 34, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--forest-dark);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(24px, 5vw, 72px);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-picker select {
  min-width: 76px;
  min-height: 40px;
  padding: 0 28px 0 12px;
  color: #fff;
  background: rgba(20, 35, 29, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.language-picker select:focus {
  outline: 3px solid rgba(255, 255, 255, 0.24);
  outline-offset: 2px;
}

.language-picker option {
  color: var(--ink);
  background: #fff;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.menu-button {
  display: none;
  padding: 9px 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(900px, 100svh);
  overflow: hidden;
  color: #fff;
  background: var(--forest-dark);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 28, 22, 0.84) 0%, rgba(14, 28, 22, 0.57) 50%, rgba(14, 28, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(14, 28, 22, 0.58), transparent 48%);
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.84) contrast(1.03);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(940px, 78vw);
  padding: 150px clamp(24px, 7vw, 104px) clamp(44px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #dbc3a9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(52px, 7.6vw, 108px);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.dark {
  color: #fff;
  background: var(--forest);
}

.button.accent {
  color: #fff;
  background: var(--clay);
}

.text-button {
  min-height: auto;
  padding: 8px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 740px;
  margin: 48px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-facts div {
  display: grid;
  gap: 5px;
}

.hero-facts dt {
  font-family: Georgia, serif;
  font-size: 25px;
}

.hero-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.trust-strip span {
  padding: 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  padding: clamp(72px, 9vw, 130px) clamp(24px, 7vw, 104px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  max-width: 1400px;
  margin: 0 auto clamp(60px, 7vw, 100px);
}

.section-intro > p,
.catalogue-copy > p,
.inquiry-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  max-width: 1400px;
  margin: 0 auto clamp(70px, 9vw, 140px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-feature.reverse {
  grid-template-columns: minmax(360px, 1.08fr) minmax(320px, 0.92fr);
}

.product-feature.reverse .product-image {
  grid-column: 2;
}

.product-feature.reverse .product-content {
  grid-column: 1;
  grid-row: 1;
}

.product-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

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

.model-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(23, 34, 30, 0.85);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 84px);
}

.product-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.product-content h3 {
  max-width: 560px;
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.product-summary {
  max-width: 610px;
  margin: 26px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spec-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.catalogue-range {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: clamp(16px, 3vw, 42px);
}

.range-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px 56px;
  align-items: end;
  margin-bottom: 36px;
}

.range-heading .eyebrow,
.range-heading h3 {
  margin: 0;
}

.range-heading h3 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.range-heading > p:last-child {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.catalogue-card {
  display: grid;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 34, 30, 0.07);
}

.catalogue-card > img,
.catalogue-photo-pending {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  background: var(--sand);
}

.catalogue-photo-pending {
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent),
    var(--sand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.catalogue-card > div:last-child {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.catalogue-model,
.catalogue-size,
.catalogue-price {
  margin: 0;
}

.catalogue-model {
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.catalogue-size {
  min-height: 42px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.catalogue-price {
  display: grid;
  gap: 5px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-price strong {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.catalogue-card .button {
  justify-content: center;
  width: 100%;
}

.inline-link {
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.gallery {
  background: var(--cream);
}

.gallery-heading {
  max-width: 900px;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, minmax(250px, 440px));
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}

.gallery-tall {
  grid-row: 1 / 3;
}

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

.gallery-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(23, 34, 30, 0.78);
  font-size: 12px;
}

.service {
  color: #fff;
  background: var(--forest-dark);
}

.service-title {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  list-style: none;
}

.steps li {
  min-height: 320px;
  padding: 30px;
  background: var(--forest-dark);
}

.step-number {
  display: block;
  margin-bottom: 80px;
  color: #dbc3a9;
  font-family: Georgia, serif;
  font-size: 20px;
}

.steps p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.catalogues {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(460px, 1.28fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
  background: var(--panel);
}

.catalogue-copy p {
  margin-top: 28px;
}

.download-grid {
  border-top: 1px solid var(--line);
}

.download-grid a {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 25px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease, padding 150ms ease;
}

.download-grid a:hover {
  padding-right: 16px;
  padding-left: 16px;
  background: var(--cream);
}

.language-code {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.download-grid strong,
.download-grid small {
  display: block;
}

.download-grid small {
  margin-top: 5px;
  color: var(--muted);
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(50px, 9vw, 130px);
  color: #fff;
  background: #222725;
}

.inquiry-copy > p {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.65);
}

.privacy-note {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.privacy-note span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.rfq-form {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius);
}

.rfq-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.rfq-form legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.check-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.check-card:has(input:checked) {
  border-color: var(--forest);
  background: #edf3ef;
}

.check-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
}

.check-card strong,
.check-card small {
  display: block;
}

.check-card small {
  margin-top: 4px;
  color: var(--muted);
}

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

.rfq-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
}

.rfq-form input[type="text"],
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.rfq-form textarea {
  resize: vertical;
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
  outline: 3px solid rgba(40, 75, 60, 0.16);
  border-color: var(--forest);
}

.rfq-form .button {
  justify-self: start;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--forest);
  font-size: 13px;
  font-weight: 750;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 42px clamp(24px, 7vw, 104px);
  color: #fff;
  background: #121715;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  align-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-align: right;
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2 {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: -0.015em;
}

html[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(14, 28, 22, 0.84) 0%, rgba(14, 28, 22, 0.57) 50%, rgba(14, 28, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(14, 28, 22, 0.58), transparent 48%);
}

html[dir="rtl"] .hero-copy {
  margin-inline-start: auto;
}

html[dir="rtl"] .footer-meta {
  text-align: left;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  nav {
    position: fixed;
    inset: 76px 18px auto;
    display: none;
    align-items: stretch;
    padding: 18px;
    color: var(--ink);
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .language-picker {
    margin-inline-start: auto;
  }

  nav.open {
    display: grid;
  }

  nav a {
    padding: 12px;
  }

  .nav-cta {
    color: #fff;
    background: var(--forest);
    border: 0;
    border-radius: 10px;
  }

  .hero-copy {
    width: min(860px, 94vw);
  }

  .section-intro,
  .catalogues,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .range-heading {
    grid-template-columns: 1fr;
  }

  .range-heading > p:last-child {
    grid-column: auto;
  }

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

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

  .product-image {
    min-height: 560px;
  }

  .service-title {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    min-height: 76px;
  }

  .brand-copy small {
    display: none;
  }

  .language-picker select {
    min-width: 68px;
    padding-inline: 10px 24px;
  }

  .hero {
    min-height: 780px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(14, 28, 22, 0.95) 0%, rgba(14, 28, 22, 0.62) 72%, rgba(14, 28, 22, 0.24) 100%);
  }

  html[dir="rtl"] .hero::before {
    background:
      linear-gradient(0deg, rgba(14, 28, 22, 0.95) 0%, rgba(14, 28, 22, 0.62) 72%, rgba(14, 28, 22, 0.24) 100%);
  }

  .hero-visual img {
    object-position: 58% center;
  }

  .hero-copy {
    width: 100%;
    padding: 130px 24px 46px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-facts {
    gap: 15px;
  }

  .hero-facts dt {
    font-size: 20px;
  }

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

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-feature,
  .product-feature.reverse {
    display: flex;
    flex-direction: column;
  }

  .product-image {
    min-height: 480px;
  }

  .product-content {
    padding: 38px 24px 44px;
  }

  .spec-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 420px);
  }

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

  .gallery-tall {
    grid-row: auto;
  }

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

  .steps li {
    min-height: 240px;
  }

  .step-number {
    margin-bottom: 44px;
  }

  .rfq-form fieldset {
    grid-template-columns: 1fr;
  }

  .download-grid a {
    grid-template-columns: 50px 1fr auto;
  }

  footer {
    display: grid;
  }

  .footer-meta {
    text-align: left;
  }
}

/* ---------- Product photo galleries ---------- */
.catalogue-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.catalogue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(23, 34, 30, 0.14);
}

.card-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--sand);
  border: 0;
  cursor: zoom-in;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  transition: transform 520ms ease;
}

.catalogue-card:hover .card-media img,
.card-media:focus-visible img {
  transform: scale(1.05);
}

.card-media:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: -3px;
}

.photo-badge,
.gallery-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: rgba(23, 34, 30, 0.74);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.photo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
}

.photo-badge svg,
.gallery-pill svg {
  flex: 0 0 auto;
}

.product-image.has-gallery {
  cursor: zoom-in;
}

.gallery-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.gallery-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.gallery-pill {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 8px 13px;
}

.product-feature .product-image img {
  transition: transform 620ms ease;
}

.product-feature:hover .product-image img {
  transform: scale(1.04);
}

.catalogue-photo-pending {
  gap: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0 13px, transparent 13px 26px),
    var(--cream);
}

.catalogue-photo-pending::before {
  content: "";
  width: 40px;
  height: 40px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: center / contain no-repeat
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.4 5 8 7H4.5A1.5 1.5 0 0 0 3 8.5v9A1.5 1.5 0 0 0 4.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 19.5 7H16l-1.4-2H9.4Zm2.6 4.2A4.3 4.3 0 1 1 12 17.8a4.3 4.3 0 0 1 0-8.6Zm0 1.8a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Z"/></svg>');
  mask: center / contain no-repeat
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.4 5 8 7H4.5A1.5 1.5 0 0 0 3 8.5v9A1.5 1.5 0 0 0 4.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 19.5 7H16l-1.4-2H9.4Zm2.6 4.2A4.3 4.3 0 1 1 12 17.8a4.3 4.3 0 0 1 0-8.6Zm0 1.8a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Z"/></svg>');
}

html[dir="rtl"] .photo-badge {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .gallery-pill {
  left: auto;
  right: 18px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 15, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 16px;
}

.lightbox-stage {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 12px;
  justify-items: center;
  min-height: 0;
  margin: 0;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-stage figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.lightbox-nav,
.lightbox-close {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  line-height: 1;
  transition: background 160ms ease;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-nav:focus-visible,
.lightbox-close:focus-visible,
.lightbox-thumb:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.lightbox-nav {
  width: 50px;
  height: 50px;
  font-size: 27px;
}

.lightbox-nav.prev {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-nav.next {
  grid-column: 3;
  grid-row: 1;
}

.lightbox-close {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 3;
  width: 44px;
  height: 44px;
  font-size: 26px;
}

html[dir="rtl"] .lightbox-close {
  right: auto;
  left: 2px;
}

.lightbox-thumbs {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 10px;
  justify-content: center;
}

.lightbox-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  opacity: 0.5;
  transition: opacity 150ms ease, border-color 150ms ease;
}

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

.lightbox-thumb.active,
.lightbox-thumb:hover {
  opacity: 1;
  border-color: #fff;
}

@media (max-width: 980px) {
  .product-feature,
  .product-feature.reverse {
    display: flex;
    flex-direction: column;
  }

  .product-feature.reverse .product-image,
  .product-feature.reverse .product-content {
    grid-column: auto;
    grid-row: auto;
  }

  .product-image {
    min-height: 440px;
  }
}

@media (max-width: 700px) {
  .lightbox-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
  }

  .lightbox-nav.prev,
  .lightbox-nav.next {
    position: absolute;
    bottom: 92px;
    grid-row: auto;
    width: 44px;
    height: 44px;
  }

  .lightbox-nav.prev {
    left: 8px;
  }

  .lightbox-nav.next {
    right: 8px;
  }

  .lightbox-stage img {
    max-height: 64vh;
  }

  .lightbox-thumb {
    width: 52px;
    height: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
