/* Tablet Optimization for Steel Products Page */

.container{
    margin: 0 auto;
    padding: 0;
}

/* Base tablet styles (1024px - 1199px) */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .steel-products {
        padding: 24px 32px 32px 32px;
        width: 100%;
        max-width: 100%;
    }

    .steel-products__header {
        margin-bottom: 32px;
    }

    .steel-products__title {
        font-size: 2.25rem;
        letter-spacing: -0.5px;
    }

    .steel-products__divider {
        width: 240px;
        margin: 0 0 1.25rem 0;
    }

    .steel-products__subtitle {
        font-size: 0.95rem;
    }

    .steel-products__list {
        gap: 24px;
    }

    .steel-products__card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        padding: 24px;
        min-height: 300px;
        box-shadow: none;
    }

    .steel-products__image {
        width: 360px;
        height: 260px;
        flex-shrink: 0;
        box-shadow: none;
    }

    .steel-products__content {
        flex: 1;
        padding: 0;
    }

    .steel-products__card-title {
        font-size: 1.375rem;
        margin-bottom: 20px;
    }

    .steel-products__desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .steel-products__btn {
        font-size: 0.95rem;
        padding: 12px 24px;
        box-shadow: none;
    }
}

/* Small tablet styles (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .steel-products {
        padding: 20px 24px 28px 24px;
        width: 100%;
        max-width: 100%;
    }

    .steel-products__header {
        margin-bottom: 28px;
    }

    .steel-products__title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .steel-products__divider {
        width: 200px;
        margin: 0 0 1.25rem 0;
    }

    .steel-products__subtitle {
        font-size: 0.9rem;
    }

    .steel-products__list {
        gap: 20px;
    }

    .steel-products__card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 20px;
        min-height: 280px;
        box-shadow: none;
    }

    .steel-products__image {
        width: 300px;
        height: 220px;
        flex-shrink: 0;
        box-shadow: none;
    }

    .steel-products__content {
        flex: 1;
        padding: 0;
        height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .steel-products__card-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .steel-products__desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 16px;
        max-height: 100px;
        overflow-y: auto;
    }

    .steel-products__btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-top: auto;
        box-shadow: none;
    }
}

/* Landscape tablet styles (1024px - 1199px) */
@media screen and (min-width: 1024px) and (max-width: 1199px) and (orientation: landscape) {
    .steel-products {
        padding: 20px 32px 28px 32px;
    }

    .steel-products__title {
        font-size: 2.5rem;
    }

    .steel-products__divider {
        width: 280px;
    }

    .steel-products__card {
        min-height: 280px;
        box-shadow: none;
    }

    .steel-products__image {
        height: 240px;
        box-shadow: none;
    }
}

/* Portrait tablet styles (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .steel-products {
        padding: 16px 24px 24px 24px;
    }

    .steel-products__title {
        font-size: 2.125rem;
    }

    .steel-products__divider {
        width: 220px;
    }

    .steel-products__card {
        min-height: 260px;
        box-shadow: none;
    }

    .steel-products__image {
        width: 280px;
        height: 200px;
        box-shadow: none;
    }

    .steel-products__content {
        height: 200px;
    }
}

/* Tablet hover effects */
@media (hover: hover) and (min-width: 768px) and (max-width: 1199px) {
    .steel-products__card {
        transition: transform 0.3s ease;
    }

    .steel-products__card:hover {
        transform: translateY(-2px);
    }

    .steel-products__btn:hover {
        background: var(--color-secondary);
    }

    .steel-products__btn:hover .steel-products__btn-arrow {
        transform: translateX(4px);
    }
}
