* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; color: #333; }

.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
}
.sticky-header img { height: 40px; }
.sticky-header nav ul { display: flex; list-style: none; }
.sticky-header nav li { margin-left: 20px; }
.sticky-header nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: color 0.2s;
}
.sticky-header nav a:hover { color: #ff3e6c; }

main { padding-top: 80px; }
.product-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding: 0 20px;
    align-items: flex-start;
}
.smart-match-section {
    flex: 0 0 300px;
    background: #f5f5f6;
    padding: 20px;
    border-radius: 4px;
}
.smart-match-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
    color: #282c3f;
}
.smart-match-buttons { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
.smart-match-button {
    background: #ff3e6c;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
.smart-match-button:hover { background: #ff527b; }
.iframe-container iframe { border-radius: 4px; }

.product-content { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.product-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.product-detail {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.product-detail h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff3e6c;
    margin-bottom: 15px;
}
.product-description { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
.form-group { margin-bottom: 15px; display: flex; flex-direction: column; }
.form-group label { margin-bottom: 5px; font-weight: bold; }
.form-group select, .form-group input {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.button-container button {
    background: linear-gradient(45deg, #ff3e6c, #d9365e);
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.button-container button:hover { background: #ff527b; }

footer {
    text-align: center;
    padding: 20px;
}
.heart { color: red; animation: heartbeat 1s infinite; }
@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (max-width: 768px) {
    .product-container { flex-direction: column; }
    .smart-match-section, .product-content { width: 100%; }
}
