.global-markets, .buyer-perspectives {
  padding-block: clamp(44px, 6vw, 88px);
}
.global-markets {
  background: #ece9e0;
  color: #253545;
}
.buyer-perspectives {
  background: #253545;
  color: #f6f0e3;
}
.market-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px 26px;
  flex-wrap: wrap;
}
.market-heading h2 {
  margin: 0;
  font: 400 clamp(42px, 5.7vw, 76px)/.98 var(--ed-serif, Georgia, serif);
  letter-spacing: -.026em;
}
.market-heading p {
  max-width: 65ch;
  margin: 14px 0 0;
  line-height: 1.65;
}
.market-rail {
  display: flex;
  gap: clamp(12px, 1.8vw, 24px);
  margin: 25px 0 0;
  padding: 4px 3px 15px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: currentColor transparent;
}
.market-rail > li { scroll-snap-align: start; }
.market-rail.is-looping { scroll-snap-type: none; }
.market-rail:focus-visible, .market-controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.market-controls:not([hidden]) { display: flex; gap: 8px; }
.market-controls button {
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 25px;
}
.market-controls button:disabled { cursor: default; opacity: .46; }
.market-controls .market-autoplay-toggle { font-size: 16px; }
.country-rail > li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid #25354548;
  border-radius: 5px;
  background: #faf7ef;
  font-weight: 600;
}
.market-code {
  display: inline-block;
  background: #253545;
  color: #fff9e9;
  border-radius: 4px;
  padding: 5px 8px;
  letter-spacing: .05em;
  font-size: .75rem;
}
.market-inquiry {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 13px;
  color: inherit;
  text-underline-offset: 4px;
}
.buyer-card {
  flex: 0 0 clamp(260px, 42vw, 510px);
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  border: 1px solid #c8b78e6e;
  border-radius: 12px;
  background: #253545;
}
.buyer-card__top, .buyer-card__region {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.buyer-card__top { color: #e7d9b8; font-size: .81rem; }
.buyer-card__top .market-code { color: #253545; background: #e7d9b8; }
.buyer-card__text {
  margin: 0;
  border-inline-start: 2px solid #d4c0959e;
  padding-inline-start: 15px;
  font: 400 clamp(20px, 2vw, 30px)/1.38 var(--ed-serif, Georgia, serif);
}
.buyer-card__region {
  margin: 0;
  border-top: 1px solid #d8c9a450;
  padding-top: 16px;
  font-size: .88rem;
}
.buyer-card__region span { color: #e7d9b8; }

.ed-sample .ed-float-top, .zodar-floating-contact {
  position: fixed;
  z-index: 9;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: 1px solid #acc0bb;
  border-radius: 50%;
  box-shadow: 0 6px 24px #19323835;
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
}
.ed-sample .ed-float-top {
  left: max(16px, env(safe-area-inset-left));
  right: auto;
  color: #253545;
  background: #f8f5ec;
}
.zodar-floating-contact {
  right: max(16px, env(safe-area-inset-right));
  color: #fffaf0;
  background: #253545;
}
.ed-sample .ed-float-top:focus-visible, .zodar-floating-contact:focus-visible {
  outline: 2px solid #253545;
  outline-offset: 3px;
}
.site-footer { padding-bottom: 68px; }
.ed-sample .site-footer { padding-bottom: max(82px, calc(env(safe-area-inset-bottom) + 66px)); }
.zodar-floating-contact:hover { background: #253545; color: #fffaf0; }
.zodar-chat-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 20px;
  color: currentColor;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
}
.zodar-chat-icon::after {
  content: '';
  position: absolute;
  inset: auto auto -4px 3px;
  width: 6px;
  height: 6px;
  background: inherit;
  border-left: 2px solid currentColor;
  transform: skewY(-35deg);
}
.ed-header nav .zodar-nav-home[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 420px) {
  .ed-sample .ed-header nav { gap: 5px; }
  .ed-sample .ed-header nav a { font-size: clamp(11px, 3.1vw, 13px); white-space: nowrap; }
}
.zodar-popup {
  box-sizing: border-box;
  border: 1px solid #496274;
  border-radius: 16px;
  padding: 0;
  color: #253545;
  background: #f8f5ec;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  box-shadow: 0 15px 55px #25354555;
}
.zodar-popup::backdrop { background: #253545b5; }
.zodar-popup h2, .zodar-popup p { margin: 0; }
.zodar-popup h2 { font: 400 clamp(32px, 4.6vw, 52px)/1 var(--ed-serif, Georgia, serif); }
.zodar-popup p + p { margin-top: 12px; }
.zodar-popup__close {
  border: 1px solid currentColor;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 24px;
}
.zodar-popup button:focus-visible, .zodar-popup a:focus-visible, .zodar-popup input:focus-visible, .zodar-popup textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.zodar-quick-popup {
  position: fixed;
  inset: auto max(14px, env(safe-area-inset-right)) max(68px, calc(env(safe-area-inset-bottom) + 64px)) auto;
  margin: 0;
  width: min(360px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
}
.zodar-quick-popup__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #253545;
  color: #fff8e9;
}
.zodar-quick-popup__head h2 { font-size: 32px; }
.zodar-quick-popup__body { padding: 20px; }
.zodar-quick-popup__body p { line-height: 1.55; }
.zodar-quick-popup__body a { display: flex; align-items: center; min-height: 44px; color: inherit; }
.zodar-chat-bubble {
  border: 1px solid #49627448;
  border-radius: 3px 12px 12px;
  padding: 12px 14px;
  background: #fffdf6;
}
.zodar-chat-form { display: grid; gap: 8px; padding-top: 15px; }
.zodar-chat-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #496274;
  border-radius: 8px;
  background: #fffdf6;
  color: inherit;
  font: inherit;
  padding: 9px 11px;
  resize: vertical;
}
.zodar-chat-form .ed-button { justify-content: center; }
.zodar-chat-email { margin-top: 8px; }
.zodar-quote-popup { width: min(860px, calc(100vw - 28px)); }
.zodar-quote-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.zodar-quote-brand {
  padding: 30px 23px;
  background: #253545;
  color: #fff8e9;
}
.zodar-quote-brand img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 18px;
}
.zodar-quote-brand p { margin-top: 12px; line-height: 1.5; }
.zodar-quote-content { padding: 25px clamp(16px, 3.7vw, 36px); }
.zodar-quote-content header { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.zodar-quote-content header button { flex: 0 0 44px; }
.zodar-quote-content > p { margin-top: 12px; line-height: 1.5; }
.zodar-quote-content form { display: grid; gap: 9px; margin-top: 16px; }
.zodar-quote-content label { font-weight: 600; }
.zodar-quote-content input, .zodar-quote-content textarea {
  background: #fffaf0;
  color: #253545;
  border: 1px solid #496274;
  border-radius: 5px;
  padding: 10px 12px;
  min-height: 44px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}
.zodar-quote-content textarea { resize: vertical; }
.zodar-quote-content [role=status] { font-size: .88rem; line-height: 1.45; }
@media (max-width: 700px) {
  .buyer-card { flex-basis: min(83%, 410px); }
  .zodar-quote-grid { grid-template-columns: minmax(0, 1fr); }
  .zodar-quote-brand { display: none; }
}
