.product.product-list-item .product-element-top{
    flex: 0 0 160px;
}
.product.product-list-item .product-element-top {

    align-self: stretch;
    align-items: center;
    display: flex;
}
.product-list-content{
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
}
.product-info-and-swatches{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
h3.wd-entities-title{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.wd-swatches-grid{
    margin-top:10px;
}
.product.product-list-item [class*="wd-swatches"]{
    --wd-swatch-size: 40px;
}
.products:not(.products-bordered-grid-ins) .product-list-item .product-wrapper{
    border:1px solid #ccc;
    border-radius: 5px;
    padding:30px;
}
.product-price-and-additional-info{
    text-align:right;
}

a.product-details-box {
    margin-top: 20px;
}

.product-price-and-additional-info p.product-price{
    margin-top:10px;
    font-weight:900;
    font-size:24px;
    color:red;
    margin-bottom:0;
}

.product-price-and-additional-info span.product-price+p{
    margin-bottom:5px;
}

.lids-details-btn a {
    text-transform: uppercase;
    padding: 5px 30px;
    background-color: #fff;
    border: 2px solid red;
    color: red;
    border-radius: 3px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.lids-details-btn a:hover {
    background-color: red;
    color: white;
}
.col-7.col-md-9.product-list-content.wd-scroll {
    max-width: 79%;
}

.main-page-wrapper {
    background-color: rgba(248, 248, 248, 1);
}
.products.elements-grid {
    padding-right: 15px;
    padding-left: 15px;
}
.product.product-list-item .product-element-top{
    position: relative;
}
.product-wrapper {
    gap: unset;
    flex-direction: row;
    background-color: #fff;
    border-radius: 10px!important;
    margin-bottom: 15px!important;
    padding-right: 15px!important;
    justify-content: space-between;
}
.product-wrapper:hover {
    border-color: #b9b9b9!important;
}
.product-button {
    background-color: #ffffff;
    border-radius: 4px;
    font: normal normal bold 14px/17px Lato;
    width: auto!important;
    height: 17px;
    border: 1px solid #dd0513;
    color: #dd0513;
    text-transform: unset!important;
}
button.product-button:hover {
    background: #dd0513;
    color: #fff;
}

.product-grid-item .wd-entities-title {
    font-size: 20px!important;
}
.product.product-list-item .product-list-content {
    align-self: stretch;
}
.product-price-and-additional-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
img.felgen-card-season {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.product-price-1, 
.product-price-2 {
    font-weight: normal!important;
}
.product-price-2 {
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    color: #737373;
    margin-bottom: 0;
    text-align: right;
}
.product-price-four {
    font-size: 12px;
    margin-top: 4px;
    color: #000;
    font-weight: bold;
}
.product-info-and-swatches {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 60%;
    padding: 1.6em 0 0 1em;
}
.rim-details-sizes {
    display: flex;
    gap: 0.5em;
    align-items: center;
    margin-top: 0.5em;
}

@media screen and ( max-width: 768px){
    .product.product-list-item .product-list-content {
        display: flex;
        flex-direction: column!important;
        gap: 1em;
        text-align: left;
        padding-top: 10px;
        padding-left: 15px;
    }
    .product-info-and-swatches {
        width: 100%!important;
        padding: 0!important;
    }
    .rim-details-sizes {
        margin-top: 0.85em!important;
        margin-bottom: 0.25em!important;
        gap: 10px!important;
    }
    .wd-swatches-grid {
        justify-content: center!important;
        margin-left: -5px;
        margin-top: 5px!important;
        --wd-swatch-size: 34px!important;
    }
    .product-price-1, 
    .product-price-2,
    .product-details-box {
        /* display: none; */
    }
    a.product-details-box {
        /* display: none; */
        text-align: left;
    }
    .product-card-reifen-price-section,
    .product-card-reifen-price-section * {
        text-align: left!important;
    }
    .product-price-four {
        margin-bottom: 0;
    }
    .wd-swatches-product {
        gap: 3px;
    }
    p.product-price-3 {
        margin-top: 10px!important;
    }
    .product-price-and-additional-info {
        justify-content: flex-start;
    }
    .product-info-and-swatches .wd-swatches-grid {
        display: none!important;
    }
    .products:not(.products-bordered-grid-ins) .product-list-item .product-wrapper {
        padding: 19px 10px 20px 17px!important;
    }
    img.felgen-card-season {
        width: 20px;
        height: auto;
    }
    .product.product-list-item .product-element-top {
        align-items: flex-start!important;
    }
}

p.product-price-2 > .amount > bdi {
font-size: 24px;
color: #333;
}






.product-button {
    background-color: #ffffff;
    border-radius: 4px;
    font: normal normal bold 14px/17px Lato;
    width: auto!important;
    height: 17px;
    border: 1px solid #dd0513;
    color: #dd0513;
    text-transform: unset!important;
}
button.product-button:hover {
    background: #dd0513;
    color: #fff;
}


.product.product-list-item .product-list-content {
    align-self: stretch;
}
.product-price-and-additional-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
img.product-image-forwinter {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


.product-instock {
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    font-size: 12px;
    line-height: 12px;
    color: green;
    margin-bottom: 6px;
    text-align: right;
}

.product-delivery{
    font-size: 12px;
    line-height: 12px;
    color: #737373;
    margin-bottom: 0;
    text-align: right;
}

.product-price-content{
    margin-top: 30px;
    margin-bottom: 0;
    line-height: 1;
    font-weight: 600;
}

.product-price-four-content{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #000;
}

.product-price-four-xx {
    font-size: 12px;
    margin-top: 4px;
    color: #000;
    font-weight: bold;
}


/*Prices*/
.price-regular{
    font-size: 16px;
    opacity: 0.7;
    font-weight: normal;
    margin-bottom: 5px;
    display: none;
    color:#333;
}
.price-final{
    color: #000;
    font-size: 26px;
}
.sale-price > .price-regular{
    display: block;
}
.sale-price > .price-final{
    color: #dd0513;
    font-size: 26px;
}
.price-four {
    font-size: 12px;
    line-height: 12px;
    margin-top: 10px !important;
    color: #000;
    font-weight: normal;
}
.price-four-text{
    display: block; 
    text-decoration: underline; 
    font-style: italic;
    font-weight: 400;
}
.price-four-regular{
    opacity: 0.7;
    margin: 0 3px 0 2px;
    display: none;
    line-height: 12px;
}
.price-four-final{
    color: #000;
    line-height: 12px;
}
.sale-price > .price-four-regular{
    display: inline;
}
.sale-price > .price-four-final{
    color: #dd0513;
}

/* Review */
.product-rating-container {
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
  }
  
  .custom-star {
    font-size: 16px;
    color: #ddd;
    height: 20px !important;
  }
  
  .custom-star.filled {
    color: #ffa500; /* Altın sarısı */
  }
  
  .custom-star.half-filled {
    background: linear-gradient(90deg, #ffa500 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .custom-star.empty {
    color: #ddd;
  }
  
  .rating-text {
    color: #666;
    font-size: 10px;
  }
  
  .rating-text strong {
    color: #333;
    font-weight: 600;
  }
  
  /* Responsive için */
  @media (max-width: 768px) {
    .product-rating-container {
        display: flex;
        align-items: flex-start;
        gap: 0px;
        flex-direction: column;
    }
  }

/* Care mode (/pflegemittel/) card'larda "For 4 lids" fiyat blogunu gizle.
   Deckel/inlay modlarinda gorunmeye devam eder (4'lu takim mantigi orada anlamli). */
body.listing-care-products .productBox p[id^="price_four_"] {
    display: none !important;
}

/* -----------------------------------------------------------------------
   Category filtresi (Lid / Inlay / Tire & Rim Care)
   inc/filters/lid.php icinde .mpf_outer_wrapper > .mpf_options.ats_category_filter
   > .mpf_option_wrap iskeletinde render edilir — diger filtre gruplariyla
   (Brand/Model/vs.) BIRE-BIR ayni checkbox gorunumunu paylasir.
   Native `<input type=checkbox>` + filter.css'teki
   `label.mpf_option_wrap input[type=checkbox] { accent-color: #46484b }`
   kuralindan miras alarak checkmark stili gorunur; radio davranisi
   (tek secim) JS handler'inda enforce edilir (`.category-radio` click).

   Bu scoped override sadece iki seyi ele alir:
   1) Global `.mpf_options { overflow-y: scroll; max-height: 300px }` kuralini
      3 statik secenek icin notrle.
   2) Widget dibinde `.mpf_wrapper { margin-bottom: 1em }` esdegerini uygula
      (bu widget'ta .mpf_wrapper yok).
----------------------------------------------------------------------- */
.mpf_options.ats_category_filter {
    overflow: visible;
    max-height: none;
    margin-top: 1em;
    margin-bottom: 2em;
}

/* -----------------------------------------------------------------------
   Mode-bazli filtre gizleme (JS: #ats_filter uzerine `lid-mode-<x>`
   class'i uygulanir; PHP: ilgili .row'lar data-filter-slug="..." tasir).
     care  → /pflege sayfa modu: colortype, zoll, lzlk gizli (SONAX
             sprey/kopukler icin anlamsiz). PHP SSR'da da basilir.
     inlay → lzlk gizli (bolt circle inlay'lerde uygulanmiyor)
     lid   → hepsi gorunur (default)
----------------------------------------------------------------------- */
#ats_filter.lid-mode-care .row[data-filter-slug="colortype"],
#ats_filter.lid-mode-care .row[data-filter-slug="zoll"],
#ats_filter.lid-mode-care .row[data-filter-slug="lzlk"],
#ats_filter.lid-mode-inlay .row[data-filter-slug="lzlk"] {
    display: none !important;
}
/* -----------------------------------------------------------------------
   /pflege (care): facet secenekleri az (≤ ~10). Genel 9.6em (~6 satir)
   siniri secili bir ogeyi kaydirma altinda saklayabiliyor (ornek FR'de
   alfabetik olarak en sona dusen "Shampooing auto"); tum secenekler gorunsun.
----------------------------------------------------------------------- */
#ats_filter.lid-mode-care .filter_inner_wrapper .mpf_options {
    max-height: none;
    overflow-y: visible;
}
