#fd-buytogether-complements[hidden] {
  display: none !important;
}

#fd-buytogether-complements {
  --fd-bt-navy: #183157;
  --fd-bt-plus: #2f6fb5;
  --fd-bt-check: #cc2028;
  --fd-bt-check-mobile: #2e9b4a;
  --fd-bt-btn: #f5c518;
  --fd-bt-btn-text: #1c2123;
  --fd-bt-text: #1c2123;
  --fd-bt-muted: #75787a;
  --fd-bt-border: #DFDFDF;
  --fd-bt-complements-bg: #eef3f8;
  --fd-bt-selected-bg: #eef2f6;
  --fd-bt-card-shadow: 0 2px 10px rgba(24, 49, 87, 0.08);

  margin: 1.5rem 0 2rem;
  padding: 0;
  box-sizing: border-box;
  color: var(--fd-bt-text);
  font-family: Karla, Lato, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
}

#fd-buytogether-complements *,
#fd-buytogether-complements *::before,
#fd-buytogether-complements *::after {
  box-sizing: border-box;
}

/* Le thème cible p, a, h3, label, button, sup… Les classes du module
   restent prioritaires (un ID + une classe bat un ID + une balise). */
#fd-buytogether-complements :is(p, ul, ol, li, h1, h2, h3, h4, h5, h6, label, button, input, select, a, strong, b, em, i, small, sup, img) {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  opacity: 1;
}

#fd-buytogether-complements a:hover,
#fd-buytogether-complements a:focus,
#fd-buytogether-complements a:active {
  color: inherit;
  text-decoration: inherit;
  opacity: 1;
}

#fd-buytogether-complements :is(ul, ol) {
  padding: 0;
  list-style: none;
}

#fd-buytogether-complements :is(strong, b) {
  font-weight: 700;
}

#fd-buytogether-complements :is(em, i) {
  font-style: italic;
}

#fd-buytogether-complements sup {
  position: static;
  top: auto;
  bottom: auto;
  line-height: inherit;
  vertical-align: baseline;
}

#fd-buytogether-complements :is(button, input, select) {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#fd-buytogether-complements button {
  cursor: pointer;
}

#fd-buytogether-complements img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

#fd-buytogether-complements .fd-bt-title {
  margin: 0 0 1.25rem;
  text-align: center;
  font: normal normal 700 18px/22px Karla, Lato, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fd-bt-navy);
}

#fd-buytogether-complements .fd-bt-title:has(+ .fd-bt-subtitle) {
  margin-bottom: 0.35rem;
}

#fd-buytogether-complements .fd-bt-subtitle {
  margin: 0 auto 1.25rem;
  max-width: 720px;
  text-align: center;
  font: normal normal 400 14px/1.4 Karla, Lato, sans-serif;
  color: var(--fd-bt-muted);
  word-break: break-word;
}

#fd-buytogether-complements .fd-bt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

#fd-buytogether-complements .fd-bt-plus {
  flex: 0 0 auto;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fd-bt-plus);
  user-select: none;
}

#fd-buytogether-complements .fd-bt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 225px;
  height: 330px;
  padding: 1rem 0.85rem 0.9rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--fd-bt-card-shadow);
}

#fd-buytogether-complements .fd-bt-card--base {
  border: 1px solid var(--fd-bt-border);
}

#fd-buytogether-complements .fd-bt-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

#fd-buytogether-complements .fd-bt-complements {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1.1rem 1rem;
  background: var(--fd-bt-complements-bg);
  border: 1px solid #d5e0ec;
  border-radius: 12px;
  overflow: visible;
}

#fd-buytogether-complements .fd-bt-complements > .fd-bt-plus {
  /* Aligne le + sur la card blanche (sous la checkbox) */
  transform: translateY(calc((20px + 0.45rem) / 2));
}

#fd-buytogether-complements .fd-bt-complement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: inherit;
  max-width: 225px;
}

#fd-buytogether-complements .fd-bt-complement__shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

#fd-buytogether-complements .fd-bt-complement__pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  cursor: pointer;
  font-weight: inherit;
  width: 100%;
}

#fd-buytogether-complements .fd-bt-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

#fd-buytogether-complements .fd-bt-card__check-ui {
  display: block;
  order: -1; /* desktop : checkbox au-dessus de la card */
  width: 20px;
  height: 20px;
  border: 2px solid var(--fd-bt-check);
  border-radius: 2px;
  background: transparent;
  box-sizing: border-box;
  flex: 0 0 auto;
}

#fd-buytogether-complements .fd-bt-input:checked ~ .fd-bt-card__check-ui {
  background: var(--fd-bt-check);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M3.5 8.2l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

#fd-buytogether-complements .fd-bt-input[type="radio"] ~ .fd-bt-card__check-ui {
  border-radius: 50%;
}

#fd-buytogether-complements .fd-bt-input[type="radio"]:checked ~ .fd-bt-card__check-ui {
  background-color: #fff;
  background-image: radial-gradient(circle at center, var(--fd-bt-check) 0 4px, transparent 4.5px);
}

#fd-buytogether-complements .fd-bt-input:focus-visible ~ .fd-bt-card__check-ui {
  outline: 2px solid var(--fd-bt-plus);
  outline-offset: 2px;
}

#fd-buytogether-complements .fd-bt-complement .fd-bt-card--complement {
  transition: box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  border: 1px solid transparent;
}

#fd-buytogether-complements .fd-bt-input:checked ~ .fd-bt-card--complement {
  border-color: rgba(47, 111, 181, 0.35);
  box-shadow: 0 2px 12px rgba(24, 49, 87, 0.12);
}

#fd-buytogether-complements .fd-bt-variant {
  position: relative;
  display: none;
  width: 100%;
  min-height: 40px;
}

#fd-buytogether-complements.has-combinations .fd-bt-variant {
  display: block;
}

#fd-buytogether-complements .fd-bt-variant--placeholder {
  visibility: hidden;
  pointer-events: none;
}

#fd-buytogether-complements .fd-bt-variant__toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 40px;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--fd-bt-border);
  border-radius: 8px;
  background: #fff;
  color: var(--fd-bt-text);
  font: normal normal 600 12px/1.2 Karla, Lato, sans-serif;
  text-align: left;
  cursor: pointer;
}

#fd-buytogether-complements .fd-bt-variant.is-open {
  z-index: 30;

  .fd-bt-variant__toggle {
    border-bottom: transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

#fd-buytogether-complements .fd-bt-variant__group {
  color: var(--fd-bt-navy);
  white-space: nowrap;
}

#fd-buytogether-complements .fd-bt-variant__current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}

#fd-buytogether-complements .fd-bt-variant__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#fd-buytogether-complements .fd-bt-variant__swatch {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

#fd-buytogether-complements .fd-bt-variant__chevron {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin-left: auto;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--fd-bt-navy);
  transition: transform 0.15s ease;
}

#fd-buytogether-complements .fd-bt-variant.is-open .fd-bt-variant__chevron {
  transform: rotate(180deg);
}

#fd-buytogether-complements .fd-bt-variant__list {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--fd-bt-border);
  max-height: 220px;
  overflow: auto;
  top: 100%;
  border-top: transparent;
  border-radius: 0 0 4px 4px;
}

#fd-buytogether-complements .fd-bt-variant__option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 0;
  background: transparent;
  color: var(--fd-bt-text);
  font: normal normal 500 12px/1.2 Karla, Lato, sans-serif;
  text-align: left;
  cursor: pointer;
}

#fd-buytogether-complements .fd-bt-variant__option:hover {
  background: #f3f6fa;
}

#fd-buytogether-complements .fd-bt-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 185px;
  height: 185px;
  margin-bottom: 0.65rem;
}

#fd-buytogether-complements .fd-bt-card__media img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#fd-buytogether-complements .fd-bt-card__name {
  margin: 0 0 0.55rem;
  min-height: 2.5em;
  font: normal normal 600 13px/1.25 Karla, Lato, sans-serif;
  color: var(--fd-bt-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#fd-buytogether-complements .fd-bt-card__name:has(+ .fd-bt-card__subtext) {
  margin-bottom: 0.2rem;
}

#fd-buytogether-complements .fd-bt-card:has(.fd-bt-card__subtext) {
  height: auto;
  min-height: 330px;
}

#fd-buytogether-complements .fd-bt-card__subtext {
  display: block;
  margin: 0 0 0.45rem;
  font: normal normal 400 12px/1.35 Karla, Lato, sans-serif;
  color: var(--fd-bt-muted);
  word-break: break-word;
}

#fd-buytogether-complements .fd-bt-subtitle p,
#fd-buytogether-complements .fd-bt-card__subtext p {
  margin: 0;
}

#fd-buytogether-complements .fd-bt-subtitle strong,
#fd-buytogether-complements .fd-bt-subtitle b,
#fd-buytogether-complements .fd-bt-card__subtext strong,
#fd-buytogether-complements .fd-bt-card__subtext b {
  font-weight: 700;
}

#fd-buytogether-complements .fd-bt-subtitle em,
#fd-buytogether-complements .fd-bt-subtitle i,
#fd-buytogether-complements .fd-bt-card__subtext em,
#fd-buytogether-complements .fd-bt-card__subtext i {
  font-style: italic;
}

#fd-buytogether-complements .fd-bt-card__prices {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 0.65rem;
  row-gap: 0.15rem;
}

#fd-buytogether-complements .fd-bt-card__price-ttc {
  font: normal normal 700 16px/1.2 Lato, sans-serif;
  letter-spacing: 0;
  color: var(--fd-bt-text);
}

#fd-buytogether-complements .fd-bt-card__price-ht {
  font: normal normal 400 13px/1.2 Lato, sans-serif;
  letter-spacing: 0;
  color: var(--fd-bt-muted);
  line-height: 1.2;
}

#fd-buytogether-complements .fd-bt-card__price-regular {
  flex: 0 0 100%;
  color: #c62828;
  text-decoration: line-through;
  font: normal normal 400 13px/1.2 Lato, sans-serif;
  letter-spacing: 0;
}

#fd-buytogether-complements .fd-bt-card__unit {
  position: relative;
  top: 0;
  margin-left: 0.15em;
  font-size: 0.55em;
  font-weight: 600;
  line-height: 1;
  vertical-align: super;
}

#fd-buytogether-complements .fd-bt-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 210px;
  margin-left: 0.5rem;
}

#fd-buytogether-complements .fd-bt-summary__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  font: normal normal 400 15px/1.3 Karla, Lato, sans-serif;
  color: var(--fd-bt-navy);
}

#fd-buytogether-complements .fd-bt-summary__label {
  font-weight: 600;
}

#fd-buytogether-complements .fd-bt-summary__ttc {
  font: normal normal 700 20px/1.2 Lato, sans-serif;
  color: var(--fd-bt-navy);
}

#fd-buytogether-complements .fd-bt-summary__ht {
  font: normal normal 400 14px/1.2 Lato, sans-serif;
  color: var(--fd-bt-muted);
}

#fd-buytogether-complements .fd-bt-summary__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: 4px;
  background: var(--fd-bt-btn);
  color: var(--fd-bt-btn-text);
  font: normal normal 700 13px/1.2 Karla, Lato, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;

  &:hover {
    background-color: var(--fd-bt-check);
    border-color: var(--fd-bt-check);
    color: #fff;
  }
}

#fd-buytogether-complements .fd-bt-summary__btn:hover:not(:disabled) {
  filter: brightness(0.97);
}

#fd-buytogether-complements .fd-bt-summary__btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 991px) {
  #fd-buytogether-complements .fd-bt-summary {
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  #fd-buytogether-complements .fd-bt-summary__total {
    justify-content: center;
  }
}

/* Layout mobile : pile verticale + compléments en ligne */
@media (max-width: 767px) {
  #fd-buytogether-complements {
    margin: 1.25rem 0 1.75rem;
  }

  #fd-buytogether-complements .fd-bt-title {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 20px;
  }

  #fd-buytogether-complements .fd-bt-row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
  }

  #fd-buytogether-complements .fd-bt-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1.5rem;
    color: var(--fd-bt-navy);
    transform: none;
  }

  #fd-buytogether-complements .fd-bt-complements > .fd-bt-plus {
    display: none;
  }

  #fd-buytogether-complements .fd-bt-card--base {
    width: 100%;
    height: auto;
    padding: 1rem 1rem 1.1rem;
    box-shadow: none;
  }

  #fd-buytogether-complements .fd-bt-card--base .fd-bt-card__media {
    flex: 0 0 auto;
    height: auto;
    min-height: 160px;
    max-height: 220px;
    margin-bottom: 0.85rem;
  }

  #fd-buytogether-complements .fd-bt-card--base .fd-bt-card__media img {
    max-height: 200px;
  }

  #fd-buytogether-complements .fd-bt-card--base .fd-bt-card__name {
    flex: none;
    height: auto;
    max-height: none;
    -webkit-line-clamp: 4;
    margin-bottom: 0.45rem;
    font-size: 14px;
    line-height: 1.3;
  }

  #fd-buytogether-complements .fd-bt-card--base .fd-bt-card__price-ttc {
    font-size: 18px;
  }

  #fd-buytogether-complements .fd-bt-complements {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  #fd-buytogether-complements .fd-bt-complement {
    max-width: none;
    width: 100%;
    align-items: stretch;
  }

  #fd-buytogether-complements .fd-bt-complement__shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    /* pas d’overflow:hidden : sinon la liste du select est clipée */
    overflow: visible;
    background: #fff;
    border: 1px solid var(--fd-bt-border);
    border-radius: 10px;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }

  #fd-buytogether-complements .fd-bt-complement.is-selected .fd-bt-complement__shell {
    background: var(--fd-bt-selected-bg);
    border-color: #d5dde6;
  }

  #fd-buytogether-complements .fd-bt-complement:has(.fd-bt-variant.is-open) {
    position: relative;
    z-index: 40;
  }

  /* Ligne produit : padding dédié (le shell n’en a plus) */
  #fd-buytogether-complements .fd-bt-complement__pick {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    box-sizing: border-box;
  }

  #fd-buytogether-complements .fd-bt-card__check-ui {
    order: 0;
    align-self: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--fd-bt-navy);
    border-radius: 3px;
  }

  #fd-buytogether-complements .fd-bt-input:checked ~ .fd-bt-card__check-ui {
    border-color: var(--fd-bt-check-mobile);
    background: var(--fd-bt-check-mobile);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M3.5 8.2l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
  }

  #fd-buytogether-complements .fd-bt-input[type="radio"]:checked ~ .fd-bt-card__check-ui {
    border-color: var(--fd-bt-check-mobile);
    background-color: #fff;
    background-image: radial-gradient(circle at center, var(--fd-bt-check-mobile) 0 4px, transparent 4.5px);
  }

  #fd-buytogether-complements .fd-bt-card--complement {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__media {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    margin: 0;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__body {
    flex: 1 1 auto;
    min-width: 0;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__name {
    flex: none;
    height: auto;
    margin: 0 0 0.35rem;
    font-size: 13px;
    line-height: 1.25;
    -webkit-line-clamp: 3;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__prices {
    column-gap: 0.5rem;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__price-ttc {
    font-size: 15px;
  }

  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__price-ht,
  #fd-buytogether-complements .fd-bt-card--complement .fd-bt-card__price-regular {
    font-size: 12px;
  }

  /* Select pleine largeur du shell */
  #fd-buytogether-complements .fd-bt-variant {
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  #fd-buytogether-complements.has-combinations .fd-bt-variant--placeholder {
    display: none;
  }

  #fd-buytogether-complements .fd-bt-variant__toggle {
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    border: 0;
    border-top: 1px solid var(--fd-bt-border);
    /* coins bas = coins du shell (évite overflow:hidden) */
    border-radius: 0 0 9px 9px;
    background: #fff;
    font-size: 12px;
  }

  #fd-buytogether-complements .fd-bt-complement.is-selected .fd-bt-variant__toggle {
    background: transparent;
  }

  #fd-buytogether-complements .fd-bt-variant.is-open .fd-bt-variant__toggle {
    border-bottom: 0;
    border-radius: 0;
  }

  #fd-buytogether-complements .fd-bt-variant__list {
    z-index: 50;
    border-radius: 0 0 10px 10px;
    border-left: 1px solid var(--fd-bt-border);
    border-right: 1px solid var(--fd-bt-border);
    border-bottom: 1px solid var(--fd-bt-border);
    top: 32px;
    left: -1px;
    /* top: 0 */
    /* transform: translate(-1px, 57%); */
    width: calc(100% + 2px); /* pour gerer le decalage visuel des borders */
  }

  #fd-buytogether-complements .fd-bt-complement.is-selected .fd-bt-variant__list {
    background: var(--fd-bt-selected-bg);
  }

  #fd-buytogether-complements .fd-bt-summary {
    max-width: none;
    width: 100%;
    margin-top: 0.35rem;
    gap: 0.75rem;
  }

  #fd-buytogether-complements .fd-bt-summary__total {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }

  #fd-buytogether-complements .fd-bt-summary__ttc {
    font-size: 18px;
  }

  #fd-buytogether-complements .fd-bt-summary__btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 13px;
  }
}

/* Injection dans la modal panier */
#blockcart-modal .fd-bt-modal-complements {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

#blockcart-modal .fd-bt-modal-complements__title {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6c868e;
}

#blockcart-modal .fd-bt-modal-complements__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#blockcart-modal .fd-bt-modal-complements__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#blockcart-modal .fd-bt-modal-complements__img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

#blockcart-modal .fd-bt-modal-complements__img img {
  display: block;
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: cover;
  border-radius: 4px;
}

#blockcart-modal .fd-bt-modal-complements__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

#fd-buytogether-complements .fd-bt-header,
#fd-buytogether-complements .fd-bt-footer {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fd-bt-text);
}

#fd-buytogether-complements .fd-bt-header a,
#fd-buytogether-complements .fd-bt-footer a,
#fd-buytogether-complements .fd-bt-subtitle a,
#fd-buytogether-complements .fd-bt-card__subtext a {
  color: inherit;
  text-decoration: underline;
}

#fd-buytogether-complements .fd-bt-card__link {
  color: inherit;
  text-decoration: none;
}

#fd-buytogether-complements .fd-bt-card__link:hover,
#fd-buytogether-complements .fd-bt-card__link:focus {
  color: inherit;
  text-decoration: underline;
}

#fd-buytogether-complements .fd-bt-qty,
#fd-buytogether-complements .fd-bt-url-decl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 12px 0;
}

#fd-buytogether-complements .fd-bt-qty__btn,
#fd-buytogether-complements .fd-bt-qty__input,
#fd-buytogether-complements .fd-bt-url-decl__select {
  height: 32px;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #fff;
}

#fd-buytogether-complements .fd-bt-qty__btn {
  width: 32px;
  color: var(--fd-bt-text);
  font: normal normal 600 16px/1 Karla, Lato, sans-serif;
}

#fd-buytogether-complements .fd-bt-qty__input {
  width: 52px;
  color: var(--fd-bt-text);
  font: normal normal 600 14px/32px Karla, Lato, sans-serif;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

#fd-buytogether-complements .fd-bt-qty__input::-webkit-outer-spin-button,
#fd-buytogether-complements .fd-bt-qty__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

#fd-buytogether-complements .fd-bt-url-decl {
  flex-direction: column;
  align-items: stretch;
}

#fd-buytogether-complements .fd-bt-url-decl__select {
  width: 100%;
  padding: 0 28px 0 10px;
  color: var(--fd-bt-text);
  font: normal normal 500 12px/32px Karla, Lato, sans-serif;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23183157' stroke-width='1.5' d='M2 4.5 6 8 10 4.5'/%3E%3C/svg%3E") no-repeat right 8px center / 12px 12px;
}

#blockcart-modal .fd-bt-modal-complements__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
}

#blockcart-modal .fd-bt-modal-complements__meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6c868e;
}
