.products_grid_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 30px;
    border-radius: 30px;
    position: relative;
}

.products_grid_card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatAnimation 3s ease-in-out infinite;
}

.products_grid_card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 45px rgba(0,0,0,0.2);
    border-color: #ffd700;
    animation: glowPulse 1.5s infinite;
}

.products_grid_card h3,
.products_grid_card p {
    position: relative;
    z-index: 2;
}

/* تنسيق عنوان "X ساعة" */
.products_grid_card h3:first-of-type {
    color: #ff6b6b;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    background: rgba(255,255,255,0.8);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    border: 2px solid #ffd700;
}

/* تنسيق السعر المشطوب (SAR 300) */
.products_grid_card p:first-of-type {
    color: #e74c3c;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: line-through;
    opacity: 0.7;
    margin-bottom: 5px;
}

/* تنسيق السعر الفعلي (SAR 270) */
.products_grid_card p:last-of-type {
    color: #27ae60;
    font-size: 2.2em;
    font-weight: 900;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 25px rgba(255,215,0,0.6); }
    100% { box-shadow: 0 0 5px rgba(255,215,0,0.3); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.products_grid_card:nth-child(odd) {
    animation-delay: 0.2s;
}

.products_grid_card:nth-child(even) {
    animation-delay: 0.5s;
}