/* ========================================
   فرش در دکوراسیون خانه
======================================== */

.home-decor {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
    direction: ltr;
    margin: 72px 0 60px;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--gray-light);
}

.home-decor-image {
    min-width: 0;
    background-color: #EEEEEE;
}

    .home-decor-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.home-decor-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 48px 40px;
    direction: rtl;
    text-align: right;
}

.home-decor-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #666666;
    font-size: 13px;
    font-weight: 500;
}

.home-decor-content h2 {
    margin: 0 0 20px;
    color: var(--text-black);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.7;
}

.home-decor-content p {
    margin: 0 0 28px;
    color: #666666;
    font-size: 15px;
    line-height: 2.2;
}

.home-decor-button,
.home-decor-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: var(--brand-green);
    color: #10251B !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .home-decor-button:hover {
        background-color: var(--green-dark);
        color: var(--white) !important;
    }

    .home-decor-button:focus-visible {
        outline: 2px solid var(--text-black);
        outline-offset: 4px;
    }

@media (max-width: 991px) {
    .home-decor {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-decor-image img {
        height: auto;
    }

    .home-decor-content {
        padding: 32px;
    }
}

@media (max-width: 575px) {
    .home-decor {
        margin-top: 48px;
        margin-bottom: 40px;
        border-radius: 8px;
    }

    .home-decor-content {
        padding: 28px 22px;
    }

        .home-decor-content h2 {
            margin-bottom: 14px;
            font-size: 25px;
        }

        .home-decor-content p {
            margin-bottom: 22px;
            font-size: 14px;
        }

    .home-decor-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-decor-button {
        transition: none;
    }
}
