/* Site palette. Loaded last so the recovered archive remains unchanged. */
:root {
  --green-dark: #174d36;
  --green-hover: #103b29;
  --green-light: #e4f2df;
  --green-border: #bed7b5;
  --order-tomato: #d13f52;
  --order-tomato-hover: #bd3043;
  --promotion-surface: #c7dfba;
  --main-color: var(--green-dark);
  --second-color: var(--green-light);
  --third-color: var(--green-dark);
  --hover: var(--green-hover);
  --bg--active: var(--green-dark);
  --bxsdw: 0 0 6px 3px #174d361b;
}
a, .unavailable a, .local-mobile-menu nav > a,
.first-screen .local-consent a, .local-product-order > a {
  color: var(--green-dark);
}
a:hover, a:focus-visible { color: var(--green-hover); }
.btn-primary, .main-btn, .configurator-reset,
.local-enquiry .local-submit, #sp-cookie-consent .sp-cookie-allow {
  background-color: var(--green-dark) !important;
  color: #fff !important;
}
.btn-primary:hover, .main-btn:hover, .configurator-reset:hover,
.local-enquiry .local-submit:hover, #sp-cookie-consent .sp-cookie-allow:hover {
  background-color: var(--green-hover) !important;
}
#configurator > div:first-child,
#sp-features, .select-item, .local-product-order {
  background-color: var(--green-light) !important;
}
.allocation, .accordion-button:not(.collapsed) {
  background-color: var(--green-light);
  color: var(--green-dark);
}
.local-table-scroll, dialog, .zipper-options { border-color: var(--green-border); }
.local-table-scroll { scrollbar-color: var(--green-dark) var(--green-light); }
.local-table-scroll::-webkit-scrollbar-thumb { background: var(--green-dark); }
.missing-photo {
  background: #f0f7ed;
  border-color: var(--green-border);
  color: #3d6048;
}
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline-color: #739e63;
}
.form-check-input:focus { box-shadow: 0 0 0 .25rem #174d3636; }
input[type=checkbox] { accent-color: var(--green-dark); }
.sp-scroll-up { outline-color: #174d364a; }
:is(.pagination-wrapper, .jshop_pagination) .page-item.active .page-link::after {
  --bg: #174d3647;
}
#sp-bottom, #sp-footer { background-color: #123c2b !important; }
#sp-bottom a, #sp-footer a { color: #deefd5; }
#sp-bottom .footer-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
#sp-bottom .footer-social-links a {
  display: grid;
  flex: 0 1 35px;
  min-width: 0;
  place-items: center;
  margin: 0;
}
#sp-bottom .footer-social-links img { display: block; width: 100%; height: auto; }
#sp-footer .footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}
#sp-footer .footer-credit img {
  display: block;
  width: 112px;
  height: auto;
  opacity: .6;
  transition: opacity .2s ease-in;
}
#sp-footer .footer-credit a:is(:hover, :focus-visible) img { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  #sp-footer .footer-credit img { transition: none; }
}
.hero-cta a { background-color: var(--green-dark) !important; }
.select-item .action {
  display: block;
  background-color: var(--promotion-surface);
  color: #111;
  padding: 14px 15px;
  border-radius: 20px;
}
.select-item .action p { margin: 0; }
.item-price, .current-price, .local-product-price, .total-price {
  color: #000;
}
.old-price, .old-price-catalog {
  color: #798376;
  font-weight: 400;
  text-decoration-color: currentColor;
}
.old-price { text-decoration-line: line-through; }
/* Flat pink-tomato accent for ordering, with a visible keyboard focus state. */
:is(.zakaz, .zakaz-catalog, .zakaz-outside, [data-order],
    .local-product-order .main-btn, #order-dialog .local-submit) {
  background-color: var(--order-tomato) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}
:is(.zakaz, .zakaz-catalog, .zakaz-outside, [data-order],
    .local-product-order .main-btn, #order-dialog .local-submit):is(:hover, :active) {
  background-color: var(--order-tomato-hover) !important;
}
/* Recovered monochrome benefit icons keep their original geometry. */
img[src*="/images/icons/"]:not([src*="left.svg"]):not([src*="right.svg"]) {
  filter: brightness(0) saturate(100%) invert(24%) sepia(24%) saturate(1057%) hue-rotate(99deg) brightness(90%) contrast(88%);
}
