@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header.scrolled {
    padding: 5px 15px;
}

.header.scrolled .logo {
    height: 30px;
}
.fa-house { 
    font-size: 18px;
}
.fa-house, .fa-shopping-cart {
    text-decoration: none;
    color: #858383;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
}

.logo {
    height: 40px;
    transition: all 0.3s ease;
}
.favorites-title {
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    background-color: #fff;
}

.favorites-title h1 {
    font-size: 24px;
    color: #dd0a17;
}

main {
    padding: 20px;
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-icon {
    width: 120px;
    height: 120px;
    background-color: #e0e0e0;
    border-radius: 20%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: #dd0a17;
    margin-bottom: 10px;
}

.profile-icon-wrapper h2 {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.config-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.config-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #dd0a17;
}

.config-item {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.config-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.toggle-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.toggle-container span {
    margin-right: 10px;
}

.toggle-btn {
    background-color: #e0e0e0;
    border: none;
    padding: 8px 12px;
    margin-right: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-btn.active {
    background-color: #dd0a17;
    color: #fff;
}

.change-photo-btn,
.save-preferences-btn {
    background-color: #dd0a17;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
}

.change-photo-btn:hover,
.save-preferences-btn:hover {
    background-color: #dd0a17;
}

.news-section {
    background-color: #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.news-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    margin: 0 5px;
}

.dot.active {
    background-color: #dd0a17;
}

.bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.condiciones,
.change-password {
    color: #dd0a17;
    text-decoration: none;
    text-align: center;
}

.save-preferences-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .config-section,
    .config-item {
        padding: 15px;
    }

    .toggle-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 380px){
    .toggle-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
}