/*=========================================================================
    TESTED OK ELECTRONICS
    PRODUCT CARD
    PART 1
=========================================================================*/

.tok-product-card{

    position:relative;

    display:flex;

    flex-direction:column;

    height:100%;

    background:#FFFFFF;

    border:1px solid #E7EDF5;

    border-radius:22px;

    overflow:hidden;

    transition:all .35s ease;

    box-shadow:0 15px 40px rgba(15,23,42,.06);

}

.tok-product-card:hover{

    transform:translateY(-8px);

    border-color:#1E63E9;

    box-shadow:0 25px 70px rgba(15,23,42,.14);

}

/*==================================================
BADGE
==================================================*/

.tok-badge{

    position:absolute;

    top:18px;

    left:18px;

    z-index:20;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    background:#ED1C24;

    color:#fff;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.8px;

    border-radius:999px;

    box-shadow:0 12px 30px rgba(237,28,36,.35);

}

/*==================================================
IMAGE
==================================================*/

.tok-product-image{

    display:flex;

    align-items:center;

    justify-content:center;

    height:280px;

    padding:30px;

    background:#FAFBFC;

    border-bottom:1px solid #EDF2F7;

    overflow:hidden;

}

.tok-product-photo{

    width:100%;

    height:215px;

    object-fit:contain;

    transition:transform .45s ease;

}

.tok-product-card:hover .tok-product-photo{

    transform:scale(1.12);

}

/*==================================================
BODY
==================================================*/

.tok-product-body{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:24px;

}

/*==================================================
BRAND
==================================================*/

.tok-product-brand{

    margin-bottom:12px;

    color:#1E63E9;

    font-size:11px;

    font-weight:800;

    letter-spacing:1.5px;

    text-transform:uppercase;

}

/*==================================================
TITLE
==================================================*/

.tok-product-title{

    margin:0 0 18px;

    min-height:58px;

    font-size:18px;

    font-weight:700;

    line-height:1.5;

}

.tok-product-title a{

    color:#1F2937;

    text-decoration:none;

    transition:.3s;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:2;

    overflow:hidden;

}

.tok-product-title a:hover{

    color:#ED1C24;

}





/*==================================================
PRICE + STOCK
==================================================*/

.tok-price-stock{

    margin-top:auto;

}

.tok-price{

    margin-bottom:18px;

}

.tok-price ins{

    display:block;

    color:#071A33;

    text-decoration:none;

    font-size:34px;

    font-weight:800;

    line-height:1;

    letter-spacing:-1px;

}

.tok-price del{

    display:block;

    margin-top:8px;

    color:#9CA3AF;

    font-size:15px;

    font-weight:500;

    text-decoration:line-through;

}

.tok-stock{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:24px;

    font-size:14px;

    font-weight:600;

}

.tok-stock.instock{

    color:#16A34A;

}

.tok-stock.outstock{

    color:#ED1C24;

}

.tok-stock-dot{

    width:9px;

    height:9px;

    border-radius:50%;

    background:currentColor;

    flex-shrink:0;

}

/*==================================================
FOOTER
==================================================*/

.tok-product-footer{

    margin-top:auto;

}

/*==================================================
ADD TO CART BUTTON
==================================================*/

.tok-add-cart{

    display:flex !important;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:100%;

    height:56px;

    background:#1E63E9 !important;

    color:#fff !important;

    border:none !important;

    border-radius:14px;

    font-size:15px;

    font-weight:700;

    text-decoration:none;

    transition:all .35s ease;

    box-shadow:none !important;

}

.tok-add-cart:hover{

    background:#ED1C24 !important;

    color:#fff !important;

    transform:translateY(-2px);

}

.tok-add-cart i{

    font-size:15px;

    transition:transform .35s ease;

}

.tok-add-cart:hover i{

    transform:translateX(4px);

}

/*==================================================
LOADING
==================================================*/

.tok-product-card img{

    display:block;

    max-width:100%;

    height:auto;

}

.tok-product-card *{

    box-sizing:border-box;

}





/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:1400px){

    .tok-product-image{

        height:260px;

    }

    .tok-product-photo{

        height:200px;

    }

}

@media (max-width:1200px){

    .tok-product-body{

        padding:22px;

    }

    .tok-product-image{

        height:245px;

    }

    .tok-product-photo{

        height:185px;

    }

    .tok-price ins{

        font-size:32px;

    }

}

@media (max-width:992px){

    .tok-product-card{

        border-radius:20px;

    }

    .tok-product-image{

        height:235px;

        padding:25px;

    }

    .tok-product-photo{

        height:175px;

    }

    .tok-product-body{

        padding:20px;

    }

    .tok-product-title{

        min-height:54px;

        font-size:17px;

    }

    .tok-price ins{

        font-size:30px;

    }

    .tok-add-cart{

        height:54px;

    }

}

@media (max-width:768px){

    .tok-product-card{

        border-radius:18px;

    }

    .tok-product-image{

        height:220px;

        padding:20px;

    }

    .tok-product-photo{

        height:165px;

    }

    .tok-product-body{

        padding:18px;

    }

    .tok-product-brand{

        font-size:10px;

        letter-spacing:1.2px;

    }

    .tok-product-title{

        min-height:auto;

        font-size:16px;

        margin-bottom:16px;

    }

    .tok-price{

        margin-bottom:16px;

    }

    .tok-price ins{

        font-size:28px;

    }

    .tok-price del{

        font-size:14px;

    }

    .tok-stock{

        margin-bottom:20px;

        font-size:13px;

    }

    .tok-add-cart{

        height:52px;

        border-radius:12px;

        font-size:14px;

    }

}

@media (max-width:576px){

    .tok-product-image{

        height:200px;

    }

    .tok-product-photo{

        height:150px;

    }

    .tok-product-body{

        padding:16px;

    }

    .tok-product-title{

        font-size:15px;

        line-height:1.45;

    }

    .tok-price ins{

        font-size:26px;

    }

    .tok-add-cart{

        height:50px;

    }

}

/*==================================================
SWIPER SUPPORT
==================================================*/

.swiper-slide{

    height:auto;

}

.swiper-slide .tok-product-card{

    width:100%;

}

/*==================================================
ACCESSIBILITY
==================================================*/

.tok-product-card:focus-within{

    outline:2px solid #1E63E9;

    outline-offset:4px;

}

.tok-product-image img{

    user-select:none;

    -webkit-user-drag:none;

}

/*==================================================
END
==================================================*/
