/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px; /* Default body text size */
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif; /* Use Poppins or Montserrat for headings */
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  /* Ordem padrão (Desktop) */
  .one-bottle {
    order: 1;
  }
  
  .six-bottles {
    order: 2;
  }
  
  .three-bottles {
    order: 3;
  }
  
  /* Ordem personalizada para Mobile */
  @media (max-width: 767px) {
    .purchase-grid {
      grid-template-columns: 1fr; /* Layout em coluna única no mobile */
    }
  
    .six-bottles {
      order: 1;
    }
  
    .three-bottles {
      order: 2;
    }
  
    .one-bottle {
      order: 3;
    }
  }
  
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive Font Sizes */
h1, h2 {
    font-size: 28px; /* Mobile default */
}

@media (min-width: 768px) {
    h1, h2 {
        font-size: 36px; /* Desktop */
    }
    body {
        font-size: 18px; /* Desktop body text */
    }
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: #8e2d32; /* Purple */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    background-color: #712424; /* Darker Purple */
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 60px 0;
}

.highlight-bg {
    background-color: #fceeee; /* Light Purple highlight */
}

/* Add more specific styles for each section below */


/* --- Header Styles --- */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: bold;
    color: #555;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #8e2d32; /* Purple */
}

.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Section Styles --- */
.hero-section {
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-image {
    flex: 1;
    text-align: center; /* Center image if needed */
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 36px; /* Adjusted based on instructions */
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-text .subheadline {
    font-size: 18px; /* Adjusted based on instructions */
    margin-bottom: 30px;
    color: #555;
}

/* --- Emotional Introduction Styles --- */
.intro-section p {
    max-width: 800px;
    margin: 20px auto 0 auto;
}

/* --- Problem / Solution Styles --- */
.problem-solution-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.problem-solution-image {
    flex: 1;
    text-align: center;
}

.problem-solution-text {
    flex: 1;
}

.problem-solution-text h3 {
    margin-bottom: 15px;
    font-weight: normal;
    font-size: 20px;
}

.problem-solution-text p {
    margin-top: 20px;
}

/* --- Key Benefits Styles --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 columns */
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.benefit-item img {
    max-width: 100px; /* Adjust as needed */
    margin: 0 auto 15px auto;
    border-radius: 50%; /* Circular images like reference */
}

.benefit-item h4 {
    margin-bottom: 10px;
}

.benefit-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

/* --- Testimonials Styles --- */
.testimonials-section h3 {
    font-weight: normal;
    font-size: 22px;
    margin-bottom: 15px;
}

.star-rating {
    font-size: 24px;
    color: #f39c12; /* Yellow/Orange for stars */
}

/* --- Purchase Options Styles --- */
.purchase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.purchase-option {
    border: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purchase-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.purchase-option h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

.purchase-option .price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2ecc71;
}

.purchase-option .shipping {
    font-size: 14px;
    color: #777;
    display: block;
}

.purchase-option .bottle-price {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.popular-badge, .value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000; /* Red from label */
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.value-badge {
    background-color: #EF433C; /* Purple from label */
}

.purchase-option.popular {
    border: 2px solid #232A36; /* Red from label */
}

.purchase-option.best-value {
     border: 2px solid #EF433C; /* Purple from label */
}

.trust-badges img {
    margin: 30px auto 0 auto;
}

/* --- FAQ Section Styles --- */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for toggle icon */
    font-family: 'Roboto', sans-serif;
}

.faq-question::after {
    content: '+'; /* Toggle icon */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #2ecc71;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Ensure transition is defined here */
    padding: 0 15px;
}

.faq-answer p {
    margin: 0 0 15px 0;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed, ensure it's large enough */
    padding-bottom: 15px;
}

/* --- Guarantee Section Styles --- */
.guarantee-section img {
    margin: 0 auto 20px auto;
}

/* --- Footer Styles --- */
.footer {
    padding: 40px 0 20px 0;
    font-size: 14px;
    color: #555;
}

.footer-container {
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav li {
    margin: 5px 15px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .purchase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .header-container {
        position: relative;
    }
    .main-nav {
        display: none; /* Hide nav on mobile initially */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        display: block;
        padding: 15px;
    }
    .mobile-nav-toggle {
        display: block; /* Show hamburger */
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 28px; /* Mobile heading size */
    }

    .problem-solution-container {
        flex-direction: column;
        text-align: center;
    }
    .problem-solution-image {
        margin-bottom: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .purchase-grid {
        grid-template-columns: 1fr;
    }
    .purchase-option {
        margin-bottom: 20px; /* Add space between stacked boxes */
    }
    .purchase-option:last-child {
        margin-bottom: 0;
    }
}



/* --- Footer Styles --- */
.footer {
    background-color: #4d0b0e; /* Purple */
    color: white;
    padding: 40px 0;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: center;
}

.footer-nav li {
    display: inline-block;
    margin: 0 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer .disclaimer {
    font-size: 12px;
    color: #ccc; /* Lighter gray for disclaimer text */
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #b34d4d; /* Slightly lighter purple border */
    padding-top: 20px;
}

.footer .disclaimer p {
    margin-bottom: 10px;
}

.buygoods-logo img {
    display: block; /* Ensure it behaves like a block for centering */
    filter: grayscale(100%) brightness(1.5); /* Make logo lighter/white-ish */
}



/* --- New FAQ Styles from pasted_content.txt --- */
.accordion-button {
    background-color: #fff;
    color: #333;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: 1px solid #ddd;
    text-align: left;
    outline: none;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.2s ease;
  }
  
  .accordion-button:hover {
    background-color: #f1f1f1;
  }
  
  .accordion-button.active + .accordion-content {
    max-height: 500px;           /* ✅ altura suficiente para o conteúdo */
    padding-top: 15px;           /* ✅ adiciona espaçamento ao abrir */
    padding-bottom: 15px;
  }
  
  .accordion-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  
  .accordion-content p {
    margin: 15px 0;
  }
  
  }

  .accordion-button.active + .accordion-content {
    max-height: 200px; /* Adjust if your content is longer */
  }



/* Logo Resize */
.logo {
    width: 40%;
    height: auto;
    margin: 0 auto; /* Center logo if needed */
}

/* === Correção: Alinhar logo à esquerda no desktop e centralizar no mobile === */
.logo {
    width: 150px;
    height: auto;
    margin: 0;
}

@media (max-width: 767px) {
    .logo {
        margin: 0 auto;
        display: block;
    }

    .mobile-nav-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
}