/*
 * Paleta RECORDWAY wpisana STATYCZNIE.
 *
 * Na Drupalu 11 nie ma modulu color w rdzeniu (usuniety w D10),
 * a bez niego ten plik jest jedynym zrodlem kolorow motywu
 * (main.css uzywa var(--beo-*) w ~630 miejscach, bez wartosci
 * zapasowych). Oryginal Bookway 2.0.1 mial tu granat #405962 -
 * bez tej podmiany sklep wstalby granatowy, nie terakotowy.
 *
 * Jesli doinstalujesz contrib drupal/color, zapis ustawien motywu
 * wygeneruje wlasna kopie tego pliku w files/ i przejmie kontrole
 * - schemat "default" w color/color.inc ma te same wartosci.
 */
:root {
  --beo-body-bg: #fff;
  --beo-body-color: #333;
  --beo-primary: #dd7151;
  --beo-primary-hover: #c95f40;
  --beo-light: #f7f6f3;
  --beo-dark: #444444;
  /* Skladowe RGB dla rgba() - main.css definiuje je na sztywno
     (indygo 65,68,159) i modul color ich NIE przepisuje, wiec
     tinty i obwodki fokusa zostalyby w obcym kolorze. Ten arkusz
     laduje sie po main.css, wiec nadpisanie dziala. */
  --beo-primary-rgb: 221, 113, 81;
  --beo-light-rgb: 247, 246, 243;
  --beo-dark-rgb: 68, 68, 68;
}

body {
  background-color: var(--beo-body-bg);
  color: var(--beo-body-color);
}

.text-primary {
  color: #dd7151 !important;
}

.bg-primary {
  background-color: #dd7151 !important;
}

.text-primary-hover {
  color: #c95f40 !important;
}

.bg-primary-hover {
  background-color: #c95f40 !important;
}

.text-light {
  color: #f7f6f3 !important;
}

.bg-light {
  background-color: #f7f6f3 !important;
}

.text-dark {
  color: #444444 !important;
}

.bg-dark {
  background-color: #dd7151 !important;
}

.bg-yellow {
	background-color: #f2d16b !important;
}

.btn-primary {
  --beo-btn-bg: #dd7151;
  --beo-btn-border-color: #dd7151;
  --beo-btn-hover-bg: #c95f40;
  --beo-btn-hover-border-color: #c95f40;
}

.btn-outline-primary,
.btn-outline-primary:focus {
  --beo-btn-color: #dd7151;
  --beo-btn-border-color: #dd7151;
  --beo-btn-hover-color: #fff;
  --beo-btn-hover-bg: #c95f40;
  --beo-btn-hover-border-color: #c95f40;
}

.btn-check:focus + .btn-primary,
.product--rendered-attribute .form-radio:focus + .btn-primary,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-check:focus + .btn-outline-primary,
.product--rendered-attribute .form-radio:focus + .btn-outline-primary,
.btn-outline-primary:active:focus,
.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}
