/* ========================================
   ГЛОБАЛЬНЫЕ СТИЛИ КНОПОК
   ======================================== */

/* Базовый hover для всех solid кнопок */
.btn.--solid:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* Все solid + secondary / medium кнопки */
.btn.--solid.--secondary,
.btn.--solid.--medium,
.btn.--medium.--solid {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.btn.--solid.--secondary *,
.btn.--solid.--secondary:hover * {
    color: inherit !important;
}

.btn.--solid.--secondary:hover,
.btn.--solid.--secondary:focus,
.btn.--solid.--secondary:active,
.btn.--solid.--medium:hover,
.btn.--medium.--solid:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

/* Все outline extrasmall кнопки */
.btn.--outline.--extrasmall {
    color: #000000 !important;
}

.btn.--outline.--extrasmall:hover {
    border-color: #000000 !important;
}

/* ========================================
   СПЕЦИФИЧНЫЕ ЭЛЕМЕНТЫ
   ======================================== */

/* Кнопки доставки */
.cop_delivery__pickup_find.btn.--solid {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.cop_delivery__pickup_other.btn.--outline,
.prepaid_buttons__button.--edit.btn.--outline.--medium {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.cop_delivery__pickup_other.btn.--outline:hover,
.prepaid_buttons__button.--edit.btn.--outline.--medium:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* Кнопки cookies */
#iai_cookie .iai_cookie__consentsActions .btn.--large.--outline {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
    border-radius: 5px;
}

#iai_cookie .iai_cookie__consentsActions .btn.--large.--outline:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* Кнопка "Kontynuuj składanie zamówienia" */
.menu_notice__button.--continue.btn.--solid {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

/* ========================================
   ЧЕКБОКСЫ
   ======================================== */

.cop_terms .f-control:checked + .f-label::before,
.cop_clauses .f-control:checked + .f-label::before,
[id^="cop_"]:checked + .f-label::before {
    background: #FDD435 !important;
    border-color: #FDD435 !important;
}

.cop_terms .f-control:checked + .f-label::after,
.cop_clauses .f-control:checked + .f-label::after,
[id^="cop_"]:checked + .f-label::after {
    border-color: #000000 !important;
}

/* ========================================
   СКРЫТЫЕ ЭЛЕМЕНТЫ
   ======================================== */

.order_process_security,
.contact_stocks__link.btn.--solid.--medium,
img[src*="safe_light.svg"],
img[alt="Idosell security badge"] {
    display: none !important;
}

/* FIX: Кнопка "Kontynuuj zakupy" */
.added__button.--close {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.added__button.--close:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* FIX: Кнопки "Tak" и "Nie" в модальном окне удаления */
.remove_modal__confirm.btn.--solid.--small {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.remove_modal__confirm.btn.--solid.--small:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

.remove_modal__close.btn.--solid.--small.--outline {
    background: #ffffff !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.remove_modal__close.btn.--solid.--small.--outline:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* FIX: Кнопка "Pokaż wszystkie" в результатах поиска */
.search_result__item.--button-all.btn.--outline {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.search_result__item.--button-all.btn.--outline:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* Скрыть "Chcę wymienić produkt" в футере */
#order_exchange {
    display: none !important;
}

/* FIX: Кнопки "Zapisz" и "Utwórz listę" в диалоге списка покупок */
.sl_choose__button.btn.--solid,
.sl_create__button.btn.--solid {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.sl_choose__button.btn.--solid:hover,
.sl_create__button.btn.--solid:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* Минималистичное оформление цены */
.price.--main {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    padding: 10px 16px !important;
    background: #FDD435 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
}

/* "brutto" */
.price.--main .price_vat {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    color: #333333 !important;
}

/* Разделитель "/" */
.price.--main .price_sellby__sep {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 2px !important;
}

/* Скрыть цифру "1" */
.price.--main .price_sellby__sellby {
    display: none !important;
}

/* "szt." - крупно и видимо */
.price.--main .price_sellby__unit {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
}

/* ========================================
   УНИФИКАЦИЯ КАРТОЧЕК ТОВАРОВ (ВСЕ СТРАНИЦЫ)
   ======================================== */

/* Карточка товара - одинаковая высота */
.search.products .product,
.hotspot .product,
.hotspot__product {
    display: flex !important;
    flex-direction: column !important;
}

/* Контейнер контента - растягивается */
.search.products .product__content_wrapper,
.hotspot .product__content_wrapper,
.hotspot__product .product__content_wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Название товара - фиксированная высота (2 строки) */
.search.products .product__name,
.hotspot .product__name,
.hotspot__product .product__name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 3em !important;
    line-height: 1.5 !important;
}

/* Цены - прижаты к низу */
.search.products .product__prices,
.hotspot .product__prices,
.hotspot__product .product__prices {
    margin-top: auto !important;
    padding-top: 10px !important;
}

/* Блок сравнения - всегда внизу */
.search.products .product__compare {
    margin-top: auto !important;
}

/* FIX: Кнопка "Przenieś / kopiuj do innej listy" */
.sl_products__link.--move.btn.--outline {
    background: #FDD435 !important;
    border: 1px solid #FDD435 !important;
    color: #000000 !important;
}

.sl_products__link.--move.btn.--outline:hover {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* Курсор pointer для цен + эффект при наведении */
.product__prices {
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

.product__prices:hover {
    transform: scale(1.02) !important;
}