/* Women landing help cards and route-specific newsletter. */

.women-landing-help-grid {
  column-gap: 24px;
  display: grid;
  grid-auto-rows: 109.96875px;
  grid-template-columns: minmax(0, 1fr);
  margin: 48px 16px 24px;
  row-gap: 16px;
}

.women-landing-help-grid .women-landing-help-card {
  background: #fff;
  border: 1px solid #b6b6b6;
  border-radius: 0;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  transition: background-color 300ms cubic-bezier(0, 0, 0, 1),
    border-color 300ms cubic-bezier(0, 0, 0, 1),
    color 300ms cubic-bezier(0, 0, 0, 1);
}

.women-landing-help-grid .women-landing-help-card:hover {
  background: #f5f5f5;
}

.women-landing-help-grid .women-landing-help-card:focus-within {
  outline: 2px solid #101010;
  outline-offset: -2px;
}

.women-landing-help-grid .icon-shell {
  display: flex;
  flex: 0 0 24px;
  height: 24px;
}

.women-landing-help-grid .icon-shell svg {
  display: block;
  fill: currentColor;
  height: 24px;
  width: 24px;
}

.women-landing-help-grid .copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 43.96875px;
}

.women-landing-help-grid .copy p {
  color: #222;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3333;
  margin: 0;
  padding: 0;
}

.women-landing-help-grid .help-title {
  text-transform: uppercase;
}

.women-landing-help-grid .help-title a {
  color: inherit;
  outline: none;
  text-decoration: none;
}

.women-landing-help-grid .help-title a::after {
  content: '';
  inset: 0;
  position: absolute;
}

.women-landing-newsletter {
  color: #222;
  margin: 48px 16px;
}

.women-landing-newsletter .newsletter-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}

.women-landing-newsletter .copy-column,
.women-landing-newsletter .form-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.women-landing-newsletter h3,
.women-landing-newsletter p,
.women-landing-newsletter form {
  margin: 0;
  padding: 0;
}

.women-landing-newsletter h3 {
  color: #222;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 38.001px;
}

.women-landing-newsletter .copy-column p,
.women-landing-newsletter .newsletter-consent {
  color: #222;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3333;
}

.women-landing-newsletter form {
  display: flex;
  flex-direction: column;
}

.women-landing-newsletter .newsletter-kicker {
  color: #222;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3333;
  text-transform: uppercase;
}

.women-landing-newsletter .newsletter-field {
  margin-top: 16px;
}

.women-landing-newsletter label {
  color: #222;
  display: block;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17.0001px;
  margin: 0 0 4px;
}

.women-landing-newsletter .newsletter-input-wrapper {
  align-items: center;
  background: #fff;
  border: 1px solid #727272;
  border-radius: 0;
  display: flex;
  height: 44px;
  padding: 0 16px 0 0;
  position: relative;
  width: 100%;
}

.women-landing-newsletter .newsletter-input-wrapper:focus-within {
  border-color: #222;
  outline: 2px solid #101010;
  outline-offset: -2px;
}

.women-landing-newsletter input[type='email'] {
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  color: #222;
  display: block;
  flex: 1 1 auto;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 42px;
  line-height: 1.3333;
  margin: 0;
  min-width: 0;
  outline: 0;
  padding: 0 0 0 16px;
  width: 100%;
}

.women-landing-newsletter input[type='email']::placeholder {
  color: #727272;
  opacity: 1;
}

.women-landing-newsletter .newsletter-error {
  color: #b42318;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  line-height: 17.0001px;
  margin-top: 4px;
}

.women-landing-newsletter .newsletter-error[hidden] {
  display: none;
}

.women-landing-newsletter button[type='submit'] {
  align-items: center;
  background: #222;
  border: 1px solid transparent;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  line-height: 1.3333;
  margin-top: 16px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  transition: background-color 300ms cubic-bezier(0, 0, 0, 1),
    border-color 300ms cubic-bezier(0, 0, 0, 1),
    opacity 300ms cubic-bezier(0, 0, 0, 1),
    color 300ms cubic-bezier(0, 0, 0, 1);
  width: 100%;
}

.women-landing-newsletter button[type='submit']:hover {
  background: #727272;
}

.women-landing-newsletter button[type='submit']:focus-visible {
  outline: 2px solid #101010;
  outline-offset: -2px;
}

.women-landing-newsletter .newsletter-consent a {
  color: inherit;
  text-decoration: underline;
  transition: color 150ms cubic-bezier(0.66, 0, 0.2, 1),
    text-decoration 150ms cubic-bezier(0.66, 0, 0.2, 1);
}

@media (max-width: 600px) {
  .farfetch-catalog-page .women-landing-help-grid {
    /* The current source again renders this three-card service rail on
     * phones. The extra 48px is the source spacing after the brands shelf. */
    display: grid;
    margin: 48px 16px 24px;
  }

  .women-landing-newsletter {
    margin: 48px 16px;
  }
}

@media (min-width: 601px) {
  .women-landing-help-grid {
    margin-right: 24px;
    margin-left: 24px;
  }

  .women-landing-newsletter {
    margin-right: 24px;
    margin-left: 24px;
  }

  .women-landing-newsletter .newsletter-grid {
    column-gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .women-landing-newsletter input[type='email'] {
    font-size: 15px;
  }
}

@media (min-width: 960px) {
  .women-landing-help-grid {
    column-gap: 24px;
    grid-auto-rows: 109.96875px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 54px 24px 24px;
    row-gap: 0;
  }

  .women-landing-newsletter {
    margin: 72px 24px;
  }

  .women-landing-newsletter .newsletter-grid {
    column-gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The live catalogue footer has a 72px breathing space before and after the
 * newsletter at mobile and tablet widths. */
@media (max-width: 820px) {
  .farfetch-catalog-page .women-landing-newsletter {
    margin-block: 72px;
  }
}

/* The live catalogue resolves to the same fully-expanded retail footer as
 * the current source at 390px and 768px.  Keep this route scoped: service
 * pages and PDPs have independently captured footer states. */
@media (max-width: 600px) {
  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer.site-footer.site-footer.site-footer {
    background: #e6e6e6 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: 1377.890625px !important;
    min-height: 1377.890625px !important;
    overflow: visible !important;
    padding: 16px 0 !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-links {
    display: grid !important;
    flex: 0 0 auto !important;
    gap: 36px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    height: auto !important;
    margin: 0 16px !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group,
  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group:nth-child(4),
  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-title {
    height: 19.984375px !important;
    margin: 0 0 8px !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-toggle {
    display: block !important;
    font-weight: 700 !important;
    height: 19.984375px !important;
    pointer-events: none !important;
    text-transform: none !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-toggle svg {
    display: none !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-panel,
  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-panel[hidden] {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-group-panel > a {
    flex: 0 0 34px !important;
    height: 34px !important;
    margin: 0 !important;
    min-height: 34px !important;
    padding: 6px 0 !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-social {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 24px !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .social-links {
    display: flex !important;
    gap: 4px !important;
    height: 44px !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .social-links a {
    height: 44px !important;
    width: 44px !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-app {
    display: none !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-divider {
    background: #fff !important;
    border: 0 !important;
    height: 1px !important;
    margin: 0 !important;
  }

  body.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page.farfetch-catalog-page .site-footer .footer-legal {
    display: grid !important;
    gap: 24px !important;
    height: 164.96875px !important;
    margin: 0 16px !important;
    padding-top: 0 !important;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  .farfetch-catalog-page .site-footer.site-footer {
    background: #e6e6e6 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: 781.953125px !important;
    min-height: 781.953125px !important;
    padding: 24px 0 !important;
  }

  .farfetch-catalog-page .site-footer .footer-links {
    box-sizing: border-box !important;
    display: grid !important;
    gap: 24px 16px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: 299.984375px 265.984375px !important;
    height: 589.96875px !important;
    margin: 0 24px !important;
  }

  .farfetch-catalog-page .site-footer .footer-group {
    box-sizing: border-box !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    height: 299.984375px !important;
    width: auto !important;
  }

  .farfetch-catalog-page .site-footer .footer-group:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .farfetch-catalog-page .site-footer .footer-group:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
  .farfetch-catalog-page .site-footer .footer-group:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    height: 265.984375px !important;
  }

  .farfetch-catalog-page .site-footer .footer-group:nth-child(4) {
    display: contents !important;
  }

  .farfetch-catalog-page .site-footer .footer-group:nth-child(4) .footer-group-links {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    height: 265.984375px !important;
    width: auto !important;
  }

  .farfetch-catalog-page .site-footer .footer-group-title,
  .farfetch-catalog-page .site-footer .footer-group-toggle {
    box-sizing: border-box !important;
    display: block !important;
    font-weight: 700 !important;
    height: 19.984375px !important;
    margin: 0 0 8px !important;
    min-height: 19.984375px !important;
    padding: 0 !important;
    pointer-events: none !important;
    text-transform: none !important;
  }

  .farfetch-catalog-page .site-footer .footer-group-toggle svg {
    display: none !important;
  }

  .farfetch-catalog-page .site-footer .footer-group-panel,
  .farfetch-catalog-page .site-footer .footer-group-panel[hidden] {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
  }

  .farfetch-catalog-page .site-footer .footer-group-panel > a {
    box-sizing: border-box !important;
    flex: 0 0 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 6px 0 !important;
  }

  .farfetch-catalog-page .site-footer .footer-social {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    height: 71.984375px !important;
    margin-top: 24px !important;
  }

  .farfetch-catalog-page .site-footer .footer-app {
    display: none !important;
  }

  .farfetch-catalog-page .site-footer .footer-legal {
    box-sizing: border-box !important;
    height: 94.984375px !important;
    margin: 0 24px !important;
    padding: 0 !important;
  }
}
