/* category_view.css */

body {
    margin: 0;
    font-family: '맑은 고딕', 'Pretendard', 'Noto Sans KR', sans-serif;
    background-color: #f9f9f9;
}

.category-list-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.category-list-container h2 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #222;
}

.product-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.product-list-table thead th {
    background-color: #ffffff; /*default:#e6f0e6*/
    padding: 20px 12px;
    border-bottom: 2px solid #2d8c2d; /*default:#2d8c2d;*/
    color: #333;
    text-align: left;
}

.product-list-table tbody td {
    border-bottom: 1px dotted #ccc;
    padding: 15px 12px;
    vertical-align: middle;
}

.product-image {
    width: 100px;
    height: auto;
    border-radius: 6px;
}

.spec-line {
    line-height: 1.6;
    font-weight: 500;
    color: #222;
}

a {
    color: #1a6bd7;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
}


/* ✅ 장바구니 담기 모달 */
#estimate-modal {
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 8px;
}

#estimate-modal p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #222;
}

#estimate-modal button {
    padding: 8px 16px;
    margin: 0 5px;
    font-size: 14px;
    background-color: #2d8c2d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#estimate-modal button:hover {
    background-color: #256d25;
}
