/* Stary styl: */
/* .header-hover-cart { ... } */
/* .header-hover-cart .header a { ... } */
/* .cart-products-count { ... } */
/* .header-hover-cart.inactive .cart-products-count { ... } */
/* .cart-dropdown { ... } */
/* .cart-dropdown-content { ... } */
/* .cart-product { ... } */
/* .product-image { ... } */
/* .product-details { ... } */
/* .product-name { ... } */
/* .remove-from-cart { ... } */
/* .cart-summary { ... } */
/* .cart-summary-line { ... } */
/* .cart-empty { ... } */

/* Nowy styl (przykłady): */
.header-cart {
    position: relative;
    display: inline-block;
     /* ... */
}

#header-hover-cart {
    font-size: 16px;
}


#header-hover-cart .header-cart__dropdown a {
    color: #000 !important;
}

.header-cart__trigger a {
    display: inline-block;
    color: #333;
    text-decoration: none;
    position: relative;
     /* ... */
}
.header-cart__icon {
     font-size: 24px;
     vertical-align: middle;
     /* ... */
}
.header-cart__count {
    background-color: black;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    line-height: 1;
    font-size: 10px;
    position: absolute;
    top: -5px;
    right: -8px;
     /* ... */
}
/* Ukrywanie licznika za pomocą modyfikatora */
.header-cart--inactive .header-cart__count {
    display: none;
}

.header-cart__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 500px;
    background-color: #fff;
/*    border: 1px solid #ccc;*/
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
     /* ... */
}

.header-cart__content {
/*    padding: 20px;*/
     /* ... */
}

.header-cart__header {
    padding: 20px;
    background-color: #1A1109;
    color: white;
/*    padding-bottom: 10px;*/
/*    margin-bottom: 10px;*/
}
.header-cart__title {
/*    font-weight: bold;*/
    font-size: 1.1em;
}


/* Lista produktów */
.header-cart__products {
    color: #000000;
    padding: 10px 20px;
    list-style: none;
/*    padding: 0;*/
    margin: 0;
}

/* Blok cart-item */
.cart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}
.cart-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.cart-item__image-container {
    flex: 0 0 140px;
    margin-right: 10px;
}
.cart-item__image {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
}
.cart-item__image-placeholder {
     display: inline-block;
     width: 140px;
     height: 140px;
     background-color: #f0f0f0;
     border: 1px solid #e0e0e0;
     text-align: center;
     line-height: 140px; /* Dostosuj do wysokości */
     color: #ccc;
}
.cart-item__image-placeholder .material-icons {
     font-size: 30px; /* Rozmiar ikony w placeholderze */
     vertical-align: middle;
}

.cart-item__details {
    flex: 1 1 auto;
    padding-right: 25px;
}
.cart-item__name {
/*    font-weight: bold;*/
    margin-bottom: 5px;
}
.cart-item__name a { /* Styl linku w nazwie */
     color: inherit;
     text-decoration: none;
}
.cart-item__attributes {
     font-size: 0.9em;
     color: #666;
     margin-bottom: 5px;
}
.cart-item__attribute {
     margin-bottom: 2px;
}
.cart-item__attribute-label { }
.cart-item__attribute-value { }

/*.cart-item__quantity {
    font-size: 14px;
    margin-bottom: 4px;
}*/

.header-cart__summary-line--products {
    font-weight: 500;
}

.cart-item__bottom {
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item__price-info {
     font-weight: 500;
     margin-top: 5px;
}
.cart-item__price { }

.cart-item__price-regular {
    font-weight: 500;
    text-decoration: line-through;
    color: #7a7a7a;
    font-size: 12px;
    margin-left: 8px;
}

.cart-item__remove {
   position: absolute;
   top: 0;
   right: 0;
}
.cart-item__remove-button { /* Zmieniony selektor dla przycisku usuwania */
    color: #888;
    text-decoration: none;
    font-size: 18px;
    display: inline-block; /* Dla lepszego klikania */
    padding: 5px; /* Dodaj trochę paddingu dla łatwiejszego kliknięcia */
}
.cart-item__remove-button:hover {
    color: red;
}
.cart-item__remove-icon { /* Styl samej ikony, jeśli potrzeba */
     font-size: inherit;
     vertical-align: middle; /* Lepsze wyrównanie ikony */
     display: block; /* Zapobiega problemom z linią */
}

/* Podsumowanie */
.header-cart__summary {
/*    margin-top: 20px;*/
    padding: 20px;
    border-top: 1px solid #eee;
    padding-bottom: 0;
}
.header-cart__summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.95em;
}
/* Style dla konkretnych linii podsumowania przez modyfikatory */
.header-cart__summary-line--products { /*...*/ }
.header-cart__summary-line--shipping { /*...*/ }
.header-cart__summary-line--total {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
}

.header-cart__summary-label {
    color: #555;
}
.header-cart__summary-value {
    color: #000000;
/*    font-weight: bold;*/
}

/* Akcje */
.header-cart__actions {
    padding: 20px;
/*    margin-top: 20px;*/
    text-align: center;
}
#header-hover-cart .header-cart__dropdown .header-cart__checkout-button { /* Dodatkowa klasa BEM dla przycisku */
    width: 100%;
    padding: 15px;
    background-color: black;
    color: white !important;
    text-transform: unset;
}

/* Pusty koszyk / Ładowanie */
.header-cart__empty-message,
.header-cart__loading-message {
    text-align: center;
    padding: 20px;
    color: #777;
}

/* Dodaj resztę stylów i dostosuj do swoich potrzeb */