:root {
    --main-color: #555555;      /* kolor przewodni */
    --accent-color: #1cb6f8;    /* kolor akcentu, np. przyciski */
    --text-color: #888888;      /* kolor głównego tekstu */
    --background-color: #eeeeee;/* tło strony */



}

/* Przykładowe klasy – nazwy mogą się różnić w Twoim motywie! */

body {
    background-color: var(--background-color);
    color: var(--text-color);
font-size: 16px;

}



a,
.link,
.menu a {
    color: var(--main-color);
}

a:hover,
.menu a:hover {
    color: var(--accent-color);
}

.btn,
.button,
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.btn:hover,
.button:hover,
.btn-primary:hover {
    filter: brightness(0.9);
}

header,
.top-bar,
.main-menu {
    background-color: var(--main-color);
}
.abs-header-content-row .abs-header-content-buttons ul>li>a {
  color:#1cb6f8;
}
.product-header .abs-product-name {
  font-size:24px;
  line-height:1;
  color:#1cb6f8;
  overflow-wrap:break-word
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
  color: var(--main-color);
  background-color:#fff
}
footer .abs-footer-bottom-text {
  margin:0;
  padding:16px 0;
  background-color:#857071;
  color:#fff
}

/* PRZYCISK "DO PRZECHOWALNI" – wygląd podstawowy */
.btn.abs-add-to-storage.abs-storage-btn {
    background-color: #fff;   /* kolor tła przycisku */
    border-color: #fff;
    color: #857071;              /* kolor ikony + tekstu */
    border-radius: 4px;
    padding: 6px 12px;
    text-decoration: none;
}

/* żeby Bootstrapowy .btn-link nie zabijał nam tła */
.btn-link.abs-add-to-storage.abs-storage-btn {
    background-color: #fff;
    border-color: #857071;
}

/* tekst w środku przycisku */
.btn.abs-add-to-storage.abs-storage-btn .abs-storage-action-label {
    color: inherit;
}

/* ikonka dyskietki / pudełka */
.btn.abs-add-to-storage.abs-storage-btn .abs-icon-storage {
    color: inherit;
}

/* efekt po najechaniu */
.btn.abs-add-to-storage.abs-storage-btn:hover,
.btn-link.abs-add-to-storage.abs-storage-btn:hover {
    filter: brightness(0.9);
    color: #111827;
    text-decoration: none;
}

/* KOLOR PRZYCISKU DO KOSZYKA PO NAJECHANIU */
.cart-btn.btn-info:hover {
    background-color: #fbbf24 !important; /* żółty po hover */
    border-color: #fbbf24 !important;
    color: #000 !important; /* tekst i ikonka robią się ciemne */
}

/* KOLOR IKONY W PRZYCISKU */
.cart-btn.btn-info .abs-icon-cart {
    color: inherit !important;
}

/* KOLOR TEKSTU */
.cart-btn.btn-info .abs-btn-msg {
    color: inherit !important;
}

.cart-btn.btn-success:hover,
.cart-btn.btn-success:focus,
.cart-btn.btn-success:active {
    background-color: #fbbf24 !important; /* żółty */
    border-color: #fbbf24 !important;
    color: #111827 !important; /* żeby tekst i ikonka były ciemne i czytelne */
}

.abs-rm-from-storage.abs-storage-btn {
    background: none !important;
    border: none !important;
    color: #857071 !important;
}

.abs-rm-from-storage.abs-storage-btn:hover,
.abs-rm-from-storage.abs-storage-btn:focus {
    color: #fbbf24 !important;      /* jaśniejsza czerwień */
    text-decoration: underline !important;
}

.abs-btn-storage .abs-counter-icon {
    background-color: #fbbf24 !important;
    color: #111827 !important;
}
.abs-btn-cart .abs-counter-icon {
    background-color: #fbbf24 !important; /* przykład: zielony */
    color: #111827 !important;
}

/* TŁO GÓRNEGO PASKA (Logowanie / Rejestracja) */
.abs-header-menu-top {
    background-color: #eee !important; /* Twoje tło */
}

.abs-variant-info a {
    display: inline-block;
    background-color: #1cb6f8 !important;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none !important;
}

.abs-variant-info a:hover {
    background-color: #fbbf24 !important;
    color: #111827 !important;
}
.form-control {
    border: 2px solid #1cb6f8 !important;
    border-radius: 4px !important;
}
/* Ukrycie indeksu katalogowego na karcie produktu */
.abs-catalog-index {
    display: none !important;
}





/* ================================
   KOLORY NAGŁÓWKÓW W KOSZYKU (WAPRO)
   ================================ */

/* Oferta standardowa */
.abs-col-offername > span,
.abs-col-offername > span span {
    color: #1cb6f8 !important;
}



/* Tytuły sekcji Dostawa / Płatność */
.abs-payment-delivery-panel h3 {
    color: #1cb6f8 !important;
}

/* Tekst "Do zapłaty:" */
.abs-money-final span:first-child {
    color: #1cb6f8 !important;
}



/* Nagłówki: LP, Miniaturka, Nazwa produktu, Cena, Ilość, Wartość */
.abs-cart-table thead th {
    color: #1cb6f8 !important;
}





/* rozwinięta lista wariantów – kolor zaznaczonej pozycji */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover,
.variant-section .dropdown-menu > li:hover,
.variant-section .dropdown-menu > li.active {
    background-color: #1cb6f8 !important;
    color: #fff !important;
}

/* --- WERSJE SMAKOWE: cały blok wariantów --- */

/* Napis "wersje smakowe:" */
.abs-product-header-variants .variant-section > div > div:first-child {
    color: #1cb6f8 !important;
}

/* Wszystkie klikalne elementy w sekcji wariantów */
.abs-product-header-variants .variant-section select,
.abs-product-header-variants .variant-section option,
.abs-product-header-variants .variant-section button,
.abs-product-header-variants .variant-section .btn,
.abs-product-header-variants .variant-section .form-control,
.abs-product-header-variants .variant-section .dropdown-toggle,
.abs-product-header-variants .variant-section .filter-option,
.abs-product-header-variants .variant-section .current {
    color: #1cb6f8 !important;
    border-color: #1cb6f8 !important;
}

/* Główne „pole” wyboru (nieważne czy to prawdziwy select czy przerobiony przycisk) */
.abs-product-header-variants .variant-section .form-control,
.abs-product-header-variants .variant-section .btn {
    background-color: #ffffff !important;
    box-shadow: none !important;
}

/* Strzałka w rozwijanym polu (jeśli jest) */
.abs-product-header-variants .variant-section .caret,
.abs-product-header-variants .variant-section .dropdown-toggle::after {
    border-top-color: #1cb6f8 !important;
}

/* Hover / focus */
.abs-product-header-variants .variant-section .form-control:focus,
.abs-product-header-variants .variant-section .btn:focus,
.abs-product-header-variants .variant-section .btn:hover,
.abs-product-header-variants .variant-section .dropdown-toggle:focus {
    border-color: #1cb6f8 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* wysokość logo na desktopie i we floating headerze */
#top .navbar-brand img.logo-desktop,
#siteFloatingHeader .navbar-brand img.logo-desktop {
    height: 60px;          /* pełna wysokość belki */
    max-height: 60px;
    width: auto;           /* proporcje */
}

/* opcjonalnie logo w wersji mobilnej */
#logo-mobile {
    height: 60px;
    max-height: 60px;
    width: auto;
}

/* żeby belka dopasowała się do logo */
#top .navbar-brand,
#siteFloatingHeader .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    height: 60px;
    line-height: 60px;
}

/* Nagłówki w rozwijanym mega-menu (marki, kategorie) */
.abs-mega-menu-header > a {
    color: #1cb6f8 !important;       /* nowy kolor tekstu */
    border-color: #1cb6f8 !important; /* jeśli jest underline/ramka */
}



.abs-mega-menu-links-box ul li a:hover {
    color: #fbbf24 !important;        /* kolor po najechaniu */
}


/* PAGINACJA – linki, strzałki « » */
.abs-pagination-panel .pagination > li > a,
.abs-pagination-panel .pagination > li > span {
    color: #1cb6f8 !important;         /* kolor tekstu */
    border-color: #1cb6f8 !important;  /* ramka */
    background-color: #fff !important; /* tło nieaktywnej strony */
}

/* Hover/focus na numerach stron i strzałkach */
.abs-pagination-panel .pagination > li > a:hover,
.abs-pagination-panel .pagination > li > a:focus {
    color: #ffffff !important;
    background-color: #1cb6f8 !important;
    border-color: #1cb6f8 !important;
}

/* AKTYWNA strona (ta z klasą .active) */
.abs-pagination-panel .pagination > .active > a,
.abs-pagination-panel .pagination > .active > span,
.abs-pagination-panel .pagination > .active > a:hover,
.abs-pagination-panel .pagination > .active > span:hover,
.abs-pagination-panel .pagination > .active > a:focus,
.abs-pagination-panel .pagination > .active > span:focus {
    color: #ffffff !important;
    background-color: #1cb6f8 !important;
    border-color: #1cb6f8 !important;
}






/* Cały blok kategorii – jednolite tło */
.abs-sidebar.abs-col-left-sidebar {
    background: #1cb6f8 !important;   /* KOLOR GŁÓWNY */
    border: none !important;
    box-shadow: none !important;
}

/* Wewnętrzny panel */
#categoriesPanel {
    background: #1cb6f8 !important;   /* ten sam kolor */
    border: none !important;
    box-shadow: none !important;
}

/* Nagłówek */
#categoriesPanel .panel-heading {
    background: #1cb6f8 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Zawartość (lista kategorii) */
#categoriesPanel .panel-body {
    background: #1cb6f8 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Usunięcie wewnętrznych obramowań */
#categoriesPanel .panel,
#categoriesPanel .panel > div {
    background: #1cb6f8 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Tylko "Widok:" i przycisk widoku */
.abs-col-views {
    display: none !important;
}

/* Ukrycie przycisku "Filtry" pod nazwą kategorii */
.abs-filter-toggle-panel {
    display: none !important;
}

/* Ukrycie całego panelu filtrów */
.abs-filters,
#abs-filters-collapse {
    display: none !important;
}


body[data-controller="index"][data-action="index"] 
.injection-main-panel-content .panel-heading {
    display: none;
}





/* 1) Jeśli regulamin NIE jest zaznaczony – blokuj przycisk */
body:has(#byelaw_accept_id:not(:checked)) #proceedButton {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* 2) Komunikat przy przycisku, gdy regulamin NIE jest zaznaczony */
body:has(#byelaw_accept_id:not(:checked)) .cart-btn-proceed::before {
  content: "Aby potwierdzić zakup, musisz zaakceptować Regulamin.";
  display: block;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: #fdecea;
  color: #b00020;
  border: 1px solid #f5c2c7;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.3;
}

/* 3) (Opcjonalnie) podświetl sam checkbox */
#byelaw_accept_id:not(:checked) {
  outline: 2px solid #b00020;
  outline-offset: 2px;
}