/* ================= BODY & FONT ================= */
body {
    /* Zmieniamy font na bardziej techniczny */
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    /* Tło chłodne, techniczne (jasny szary z nutą niebieskiego) */
    background: #f0f2f5; 
    color: #334e68; /* Ciemny, stalowy granat zamiast czerni */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* ================= HEADER ================= */
header {
    background: #ffffff;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Cień w kolorze granatowym + czerwona linia na dole */
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.08);
    border-bottom: 3px solid #d10000;
}

header .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #102a43; /* Ciemny Granat */
    cursor: pointer;
    text-transform: uppercase;
}

header .cart-button {
    position: relative;
    /* Zmiana tła na granatowy */
    background: #102a43;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px; /* Mniej obłe rogi - styl techniczny */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #102a43;
    cursor: pointer;
    transition: all 0.3s ease;
}

header .cart-button:hover {
    background: #243b53; /* Jaśniejszy granat po najechaniu */
    box-shadow: 0 6px 15px rgba(16, 42, 67, 0.2);
}

header .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d10000; /* Czerwony akcent (Polska) */
    color: white;
    font-size: 0.75em;
    padding: 4px 7px;
    border-radius: 4px;
    font-weight: bold;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ================= MAIN ================= */
main {
    flex: 1;
    min-width: 900px;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px 50px;
}

/* ================= SEARCH FORM ================= */
.search-form {
    display: flex;
    gap: 0; /* Łączymy input z buttonem */
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-form input[type="text"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #bcccdc;
    border-right: none;
    border-radius: 8px 0 0 8px; /* Zaokrąglone tylko z lewej */
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 0; /* Reset marginesu z ogólnych inputów */
}

.search-form input[type="text"]:focus {
    border-color: #102a43;
    box-shadow: inset 0 0 5px rgba(16, 42, 67, 0.1);
    outline: none;
}

.search-form button {
    padding: 12px 25px;
    background: #102a43; /* Granat */
    border: none;
    border-radius: 0 8px 8px 0; /* Zaokrąglone tylko z prawej */
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #d10000; /* Hover na czerwono - akcja */
    box-shadow: 0 4px 12px rgba(209,0,0,0.2);
}

/* ================= FILTERS / SORT ================= */
.filters-sort {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid #bcccdc;
    background: #fff;
    border-radius: 8px;
}

.filters-sort label {
    font-weight: 600;
    margin-right: 10px;
    color: #102a43;
}

.filters-sort select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #bcccdc;
    font-size: 0.95em;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f0f4f8;
}

.filters-sort select:focus {
    outline: none;
    border-color: #102a43;
}

.products-count {
    font-weight: 500;
    color: #627d98;
    margin-top: 8px;
}

/* ================= PRODUCT GRID ================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= PRODUCT CARD ================= */
.product-card {
    background: #fff;
    border-radius: 8px; /* Mniejsze promienie */
    overflow: hidden;
    border: 1px solid #e1e4e8; /* Dodana ramka */
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    text-decoration: none;
    color: #334e68;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #102a43;
    box-shadow: 0 12px 25px rgba(16, 42, 67, 0.1);
}

.product-card img {
    width: auto;
    max-width: 90%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 10px auto;
    background: #fff;
}

.product-name {
    font-weight: 600;
    font-size: 1.15em;
    margin: 15px 15px 5px;
    color: #102a43;
}

.product-price {
    color: #d10000; /* Cena zostaje czerwona */
    font-weight: 700;
    font-size: 1.2em;
    margin: 0 15px 15px;
}

/* ================= PAGINATION ================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #102a43;
    border: 1px solid #bcccdc;
    transition: all 0.3s ease;
    font-weight: 500;
    background: #fff;
}

.pagination a:hover {
    background-color: #f0f4f8;
    border-color: #102a43;
    color: #102a43;
}

.pagination .current-page {
    background-color: #102a43; /* Granatowe tło */
    color: white;
    border-color: #102a43;
}

/* ================= PRODUCT DETAILS ================= */
.product-details {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e1e4e8;
}

.product-images img {
    max-width: 500px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    box-shadow: none;
    display: block;
    margin-bottom: 24px;
}

.product-info {
    flex: 1;
    min-width: 320px;
}

.product-info h2 {
    font-size: 2em;
    margin-top: 0;
    color: #102a43;
}

.product-info .price {
    font-size: 1.6em;
    color: #d10000;
    font-weight: 700;
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f4f8;
}

/* ================= BUTTONS (Add to Cart) ================= */
.add-to-cart-form button {
    background: linear-gradient(135deg, #102a43, #243b53); /* Granatowy gradient */
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(16, 42, 67, 0.2);
    transition: all 0.3s ease;
}

.add-to-cart-form button:hover {
    background: linear-gradient(135deg, #d10000, #b71c1c); /* Na hover czerwony */
    box-shadow: 0 6px 15px rgba(209,0,0,0.25);
}

/* ================= INPUT NUMBER ================= */
input[type="number"] {
    padding: 10px 14px;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    font-size: 1em;
    width: 80px;
    text-align: center;
    transition: border-color 0.3s;
    color: #102a43;
    font-weight: bold;
}

input[type="number"]:focus {
    border-color: #102a43;
    box-shadow: 0 0 5px rgba(16, 42, 67, 0.2);
    outline: none;
}

/* ================= TABLES ================= */
table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e1e4e8;
}

th, td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #f0f4f8;
}

th {
    background: #f0f4f8;
    font-weight: 700;
    color: #102a43;
    text-transform: uppercase;
    font-size: 0.9em;
}

tr:nth-child(even) {
    background-color: #fafbfd;
}

tr:hover {
    background-color: #f1f5f9;
}

/* ================= FOOTER ================= */
footer {
    background: #102a43; /* Ciemny stopka */
    border-top: 4px solid #d10000;
    padding: 25px 40px;
    text-align: center;
    color: #d9e2ec;
    font-size: 0.95em;
}

/* ================= TOTAL PRICE BOX ================= */
.total {
    background: #ffffff;
    border: 1px solid #bcccdc;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 25px 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #102a43;
    text-align: right;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ================= FINALIZATION BUTTON ================= */
.finalize-btn {
    background: #27ae60; /* Zielony dla finalizacji */
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 6px 15px rgba(39, 174, 96, 0.25);
    transition: all 0.3s ease;
}

.finalize-btn:hover {
    background: #219150;
    transform: translateY(-2px);
}

/* ================= CHANGE BUTTON ================= */
button[name="update"] {
    background: #f0f4f8;
    color: #334e68;
    padding: 8px 16px;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[name="update"]:hover {
    background: #d9e2ec;
    border-color: #102a43;
    color: #102a43;
}

/* ================= RESPONSYWNOŚĆ OGÓLNA ================= */
@media (max-width: 1024px) {
    .product-details {
        flex-direction: column;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    .filters-sort {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .products-count {
        margin-top: 5px;
    }
}

/* ================= FORMULARZE ================= */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #102a43;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form input[type="password"],
form input[type="search"],
form select,
form textarea {
    width: 80%;
    padding: 12px 16px;
    margin-top: 5px;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fff;
    color: #102a43;
    margin-bottom: 20px;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #102a43;
    box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.1);
    outline: none;
}

form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    accent-color: #d10000; /* Czerwony checkbox */
    cursor: pointer;
}

form button,
form .finalize-btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    background: #102a43;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form button:hover,
form .finalize-btn:hover {
    background: #243b53;
    transform: translateY(-2px);
}

/* Pola wysyłki / faktury */
#companyFields,
#privateFields,
#shippingFields {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* Checkbox inline label */
form label input[type="checkbox"] {
    vertical-align: middle;
}

/* ================= SIDEBAR ================= */
.sidebar {
    width: 260px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow-y: auto;
    float: left;
    margin-right: 30px;
}

.sidebar h3 {
    margin-top: 0;
    color: #102a43; /* Zmiana na granat */
    font-size: 18px;
    border-bottom: 2px solid #d10000; /* Czerwona linia */
    padding-bottom: 8px;
    text-transform: uppercase;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar li {
    margin: 6px 0;
}

.sidebar a {
    color: #334e68;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.sidebar a:hover {
    color: #d10000;
    font-weight: 600;
}

.toggle {
    cursor: pointer;
    color: #102a43; /* Granatowy plusik */
    font-weight: bold;
    margin-right: 4px;
    user-select: none;
}
.toggle:hover {
    color: #d10000;
}

/* ================= CONTENT ================= */
.content {
    flex: 1;
    min-width: 300px;
}

/* ================= VEHICLE SEARCH ================= */
.vehicle-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.vehicle-search select,
.vehicle-search input {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #bcccdc;
    min-width: 120px;
    color: #102a43;
}

.vehicle-search button {
    background: #102a43; /* Granat */
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vehicle-search button:hover {
    background: #d10000; /* Czerwony hover */
}

#vehicleResults {
    margin: 10px auto 30px;
    max-width: 900px;
}

#vehicleResults div {
    border: 1px solid #e1e4e8;
    padding: 10px;
    margin: 4px 0;
    border-radius: 6px;
    background: #fff;
}

/* ================= SHOW ALL BUTTON ================= */
.show-all-btn {
    display: block;
    max-width: 220px;
    margin: 40px auto;
    background-color: #102a43;
    color: #fff;
    font-weight: bold;
    padding: 14px 24px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.show-all-btn:hover {
    background-color: #d10000;
}

/* ===== MAIN LAYOUT ===== */
.main-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsywność Sidebar */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        max-height: none;
        margin-bottom: 20px;
    }
    .content {
        width: 100%;
    }
}

.selected-car-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 600px;
  margin: 20px auto;
  border: 1px solid #e1e4e8;
}
.selected-car-box button {
  margin-top: 12px;
  background: #102a43;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.selected-car-box button:hover {
  background: #d10000;
}
.vehicle-link {
  display: block;
  padding: 10px;
  margin: 6px 0;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  color: #334e68;
  border: 1px solid #e1e4e8;
  transition: 0.3s;
}
.vehicle-link:hover {
  background: #f0f4f8;
  color: #102a43;
  border-color: #102a43;
}

/* ================= VEHICLE MAKES ================= */
.vehicle-makes-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  margin-bottom: 40px;
  border-top: 4px solid #102a43;
}

.makes-title {
  color: #102a43;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Widok kompaktowy */
.makes-collapsed {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  position: relative;
}

.makes-collapsed img {
  width: 70px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e1e4e8;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  transform: rotate(var(--angle, 0deg));
}

.makes-collapsed img:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 16px rgba(16, 42, 67, 0.15);
  border-color: #102a43;
}

.see-all-btn {
  background: #fff;
  color: #102a43;
  border: 2px solid #102a43;
  border-radius: 30px;
  padding: 8px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.3s ease;
  margin-left: 10px;
}
.see-all-btn:hover {
  background: #102a43;
  color: #fff;
}

/* Widok pełny */
.makes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
  justify-content: center;
  margin-top: 20px;
}

.make-card {
  background: #fafbfd;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
}
.make-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  border-color: #102a43;
  background: #fff;
}
.make-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}
.make-card span {
  font-weight: 600;
  font-size: 0.95em;
  color: #102a43;
}

/* Modele */
.models-container {
  margin-top: 20px;
}
.models-container h3 {
  color: #102a43;
  font-weight: 700;
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.model-item {
  display: block;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 12px;
  text-decoration: none;
  color: #334e68;
  font-weight: 500;
  transition: all 0.3s ease;
}
.model-item:hover {
  background: #f0f4f8;
  border-color: #102a43;
  color: #102a43;
}
.back-to-makes {
  background: #f0f4f8;
  color: #334e68;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}
.back-to-makes:hover {
  background: #102a43;
  color: #fff;
  border-color: #102a43;
}

/* Przyciski powrotu */
.back-btn {
  background: #f0f4f8;
  border: 1px solid #bcccdc;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s;
  color: #334e68;
}
.back-btn:hover {
  background: #d9e2ec;
}

/* Filtry */
#filtersBox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}
#filtersBox select {
  padding: 8px 12px;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
#filtersBox select:hover {
  border-color: #102a43;
}

/* Lista pojazdów */
.vehicles-container {
  margin-top: 20px;
}
.vehicle-card {
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 15px;
  margin: 8px 0;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.vehicle-card:hover {
  background: #fafbfd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: #102a43;
}

/* Przyciski "Załaduj więcej" */
.load-more {
  background: #102a43;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s;
}
.load-more:hover {
  background: #d10000;
}

/* Box wybranego auta (dubel stylów, ujednolicony) */
.selected-car-box strong {
  font-size: 18px;
  color: #102a43;
}

/* ================= MAP.PHP (Kategorie) ================= */
.category-map {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 25px;
  margin-top: 20px;
  border: 1px solid #e1e4e8;
}

.category-map h2 {
  margin-bottom: 20px;
  color: #102a43; /* Granat */
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 2px solid #d10000;
  padding-bottom: 10px;
  display: inline-block;
}

/* Dwie kolumny dla głównych kategorii */
.category-tree {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* Główne kategorie */
.category-item {
  display: block;
  margin-bottom: 8px;
}

.category-item > .category-name a {
  font-weight: 700;
  font-size: 1rem;
  color: #102a43;
  text-decoration: none;
  transition: color 0.2s;
}

.category-item > .category-name a:hover {
  color: #d10000;
}

/* Podkategorie */
.subcategory-list {
  list-style: none;
  margin-left: 20px;
  padding-left: 10px;
  border-left: 2px solid #e1e4e8; /* Jaśniejsza linia drzewa */
}

.subcategory-list .category-item .category-name a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #486581; /* Jaśniejszy granat dla podkategorii */
}

/* Animacja rozwijania */
.subcategory-list {
  max-height: 1000px;
  transition: all 0.3s ease;
}

.header-promo {
    font-size: 16px; /* Nieco mniejsza, bardziej elegancka */
    font-weight: 600;
    color: #fff;
    background: #102a43;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(16, 42, 67, 0.15);
    margin: 0 20px;
    white-space: nowrap;
    border-left: 4px solid #d10000;
}


/* ================= CAROUSEL ================= */
.random-carousel {
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 25s linear infinite;
}

.carousel-item {
    flex: 0 0 auto;
    width: 180px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #334e68;
    text-align: center;
    border: 1px solid #e1e4e8;
    position: relative;
}

.carousel-item img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.carousel-title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    height: 40px;
    overflow: hidden;
    color: #102a43;
}

.carousel-price {
    font-size: 16px;
    font-weight: bold;
    color: #d10000;
    margin-top: 6px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #d10000; /* Czerwony */
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}