/* ============================================
   صفحه ریشه محصولات — ۴ المان با بک‌گراند
   ============================================ */

.products-landing {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    padding: 0;
}

/* هر سطر ۲ المان — نصف ارتفاع اسکرین */
.category-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 50vh;
    min-height: 340px; /* روی موبایل خیلی کوچک نشود */
    gap: 0;
}

/* کارت دسته‌بندی */
.category-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    color: #fff;
}

/* لایه تاریک برای خوانایی متن */
.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(10, 25, 47, 0.85) 0%,
            rgba(10, 25, 47, 0.25) 60%,
            rgba(10, 25, 47, 0.1) 100%
    );
    transition: opacity 0.4s ease;
}

.category-tile:hover::before {
    opacity: 0.85;
}

.category-tile-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem 1rem;
}

.category-tile-content h2 {
    color: #c9aa60;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.category-tile-content p {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   بخش توضیحات پایین صفحه
   ============================================ */
.products-description {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.description-card {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(201, 170, 96, 0.25);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    color: #e2e8f0;
    line-height: 2;
}

.description-card h1 {
    color: #c9aa60;
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.description-card h2 {
    color: #d7bd78;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

.description-card ul {
    padding-right: 1.2rem;
}

.description-card li {
    margin-bottom: 0.4rem;
}

/* ============================================
   موبایل — هر سطر تک‌ستونه و کل صفحه اسکرول
   ============================================ */
@media (max-width: 767px) {
    .products-landing {
        min-height: auto;
    }

    .category-row {
        grid-template-columns: 1fr;
        height: 40vh;
        min-height: 240px;
    }
}
