/* =========================================================
   STOREFRONT RESPONSIVE POLISH
   ========================================================= */

/* Tablet */

@media (min-width: 640px) and (max-width: 1023px) {
  .storefront-header > div {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .storefront-header nav {
    gap: 1.15rem;
    font-size: 0.72rem;
  }

  .storefront-admin-button {
    padding-inline: 0.9rem;
    font-size: 0.72rem;
  }

  .storefront-hero {
    min-height: auto;
  }

  .storefront-hero > div:last-child {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .storefront-hero-title {
    font-size: clamp(3rem, 6vw, 4rem);
  }

  .storefront-hero-description {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .storefront-hero-visual {
    min-height: 24rem;
  }

  .storefront-character-image {
    max-width: 29rem;
  }



  .storefront-benefit-card,
  .storefront-testimonial-card {
    padding-inline: 1.15rem;
  }
}

/* Mobile */

@media (max-width: 639px) {
  html {
    scroll-padding-top: 4.25rem;
  }

  .storefront-header > div {
    height: 4.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .storefront-brand {
    gap: 0.65rem;
  }


  .storefront-brand .font-display {
    font-size: 1.05rem;
  }

  .storefront-hero {
    min-height: auto;
    align-items: flex-start;
    background:
      radial-gradient(
        circle at 75% 66%,
        rgba(220, 227, 215, 0.78),
        transparent 16rem
      ),
      linear-gradient(
        155deg,
        var(--store-bg) 0%,
        #F2EDE4 58%,
        var(--store-bg-soft) 100%
      );
  }

  .storefront-hero > div:last-child {
    padding-top: 3rem;
    padding-bottom: 2.75rem;
  }

  .storefront-hero > div:last-child > div {
    gap: 1.5rem;
  }

  .storefront-hero-copy {
    text-align: center;
  }

  .storefront-eyebrow {
    padding: 0.4rem 0.7rem;
    font-size: 0.62rem;
    letter-spacing: 0.075em;
  }

  .storefront-hero-title {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.15rem;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .storefront-hero-title span {
    display: inline;
  }

  .storefront-hero-description {
    max-width: 31rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.7;
  }


  .storefront-hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .storefront-hero-actions .storefront-primary-button,
  .storefront-hero-actions .storefront-secondary-button {
    width: 100%;
    max-width: 22rem;
  }

  .storefront-primary-button,
  .storefront-secondary-button {
    min-height: 2.85rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.8rem;
  }



  .storefront-hero-visual {
    min-height: 16rem;
    margin-top: -0.75rem;
  }

  .storefront-character-glow {
    inset: 5% 2% 0;
  }

  .storefront-character-image {
    width: min(100%, 22rem);
    max-width: 22rem;
  }

  .storefront-hero-orb-one {
    top: 43%;
    right: -4rem;
    width: 13rem;
    height: 13rem;
  }

  .storefront-hero-orb-two {
    display: none;
  }

  .storefront-leaf-left {
    width: 7rem;
    opacity: 0.65;
  }

  /* Section spacing */

  .storefront-products,
  .storefront-benefits,
  .storefront-testimonials,
  .storefront-faq {
    padding-left: 1rem;
    padding-right: 1rem;
  }


  .storefront-section-title {
    font-size: clamp(1.85rem, 9vw, 2.25rem);
    line-height: 1.12;
  }


  /* Category filter */

  .thin-scroll {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-padding-inline: 1rem;
  }



  /* Product cards */

  .storefront-product-card {
    border-radius: 0.95rem;
  }

  .storefront-product-image {
    aspect-ratio: 4 / 3;
  }






  /* Benefits */

  .storefront-benefit-card {
    padding: 1.2rem 0.8rem;
  }

  .storefront-benefit-title {
    font-size: 0.82rem;
  }

  .storefront-benefit-description {
    font-size: 0.7rem;
    line-height: 1.6;
  }

  /* Testimonials */

  .storefront-testimonial-card {
    padding: 1.35rem 1rem;
  }

  .storefront-testimonial-quote {
    font-size: 0.76rem;
  }

  /* FAQ */

  .storefront-faq-question {
    padding-right: 0.5rem;
    font-size: 0.82rem;
  }

  .storefront-faq-answer {
    font-size: 0.74rem;
    line-height: 1.65;
  }

  /* Footer */

  .storefront-footer > div {
    padding-top: 2rem;
    padding-bottom: 5.5rem;
  }

  .storefront-footer-tagline {
    font-size: 0.62rem;
  }

  .storefront-mobile-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* Extra-small phones */

@media (max-width: 374px) {
  .storefront-hero-title {
    font-size: 2.3rem;
  }

  .storefront-products .grid-cols-2 {
    gap: 0.65rem;
  }



  .storefront-benefit-card {
    padding-inline: 0.65rem;
  }

}

/* Prevent accidental horizontal overflow */

.storefront-theme {
  overflow-x: hidden;
}

.storefront-theme img,
.storefront-theme svg {
  max-width: 100%;
}
