
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:sans-serif;
}

body {
    background: #f8f5ff;
    color: #333;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f7a5;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #9b5d73;
    margin-bottom: 1.5rem;
    font-family:Lucida Handwriting;
      font-size: 40px;

}
h2 {
    text-align: center;
    color:#b0757c;
    margin-bottom: 1.5rem;
    font-family: Papyrus;
      font-size: 30px;

}

#skincareForm {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

select {
    width: 100;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

button {
    background:#c38b8b;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.hidden {
    display: none;
}

.routine-steps {
    margin-top: 2rem;
}

.routine-step {
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.product-img {
    height: 180px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.product-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.product-brand {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.product-price {
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.platform-badges {
    display: flex;
    gap: 8px;
}

.platform-badge {
    font-size: 12px;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-img {
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.product-img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
