/* Simple Product Action Buttons */

.product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    min-width: 140px;
    font-family: 'Vazir', sans-serif;
}

.product-btn-details {
    background-color: #f8f9fa;
    color: #2f2f2f;
    border: 2px solid #dee2e6;
}

.product-btn-details:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-btn-buy {
    background-color: #d95c3a;
    color: #ffffff;
    border: 2px solid #d95c3a;
}

.product-btn-buy:hover {
    background-color: #c04a2e;
    border-color: #c04a2e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 92, 58, 0.4);
}

.product-btn:active {
    transform: translateY(0);
}

/* Redesign icon-cross buttons to be simple and always visible */
.product-item .icon-cross.package {
    position: static !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    margin-bottom: 0 !important;
    transform: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 140px !important;
    color: #ffffff !important;
    background: #2f2f2f !important;
    border: 2px solid #2f2f2f !important;
}

.product-item .icon-cross.package.exam {
    background-color: #f8f9fa !important;
    color: #2f2f2f !important;
    border-color: #dee2e6 !important;
}

.product-item .icon-cross.package.exam:hover {
    background-color: #e9ecef !important;
    border-color: #adb5bd !important;
    color: #212529 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.product-item .icon-cross.package.cashline {
    background-color: #d95c3a !important;
    color: #ffffff !important;
    border-color: #d95c3a !important;
}

.product-item .icon-cross.package.cashline:hover {
    background-color: #c04a2e !important;
    border-color: #c04a2e !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(217, 92, 58, 0.4) !important;
}

/* Container for buttons in product-item */
.product-item {
    text-align: center;
    padding-bottom: 20px !important;
}

/* Group icon-cross buttons together - display side by side */
.product-item > .icon-cross.package {
    margin: 5px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Spacing between buttons */
.product-item > .icon-cross.package:first-of-type {
    margin-top: 15px !important;
}

.product-item > .icon-cross.package + .icon-cross.package {
    margin-right: 10px !important;
    margin-left: 0 !important;
}

.product-item .product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* For old product-item structure (backward compatibility) */
.product-item .product-actions {
    position: static;
    width: 100%;
    transform: none;
}

/* Responsive */
@media (max-width: 576px) {
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-btn,
    .product-item .icon-cross.package {
        width: 100%;
        min-width: auto;
    }
}

