/* FIF FASHION: default = white surface / black label. Selected = light grey surface,
   black label and strong gold/dark outline. Match both JS state markers used by
   FIF Exact Product Layout: .is-selected and aria-pressed="true". */
body.single-product div.product .summary form.cart .fif-size-color-matrix .fif-color-choice,
body.single-product div.product .summary form.cart .fif-color-only-matrix .fif-color-choice {
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  border: 1.5px solid #A7A7A7 !important;
  box-shadow: none !important;
}
body.single-product div.product .summary form.cart .fif-size-color-matrix .fif-color-choice .fif-color-name,
body.single-product div.product .summary form.cart .fif-color-only-matrix .fif-color-choice .fif-color-name {
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}
body.single-product div.product .summary form.cart .fif-size-color-matrix .fif-color-choice.is-selected,
body.single-product div.product .summary form.cart .fif-size-color-matrix .fif-color-choice[aria-pressed="true"],
body.single-product div.product .summary form.cart .fif-color-only-matrix .fif-color-choice.is-selected,
body.single-product div.product .summary form.cart .fif-color-only-matrix .fif-color-choice[aria-pressed="true"] {
  background-color: #D1D5DB !important;
  background-image: none !important;
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  border: 2.5px solid #8A6D1D !important;
  box-shadow: inset 0 0 0 1px #FFFFFF, 0 0 0 1px rgba(138,109,29,.28) !important;
}
body.single-product div.product .summary form.cart .fif-size-color-matrix .fif-color-choice.is-selected .fif-color-name,
body.single-product div.product .summary form.cart .fif-size-color-matrix .fif-color-choice[aria-pressed="true"] .fif-color-name,
body.single-product div.product .summary form.cart .fif-color-only-matrix .fif-color-choice.is-selected .fif-color-name,
body.single-product div.product .summary form.cart .fif-color-only-matrix .fif-color-choice[aria-pressed="true"] .fif-color-name {
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
}
/* Keep the actual colour dot unchanged; only the selection container changes. */
body.single-product div.product .summary form.cart .fif-color-choice .fif-color-dot {
  opacity: 1 !important;
}
