/**
Author: UI Team
Version: 1.0.0
Lat Update: 07 Jan 2025
File Name: blog-product-card-v3.css
**/
:root {
    --pc-primary-text: rgba(0, 19, 37, 0.92);
    --pc-secondary-text: rgba(0, 19, 37, 0.62);
    --pc-tertiary-text: rgba(0, 19, 37, 0.48);
    --pc-discount-color: rgba(43, 176, 71, 0.8);
    --pc-primary-color: rgba(232, 0, 113, 1);
    --pc-white-color: rgba(255, 255, 255, 1);
    --pc-white-color-two: rgba(255, 255, 255, 0.9);
    --pc-product-border: rgba(0, 0, 0, 0.16);
}

.article-wrapper .inner-card {
    flex-direction: row;
}

.pr-card {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--pc-primary-text);
    text-align: left;
}

.pr-card .pr-image-box {
    position: relative;
    width: 166px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.pr-psize {
    position: absolute;
    top: -25px;
    right: 0;
    background: url(https://images-static.naikaa.com/media/wysiwyg/2024/pack-size.svg) no-repeat;
    padding-left: 15px;
    background-position: left center;
}

.pr-card .pr-image-box .pr-image {
    width: 100%;
    max-height: 272px;
}

.pr-card .pr-details {
    text-align: left;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.pr-card .pr-rating {
    letter-spacing: 0.6px;
    color: var(--pc-secondary-text);
    display: inline-block;
    position: absolute;
    left: 0;
    top: -25px;
    text-transform: lowercase
}

.pr-card .rating-actual {
    font-weight: 600;
    color: var(--pc-primary-text);
}

.pr-card .pr-brand {
    font-weight: 500;
    letter-spacing: -0.1px;
}

.pr-card .pr-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: inherit;
    color: var(--pc-secondary-text);
    min-height: 40px;
    margin: 5px 0;
}

.pr-card .pr-size {
    color: var(--pc-secondary-text);
    min-height: 20px;
}

.pr-card .price-sale {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.pr-card .pr-mrp {
    text-decoration: line-through;
    color: var(--pc-tertiary-text);
}

.pr-card .pr-discount {
    color: var(--pc-discount-color);
}

.pr-card .pr-button {
    background: var(--pc-primary-color);
    color: var(--pc-white-color);
    padding: 8px 4px;
    border-radius: 8px;
    margin-top: 16px;
    display: block;
    text-align: center;
    text-decoration: none;
    border: none;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

.pr-card .pr-button::after {
    content: '';
    width: 20px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.4555 5.81027H13.6836V5.54572C13.7713 3.42932 12.1046 1.66565 9.99935 1.66565C7.89409 1.75383 6.31514 3.42932 6.31514 5.54572V5.81027H2.54321C2.01689 5.81027 1.66602 6.163 1.66602 6.6921V13.9231C1.66602 16.3923 3.59584 18.3323 6.05198 18.3323H13.9467C16.4029 18.3323 18.3327 16.3923 18.3327 13.9231V6.6921C18.3327 6.25119 17.9818 5.81027 17.4555 5.81027ZM7.63093 5.54572C7.63093 4.22297 8.68356 3.07658 9.99935 2.9884C11.3151 3.07658 12.3678 4.22297 12.3678 5.54572V5.81027H7.63093V5.54572ZM17.0169 14.0113C17.0169 15.6868 15.6134 17.0977 13.9467 17.0977H6.05198C4.38531 17.0977 2.98181 15.6868 2.98181 14.0113V7.13302H6.31514V8.89669C6.1397 9.07306 6.05198 9.33761 6.05198 9.51397C6.05198 10.0431 6.49058 10.3958 6.92917 10.3958C7.36777 10.3958 7.80637 9.95489 7.80637 9.51397C7.80637 9.24942 7.71865 9.07306 7.54321 8.89669V7.13302H12.2801V8.80851C12.1046 8.98487 12.0169 9.24942 12.0169 9.51397C12.0169 10.0431 12.3678 10.484 12.8941 10.484C13.4204 10.484 13.859 10.1313 13.859 9.60216C13.859 9.33761 13.7713 9.16124 13.5958 8.98487V7.22121H17.0169V14.0113Z' fill='white'/%3E%3C/svg%3E%0A");
    display: inline-block;
    margin-left: 4px;
}

/*css for horizontal product card*/
.article-wrapper .product-card.horizontal {
    max-width: 312px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.article-wrapper .product-card.horizontal .pr-image-box {
    width: 250px;
    margin-right: 20px;
}

.article-wrapper .product-card.horizontal .pr-details {
    max-width: 160px;
    width: 100%
}

.article-wrapper .product-card.horizontal .pr-rating {
    position: inherit;
    padding: 5px;
    background: #F6F6F8;
    margin-bottom: 5px;
}

.article-wrapper .product-card.horizontal .pr-psize {
    top: 0;
    position: relative;
    left: 0;
    margin-bottom: 5px;
}

.article-wrapper .inner-card {
    display: flex;
    flex-direction: row
}

.article-wrapper .product-grid .card-slider {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.article-wrapper .product-grid .pr-shade {
    background: url(https://images-static.naikaa.com/media/wysiwyg/2024/shade-img.svg) no-repeat;
    padding-left: 20px;
    background-position: left center;
    color: var(--pc-tertiary-text);
    min-height: 15px;
    margin: 5px 0;
}

@media screen and (max-width: 767px) {
    .article-wrapper .product-grid .card-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }
}
