/*Tablet*/
@media (max-width:1100px) {
.d-none-1100 {
    display: none!important;
}
}
@media (max-width:991px) {
.d-none-991 {
    display: none!important;
}
}
@media (max-width:930px) {
.d-none-930 {
    display: none!important;
}
}
@media (min-width:931px) {
.d-none-more-than-931 {
    display: none!important;
}
}
/*Mobile*/
@media (max-width:600px) {
.d-none-600 {
    display: none!important;
}
.col-product-name {
    display: grid!important;
}
.show_product-mobile {
    padding:0!important;
    margin-top: -1.25rem!important;
    margin-bottom: -30px!important;
}
.table {
    display: inline-table!important;
}
.iq-top-navbar .wrapper-menu {
    margin-right:5px!important;
}
}
@media (min-width:601px) {
.d-none-more-than-601 {
    display: none!important;
}
}
@media (max-width: 389px) {
.d-none-389 {
    display: none!important;
}
}
/* --- Khung card chính --- */
.product-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    margin-bottom: 20px; /* Thêm khoảng cách giữa các card */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* --- Phần đầu card --- */
.product-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}
.category-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* --- Phần nội dung mô tả --- */
.product-content {
    margin-bottom: 15px;
    flex-grow: 1; 
}
.product-content p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.text-success {
    color: #28a745 !important;
}

/* --- Thông tin bổ sung --- */
.product-info {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}
.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #6c757d;
}
.info-item strong {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.platform-icon {
    width: 24px;
    height: 24px;
}
.stock-badge {
    background-color: #007bff;
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 50px;
}


/* --- Khu vực Giá và Mua hàng --- */
.product-purchase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
}
.price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.price span {
    font-size: 0.8rem;
    color: #6c757d;
}
.price strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545; 
}
.action-buttons .btn-action {
    border-radius: 10px;
    font-weight: bold;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-buy {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}
.btn-buy:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}
.btn-disabled {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* --- Nút xem trước --- */
.product-preview-link {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
.product-preview-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.product-preview-link a:hover {
    color: #0056b3;
    text-decoration: underline;
}