:root {
    --primary-color: #6fcee6;
    --primary-hover: #5cb2c9;
    --success-color: #2fbf30;
    --danger-color: #e53935;
    --text-color: #faebd7;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --dark-bg: #1e1f26;
    --accent-color: #03dac6;
    --accent-hover: #ff0266;
    --border-accent: rgba(3, 218, 198, 0.3);
}

/* Base */
.wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* FAQ Styling */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem;
}

.faq-container {
    background: rgba(30, 31, 38, 0.85);
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

/* Modificato per uniformare il font */
.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 400;
    flex: 1;
    padding-right: 2.5rem;
    font-family: "Roboto", sans-serif;
}

/* Modificato per uniformare il font */
.faq-answer p {
    margin-bottom: 1rem;
    color: #ddd;
    line-height: 1.7;
    font-size: 0.95rem;
    font-family: "Roboto", sans-serif;
}

.faq-item {
    border-bottom: 1px solid var(--border-accent);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(30, 31, 38, 0.4);
}

.faq-question:hover {
    background: rgba(3, 218, 198, 0.08);
}

.faq-question.active {
    background: rgba(3, 218, 198, 0.15);
}


.faq-badge {
    background: var(--accent-color);
    color: var(--dark-bg);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.2rem;
    flex-shrink: 0;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(3, 218, 198, 0.3);
}

.arrow-icon {
    position: absolute;
    right: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-question.active .arrow-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: rgba(30, 31, 38, 0.3);
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.faq-answer a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .main {
        padding: 1rem;
    }
    
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1.8rem;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer.active {
        padding: 0 1rem 1rem;
    }
    
    .faq-badge {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
        margin-right: 0.8rem;
    }
}


.accent-icon {
    color: var(--accent-color);
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-top: 1rem; /* Aggiunto per uniformare */
}

.faq-header h2 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 1.5rem; /* Modificato da 0.5rem */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    padding: 0 1rem; /* Aggiunto per responsive */
}

.faq-header .subtitle {
    margin-top: 0.5rem; /* Aggiunto per spaziatura */
}
.subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background: rgba(30, 31, 38, 0.7);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-accent);
}

.cart-icon-container i.fa-question-circle {
    color: var(--accent-color) !important;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(3, 218, 198, 0.5);
}

.cart-icon-container:hover i.fa-question-circle {
    color: var(--accent-hover) !important;
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(255, 2, 102, 0.6);
}

.accent-icon.fa-question-circle {
    color: var(--accent-color);
    filter: drop-shadow(0 0 6px rgba(3, 218, 198, 0.7));
}

.faq-header h2:hover .accent-icon.fa-question-circle {
    color: var(--accent-hover);
    transform: rotate(15deg);
}