/* 상품 상세 페이지 스타일 */

.product-detail-section {
    padding: 40px 20px;
    background: white;
}

.products-section {
    padding: 60px 20px 80px;
    background: white;
    min-height: 60vh;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.products-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.products-filter select {
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.products-filter select:hover {
    border-color: var(--primary-color);
}

.products-filter select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    min-height: 500px;
}

.product-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info-section {
    padding: 20px 0;
}

.product-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-description-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-price-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.product-price-large {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    font-weight: 600;
    min-width: 120px;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-light);
}

.spec-badge {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
}

.product-quantity {
    margin-bottom: 25px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-input {
    width: 80px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-large {
    flex: 1;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cart {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-cart:hover {
    background: var(--primary-color);
    color: white;
}

.btn-buy {
    background: var(--primary-color);
    color: white;
}

.btn-buy:hover {
    background: #0052a3;
}

.product-detailed-info {
    margin-top: 60px;
    border-top: 2px solid var(--text-dark);
    padding-top: 40px;
}

.info-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-tab {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.info-tab.active {
    color: var(--primary-color);
}

.info-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.info-content {
    display: none;
    padding: 30px 0;
}

.info-content.active {
    display: block;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.info-table th {
    background: var(--bg-light);
    font-weight: 600;
    width: 200px;
}

.delivery-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.delivery-notice h4 {
    color: #856404;
    margin-bottom: 10px;
}

.delivery-notice ul {
    list-style-position: inside;
    color: #856404;
}

.delivery-notice li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .products-section {
        padding: 40px 15px 60px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }

    .products-filter {
        width: 100%;
    }

    .products-filter select {
        width: 100%;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-section {
        min-height: 300px;
        padding: 40px;
    }

    .product-image-large {
        font-size: 80px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price-large {
        font-size: 28px;
    }

    .product-actions {
        flex-direction: column;
    }
}
