/* =========================
   GLOBALNE NADPISANIE KOLORU (CLASSIC)
========================= */

/* PRZYCISKI – WSZYSTKIE WARIANTY */
.btn-primary,
.btn-secondary,
.btn-outline-primary,
.btn-outline-secondary {
    background-color: #489147 !important;
    border-color: #489147 !important;
    color: #ffffff !important;
}

/* HOVER */
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    background-color: #3e7d3d !important;
    border-color: #3e7d3d !important;
    color: #ffffff !important;
}


/* LINKI – tylko tam gdzie chcemy zielony */
a.btn {
    color: #fff !important;
}

/* np. linki systemowe (opcjonalnie) */
.breadcrumb a,
.footer-container a {
    color: #489147;
}

.breadcrumb a:hover,
.footer-container a:hover {
    color: #3e7d3d;
}

/* CENY – wszystkie możliwe miejsca */
.price,
.current-price .price,
.product-price,
.product-price-and-shipping .price {
    color: #489147 !important;
}


/* PAGINACJA */
.page-item.active .page-link {
    background-color: #489147 !important;
    border-color: #489147 !important;
}

.page-link {
    color: #489147 !important;
}


/* INPUTY – focus globalnie */
input:focus,
textarea:focus,
select:focus {
    border-color: #489147 !important;
    box-shadow: 0 0 0 0.2rem rgba(72, 145, 71, 0.25) !important;
}


/* CHECKBOX / RADIO */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    accent-color: #489147;
}


/* ALERTY */
.alert-primary {
    background-color: #e6f4ea !important;
    border-color: #489147 !important;
    color: #489147 !important;
}

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

.product-flags .new {
    background-color: #489147 !important;
    color: #ffffff !important;
}
/* KOSZYK – cały element */
#_desktop_cart .blockcart .header a {
    background-color: #489147 !important;
    color: #ffffff !important;
    padding: 8px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* IKONA KOSZYKA – NAJWAŻNIEJSZE */
#_desktop_cart .blockcart .header a i.material-icons {
    color: #ffffff !important;
}

/* LICZBA PRODUKTÓW */
#_desktop_cart .cart-products-count {
    color: #ffffff !important;
}
/* RESET WRAPPERA */
#_desktop_cart .blockcart {
    background: none !important;
    padding: 0 !important;
}

/* TWÓJ ZIELONY PRZYCISK */
#_desktop_cart .blockcart .header a {
    background-color: #489147 !important;
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}