/* Ana Konteyner Stili */
.single-rim-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Lato, Arial, Helvetica, sans-serif;
}

/* Breadcrumb Stili */
.rim-breadcrumb {
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid #e7e7e7;
}

.rim-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.rim-breadcrumb a:hover {
    color: #dd0513;
}

.rim-breadcrumb span.breadcrumb-separator {
    margin: 0 5px;
    color: #999;
}

.rim-breadcrumb .breadcrumb-last {
    color: #333;
    font-weight: 500;
}

/* Ürün Grid Düzeni */
.rim-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px;
}

/* Ürün Resmi Bölümü */
.rim-product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.rim-product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.rim-product-image:hover img {
    transform: scale(1.03);
}

.rim-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #dd0513;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    min-width: 50px;
    text-align: center;
}

/* Ürün Özellikleri Bölümü */
.rim-product-specs {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
}

.rim-product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #333;
}

.rim-product-subtitle {
    font-size: 11px;
    color: #999;
    margin-bottom: 20px;
}

.rim-specs-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.rim-specs-row:last-child {
    border-bottom: none;
}

.rim-specs-title {
    font-weight: 700;
    color: #555;
    min-width: 60px;
}

.rim-specs-title:after {
    content: ":";
    margin-right: 5px;
}

.rim-specs-value {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.rim-specs-value img {
    max-height: 24px;
    vertical-align: middle;
}

/* Ürün Sipariş Bölümü */
.rim-product-order {
    padding: 10px;
    background-color: #fff;
    border-radius: 6px;
}

.rim-select-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.rim-custom-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.rim-select-options-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 6px 6px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rim-select-search {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.rim-select-options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rim-select-options li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.rim-select-options li:hover {
    background-color: #f5f5f5;
}

.rim-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rim-quantity button {
    width: 35px;
    height: 35px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.rim-quantity button:hover {
    background: #eaeaea;
}

.rim-quantity button.rim-minus {
    border-radius: 6px 0 0 6px;
}

.rim-quantity button.rim-plus {
    border-radius: 0 6px 6px 0;
}

.rim-quantity input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 14px;
}

.rim-stock-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rim-in-stock {
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
}

.rim-shipped-days {
    color: #666;
    font-size: 13px;
}

.rim-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 20px;
}

.rim-price-regular {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
}

.rim-price-final {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.rim-price.sale .rim-price-final {
    color: #dd0513;
}

.rim-add-to-cart {
    width: 100%;
    padding: 12px 15px;
    background-color: #dd0513;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.rim-add-to-cart:hover {
    background-color: #c30411;
}

.rim-add-to-cart img {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.rim-payment-methods {
    margin-top: 20px;
    text-align: center;
}

.rim-payment-methods img {
    height: 30px;
    margin: 5px;
}

/* Tab Bölümü */
.rim-product-tabs {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding:0;
}

.rim-tabs-header {
    display: flex;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.rim-tab-button {
    padding: 15px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    color: #242424;   
}

.rim-tab-button.active {
    border-bottom-color: #dd0513;
    color: #dd0513;
}

.rim-tab-content {
    padding: 20px;
    background-color: #fff;
    display: none;
}

.rim-tab-content.active {
    display: block;
}

/* Avantajlar Bölümü */
.rim-advantages {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rim-advantages-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.rim-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rim-advantage-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.rim-advantage-item:hover {
    transform: translateY(-5px);
}

.rim-advantage-icon {
    margin-bottom: 15px;
}

.rim-advantage-icon img {
    width: 50px;
    height: 50px;
}

.rim-advantage-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.rim-advantage-desc {
    font-size: 14px;
    color: #666;
}

/* İlgili Ürünler */
.rim-related-products {
    margin-top: 40px;
}

.rim-related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.rim-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rim-related-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.rim-related-item:hover {
    transform: translateY(-5px);
}

.rim-related-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.rim-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.rim-related-item:hover .rim-related-image img {
    transform: scale(1.05);
}

.rim-related-info {
    padding: 15px;
}

.rim-related-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.rim-related-price {
    font-weight: 700;
    color: #dd0513;
}

.rim-related-price del {
    color: #999;
    font-weight: normal;
    margin-right: 5px;
    font-size: 14px;
}

/* Uyarı Kutuları */
.rim-choose-first-container,
.rim-out-of-stock-container {
    padding: 15px;
    margin-top: 20px;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.rim-choose-first-container {
    background-color: #fff3cd;
    color: #856404;
}

.rim-out-of-stock-container {
    background-color: #f8d7da;
    color: #721c24;
}

.rim-out-of-stock-info {
    margin-top: 10px;
    font-size: 14px;
}

.rim-alternative-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #dd0513;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.rim-alternative-button:hover {
    background-color: #c30411;
}

/* NEW - Renk ve Jant Boyutu Seçim Kutuları */
.box-zoll-container, 
.box-color-container {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: start;
    vertical-align: middle;
    gap: 10px 15px;
    margin-bottom: 15px;
}

.wd-disabled:before {
    content: "";
    position: absolute;
    inset: 0.0001px;
    border-radius: inherit;
    background-image: linear-gradient(to top right, transparent calc(50% - 1px), #CF000F 50%, transparent calc(50% + 1px)), 
                     linear-gradient(to top left, transparent calc(50% - 1px), #CF000F 50%, transparent calc(50% + 1px));
    opacity: 1;
    transition: opacity .2s ease;
    z-index: 2;
}

.wd-enabled {
    cursor: pointer;
}

.box-zoll {
    border-radius: 50%;
    border: 1px solid #24242440;
    font-size: 14px;
    padding: 8px;
    line-height: initial;
    position: relative;
    width: 35px;
    height: 35px;
}

.box-zoll:hover,
.box-zoll.wd-active {
    border: 1px solid #242424;
    background-color: #eee;
    color: #242424;
}

.box-zoll-container .wd-disabled {
    cursor: pointer;
}

.box-color-container .wd-active {
    box-shadow: 0 0 6px 1px #242424;
}

.box-color {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #242424;
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
    font-size: 45px;
    line-height: 1;
    cursor: pointer;
    transition: all .25s ease;
    border-radius: 50%;
}

.box-color img {
    display: block;
    max-height: 100%;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    object-fit: cover;
}


/* NEW tooltip system */

.color-tooltip, .zoll-tooltip {
    display: none;
    position: fixed;
    z-index: 9999;
    background: #fff;
    color: #222;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    pointer-events: none;
    border: 1px solid #dd0413;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-weight: normal;
}

.tooltip-arrow {
  width: 70px;
  height: 17px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: -16px;
}
.tooltip-arrow:after {
  content: "";
  position: absolute;
  left: 20px;
  top: -20px;
  width: 25px;
  height: 20px;
  box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
  transform: rotate(45deg);
  background: #dd0413;
}



/* Cart Bölümü */
#in-stock-container {
    background-color: #f6f6f6;
    padding: 30px 30px 25px;
    border-radius: 7px;
}

.quantity-container {
    padding-left: 0;
    max-width: 38%;
}

.price-container {
    padding-right: 0;
    max-width: 58%;
}

.add-to-cart-container {
    padding-left: 0;
    padding-right: 0;
    margin-top: 15px;
}

div.quantity {
    position: static;
    margin-top: 15px;
}

div.quantity input[type="button"] {
    background: #e3e3e3;
    border: 1px solid #c1c1c15c;
    padding: 0 14px;
}

div.quantity input[type="number"] {
    width: 36px;
    border-radius: 0;
    border-right: none;
    border-left: none;
    border-top: 1px solid #c1c1c1a1;
    border-bottom: 1px solid #c1c1c1a1;
    background-color: #fff;
}

/* Fiyat Bilgileri */
.variation-price {
    font-weight: 900; 
}

.variation-price del {
    font-weight: 400; 
    color: #000; 
    display: none;
}

.variation-price-regular {
    color: #808080; 
    font-weight: 900; 
    font-size: 16px;
}

.variation-price-final {
    color: #333; 
    font-size: 20px;
}

.price-status-sale del {
    display: inline; 
    margin-right: 8px;
}

.price-status-sale .variation-price-final {
    color: #DD0513;
}

/* 4'lü Fiyat Bilgisi */
.price-four-text {
    display: block; 
    font-size: 12px; 
    color: #000; 
    font-weight: 700; 
    margin-top: 10px;
}

.price-four-regular {
    font-size: 12px; 
    color: #808080;
}

.price-four-regular del {
    font-weight: 400; 
    color: #808080; 
    display: none;
}

.price-status-sale .price-four-regular del {
    display: inline; 
    margin-right: 4px;
}

.price-four-final {
    font-size: 12px;
    color: #000;
    font-weight: 700;
}

/* Stok Durumu */
.variation-availability .in-stock {
    font-size: 12px;
    color: green;
    text-align: right;
    margin-bottom: 0px;
}

.variation-availability .shipped-days {
    font-size: 12px;
    color: #737373;
    text-align: right;
    margin-bottom: 0px;
}

.out-of-stock {
    font-size: 12px;
    color: #E22D2D;
    text-align: right;
    margin-bottom: 20px;
    width: 100%;
}

.out-of-stock-info-box {
    background: #e1e1e1;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    margin-bottom: 10px;
    border-left: 6px solid #c2c2c2;
}

.single_variation_wrap {
    margin-top: 12px;
}

/* Configurator Link */
a.btn.to-configurator-link {
    border: 1px solid rgb(221,5,19);
    border-radius: 5px;
    background-color: #fff;
    color: rgb(221,5,19);
    font-weight: 600;
    text-align: center;
    padding: 10px 20px;
    display: flex;
    margin: 0 auto;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

a.btn.to-configurator-link:hover {
    background-color: rgb(221,5,19);
    color: white;
}

p.we-check-perfect-fit {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Uyarılar */
.felgen-add-to-cart-warning {
    background: #e5e5e5;
    padding: 1em;
    border-radius: 5px;
    position: relative;
    margin-top: 10px;
    display: none;
}

.felgen-add-to-cart-warning > i {
    width: 20px;
    height: 20px;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 100%;
    position: absolute;
    top: -6px;
    right: -6px;
    cursor: pointer;
}

.felgen-add-to-cart-warning h5 {
    margin: 0 0 5px;
}

/* Sepete Ekle Butonları */
.single_add_to_cart_button, 
.felgen-add-to-cart-init-button {
    background-color: #dd0514;
    width: 100%;
    display: flex;
    gap: 10px;
    line-height: 1;
    color: #fff;
    border-radius: 5px;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 15px;
}

.felgen-add-to-cart-init-button {
    height: 40px;
    cursor: pointer;
}

.felgen-add-to-cart-init-button:hover {
    color: #FFF;
}

/* Info Box */
span.discount_text {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 25px;
    font-size: 13px;
    line-height: 25px;
    background: #dd0513;
    color: #fff;
    padding: 0 6px 0 13px;
    font-weight: 600;
}

.attr_info, 
.lzlk_info {
    position: relative;
    display: inline-block;
}

.text-attr, 
.text-lzlk {
    padding: 0 20px 0 0;
    font-weight: normal;
}

.clear-attr, 
.clear-lzlk {
    position: absolute;
    top: 0;
    right: 5px;
    display: none;
    cursor: pointer;
    font-weight: bold;
}

.attr_info:hover .clear-attr,
.lzlk_info:hover .clear-lzlk {
    display: inline;
    color: #dd0513;
}

.subtitle-container {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.clear-all {
    opacity: 0.5;
    margin-left: 5px;
    cursor: pointer;
    transition: opacity 0.3sease;
    font-size: 11px;
    display: none;
}

.subtitle-container:hover .clear-all,
.clear-all:hover {
    opacity: 1;
    color: #dd0513;
    font-weight: bold;
}

/* Gutachten */
.gutachten-car-finder-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
}

.gutachten-car-finder-wrapper div {
    margin: 0 10px;
    width: 100%;
}

/* Additional Information Tab */
.attProductTab {
    line-height: 2.5;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}                                                

.attProductTab .attProductTabTitle {
    font-weight: 900;
    color: #000;
}

.attProductTab .attProductTabValue {
    text-align: right;
}

/* Carousel */
.single-rims-carousel {
    margin: 2em 0 0;
}

.single-rims-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin: 2em 0 0;
}

.single-rims-carousel .owl-nav div {
    font-size: 2em;
}

.single-rims-carousel .owl-item img {
    display: block;
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

/* 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;
    cursor: pointer;
}

.rating-text strong {
    color: #333;
    font-weight: 600;
}

.review-count {
    cursor: pointer;
}

.review-count:hover {
    color: #004499;
}

/* Responsive için */
@media (max-width: 768px) {
    .product-rating-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* Responsive Düzen */
@media (max-width: 992px) {
    .rim-product-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .rim-advantages-grid,
    .rim-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rim-product-grid {
        grid-template-columns: 1fr;
    }
    
    .single-rims-carousel .owl-nav {
        margin: 1em 0 0;
    }

    .rim-breadcrumb {
        padding: 10px;
        font-size: 12px;
        border-bottom: 1px solid #e7e7e7;
    }
    
    /* Mobil cihazlar için akordiyon menü stili */
    .rim-tabs-header {
        display: block;
        background-color: transparent;
        border-bottom: none;
    }
    
    .rim-tab-button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px;
        margin-bottom: 5px;
        border: none;
        border-radius: 5px 5px 0 0;
        background-color: #f5f5f5;
        position: relative;
    }
    
    .rim-tab-button:after {
        content: "+";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #666;
    }
    
    .rim-tab-button.active:after {
        content: "-";
    }
    
    .rim-tab-button.active {
        border-bottom: none;
        border-left: 3px solid #dd0513;
        color: #dd0513;
    }
    
    .rim-tab-content {
        display: none;
        margin-bottom: 10px;
        border-radius: 0 0 5px 5px;
        border-top: 0;
    }
    
    .rim-tab-content.active {
        display: block;
    }
    
    .mobile-tab-wrapper {
        margin-bottom: 10px;
    }
    
    .rim-product-tabs {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .rim-advantages-grid,
    .rim-related-grid {
        grid-template-columns: 1fr;
    }
}