html {
    /* Prevents font size adjustment after orientation changes in iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



.faq-item summary::after {
    content: '+';
    font-family: serif;
    font-size: 20px;
    font-weight: 200;
    transition: transform 0.4s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg); /* Turns + into x */
}


/* Animation for smooth opening */
.faq-item[open] .faq-content {
    animation: fadeDown 0.5s ease-out;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.file-wrapper {
    border: 1px dashed #ddd;
    padding: 30px;
    text-align: center;
    transition: border 0.3s;
}

.file-label {
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.file-label input { display: none; }

.faq-section {
    background-color: #ffffff; /* Solid white background */
    width: 100%;
    padding: 100px 0;
    margin: 50px 0 0 0;
}

.faq-container {
    /* Constant width to prevent jumping between languages */
    width: 90%;
    max-width: 900px; 
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #eee;
    /* Prevents horizontal width shifts when text wraps differently */
    display: block; 
    width: 100%;
}

.faq-item summary {
    padding: 25px 0;
    list-style: none;
    outline: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Prevents the 'jump' by ensuring the summary always takes full width */
    min-width: 100%; 
}

.faq-content {
    /* Constant height/spacing to smooth out the transition */
    padding: 0 0 30px 0;
    max-width: 100%;
    line-height: 1.6;
    color: #555;
    text-transform: none; /* Keep answers natural-case */
}





h2.section-title {

    font-size: 24px !important;

    letter-spacing: 4px;

    margin-bottom: 50px;

}



.faq-item summary {
    padding: 25px 0;
    list-style: none;
    outline: none;
    cursor: pointer;
    
    /* Updated size */
    font-size: 20px !important; 
    
    /* Refinement for larger text */
    font-weight: 300; 
    letter-spacing: 0.5px;
    text-transform: none; /* Lowercase/Sentence case looks better at 20px */
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 100%;
    color: #1a1a1a;
}

/* Ensure the answer text remains readable but slightly smaller than the question */
.faq-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}





/* Mobile Responsiveness */
@media (max-width: 768px) {
  
    
    .faq-item summary {
        font-size: 20px !important;
        padding: 20px 0;
    }

    /* 1. Reset base font size */
    body {
        font-size: 16px !important; /* Standard readable size */
    }

    /* 2. Fix the 'Tiny Title' issue */
    h1, .checkout-title, .section-title {
        font-size: 24px !important;
        letter-spacing: 2px !important;
    }

    /* 3. Fix the 'Tiny Labels' issue */
    .category-label, .input-wrapper label {
        font-size: 18px !important;
        letter-spacing: 1px !important;
    }

    /* 4. Ensure buttons are tappable and not tiny */
    .editorial-submit, .pill, .lg-btn {
        font-size: 12px !important;
        padding: 15px 20px !important;
    }

    /* 5. Prevent the container from shrinking */
    .center-stack, .gift-editorial, .custom-order-section {
        width: 100% !important;
        box-sizing: border-box;
    }


    /* Adjust the text header to match the bigger images */
    .gift-text-header {
        margin-bottom: 30px;
        padding: 0 10px;
        
    }
  

    .product-checkout-section {
        margin: 40px auto;
    }
    .checkout-card {
        padding: 30px 20px;
    }
}

