:root {
  --fextra-ink: #24343a;
  --fextra-teal: #557f8d;
  --fextra-teal-dark: #345d69;
  --fextra-gold: #9b8262;
  --fextra-paper: #f7f5f0;
  --fextra-line: #d8d4cb;
  --fextra-menu-font: Arial, Helvetica, sans-serif;
}

body {
  color: var(--fextra-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.dealer-area-notice {
  padding: 96px 20px 120px;
}

.dealer-area-notice__inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.dealer-area-notice__eyebrow {
  margin: 0 0 12px;
  color: var(--fextra-gold);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.dealer-area-notice h1 {
  margin: 0 0 22px;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.dealer-area-notice__inner > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #536369;
  font-size: 19px;
  line-height: 1.65;
}

html body .header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--fextra-line);
  box-shadow: none;
}

.header__content {
  max-width: 1440px;
  gap: 24px;
}

html body .header__logo {
  display: block;
  width: 190px;
  min-width: 190px;
  height: 72px;
  background: url('../Images/fextra-logo.svg') center / contain no-repeat;
}

html body .header__logo svg {
  display: none !important;
}

html body .header__nav-item {
  color: var(--fextra-ink);
  padding-right: 11px;
  padding-left: 11px;
  font-family: var(--fextra-menu-font);
  font-size: 15px;
  font-weight: 400;
}

.menu-font-preview {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px 12px;
  align-items: center;
  width: min(360px, calc(100vw - 40px));
  padding: 16px;
  color: var(--fextra-ink);
  background: #fff;
  border: 1px solid var(--fextra-line);
  box-shadow: 0 8px 26px rgba(36, 52, 58, .18);
}

.menu-font-preview label {
  grid-column: 1 / -1;
  font-weight: 700;
}

.menu-font-preview select {
  min-width: 0;
  height: 42px;
  padding: 0 36px 0 10px;
  color: var(--fextra-ink);
  background: #fff;
  border: 1px solid var(--fextra-line);
  font: inherit;
}

.menu-font-preview button {
  height: 42px;
  padding: 0 14px;
  color: #fff;
  background: var(--fextra-teal-dark);
  border: 0;
  font: inherit;
  cursor: pointer;
}

html body .header__menu {
  min-width: 0;
  flex: 1;
}

html body .header__nav-list {
  justify-content: flex-start;
}

html body .header__language-nav {
  display: none;
}

html body .header__nav-item:hover,
html body .header__nav-item--active {
  color: var(--fextra-teal-dark);
}

.fextra-home {
  width: 100%;
  min-width: 0;
  margin-top: -2rem;
}

.textpic:has(.fextra-home) {
  grid-template-columns: minmax(0, 1fr);
}

.textpic__text:has(.fextra-home),
.rich-text:has(.fextra-home) {
  min-width: 0;
}

.fextra-home > p,
.fextra-hero > p,
.fextra-section > p,
.fextra-section__inner > p:empty,
.fextra-products > p {
  display: none;
}

.fextra-hero {
  position: relative;
  min-height: 0;
  aspect-ratio: 2075 / 758;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--fextra-paper);
}

.fextra-hero__image {
  position: static;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.fextra-hero--managed .fextra-hero__image {
  position: absolute;
  inset: 0;
}

.fextra-hero > p:nth-child(2) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0;
}

.fextra-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 31, 35, .70), rgba(20, 31, 35, .08) 68%);
}

.fextra-hero__content {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 0;
  color: #fff;
}

.rich-text .fextra-kicker,
.fextra-hero--managed .fextra-kicker {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.fextra-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

.rich-text .fextra-hero__intro,
.fextra-hero--managed .fextra-hero__intro {
  max-width: 570px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: #fff;
}

.fextra-hero--managed .fextra-hero__intro p {
  color: #fff;
}

.fextra-section {
  padding: 72px 20px;
}

.fextra-hero + .fextra-section {
  padding-top: 36px;
}

.fextra-section__inner > p:first-child,
.fextra-section__inner > p:last-child {
  display: none;
}

.fextra-section--paper {
  background: var(--fextra-paper);
}

.fextra-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.fextra-section h2 {
  margin: 0 0 12px;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 38px;
  letter-spacing: 0;
}

.fextra-section__lead {
  max-width: 720px;
  margin: 0 0 38px;
  color: #536369;
  font-size: 18px;
}

.fextra-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fextra-categories > p {
  display: none;
}

.fextra-categories > p:has(.fextra-category) {
  display: contents;
}

.fextra-category {
  display: block;
  overflow: hidden;
  color: var(--fextra-ink);
  background: var(--fextra-paper);
  border: 1px solid var(--fextra-line);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.fextra-category img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 14px;
  object-fit: contain;
  background: #f1efe9;
}

.fextra-category span {
  display: block;
  padding: 20px 22px 22px;
}

.rich-text .fextra-category {
  color: var(--fextra-ink);
  text-decoration: none;
}

.fextra-category:hover {
  color: var(--fextra-teal-dark);
  border-color: var(--fextra-teal);
  transform: translateY(-3px);
}

.rich-text .fextra-category:hover {
  color: var(--fextra-teal-dark);
}

.fextra-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.fextra-product {
  margin: 0;
  cursor: zoom-in;
}

.fextra-product:focus-visible {
  outline: 2px solid var(--fextra-teal-dark);
  outline-offset: 5px;
}

.fextra-product__image {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f1f0ec;
}

.fextra-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fextra-product__image p {
  width: 100%;
  height: 100%;
  margin: 0;
}

.fextra-product figcaption {
  padding-top: 14px;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}

.fextra-product small {
  display: block;
  margin-top: 4px;
  color: var(--fextra-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

html body .footer__logo {
  display: block;
  width: 220px;
  height: 56px;
  background: url('../Images/fextra-logo.svg') left center / contain no-repeat;
}

html body .footer__logo svg {
  display: none !important;
}

html body .component--page-footer {
  color: var(--fextra-ink);
  background: var(--fextra-paper);
  border-top: 1px solid var(--fextra-line);
}

html body .component--page-footer > .component__content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 24px;
}

html body .component--page-footer .footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 32px;
}

html body .component--page-footer .footer__col {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--fextra-ink);
  background: transparent;
}

html body .component--page-footer .footer__col--2,
html body .component--page-footer .footer__col--3 {
  display: none;
}

html body .component--page-footer .footer__col--4 {
  grid-column: 2;
}

html body .component--page-footer .footer__col--4 .component,
html body .component--page-footer .footer__col--4 .component__content,
html body .component--page-footer .footer__col--4 .textpic,
html body .component--page-footer .footer__col--4 .textpic__text,
html body .component--page-footer .footer__col--4 .rich-text {
  width: auto;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

html body .component--page-footer .button-wrapper__p {
  display: none;
}

html body .component--page-footer .footer__meta {
  grid-column: 1 / -1;
  min-height: 0;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--fextra-line);
  background: transparent;
}

@media (max-width: 960px) {
  .fextra-categories,
  .fextra-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dealer-area-notice {
    padding: 64px 18px 84px;
  }

  .dealer-area-notice h1 {
    font-size: 34px;
  }

  .header__logo {
    width: 140px;
    min-width: 140px;
    height: 58px;
  }

  .fextra-hero {
    width: 100%;
    min-height: 560px;
    aspect-ratio: auto;
  }

  .fextra-hero__content {
    padding: 56px 0;
  }

  .fextra-hero__intro {
    font-size: 17px;
  }

  .fextra-section {
    padding: 52px 18px;
  }

  .fextra-section h2 {
    font-size: 30px;
  }

  .fextra-categories,
  .fextra-products {
    grid-template-columns: 1fr;
  }

  .fextra-category {
    min-height: 0;
  }
}

.fextra-catalog {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.fextra-catalog h1 {
  margin: 0 0 12px;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 44px;
  letter-spacing: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 300px);
  gap: 16px;
  margin: 36px 0 18px;
}

.catalog-search {
  max-width: 560px;
  margin: 32px 0 22px;
}

.catalog-search label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.catalog-search input {
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--fextra-line);
  border-radius: 2px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 80px;
  margin: 0 calc(50% - 50vw) 24px;
  padding: 24px max(20px, calc((100vw - 1180px) / 2)) 28px;
  background: #e9edef;
  border: 0;
}

.fextra-catalog .catalog-filters__title {
  flex-basis: 100%;
  margin: 0;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.3;
}

.catalog-filters > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.catalog-filters > div:first-of-type {
  min-width: 260px;
}

.catalog-filters strong {
  flex-basis: 100%;
  font-family: Georgia, 'Times New Roman', serif;
}

.catalog-filters label {
  cursor: pointer;
}

.catalog-filters input {
  width: 18px;
  height: 18px;
  accent-color: var(--fextra-teal);
}

.catalog-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--fextra-ink);
  font-size: 13px;
  font-weight: 700;
}

.catalog-toolbar input,
.catalog-toolbar select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--fextra-ink);
  background: #fff;
  border: 1px solid var(--fextra-line);
  border-radius: 2px;
  font: inherit;
}

.catalog-result {
  margin: 0 0 24px;
  color: #65757b;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

.catalog-card__button {
  width: 100%;
  padding: 0;
  color: var(--fextra-ink);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.catalog-card__image {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--fextra-paper);
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-card strong {
  display: block;
  margin-top: 5px;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
}

.catalog-card__button > span:not(.catalog-card__image) {
  display: block;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  text-align: center;
}

.catalog-card__button > strong {
  color: var(--fextra-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-align: center;
}

.catalog-card small {
  display: block;
  margin-top: 4px;
  color: var(--fextra-gold);
}

.catalog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.catalog-pager button,
.catalog-dialog__close {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--fextra-teal-dark);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.catalog-pager button:disabled {
  opacity: .35;
  cursor: default;
}

.catalog-dialog {
  width: min(720px, calc(100% - 32px));
  padding: 22px;
  border: 0;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .25);
}

.catalog-dialog::backdrop {
  background: rgba(25, 35, 38, .72);
}

.catalog-dialog img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto 16px;
}

.catalog-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fextra-legal {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 56px 0 72px;
  color: var(--fextra-ink);
  line-height: 1.65;
}

.fextra-legal h2 {
  margin: 36px 0 10px;
  color: var(--fextra-teal-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
}

.fextra-legal p {
  margin: 0 0 16px;
}

.fextra-legal a,
.fextra-footer-links a {
  color: var(--fextra-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fextra-legal__updated {
  color: #65757b;
}

.fextra-footer-links {
  margin: 0;
  padding: 0;
  background: transparent;
}

.fextra-footer-links p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: flex-end;
  margin: 0;
}

.fextra-footer-links a {
  color: var(--fextra-teal) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.fextra-footer-links a:hover {
  color: var(--fextra-teal-dark) !important;
  text-decoration: underline;
}

@media (max-width: 700px) {
  html body .component--page-footer .footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  html body .component--page-footer .footer__col--4 {
    grid-column: 1;
  }

  .fextra-footer-links p {
    justify-content: flex-start;
  }
}

.dealer-request {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.dealer-request__intro {
  max-width: 680px;
  margin-bottom: 46px;
  line-height: 1.6;
}

.dealer-request__intro p {
  margin: 0 0 12px;
}

.dealer-request__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 40px;
}

.dealer-request__field {
  display: grid;
  gap: 7px;
  margin: 0;
  font-weight: 700;
}

.dealer-request__label {
  display: block;
  min-height: 24px;
}

.dealer-request__label small {
  font-size: 14px;
  font-weight: 400;
}

.dealer-request__field--wide,
.dealer-request__privacy,
.dealer-request__actions,
.dealer-request__status {
  grid-column: 1 / -1;
}

.dealer-request input,
.dealer-request select,
.dealer-request textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 13px;
  color: var(--fextra-ink);
  background: #fff;
  border: 1px solid var(--fextra-line);
  border-radius: 2px;
  font: inherit;
}

.dealer-request textarea {
  min-height: 140px;
  resize: vertical;
}

.dealer-request__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.dealer-request__privacy input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--fextra-teal);
}

.dealer-request__actions button {
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: var(--fextra-teal-dark);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.dealer-request__status {
  padding: 14px 16px;
  border-left: 4px solid var(--fextra-teal-dark);
  background: #edf4f4;
}

.dealer-request__status.is-error {
  border-color: #9a3b32;
  background: #faeeee;
}

.dealer-request__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (max-width: 540px) {
  .fextra-catalog {
    width: min(100% - 28px, 1180px);
    padding-top: 40px;
  }

  .catalog-toolbar,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    gap: 24px;
  }

  .dealer-request__form {
    grid-template-columns: 1fr;
  }
}
