/* ======================================= */
/* Foxy – Combined Template Overrides      */
/* Sidecart, Checkout, Full-Page Cart,     */
/* and Receipt                             */
/* ======================================= */

/* Flash Prevention */
#fc {
  animation: foxy-reveal 0s 0.1s forwards;
  opacity: 0;
}
@keyframes foxy-reveal {
  to {
    opacity: 1;
  }
}

/* ======================================= */
/* Global                                  */
/* ======================================= */
#fc * {
  font-family: var(--foxy-font-body) !important;
  color: var(--foxy-text) !important;
}
#fc body {
  background: var(--foxy-background) !important;
  padding: 0 !important;
  font-size: var(--foxy-font-size-body);
}

#fc h1,
#fc h2,
#fc h3,
#fc h4,
#fc h5,
#fc h6 {
  font-family: var(--foxy-font-heading) !important;
  color: var(--foxy-heading-color) !important;
  text-shadow: none;
  font-size: var(--foxy-font-size-heading) !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) !important;
  font-size: var(--foxy-font-size-body) !important;
}
#fc .fc-svg-icon {
  fill: var(--foxy-text);
}
#fc a .fc-svg-icon {
  transition: fill 0.2s ease;
}
#fc a:hover .fc-svg-icon {
  fill: var(--foxy-link-hover-color);
}

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

/* ======================================= */
/* Shared - Headings & Text                */
/* ======================================= */
#fc .fc-cart__title__header {
  font-family: var(--foxy-font-heading) !important;
  font-size: var(--foxy-font-size-heading) !important;
  font-weight: var(--foxy-font-weight-semi);
  margin: 15px 0 0 3px;
}
#fc .fc-order-quantity {
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-normal);
}
#fc .fc-transaction__header {
  font-family: var(--foxy-font-heading) !important;
  font-size: var(--foxy-font-size-heading) !important;
  font-weight: var(--foxy-font-weight-semi);
  color: var(--foxy-heading-color) !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);
  border-radius: var(--foxy-radius);
}

#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);
  font-size: var(--foxy-font-size-body);
}
#fc .fc-cart__item__options {
  margin-left: 0;
}
#fc .fc-cart__item__quantity .fc-form-control {
  background: var(--foxy-input-background);
  border: 1px solid var(--foxy-border);
  border-radius: var(--foxy-radius);
  box-shadow: none;
  transition: border-color 0.2s ease;
}
#fc .fc-cart__item__quantity .fc-form-control:focus {
  border: 2px solid var(--foxy-input-focus-border) !important;
  outline: none;
  box-shadow: none;
}
#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) !important;
  font-size: var(--foxy-font-size-body) !important;
  text-decoration: underline;
}
#fc .fc-cart__item__remove a:hover {
  color: var(--foxy-text) !important;
}
#fc .fc-cart__items__header {
  background: var(--foxy-background);
  border-bottom: 1px solid var(--foxy-border);
  border-right: none;
  border-radius: 0;
  text-shadow: none;
}
#fc .fc-cart__item {
  border-bottom: 1px solid var(--foxy-border);
}
#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;
}

@media (max-width: 999px) {
  #fc .fc-logo {
    display: none !important;
  }
}

/* ======================================= */
/* Shared - Totals                         */
/* ======================================= */
#fc .fc-subtotal__label,
#fc .fc-subtotal__label h5 {
  color: var(--foxy-text) !important;
  text-shadow: none;
  font-size: var(--foxy-font-size-body) !important;
  font-weight: var(--foxy-font-weight-normal);
  padding-left: 0 !important;
}
#fc .fc-subtotal__value {
  color: var(--foxy-text) !important;
  font-size: var(--foxy-font-size-body) !important;
}
#fc .fc-transaction__total .fc-subtotal__label,
#fc .fc-transaction__total .fc-subtotal__label h5 {
  font-weight: var(--foxy-font-weight-bold);
  font-size: var(--foxy-font-size-heading) !important;
  color: var(--foxy-text) !important;
  font-family: var(--foxy-font-heading) !important;
}
#fc .fc-transaction__total .fc-subtotal__value {
  font-weight: var(--foxy-font-weight-bold);
  font-size: var(--foxy-font-size-heading) !important;
  color: var(--foxy-text) !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) !important;
  font-weight: var(--foxy-font-weight-bold);
}
#fc .fc-transaction__section {
  background: none;
}
#fc .fc-transaction {
  background: none;
}

/* ======================================= */
/* Shared - Alerts                         */
/* ======================================= */
#fc .fc-alert {
  text-shadow: none;
  border-radius: var(--foxy-radius);
}
#fc .fc-alert--success {
  background-color: var(--foxy-success-background) !important;
  border-color: var(--foxy-success-border);
  color: var(--foxy-success-text) !important;
}
#fc .fc-alert--success * {
  background-color: var(--foxy-success-background) !important;
  color: var(--foxy-success-text) !important;
}
#fc .fc-alert--warning {
  background-color: var(--foxy-warning-background) !important;
  border-color: var(--foxy-warning-border);
  color: var(--foxy-warning-text) !important;
}
#fc .fc-alert--warning * {
  background-color: var(--foxy-warning-background) !important;
  color: var(--foxy-warning-text) !important;
}
#fc .fc-alert--info {
  background-color: var(--foxy-info-background) !important;
  border-color: var(--foxy-info-border);
  color: var(--foxy-info-text) !important;
}
#fc .fc-alert--info * {
  background-color: var(--foxy-info-background) !important;
  color: var(--foxy-info-text) !important;
}
#fc .fc-alert--danger {
  background-color: var(--foxy-danger-background) !important;
  border-color: var(--foxy-danger-border);
  color: var(--foxy-danger-text) !important;
}
#fc .fc-alert--danger * {
  background-color: var(--foxy-danger-background) !important;
  color: var(--foxy-danger-text) !important;
}
#fc .fc-messages__empty-notification {
  background-color: var(--foxy-info-background) !important;
  border-radius: var(--foxy-radius);
  color: var(--foxy-info-text) !important;
  border-color: var(--foxy-info-border);
}

/* ======================================= */
/* Sidecart                                */
/* ======================================= */
[data-fc-sidecart],
[data-fc-sidecart] #fc-cart,
[data-fc-sidecart] #fc .fc-sidebar,
[data-fc-sidecart] #fc {
  background: var(--foxy-background);
}
[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);
  font-weight: var(--foxy-font-weight-semi);
  border-radius: var(--foxy-radius);
  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);
}
[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);
  border: 1px solid var(--foxy-secondary-button-border);
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action span {
  color: var(--foxy-secondary-button-text) !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);
  color: var(--foxy-secondary-button-hover-text) !important;
  border: 1px solid var(--foxy-secondary-button-hover-border);
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action .fc-svg-icon {
  fill: var(--foxy-secondary-button-text);
}
[data-fc-sidecart] #fc .fc-fixed-button-left .fc-btn-action:hover .fc-svg-icon {
  fill: var(--foxy-secondary-button-hover-text);
}
[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);
  color: var(--foxy-button-text) !important;
  border: 1px solid var(--foxy-button-border);
}
[data-fc-sidecart] #fc .fc-fixed-button-right .fc-btn-action:hover {
  background: var(--foxy-button-hover-background);
  color: var(--foxy-button-hover-text) !important;
  border: 1px solid var(--foxy-button-hover-border);
}
[data-fc-sidecart] #fc .fc-fixed-button-right .fc-btn-action .fc-svg-icon {
  fill: var(--foxy-button-text);
}
[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);
  color: var(--foxy-button-text) !important;
  border: 1px solid var(--foxy-button-border);
  width: 100%;
}
[data-fc-sidecart] #fc .fc-action--checkout--button:hover {
  background: var(--foxy-button-hover-background);
  color: var(--foxy-button-hover-text) !important;
  border: 1px solid var(--foxy-button-hover-border);
}
[data-fc-sidecart] #fc .fc-action--checkout--button .fc-svg-icon {
  fill: var(--foxy-button-text);
  margin-right: 3px;
}
#fc .fc-input-group-container--active {
  background: var(--foxy-background);
}

/* Slide the cart not the page */

[data-fc-sidecart] {
  z-index: 100 !important;
  --sidecart-slide: -280px;
  right: var(--sidecart-slide) !important;
  /* Default state (no .cart-visible) — slide back out */
  animation: foxy-sidecart-slide-out 0.4s ease-in-out forwards;
}

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

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

/* Open state — slide in */
[data-fc-with-sidecart="reveal"].cart-visible [data-fc-sidecart] {
  animation: foxy-sidecart-slide-in 0.5s ease-in-out forwards;
}

@keyframes foxy-sidecart-slide-in {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(var(--sidecart-slide), 0, 0); }
}

@keyframes foxy-sidecart-slide-out {
  from { transform: translate3d(var(--sidecart-slide), 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

[data-fc-store-page] {
  transform: none !important;
}

/* ======================================= */
/* Full-Page Cart                          */
/* ======================================= */

#fc #fc-cart--responsive .fc-cancel-continue-shopping .fc-button {
  margin: 0;
}

#fc .fc-sidebar {
  background: var(--foxy-background);
}
#fc .fc-sidebar--cart {
  background: var(--foxy-background);
}
#fc .fc-button--cancel {
  display: inline-flex;
  align-items: center;
  background: var(--foxy-secondary-button-background);
  border: 1px solid var(--foxy-secondary-button-border);
  color: var(--foxy-secondary-button-text) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  border-radius: var(--foxy-radius);
  text-shadow: none;
  text-transform: none;
  height: auto;
  padding: 10px 16px;
  box-sizing: border-box;
}
#fc .fc-button--cancel:hover {
  background: var(--foxy-secondary-button-hover-background);
  color: var(--foxy-secondary-button-hover-text) !important;
  border-color: var(--foxy-secondary-button-hover-border);
}
#fc .fc-button--cancel:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring);
}
#fc .fc-button--cancel .fc-svg-icon {
  fill: var(--foxy-text);
}
#fc .fc-button--cancel:hover .fc-svg-icon {
  fill: var(--foxy-secondary-button-hover-text);
}
#fc .fc-actions--payment .fc-action--checkout--button,
#fc .fc-action--checkout--button {
  background: var(--foxy-button-background);
  color: var(--foxy-button-text) !important;
  border: 1px solid var(--foxy-button-border);
  border-radius: var(--foxy-radius);
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  text-shadow: none;
  text-transform: none;
  padding: 12px 24px;
}

#fc .fc-foxycomplete-combobox {
  background: var(--foxy-button-background);
  color: var(--foxy-button-text) !important;
  border: 1px solid var(--foxy-button-border);
  border-radius: var(--foxy-radius);
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  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);
  color: var(--foxy-button-hover-text) !important;
  border-color: var(--foxy-button-hover-border);
}
#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);
}
#fc .fc-actions--payment .fc-action--checkout--button .fc-svg-icon,
#fc .fc-action--checkout--button .fc-svg-icon {
  fill: var(--foxy-button-text);
  margin-right: 3px;
}
#fc .fc-sidebar h4 {
  font-family: var(--foxy-font-heading) !important;
  color: var(--foxy-heading-color) !important;
  text-shadow: none;
  font-weight: var(--foxy-font-weight-semi);
}
#fc .fc-sidebar h5 {
  color: var(--foxy-heading-color) !important;
  text-shadow: none;
}
#fc .fc-sidebar .fc-form-control {
  border: 1px solid var(--foxy-input-border);
  border-radius: var(--foxy-radius);
  background: var(--foxy-input-background);
  box-shadow: none;
  transition: border-color 0.2s ease;
  padding: 10px 16px;
}
#fc .fc-sidebar .fc-form-control:focus {
  border: 2px solid var(--foxy-input-focus-border) !important;
  outline: none;
  box-shadow: none;
  background-color: var(--foxy-input-background);
}
#fc .fc-sidebar .fc-button,
#fc .fc-sidebar button[data-fc-id="submit-shipping-postal-code"] {
  background: var(--foxy-secondary-button-background);
  color: var(--foxy-secondary-button-text) !important;
  border: 1px solid var(--foxy-secondary-button-border);
  border-radius: var(--foxy-radius) !important;
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  text-shadow: none;
  text-transform: none;
  height: auto;
  padding: 10px 16px;
  margin-left: 6px;
}
#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);
  color: var(--foxy-secondary-button-hover-text) !important;
  border-color: var(--foxy-secondary-button-hover-border);
}
#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);
}
#fc .fc-sidebar a {
  color: var(--foxy-link-color) !important;
}


#fc .fc-sidebar a:hover {
  color: var(--foxy-link-hover-color) !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);
}
#fc .fc-transaction__shipping-address {
  border: 1px solid var(--foxy-border);
  border-radius: var(--foxy-radius);
  margin: 25px 0 !important;
}
#fc .fc-coupon-entry--input .fc-form-control {
  border: 1px solid var(--foxy-input-border);
  border-radius: var(--foxy-radius) !important;
  background: var(--foxy-input-background);
  box-shadow: none;
  transition: border-color 0.2s ease;
  height: auto;
  width: 95%;
  padding: 10px 16px;
}
#fc .fc-coupon-entry--input .fc-form-control:focus {
  border: 2px solid var(--foxy-input-focus-border) !important;
  outline: none;
  box-shadow: none;
}
#fc .fc-coupon-entry__apply {
  background: var(--foxy-secondary-button-background) !important;
  color: var(--foxy-secondary-button-text) !important;
  border: 1px solid var(--foxy-secondary-button-border) !important;
  border-radius: var(--foxy-radius) !important;
  height: auto;
  padding: 10px 16px;
  margin-left: 6px;
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  text-transform: none;
  text-shadow: none;
}
#fc .fc-coupon-entry__apply:hover {
  background: var(--foxy-secondary-button-hover-background) !important;
  border-color: var(--foxy-secondary-button-hover-border) !important;
  color: var(--foxy-secondary-button-hover-text) !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) !important;
}
#fc .fc-transaction__discounts .fc-svg-icon {
  fill: var(--foxy-discount-color);
}
#fc .fc-transaction__discounts a:hover .fc-svg-icon {
  fill: var(--foxy-link-hover-color);
}

#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;
}

#fc .fc-context--cart-fullpage .fc-logo__image {
  max-width: 80%;
  padding: 0 0 35px;
}

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

/* ======================================= */
/* 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);
  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);
  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: 0 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);
    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) !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);
  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);
  border-radius: 0;
  padding: 0 !important;
}

#fc .fc-checkout .fc-sidebar--checkout .fc-logo__image {
  max-width: 80%;
  margin: 0 auto 10px auto;
}
#fc .fc-checkout .fc-sidebar--cart {
  background: var(--foxy-background);
}

/* --- DESKTOP (1000px+): Flexbox split --- */
@media (min-width: 1000px) {
  /* Grey background — applies on checkout and cart, NOT receipt */
  #fc body:not(:has(#fc-receipt-container)):not(.fc-context--cart-fullpage) {
    background: linear-gradient(
      to right,
      var(--foxy-background) 50%,
      var(--foxy-sidebar-background) 50%
    ) !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;
    position: sticky !important;
    top: 0;
    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;
  }

  /* Cart items list scrolls when too many products */
  #fc .fc-checkout .fc-sidebar--checkout .fc-cart__items {
    max-height: 45vh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: var(--foxy-border) transparent;
  }

  #fc .fc-checkout .fc-sidebar--checkout .fc-cart__items::-webkit-scrollbar {
    width: 4px;
  }
  #fc .fc-checkout .fc-sidebar--checkout .fc-cart__items::-webkit-scrollbar-thumb {
    background: var(--foxy-border);
    border-radius: 2px;
  }
}

/* --- 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) !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);
  border: 1px solid var(--foxy-secondary-button-border);
  color: var(--foxy-secondary-button-text) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  border-radius: var(--foxy-radius);
  text-shadow: none;
  text-transform: none;
}
#fc .fc-checkout .fc-button--cancel:hover {
  background: var(--foxy-secondary-button-hover-background);
  color: var(--foxy-secondary-button-hover-text) !important;
  border-color: var(--foxy-secondary-button-hover-border);
}
#fc .fc-checkout .fc-button--cancel:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring);
}
#fc .fc-checkout .fc-button--cancel .fc-svg-icon {
  fill: var(--foxy-text);
}
#fc .fc-checkout .fc-button--cancel:hover .fc-svg-icon {
  fill: var(--foxy-secondary-button-hover-text) !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) !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) !important;
  font-size: var(--foxy-font-size-heading) !important;
  font-weight: var(--foxy-font-weight-bold);
  color: var(--foxy-heading-color) !important;
  margin-bottom: 12px;
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
}
#fc .fc-checkout .fc-section-counter {
  background: var(--foxy-text);
  color: var(--foxy-button-text) !important;
}
#fc .fc-checkout #fc-checkout__section--email #customer_email {
  border-radius: var(--foxy-radius) !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);
}

#fc .fc-checkout .fc-input-group > input,
#fc .fc-checkout .fc-input-group > .fc-form-control {
  width: 95% !important;
  border-radius: var(--foxy-radius) !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) !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);
  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);
  border-radius: var(--foxy-radius);
  background: var(--foxy-input-background);
  transition: border-color 0.2s ease;
  padding: 10px 12.5px;
  font-size: var(--foxy-font-size-body);
  line-height: 1.9;
}
#fc .fc-checkout .fc-form-control:focus {
  border: 2px solid var(--foxy-input-focus-border) !important;
  outline: none;
  box-shadow: none;
  background-color: var(--foxy-input-background);
}
#fc .fc-checkout .awesomecomplete-input:focus {
  border: 2px solid var(--foxy-input-focus-border) !important;
}
#fc .fc-foxycomplete-list {
  background-color: var(--foxy-background);
  border: 1px solid var(--foxy-input-border);
  border-radius: var(--foxy-radius);
}
#fc .fc-foxycomplete-list li {
  border-top: 1px solid var(--foxy-border);
  color: var(--foxy-text) !important;
  background: var(--foxy-background);
  cursor: pointer;
}
#fc .fc-foxycomplete-list .active {
  background-color: var(--foxy-border);
}
#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);
}

#fc .fc-checkout .fc-alert-container--error .fc-form-control,
#fc .fc-alert-container--error .fc-form-control:focus {
  background: var(--foxy-danger-background) !important;
  border: 2px solid var(--foxy-danger-border) !important;
  transition:
    background 0.2s linear,
    border 0.2s linear,
    padding 0.2s linear;
}

/* ======================================= */
/* 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) !important;
  color: var(--foxy-button-text) !important;
  border: 1px solid var(--foxy-button-border);
  border-radius: var(--foxy-radius) !important;
  font-size: 13px;
  font-weight: var(--foxy-font-weight-semi);
  text-shadow: none;
  text-transform: none;
  height: inherit;
  padding: 10px 16px;
  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);
  color: var(--foxy-button-hover-text) !important;
  border-color: var(--foxy-button-hover-border);
}
#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);
}
#fc .fc-checkout .fc-button--submit {
  background: var(--foxy-button-background);
  color: var(--foxy-button-text) !important;
  border: 1px solid var(--foxy-button-border);
  border-radius: var(--foxy-radius);
  font-size: var(--foxy-font-size-body);
  font-weight: var(--foxy-font-weight-semi);
  text-shadow: none;
  text-transform: none;
  padding: 14px 24px;
  width: 100%;
  height: auto;
  min-height: 50px;
}
#fc .fc-checkout .fc-button--submit:hover {
  background: var(--foxy-button-hover-background);
  color: var(--foxy-button-hover-text) !important;
  border-color: var(--foxy-button-hover-border);
}
#fc .fc-checkout .fc-button--submit:focus {
  outline: none;
  box-shadow: var(--foxy-button-focus-ring);
}
#fc .fc-checkout .fc-button-link {
  color: var(--foxy-link-color) !important;
  text-decoration: underline;
}
#fc .fc-checkout .fc-button-link:hover {
  color: var(--foxy-link-hover-color) !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);
  border-radius: var(--foxy-radius);
  background: var(--foxy-background);
}
#fc .fc-checkout .fc-input-group-container--radio {
  border-radius: var(--foxy-radius);
}
#fc .fc-checkout .fc-payment-method--plastic__new .fc-input-group-container {
  background: var(--foxy-background);
}
#fc .fc-checkout .fc-payment-method--plastic__new .fc-input-group-container--active {
  background: var(--foxy-background);
}
#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);
  border-color: var(--foxy-background);
}
#fc .fc-input-group-container .fc-form-group input {
  background: var(--foxy-input-background);
}
#fc .fc-input-group-container .fc-form-group select {
  background: var(--foxy-input-background);
  color: var(--foxy-input-text) !important;
}
#fc .fc-checkout .fc-input-group-container--checkbox {
  border-radius: var(--foxy-radius);
  background: var(--foxy-background);
}

#fc .fc-input-group-container--radio .fc-input-group-container__title input {
  margin-left: -20px;
}
#fc .fc-input-group-container--checkbox .fc-input-group-container__title input {
  margin-left: -20px;
}
#fc .fc-checkout .fc-container__checkout-helper-text {
  color: var(--foxy-text-muted) !important;
  font-size: var(--foxy-font-size-body) !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: 50px;
}

/* ======================================= */
/* Receipt                                 */
/* ======================================= */
#fc #fc-receipt-container {
  background: var(--foxy-background) !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#fc #fc-receipt__section--header {
  background: var(--foxy-background);
  border-bottom: 1px solid var(--foxy-border);
  border-radius: 0;
  padding: 25px;
}
#fc #fc-receipt__section--header .fc-logotype {
  font-family: var(--foxy-font-heading) !important;
  font-size: 1.5em;
  font-weight: var(--foxy-font-weight-bold);
  color: var(--foxy-heading-color) !important;
  text-shadow: none;
}
#fc #fc-receipt__section--header h3 {
  font-weight: var(--foxy-font-weight-semi);
  color: var(--foxy-heading-color) !important;
  text-shadow: none;
}
#fc #fc-receipt__section--header .fc-container__grid--receipt--logo #fc-logo--receipt {
  max-height: 80px;
  margin: 0;
  padding: 0;
}
#fc #fc-receipt__section--receipt_messaging_and_actions {
  border-bottom: 1px solid var(--foxy-border);
  margin-bottom: 0;
  padding-bottom: 15px;
}
#fc #fc-receipt__section--receipt_messaging_and_actions .fc-alert {
  border-radius: var(--foxy-radius);
  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);
  border: 1px solid var(--foxy-secondary-button-border);
  color: var(--foxy-secondary-button-text) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body) !important;
  font-weight: var(--foxy-font-weight-semi);
  border-radius: var(--foxy-radius);
  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);
  color: var(--foxy-secondary-button-hover-text) !important;
  border-color: var(--foxy-secondary-button-hover-border);
}
#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);
}
#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) !important;
  font-size: 1.15em;
  font-weight: var(--foxy-font-weight-bold);
  color: var(--foxy-heading-color) !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) !important;
  font-size: var(--foxy-font-size-body) !important;
  font-weight: var(--foxy-font-weight-normal);
}
#fc #fc-receipt-container fieldset .fc-form-group div[class*="fc-container__grid--static-input"] p {
  color: var(--foxy-text) !important;
  font-size: var(--foxy-font-size-body) !important;
}
#fc #fc-receipt-container .fc-cart__main {
  background: var(--foxy-background);
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}
#fc #fc-receipt-container .fc-button--cancel {
  display: inline-block;
  background: var(--foxy-secondary-button-background);
  border: 1px solid var(--foxy-secondary-button-border);
  color: var(--foxy-secondary-button-text) !important;
  text-decoration: none !important;
  font-size: var(--foxy-font-size-body) !important;
  font-weight: var(--foxy-font-weight-semi);
  border-radius: var(--foxy-radius);
  text-shadow: none;
  text-transform: none;
  line-height: 24px;
}
#fc #fc-receipt-container .fc-button--cancel:hover {
  background: var(--foxy-secondary-button-hover-background);
  color: var(--foxy-secondary-button-hover-text) !important;
  border-color: var(--foxy-secondary-button-hover-border);
}
#fc #fc-receipt-container .fc-button--cancel .fc-svg-icon {
  fill: var(--foxy-text);
}
#fc #fc-receipt-container .fc-button--cancel:hover .fc-svg-icon {
  fill: var(--foxy-button-text);
}
#fc #fc-receipt-container .fc-sidebar {
  background: var(--foxy-background);
  border-radius: 0;
}
#fc #fc-receipt-container .fc-sidebar--cart {
  background: var(--foxy-background);
}
#fc #fc-receipt-container .fc-sidebar .fc-logo {
  display: none;
}
#fc #fc-receipt-container .fc-transaction {
  color: var(--foxy-text) !important;
}
#fc #fc-receipt-container .fc-transaction__section {
  background: none;
}
#fc #fc-receipt-container a {
  color: var(--foxy-link-color) !important;
  text-decoration: underline;
}
#fc #fc-receipt-container a:hover {
  color: var(--foxy-link-hover-color) !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) !important;
  font-size: 1.25em;
  font-weight: var(--foxy-font-weight-bold);
  color: var(--foxy-heading-color) !important;
  text-shadow: none;
}
#fc #fc-receipt__section--transaction-history .fc-transaction-history__positive {
  color: var(--foxy-link-color) !important;
}
#fc #fc-receipt__section--footer {
  background: var(--foxy-background);
}
#fc #fc-receipt-container .text-muted,
#fc #fc-receipt-container .fc-container__checkout-helper-text {
  color: var(--foxy-text-muted) !important;
  font-size: var(--foxy-font-size-body) !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;
  }
}