.brand {
  flex-shrink: 0;
  text-decoration: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-panel .menu {
  gap: 20px;
}

.menu a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform .2s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.language-picker summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 76px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary img,
.language-menu img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(10, 37, 64, .12);
}

.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}

.language-picker[open] .language-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px -20px rgba(10, 37, 64, .35);
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a[aria-current="page"] {
  background: var(--ice-2);
  color: var(--navy);
}

.hero-img {
  position: relative;
}

/* Keep the approved hero columns stable when editable copy contains long words. */
.hero-grid > * {
  min-width: 0;
}

.hero h1 {
  overflow-wrap: anywhere;
}

.hero-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-product-link:focus-visible {
  outline: 3px solid rgba(255, 122, 89, .52);
  outline-offset: -5px;
}

.service-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-card:focus-visible {
  outline: 3px solid rgba(255, 122, 89, .42);
  outline-offset: 3px;
}

.pcard {
  position: relative;
  cursor: pointer;
}

.pcard .links a:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pcard .links a + a {
  position: relative;
  z-index: 2;
}

.pcard:has(.links a:first-child:focus-visible) {
  outline: 3px solid rgba(255, 122, 89, .42);
  outline-offset: 3px;
}

.hero-img [data-hero-image] {
  transition: none;
}

.hero-img [data-hero-image].is-changing {
  opacity: 1;
}

/* The production panel keeps the approved 16:9 frame while allowing the
   backend to rotate its saved image/video set without changing page layout. */
.split .media[data-production-media] {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ice-2);
}

.split .media[data-production-media] > img:not(.production-media-node) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.production-media-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.production-media-node {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.production-media-empty {
  width: 100%;
  height: 100%;
  background: var(--ice-2);
}

@media (prefers-reduced-motion: reduce) {
  .production-media-slide { transition: none; }
}

.carousel-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 20px;
  background: rgba(10, 37, 64, .68);
  z-index: 2;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--coral);
  border-color: var(--coral);
}

.carousel-dots button:focus-visible,
.menu-toggle:focus-visible,
.language-picker summary:focus-visible {
  outline: 3px solid rgba(255, 122, 89, .38);
  outline-offset: 2px;
}

.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #F6FAFD 0%, #EDF4FA 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--gray);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
}

.page-hero h1 {
  max-width: 780px;
  color: var(--navy);
  font-size: 46px;
  line-height: 1.1;
}

.page-hero p {
  max-width: 650px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 17px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr);
  gap: 50px;
  align-items: center;
}

.product-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 50px -28px rgba(10, 37, 64, .35);
}

.gallery-stage {
  aspect-ratio: 16 / 9;
  background: var(--ice-2);
}

.gallery-panel {
  width: 100%;
  height: 100%;
}

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

.gallery-panel > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-panel > video {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  object-fit: contain;
}

.media-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.media-tabs button {
  min-width: 0;
  min-height: 54px;
  padding: 9px 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  color: var(--gray);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.media-tabs button:last-child {
  border-right: 0;
}

.media-tabs button[aria-selected="true"] {
  background: var(--ice);
  color: var(--navy);
  box-shadow: inset 0 3px 0 var(--coral);
}

.media-tabs button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(255, 122, 89, .42);
  outline-offset: -3px;
}

.media-message,
.packaging-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 34px;
}

.media-message {
  background: linear-gradient(135deg, var(--ice-2), var(--white));
}

.media-message h3,
.packaging-panel h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.15;
}

.media-message p,
.packaging-panel p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 14px;
}

.packaging-panel {
  background: var(--navy);
}

.packaging-panel h3,
.packaging-panel p {
  color: var(--white);
}

.packaging-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.packaging-options li {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  color: #DDE8F1;
  font-size: 12px;
}

.packaging-quote {
  align-self: flex-start;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.packaging-quote:focus-visible {
  outline: 3px solid rgba(255, 122, 89, .55);
  outline-offset: 4px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.spec-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.38fr);
  gap: 64px;
  align-items: start;
}

.spec-intro {
  position: sticky;
  top: 106px;
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.spec-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  min-width: 0;
  min-height: 128px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.spec-card:nth-child(even) {
  border-right: 0;
}

.spec-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 54px auto minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  border-right: 0;
  border-bottom: 0;
}

.spec-card-icon {
  display: grid;
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-2);
  background: var(--ice);
}

.spec-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.spec-card dt {
  min-width: 0;
  margin: 1px 0 7px;
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.spec-card dd {
  min-width: 0;
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.spec-card--wide .spec-card-icon {
  grid-row: auto;
}

.spec-card--wide dt,
.spec-card--wide dd {
  margin: 0;
}

.status-pill {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--ice-2);
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.download-note {
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
}

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

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 178px;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ice);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.contact-channel[href]:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 37, 64, .28);
  box-shadow: 0 14px 28px -20px rgba(10, 37, 64, .35);
}

.contact-channel.is-display-only {
  cursor: default;
}

.contact-channel.is-display-only:hover,
.contact-channel:not([href]):hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.contact-channel:focus-visible {
  outline: 3px solid rgba(255, 122, 89, .42);
  outline-offset: 3px;
}

.contact-channel svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  margin-bottom: 15px;
  fill: none;
  stroke: var(--navy-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-channel .contact-channel-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  margin-bottom: 15px;
  background: transparent;
  object-fit: contain;
}

.contact-channel span {
  display: block;
  max-width: 100%;
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.contact-channel strong {
  display: block;
  max-width: 100%;
  margin-top: 10px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.whatsapp-float {
  position: fixed;
  right: max(14px, calc(env(safe-area-inset-right) + 8px));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #16A05D;
  color: var(--white);
  box-shadow: 0 12px 26px -12px rgba(10, 37, 64, .55);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #12844D;
  box-shadow: 0 16px 30px -12px rgba(10, 37, 64, .62);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(255, 122, 89, .62);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .breadcrumbs,
[dir="rtl"] .detail-actions {
  direction: rtl;
}

[dir="rtl"] .media-tabs button {
  border-right: 0;
  border-left: 1px solid var(--line);
}

[dir="rtl"] .media-tabs button:last-child {
  border-left: 0;
}

@media (max-width: 1100px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-panel {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 20px 35px -30px rgba(10, 37, 64, .45);
  }

  .nav-panel.is-open {
    display: flex;
    flex-direction: column;
  }

  .nav-panel .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-panel .menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
  }

  .language-picker {
    margin-top: 12px;
  }

  .language-picker summary {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
  }

  .language-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .nav-quote {
    min-height: 46px;
    margin-top: 12px;
    text-align: center;
  }

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

}

@media (max-width: 820px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .spec-layout {
    grid-template-columns: 1fr;
  }

  .spec-intro {
    position: static;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .spec-card,
  .spec-card:nth-child(even),
  .spec-card--wide {
    grid-column: auto;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    border-right: 0;
  }

  .spec-card:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .spec-card--wide .spec-card-icon {
    grid-row: 1 / span 2;
  }

  .spec-card--wide dt,
  .spec-card--wide dd {
    margin: initial;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 44px 0 36px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .detail-actions .btn-coral,
  .detail-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .media-message,
  .packaging-panel {
    padding: 26px 22px;
  }

  .gallery-stage {
    height: 310px;
    aspect-ratio: auto;
  }

  .media-tabs button {
    min-height: 58px;
    font-size: 12px;
  }

  .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    min-height: 154px;
  }

  .whatsapp-float {
    right: max(14px, calc(env(safe-area-inset-right) + 8px));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  #contact .formbox,
  .detail-inquiry .formbox {
    padding-bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img [data-hero-image],
  .menu-toggle span,
  .language-chevron,
  .contact-channel,
  .whatsapp-float {
    transition: none;
  }
}
.brand {
  align-items: center;
  flex-direction: row;
  gap: 11px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy b {
  font-size: 22px;
  letter-spacing: .5px;
  color: var(--navy);
}

.brand-copy span {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--gray);
}

.company-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.f-brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.f-brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.foot .f-brand .sub {
  margin: 2px 0 0;
}
