body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.header-logo{
    max-width: 350px;
    margin-bottom: 15px;
}

header h1 {
    font-size: 2em;
    font-weight: 700;
    color: #004d40;
}

header p {
    font-size: 1.1em;
    color: #555;
}

.main-container {
    display: flex;
    width: 90%;
    max-width: 1400px;
    gap: 30px;
    margin-bottom: 20px;
}

.shopping-cart {
    position: sticky;
    top: 20px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    flex-shrink: 0;
}

.shopping-cart h2 {
    text-align: center;
    color: #004d40;
    border-bottom: 2px solid #004d40;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

#cart-list {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.remove-btn {
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-actions p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

#confirm-selection-btn {
    width: 100%;
    padding: 15px;
    background-color: #004d40;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#confirm-selection-btn:hover {
    background-color: #00332c;
}

.content-wrapper {
    flex-grow: 1;
}

.view {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-btn {
    background-color: #fff;
    border: 2px solid #004d40;
    color: #004d40;
    padding: 15px;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    aspect-ratio: 1 / 1;
}

.category-btn:hover {
    background-color: #004d40;
    color: #fff;
}

.category-btn i {
    font-size: 2.5em;
    margin-bottom: 5px;
}

.category-btn span {
    font-size: 1em;
    font-weight: 700;
}

.back-btn {
    background-color: #d9534f;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #c9302c;
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.activity-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.activity-item h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #004d40;
}

.activity-item p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #666;
}

.add-to-cart-btn {
    background-color: #004d40;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-end;
}

.add-to-cart-btn:hover {
    background-color: #00332c;
}

.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #004d40;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.send-email-btn {
    width: 100%;
    padding: 15px;
    background-color: #004d40;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-email-btn:hover {
    background-color: #00332c;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #004d40;
    color: #fff;
    font-size: 0.9em;
    line-height: 1.6;
    margin-top: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: text-decoration 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (min-width: 1024px) {
    .footer-contact {
        flex-direction: row;
        gap: 30px;
    }
}

@media (max-width: 1023px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .shopping-cart {
        position: relative;
        width: 100%;
        max-width: 700px;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }

    .content-wrapper {
        width: 100%;
        max-width: 700px;
    }
}