/* barrier-free.css */

.barrier-free-page {
    padding-top: 100px;
}

.barrier-free-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.barrier-free-content .page-title {
    text-align: left;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6a00;
}

/* 메인 이미지 */
.barrier-free-hero {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.barrier-free-hero .hero-image {
    width: 100%;
    height: auto;
}

/* 상품 섹션 */
.products-section {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.products-section .section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

/* 준비 중 안내 */
.products-notice {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 25px;
    text-align: center;
}

.products-notice p {
    margin: 0;
    color: #5d4037;
    font-size: 0.95rem;
}

.products-notice i {
    color: #ff6a00;
    margin-right: 8px;
}

.products-notice a {
    color: #ff6a00;
    text-decoration: none;
}

.products-notice a:hover {
    text-decoration: underline;
}

.products-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ff6a00;
    margin: 15px auto 0;
}

/* 상품 그리드 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

/* 상품 카드 */
.product-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px 15px;
}

.product-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff6a00;
    margin-bottom: 0;
}

/* 로딩/에러 메시지 */
.loading-products,
.no-products,
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 1rem;
    grid-column: 1 / -1;
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .barrier-free-page {
        padding-top: 120px;
    }

    .barrier-free-content {
        padding: 15px;
    }

    .barrier-free-content .page-title {
        font-size: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .barrier-free-intro {
        padding: 20px;
    }

    .barrier-free-intro p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .products-section .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .barrier-free-page {
        padding-top: 100px;
    }

    .barrier-free-content .page-title {
        font-size: 1.3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 0.95rem;
    }
}

