/* product_style.css */
body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
}

.breadcrumb {
    max-width: 1200px;
    margin: 15px auto 10px;
    font-size: 12px;
    color: #666;
    padding: 0 15px;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.product-image-col {
    background: white;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #eee;
}

.badge-red {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #d32f2f;
    color: white;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

.product-image-col img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-info-col {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.product-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-rating {
    font-size: 12px;
    color: #666;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating a {
    color: #1c449c;
    text-decoration: none;
    font-weight: 600;
}

.product-price-area {
    margin-bottom: 25px;
}

.old-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-badge {
    color: #009e5f;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.current-price {
    color: #009e5f;
    font-size: 28px;
    font-weight: 800;
}

.current-price small {
    font-size: 16px;
}

.add-to-cart-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.add-to-cart-btn {
    flex: 1;
    background-color: #2b31d8;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.add-to-cart-btn:hover {
    background-color: #1e24ab;
}

.fav-btn {
    background-color: #f8f9fc;
    border: 1px solid #ddd;
    color: #333;
    width: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
}

.info-banner {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-banner.purple {
    background-color: #f4e8ff;
    color: #4a148c;
}

.info-banner.yellow {
    background-color: #fff9e6;
    color: #795548;
}

.seller-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.seller-info .s-name {
    color: #1c449c;
    font-weight: bold;
}

.seller-score {
    background-color: #009e5f;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
}

.btn-ask {
    background-color: white;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.product-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.product-tabs div {
    padding: 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
}

.product-tabs div.active {
    color: #2b31d8;
    border-bottom: 3px solid #2b31d8;
}

.product-description {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
    color: #444;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}
