.product-grid .social li a:after,
.product-grid .social li a:before {
    content: attr(data-tip);
    color: #fff;
    background-color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 20px;
    padding: 1px 5px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: -30px
}

.product-grid .product-discount-label,
.product-grid .product-new-label {
    color: #fff;
    /* background-color: #ef5777; */
    font-size: 12px;
    text-transform: uppercase;
    padding: 2px 7px;
    display: block;
    position: absolute;
    top: 10px;
    left: 0
}

.product-grid {
    font-family: Raleway, sans-serif;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1
}

.product-grid .product-image {
    position: relative;
    transition: all .3s ease 0s
}

.product-grid .product-image a {
    display: block
}

.product-grid .product-image img {
    width: 100%;
    height: 100%
}

.product-grid .pic-1 {
    opacity: 1;
    transition: all .3s ease-out 0s
}

.product-grid:hover .pic-1 {
    opacity: 1
}

.product-grid:hover .pic-2 {
    opacity: 1
}

.product-grid:hover .social {
    opacity: 1;
    top: 50%
}

.product-grid:hover .product-content {
    bottom: 0
}

.product-grid:hover .title a {
    /* color: #ef5777 */
}

.product-grid .pic-2 {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s ease-out 0s
}

.product-grid .social {
    width: 150px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    transform: translateY(-50%) translateX(-50%);
    position: absolute;
    top: 60%;
    left: 50%;
    z-index: 1;
    transition: all .3s ease 0s
}

.product-grid .social li {
    display: inline-block
}

.product-grid .social li a {
    color: #fff;
    background-color: #333;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    height: 40px;
    width: 40px;
    margin: 0 2px;
    display: block;
    position: relative;
    transition: all .3s ease-in-out
}

.product-grid .social li a:hover {
    color: #fff;
    /* background-color: #ef5777 */
}

.product-grid .social li a:hover:after {
    opacity: 1
}

.product-grid .social li a:hover:before {
    opacity: 1
}

.product-grid .social li a:after {
    content: '';
    height: 15px;
    width: 15px;
    border-radius: 0;
    transform: translateX(-50%) rotate(45deg);
    top: -20px;
    z-index: -1
}

.product-grid .product-discount-label {
    background-color: #333;
    left: auto;
    right: 0
}

.product-grid .rating {
    color: #ffd200;
    font-size: 12px;
    padding: 12px 0 0;
    margin: 0;
    list-style: none;
    position: relative;
    z-index: -1
}

.product-grid .rating li.disable {
    color: rgba(0, 0, 0, 0.2)
}

.product-grid .product-content {
    background-color: #fff;
    text-align: center;
    padding: 10px 0 0;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: -27px;
    z-index: 1;
    transition: all .3s
}

.product-grid .title {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: capitalize;
    margin: 0 0 10px;
    transition: all .3s ease 0s
}

.product-grid .title a {
    color: #828282
}

.product-grid .title a:hover {
    /* color: #ef5777 */
}

.product-grid .price {
    color: #333;
    font-size: 17px;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    letter-spacing: .6px;
    margin-bottom: 8px;
    text-align: center;
    transition: all .3s
}

.product-grid .price span {
    color: #999;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 3px;
    display: inline-block
}

.product-grid .add-to-cart {
    color: #000;
    font-size: 13px;
    font-weight: 600
}

@media only screen and (max-width: 990px) {
    .product-grid {
        margin-bottom: 30px
    }
}

.active {
    background-color: #f6f6f6;
}

#custom_loading {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.29);
    z-index: 9999;
    flex-direction: column;
}

.product-row {
    display: flex;
    align-items: center;
}

.sample-product-image {
    width: 95px;
    height: 95px;
    object-fit: cover;
    margin-right: 15px;
}

.wind_width {
    width: 12%;
}

@media only screen and (max-width: 768px) {
    .mobile_parent_icon .container {
        padding: 0 15px;
    }

    .mobile_parent_icon .row {
        justify-content: flex-start;
    }

    .mobile_parent_icon .col-md-2 {
        width: 50%;
        padding: 10px;
    }

    .mobile_parent_icon .select_parent_category {
        padding: 10px;
        margin-bottom: 10px;
    }

    .mobile_parent_icon .select_parent_category img {
        max-width: 100%;
        max-height: 50px;
    }

    .mobile_parent_icon h6 {
        font-size: 14px;
    }

    .mobile_parent_sub .sub_button {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
        flex-direction: column;
    }

    .mobile_parent_sub .d_category_lable {
        flex: 1 1 calc(50% - 10px);
        box-sizing: border-box;
        text-align: center;
        font-size: 12px;
        white-space: nowrap;
        margin: 0;
    }

    .product-grid-info {
        width: 50%;
        float: left;
        box-sizing: border-box;
        margin-bottom: 10px;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
    }

    .container.sup_product {
        padding-left: 0;
        padding-right: 0;
    }

    .tp_extra_fields .product-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
    }

    .tp_extra_fields .product-row .sample-product-image {
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 10px;
    }

    .tp_extra_fields .product-row h5 {

        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .tp_extra_fields .product_price {
        text-align: center;
    }

    .tp_extra_fields .o_wsale_product_btn {
        text-align: center;
    }
}


@media (max-width: 480px) {
    .mobile_parent_icon .col-md-2 {
        width: 50%;
        padding: 5px;
    }

    .mobile_parent_sub .d_category_lable {
        flex-basis: 100%;
    }

    .mobile_parent_icon .select_parent_category {
        padding: 5px;
    }

    .mobile_parent_icon .select_parent_category img {
        max-height: 40px;
    }

    .mobile_parent_icon .d_category_lable {
        flex-basis: 100%;
        font-size: 12px;
    }

}

/* Developed by Esma */

.product-header {
    text-align: center;
    font-family: 'Futura-Medium', sans-serif;
    font-weight: 500;
    font-size: 13px;
    padding: 6px;
    background-color: #38383885;
    border-radius: 0;
    margin-bottom: 1%;
    margin-top: 5%;
    color: white;
}

.product-header-parent {
    position: relative;
    width: 200px;
    text-align: center;
    margin-top: 8%;
}

.product-show-card {
    border: 2px solid lightgray;
    padding: 20px;
    border-radius: 4%;
    background-color: white;
    transition: border 0.3s ease, border-radius 0.3s ease;
}

.product-show-card:hover {
    border-radius: 0;
    border: 3px solid #383838;
}

/* Shop Now butonu varsayılan olarak görünmez */
.custom-product-button {
    font-weight: bold;
    background-color: #383838;
    color: white;
    border: none;
    border-radius: 0;
    margin-top: 2px !important;
    padding: 10px;
    text-decoration: none;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hem ürün kartına hem de butona hover yapıldığında çalışacak */
.product-header-parent:hover .custom-product-button,
.product-header-parent:hover .product-show-card {
    visibility: visible;
    opacity: 1;
}

.custom-product-button:hover {
    background-color: #383838;
    color: white;
    cursor: pointer;
}

/* Border'ın gitmesini engelle */
.product-header-parent:hover .product-show-card {
    border: 2px solid #383838;
    border-radius: 0;
}

.o_border_contrast {
    margin-bottom: 2%;
}

.card-body {
    color: #383838;
    font-family: 'Futura-Medium', sans-serif;
    font-weight: 400;

}

.card-title {
    font-family: 'Futura-Medium', sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 105%;
    text-decoration: none;
}

.col-md-3 {
    padding-bottom: 3%;
}

.img-thumbnail {
    border: 0px;
}

.s_card {
    border: 2px solid lightgray;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.btn.flat,
.btn-primary {
    border: -1px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    --btn-padding-y: 0.75rem;
    --btn-padding-x: 1.5rem;
    --btn-font-size: 1rem;
}

.no-underline:hover {
    text-decoration: none;
}

.search-query-es {
    background-color: #f9fafe !important;
}

.tp-droggol-builder-snippet-tab-5>.input-group {
    border: 1px solid #8080800a;
}

.btn-style {
    background-color: #f9fafe;
    border-left: 0;
}

.image-ratio-es {
    width: 60px !important;
    height: 60px !important;
    position-area: center !important;
}

@media (min-width: 992px) {
    .products-categories-es {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 10%;
    }
}

.text-truncate {
    text-align: center;
    font-weight: bold;
    font-size: 11px;
}

.table-right-es {
    display: flex;
    justify-content: end;

}

.product_search {
    font-size: 12px !important;
}

.bg-white {
    background-color: #FFFFFF !important;
    color: #212529;
    border: 1px solid #80808024;
}

.collection-row-table>tbody>tr>td {
    padding: 0rem 0.75rem !important;
}

/* Genel Başlık Stili */
.rc-page-title {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: 'Futura-Medium', sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    letter-spacing: 3px;
    margin-bottom: 12px;
    margin-top: 12px;
  }
  
  .rc-page-title em {
    font-style: normal;
    font-weight: 600;
  }
  
  /* === HEADING STYLE #2 === */
  .rc-page-container .rc-page-title {
    text-transform: capitalize;
  }
  
  .rc-page-container .rc-page-title:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    content: "";
    background-color: #DE6528;
    margin-bottom: -10px;
  }
.product-show-card > img {
    max-height: 257px !important;
}
@media (max-width: 767px) {
    
    .tab-pane .row {
        margin: 0 !important;
        padding: 5px !important;
    }
    
    .tab-pane .col-lg-2 {
        display: none !important;
    }
    
    .tab-pane .col-lg-10 {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .tab-pane .collection-row-table {
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }
    
    .tab-pane .collection-row-table thead {
        display: none !important;
    }
    
    .tab-pane .collection-row-table tbody tr {
        display: block !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
        padding: 15px !important;
        background: white !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        min-height: 180px !important;
        position: relative !important;
    }
    
    .tab-pane .collection-row-table tbody td {
        display: block !important;
        border: none !important;
        padding: 5px 0 !important;
        text-align: left !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(1):before {
        content: "SKU: ";
        font-weight: bold;
        color: #6c757d;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(1) {
        font-weight: bold !important;
        color: #0d6efd !important;
        margin-bottom: 5px !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(2):before {
        content: "Description: ";
        font-weight: bold;
        color: #6c757d;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(2) {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        max-height: 60px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        word-wrap: break-word !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(3):before {
        content: "Price: ";
        font-weight: bold;
        color: #6c757d;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(3) {
        font-size: 16px !important;
        font-weight: bold !important;
        color: #0f0f0f !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(4):before {
        content: "Quantity: ";
        font-weight: bold;
        color: #6c757d;
        display: block;
        margin-bottom: 5px;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(4) {
        text-align: left !important;
        margin-bottom: 10px !important;
    }
    
    .tab-pane .css_quantity {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        width: auto !important;
        margin: 0 !important;
    }
    
    .tab-pane .css_quantity .btn {
        width: 35px !important;
        height: 35px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #dee2e6 !important;
        background: white !important;
        color: #495057 !important;
        border-radius: 6px !important;
    }
    
    .tab-pane .css_quantity .form-control {
        width: 50px !important;
        text-align: center !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 6px !important;
        padding: 8px 4px !important;
        font-weight: bold !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(5):before {
        content: "Add to Cart: ";
        font-weight: bold;
        color: #6c757d;
        display: block;
        margin-bottom: 5px;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(5) {
        text-align: left !important;
    }
    
    .tab-pane .d_add_to_cart_btn {
        width: 45px !important;
        height: 45px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #0d6efd !important;
        border: none !important;
        font-size: 16px !important;
    }
    
    .tab-pane .d_add_to_cart_btn:hover {
        background: #0b5ed7 !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(4),
    .tab-pane .collection-row-table tbody td:nth-child(5) {
        display: inline-block !important;
        width: 48% !important;
        vertical-align: top !important;
        position: absolute !important;
        bottom: 15px !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(4) {
        margin-right: 4% !important;
        left: 15px !important;
    }
    
    .tab-pane .collection-row-table tbody td:nth-child(5) {
        right: 15px !important;
    }
    
    @media (max-width: 480px) {
        .tab-pane .collection-row-table tbody tr {
            min-height: 200px !important;
        }
        
        .tab-pane .collection-row-table tbody td:nth-child(4),
        .tab-pane .collection-row-table tbody td:nth-child(5) {
            display: block !important;
            width: 100% !important;
            margin-right: 0 !important;
            position: static !important;
            left: auto !important;
            right: auto !important;
            bottom: auto !important;
        }
        
        .tab-pane .css_quantity {
            justify-content: flex-start !important;
        }
        
        .tab-pane .d_add_to_cart_btn {
            width: 100% !important;
            height: 40px !important;
            margin-top: 5px !important;
        }
    }
}
