/* ============================================
   OUT OF STOCK & VOUCHER HINT STYLES
   ============================================ */

/* Out of Stock Badge */
.shop-badge-out-of-stock {
    background: #ef4444;
    color: white;
    font-weight: 700;
}

/* Out of Stock Product Card */
.shop-product-card.shop-out-of-stock {
    position: relative;
    opacity: 0.8;
}

.shop-product-card.shop-out-of-stock:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: not-allowed;
}

/* Out of Stock Overlay */
.shop-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Out of Stock Text in Product Card */
.shop-out-of-stock-text {
    padding: 10px 15px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    text-align: center;
    color: #dc2626;
    font-weight: 600;
    font-size: 14px;
}

.shop-out-of-stock-text i {
    margin-right: 6px;
}

/* Out of Stock Message in Product Detail */
.shop-out-of-stock-message {
    padding: 15px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 8px;
    text-align: center;
    color: #dc2626;
    font-weight: 700;
    font-size: 16px;
    margin-top: 15px;
}

.shop-out-of-stock-message i {
    margin-right: 8px;
    font-size: 18px;
}

/* Voucher Hint in Product Card */
.shop-voucher-hint {
    margin-top: 8px;
    padding: 8px 10px;
    background: #ededed;
    /* border: 1px solid #fbbf24; */
    border-radius: 6px;
    font-size: 12px;
    color: #92400e;
    text-align: center;
    line-height: 1.4;
    width: 100%;
}

.shop-voucher-hint i {
    color: #f59e0b;
    margin-right: 4px;
}

.shop-voucher-hint strong {
    color: #78350f;
    font-weight: 700;
}

/* Voucher Hint in Product Detail */
.shop-voucher-hint-detail {
    margin-top: 15px;
    padding: 12px 15px;
    background: #ededed;
    /* border: 2px solid #fbbf24; */
    border-radius: 8px;
    font-size: 14px;
    color: #92400e;
    text-align: center;
    /* animation: shop-voucher-pulse 2s ease-in-out infinite; */
}

.shop-voucher-hint-detail i {
    color: #f59e0b;
    margin-right: 6px;
    font-size: 16px;
}

.shop-voucher-hint-detail strong {
    color: #78350f;
    font-weight: 700;
}

/* Voucher Hint Animation */
@keyframes shop-voucher-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .shop-voucher-hint {
        font-size: 11px;
        padding: 6px 8px;
    }

    .shop-voucher-hint-detail {
        font-size: 13px;
        padding: 10px 12px;
    }

    .shop-out-of-stock-message {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Hover Effects */
/*.shop-product-card:not(.shop-out-of-stock) .shop-voucher-hint:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    transform: scale(1.02);
    transition: all 0.3s ease;
}*/

/* Ensure proper stacking */
.shop-product-badges {
    z-index: 2;
}

/* Additional styles for product detail page */
.shop-product-info .shop-product-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* Disabled button state for out of stock */
.shop-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
