/* =====================================================
   ROBOTIMALL PRODUCT CARD DESIGN SYSTEM
   Shared styles for Panda product miniatures
   PrestaShop 9.1.5 / Panda 2.9.2
   ===================================================== */

/* Shared product card rules will be added after review. */

/* ROBOTIMALL SHARED CARD V1 START */

/* Card container */
article.js-product-miniature .pro_outer_box {
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 10px;
    box-shadow: none;
}

/* Product information */
article.js-product-miniature .pro_second_box {
    min-height: 0 !important;
    height: auto !important;
    padding: 7px 10px 8px !important;
    margin: 0 !important;
    border-radius: 0 0 10px 10px;
}

/* Product image */
article.js-product-miniature .pro_first_box img.front-image {
    object-fit: contain;
}

/* Product title */
article.js-product-miniature .s_title_block {
    min-height: 3.2em;
    line-height: 1.6;
    margin-bottom: 4px !important;
}

article.js-product-miniature .s_title_block a {
    color: #202938;
    font-size: 12px;
    line-height: 1.6;
}

article.js-product-miniature .s_title_block a:hover {
    color: #df1422;
}

/* Price */
article.js-product-miniature .pro_kuan_box {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

article.js-product-miniature .product-price-and-shipping {
    justify-content: center;
    align-items: center;
    gap: 4px 6px;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

article.js-product-miniature .product-price-and-shipping .price {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    color: #202938;
}

/* Hide duplicate inline actions */
article.js-product-miniature .pro_second_box .act_box_inner,
article.js-product-miniature .pro_second_box .act_box_cart {
    display: none !important;
}

/* Out-of-stock: use Panda existing sticker */
article.js-product-miniature:has(.st_sticker_4)
.product-price-and-shipping {
    display: none !important;
}

article.js-product-miniature:has(.st_sticker_4)
.st_sticker_block {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin: 0 !important;
    padding: 0 !important;
}

article.js-product-miniature:has(.st_sticker_4)
.st_sticker_4 {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

article.js-product-miniature:has(.st_sticker_4)
.st_sticker_text {
    color: #777 !important;
    font-size: 13px;
    font-weight: 500;
}

/* Responsive typography */
@media (max-width: 767px) {
    article.js-product-miniature .s_title_block a {
        font-size: 11px;
    }

    article.js-product-miniature
    .product-price-and-shipping .price {
        font-size: 12px;
    }
}

/* ROBOTIMALL SHARED CARD V1 END */

/* ROBOTIMALL PRODUCT TITLE LATIN DIGITS FIX START */
/* Preserve Latin digits in product names and technical model codes */
article.js-product-miniature .s_title_block,
article.js-product-miniature .s_title_block a {
    font-family: IRANSans, Tahoma, sans-serif;
}
/* ROBOTIMALL PRODUCT TITLE LATIN DIGITS FIX END */

/* ROBOTIMALL LATIN DIGITS PRODUCT DETAIL FIX START */
/* Product titles, related products and breadcrumb: Latin digits */

/* Related products in Panda sidebar */
body#product .pro_column_box .s_title_block,
body#product .pro_column_box .s_title_block a {
    font-family: IRANSans, Tahoma, sans-serif;
}

/* Product breadcrumb */
body#product #wrapper .breadcrumb,
body#product #wrapper .breadcrumb a,
body#product #wrapper .breadcrumb span,
body#product .breadcrumb_nav,
body#product .breadcrumb_nav a,
body#product .breadcrumb_nav span {
    font-family: IRANSans, Tahoma, sans-serif;
}
/* ROBOTIMALL LATIN DIGITS PRODUCT DETAIL FIX END */

/* ROBOTIMALL PRODUCT MAIN CONTENT FONT FIX START */
/* Latin digits in product title and short description */

body#product h1,
body#product .product-description,
body#product .product-description-short {
    font-family: IRANSans, Tahoma, sans-serif;
}

/* ROBOTIMALL PRODUCT MAIN CONTENT FONT FIX END */
