/* Skeleton Loading */

#woodmart_sizeguide{
    display: none;
}

.shop-content-area{
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#shop-advantages{
    background: #f6f6f6 !important;
    padding: 40px 0 !important;
    margin: 0 0 50px 0 !important;
}




@keyframes shimmer {
    0% {background-position: -200% 0;}
    100% {background-position: 200% 0;}
}
  
    .content-placeholder {
        display: inline-block;
        height: 1em;
        position: relative;
        overflow: hidden;
        background: #f6f7f8;
        background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
        background-size: 800px 104px;
        animation: shimmer 1.5s infinite linear;
    }
    
    .content-placeholder-text {
        margin-bottom: 0;
        border-radius: 4px;
        font-size: 12px;
        padding-left: 6px;
        color: #ccc;
        line-height: 16px;
    }
    
    .content-placeholder-title {
        border-radius: 4px;
    }
  
    /* Özel placeholder stilleri */
    .breadcrumb-link .content-placeholder {
        height: 12px;
        width: 80px;
    }
    #spTitle .content-placeholder {
        height: 40px;
        width: 100%;
        color: #ccc;
        padding-left: 12px;
        font-size: 24px;
        line-height: 34px;
    }
  
    #spSubTitle .content-placeholder {
        height: 26px;
        width: 60%;
        color: #ccc;
        padding-left: 12px;
        font-size: 18px;
    }
  
    .spAttValue .content-placeholder {
        height: 16px;
        width: 80%;
        float: left;
        margin-top: 6px;
    }
    #spReifenLabelValues .content-placeholder {
        height: 16px;
        width: 12px;
        margin-top: 0;
    }
  
  #spBrandLogo.content-placeholder {
    height: 26px;
    width: 80px;
    display: inline-block;
  }
  
  /* Diğer CSS kuralları aynı kalacak */

/* Single Admin Debug */

#singleAdminDebug th{
    padding: 5px 10px;
    text-align: right;
}
#singleAdminDebug thead th{
    font-size: 12px;
    text-align: right;
    background: #f9f9f9;
}

#singleAdminDebug td{
    font-size: 12px;
    text-align: right;
    padding: 5px 10px;
}
.selectedRegion{
    background: #f0f0f0 !important;
    font-weight: 900;
}

#singleAdminDebug th{
    padding: 5px 10px;
    text-align: right;
}
#singleAdminDebug thead th{
    font-size: 12px;
    text-align: right;
    background: #f9f9f9;
}

#singleAdminDebug td{
    font-size: 12px;
    text-align: right;
    padding: 5px 10px;
}
.selectedRegion{
    background: #f0f0f0 !important;
    font-weight: 900;
}

#spTitle{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

#spSubTitle{
    font-size: 18px;
    margin-bottom: 0px;
}
#spSubTitle .extension,
#spSubTitle .extra, #spSubTitle .dotYear {
    text-decoration: underline;
    cursor: pointer;
    position: relative;
}

#spSubTitle .extension:hover::after,
#spSubTitle .extra:hover::after,
#spSubTitle .dotYear:hover::after {
    content: attr(data-tooltip);
    white-space: pre-line; 
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    z-index: 1;
    width: 360px;
    border: 1px solid #dd0513;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#spSubTitle .dotYear {
    color:#dd0513;
}
#spSubTitle .dotYear:hover::after {
    width: 370px;
}

#spTireAttributesValue{
    text-decoration: underline;
    cursor: pointer;
    position: relative;
    color: #dd0513;
}
#spTireAttributesValue:hover::after {
    content: attr(data-tooltip);
    white-space: pre-line; 
    position: absolute;
    bottom: 100%;
    left: 40%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    z-index: 1;
    width: 270px;
    border: 1px solid #dd0513;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: normal;
}

#badge_wrapper {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 999;
}
#badge_wrapper span {
    padding: 5px 15px;
    min-width: 50px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    word-break: break-all;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    background-color: #dd0513;
    direction: ltr;
    display: none;
}

.single_variation_wrap {margin-top: 10px;width: 100%;}

#tireSize{color:#777; font-size:14px; margin:0 0 20px;}
#tireSizeGuide{margin-left: 5px;}

.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: 12px;}
.variation-price-final {color:#333; font-size: 14px;}

.price-status-sale del {display:inline; margin-right: 8px;}
.price-status-sale .variation-price-final {color:#DD0513;}
/*.price-status-sale .variation-price-final::before {content: " - "; color: #000; font-size: 16px;}*/

#price-show-page .variation-price-regular {font-size: 16px;}
#price-show-page .variation-price-final {font-size: 20px;}

.option-price .variation-price-regular {font-size: 10px;}
.option-price .variation-price-final {font-size: 12px;}

.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;}


        
#pa_tiresize {display: none;}

/* Out of Stock */
.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;
}

.alternative-products-button {
    width: 100%;
    background: #FFF;
    border: 1px solid #dd0513;
    color: #dd0513;
    border-radius: 6px;
}

.alternative-products-button:hover {
    background: #dd0513;
    color: #FFF;
}
/*
.alternative-products-button::before {
    content: url(https://cdn.alfatires.eu/icons/theme/search-red.webp);
    transform: scale(0.8);
    transform: scale(0.8);
}
.alternative-products-button:hover::before {
    content: url(https://cdn.alfatires.eu/icons/theme/search-white.webp);
    transform: scale(0.8);
}
*/

/* No Variation */
.variable-choose-first {
    background: #e1e1e1;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    margin-bottom: 10px;
    border-left: 6px solid #c2c2c2;
}

/* Modal arka planı */
#modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Modal kutu 
#custom-select-options {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    width: 80%;
    max-width: 500px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
    */

#custom-select-wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    background-image: url(https://cdn.alfatires.eu/theme/selectbox_arrow.webp);
    background-position: right 10px top 50%;
    background-size: auto 18px;
    background-repeat: no-repeat;
}

#custom-select {
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    height: 45px;
}
#custom-select-text{color: #000;}

#custom-select-price {
    float: right;
    color: #888;
    font-size: 14px;
    margin-right: 22px;
    color: #dd0513;
}

#custom-select-price del{
    color: #888;
    font-size: 12px;
    margin-right: 5px;
}

#custom-select-options {
    /*display: none;*/
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

#custom-select-options li {
    padding: 0;
    cursor: pointer;
    list-style-type: none;
    color: #000;
    margin-bottom: 5px;
}

#custom-select-options li:hover {
    background: #f0f0f0;
}

#custom-select-options li span.option-price {
    float: right;
    color: #888;
    font-size:12px;
    margin-right: 15px;
    color: #dd0513;
}
/* Modal kutu yeni eklemeler */
    #custom-select-options li.hidden {
        display: none !important;
    }
    #custom-select-options-wrapper {
        display: none;
        position: absolute;
        width: 100%;
        background: white;
        border: 1px solid #ccc;
        max-height: 300px;
        z-index: 1000;
    }

    #custom-select-search-container {
        position: sticky;
        top: 0;
        background: white;
        z-index: 1001;
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }

    #custom-select-search {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        color: #999;
    }

    #custom-select-options {
        list-style-type: none;
        padding: 0;
        margin: 0;
        max-height: 400px;
        overflow-y: auto;
    }

    #custom-select-options li {
        padding: 10px;
        cursor: pointer;
    }

    #custom-select-options li:hover {
        background-color: #f0f0f0;
    }

/* ONCEKI KISIM */
.onsale{
    display: none;
}
table.variations tr:last-child .cell {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}
#tireSize{
    font-weight: 900; 
    margin-bottom:20px; 
    position: relative
}
table.variations {
    margin-top: -2em;
}
.wd-reset-var {
    position: absolute;
    right: 0;
    width: auto!important;
}
.wd-open-popup span{display:none;}
.wd-sizeguide-icon>a:before {
    content: "\f100";
    transform: rotate(180deg);
    color: #fff;
    background: #333;
    border-radius: 50px;
    font-size: 16px !important;
}
.wd-action-btn.wd-style-text>a{
    font-family: "woodmart-font";
    padding-left: 5px;
}
table.variations {
    margin-bottom: 10px;
}
div.quantity {
    position: absolute;
    bottom: 66px;
}
/*Single Product Tires Orta Kisim */
#spBrandLogo{
    height: 26px;
}
.spAttRow{
    display:flex;
    line-height: 2.25;
    border-bottom: 1px solid #e9eaec;
}
.spAttTitle{
    font-weight: 900;
    color:#000;
}

.spAttValue{
    text-align: right;
}
.wd-reset-var{
    display:block;
}
#spReifenLabelValues{
    display: flex;
    justify-content: space-between;
}

#spReifenLabelValues img{
    height: 20px;
}

#spReifenLabelValues div{
    display: flex;
    align-items: center;
    gap: 5px;
}

#single-product-middle{
    padding: 0px 30px;
}

#sigleAdminDebug{
    font-size: 12px;
    margin: 0 0 0 20px;
    width: 350px;
}
#sigleAdminDebug td{
    padding: 5px 10px;
}
#sigleAdminDebug th{
    font-weight: 900;
    padding: 5px 10px;
}


/* variation.php deki css basla */
#pa_tiresize{
    background-color: #fff;
}
#pa_tiresize:after{
    content: '';
    border: 4px solid transparent;
    border-top: 4px solid white;
    margin-left: 2px;
    margin-bottom: 3px;
    display: inline-block;
    vertical-align: bottom;
}
.custom-variation-availability-and-price {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}
.woocommerce-variation-add-to-cart {
    position: relative;
}
div.quantity {
    position: absolute;
    bottom: 120px;
}
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;
}
.woocommerce-Price-amount.amount{
    font-size:24px;
    color:#000;
    font-weight:900;
}
p.product-price-1,
p.product-price-2 {
    font-weight: normal;
    line-height: 1;
    margin-top: 5px;
}
/* variation.php deki css bitir */



@media screen and ( max-width: 768px ){
    table.variations {
        margin-top: 0;
    }
    .wd-reset-bottom-md .wd-reset-var {
        top: -30px;
    }
}


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

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

/* Tab comment and Review Section */
#rating {
    display: none !important;
}
.commentlist{
    list-style-type: none;
    padding-left: 0px;
}
.commentlist li{
    padding-left: 0px;
    border-bottom: 1px solid #ccc;
}

.commentlist .meta{
    margin-bottom : 0;
}

.comment-form-rating {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}
.comment-form-rating label {
    margin-right: 10px !important;
    margin-bottom: 0 !important;
    font-weight: bold !important;
}

.comment-form .comment-form-rating label:after {
    content: "" !important;
    margin-inline-start: 2px;
}
.stars a span, 
.stars a:before, 
.stars a:after,
.stars a:hover:before,
.stars a.active:before {
    display: none !important;
}
.star-rating, p.stars {
    display: none !important;
}
.woocommerce-review__verified,
[class*="stars"] [class*="screen-reader-text"],
.star-rating:before, 
.star-rating:after, 
.star-rating span:before, 
.star-rating span:after {
    display: none !important;
}
.star-rating:before, 
.star-rating span:before {
    font-size: 0 !important;
    content: "" !important;
}
#review_form_wrapper {
    margin-top: 30px !important;
    padding: 20px !important;
    background-color: #f9f9f9 !important;
    border-radius: 5px !important;
}
.custom-star-rating {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 10px;
    justify-content: flex-end;
}
.custom-star-rating input {
    display: none;
}
.custom-star-rating label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    margin-right: 5px;
}

.custom-star-rating label:hover,
.custom-star-rating label:hover ~ label,
.custom-star-rating input:checked ~ label {
    color: #ffb900;
}
.comment-text {
    position: relative;
}
.comment-text .custom-stars {
    display: inline-flex;
    margin-bottom: 10px;
}
.comment-text .custom-stars .custom-star {
    color: #ccc;
    font-size: 18px;
    margin-right: 2px;
}
        
.comment-text .custom-stars .custom-star.filled {
    color: #ffb900;
}




/* Responsive Düzen */


@media (max-width: 768px) {
    
    
    /* 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;
    }
}