/*
Theme Name:   twentytwenty Child Theme
Theme URI:    https://www.classicinformatics.com/
Description:  A Twenty Twenty child theme 
Author:       classic
Author URI:   https://www.classicinformatics.com/
Template:     twentytwenty
Version:      1.0.0
Text Domain:  twentytwentychild
*/
.product-card.featured-product:after{
    content: 'Bestseller';
    padding: 3px 10px;
    background-color: rgb(190 26 56);
    color: #fff;
    position:absolute;
    top:15px;
    left:13px;
    border-radius: 5px;
}

@media screen and (max-width: 1149px) {
    .zeynep.first ul li.enquary-last-menu {
         background: #a50622 !important;
    }
    .zeynep.first ul li.enquary-last-menu a {
        color: #fff !important;
    }
    .zeynep.first ul li.enquary-last-menu:hover {
    background: #f7f7f7 !important;
    }
    .zeynep.first ul li.enquary-last-menu a:hover {
        color: #000 !important;
    }
}

.esp-button,
.esp-button:hover {
    display: inline-block;
    margin: 0 !important;
    padding: 10px 22px !important;
    font-size: 16px;
    color: #fefefe;
    font-family: 'Avenir Next LT Pro bold';
    border: none;
    border-radius: 8px;
    background: rgb(190, 26, 56);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.esp-button.esp-button--secondary,
.esp-button.esp-button--secondary:hover {
    color: #444;
    background: #ccc;
}

.esp-button.esp-button--info,
.esp-button.esp-button--info:hover {
    color: #fff;
    background: #336699;
}

/**
 * ESP Cart.
 */
.esp-cart-table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

.esp-cart-table th,
.esp-cart-table td {
    padding: 10px 10px;
    border: 1px solid #eee;
}

.esp-cart-table th {
    padding: 20px 5px;
    background: #f7f7f7;
    font-weight: 600;
}

.esp-cart-table td {
    vertical-align: middle;
} 

.esp-cart-item .esp-cart-item__image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    padding: 5px;
}

.esp-cart-item .esp-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
}

.esp-cart-item .esp-cart-item__variations ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.esp-cart-item .esp-cart-item__description {
    width: 200px;
    font-size: 14px;
}

.esp-cart-item .esp-cart-item__quanity {
    width: 90px;
}

.esp-cart-item .esp-cart-item__actions {
    width: 160px;
}

.esp-cart-ctas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

@media ( max-width: 768px ) {
    .esp-cart-table,
    .esp-cart-table h4 {
        font-size: 16px;
    }

    .esp-cart-table thead {
        display: none;
    }

    .esp-cart-table tr {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 10px;
    }

    .esp-cart-table .esp-cart-item__image {
        width: 100%;
    }

    .esp-cart-table .esp-cart-item__image img {
        width: 120px;
        height: auto;
    }

    .esp-cart-table .esp-cart-item__name {
        width: 100%;
        padding: 0 10px;
    }

    .esp-cart-table .esp-cart-item__variations {
        width: 100%;
        padding-top: 0;
    }

    .esp-cart-item .esp-cart-item__description {
        width: 100%;
        padding: 0 10px;
    }

    .esp-cart-table .esp-cart-item__quanity {
        width: 90px;
    }

    .esp-cart-table .esp-cart-item__actions {
        width: calc( 100% - 90px );
    }

    .esp-cart-table th,
    .esp-cart-table td {
        display: flex;
        align-items: center;
        border: none;
    }
}

.esp-cart.esp-cart--view .esp-cart-table thead tr th:last-child,
.esp-cart.esp-cart--view .esp-cart-table tbody tr td:last-child,
.esp-cart.esp-cart--view .esp-cart-ctas {
    display: none;
}

.esp-cart.esp-cart--view .esp-cart-item__quanity input {
    border: none;
    box-shadow: none;
    pointer-events: none;
}

/**
 * ESP Add to Cart Form.
*/
.esp-add-to-cart {
    margin: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/**
 * ESP Product Configuration.
 */
.esp-product-config {
    margin-top: 20px;
}

.esp-product-config [disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.esp-product-config-item__name,
.esp-product-config-accessory-item__name {
    padding: 8px 10px;
    font-weight: 600;
    background-color: #336699;
    color: #fff;
    border-bottom: 3px solid #954200;
}

.esp-product-config-item__inputs,
.esp-product-config-accessory-item__inputs {
    display: grid;  
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    padding: 0 10px 8px 10px;
}

.esp-product-config-accessory-item__inputs span {
    position: relative;
    display: inline-grid;
    place-content: center;
    background: #336699;
    color: #fff;
    width: 18px;
    height: 18px;
    text-align: center;
    border-radius: 999px;
    font-size: 12px;
    vertical-align: bottom;
    line-height: 1;
}

.esp-product-config-accessory-item__inputs span[data-tooltip]:before,
.esp-product-config-accessory-item__inputs span[data-tooltip]:after {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    -webkit-font-smoothing: antialiased;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
    transition: 0.2s ease-in-out 0.2s;
}

.esp-product-config-accessory-item__inputs span[data-tooltip]:before {
    content: "";
    height: 0;
    width: 0;
    top: calc(100% - 9px);
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent #eeeeee transparent;
}

.esp-product-config-accessory-item__inputs span[data-tooltip]:after {
    content: attr(data-tooltip);
    width: 220px;
    background: #f7f7f7;
    padding: 12px;
    font-size: 14px;
    box-sizing: border-box;
    top: calc(100% + 11px);
    color: #4c5273;
    line-height: 1.2;
    z-index: 9;
    border-radius: 8px;
}

.esp-product-config-accessory-item__inputs span[data-tooltip]:hover:before,
.esp-product-config-accessory-item__inputs span[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
    transition: 0.2s ease-in-out 0.2s;
}

.esp-product-config-item__inputs label.disabled,
.esp-product-config-item__inputs label.disabled a {
    color: #999;
}

.esp-product-config-item__inputs p {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    color: inherit;
}

.esp-product-config-item__inputs a {
    font-size: inherit;
}

.esp-product-config-item__inputs span {
    font-weight: 400;
}

.esp-product-config__ctas {
    display: flex; 
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.esp-product-config__add-to-cart {
    flex: 1;
}

.esp-add-to-cart__qty {
    width: 90px; 
    padding: 10px 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px;
}

/**
 * ESP Notices.
 */
.esp-notice {
    width: 96%;
    margin: 15px auto;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #263238;
    background: #eceff1;
    border-radius: 8px;
}

.esp-notice p {
    margin: 0;
    padding: 0;
}

.esp-notice--success {
    background: #c8e6c9;
    color: #2e7d32;
}

.esp-notice--warning {
    background: #fff3cd;
    color: #856404;
}

.esp-notice--info {
    background: #bbdefb;
    color: #0d47a1;
}

/**
 * ESP Header Cart Link.
*/
.esp-header-cart-link {
    position: relative;
}

.esp-header-cart-link a {
    font-size: 16px;
    color: #0a133f;
    font-family: 'Avenir Next LT Pro bold';
    padding: 10px 22px;
    border-radius: 8px;
    background: rgb(247 247 247);
    border: 1px solid rgb(190, 26, 56);
}

.esp-header-cart-link.active a {
    background-color: #c8e6c9 !important;
}

.esp-header-cart-link span {
    position: absolute;
    top: -18px;
    right: -8px;
    width: 22px;
    height: 22px;
    background-color: #a50622;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}

.esp-header-cart-link-mobile {
    border: 1px solid #a50622;
}

.esp-header-cart-link-mobile.active {
    background-color: #c8e6c9 !important;
}

.esp-header-cart-link-mobile a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.esp-header-cart-link-mobile span {
    display: inline-block;
    margin-right: 20px;
    width: 22px;
    height: 22px;
    background-color: #a50622;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}



.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    min-height: 680px !important;
    max-height: 680px !important;
}

.product-card h4 {
    margin-top: 20px;
}

.product-card .c-learn-more-holder {
    margin: 0;
}

.product-card .cate-style + p {
    flex-grow: 1;
}

/* ESP product table */
.esp-product-table {
    width: 100%;
}

.esp-product-table th,
.esp-product-table td {
    padding: 10px 5px;
    border: 1px solid #ddd;
}

.product-listing .esp-product-table {
    width: calc(100% - 40px);
    margin: 0 21px;
}

.product-listing .esp-product-table th {
    width: 100px;
}   

.single-product .esp-product-table {
    width: 450px;
    max-width: 100%;
}

.single-product .esp-product-table th {
    width: 120px;
}

@media ( max-width: 450px ) {
    .single-product .esp-product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .single-product .esp-product-price__selector a {
        padding: 6px 6px;
        font-size: 12px;
    }
}

.esp-product-availability {
    width: 70px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}

.esp-product-availability span {
    position: relative;
    width: 18%;
    background-color: #cfd8dc;
    border-radius: 999px;
    margin: 0 !important;
    cursor: pointer;
}

.esp-product-availability span:nth-child(n) {
    height: calc(25% * var(--i));
}

.esp-product-availability span:nth-child(n).active {
    background-color: var(--color);
}

.esp-product-availability span[data-tooltip]:before,
.esp-product-availability span[data-tooltip]:after {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    -webkit-font-smoothing: antialiased;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
    transition: 0.2s ease-in-out 0.2s;
}

.esp-product-availability span[data-tooltip]:before {
    content: "";
    height: 0;
    width: 0;
    top: calc(100% - 9px);
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent #333 transparent;
}

.esp-product-availability span[data-tooltip]:after {
    content: attr(data-tooltip);
    white-space: nowrap;
    background: #333;
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-size: 1.1rem;
    box-sizing: border-box;
    top: calc(100% + 11px);
    color: #fff;
    border-radius: 2px;
    text-shadow: 0px 1px 1px #000;
    z-index: 9;
}

.esp-product-availability:hover span[data-tooltip]:before,
.esp-product-availability:hover span[data-tooltip]:after {
    opacity: 1;
    visibility: visible;
    transition: 0.2s ease-in-out 0.2s;
}

/* Define custom properties for active colors */
.esp-product-availability span:nth-child(1) { --i: 1; --color: #0071c1; }
.esp-product-availability span:nth-child(2) { --i: 2; --color: #f79645; }
.esp-product-availability span:nth-child(3) { --i: 3; --color: #c4d69b; }
.esp-product-availability span:nth-child(4) { --i: 4; --color: #0cb051; }

/* ESP Product Price HTML CSS */
.esp-product-price {
    display: flex;
    gap: 10px;
    align-items: center;
}

.esp-product-price span {
    margin: 0;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    color: inherit;
}

.esp-product-price__selector {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.esp-product-price__selector li {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.esp-product-price__selector li::before {
    display: none;
}

.esp-product-price__selector a {
    padding: 6px 10px;
    margin: 0;
    background: #fff !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
    vertical-align: middle;
    text-decoration: none;
    color: #000;
}

.esp-product-price__selector a:is( :hover, .active ) {
    background: #9f001c !important;
    color: #fff;
    border-color: #9f001c;
}

.product-listing .esp-product-price__selector {
    display: none;
}

/* ESP Production Specification */
.esp-product-specifications {
    display: flex;
    gap: 40px;
}

.esp-product-specifications table {
    border: 1px solid #e9e9e9;
}

.esp-product-specifications table th {
    background: #f7f7f7;
    border: 1px solid #e9e9e9;
    font-size: 16px;
    color: #0a133f;
    font-family: 'Avenir Next LT Pro Demi';
    padding: 10px 15px;
}

.esp-product-specifications table td {
    border-bottom: 1px solid #e9e9e9;
    font-size: 16px;
    color: #4c5273;
    padding: 10px 15px;
}

@media (  max-width: 768px ) {
    .esp-product-specifications {
        display: block;
    }

    .esp-product-specifications table {
        width: 100%;
    }
}

/* Filter CSS Override */
.sk-filter-selector {
    color: #336699;
}

.sk-filter-selector::after {
    filter: hue-rotate(240deg) contrast(0.5);
}

.sk-filter-selector.fill {
    color: #9f001c;
}

.sk-filter-selector.active {
    color: #fff !important;
}