/* ===== MODERN PRODUCT CARD FOR TAGS PAGE ===== */
.products_page {
    padding: 40px 0;
    background: #f8f9fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.products_page_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/* Breadcrumb */
.osahan-breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 0;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
}
.breadcrumb-item {
    font-size: 14px;
}
.breadcrumb-item a {
    color: #2563eb;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: #1d4ed8;
}
.breadcrumb-item.active {
    color: #64748b;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #cbd5e1;
}

/* Grid System - PC: 4 items, Mobile: 2 items */
.tags-product-item {
    padding: 0 10px;
    margin-bottom: 25px;
    box-sizing: border-box;
}
@media (min-width: 992px) {
    .tags-product-item {
        width: 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .tags-product-item {
        width: 33.333%;
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}
@media (max-width: 767px) {
    .tags-product-item {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }
}

/* Modern Product Card */
.product-item-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}
.product-item-modern:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.offer-badge-modern {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff6b00;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 2;
}
.product-item-image-modern {
    padding: 25px 20px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.product-item-image-modern img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-item-modern:hover .product-item-image-modern img {
    transform: scale(1.05);
}
.product-item-body-modern {
    padding: 0 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title-modern {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
}
.card-title-modern a {
    color: inherit;
    text-decoration: none;
}
.card-title-modern a:hover {
    color: #2563eb;
}
.price-wrapper-modern {
    margin-bottom: 12px;
}
.product-desc-price-modern {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}
.product-price-modern {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}
.product-discount-modern {
    font-size: 12px;
    color: #ff6b00;
    font-weight: 600;
    margin-left: 8px;
}
.stars-rating-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.stars-rating-modern i.fas.fa-star,
.stars-rating-modern i.fa-star {
    color: #ffc107;
    font-size: 13px;
}
.stars-rating-modern i.far.fa-star {
    color: #ddd;
    font-size: 13px;
}
.stars-rating-modern i.fas.fa-star-half-alt {
    color: #ffc107;
    font-size: 13px;
}
.review-text-modern {
    font-size: 12px;
    color: #666;
}
.btn-cart-only {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}
.btn-cart-only:hover {
    background: #1d4ed8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-cart-only i {
    font-size: 14px;
}
.no-data-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    width: 100%;
}
.no-data-found h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}
.no-data-found h2 {
    font-size: 18px;
    color: #666;
    font-weight: normal;
}
.no-data-found a {
    color: #2563eb;
    text-decoration: none;
}
.no-data-found a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
    .product-item-modern {
        min-height: 340px;
    }
    .product-item-image-modern {
        height: 200px;
        padding: 15px;
    }
    .product-item-image-modern img {
        max-height: 155px;
    }
    .card-title-modern {
        font-size: 13px;
        height: 36px;
    }
    .product-price-modern {
        font-size: 15px;
    }
    .btn-cart-only {
        padding: 10px 12px;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .product-item-modern {
        min-height: 320px;
    }
    .product-item-image-modern {
        height: 180px;
    }
    .product-item-image-modern img {
        max-height: 135px;
    }
}