

.container2 {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    /*font-family: 'Biski Trial', sans-serif;*/
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    background-color: #f8f9fa;
    color: #2d3436;
    line-height: 1.6;
}

p1 {
    text-align: center;
    font-family: 'Marhey', sans-serif;
    font-weight: bold;
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(144, 160, 145, 1); /* ظل مع توهج أخضر مخصص */
    animation: glow 1.5s infinite alternate;
    position: relative;
}
p1::after {
    content: '';
    display: block;
    width: 90px;
    height: 5px;
    background: linear-gradient(45deg, #8B9B8B, #a8e6cf);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
@keyframes glow {
    0% { text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3), 0 0 5px rgba(139, 155, 139, 0.6); }
    50% { text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3), 0 0 15px rgba(139, 155, 139, 1); }
    100% { text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3), 0 0 5px rgba(139, 155, 139, 0.6); }
}



.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #8B9B8B, #a8e6cf);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-image {
    width: 300px;
    height: 240px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

h3 {
    font-family: 'Marhey', sans-serif;

    font-size: 1.4rem;
    margin-bottom: 12px;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 2px 2px 6px var(--primary-color);
    font-weight: 600;
}

p3 {
    font-family: 'Marhey', sans-serif;

    font-size: 1rem;
    color: #636e72;
    margin-bottom: 20px;
    line-height: 1.6;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B9B8B;
    margin-bottom: 25px;
    display: block;
}

.add-to-cart {
    font-family: 'Marhey', sans-serif;
    padding: 12px 30px;
    background: linear-gradient(45deg, #8B9B8B, #a8e6cf);
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 30px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #a8e6cf, #8B9B8B);
    opacity: 0;
    transition: all 0.4s ease;
}

.add-to-cart:hover::before {
    opacity: 1;
}

.add-to-cart span {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    transform-origin: center center;
}

.hero-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .hero-image {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2.5rem;
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    h1 {
        font-size: 2.2rem;
        padding: 25px 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .product-image {
        width: 300px;
        height: 280px;
    }
    .product-image img{
        width: 200px;
        height: 300px;
        object-fit: contain;
    }
    .slider-button {
        display: block !important;
    }
}
.product-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
}
@keyframes fadeInOut {
    0% { opacity: 0; bottom: 0; }
    10% { opacity: 1; bottom: 20px; }
    90% { opacity: 1; bottom: 20px; }
    100% { opacity: 0; bottom: 0; }
}