/*
 * Vendored from: https://cdn-js.foxy.io/website-helpers@1/foxy-styles/foxy-theme-overrides.css
 * Date vendored: 2026-08-28
 * sha256 of file as originally downloaded: a292b5c5f157f4dddd0a05c212ae0001d6db35dc8383e1cfcfd42a16527bdc2d
 * Note: the committed file differs from that checksum because the flash-guard block (originally lines 7-16) was removed here — it moved into the seeded inline snippet (v/2.0.0/themes/v2/header-snippet.html).
 */
/* ======================================= */
/* Foxy – Combined Template Overrides      */
/* Sidecart, Checkout, Full-Page Cart,     */
/* and Receipt                             */
/* ======================================= */
/* ======================================= */
/* Global                                  */
/* ======================================= */
#fc * {
  font-family: var(--foxy-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  color: var(--foxy-text, #1a1a1a) !important;
}

#fc input,
#fc .fc-form-control {
  color: var(--foxy-input-text, #1a1a1a);
}

#fc font {
  color: inherit !important;
}

#fc body {
  background: var(--foxy-background, #ffffff) !important;
  padding: 0 !important;
  font-size: var(--foxy-font-size-body, 14px);
}

#fc h1,
#fc h2,
#fc h3,
#fc h4,
#fc h5,
#fc h6 {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
  font-size: var(--foxy-font-size-heading, 22px) !important;
}

/* Body text, labels, inputs, placeholders */
#fc .fc-checkout .fc-form-control,
#fc .fc-checkout .fc-form-label,
#fc .fc-checkout label,
#fc .fc-checkout p,
#fc .fc-checkout span,
#fc .fc-checkout li,
#fc .fc-checkout a,
#fc .fc-checkout small,
#fc .fc-checkout .fc-cart__item__name,
#fc .fc-checkout .fc-subtotal__label,
#fc .fc-checkout .fc-subtotal__value,
#fc .fc-checkout .fc-container__checkout-helper-text,
#fc .fc-sidebar .fc-subtotal__label,
#fc .fc-sidebar .fc-subtotal__value,
#fc .fc-sidebar p,
#fc .fc-sidebar span,
#fc .fc-sidebar li,
#fc .fc-sidebar a,
#fc .fc-sidebar label {
  font-family: var(--foxy-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
}
#fc .fc-svg-icon {
  fill: var(--foxy-text, #1a1a1a);
}
#fc a .fc-svg-icon {
  transition: fill 0.2s ease;
}
#fc a:hover .fc-svg-icon {
  fill: var(--foxy-link-hover-color, #545454);
}

/* Common HTML Elements */
#fc select,
#fc option {
  background: var(--foxy-input-background, #ffffff);
  color: var(--foxy-input-text, #1a1a1a) !important;
}
#fc ul,
#fc ol {
  background: var(--foxy-background, #ffffff);
}
#fc table,
#fc th,
#fc td {
  border-color: var(--foxy-border, #e5e5e5);
}
#fc textarea {
  background: var(--foxy-input-background, #ffffff);
  color: var(--foxy-input-text, #1a1a1a) !important;
  border-color: var(--foxy-input-border, #e5e5e5);
}

/* ======================================= */
/* Shared - Logo (all surfaces)            */
/* ======================================= */
/* Base: preserve aspect ratio */
#fc .fc-logo__image,
#fc #fc-logo--receipt {
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 50%;
}

/* Desktop (1000px+) */
@media (min-width: 1000px) {
  #fc .fc-logo__image,
  #fc #fc-logo--receipt {
    max-width: 60%;
    max-height: 200px;
  }
}

/* Below 1000px */
@media (max-width: 999px) {
  #fc .fc-logo__image {
    max-width: 45%;
    max-height: 200px;
  }

  /* Hide logo in full-page cart */
  #fc .fc-context--cart-fullpage .fc-logo {
    display: none !important;
  }
}

/* Checkout sidebar logo (centered) */
#fc .fc-checkout .fc-sidebar--checkout .fc-logo__image {
  margin: 0 auto 10px auto;
}

#fc .fc-logo__image {
  padding-bottom: 0px;
}

/* Full-page cart logo */
#fc .fc-context--cart-fullpage .fc-logo__image {
  padding: 0 0 35px;
}

/* Receipt header logo */
#fc #fc-receipt__section--header .fc-container__grid--receipt--logo #fc-logo--receipt {
  margin: 0;
  padding: 0;
}

/* ======================================= */
/* Shared - Headings & Text                */
/* ======================================= */
#fc .fc-cart__title__header {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: var(--foxy-font-size-heading, 22px) !important;
  font-weight: var(--foxy-font-weight-semi, 600);
  margin: 15px 0 0 3px;
}
#fc .fc-order-quantity {
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-normal, 400);
}
#fc .fc-transaction__header {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: var(--foxy-font-size-heading, 22px) !important;
  font-weight: var(--foxy-font-weight-semi, 600);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
}
#fc .fc-section-counter {
  display: none !important;
}

/* ======================================= */
/* Shared - Cart Items                     */
/* ======================================= */
#fc .fc-cart__item__image {
  margin-left: 0;
}
#fc .fc-cart__item__image span {
  border: 1px solid var(--foxy-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
}

#fc #fc-cart--fixed-width .fc-cart__item__image {
  width: 25% !important;
}

/* Cart item details always side-by-side with image */
#fc .fc-cart__items--with-images .fc-cart__item__details {
  width: 66.3% !important;
}
#fc .fc-cart__item__name {
  font-weight: var(--foxy-font-weight-semi, 600);
  font-size: var(--foxy-font-size-body, 14px);
}
#fc .fc-cart__item__options {
  margin-left: 0;
}
#fc .fc-cart__item__quantity .fc-form-control {
  background: var(--foxy-input-background, #ffffff);
  border: 1px solid var(--foxy-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
  box-shadow: none;
  transition: border-color 0.2s ease;
}
#fc .fc-cart__item__quantity .fc-form-control:focus {
  border: 1px solid var(--foxy-border, #e5e5e5) !important;
  outline: 2px solid transparent;   /* invisible normally, appears in High Contrast */
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--foxy-input-focus-border, #000000) 25%, transparent);
}
#fc .fc-cart__item__total {
  margin-bottom: 0 !important;
}
#fc .fc-cart__item__price {
  margin-bottom: 10px !important;
}
#fc .fc-cart__item__remove a {
  color: var(--foxy-text-muted, #707070) !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
  text-decoration: underline;
}
#fc .fc-cart__item__remove a:hover {
  color: var(--foxy-text, #1a1a1a) !important;
}
#fc .fc-cart__items__header {
  background: var(--foxy-background, #ffffff);
  border-bottom: 1px solid var(--foxy-border, #e5e5e5);
  border-right: none;
  border-radius: 0;
  text-shadow: none;
}
#fc .fc-cart__item {
  border-bottom: 1px solid var(--foxy-border, #e5e5e5);
}
#fc .fc-cart__item:last-child,
#fc .fc-cart__item--last {
  border-bottom: none;
}

#fc .fc-cart__item--parent-product {
  border-bottom: none;
  border-left: none;
  border-top: 1px solid #fff;
  background-color: transparent;
  background-image: unset;
}

#fc .fc-cart__item.fc-cart__item--child-product {
  padding: 0 25px 5px 35px;
  border-top: none;
  border-bottom: none;
  border-left: none;
  background: none;
}

/* ======================================= */
/* Shared - Totals                         */
/* ======================================= */
#fc .fc-subtotal__label,
#fc .fc-subtotal__label h5 {
  color: var(--foxy-text, #1a1a1a) !important;
  text-shadow: none;
  font-size: var(--foxy-font-size-body, 14px) !important;
  font-weight: var(--foxy-font-weight-normal, 400);
  padding-left: 0 !important;
}
#fc .fc-subtotal__value {
  color: var(--foxy-text, #1a1a1a) !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
}

#fc .fc-transaction__total table,
#fc .fc-transaction__total tbody {
  display: block;
  width: 100%;
}
#fc .fc-transaction__total .fc-subtotal--row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--foxy-space-md, 12px);
}
#fc .fc-transaction__total .fc-subtotal__label,
#fc .fc-transaction__total .fc-subtotal__value,
#fc .fc-transaction__total .fc-subtotal__label h5 {
  white-space: nowrap;
}
#fc .fc-transaction__total .fc-subtotal__value {
  margin-left: auto;
  padding-left: 0;
  text-align: right;
}
#fc .fc-transaction__total .fc-subtotal__label,
#fc .fc-transaction__total .fc-subtotal__label h5 {
  font-weight: var(--foxy-font-weight-bold, 700);
  font-size: var(--foxy-font-size-heading, 22px) !important;
  color: var(--foxy-text, #1a1a1a) !important;
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
}
#fc .fc-transaction__total .fc-subtotal__value {
  font-weight: var(--foxy-font-weight-bold, 700);
  font-size: var(--foxy-font-size-heading, 22px) !important;
  color: var(--foxy-text, #1a1a1a) !important;
}

/* Sidebar section headings (Subtotal, Discounts) — body size, bold */
#fc .fc-transaction__section h5,
#fc .fc-transaction__ui__header {
  font-size: var(--foxy-font-size-body, 14px) !important;
  font-weight: var(--foxy-font-weight-bold, 700);
}
#fc .fc-transaction__section {
  background: none;
}
#fc .fc-transaction {
  background: none;
}

/* ======================================= */
/* Shared - Alerts                         */
/* ======================================= */
#fc .fc-alert,
#fc .fc-messages .fc-alert,
#fc .fc-transaction__discounts .fc-alert--warning {
  text-shadow: none;
  border-width: 2px;
  border-style: solid;
  border-radius: var(--foxy-radius, 8px);
  padding: var(--foxy-space-md, 12px);
}

#fc .fc-alert--success {
  border-top-left-radius: var(--foxy-radius, 8px);
  border-top-right-radius: var(--foxy-radius, 8px);
}

#fc .fc-transaction__discounts .fc-alert--warning {
  border-color: var(--foxy-warning-border, #ffecb3);
  color: var(--foxy-warning-text, #e65100);
  width: auto;
}
#fc .fc-alert--success {
  background-color: var(--foxy-success-background, #e8f5e9) !important;
  border-color: var(--foxy-success-border, #c8e6c9);
  color: var(--foxy-success-text, #2e7d32) !important;
}

#fc .fc-alert--success p,
#fc .fc-alert--success span,
#fc .fc-alert--success a,
#fc .fc-alert--success li,
#fc .fc-alert--success ul,
#fc .fc-alert--success ol,
#fc .fc-alert--success strong,
#fc .fc-alert--success em,
#fc .fc-alert--success small,
#fc .fc-alert--success h1,
#fc .fc-alert--success h2,
#fc .fc-alert--success h3,
#fc .fc-alert--success h4,
#fc .fc-alert--success h5,
#fc .fc-alert--success h6 {
  background-color: transparent !important;
  color: inherit !important;
}
#fc .fc-alert--warning {
  background-color: var(--foxy-warning-background, #fff8e1) !important;
  border-color: var(--foxy-warning-border, #ffecb3);
  color: var(--foxy-warning-text, #e65100) !important;
}
#fc .fc-alert--warning p,
#fc .fc-alert--warning span,
#fc .fc-alert--warning a,
#fc .fc-alert--warning li,
#fc .fc-alert--warning ul,
#fc .fc-alert--warning ol,
#fc .fc-alert--warning strong,
#fc .fc-alert--warning em,
#fc .fc-alert--warning small,
#fc .fc-alert--warning h1,
#fc .fc-alert--warning h2,
#fc .fc-alert--warning h3,
#fc .fc-alert--warning h4,
#fc .fc-alert--warning h5,
#fc .fc-alert--warning h6 {
  background-color: transparent !important;
  color: inherit !important;
}
#fc .fc-alert--info {
  background-color: var(--foxy-info-background, #f0f0f0) !important;
  border-color: var(--foxy-info-border, #e0e0e0);
  color: var(--foxy-info-text, #333333) !important;
}
#fc .fc-alert--info p,
#fc .fc-alert--info span,
#fc .fc-alert--info a,
#fc .fc-alert--info li,
#fc .fc-alert--info ul,
#fc .fc-alert--info ol,
#fc .fc-alert--info strong,
#fc .fc-alert--info em,
#fc .fc-alert--info small,
#fc .fc-alert--info h1,
#fc .fc-alert--info h2,
#fc .fc-alert--info h3,
#fc .fc-alert--info h4,
#fc .fc-alert--info h5,
#fc .fc-alert--info h6 {
  background-color: transparent !important;
  color: inherit !important;
}
#fc .fc-alert--danger {
  background-color: var(--foxy-danger-background, #fdecea) !important;
  border-color: var(--foxy-danger-border, #f5c6cb);
  color: var(--foxy-danger-text, #b71c1c) !important;
}
#fc .fc-alert--danger p,
#fc .fc-alert--danger span,
#fc .fc-alert--danger a,
#fc .fc-alert--danger li,
#fc .fc-alert--danger ul,
#fc .fc-alert--danger ol,
#fc .fc-alert--danger strong,
#fc .fc-alert--danger em,
#fc .fc-alert--danger small,
#fc .fc-alert--danger h1,
#fc .fc-alert--danger h2,
#fc .fc-alert--danger h3,
#fc .fc-alert--danger h4,
#fc .fc-alert--danger h5,
#fc .fc-alert--danger h6 {
  background-color: transparent !important;
  color: inherit !important;
}

#fc .fc-alert ul,
#fc .fc-alert ol,
#fc .fc-alert-container ul,
#fc .fc-alert-container ol {
  background: transparent !important;
}

#fc .fc-messages__empty-notification {
  background-color: var(--foxy-info-background, #f0f0f0) !important;
  border-radius: var(--foxy-radius, 8px);
  color: var(--foxy-info-text, #333333) !important;
  border-color: var(--foxy-info-border, #e0e0e0);
}

/* ======================================= */
/* Sidecart                                */
/* ======================================= */
[data-fc-sidecart],
[data-fc-sidecart] #fc-cart,
[data-fc-sidecart] #fc .fc-sidebar,
[data-fc-sidecart] #fc {
  background: var(--foxy-background, #ffffff);
}
[data-fc-sidecart] #fc {
  height: 100%;
}

[data-fc-with-sidecart="reveal"].cart-visible--animation-complete [data-fc-sidecart] {
  overflow-y: auto;
}

[data-fc-sidecart] #fc .fc-btn-action,
[data-fc-sidecart] #fc .fc-action--checkout--button {
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  border-radius: var(--foxy-radius, 8px);
  text-shadow: none;
  height: auto;
  text-transform: none;
}
[data-fc-sidecart] #fc .fc-fixed-button-left,
[data-fc-sidecart] #fc .fc-fixed-button-right {
  padding: 10px;
  height: auto;
  background: var(--foxy-background, #ffffff);
}
[data-fc-sidecart] #fc .fc-fixed-button-left {
  padding-right: 5px;
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action {
  background: var(--foxy-secondary-button-background, transparent);
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a);
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action span {
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action:hover,
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action:hover span {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a);
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
  border: 1px solid var(--foxy-secondary-button-hover-border, #1a1a1a);
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action .fc-svg-icon {
  fill: var(--foxy-secondary-button-text, #1a1a1a);
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action:hover .fc-svg-icon {
  fill: var(--foxy-secondary-button-hover-text, #ffffff);
}
[data-fc-sidecart] #fc .fc-fixed-button-right {
  padding-left: 5px;
}
[data-fc-sidecart] #fc .fc-fixed-button-right .fc-btn-action {
  background: var(--foxy-button-background, #1a1a1a);
  color: var(--foxy-button-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-border, #1a1a1a);
}
[data-fc-sidecart] #fc .fc-fixed-button-right .fc-btn-action:hover {
  background: var(--foxy-button-hover-background, #333333);
  color: var(--foxy-button-hover-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-hover-border, #333333);
}
[data-fc-sidecart] #fc .fc-fixed-button-right .fc-btn-action .fc-svg-icon {
  fill: var(--foxy-button-text, #ffffff);
}
[data-fc-sidecart] #fc .fc-sidebar--cart .fc-actions--payment .fc-action--payment--checkout {
  margin-bottom: 0 !important;
}
[data-fc-sidecart] #fc .fc-sidebar--cart .fc-actions--payment {
  padding: 10px;
}
[data-fc-sidecart] #fc .fc-action--checkout--button {
  background: var(--foxy-button-background, #1a1a1a);
  color: var(--foxy-button-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-border, #1a1a1a);
  width: 100%;
}
[data-fc-sidecart] #fc .fc-action--checkout--button:hover {
  background: var(--foxy-button-hover-background, #333333);
  color: var(--foxy-button-hover-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-hover-border, #333333);
}
[data-fc-sidecart] #fc .fc-action--checkout--button .fc-svg-icon {
  fill: var(--foxy-button-text, #ffffff);
  margin-right: 3px;
}
#fc .fc-input-group-container--active {
  background: var(--foxy-background, #ffffff);
}

/* Slide the cart, not the page */

[data-fc-with-sidecart] {
  transition: none !important;
}

/* Lock the page wrapper*/
[data-fc-store-page] {
  transform: none !important;
  will-change: auto !important;
  perspective: none !important;
  contain: none !important;
  transition: none !important;
}

[data-fc-with-sidecart="reveal"],
[data-fc-with-sidecart="reveal"].cart-visible,
[data-fc-with-sidecart="reveal"].cart-visible--animation-complete {
  transform: none !important;
}

[data-fc-with-sidecart="reveal"] [data-fc-ui-block] {
  transform: none !important;
}

/* Overlay fade: 0.25s for both open and close */
[data-fc-ui-block] {
  transition:
    opacity 0.25s ease-in-out 0s,
    width 0s linear 0.25s,
    height 0s linear 0.25s !important;
}
[data-fc-with-sidecart].cart-visible [data-fc-ui-block] {
  transition:
    opacity 0.25s ease-in-out 0s,
    width 0s linear 0s,
    height 0s linear 0s !important;
}

/* Sidecart: slide via right position (not transform) */
[data-fc-sidecart] {
  z-index: 10001 !important;
  right: -280px !important;
  transition: right 0.25s ease-in-out !important;
  transform: none !important;
  animation: none !important;
}

@media (min-width: 768px) {
  [data-fc-sidecart] {
    right: -310px !important;
  }
}

@media (min-width: 992px) {
  [data-fc-sidecart] {
    right: -340px !important;
  }
}

/* Open state — slide in */
[data-fc-with-sidecart="reveal"].cart-visible [data-fc-sidecart] {
  right: 0 !important;
}

/* ======================================= */
/* Full-Page Cart                          */
/* ======================================= */
#fc #fc-cart--responsive .fc-cancel-continue-shopping .fc-button {
  margin: 0;
}

#fc #fc-cart--responsive .fc-cancel-continue-shopping {
  text-align: center !important;
}

#fc .fc-sidebar {
  background: var(--foxy-background, #ffffff);
}
#fc .fc-sidebar--cart {
  background: var(--foxy-background, #ffffff);
}
#fc .fc-button--cancel {
  display: inline-flex;
  align-items: center;
  background: var(--foxy-secondary-button-background, transparent);
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a);
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  border-radius: var(--foxy-radius, 8px);
  text-shadow: none;
  text-transform: none;
  height: auto;
  padding: 10px;
  box-sizing: border-box;
  line-height: 1.4;
}
#fc .fc-button--cancel:hover {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a);
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-secondary-button-hover-border, #1a1a1a);
}
#fc .fc-button--cancel:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc .fc-button--cancel .fc-svg-icon {
  fill: var(--foxy-text, #1a1a1a);
  margin-right: 3px;
}
#fc .fc-button--cancel:hover .fc-svg-icon {
  fill: var(--foxy-secondary-button-hover-text, #ffffff);
}
#fc .fc-actions--payment .fc-action--checkout--button,
#fc .fc-action--checkout--button {
  background: var(--foxy-button-background, #1a1a1a);
  color: var(--foxy-button-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-border, #1a1a1a);
  border-radius: var(--foxy-radius, 8px);
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  text-shadow: none;
  text-transform: none;
  padding: 12px 24px;
}

#fc .fc-foxycomplete-combobox {
  background: var(--foxy-button-background, #1a1a1a);
  color: var(--foxy-button-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-border, #1a1a1a);
  border-radius: var(--foxy-radius, 8px);
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  text-shadow: none;
  text-transform: none;
}

#fc .fc-actions--payment .fc-action--checkout--button:hover,
#fc .fc-action--checkout--button:hover,
#fc .fc-foxycomplete-combobox:hover {
  background: var(--foxy-button-hover-background, #333333);
  color: var(--foxy-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-button-hover-border, #333333);
}
#fc .fc-actions--payment .fc-action--checkout--button:focus,
#fc .fc-action--checkout--button:focus,
#fc .fc-foxycomplete-combobox:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc .fc-actions--payment .fc-action--checkout--button .fc-svg-icon,
#fc .fc-action--checkout--button .fc-svg-icon {
  fill: var(--foxy-button-text, #ffffff);
  margin-right: 3px;
}
#fc .fc-sidebar h4 {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
  font-weight: var(--foxy-font-weight-semi, 600);
}
#fc .fc-sidebar h5 {
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
}
#fc .fc-sidebar .fc-form-control {
  border: 1px solid var(--foxy-input-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
  background: var(--foxy-input-background, #ffffff);
  box-shadow: none;
  transition: border-color 0.2s ease;
  padding: 10px;
  font-size: var(--foxy-font-size-body, 14px);
  line-height: 1.4;
}
#fc .fc-sidebar .fc-form-control:focus {
  border: 1px solid var(--foxy-input-border, #e5e5e5) !important;
  outline: 2px solid transparent;   /* invisible normally, appears in High Contrast */
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--foxy-input-focus-border, #000000) 25%, transparent);
  background-color: var(--foxy-input-background, #ffffff);
}
#fc .fc-sidebar .fc-button,
#fc .fc-sidebar button[data-fc-id="submit-shipping-postal-code"] {
  background: var(--foxy-secondary-button-background, transparent);
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a);
  border-radius: var(--foxy-radius, 8px) !important;
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  text-shadow: none;
  text-transform: none;
  height: auto;
  padding: 10px;
  margin-left: 6px;
  line-height: 1.4;
}
#fc .fc-sidebar .fc-button:hover,
#fc .fc-sidebar button[data-fc-id="submit-shipping-postal-code"]:hover {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a);
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-secondary-button-hover-border, #1a1a1a);
}
#fc .fc-sidebar .fc-button:focus,
#fc .fc-sidebar button[data-fc-id="submit-shipping-postal-code"]:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc .fc-sidebar a {
  color: var(--foxy-link-color, #1a1a1a) !important;
}

#fc .fc-sidebar a:hover {
  color: var(--foxy-link-hover-color, #545454) !important;
}
#fc .fc-sidebar--cart .fc-transaction,
#fc .fc-sidebar--cart .fc-address-entry {
  border-bottom: none;
}

#fc .fc-sidebar--cart .fc-actions--payment {
  border-top-color: var(--foxy-border, #e5e5e5);
}
#fc .fc-transaction__shipping-address {
  border: 1px solid var(--foxy-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
  margin: 25px 0 !important;
}
#fc .fc-coupon-entry--input .fc-form-control {
  border: 1px solid var(--foxy-input-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px) !important;
  background: var(--foxy-input-background, #ffffff);
  box-shadow: none;
  transition: border-color 0.2s ease;
  height: auto;
  width: 95%;
  padding: 10px;
  font-size: var(--foxy-font-size-body, 14px);
  line-height: 1.4;
}
#fc .fc-coupon-entry--input .fc-form-control:focus {
  border: 1px solid var(--foxy-input-border, #e5e5e5) !important;
  outline: 2px solid transparent;   /* invisible normally, appears in High Contrast */
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--foxy-input-focus-border, #000000) 25%, transparent);
}
#fc .fc-coupon-entry__apply {
  background: var(--foxy-secondary-button-background, transparent) !important;
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a) !important;
  border-radius: var(--foxy-radius, 8px) !important;
  height: auto;
  padding: 10px;
  margin-left: 6px;
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  text-transform: none;
  text-shadow: none;
  line-height: 1.4;
}
#fc .fc-coupon-entry__apply:hover {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a) !important;
  border-color: var(--foxy-secondary-button-hover-border, #1a1a1a) !important;
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
}
#fc .fc-transaction__discounts .fc-subtotal--row .fc-subtotal__label,
#fc .fc-transaction__discounts .fc-subtotal--row .fc-subtotal__value {
  color: var(--foxy-discount-color, #1a1a1a) !important;
}
#fc .fc-transaction__discounts .fc-svg-icon {
  fill: var(--foxy-discount-color, #1a1a1a);
}
#fc .fc-transaction__discounts a:hover .fc-svg-icon {
  fill: var(--foxy-link-hover-color, #545454);
}

#fc .fc-shipping-rates .fc-input-group--sidebar {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

#fc .fc-input-group-container--active.fc-shipping-rates__rate {
  background: transparent;
}

#fc #fc-cart--responsive .fc-input-group-container--radio input[type="radio"] {
  margin-left: 0 !important;
}

#fc #fc-cart--responsive .fc-input-group-container--radio label {
  padding-left: 0;
}

#fc #fc-cart--responsive .fc-shipping-rates__rate__name {
  width: 78%;
}

#fc .fc-sidebar--cart .fc-shipping-rates__rate__name {
  padding-left: 5px;
}

/* ======================================= */
/* Full-Page Cart — Layout                 */
/* ======================================= */
/* SCOPED: .fc-context--cart-fullpage (body class) prevents leaking into receipt */

/* Base: reset BS3 on cart panels */
#fc .fc-context--cart-fullpage .fc-cart__main {
  background: var(--foxy-background, #ffffff);
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

#fc .fc-context--cart-fullpage .fc-cart__main__content .fc-container__row {
  margin-right: 0 !important;
}

#fc .fc-context--cart-fullpage .fc-cart__main::before,
#fc .fc-context--cart-fullpage .fc-cart__main::after {
  display: none !important;
}

/* Nuke BS3 float/push/pull on cart panels */
#fc .fc-context--cart-fullpage .fc-cart__main__content {
  width: 100% !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  background: var(--foxy-background, #ffffff);
  padding: 15px !important;
}

#fc .fc-context--cart-fullpage .fc-cart__main .fc-sidebar--cart {
  width: 100% !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  padding: 20px !important;
}

/* Desktop: flexbox 50/50 split */
@media (min-width: 1000px) {
  /* All wrappers transparent so body gradient shows through */
  #fc .fc-context--cart-fullpage #fc-cart,
  #fc .fc-context--cart-fullpage #fc-cart--responsive,
  #fc .fc-context--cart-fullpage .fc-container {
    background: transparent !important;
  }

  /* Center the header at 970px */
  #fc .fc-context--cart-fullpage .fc-cart__header {
    max-width: 970px;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 20px 0 10px;
  }

  /* Cart main container — centered at 970px */
  #fc .fc-context--cart-fullpage .fc-cart__main {
    max-width: 970px;
    margin: 0 auto !important;
    position: relative;
    background: transparent !important;
  }

  /* The <form> wraps both panels — make IT the flex container */
  #fc .fc-context--cart-fullpage .fc-cart__main > form {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }

  /* Cart content: order 1 (left), 60% */
  #fc .fc-context--cart-fullpage .fc-cart__main__content {
    order: 1 !important;
    min-width: 0;
    background: transparent !important;
    flex: 0 0 60% !important;
    width: 60% !important;
  }

  /* Cart sidebar: order 2 (right), 40%, sticky */
  #fc .fc-context--cart-fullpage .fc-cart__main .fc-sidebar--cart {
    order: 2 !important;
    width: 40% !important;
    flex: 0 0 40% !important;
    padding: 15px 0 0 35px !important;
    border-left: none !important;
    border-top: none !important;
    position: sticky !important;
    top: 0;
    align-self: flex-start !important;
    max-height: 100vh;
    background: transparent !important;
  }

  /* Cart — grey background via fixed pseudo on body */
  #fc body.fc-context--cart-fullpage::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: calc(50% + 97px);
    right: 0;
    background: var(--foxy-sidebar-background, #f5f5f5);
    z-index: -1;
    pointer-events: none;
  }

  /* Sidebar children transparent for grey */
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-sidebar,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-logo,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-transaction,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-transaction__section,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-address-entry,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-actions--payment,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart ul,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart ol {
    background: transparent !important;
  }

  /* Cart sidebar form controls transparent on full-page cart */
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-form-control,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart select,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart input,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-input-group-container,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-input-group-container--active,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart .fc-shipping-rates__rate {
    background: transparent !important;
  }

  /* Hidden inputs inside the form shouldn't disrupt flex */
  #fc .fc-context--cart-fullpage .fc-cart__main > form > input[type="hidden"] {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* Below 1000px: stacked with breathing room */
@media (max-width: 999px) {
  #fc .fc-context--cart-fullpage .fc-cart__main__content,
  #fc .fc-context--cart-fullpage .fc-sidebar--cart {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #fc .fc-context--cart-fullpage #fc-cart--responsive {
    max-width: 600px !important;
    margin: 20px auto !important;
    padding: 0 15px !important;
  }
}

/* ================================================================= */
/*  CHECKOUT LAYOUT — FLEXBOX CONVERSION                             */
/* ================================================================= */
/* --- Container resets (checkout + cart only, not receipt) --- */
#fc .fc-checkout .fc-container,
#fc .fc-context--cart-fullpage .fc-container,
#fc .fc-context--cart-fullpage .container {
  max-width: none !important;
  width: 100% !important;
}

#fc #fc-checkout-container {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
  min-height: 0 !important;
  clear: none !important;
}

/* Kill BS3 panel styling + row negative margins */
#fc .fc-checkout__main {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  background: var(--foxy-background, #ffffff) !important;
}

/* Kill clearfix so flexbox works */
#fc .fc-checkout__main::before,
#fc .fc-checkout__main::after {
  display: none !important;
}

/* Kill BS3 equal-height-columns hack on sidebar */
#fc .fc-checkout .fc-sidebar,
#fc .fc-checkout .fc-sidebar--checkout,
#fc .fc-checkout .fc-sidebar--cart {
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* --- BASE: Nuke ALL BS3 layout on both panels --- */
#fc .fc-checkout__main__contents {
  width: 100% !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  background: var(--foxy-background, #ffffff);
  border-radius: 0;
  overflow: visible;
  padding: 0 !important;
  padding-top: 15px !important;
}

/* Error notifier spacing */
#fc [data-fc-error-notifier] {
  margin-bottom: 15px;
}
#fc .fc-checkout [data-fc-id="block-checkout-errors"] .fc-alert {
  margin-bottom: 15px;
}

#fc .fc-checkout__main .fc-sidebar--checkout {
  width: 100% !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  background: var(--foxy-background, #ffffff);
  border-radius: 0;
  padding: 0 !important;
}

#fc .fc-checkout .fc-sidebar--cart {
  background: var(--foxy-background, #ffffff);
}

/* --- EXPRESS CHECKOUT OPTIONS --- */

#fc #fc-checkout__section--express-options .fc-express-option {
  display: block;

  margin: 0;
}

#fc #fc-checkout__section--express-options {
  padding: 0;
}
#fc #fc-express-checkout {
  margin-bottom: 20px;
}
#fc #fc-express-checkout legend,
#fc #fc-express-checkout #fc-checkout__section--express-options {
  float: unset;
}
#fc .fc-action--payment--or {
  margin-bottom: 20px;
}
/* 8px matches the gap Stripe draws between its own wallet buttons, which we can't change.
   A flex gap holds whatever order the gateways finish loading in. */
#fc #fc-checkout__section--express-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* The form group's clearfix pseudo-elements would otherwise take a gap each */
#fc #fc-checkout__section--express-options::before,
#fc #fc-checkout__section--express-options::after {
  content: none;
}
/* Amazon sizes its own button and won't stretch to full width, so it sits last and centred under the full-width ones */
#fc #fc-checkout__section--express-options .fc-container__grid--authentication-button--amazon {
  order: 1;
  align-self: center;
}
/* PayPal's wrapper is inline-block on the baseline, leaving a descender gap under each button */
#fc .fc-container__grid--authentication-button--paypal .paypal-buttons {
  vertical-align: top;
}
/* 40px is the height Stripe draws its wallet buttons at */
#fc #apple-pay-express {
  width: 100%;
  height: 40px;
}
#fc #fc-checkout__section--express-options {
  margin-left: auto;
  margin-right: auto;
}

#fc #fc-express-checkout legend {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: var(--foxy-font-size-heading, 22px) !important;
  font-weight: var(--foxy-font-weight-bold, 700);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  margin-bottom: 12px;
  width: 100%;
  border: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}

#fc .fc-action--payment--or {
  color: var(--foxy-text-muted, #707070) !important;
  text-align: center;
  font-size: var(--foxy-font-size-body, 14px) !important;
}

/* --- DESKTOP (1000px+): Flexbox split --- */
@media (min-width: 1000px) {
  /* Grey background — applies on checkout and cart, NOT receipt */
  /* The columns split 60/40 inside the centred 970px .fc-checkout__main, so the edge sits at
     50% + 97px (same as the full-page cart's grey pseudo). */
  #fc body:not(:has(#fc-receipt-container)):not(.fc-context--cart-fullpage) {
    background: linear-gradient(
      to right,
      var(--foxy-background, #ffffff) calc(50% + 97px),
      var(--foxy-border, #e5e5e5) calc(50% + 97px),
      var(--foxy-border, #e5e5e5) calc(50% + 98px),
      var(--foxy-sidebar-background, #f5f5f5) calc(50% + 98px)
    ) !important;
  }

  /* Columns go 50/50 when the form is hidden (see .fc-checkout__main__contents below). */
  #fc body:not(:has(#fc-receipt-container)):not(.fc-context--cart-fullpage):has(.fc-checkout__main__contents form[style*="display: none"]) {
    background: linear-gradient(
      to right,
      var(--foxy-background, #ffffff) 50%,
      var(--foxy-border, #e5e5e5) 50%,
      var(--foxy-border, #e5e5e5) calc(50% + 1px),
      var(--foxy-sidebar-background, #f5f5f5) calc(50% + 1px)
    ) !important;
  }

  /* All wrappers transparent so body gradient shows through */
  #fc .fc-checkout,
  #fc .fc-checkout > [data-fc-id="block-checkout"],
  #fc .fc-checkout .fc-container,
  #fc #fc-checkout-container {
    background: transparent !important;
  }

  #fc .fc-checkout__main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    max-width: 970px;
    margin: 0 auto !important;
    position: relative;
    min-height: 100vh;
    background: transparent !important;
  }

  #fc .fc-checkout__main::after {
    display: none !important;
  }

  #fc .fc-checkout__main__contents {
    order: 1 !important;
    width: 60% !important;
    flex: 0 0 60% !important;
    padding: 50px 35px 30px 0 !important;
    min-width: 0;
  }

  #fc .fc-checkout__main__contents:has(form[style*="display: none"]) {
    width: 50% !important;
    flex: 0 0 50% !important;
  }

  #fc .fc-checkout__main .fc-sidebar--checkout {
    order: 2 !important;
    width: 40% !important;
    flex: 0 0 40% !important;
    padding: 0 0 30px 35px !important;
    border-left: none;
    border-top: none;
    align-self: flex-start !important;
    overflow-y: unset;
    background: transparent !important;
  }

  /* Make all sidebar children transparent so grey shows through */
  #fc .fc-checkout .fc-sidebar--checkout .fc-sidebar,
  #fc .fc-checkout .fc-sidebar--checkout .fc-sidebar--cart,
  #fc .fc-checkout .fc-sidebar--checkout .fc-cart__main,
  #fc .fc-checkout .fc-sidebar--checkout .fc-cart__items__header,
  #fc .fc-checkout .fc-sidebar--checkout .fc-transaction,
  #fc .fc-checkout .fc-sidebar--checkout .fc-transaction__section,
  #fc .fc-checkout .fc-sidebar--checkout .fc-logo,
  #fc .fc-checkout .fc-sidebar--checkout #fc-cart,
  #fc .fc-checkout .fc-sidebar--checkout #fc-cart--fixed-width,
  #fc .fc-checkout .fc-sidebar--checkout ul,
  #fc .fc-checkout .fc-sidebar--checkout ol {
    background: transparent !important;
  }

}

/* --- Below 1000px: stacked with breathing room --- */
@media (max-width: 999px) {
  #fc .fc-checkout .fc-container {
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
  }

  #fc .fc-checkout__main .fc-sidebar--checkout {
    border-bottom: 1px solid var(--foxy-border, #e5e5e5) !important;
  }
}

/* Narrow screens: tighter input basis so button fits */
@media (max-width: 600px) {
  #fc .fc-checkout .fc-input-group > input,
  #fc .fc-checkout .fc-input-group > .fc-form-control {
    flex: 1 1 50% !important;
  }
}

/* --- Reset all column offsets globally --- */
#fc .col-sm-offset-3,
#fc .col-md-offset-3,
#fc .fc-container__grid--checkout-submit,
#fc .fc-container__grid--checkout-subscription-cancel,
#fc .fc-container__grid--checkout-submit-helper-text,
#fc .fc-container__grid--checkout-subscription-cancel-helper-text,
#fc .fc-container__grid--payment-method,
#fc .fc-checkout__additional-field--tos,
#fc .fc-checkout__additional-field--secure-transfer,
#fc .fc-checkout__additional-field--subscribe,
#fc .fc-checkout__additional-field--save-account,
#fc .fc-container__grid--recaptcha,
#fc #paypal_platform_fastlane_watermark_container,
#fc #fc-payment-method-show_other_options,
#fc .fc-container__grid--input--company,
#fc .fc-container__grid--input--phone,
#fc .fc-container-checkout__grid--postal-code,
#fc .fc-container__grid--input--customer-email,
#fc .fc-container__grid--use-different-address,
#fc #fc-checkout__section--express-options {
  margin-left: 0 !important;
}

/* Force 100% width on elements Foxy caps at col-md-8 (66%) */
#fc .fc-container__grid--payment-method,
#fc .fc-checkout__additional-field--tos,
#fc .fc-checkout__additional-field--secure-transfer,
#fc .fc-checkout__additional-field--subscribe,
#fc .fc-checkout__additional-field--save-account,
#fc .fc-container__grid--recaptcha,
#fc .fc-container__grid--checkout-submit,
#fc .fc-container__grid--checkout-subscription-cancel,
#fc .fc-container__grid--checkout-submit-helper-text,
#fc .fc-container__grid--checkout-subscription-cancel-helper-text,
#fc #fc-checkout__section--express-options,
#fc #paypal_platform_fastlane_watermark_container,
#fc #fc-payment-method-show_other_options {
  width: 100% !important;
}

/* ======================================= */
/* Checkout - Sidebar buttons              */
/* ======================================= */
#fc .fc-checkout .fc-button--cancel {
  display: inline-block;
  background: var(--foxy-secondary-button-background, transparent);
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a);
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  border-radius: var(--foxy-radius, 8px);
  text-shadow: none;
  text-transform: none;
}
#fc .fc-checkout .fc-button--cancel:hover {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a);
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-secondary-button-hover-border, #1a1a1a);
}
#fc .fc-checkout .fc-button--cancel:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc .fc-checkout .fc-button--cancel .fc-svg-icon {
  fill: var(--foxy-text, #1a1a1a);
}
#fc .fc-checkout .fc-button--cancel:hover .fc-svg-icon {
  fill: var(--foxy-secondary-button-hover-text, #ffffff) !important;
}
/* ======================================= */
/* Checkout - Stack Form                   */
/* ======================================= */
#fc .fc-checkout .fc-container__grid--label--name,
#fc .fc-checkout .fc-container__grid--label--address {
  display: none;
}

#fc #fc-main .fc-form-group--multiple-inline .fc-container__grid--input--first-name,
#fc #fc-main .fc-form-group--multiple-inline .fc-container__grid--input--last-name {
  width: 50% !important;
}

#fc #fc-main .fc-address-entry__phone-and-company-container .fc-container__grid--input--company,
#fc #fc-main .fc-address-entry__phone-and-company-container .fc-container__grid--input--phone {
  width: 50% !important;
  float: left !important;
}

#fc #fc-main .fc-address-entry__address-container .fc-container__grid--input--address1,
#fc #fc-main .fc-address-entry__address-container .fc-container__grid--label--address2 {
  width: 50% !important;
}

#fc #fc-main .fc-container__grid--input--tax-id,
#fc #fc-main .fc-container__grid--input--customer-email,
#fc #fc-main .fc-container__grid--input--plastic-new-card-number,
#fc #fc-main .fc-checkout__additional-field--save-account,
#fc #fc-main .fc-checkout__additional-field--tos,
#fc #fc-main .fc-checkout__additional-field--secure-transfer,
#fc #fc-main .fc-checkout__additional-field--subscribe,
#fc #fc-main .fc-container__grid--recaptcha,
#fc #fc-main .fc-container__grid--checkout-submit,
#fc #fc-main .fc-container__grid--checkout-subscription-cancel,
#fc #fc-main .fc-container__grid--checkout-submit-helper-text,
#fc #fc-main .fc-container__grid--checkout-subscription-cancel-helper-text,
#fc #fc-main .fc-container__grid--use-different-address {
  width: 100% !important;
}

#fc .fc-shipping-rates .fc-input-group--full-page {
  margin-left: 0 !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#fc .fc-shipping-rates,
#fc .fc-shipping-results__header,
#fc .fc_checkout__shipping-results__help-text {
  width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
}

#fc .fc-shipping-rates__rate__value {
  width: 16%;
  text-align: right;
}

#fc .fc-shipping-rates__rate {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#fc .fc-input-group-container--radios.fc-input-group--full-page {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ======================================= */
/* Checkout - Fieldsets                    */
/* ======================================= */
#fc .fc-checkout fieldset {
  border: none !important;
  margin: 0;
  padding: 0;
}
#fc .fc-checkout fieldset legend {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: var(--foxy-font-size-heading, 22px) !important;
  font-weight: var(--foxy-font-weight-bold, 700);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  margin-bottom: 12px;
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
}
#fc .fc-checkout .fc-section-counter {
  background: var(--foxy-text, #1a1a1a);
  color: var(--foxy-button-text, #ffffff) !important;
}
#fc .fc-checkout #fc-checkout__section--email #customer_email {
  border-radius: var(--foxy-radius, 8px) !important;
}

/* Email/password input groups — flex layout for input + button */
#fc .fc-checkout .fc-input-group {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: var(--foxy-radius, 8px);
}

#fc .fc-checkout .fc-input-group > input,
#fc .fc-checkout .fc-input-group > .fc-form-control {
  width: 95% !important;
  border-radius: var(--foxy-radius, 8px) !important;
}

#fc .fc-checkout .fc-input-group--customer-email__found > #customer_email {
  width: 100% !important;
}

#fc .fc-checkout .fc-input-group .fc-input-group__button .fc-button {
  border-radius: var(--foxy-radius, 8px) !important;
  white-space: nowrap !important;
}

#fc .fc-checkout .fc-input-group > label {
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
#fc .fc_checkout__shipping-results__help-text {
  margin-left: 0;
  padding-left: 0;
}
#fc [data-fc-id="shipping-results"] .fc-alert--danger {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: -2px;
  border-radius: var(--foxy-radius, 8px);
  clear: both;
}

#fc .fc_checkout input[type="radio"] {
  margin: 2px 0 0;
}

#fc .fc-checkout__additional-field--save-account [for="new_customer_password"] {
  display: none;
}

#fc #fc-checkout__section--express-options {
  margin-bottom: -10px;
}

#fc .fc-checkout section {
  margin-bottom: 20px;
}

/* ======================================= */
/* Checkout - Form Controls                */
/* ======================================= */
#fc .fc-form-control {
  box-shadow: none;
  height: auto;
}

#fc .fc-checkout .fc-form-control {
  border: 1px solid var(--foxy-input-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
  background: var(--foxy-input-background, #ffffff);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 10px;
  font-size: var(--foxy-font-size-body, 14px);
  line-height: 1.9;
}
#fc .fc-checkout .fc-form-control:focus {
  border: 1px solid var(--foxy-input-border, #e5e5e5) !important;
  outline: 2px solid transparent;   /* invisible normally, appears in High Contrast */
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--foxy-input-focus-border, #000000) 25%, transparent);
  background-color: var(--foxy-input-background, #ffffff);
  height: auto;
}
#fc .fc-checkout .awesomecomplete-input:focus {
  border: 1px solid var(--foxy-input-border, #e5e5e5) !important;
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--foxy-input-focus-border, #000000) 25%, transparent);
}
#fc .fc-foxycomplete-list {
  background-color: var(--foxy-background, #ffffff);
  border: 1px solid var(--foxy-input-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
}
#fc .fc-foxycomplete-list li {
  border-top: 1px solid var(--foxy-border, #e5e5e5);
  color: var(--foxy-text, #1a1a1a) !important;
  background: var(--foxy-background, #ffffff);
  cursor: pointer;
}
#fc .fc-foxycomplete-list .active {
  background-color: var(--foxy-border, #e5e5e5);
}
#fc .fc-foxycomplete-list li:first-child {
  border-top: none;
}
#fc .fc-foxycomplete-list li:hover,
#fc .fc-foxycomplete-list li.selected {
  background: var(--foxy-background, #ffffff);
}

/* ======================================= */
/* Shared - Controls that are not text     */
/* ======================================= */
#fc input[type="checkbox"].fc-form-control,
#fc input[type="radio"].fc-form-control {
  background: revert !important;
  border: revert !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: normal !important;
}

#fc option.fc-form-control {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: normal !important;
}

#fc .fc-checkout .fc-input-group-container--checkbox .fc-form-label,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-group-container__title,
#fc .fc-checkout .fc-input-group-container--radio .fc-input-group-container__title,
#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > label,
#fc .fc-checkout .fc-checkout__section--additional-fields label {
  display: block;
  position: relative;

  margin-left: 0 !important;
  padding-left: 1.75em;
  line-height: 1.45;
  font-weight: var(--foxy-font-weight-semi, 600);
  color: var(--foxy-text, #1a1a1a);
}

#fc .fc-checkout .fc-input-group-container--checkbox .fc-form-label > input[type="checkbox"],
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-group-container__title > input[type="checkbox"],
#fc .fc-checkout .fc-input-group-container--radio .fc-input-group-container__title > input[type="radio"],
#fc .fc-checkout .fc-input-group-container--radio .fc-input-group-container__title > input[type="checkbox"],
#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > label > input[type="checkbox"],
#fc .fc-checkout .fc-checkout__section--additional-fields label > input[type="checkbox"],
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-group-container__title > input[type="radio"],
#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > label > input[type="radio"] {
  position: absolute;
  left: 0;

  top: calc((1.45em - 1em) / 2);
  width: 1em;
  height: 1em;
  margin: 0 !important;
}

#fc .fc-checkout .fc-input-group-container--checkbox p,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-title,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-form-control {
  padding-left: 0;
  text-indent: 0;
  margin-left: 0;
}

#fc .fc-checkout .fc-input-group-container--checkbox p,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-title {
  margin: var(--foxy-space-sm, 8px) 0 0 0;
  font-weight: var(--foxy-font-weight-normal, 400);
  line-height: 1.5;
}

#fc .fc-checkout .fc-input-group-container--checkbox input.fc-form-control:not([type="checkbox"]):not([type="radio"]) {
  padding: var(--foxy-space-md, 12px);
}

#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > input.fc-form-control,
#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > select.fc-form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: var(--foxy-space-sm, 8px);
}

#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > input.fc-form-control:last-of-type,
#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > select.fc-form-control:last-of-type {
  margin-bottom: var(--foxy-space-md, 12px);
}

/* ======================================= */
/* Shared - Error states                   */
/* ======================================= */
#fc .fc-alert-container--error .fc-input-group-container--checkbox,
#fc .fc-alert-container--error .fc-input-group-container--active,
#fc .fc-alert-container--error .fc-container__grid--payment-method .fc-input-group-container--active {
  background: var(--foxy-danger-background, #fdecea) !important;
  border: 1px solid var(--foxy-danger-border, #f5c6cb) !important;
  border-radius: var(--foxy-radius, 8px) !important;
}

#fc .fc-alert-container--error .fc-input-group {
  background: transparent !important;
  border: 0 !important;
}

#fc .fc-checkout .fc-alert-container--error .fc-form-control,
#fc .fc-alert-container--error .fc-form-control,
#fc .fc-alert-container--error .fc-form-control:focus {
  background: var(--foxy-danger-background, #fdecea) !important;
  border: 1px solid var(--foxy-danger-border, #f5c6cb) !important;
  border-radius: var(--foxy-radius, 8px) !important;
  color: var(--foxy-input-text, #1a1a1a) !important;
}

#fc .fc-alert-container--error input[type="checkbox"].fc-form-control,
#fc .fc-alert-container--error input[type="radio"].fc-form-control {
  background: revert !important;
  border: revert !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#fc .fc-alert-container--error button:not(.fc-button-link),
#fc .fc-alert-container--error input[type="submit"],
#fc .fc-alert-container--error .fc-button--sign-in,
#fc .fc-alert-container--error .fc-button--check-email,
#fc .fc-alert-container--error .fc-button--submit {
  background: var(--foxy-button-background, #1a1a1a) !important;
  color: var(--foxy-button-text, #ffffff) !important;
  border-color: var(--foxy-button-border, #1a1a1a) !important;
}

#fc .fc-button-link,
#fc .fc-alert .fc-button-link,
#fc .fc-alert-container--error .fc-button-link {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--foxy-link-color, #1a1a1a) !important;
  text-decoration: underline;
  font-weight: var(--foxy-font-weight-normal, 400);
}

#fc .fc-button-link:hover {
  color: var(--foxy-link-hover-color, #545454) !important;
}

#fc .fc-alert a,
#fc .fc-alert-container--error a {
  background: transparent !important;
  color: var(--foxy-link-color, #1a1a1a);
}

#fc .fc-alert .fc-form-group,
#fc .fc-alert .fc-input-group-container,
#fc .fc-alert__links,
#fc .fc-alert-container--error .fc-alert__links {
  background: transparent !important;
}

#fc .fc-alert-container--error .fc-form-label,
#fc .fc-alert-container--error label {
  color: var(--foxy-danger-text, #b71c1c) !important;
}

#fc .fc-checkout select.fc-form-control,
#fc .fc-context--cart-fullpage select.fc-form-control {
  width: 100%;
  box-sizing: border-box;
}

/* ======================================= */
/* Select fields - normalize native UI     */
/* Safari (and Chrome) keep their own       */
/* rounded shape + double-arrow on <select> */
/* until appearance is reset. Strip the     */
/* native chrome so selects match the       */
/* themed text inputs, and draw a custom    */
/* chevron. The country combobox is styled  */
/* as a button on purpose, so it's excluded.*/
/* ======================================= */
#fc .fc-checkout select:not(.fc-foxycomplete-combobox),
#fc .fc-context--cart-fullpage select,
#fc #fc-receipt-container select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border: 1px solid var(--foxy-input-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
  background-color: var(--foxy-input-background, #ffffff);
  color: var(--foxy-input-text, #1a1a1a) !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23888888' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding: 10px 34px 10px 10px !important;
  font-size: var(--foxy-font-size-body, 14px);
  text-overflow: ellipsis;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#fc .fc-checkout select:not(.fc-foxycomplete-combobox):focus,
#fc .fc-context--cart-fullpage select:focus,
#fc #fc-receipt-container select:focus {
  border-color: var(--foxy-input-border, #e5e5e5) !important;
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--foxy-input-focus-border, #000000) 25%, transparent);
}
/* Hide the duplicate native arrow that IE/Edge legacy adds */
#fc .fc-checkout select:not(.fc-foxycomplete-combobox)::-ms-expand {
  display: none;
}

/* ======================================= */
/* Checkout - Buttons                      */
/* ======================================= */
#fc .fc-checkout .fc-button--check-email,
#fc .fc-checkout button[data-fc-id="submit-shipping-postal-code"],
#fc .fc-checkout button[data-fc-id="submit-billing-postal-code"],
#fc .fc-checkout .fc-button--sign-in {
  background: var(--foxy-button-background, #1a1a1a) !important;
  color: var(--foxy-button-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-border, #1a1a1a);
  border-radius: var(--foxy-radius, 8px) !important;
  font-size: 13px;
  font-weight: var(--foxy-font-weight-semi, 600);
  text-shadow: none;
  text-transform: none;
  height: inherit;
  padding: 10px !important;
  margin-left: 0;
  box-sizing: border-box;
}
#fc .fc-checkout .fc-button--check-email:hover,
#fc .fc-checkout button[data-fc-id="submit-shipping-postal-code"]:hover,
#fc .fc-checkout .fc-button--sign-in:hover {
  background: var(--foxy-button-hover-background, #333333);
  color: var(--foxy-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-button-hover-border, #333333);
}
#fc .fc-checkout .fc-button--check-email:focus,
#fc .fc-checkout button[data-fc-id="submit-shipping-postal-code"]:focus,
#fc .fc-checkout button[data-fc-id="submit-billing-postal-code"]:focus,
#fc .fc-checkout .fc-button--sign-in:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc .fc-checkout .fc-button--submit {
  background: var(--foxy-button-background, #1a1a1a);
  color: var(--foxy-button-text, #ffffff) !important;
  border: 1px solid var(--foxy-button-border, #1a1a1a);
  border-radius: var(--foxy-radius, 8px);
  font-size: var(--foxy-font-size-body, 14px);
  font-weight: var(--foxy-font-weight-semi, 600);
  text-shadow: none;
  text-transform: none;
  padding: 12px 24px;
  width: 100%;
  height: auto;
  min-height: 50px;
}
#fc .fc-checkout .fc-button--submit:hover {
  background: var(--foxy-button-hover-background, #333333);
  color: var(--foxy-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-button-hover-border, #333333);
}
#fc .fc-checkout .fc-button--submit:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc .fc-checkout .fc-button-link {
  color: var(--foxy-link-color, #1a1a1a) !important;
  text-decoration: underline;
}
#fc .fc-checkout .fc-button-link:hover {
  color: var(--foxy-link-hover-color, #545454) !important;
}

#fc .fc-checkout .fc-shipping-rates__rate__name {
  padding-left: 10px;
}

#fc .fc-address-entry .fc-postal-code-entry__submit {
  margin-left: 0 !important;
}
#fc .fc-input-group-container__title::before {
  content: none;
}
#fc .fc-input-group-container--radio input[type="radio"] {
  margin-left: -14px;
}
#fc .fc-checkout #use_different_addresses {
  margin-right: 10px;
}
#fc .fc-checkout #fc-icon-lock-large {
  display: none !important;
}

/* ======================================= */
/* Checkout - Payment section              */
/* ======================================= */
#fc .fc-checkout .fc-input-group-container--active {
  border: 1px solid var(--foxy-border, #e5e5e5);
  border-radius: var(--foxy-radius, 8px);
  background: var(--foxy-background, #ffffff);
}
#fc .fc-checkout .fc-input-group-container--radio {
  border-radius: var(--foxy-radius, 8px);
}
#fc .fc-checkout .fc-payment-method--plastic__new .fc-input-group-container {
  background: var(--foxy-background, #ffffff);
}
#fc .fc-checkout .fc-payment-method--plastic__new .fc-input-group-container--active {
  background: var(--foxy-background, #ffffff);
}
#fc .fc-checkout .fc-form-label--plastic-new {
  background: none;
}
#fc .fc-checkout .fc-input-group-container__title {
  background: none;
  text-shadow: none;
}
#fc .fc-input-group-container__title::before {
  background: var(--foxy-background, #ffffff);
  border-color: var(--foxy-background, #ffffff);
}
#fc .fc-input-group-container .fc-form-group input {
  background: var(--foxy-input-background, #ffffff);
}
#fc .fc-input-group-container .fc-form-group select {
  background: var(--foxy-input-background, #ffffff);
  color: var(--foxy-input-text, #1a1a1a) !important;
}
#fc .fc-checkout .fc-input-group-container--checkbox {
  border-radius: var(--foxy-radius, 8px);
  background: var(--foxy-background, #ffffff);

  padding: var(--foxy-space-md, 12px);
}

#fc .fc-input-group-container--radio .fc-input-group-container__title input {
  margin-left: -20px;
}

#fc .fc-checkout .fc-container__checkout-helper-text {
  color: var(--foxy-text-muted, #707070) !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
}

#fc .fc-checkout__main__form .fc-input-group-container--checkbox {
  padding-top: 5px !important;
}

#fc
  .fc-checkout__additional-field--save-account
  .fc-input-group-container--checkbox.fc-input-group-container--active
  [data-fc-id="account-creation-label"] {
  padding-left: 1.75em;
}

/* Once ticked, the account panel is bordered. The base theme pulls its title
   up 5px, gives it a 40px min-height and pushes the password group down 1em,
   which crowds the border and leaves a gap under the title. */
#fc .fc-checkout__main__form .fc-checkout__additional-field--save-account .fc-input-group-container--active {
  padding-top: var(--foxy-space-lg, 16px) !important;
}
#fc .fc-checkout__additional-field--save-account .fc-input-group-container--active [data-fc-id="account-creation-label"] {
  margin-top: 0;
  min-height: 0;
}
#fc .fc-checkout__additional-field--save-account .fc-input-group-container--active > .fc-form-group {
  margin: var(--foxy-space-md, 12px) 0 0;
}
#fc .fc-checkout .fc-checkout__additional-field--save-account .fc-input-group-container--active > .fc-form-group > p {
  margin: 0 0 var(--foxy-space-sm, 8px);
}

/* ======================================= */
/* Receipt                                 */
/* ======================================= */
#fc #fc-receipt-container {
  background: var(--foxy-background, #ffffff) !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#fc #fc-receipt__section--header {
  background: var(--foxy-background, #ffffff);
  border-bottom: 1px solid var(--foxy-border, #e5e5e5);
  border-radius: 0;
  padding: 25px;
}
#fc #fc-receipt__section--header .fc-logotype {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: 1.5em;
  font-weight: var(--foxy-font-weight-bold, 700);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
}
#fc #fc-receipt__section--header h3 {
  font-weight: var(--foxy-font-weight-semi, 600);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
}
#fc #fc-receipt__section--receipt_messaging_and_actions {
  border-bottom: 1px solid var(--foxy-border, #e5e5e5);
  margin-bottom: 0;
  padding-bottom: 15px;
}
#fc #fc-receipt__section--receipt_messaging_and_actions .fc-alert {
  border-radius: var(--foxy-radius, 8px);
  text-shadow: none;
}
#fc #fc-receipt__section--receipt_messaging_and_actions .fc-alert:empty {
  display: none;
}
#fc #fc-messages .fc-alert--success:has(+ .fc-alert--info) {
  display: none;
}
#fc #fc-receipt__section--receipt_messaging_and_actions .fc-button,
#fc #fc-receipt__section--actions .fc-button {
  display: inline-block;
  background: var(--foxy-secondary-button-background, transparent);
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a);
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
  font-weight: var(--foxy-font-weight-semi, 600);
  border-radius: var(--foxy-radius, 8px);
  text-shadow: none;
  text-transform: none;
  line-height: 24px;
  padding: 6px 16px;
  margin: 5px;
}
#fc #fc-receipt__section--receipt_messaging_and_actions .fc-button:hover,
#fc #fc-receipt__section--actions .fc-button:hover {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a);
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-secondary-button-hover-border, #1a1a1a);
}
#fc #fc-receipt__section--receipt_messaging_and_actions .fc-button:focus,
#fc #fc-receipt__section--actions .fc-button:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring, 0 0 0 3px rgba(26,26,26,0.2));
}
#fc #fc-receipt-container fieldset {
  border: none;
  margin: 0;
  padding: 15px 0;
}
#fc #fc-receipt-container legend,
#fc #fc-receipt-container #fc-cart--responsive .fc-cart__title__header {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: 1.15em;
  font-weight: var(--foxy-font-weight-bold, 700);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  border-bottom: none;
  padding-bottom: 5px;
  margin-bottom: 15px;
  text-shadow: none;
}
#fc #fc-receipt__section--general-information,
#fc #fc-receipt__section--billing-information,
#fc #fc-receipt__section--shipping-information,
#fc #fc-receipt__section--custom-fields,
#fc .fc-receipt__section--multiship-shipping-information {
  padding: 5px 15px;
}
#fc #fc-receipt-container fieldset .fc-form-group .fc-form-label {
  color: var(--foxy-text-muted, #707070) !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
  font-weight: var(--foxy-font-weight-normal, 400);
}
#fc #fc-receipt-container fieldset .fc-form-group div[class*="fc-container__grid--static-input"] p {
  color: var(--foxy-text, #1a1a1a) !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
}
#fc #fc-receipt-container .fc-cart__main {
  background: var(--foxy-background, #ffffff);
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}
#fc #fc-receipt-container .fc-button--cancel {
  display: inline-block;
  background: var(--foxy-secondary-button-background, transparent);
  border: 1px solid var(--foxy-secondary-button-border, #1a1a1a);
  color: var(--foxy-secondary-button-text, #1a1a1a) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
  font-weight: var(--foxy-font-weight-semi, 600);
  border-radius: var(--foxy-radius, 8px);
  text-shadow: none;
  text-transform: none;
  line-height: 24px;
}
#fc #fc-receipt-container .fc-button--cancel:hover {
  background: var(--foxy-secondary-button-hover-background, #1a1a1a);
  color: var(--foxy-secondary-button-hover-text, #ffffff) !important;
  border-color: var(--foxy-secondary-button-hover-border, #1a1a1a);
}
#fc #fc-receipt-container .fc-button--cancel .fc-svg-icon {
  fill: var(--foxy-text, #1a1a1a);
}
#fc #fc-receipt-container .fc-button--cancel:hover .fc-svg-icon {
  fill: var(--foxy-button-text, #ffffff);
}
#fc #fc-receipt-container .fc-sidebar {
  background: var(--foxy-background, #ffffff);
  border-radius: 0;
}
#fc #fc-receipt-container .fc-sidebar--cart {
  background: var(--foxy-background, #ffffff);
}
#fc #fc-receipt-container .fc-sidebar .fc-logo {
  display: none;
}
#fc #fc-receipt-container .fc-transaction {
  color: var(--foxy-text, #1a1a1a) !important;
}
#fc #fc-receipt-container .fc-transaction__section {
  background: none;
}
#fc #fc-receipt-container a {
  color: var(--foxy-link-color, #1a1a1a) !important;
  text-decoration: underline;
}
#fc #fc-receipt-container a:hover {
  color: var(--foxy-link-hover-color, #545454) !important;
}
#fc #fc-receipt-container .fc-alert a {
  color: inherit !important;
}
#fc #fc-receipt__section--transaction-history {
  padding: 10px 15px;
}
#fc .fc-transaction-history h2 {
  font-family: var(--foxy-font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol") !important;
  font-size: 1.25em;
  font-weight: var(--foxy-font-weight-bold, 700);
  color: var(--foxy-heading-color, #1a1a1a) !important;
  text-shadow: none;
}
#fc #fc-receipt__section--transaction-history .fc-transaction-history__positive {
  color: var(--foxy-link-color, #1a1a1a) !important;
}
#fc #fc-receipt__section--footer {
  background: var(--foxy-background, #ffffff);
}
#fc #fc-receipt-container .text-muted,
#fc #fc-receipt-container .fc-container__checkout-helper-text {
  color: var(--foxy-text-muted, #707070) !important;
  font-size: var(--foxy-font-size-body, 14px) !important;
}

@media (min-width: 1000px) {
  #fc #fc-receipt-container .fc-cart__main__content {
    padding-left: 3em;
    padding-right: 2em;
  }
  #fc #fc-receipt-container .fc-sidebar--cart {
    padding-left: 1em;
    padding-right: 3em;
  }
}
@media (max-width: 999px) {
  #fc #fc-receipt-container {
    padding-left: 1em;
    padding-right: 1em;
  }
  #fc #fc-receipt__section--header {
    padding: 20px 15px;
  }
  #fc #fc-receipt__section--general-information,
  #fc #fc-receipt__section-billing-information,
  #fc #fc-receipt__section--shipping-information {
    padding: 5px 10px;
  }
}

/* ======================================= */
/* Checkout - Address                      */
/* ======================================= */
#fc .fc-checkout .fc-container__grid--label--tax-id,
#fc .fc-checkout .fc-form-label--billing-tax-id,
#fc .fc-checkout .fc-form-label--shipping-tax-id {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ======================================= */
/* Checkout - Address, country              */
/* ======================================= */
#fc .fc-checkout .fc-container__grid--country {
  width: 100%;
}

#fc .fc-checkout .fc-postal-code-entry,
#fc .fc-checkout .fc-postal-code-entry__with-search {
  width: 100%;
  box-sizing: border-box;
}

#fc .fc-checkout .fc-container__grid--country .fc-foxycomplete-combobox,
#fc .fc-checkout .fc-container__grid--country .fc-form-control {
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}

/* ======================================= */
/* Checkout - Consistent control sizing     */
/* ======================================= */
#fc .fc-checkout .fc-form-control:not([type="checkbox"]):not([type="radio"]),
#fc .fc-context--cart-fullpage .fc-form-control:not([type="checkbox"]):not([type="radio"]) {
  min-height: var(--foxy-control-height, 44px);
  padding: var(--foxy-space-md, 12px);
  font-size: var(--foxy-font-size-body, 14px);
  line-height: 1.4;
  box-sizing: border-box;
}

/* Stacked fields share one gap. */
#fc .fc-checkout .fc-form-group {
  margin-bottom: var(--foxy-space-md, 12px);
}

#fc .fc-input-group-container {
  padding-left: 15px;
  padding-right: 15px;
}

#fc .fc-checkout .fc-input-group-container--checkbox {
  padding: var(--foxy-space-lg, 16px);
  padding-left: 15px;
  padding-right: 15px;
}

#fc .fc-checkout .fc-container__grid--payment-method {
  margin-bottom: var(--foxy-space-sm, 8px);
}

#fc .fc-checkout .fc-input-group-container--radio .fc-input-group-container__title,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-group-container__title,
#fc .fc-checkout .fc-input-group-container--active .fc-input-group-container__title {
  margin-bottom: 0;

  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#fc .fc-checkout .fc-input-group-container--radio .fc-input-group-container__title {
  font-weight: var(--foxy-font-weight-normal, 400);
}

/* Payment-method rows */
#fc .fc-checkout .fc-container__grid--payment-method .fc-input-group-container--radio.fc-input-group-container--active {
  padding: var(--foxy-space-md, 12px) 15px !important;
}
#fc .fc-checkout .fc-container__grid--payment-method .fc-input-group-container--radio > .fc-input-group-container__title {
  display: flex !important;
  align-items: center;
  gap: var(--foxy-space-sm, 8px);
  min-height: 1.45em;
  margin: 0 !important;
}
#fc .fc-checkout .fc-container__grid--payment-method .fc-input-group-container--radio > .fc-input-group-container__title > input[type="radio"] {
  top: 50%;
  transform: translateY(-50%);
}
#fc .fc-checkout .fc-container__grid--payment-method .fc-payment-method-logo {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
#fc .fc-checkout .fc-container__grid--payment-method .fc-payment-method-logo img {
  display: block;
  position: static;
  margin: 0;
}
#fc .fc-checkout .fc-container__grid--payment-method .fc-input-group-container--active > .fc-input-group-container__title ~ * {
  margin-top: var(--foxy-space-md, 12px);
}

/* PayPal, Venmo, Pay Later: the logo is the label */
#fc .fc-checkout .fc-payment-method--paypal_platform_paypal .fc-input-group-container__title,
#fc .fc-checkout .fc-payment-method--paypal_platform_venmo .fc-input-group-container__title,
#fc .fc-checkout .fc-payment-method--paypal_platform_paylater .fc-input-group-container__title {
  font-size: 0 !important;
  padding-left: calc(var(--foxy-font-size-body, 14px) * 1.75);
  min-height: calc(var(--foxy-font-size-body, 14px) * 1.45);
}
#fc .fc-checkout .fc-payment-method--paypal_platform_paypal .fc-input-group-container__title > input,
#fc .fc-checkout .fc-payment-method--paypal_platform_venmo .fc-input-group-container__title > input,
#fc .fc-checkout .fc-payment-method--paypal_platform_paylater .fc-input-group-container__title > input,
#fc .fc-checkout .fc-payment-method--paypal_platform_paypal .fc-payment-method-logo,
#fc .fc-checkout .fc-payment-method--paypal_platform_venmo .fc-payment-method-logo,
#fc .fc-checkout .fc-payment-method--paypal_platform_paylater .fc-payment-method-logo {
  font-size: var(--foxy-font-size-body, 14px);
}
#fc .fc-checkout .fc-payment-method--paypal_platform_paypal .fc-input-group-container__title + .fc-form-group,
#fc .fc-checkout .fc-payment-method--paypal_platform_venmo .fc-input-group-container__title + .fc-form-group,
#fc .fc-checkout .fc-payment-method--paypal_platform_paylater .fc-input-group-container__title + .fc-form-group {
  display: none;
}

/* ======================================= */
/* Visual hierarchy                        */
/* ======================================= */
/* Section headings outrank everything around them. */
#fc .fc-checkout h1,
#fc .fc-checkout h2,
#fc .fc-checkout legend {
  font-size: var(--foxy-font-size-heading, 22px);
  font-weight: var(--foxy-font-weight-bold, 700);
  color: var(--foxy-heading-color, #1a1a1a);
  line-height: 1.25;
}

/* Panel and consent titles sit one step below a heading, one above body. */
#fc .fc-checkout .fc-input-group-container--checkbox .fc-form-label,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-group-container__title,
#fc .fc-checkout .fc-container__grid--payment-method .fc-form-group > label,
#fc .fc-checkout .fc-checkout__section--additional-fields label {
  font-size: var(--foxy-font-size-section-title, 15px);
  font-weight: var(--foxy-font-weight-semi, 600);
}

#fc .fc-checkout .fc-input-group-container--checkbox p,
#fc .fc-checkout .fc-input-group-container--checkbox .fc-input-title,
#fc .fc-checkout .fc-form-group > p,
#fc .fc-checkout .fc-container__grid--payment-method p {
  font-size: var(--foxy-font-size-small, 12px);
  color: var(--foxy-text-muted, #707070);
  font-weight: var(--foxy-font-weight-normal, 400);
}

/* Body copy and controls take the body step. */
#fc .fc-checkout .fc-form-control:not([type="checkbox"]):not([type="radio"]),
#fc .fc-context--cart-fullpage .fc-form-control:not([type="checkbox"]):not([type="radio"]) {
  font-size: var(--foxy-font-size-body, 14px);
}

#fc .fc-checkout .fc-input-group-container--radio .fc-input-group-container__title {
  font-size: var(--foxy-font-size-body, 14px);
}

#fc .fc-checkout fieldset,
#fc .fc-checkout .fc-checkout__section--customer-shipping-address,
#fc .fc-checkout .fc-checkout__section--customer-billing-address,
#fc .fc-checkout .fc-checkout__section--shipping-results,
#fc .fc-checkout .fc-checkout__section--payment {
  margin-bottom: var(--foxy-section-gap, 40px);
}

#fc .fc-checkout [class*="fc-checkout__section--"] fieldset {
  margin-bottom: var(--foxy-space-lg, 16px);
}

/* ======================================= */
/* Shipping rates - row layout             */
/* ======================================= */
#fc .fc-shipping-rates__rate .fc-form-label--shipping-rate {
  display: flex;
  align-items: flex-start;
  line-height: 1.45;
  padding-left: 0;
  margin: 0;
  width: auto;
  float: none;
}
#fc .fc-shipping-rates__rate .fc-form-label--shipping-rate::before,
#fc .fc-shipping-rates__rate .fc-form-label--shipping-rate::after,
#fc .fc-shipping-rates__rate__name::before,
#fc .fc-shipping-rates__rate__name::after,
#fc .fc-shipping-rates__rate__value::before,
#fc .fc-shipping-rates__rate__value::after {
  content: none;
}

#fc .fc-shipping-rates__rate input[type="radio"],
#fc .fc-shipping-rates__rate .fc-form-control--shipping-rate {
  flex: 0 0 auto;
  float: none !important;
  width: 1em;
  height: 1em;
  margin: calc((1.45em - 1em) / 2) 0 0 0 !important;
}

#fc .fc-shipping-rates__rate__name {
  flex: 1 1 auto;
  min-width: 0;
  float: none !important;
  width: auto !important;
  padding-left: 0.75em !important;
}
#fc .fc-shipping-rates__rate__value {
  flex: 0 0 auto;
  float: none !important;
  width: auto !important;
  margin-left: auto !important;
  padding-left: var(--foxy-space-sm, 8px);
  text-align: right;
  white-space: nowrap;
}

#fc .fc-shipping-rates__rate {
  border-width: 1px !important;
}

#fc .fc-checkout .fc-shipping-rates__rate {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

#fc .fc-sidebar--cart .fc-shipping-rates__rate,
#fc #fc-cart--responsive .fc-shipping-rates__rate {
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-width: 0 !important;
}

/* ======================================= */
/* Cart - Discounts header row             */
/* ======================================= */
#fc .fc-transaction__ui {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--foxy-space-sm, 8px);
}
#fc .fc-transaction__ui > .fc-transaction__ui__header {
  margin: 0;
}
#fc .fc-transaction__ui > .fc-button,
#fc .fc-transaction__ui > .fc-transaction__ui__toggle {
  float: none !important;
  flex: 0 0 auto;
  margin: 0;
}
/* Header-row buttons sit beside a body-size heading, so they stay compact
   rather than taking the full sidebar button size. */
#fc .fc-transaction .fc-transaction__ui > .fc-button {
  padding: 4px 10px;
  font-size: var(--foxy-font-size-small, 12px);
  line-height: 1.4;
}
#fc .fc-transaction__ui ~ table,
#fc .fc-transaction__discounts [data-fc-id="block-coupon-entry"] ~ table {
  margin-top: var(--foxy-space-sm, 8px);
}

#fc [data-fc-id="block-coupon-entry"] .fc-alert {
  clear: both;
  margin-top: var(--foxy-space-sm, 8px);
}

/* ======================================= */
/* Checkout - Adyen embedded Drop-in       */
/* ======================================= */
#fc #adyen-embedded-payment-container {
  --adyen-sdk-color-background-primary: var(--foxy-background, #ffffff);
  --adyen-sdk-color-background-secondary: var(--foxy-sidebar-background, #f5f5f5);
  --adyen-sdk-color-label-primary: var(--foxy-text, #1a1a1a);
  --adyen-sdk-color-label-secondary: var(--foxy-text-muted, #707070);
  --adyen-sdk-color-label-tertiary: var(--foxy-text-muted, #707070);
  --adyen-sdk-color-outline-primary: var(--foxy-border, #e5e5e5);
  --adyen-sdk-color-outline-secondary: var(--foxy-border, #e5e5e5);
  --adyen-sdk-color-outline-tertiary: var(--foxy-border, #e5e5e5);
  --adyen-sdk-border-radius-m: var(--foxy-radius, 8px);
  --adyen-sdk-border-radius-s: var(--foxy-radius, 8px);
  --adyen-sdk-text-body-font-size: var(--foxy-font-size-body, 14px);
  --adyen-sdk-text-caption-font-size: var(--foxy-font-size-small, 12px);
}

#fc .fc-checkout #fc_adyen_embedded_saved_cc,
#fc .fc-checkout .fc_adyen_embedded_payment_selector {
  accent-color: var(--foxy-text, #1a1a1a);
}

/* ======================================= */
/* Email / password rows - message width   */
/* ======================================= */
#fc .fc-checkout .fc-container__grid--input--customer-email > .fc-input-group,
#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"] > .fc-input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--foxy-space-sm, 8px);
}
#fc .fc-checkout .fc-container__grid--input--customer-email > .fc-input-group > .fc-form-label,
#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"] > .fc-input-group > .fc-form-label {
  flex: 1 1 100%;
}
#fc .fc-checkout .fc-container__grid--input--customer-email > .fc-input-group > .fc-form-control,
#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"] > .fc-input-group > .fc-form-control {
  flex: 1 1 auto;
  min-width: 0;

  width: auto !important;
  box-sizing: border-box;

  border-width: 1px;
  border-style: solid;
}

/* Email row: the normal input border. */
#fc .fc-checkout .fc-container__grid--input--customer-email > .fc-input-group > .fc-form-control {
  border-color: var(--foxy-input-border, #e5e5e5);
}

#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"]:not(.fc-alert-container--error) > .fc-input-group > .fc-form-control {
  border-color: var(--foxy-success-border, #c8e6c9);
}

#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"].fc-alert-container--error > .fc-input-group > .fc-form-control {
  border-color: var(--foxy-input-border, #e5e5e5);
}
#fc .fc-checkout .fc-container__grid--input--customer-email > .fc-input-group > .fc-input-group__button,
#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"] > .fc-input-group > .fc-input-group__button {
  flex: 0 0 auto;

  width: auto;
  white-space: nowrap;
}

#fc .fc-checkout .fc-container__grid--input--customer-email > .fc-alert,

#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"] > .fc-alert {
  margin-top: var(--foxy-space-sm, 8px);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"]:not(.fc-alert-container--error) {
  background: var(--foxy-success-background, #e8f5e9) !important;
  border: 2px solid var(--foxy-success-border, #c8e6c9) !important;
  border-radius: var(--foxy-radius, 8px);
  padding: var(--foxy-space-md, 12px);
}
#fc .fc-checkout .fc-alert--success[data-fc-error-for="customer_password"].fc-alert-container--error {
  background: transparent !important;
  border: 0 !important;
  padding: 0;
}

/* ======================================= */
/* Checkout - Adyen embedded Drop-in       */
/* ======================================= */
#fc #adyen-embedded-payment-container {
  --adyen-sdk-color-background-primary: var(--foxy-background, #ffffff);
  --adyen-sdk-color-background-secondary: var(--foxy-sidebar-background, #f5f5f5);
  --adyen-sdk-color-label-primary: var(--foxy-text, #1a1a1a);
  --adyen-sdk-color-label-secondary: var(--foxy-text-muted, #707070);
  --adyen-sdk-color-label-tertiary: var(--foxy-text-muted, #707070);
  --adyen-sdk-color-outline-primary: var(--foxy-border, #e5e5e5);
  --adyen-sdk-color-outline-secondary: var(--foxy-border, #e5e5e5);
  --adyen-sdk-color-outline-tertiary: var(--foxy-border, #e5e5e5);
  --adyen-sdk-border-radius-m: var(--foxy-radius, 8px);
  --adyen-sdk-border-radius-s: var(--foxy-radius, 8px);
  --adyen-sdk-text-body-font-size: var(--foxy-font-size-body, 14px);
  --adyen-sdk-text-caption-font-size: var(--foxy-font-size-small, 12px);
}

#fc .fc-checkout #fc_adyen_embedded_saved_cc,
#fc .fc-checkout .fc_adyen_embedded_payment_selector {
  accent-color: var(--foxy-text, #1a1a1a);
}

#fc .fc-coupon-entry--input {
  margin-top: var(--foxy-space-md, 12px);
  margin-bottom: var(--foxy-space-sm, 8px);
}

/* ======================================= */
/* Field-level error messages              */
/* ======================================= */
#fc .fc-alert-container--error .fc-alert {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
