body {
  margin: 0;
  background: #f7f8f3;
  color: #2f2a24;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: #426000;
}

.card-exchange-page {
  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 42px;
}

.card-exchange-page .public-primary-navigation {
  box-sizing: border-box;
  width: min(960px, 100%);
  margin: 0 auto 20px;
}

.card-exchange-page .public-primary-navigation ul {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  list-style: none;
}

.card-exchange-page .public-primary-navigation li {
  margin: 0 30px 0 0;
  padding: 0;
}

.card-exchange-page .public-primary-navigation a,
.card-exchange-page .public-primary-navigation a:visited {
  display: block;
  border: 0;
  color: #6a6a6a;
  font-size: 12px;
  line-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-exchange-page .public-primary-navigation a:hover,
.card-exchange-page .public-primary-navigation a:focus {
  color: #000;
  text-decoration: none;
}

.card-exchange-page .public-primary-navigation .current-menu-item > a {
  color: #636363;
  font-weight: 700;
}

.card-exchange-page .public-menu-lang-switch {
  margin-right: 0 !important;
  margin-left: auto !important;
  white-space: nowrap;
}

.card-exchange-page .public-menu-lang-switch a {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}

.card-exchange-page .public-menu-lang-switch .is-active {
  color: #2f7d32 !important;
  font-weight: 700;
}

.card-exchange-page .public-menu-lang-switch span {
  color: #b6a891;
}

.card-exchange-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.card-exchange-back {
  margin: 18px 0 12px;
}

.card-exchange-back a {
  color: #2f2a24;
  font-size: 15px;
  text-decoration: none;
}

.card-exchange-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: min(960px, 100%);
  margin: 0 auto 18px;
}

.card-exchange-header > div:first-child {
  flex: 1 1 auto;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2ded6;
}

.card-exchange-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-exchange-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.18;
}

.card-exchange-header p {
  margin: 0;
  line-height: 1.45;
}

.card-exchange-counter {
  min-width: 168px;
  padding: 10px 14px;
  border: 1px solid #e2ded6;
  border-left: 4px solid #b56a2a;
  border-radius: 7px;
  background: #fff;
  text-align: right;
}

.card-exchange-counter strong {
  display: block;
  font-size: 24px;
}

.card-exchange-counter span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-exchange-counter a,
.card-exchange-action,
.card-exchange-send button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 10px;
  padding: 4px 12px;
  border: 1px solid #2e2b26;
  background: #2e2b26;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.card-exchange-toolbar,
.card-exchange-grid,
.card-exchange-selection,
.card-exchange-send {
  width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.card-exchange-toolbar {
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid #d8c8b8;
  background: #fff;
}

.card-exchange-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.card-exchange-card,
.card-exchange-selection-item {
  border: 1px solid #e2ded6;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(52, 49, 44, 0.055);
}

.card-exchange-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
  background: #fff;
}

.card-exchange-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-exchange-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px 12px;
}

.card-exchange-card-body a {
  color: #2f2a24;
  font-weight: 700;
  text-decoration: none;
}

.card-exchange-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid #b56a2a;
  border-radius: 50%;
  background: #fff;
  color: #b56a2a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.card-exchange-toggle.is-selected {
  background: #b56a2a;
  color: #fff;
}

.card-exchange-empty,
.card-exchange-error {
  width: min(960px, 100%);
  margin: 18px auto;
  padding: 18px;
  border: 1px solid #e2ded6;
  background: #fff;
}

.card-exchange-error {
  border-color: #d7a4a4;
  color: #8a2424;
  font-weight: 700;
}

.card-exchange-selection {
  display: grid;
  gap: 12px;
}

.card-exchange-selection-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.card-exchange-selection-item .card-exchange-image {
  aspect-ratio: 1 / 1;
  padding: 0;
}

.card-exchange-selection-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.card-exchange-selection-item form {
  margin: 0;
}

.card-exchange-send {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e2ded6;
  background: #fff;
}

.card-exchange-send label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.card-exchange-send input,
.card-exchange-send textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #d8c8b8;
  font: inherit;
}

.card-exchange-detail {
  display: grid;
  place-items: center;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #e2ded6;
  background: #fff;
}

.card-exchange-detail img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
}
