/* Shared polish for the product dropdown and footer quick links. */
.product-nav-panel {
  min-width: 390px;
  max-height: min(72vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.product-nav-group {
  margin: 1px 0;
}

.product-nav-group > summary {
  min-height: 40px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink, #1d2630);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  box-shadow: none;
}

.product-nav-group > summary::-webkit-details-marker {
  display: none;
}

.product-nav-group > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.product-nav-group > summary:hover,
.product-nav-group[open] > summary {
  background: #f4ede0;
  color: var(--accent-dark, #d46d00);
}

.product-nav-group[open] > summary::after {
  margin-top: 2px;
  opacity: 0.85;
  transform: rotate(225deg);
}

.product-nav-sublist {
  display: grid;
  gap: 4px;
  margin: 2px 0 8px;
  padding: 2px 0 4px 16px;
  border-left: 2px solid rgba(244, 139, 32, 0.22);
}

.product-nav-panel .nav-sub {
  padding: 9px 12px;
  color: var(--muted, #66707d);
}

.product-nav-panel .nav-sub::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 999px;
  background: rgba(244, 139, 32, 0.42);
}

.product-nav-panel .nav-sub-all {
  color: var(--navy, #223546);
  font-weight: 750;
}

.footer-top .footer-col:last-child {
  gap: 8px;
}

.footer {
  padding: 46px 0 34px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  padding-top: 0;
  border-top: 0;
  color: inherit;
  font-size: inherit;
}

.footer-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: var(--ink, #1d2630);
  border: 1px solid rgba(222, 211, 193, 0.9);
  box-shadow: 0 20px 48px rgba(24, 31, 40, 0.08);
}

.footer-panel::before {
  display: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.7fr) minmax(190px, 0.55fr);
  gap: 34px;
  padding: 36px;
  align-items: start;
}

.footer-company {
  min-height: 0;
  max-width: 640px;
}

.footer-company strong {
  display: block;
  color: var(--muted, #66707d);
  font-size: clamp(1.25rem, 2.2vw, 1.78rem);
  font-weight: 760;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.footer-company span {
  display: block;
  color: var(--muted, #66707d);
  line-height: 1.65;
}

.footer-tagline {
  margin-top: 18px;
  max-width: 520px;
}

.footer-col {
  display: grid;
  gap: 8px;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: var(--muted, #66707d);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  color: var(--muted, #66707d);
  line-height: 1.55;
  font-size: 0.98rem;
}

.footer-top .footer-col:last-child a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 2px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted, #66707d);
  font-weight: 750;
  box-shadow: none;
  transition: color 0.18s ease;
}

.footer-top .footer-col:last-child a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--accent, #f48b20);
  opacity: 0;
  transform: translateX(0) scaleX(0.45);
  transform-origin: left center;
  transition: opacity 0.18s ease, transform 0.22s ease, width 0.22s ease;
}

.footer-top .footer-col:last-child a:hover {
  color: var(--accent-dark, #d46d00);
  text-decoration: none;
}

.footer-top .footer-col:last-child a:hover::after {
  width: 34px;
  opacity: 1;
  transform: translateX(8px) scaleX(1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 4px;
  color: var(--muted, #66707d);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
}

.footer-bottom a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--accent-dark, #d46d00);
}

@media (max-width: 760px) {
  .product-nav-panel {
    min-width: 0;
    max-height: min(58vh, 460px);
  }

  .footer {
    padding: 34px 0 28px;
  }

  .footer-panel {
    border-radius: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .footer-company strong {
    font-size: 1.3rem;
  }

  .footer-company span,
  .footer-col a,
  .footer-col span {
    font-size: 0.95rem;
  }

  .location-map iframe {
    height: 190px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0 2px;
  }
}

@media (max-width: 520px) {
  .footer-company strong {
    font-size: 1.16rem;
  }

  .footer-top {
    padding: 20px;
  }

  .location-map iframe {
    height: 170px;
  }
}
