/* hero for frag list */
.fragrance-hero {
    background: linear-gradient(270deg, #7f42a7, #5300a0);
    background-size: 400% 400%;
    animation: backgroundLoop 6s ease infinite;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .fragrance-hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .fragrance-hero-content h1 {
    font-size: 2.6rem;
  }
  
  .underline {
    width: 60px;
    height: 4px;
    background-color: white;
    margin: 1rem auto;
    border-radius: 2px;
  }
  .fragrance-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
  }
  
 
  .fragrance-card-section {
    padding: 3rem 2rem;
    background-color: #fff;
  }
  
  .fragrance-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .fragrance-card {
    background: #e4e2e6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
  }
  
  .fragrance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  
  .fragrance-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  .fragrance-card h3 {
    color: #5300a0;
    margin: 0.4rem 0;
    font-size: 1.3rem;
  }
  
  .brand {
    font-size: 0.95rem;
    color: #555;
  }

  .toggle-details {
    display: none;
  }
  
  .toggle-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    background-color: #5300a0;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .toggle-button:hover {
    background-color: #6f36af;
  }
  
  .fragrance-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    text-align: left;
    margin-top: 1rem;
  }
  
  .toggle-details:checked ~ .fragrance-details {
    max-height: 400px;
    opacity: 1;
  }
  
  .request-banner {
    background: linear-gradient(90deg, #5300a0, #7f42a7);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 1rem;
  }
  
  .request-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .request-content p {
    font-size: 1.1rem;
  }
  .fragrance-list .buttons{
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .fragrance-list .primary{
    background: white;
    color: black;
  }

  
  @media (max-width: 768px) {
    .fragrance-hero-content h1 {
      font-size: 2.2rem;
    }
  
    .fragrance-hero-content p {
      font-size: 1rem;
    }
  
    .fragrance-card h3 {
      font-size: 1.2rem;
    }
  
    .toggle-button {
      width: 100%;
    }
  
    .fragrance-details {
      font-size: 0.95rem;
    }
  }
  @keyframes backgroundLoop {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  

/* hero for frag request */
  .request-hero {
    background: linear-gradient(270deg, #7f42a7, #5300a0);
    background-size: 400% 400%;
    animation: backgroundLoop 6s ease infinite;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    }

    .request-hero h1 {
      font-size: 2.5rem;
    }

    .request-section {
      padding: 2rem;
      max-width: 600px;
      margin: 2rem auto;
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .request-section h2 {
      text-align: center;
      color: #5300a0;
      margin-bottom: 1.5rem;
    }

    form label {
      display: block;
      margin: 1rem 0 0.4rem;
      font-weight: bold;
      color: #333;
    }

    form input,
    form textarea {
      width: 100%;
      padding: 0.7rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
    }

    form textarea {
      resize: vertical;
      height: 100px;
    }

    .request-fragrance .buttons{
      margin-bottom: 20px;
      margin-top: 10px;
      
    }
    .request-fragrance .primary{
      cursor: pointer;
    }