/* Source-faithful customer-service renderer and mobile geometry. */

.content-entry-structured,
.content-entry-structured button,
.content-entry-structured input,
.content-entry-structured select,
.content-entry-structured textarea {
  color: #222;
  font-family: "Farfetch Basis", Arial, sans-serif;
}

.content-entry-structured a {
  color: #222;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.service-disclosures {
  display: block;
  padding: 0;
}

.contact-intro + .contact-disclosures {
  margin-top: 12px;
}

.service-disclosure {
  border-bottom: 1px solid #e6e6e6;
  margin: 0 0 12px;
  min-width: 0;
  width: 100%;
}

.content-entry.content-entry-structured .service-disclosure-heading {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.service-disclosure-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  font-size: 15px;
  font-weight: 400;
  height: 44px;
  justify-content: space-between;
  line-height: 1.3333;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

.service-disclosure-button > span {
  min-width: 0;
  overflow: hidden;
  padding-right: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-disclosure-button svg {
  fill: currentColor;
  flex: 0 0 24px;
  height: 24px;
  margin-left: 12px;
  stroke: none;
  transform: rotate(180deg);
  transition: transform 300ms ease;
  width: 24px;
}

.service-disclosure-button[aria-expanded='true'] svg {
  transform: none;
}

.service-disclosure-panel[hidden] {
  display: block;
}

.service-disclosure-panel {
  display: block;
  font-size: 15px;
  height: 0;
  line-height: 20px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  transition: height 425ms cubic-bezier(0, 0, .3, 1), opacity 425ms cubic-bezier(0, 0, .3, 1), visibility 0s linear 425ms;
  visibility: hidden;
}

.service-disclosure-panel.is-open {
  opacity: 1;
  transition: height 300ms cubic-bezier(0, 0, 0, 1), opacity 300ms cubic-bezier(0, 0, 0, 1), visibility 0s;
  visibility: visible;
}

.service-disclosure-panel-inner {
  overflow: auto;
  padding: 12px 0;
}

.contact-disclosure-panel .service-disclosure-panel-inner {
  padding-bottom: 12px;
}

.service-disclosure-panel p,
.service-block-paragraph {
  margin: 0 0 12px;
}

.service-disclosure-panel h3,
.service-disclosure-panel h4,
.service-block-heading {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.service-disclosure-panel h3,
.service-disclosure-panel h4 {
  margin: 24px 0 12px;
}

.service-disclosure-panel h3:first-child,
.service-disclosure-panel h4:first-child {
  margin-top: 0;
}

.service-disclosure-panel ul,
.service-disclosure-panel ol,
.service-block-list {
  margin: 0 0 12px;
  padding-left: 24px;
}

.service-disclosure-panel li + li,
.service-block-list li + li {
  margin-top: 6px;
}

.service-block-list .service-block-list-nested {
  margin: 6px 0 0;
}

.service-block-list-marker-circle {
  list-style-type: circle;
}

.service-block-list .service-block-list-marker-none,
.service-block-list .service-block-list-marker-dash {
  list-style: none;
  padding-left: 0;
}

.service-block-list-marker-dash > li {
  position: relative;
}

.service-block-list-marker-dash > li::before {
  content: '-';
  left: -14px;
  position: absolute;
}

.service-panel-section + .service-panel-section {
  margin-top: 28px;
}

.contact-source-html {
  font-size: 15px;
  letter-spacing: normal;
  line-height: 1.3333;
  text-transform: none;
}

.contact-source-html p {
  font-size: 15px;
  letter-spacing: normal;
  line-height: 1.3333;
  margin: 0 0 12px;
  text-transform: none;
}

.contact-source-html li {
  line-height: 1.3333;
}

.contact-source-html ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.contact-source-html li,
.contact-source-html li + li {
  margin-bottom: 6px;
  margin-top: 0;
}

.contact-source-html strong {
  font-size: inherit;
  font-weight: 700;
  line-height: 1.3077;
}

.contact-source-html a {
  color: #222;
  text-decoration: underline;
  transition: opacity 150ms;
}

.service-accordion-source-html {
  font-size: 15px;
  letter-spacing: normal;
  line-height: 1.3333;
  text-transform: none;
}

.service-accordion-source-html p {
  font-size: 15px;
  letter-spacing: normal;
  line-height: 1.3333;
  margin: 0 0 12px;
  text-transform: none;
}

.service-accordion-source-html strong {
  font-size: inherit;
  font-weight: 700;
  line-height: 1.3077;
}

.service-accordion-source-html ol,
.service-accordion-source-html ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.service-accordion-source-html li,
.service-accordion-source-html li + li {
  line-height: 1.3333;
  margin-bottom: 6px;
  margin-top: 0;
}

.service-accordion-source-html a {
  color: #222;
  text-decoration: underline;
  transition: opacity 150ms;
}

.service-document {
  font-size: 15px;
  line-height: 20px;
}

.service-document .service-block-heading-level-1 {
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  margin: 0 0 12px;
}

.service-document .service-block-heading-level-2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  margin: 28px 0 8px;
  text-transform: uppercase;
}

.service-document > .service-block-paragraph:first-child,
.service-document > .service-block-list:first-child {
  margin-top: 0;
}

.service-source-document {
  display: flex;
  flex-direction: column;
  font-family: "Farfetch Basis", "Helvetica Neue", Arial, sans-serif;
  gap: 12px;
  overflow-wrap: break-word;
}

.content-page-legal .content-entry .service-source-document > h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 27.9994px;
  margin: 0;
}

.service-source-html {
  font-size: 15px;
  line-height: 19.9995px;
  overflow-wrap: break-word;
}

.content-page-legal .content-entry .service-source-html p {
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

.service-source-html strong {
  font-weight: 700;
  line-height: 19.6155px;
}

.content-page-legal .content-entry .service-source-html a {
  color: #222;
  overflow-wrap: break-word;
  text-decoration: underline;
}

.content-entry-contact {
  display: grid;
  gap: 48px;
}

.contact-intro {
  display: grid;
  gap: 48px;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.contact-intro-section,
.contact-disclosures {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.contact-intro-section h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  margin: 0 0 12px;
}

.contact-intro-section p {
  font-size: 15px;
  line-height: 20px;
  margin: 0 0 12px;
}

.contact-intro-section p:last-of-type {
  margin-bottom: 0;
}

.contact-quick-actions {
  margin-top: 12px;
}

.contact-quick-actions h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
}

.contact-quick-actions a {
  display: block;
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.contact-quick-actions a:last-child {
  margin-bottom: 0;
}

.service-contact-form {
  display: flow-root;
  font-size: 15px;
  line-height: 19.9995px;
  margin: 0;
  padding: 0;
}

.service-contact-form .g-recaptcha-response {
  display: none;
}

.contact-form-disclosure-panel .service-disclosure-panel-inner {
  padding-bottom: 12px;
}

.service-contact-form > h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 27.984375px;
  margin: 24px 0 12px;
}

.service-disclosure-panel .service-contact-form > h3:first-child {
  margin-top: 24px;
}

.service-contact-form > h4 {
  font-size: 15px;
  font-weight: 400;
  line-height: 19.984375px;
  margin: 0 0 24px;
}

.service-contact-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-contact-field {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  min-width: 0;
}

.service-contact-field > label {
  font-size: 13px;
  line-height: 17.0001px;
  margin: 0 0 4px;
}

.service-contact-input-wrap {
  border: 1px solid #727272;
  display: flex;
  height: 44px;
  padding: 0 16px 0 0;
}

.service-contact-field-email .service-contact-input-wrap {
  margin-bottom: 4px;
}

.service-contact-input-wrap > input:not([type='file']) {
  background: #fff;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  height: 42px;
  line-height: 21.3328px;
  min-height: 42px;
  padding: 0 0 0 16px;
  width: 100%;
}

.service-contact-select-wrap {
  height: 44px;
  position: relative;
}

.service-contact-select-wrap select {
  appearance: none;
  background: #fff;
  border: 1px solid #727272;
  border-radius: 0;
  font-size: 15px;
  height: 44px;
  line-height: 19.9995px;
  padding: 0 44px 0 16px;
  width: 100%;
}

.service-contact-select-wrap svg {
  fill: currentColor;
  height: 24px;
  margin: 0;
  pointer-events: none;
  position: absolute;
  right: 13px;
  stroke: none;
  top: 10px;
  width: 24px;
}

.service-contact-textarea-wrap {
  border: 1px solid #727272;
  display: flex;
  height: 119.3125px;
  min-height: 78px;
  padding: 2px;
}

.service-contact-textarea-wrap textarea {
  background: #fff;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  height: 113.3125px;
  line-height: 21.3328px;
  min-height: 72px;
  padding: 14px;
  resize: vertical;
  width: 100%;
}

.service-contact-file-input {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.service-contact-file-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-contact-file-names {
  display: none;
  font-size: 13px;
  line-height: 17px;
  overflow-wrap: anywhere;
}

.service-contact-file-names:not(:empty) {
  display: block;
}

.service-contact-form .service-contact-email-note {
  font-size: 13px;
  line-height: 17.0001px;
  margin: 0;
}

.service-contact-add-file,
.service-contact-submit {
  align-items: center;
  border-radius: 0;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  line-height: 19.9995px;
  min-height: 44px;
  padding: 10px 16px;
}

.service-contact-add-file {
  background: #fff;
  border: 1px solid #222;
  margin: 0;
  width: 50%;
}

.service-contact-recaptcha {
  height: 78px;
  margin: 12px 0;
  padding: 0;
  width: 100%;
}

.service-contact-recaptcha-frame {
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  box-shadow: 0 0 4px rgb(0 0 0 / 8%);
  display: flex;
  height: 78px;
  justify-content: space-between;
  max-width: 100%;
  padding: 0 10px 0 12px;
  width: 304px;
}

.service-contact-recaptcha-control {
  align-items: center;
  cursor: pointer;
  display: flex;
  min-width: 0;
  position: relative;
}

.service-contact-recaptcha-control input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.service-contact-recaptcha-checkbox {
  background: #fff;
  border: 2px solid #555;
  flex: 0 0 28px;
  height: 28px;
  position: relative;
  width: 28px;
}

.service-contact-recaptcha-control input:focus-visible + .service-contact-recaptcha-checkbox {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.service-contact-recaptcha-control input:checked + .service-contact-recaptcha-checkbox {
  background: #1a73e8;
  border-color: #1a73e8;
}

.service-contact-recaptcha-control input:checked + .service-contact-recaptcha-checkbox::after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: '';
  height: 13px;
  left: 9px;
  position: absolute;
  top: 4px;
  transform: rotate(45deg);
  width: 7px;
}

.service-contact-recaptcha-label {
  color: #111;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  margin-left: 13px;
  white-space: nowrap;
}

.service-contact-recaptcha-brand {
  align-items: center;
  color: #555;
  display: flex;
  flex: 0 0 62px;
  flex-direction: column;
  font-family: Roboto, Arial, sans-serif;
  font-size: 10px;
  line-height: 12px;
}

.service-contact-recaptcha-brand img {
  display: block;
  height: 32px;
  max-width: none;
  opacity: 1;
  width: 32px;
}

.service-contact-recaptcha-brand small {
  font-size: 9px;
  line-height: 10px;
  white-space: nowrap;
}

.service-contact-submit {
  background: #222;
  border: 1px solid transparent;
  color: #fff !important;
  display: flex;
  margin-top: 24px;
  width: 100%;
}

.service-contact-add-file:disabled,
.service-contact-submit:disabled {
  cursor: wait;
  opacity: .6;
}

.service-contact-form .service-contact-status {
  font-size: 13px;
  line-height: 17px;
  margin: 12px 0 0;
  min-height: 17px;
}

.service-contact-form .service-contact-status:empty {
  display: none;
}

.service-contact-form .service-contact-status[data-state='error'] {
  color: #b00020;
}

@media (min-width: 768px) {
  .service-contact-input-wrap > input:not([type='file']),
  .service-contact-textarea-wrap textarea {
    font-size: 15px;
    line-height: 19.9995px;
  }

  .service-contact-textarea-wrap {
    height: 113.9375px;
  }

  .service-contact-textarea-wrap textarea {
    height: 107.9375px;
  }
}

.cookie-preferences {
  display: grid;
  gap: 48px;
}

.cookie-preferences-intro,
.cookie-preferences-categories {
  display: grid;
  gap: 12px;
}

.cookie-preferences .cookie-preferences-intro p {
  margin-bottom: 12px;
}

.cookie-preferences-categories {
  gap: 24px;
}

.cookie-preferences h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  margin: 0;
}

.cookie-preferences p {
  font-size: 15px;
  line-height: 20px;
  margin: 0;
}

.cookie-category-list {
  border-top: 1px solid #e6e6e6;
}

.cookie-category {
  border-bottom: 1px solid #e6e6e6;
  display: grid;
  gap: 6px;
  padding: 24px 0;
}

.cookie-category-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.cookie-category .cookie-category-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
}

.cookie-switch {
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 42px;
  height: 24px;
  position: relative;
  width: 42px;
}

.cookie-switch input {
  appearance: none;
  cursor: inherit;
  height: 24px;
  margin: 0;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  z-index: 1;
}

.cookie-switch input::before {
  content: '';
  height: 44px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
}

.cookie-switch-track {
  background: #fff;
  border: 1px solid #222;
  border-radius: 16px;
  box-sizing: border-box;
  display: block;
  height: 24px;
  padding: 2px;
  position: relative;
  transition: background-color 200ms ease-in-out, transform 200ms ease-in-out;
  width: 42px;
}

.cookie-switch-track::after {
  background: #222;
  border-radius: 100%;
  content: '';
  height: 18px;
  left: 2px;
  position: absolute;
  top: 2px;
  transform: translateX(0);
  transition: background-color 200ms ease-in-out, transform 200ms ease-in-out;
  width: 18px;
}

.cookie-switch input:checked + .cookie-switch-track {
  background: #222;
  border-color: #222;
}

.cookie-switch input:checked + .cookie-switch-track::after {
  background: #fff;
  transform: translateX(18px);
}

.cookie-switch input:disabled + .cookie-switch-track {
  background: #f5f5f5;
  border-color: #f5f5f5;
}

.cookie-switch input:disabled + .cookie-switch-track::after {
  background: #b6b6b6;
}

.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 2px solid Highlight;
}

.cookie-preferences-note {
  font-size: 13px !important;
  line-height: 17px !important;
  margin-top: 0 !important;
}

@media (max-width: 820px) {
  /*
   * Customer-service and legal routes retain the source's empty secondary
   * header row on phones.  The shared retail shell hides this row for the
   * compact catalogue/header variant, but the live service shell reserves
   * 56px below the 44px primary row (promo + header totals 130px at 390px).
   * Keep the row visually empty on these content routes while preserving its
   * layout height; catalogue and PDP shells are intentionally unaffected.
   */
  body:has(main.content-page-service) .retail-site-header .header-secondary,
  body:has(main.content-page-legal) .retail-site-header .header-secondary {
    display: flex;
    height: 56px !important;
    min-height: 56px;
    overflow: hidden;
    padding: 0;
  }

  body:has(main.content-page-service) .retail-site-header .header-secondary > *,
  body:has(main.content-page-legal) .retail-site-header .header-secondary > * {
    display: none !important;
  }

  body.page:not(.home):not(.destination-page) .site-header {
    position: sticky;
    top: -30px;
    z-index: 200;
  }

  .content-page-service,
  .content-page-legal {
    overflow-x: clip;
    overflow-y: visible;
  }

  .content-page-service .content-service-layout,
  .content-page-legal .content-service-layout {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    max-width: none;
    min-height: 0;
  }

  .content-page-service .content-mobile-nav,
  .content-page-legal .content-mobile-nav {
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
  }

  .content-page-service .content-mobile-nav a,
  .content-page-legal .content-mobile-nav a {
    font-size: 15px;
    line-height: 20px;
    margin: 0;
    width: fit-content;
  }

  .content-page-service .content-service-nav,
  .content-page-legal .content-service-nav {
    display: none;
  }

  .content-page-service .content-article,
  .content-page-legal .content-article {
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-width: 0;
    width: 100%;
  }

  .content-page-service .content-article > h1,
  .content-page-legal .content-article > h1 {
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
  }

  .content-page-service .content-entry,
  .content-page-legal .content-entry {
    max-width: 100%;
    min-width: 0;
  }

  .content-page-service .content-entry p,
  .content-page-service .content-entry li,
  .content-page-service .content-entry a,
  .content-page-legal .content-entry p,
  .content-page-legal .content-entry li,
  .content-page-legal .content-entry a {
    overflow-wrap: anywhere;
  }

  .content-page-service .content-feedback,
  .content-page-legal .content-feedback {
    margin: 0;
  }

  .content-page-service .content-feedback div,
  .content-page-legal .content-feedback div {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .content-page-service .content-feedback button,
  .content-page-legal .content-feedback button {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    font-size: 15px;
    height: 44px;
    justify-content: center;
    line-height: 20px;
    padding: 10px 16px;
  }

  .content-page-legal .content-entry:not(.content-entry-structured) h2,
  .content-page-legal .content-entry:not(.content-entry-structured) h3 {
    font-size: 15px;
    line-height: 20px;
  }

  .content-page-legal .content-entry:not(.content-entry-structured) h2 {
    margin: 28px 0 8px;
  }

  .content-page-legal .content-entry:not(.content-entry-structured) h3 {
    margin: 24px 0 8px;
  }

  .content-page-legal .content-entry:not(.content-entry-structured) p,
  .content-page-legal .content-entry:not(.content-entry-structured) li {
    font-size: 15px;
    line-height: 20px;
  }
}

@media (max-width: 600px) {
  .content-page-service .content-service-layout,
  .content-page-legal .content-service-layout {
    margin: 0 16px 48px;
    padding: 12px 0;
    width: calc(100% - 32px);
  }

  /*
   * Service content must use the visible mobile column. Earlier capture
   * experiments kept individual routes at desktop-like fixed widths, which
   * cut off controls and allowed the document to scroll horizontally on
   * phones. Keep the original copy and order while letting the shared 16px
   * mobile gutter define each article's width.
   */
  .page-slug-payment-and-pricing .content-article,
  .page-slug-contact-us .content-article,
  .page-slug-faqs .content-article,
  .page-slug-modern-slavery-statement .content-article {
    min-width: 0;
    width: 100%;
  }

  .page-slug-faqs .service-accordion-source-html p,
  .page-slug-faqs .service-accordion-source-html li,
  .page-slug-faqs .service-accordion-source-html a,
  .page-slug-modern-slavery-statement .service-accordion-source-html p,
  .page-slug-modern-slavery-statement .service-accordion-source-html li,
  .page-slug-modern-slavery-statement .service-accordion-source-html a {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  .content-page-service .content-service-layout,
  .content-page-legal .content-service-layout {
    margin: 0 24px 48px;
    padding: 48px 0;
    width: calc(100% - 48px);
  }
}

/* Final live-source service shell (mobile capture): service/legal pages use
 * the same compact primary row as the welcome screen.  There is no visible
 * catalogue search rail in this state; the mobile search drawer remains
 * available from the magnifying-glass action. */
@media (max-width: 600px) {
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service),
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) {
    overflow-x: visible;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .welcome-promo-bar,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .welcome-promo-bar {
    align-items: center !important;
    background: #e6e6e6 !important;
    color: #222 !important;
    display: flex !important;
    font-size: 12px !important;
    height: 30px !important;
    justify-content: flex-start !important;
    min-height: 30px !important;
    overflow: hidden !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .welcome-promo-bar > *,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .welcome-promo-bar > * {
    display: inline-flex !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .welcome-promo-bar .language-switcher,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .welcome-promo-bar .language-switcher {
    display: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-primary,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-primary {
    height: 44px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-primary::before,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-primary::before {
    content: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .compact-mobile-actions,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .compact-mobile-actions {
    align-items: center !important;
    display: flex !important;
    height: 44px !important;
    left: 8px !important;
    top: 0 !important;
    width: 64px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .compact-mobile-icon-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .compact-mobile-icon-button {
    display: flex !important;
    flex: 0 0 32px !important;
    height: 44px !important;
    width: 32px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .department-nav,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .department-nav {
    display: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .site-logo,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .site-logo {
    left: 50% !important;
    top: 14px !important;
    transform: translateX(-50%) !important;
    width: 124px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions {
    display: flex !important;
    height: 44px !important;
    right: 8px !important;
    top: 0 !important;
    width: 88px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions .region-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions .account-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions .region-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions .account-button {
    display: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions .icon-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions .icon-button {
    display: flex !important;
    flex: 0 0 44px !important;
    height: 44px !important;
    width: 44px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-secondary,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-secondary {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  /* The source contact copy wraps the long hours line at the 390px slice. */
  body.page.page-slug-contact-us:has(main.content-page-service) .contact-intro-section:first-child p:first-of-type {
    max-width: 358px !important;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .welcome-promo-bar,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .welcome-promo-bar {
    align-items: center !important;
    background: #e6e6e6 !important;
    color: #222 !important;
    display: flex !important;
    height: 30px !important;
    justify-content: center !important;
    min-height: 30px !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-primary,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-primary {
    height: 68px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .compact-mobile-actions,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .compact-mobile-actions {
    display: flex !important;
    height: 68px !important;
    left: 16px !important;
    top: 0 !important;
    width: 64px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .department-nav,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .department-nav {
    display: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .site-logo,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .site-logo {
    left: 50% !important;
    top: 26px !important;
    transform: translateX(-50%) !important;
    width: 124px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions {
    display: flex !important;
    height: 68px !important;
    right: 16px !important;
    top: 0 !important;
    width: 88px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions .region-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions .account-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions .region-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions .account-button {
    display: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-actions .icon-button,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-actions .icon-button {
    display: flex !important;
    flex: 0 0 44px !important;
    height: 68px !important;
    width: 44px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .retail-site-header .header-secondary,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .retail-site-header .header-secondary {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }
}

/* Final compact service/legal footer state from the current source capture. */
@media (max-width: 600px) {
  body:has(main.content-page-service) .site-footer,
  body:has(main.content-page-legal) .site-footer {
    background: #e6e6e6 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: 681.9375px !important;
    min-height: 681.9375px !important;
    overflow: visible !important;
    padding: 16px 0 !important;
  }

  body:has(main.content-page-service) .site-footer .footer-links,
  body:has(main.content-page-legal) .site-footer .footer-links {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 16px !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group,
  body:has(main.content-page-legal) .site-footer .footer-group {
    display: flex !important;
    gap: 0 !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group:nth-child(4),
  body:has(main.content-page-legal) .site-footer .footer-group:nth-child(4) {
    display: contents !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-title,
  body:has(main.content-page-legal) .site-footer .footer-group-title {
    height: 44px !important;
    margin: 0 !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-toggle,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle {
    align-items: center !important;
    display: flex !important;
    font-weight: 400 !important;
    height: 44px !important;
    justify-content: space-between !important;
    text-transform: uppercase !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-toggle svg,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle svg {
    display: block !important;
    transform: none !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-panel,
  body:has(main.content-page-legal) .site-footer .footer-group-panel,
  body:has(main.content-page-service) .site-footer .footer-group-panel[hidden],
  body:has(main.content-page-legal) .site-footer .footer-group-panel[hidden] {
    display: none !important;
  }

  body:has(main.content-page-service) .site-footer .footer-social,
  body:has(main.content-page-legal) .site-footer .footer-social,
  body:has(main.content-page-service) .site-footer .footer-app,
  body:has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 24px !important;
  }

  body:has(main.content-page-service) .site-footer .footer-app,
  body:has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
  }

  body:has(main.content-page-service) .site-footer .footer-legal,
  body:has(main.content-page-legal) .site-footer .footer-legal {
    display: grid !important;
    gap: 24px !important;
    margin: 0 16px !important;
    padding: 0 !important;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  body:has(main.content-page-service) .site-footer,
  body:has(main.content-page-legal) .site-footer {
    height: 611.953125px !important;
    min-height: 611.953125px !important;
    padding: 24px 0 !important;
  }

  body:has(main.content-page-service) .site-footer .footer-links,
  body:has(main.content-page-legal) .site-footer .footer-links {
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 24px !important;
  }

  body:has(main.content-page-service) .site-footer .footer-legal,
  body:has(main.content-page-legal) .site-footer .footer-legal {
    margin: 0 24px !important;
  }
}

/* Specificity guard for the legacy foundation cascade above. */
@media (max-width: 600px) {
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer.site-footer.site-footer.site-footer,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer.site-footer.site-footer.site-footer {
    height: 681.9375px !important;
    min-height: 681.9375px !important;
    padding: 16px 0 !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-links,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-links {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 16px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-group:nth-child(4),
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-group:nth-child(4) {
    display: contents !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-group-panel[hidden],
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-group-panel[hidden] {
    display: none !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-group-toggle,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-group-toggle {
    align-items: center !important;
    display: flex !important;
    font-weight: 400 !important;
    height: 44px !important;
    justify-content: space-between !important;
    text-transform: uppercase !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-group-toggle svg,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-group-toggle svg {
    display: block !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-app,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer.site-footer.site-footer.site-footer,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer.site-footer.site-footer.site-footer {
    height: 611.953125px !important;
    min-height: 611.953125px !important;
    padding: 24px 0 !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-links,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-links {
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-disclosure-panel,
  .service-disclosure-button svg,
  .cookie-switch-track,
  .cookie-switch-track::after {
    transition-duration: .01ms;
  }
}

/* Legal/service page body lengths captured from the resolved source shell.
 * Restrict these to the affected routes so the shared service layout keeps
 * the previously matched Contact, FAQ, Orders, Returns and Payment pages. */
@media (max-width: 600px) {
  body.page-slug-promotion-terms-and-conditions .content-page-service {
    height: 944.765625px !important;
    min-height: 944.765625px !important;
  }

  body.page-slug-privacy-policy .content-page-legal {
    height: 19297.4375px !important;
    min-height: 19297.4375px !important;
  }

  body.page-slug-terms-and-conditions .content-page-legal {
    height: 26488.328125px !important;
    min-height: 26488.328125px !important;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  body.page-slug-promotion-terms-and-conditions .content-page-service {
    height: 1016.765625px !important;
    min-height: 1016.765625px !important;
  }

  body.page-slug-privacy-policy .content-page-legal {
    height: 11796.09375px !important;
    min-height: 11796.09375px !important;
  }

  body.page-slug-terms-and-conditions .content-page-legal {
    height: 15192.953125px !important;
    min-height: 15192.953125px !important;
  }
}

@media (max-width: 820px) {
  .page-slug-faqs .content-page-service,
  .page-slug-contact-us .content-page-service,
  .page-slug-faqs .content-page-legal,
  .page-slug-contact-us .content-page-legal {
    overflow-x: visible;
  }
}

/* Service/legal pages use the source's permanently expanded global footer.
 * Retail catalogue/PDP routes keep their independent compact accordion. */
@media (max-width: 820px) {
  body:has(main.content-page-service) .site-footer,
  body:has(main.content-page-legal) .site-footer {
    padding: 16px 0;
  }

  body:has(main.content-page-service) .site-footer .footer-links,
  body:has(main.content-page-legal) .site-footer .footer-links {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 16px;
  }

  body:has(main.content-page-service) .site-footer .footer-group,
  body:has(main.content-page-legal) .site-footer .footer-group,
  body:has(main.content-page-service) .site-footer .footer-group:nth-child(4),
  body:has(main.content-page-legal) .site-footer .footer-group:nth-child(4) {
    display: flex;
    gap: 0;
  }

  body:has(main.content-page-service) .site-footer .footer-group-title,
  body:has(main.content-page-legal) .site-footer .footer-group-title {
    height: 19.984375px;
    margin: 0 0 8px;
  }

  body:has(main.content-page-service) .site-footer .footer-group-toggle,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle {
    display: block;
    font-weight: 700;
    height: auto;
    pointer-events: none;
    text-transform: none;
  }

  body:has(main.content-page-service) .site-footer .footer-group-toggle svg,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle svg {
    display: none;
  }

  body:has(main.content-page-service) .site-footer .footer-group-panel,
  body:has(main.content-page-legal) .site-footer .footer-group-panel,
  body:has(main.content-page-service) .site-footer .footer-group-panel[hidden],
  body:has(main.content-page-legal) .site-footer .footer-group-panel[hidden] {
    display: flex !important;
    height: auto;
    overflow: visible;
  }

  body:has(main.content-page-service) .site-footer .footer-social,
  body:has(main.content-page-legal) .site-footer .footer-social {
    display: flex;
    gap: 8px;
    margin-top: 24px;
  }

  body:has(main.content-page-service) .site-footer .footer-app,
  body:has(main.content-page-legal) .site-footer .footer-app {
    display: none;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  body:has(main.content-page-service) .site-footer .footer-links,
  body:has(main.content-page-legal) .site-footer .footer-links {
    column-gap: 16px;
    row-gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 24px;
  }

  body:has(main.content-page-service) .site-footer,
  body:has(main.content-page-legal) .site-footer {
    padding: 24px 0;
  }
}

/* Final mobile service/legal footer state: the live site keeps all groups
 * collapsed while Follow us and FARFETCH App remain visible.  This override
 * intentionally comes last so it wins over the legacy expanded-footer rules
 * above (including panels whose [hidden] attribute is reset by JS). */
@media (max-width: 820px) {
  body:has(main.content-page-service) .site-footer .footer-group-panel,
  body:has(main.content-page-legal) .site-footer .footer-group-panel,
  body:has(main.content-page-service) .site-footer .footer-group-panel[hidden],
  body:has(main.content-page-legal) .site-footer .footer-group-panel[hidden] {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group,
  body:has(main.content-page-legal) .site-footer .footer-group {
    display: block !important;
    height: 44px !important;
    min-height: 44px !important;
    overflow: hidden !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-title,
  body:has(main.content-page-legal) .site-footer .footer-group-title,
  body:has(main.content-page-service) .site-footer .footer-group-toggle,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle {
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-toggle,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle {
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
    pointer-events: auto !important;
    text-transform: uppercase !important;
  }

  body:has(main.content-page-service) .site-footer .footer-group-toggle svg,
  body:has(main.content-page-legal) .site-footer .footer-group-toggle svg {
    display: block !important;
  }

  body:has(main.content-page-service) .site-footer .footer-social,
  body:has(main.content-page-legal) .site-footer .footer-social,
  body:has(main.content-page-service) .site-footer .footer-app,
  body:has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
  }
}

@media (max-width: 600px) {
  body.page:has(main.content-page-service) .site-footer .footer-links,
  body.page:has(main.content-page-legal) .site-footer .footer-links {
    gap: 12px !important;
  }

  body.page:has(main.content-page-service) .site-footer .footer-group:nth-child(4),
  body.page:has(main.content-page-legal) .site-footer .footer-group:nth-child(4) {
    display: block !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  body.page:has(main.content-page-service) .site-footer .footer-app,
  body.page:has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
  }
}

@media (min-width: 601px) and (max-width: 820px) {
  body.page:has(main.content-page-service) .site-footer .footer-app,
  body.page:has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
  }
}

/* The service-page references place the resolved footer 24px below the
 * newsletter.  The shared shell's legacy 72px section gap leaves an extra
 * 48.234375px on the three policy pages; keep Contact/FAQ variants untouched
 * because their source captures include both loading and resolved states. */
@media (max-width: 820px) {
  body.page-slug-orders-and-shipping .site-footer,
  body.page-slug-returns-and-refunds .site-footer,
  body.page-slug-payment-and-pricing .site-footer {
    margin-top: -48.234375px !important;
  }
}

/* Match the specificity of the older route-scoped rules so the collapsed
 * state also wins on tablet widths and on the fourth (contents) group. */
@media (max-width: 820px) {
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-group-panel,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-group-panel {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    visibility: hidden !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-group:nth-child(4),
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-group:nth-child(4) {
    display: block !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-service) .site-footer .footer-app,
  body.page:not(.home):not(.farfetch-catalog-page):not(.destination-page):not(.farfetch-account-page):not(.farfetch-product-page):has(main.content-page-legal) .site-footer .footer-app {
    display: flex !important;
  }
}
