:root {
  --ink: #17211b;
  --muted: #5e6a62;
  --line: #dfe6df;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #1f7a4d;
  --green-dark: #145235;
  --gold: #d79a32;
  --soft: #eef5ed;
  --shadow: 0 18px 50px rgba(20, 45, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

figure {
  margin: 0;
}

.image-caption,
.resource-caption {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.carousel-figure,
.card-media,
.workshop-figure,
.guide-hero-figure,
.resource-media {
  margin: 0;
}

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

.topbar {
  background: var(--green-dark);
  color: #eef8f0;
  font-size: 14px;
}

.container,
.topbar-inner,
.nav,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #72a65f);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--green);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--green);
  color: var(--green-dark);
}

.product-nav-item {
  position: relative;
}

.product-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.product-nav-toggle:hover,
.product-nav-toggle:focus-visible,
.product-nav-item.is-open .product-nav-toggle {
  color: var(--green);
}

.product-nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.product-nav-item.is-open .product-nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

.product-nav-menu {
  position: absolute;
  top: calc(100% + 17px);
  left: -16px;
  z-index: 30;
  display: none;
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(18, 44, 28, 0.16);
}

.product-nav-item.is-open .product-nav-menu {
  display: block;
}

.product-nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.product-nav-menu a:hover,
.product-nav-menu a:focus-visible {
  background: var(--soft);
  color: var(--green-dark);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  direction: ltr;
  margin-left: 0.25rem;
}

.language-select {
  min-height: 36px;
  padding: 0.45rem 1.8rem 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background-color: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.language-select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

html[dir="rtl"] body {
  direction: ltr;
}

html[dir="rtl"] .is-rtl-text {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

html[dir="rtl"] .guide-content ul {
  box-sizing: border-box;
  max-width: 100%;
  padding-left: 0;
  padding-right: 22px;
}

html[dir="rtl"] input.is-rtl-text,
html[dir="rtl"] textarea.is-rtl-text {
  text-align: right;
}

html[dir="rtl"] .language-switcher,
html[dir="rtl"] .language-switcher * {
  direction: ltr;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}

.btn-light:hover {
  background: #edf5ec;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline.dark {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  min-height: 590px;
  display: grid;
  align-items: end;
  background:
    radial-gradient(circle at 80% 20%, rgba(229, 166, 47, 0.18), transparent 30%),
    linear-gradient(135deg, #0d3c25 0%, #143827 50%, #eef3ed 100%);
  color: var(--white);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  min-width: 0;
}

.hero-carousel {
  position: relative;
  width: 380px;
  height: 320px;
  justify-self: end;
  background: rgba(187, 211, 193, 0.18);
  border: 1px solid rgba(222, 238, 224, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.hero-carousel-figure {
  width: 380px;
  justify-self: end;
}

.hero-carousel-figure .hero-carousel {
  width: 100%;
  justify-self: auto;
}

.hero-carousel-figure .image-caption {
  margin-top: 12px;
  color: #dcebdd;
}

.product-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #f4f8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-carousel-figure .image-caption,
.factory-carousel-figure .image-caption,
.workshop-figure .image-caption,
.guide-hero-figure .image-caption {
  margin-top: 12px;
}

.product-carousel .carousel-slide {
  object-fit: contain;
  background: #f4f8f1;
}

.factory-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.factory-carousel .carousel-slide {
  object-fit: cover;
}

.carousel-track,
.carousel-slide {
  width: 100%;
  height: 100%;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 700ms ease, transform 900ms ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(10, 35, 22, 0.58);
  color: var(--white);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-btn.prev {
  left: 14px;
}

.carousel-btn.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: var(--gold);
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  margin-top: 14px;
  font-size: clamp(38px, 6vw, 70px);
}

.hero p {
  max-width: 660px;
  margin: 22px 0 30px;
  font-size: 19px;
  color: #eef7ee;
}

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

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 680px;
  font-size: clamp(30px, 4vw, 46px);
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid > * {
  min-width: 0;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 44, 28, 0.06);
}

.card-media {
  background: var(--white);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media .image-caption {
  padding: 12px 18px 0;
}

.card-body {
  padding: 24px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p,
.feature p,
.copy p,
.list li {
  color: var(--muted);
}

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

.feature {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature strong {
  display: block;
  font-size: 28px;
  color: var(--green);
  margin-bottom: 8px;
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
}

.list {
  padding-left: 18px;
  margin: 18px 0 0;
}

.list li {
  margin-bottom: 8px;
}

.cta {
  background: var(--green-dark);
  color: var(--white);
  padding: 64px 0;
}

.cta .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 760px;
}

.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 78px 0;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  max-width: 720px;
  color: #dcebdd;
  font-size: 18px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  width: 32%;
  color: var(--green-dark);
  background: #f4f8f1;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.notice {
  background: #eaf6ee;
  border: 1px solid #b8d9c2;
  border-radius: 8px;
  color: #14532d;
  margin: 0 0 18px;
  padding: 12px 14px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  color: var(--green-dark);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.footer {
  background: #101712;
  color: #d8e3d7;
  padding: 58px 0 24px;
}

.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-title-link:hover,
.card h3 a:hover {
  color: var(--green);
}

.product-detail-action {
  margin: 22px 0 0;
}

.product-detail-hero {
  padding: 56px 0 64px;
}

.product-detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 52px;
}

.product-breadcrumb {
  margin: 0 0 20px;
  color: #dcebdd;
  font-size: 14px;
}

.product-breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.product-detail-hero h1 {
  max-width: 690px;
  margin: 8px 0 18px;
}

.product-detail-hero .hero-actions {
  margin-top: 28px;
}

.product-detail-hero .product-carousel {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

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

.quick-spec {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quick-spec strong {
  display: block;
  color: var(--green);
  font-size: 14px;
  text-transform: uppercase;
}

.quick-spec span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.product-detail-copy h2,
.product-faq h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.product-detail-copy p,
.product-detail-copy li {
  color: var(--muted);
}

.product-detail-copy .list {
  columns: 2;
  gap: 32px;
}

.product-detail-copy .list li {
  break-inside: avoid;
}

.order-steps {
  counter-reset: order-step;
}

.order-step {
  position: relative;
  padding: 30px 28px 28px;
}

.order-step::before {
  counter-increment: order-step;
  content: "0" counter(order-step);
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 26px;
  font-weight: 800;
}

.product-faq {
  max-width: 820px;
  margin: 0 auto;
}

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

.footer h2 {
  color: var(--white);
  font-size: 0.98rem;
  margin: 0 0 14px;
}

.footer p,
.footer a {
  color: #b8c7b7;
}

.footer-brand h2 {
  max-width: 280px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.footer-brand > p:not(.footer-kicker) {
  max-width: 340px;
  margin: 0;
}

.footer-kicker {
  margin: 0 0 12px;
  color: var(--gold) !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact-list li {
  display: grid;
  gap: 2px;
}

.footer-contact-list li > span:first-child {
  color: #819482;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

.footer-cta {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  color: var(--white) !important;
  font-weight: 800;
  text-decoration: none;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: #182118 !important;
  text-decoration: none !important;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social-links a {
  padding: 7px 10px;
  border: 1px solid rgba(184, 199, 183, 0.42);
  border-radius: 999px;
  color: #d8e3d7;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 42px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #95a594;
  font-size: 14px;
}

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

.language-rtl .footer,
.language-rtl .footer-contact-list {
  text-align: right;
}

.resource-teaser {
  background: #eaf1e8;
  border-top: 1px solid rgba(20, 81, 53, 0.12);
  border-bottom: 1px solid rgba(20, 81, 53, 0.12);
}

.resource-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.resource-teaser h2 {
  margin: 8px 0 12px;
}

.resource-teaser p {
  margin: 0;
  max-width: 700px;
}

@media (max-width: 860px) {
  .topbar-inner,
  .section-head,
  .cta .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-teaser-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 16px 28px rgba(18, 44, 28, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav {
    position: relative;
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links > a,
  .product-nav-toggle {
    width: 100%;
    min-height: 44px;
    padding: 11px 0;
  }

  .product-nav-toggle {
    justify-content: space-between;
  }

  .product-nav-item {
    width: 100%;
  }

  .product-nav-menu {
    position: static;
    min-width: 0;
    margin: 0 0 4px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .product-nav-menu a {
    min-height: 44px;
    padding: 11px 12px;
    white-space: normal;
  }

  .language-switcher {
    margin-left: 0;
  }

  .language-select {
    width: 100%;
    min-height: 44px;
  }

  .topbar-inner {
    gap: 4px;
    padding: 8px 0;
  }

  .topbar-inner span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .topbar-inner span:first-child {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-detail-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .product-detail-copy .list {
    columns: 1;
  }

  .hero-carousel {
    width: min(100%, 380px);
    height: 320px;
    justify-self: start;
  }

  .hero-carousel-figure {
    width: min(100%, 380px);
    justify-self: start;
  }

  .grid-2,
  .grid-3,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 520px) {
  .container,
  .topbar-inner,
  .nav,
  .section-inner,
  .footer-inner {
    width: min(1180px, calc(100% - 32px));
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .spec-table {
    min-width: 520px;
  }
}

.resource-hero {
  background: var(--green-dark);
  color: var(--white);
}

.guide-hero {
  background: var(--soft);
  color: var(--ink);
}

.resource-hero p {
  color: #dcebdd;
}

.guide-hero p {
  color: var(--muted);
}

.compact-head {
  gap: 24px;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(9, 56, 35, 0.08);
}

.resource-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7efe6;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.resource-caption {
  padding: 12px 16px 0;
  font-size: 0.8rem;
}

.resource-card:hover .resource-image img {
  transform: scale(1.025);
}

.resource-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.resource-card-body h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.28;
}

.resource-card-body h2 a,
.text-link {
  color: var(--green-dark);
}

.resource-card-body p {
  margin: 0;
  color: var(--muted);
}

.resource-keyword {
  color: #a8781b !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
}

.guide-link {
  display: flex;
  gap: 16px;
  min-height: 160px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(9, 56, 35, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-link:hover {
  border-color: #95b896;
  transform: translateY(-2px);
}

.guide-link > span {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
}

.guide-link h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.guide-link p,
.resource-callout {
  margin: 0;
  color: var(--muted);
}

.resource-callout {
  margin-top: 24px;
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.guide-hero h1 {
  max-width: 780px;
}

.breadcrumb {
  margin: 0 0 18px;
  color: #587064;
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb span {
  padding: 0 8px;
}

.guide-hero-image {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #d2e0d1;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(9, 56, 35, 0.1);
}

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

.guide-article {
  padding-top: 72px;
}

.guide-content {
  max-width: 860px;
}

.guide-content > section {
  margin-bottom: 42px;
}

.guide-content h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.22;
}

.guide-content p,
.guide-content li {
  color: #506357;
  font-size: 1.06rem;
  line-height: 1.75;
}

.guide-content ul {
  padding-left: 22px;
}

.guide-content li {
  margin-bottom: 10px;
}

.faq-section {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  color: #153724;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.related-guides {
  padding-top: 72px;
}

@media (max-width: 860px) {
  .resource-grid,
  .guide-links,
  .guide-hero-inner {
    grid-template-columns: 1fr;
  }

  .guide-hero-image {
    min-height: 240px;
  }

  .guide-content h2 {
    font-size: 1.65rem;
  }
}

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

.faq-hero {
  background:
    linear-gradient(120deg, rgba(20, 82, 53, 0.96), rgba(18, 68, 46, 0.88)),
    url("img/factory-hero-blur.a9c28b829c57.jpg") center / cover;
}

/* The shared breadcrumb uses a dark link color, so apply a light treatment only on dark page heroes. */
.page-hero:not(.guide-hero) .breadcrumb,
.page-hero:not(.guide-hero) .breadcrumb a {
  color: #eff7e8;
}

.page-hero:not(.guide-hero) .breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-hero:not(.guide-hero) .breadcrumb span {
  color: #c4dfc9;
}

.faq-page-section {
  background: linear-gradient(180deg, #f8fbf7 0, var(--paper) 280px);
}

.faq-search-panel {
  max-width: 860px;
  margin: 0 auto 18px;
}

.faq-search-panel input {
  border: 2px solid #7ba98b;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(20, 82, 53, 0.07);
  font-size: 1rem;
}

.faq-search-panel input:focus {
  outline: 3px solid rgba(31, 122, 77, 0.18);
  border-color: var(--green);
}

.faq-search-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-tabs {
  display: flex;
  gap: 8px;
  margin: 0 auto 34px;
  max-width: 1180px;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}

.faq-filter {
  flex: 0 0 auto;
  border: 1px solid #d7e2d7;
  border-radius: 999px;
  background: #f0f5ee;
  color: #365044;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 13px;
}

.faq-filter span,
.faq-category-heading span {
  color: #64806d;
  font-size: 0.8rem;
}

.faq-filter.active,
.faq-filter:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.faq-filter.active span {
  color: #d9f0df;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 42px;
}

.faq-index {
  position: sticky;
  top: 24px;
  padding: 20px;
  border: 1px solid #dbe6da;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.faq-index p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-index ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
}

.faq-index a {
  color: #4f6555;
  font-size: 0.92rem;
  text-decoration: none;
}

.faq-index a:hover {
  color: var(--green);
  text-decoration: underline;
}

.faq-content-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.faq-content-tools p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-expand-toggle,
.faq-copy-link,
.faq-helpful button {
  border: 0;
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.faq-expand-toggle:hover,
.faq-copy-link:hover,
.faq-helpful button:hover,
.faq-helpful button[aria-pressed="true"] {
  color: var(--green);
  text-decoration: underline;
}

.faq-category {
  scroll-margin-top: 24px;
}

.faq-category + .faq-category {
  margin-top: 52px;
}

.faq-category-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 18px;
  margin-bottom: 16px;
}

.faq-category-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.faq-category-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.faq-master-list {
  gap: 10px;
}

.faq-master-list .faq-item {
  scroll-margin-top: 24px;
  padding: 0;
  overflow: hidden;
  border-color: #dbe6da;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(15, 56, 36, 0.035);
}

.faq-master-list .faq-item[open] {
  border-color: #9ac4a5;
  box-shadow: 0 12px 28px rgba(15, 56, 36, 0.09);
}

.faq-master-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 18px 20px;
}

.faq-master-list summary::-webkit-details-marker {
  display: none;
}

.faq-summary-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #92ad98;
  border-radius: 50%;
}

.faq-summary-icon::before,
.faq-summary-icon::after {
  position: absolute;
  top: 8px;
  left: 4px;
  width: 8px;
  height: 1px;
  background: var(--green-dark);
  content: "";
}

.faq-summary-icon::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #e8efe7;
}

.faq-answer p {
  margin: 14px 0 0;
  color: #506357;
}

.faq-answer a {
  color: var(--green-dark);
  font-weight: 800;
}

.faq-related-links {
  font-size: 0.92rem;
}

.faq-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: #718075;
  font-size: 0.82rem;
}

.faq-helpful {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-helpful button {
  font-size: inherit;
}

.faq-no-results {
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid #cfe2d1;
  border-radius: 10px;
  background: #edf7ee;
}

.faq-no-results h2,
.faq-no-results p {
  margin: 0;
}

.faq-no-results p {
  margin-top: 6px;
  color: var(--muted);
}

.faq-no-results-actions,
.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.faq-outline {
  color: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
}

.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 68px;
  padding: 34px;
  border: 1px solid #c7ddd0;
  border-radius: 12px;
  background: linear-gradient(120deg, #e6f2ec, #eef4e8);
}

.faq-cta h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.faq-cta p {
  margin: 0;
  color: var(--muted);
}

.faq-cta-actions {
  flex: 0 0 auto;
  margin: 0;
}

.faq-answer mark {
  padding: 0 2px;
  background: #f5da79;
  color: inherit;
}

/* Keep the FAQ navigation and reading direction natural in Arabic and Hebrew. */
.language-rtl .faq-layout {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.3fr);
}

.language-rtl .faq-index ol {
  display: block;
  direction: rtl;
  list-style-position: inside;
  padding-right: 20px;
  padding-left: 0;
}

.language-rtl .faq-index li + li {
  margin-top: 8px;
}

.language-rtl .faq-search-panel input,
.language-rtl .faq-answer,
.language-rtl .faq-index,
.language-rtl .faq-no-results,
.language-rtl .faq-cta {
  text-align: right;
}

@media (max-width: 860px) {
  .faq-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-bottom: 24px;
    background: rgba(251, 252, 248, 0.96);
  }

  .faq-layout,
  .language-rtl .faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-index {
    position: static;
    display: none;
  }

  .faq-category + .faq-category {
    margin-top: 40px;
  }

  .faq-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .faq-content-tools,
  .faq-item-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .faq-master-list summary {
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}

/* Isolate contact details from surrounding right-to-left text. */
.language-rtl a[href^="mailto:"],
.language-rtl a[href^="https://wa.me/"],
.language-rtl input[type="email"] {
  unicode-bidi: isolate;
}
.language-rtl input[type="email"] {
  direction: ltr;
}
