/* Auto-generated from mockup/pomifera-homepage.html — do not edit by hand */

:root {
      /* Brand tokens (per spec) */
      --pom-cream:        #F5F1EA; /* --beige-bg */
      --pom-cream-light:  #F5F1EA; /* unified beige */
      --pom-olive:        #6F7F4F; /* --primary-green */
      --pom-olive-dark:   #5A6A40; /* slightly darker for hover */
      --pom-deep-green:   #2F4A3C; /* --deep-green (CTA / brand-story bg) */
      --pom-text:         #1A1A1A; /* --text-dark */
      --pom-muted:        #6D6D6D; /* --text-muted */
      --pom-yellow:       #C8A95B; /* --accent-gold */
      --pom-border:       #E6DECF;
    }
    body { font-family: 'Inter', sans-serif; color: var(--pom-text); background: #FFF; }
    h1,h2,h3,h4,h5,h6,.serif { font-family: 'kudryashev-d-contrast', 'Playfair Display', serif; font-weight: 400; letter-spacing: -0.005em; }
    .display-pom { font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.1; }
    .eyebrow { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--pom-muted); }
    .btn-pom { background: var(--pom-olive); color: #fff; border: 0; border-radius: 0;
               padding: .9rem 2rem; letter-spacing: .15em; font-size: .72rem; font-weight: 500;
               text-transform: uppercase; transition: background .2s; }
    .btn-pom:hover { background: var(--pom-olive-dark); color: #fff; }
    .btn-pom-light { background: transparent; color: #F8F6F2; border: 2px solid #F8F6F2; }
    .btn-pom-outline { background: transparent; color: #1B1B1B; border: 2px solid #1B1B1B;
                       border-radius: 0; padding: .85rem 2rem; letter-spacing: .15em; font-size: .72rem;
                       text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
    .btn-pom-outline:hover { background: var(--pom-olive); color: #fff; border-color: var(--pom-olive); }
    .bi-person{
        font-size: 1.4rem;
        line-height: 0;
    }
    /* Section-scoped button overrides — borders kept at 1px on both states to prevent layout shift */
    #section-6 .btn,
    #section-7 .btn {
      background: #fff; color: #000; border: 1px solid #fff;
      transition: background .2s, color .2s, border-color .2s;
    }
    #section-6 .btn:hover,
    #section-7 .btn:hover {
      background: transparent; color: #fff; border-color: #fff;
    }
    #section-2 .btn,
    #section-9b .btn {
      background: #000; color: #fff; border: 1px solid #000;
      transition: background .2s, color .2s, border-color .2s;
    }
    #section-2 .btn:hover,
    #section-9b .btn:hover {
      background: transparent; color: #000; border-color: #000;
    }

    /* Marquee (shared) — pure CSS, seamless loop at any viewport, hover-pause, reduced-motion safe */
    .marquee { display: flex; overflow: hidden; width: 100%; }
    .marquee-track {
      flex-shrink: 0; display: flex; align-items: center;
      justify-content: space-around; min-width: 100%;
      white-space: nowrap; will-change: transform;
      animation: pom-marquee 40s linear infinite;
    }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    .marquee-track > * { flex: 0 0 auto; }
    @keyframes pom-marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-100%); }
    }
    @media (prefers-reduced-motion: reduce) {
      .marquee-track { animation: none; transform: none; }
    }

    /* Topbar marquee */
    .topbar { background: #0E0E0E; color: #EDE7DA; font-size: .78rem; letter-spacing: .02em;
              padding: .7rem 0; font-weight: 400; text-align: center; }
    .topbar a { color: #EDE7DA; text-decoration: none; }
    .topbar .marquee-track .item { padding: 0 .55rem; opacity: .92; }
    .topbar .marquee-track .sep { padding: 0 .25rem; opacity: .4; }

    /* Brand-values marquee strip (replaces pill-bar) */
    .brand-values { background: #FFFFFF;
                    border-top: 1px solid var(--pom-border);
                    border-bottom: 1px solid var(--pom-border);
                    padding: 1.5rem 0; font-size: .82rem;
                    letter-spacing: .02em;
                    color: var(--pom-muted); font-weight: 500; }
    .brand-values .marquee-track .item { padding: 0 .65rem; }
    .brand-values .marquee-track .sep  { padding: 0 .3rem; opacity: .55; color: var(--pom-olive); }

    .site-header { background: #FFFFFF; border-bottom: 1px solid var(--pom-border);
                   position: sticky; top: 0; z-index: 1030;
                   box-shadow: 0 1px 0 rgba(0,0,0,0); transition: box-shadow .25s; }
    .site-header.is-stuck { box-shadow: 0 4px 18px rgba(20,20,15,.06); }
    .site-header .header-top { padding: 1.5rem 0 .9rem; }
    .site-header .header-bottom { padding: .15rem 0 1.1rem; }

    .brand-logo { font-family: 'Playfair Display', serif; font-size: 2.1rem;
                  letter-spacing: .55em; color: var(--pom-text); text-decoration: none;
                  font-weight: 500; padding-left: .55em; /* optical centering for tracked text */
                  display: inline-block; line-height: 1; }
    .brand-logo:hover { color: var(--pom-olive-dark); }
    .brand-logo--img { padding-left: 0; }
    .brand-logo-img { height: 100%; width: auto; display: block; }

    .main-nav { gap: 2rem; }
    .main-nav .nav-link { font-family: 'Poppins', sans-serif; color: var(--pom-text); font-size: 16px;
                          font-weight: 400; line-height: 24px; letter-spacing: 0; text-align: center;
                          text-transform: capitalize; padding: .55rem 1.2rem; position: relative; }
    .main-nav .nav-link::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem;
                                 bottom: .15rem; height: 1px; background: var(--pom-text);
                                 transform: scaleX(0); transform-origin: center;
                                 transition: transform .25s ease; }
    .main-nav .nav-link:hover { color: var(--pom-text); }
    .main-nav .nav-link:hover::after { transform: scaleX(1); }
    .site-header.is-stuck .header-top    { padding-top: .8rem; padding-bottom: .55rem; }
    .site-header.is-stuck .header-bottom { padding-top: 0; padding-bottom: .7rem; }
    .site-header.is-stuck .brand-logo    { font-size: 1.6rem; }

    .icon-btn { color: var(--pom-text); font-size: 1.1rem; padding: .35rem .6rem;
                position: relative; line-height: 1; }
    .icon-btn:hover { color: var(--pom-olive); }
    .flag-icon { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display: block; }

    /* Account login chooser modal (opened by header person icon) */
    .account-modal .modal-content { background: var(--pom-cream); border: 0; border-radius: 2px;
                                    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem); position: relative; }
    .account-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: .55; }
    .account-modal__close:hover { opacity: 1; }
    .account-modal__title { font-family: 'Playfair Display', serif; font-weight: 500;
                            font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.1; color: var(--pom-text);
                            margin: 0 0 2.5rem; }
    .account-modal__underline { border-bottom: 0; }
    .account-modal__title::after { content: ''; display: block; width: clamp(140px, 55%, 220px); height: 2px;
                                   background: var(--pom-text); margin: .55rem auto 0; }
    .account-modal__options { max-width: 320px; margin: 0 auto; }
    .account-modal__btn { display: block; width: 100%; border: 1px solid var(--pom-text); background: transparent;
                          color: #7a6233; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem;
                          font-weight: 600; padding: .85rem 1rem; text-decoration: none;
                          transition: background .2s, color .2s; }
    .account-modal__btn:hover { background: var(--pom-text); color: var(--pom-cream); }
    .account-modal__hint { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600;
                           color: var(--pom-deep-green); margin: .65rem 0 1.6rem; }
    .account-modal__hint--last { margin-bottom: 0; }
    .icon-btn .cart-count { position: absolute; top: -2px; right: -4px;
                            background: var(--pom-olive); color: #fff;
                            font-size: .55rem; font-weight: 600; letter-spacing: 0;
                            min-width: 16px; height: 16px; line-height: 16px;
                            border-radius: 16px; padding: 0 4px; text-align: center; }


    .hero {
      background-color: var(--pom-cream);
      background-image: url('http://localhost/CLAUDEPROJ/Claude-Pomifera/wp-content/uploads/2026/04/pomifera-hero-bg.png');
      background-repeat: no-repeat;
      background-position: right center;
      background-size: cover;
      position: relative; overflow: hidden;
      min-height: clamp(420px, 48vw, 720px);
    }
    .hero-content { max-width: 480px; }
    @media (min-width: 768px) {
      .hero-content { padding-right: 2rem !important; }
    }
    @media (max-width: 767.98px) {
      /* Mobile: hero stacks — image on top, text panel below. No more overlay. */
      .hero { background-image: none; background-color: var(--pom-cream); min-height: 0; }
      .hero-img-mobile { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: right center; }
      .hero-content { background: transparent; padding: 1.5rem 1.25rem; border-radius: 0; text-align: center; }
      .hero-content p { margin-left: auto; margin-right: auto; }
    }

    .promo-strip { background: var(--pom-olive); color: #F4F1E6; }

    /* Editorial story carousel — image left, copy right */
    .promo-strip .story-swiper { padding-bottom: 3.5rem; position: relative; }
    /* Wrapper lets the nav arrow overflow outside the slider while the swiper keeps clipping its slides */
    .promo-strip .story-swiper-wrap { position: relative; }
    .promo-strip .story-swiper .swiper-slide { height: auto; }
    .promo-strip .story-img {
      width: 100%; height: 200px; object-fit: cover;
      border-radius: 4px; display: block;
    }
    .promo-strip .story-copy { padding: 1rem 0 0; }
    .promo-strip .story-body { opacity: .82; margin: 0; }
    .promo-strip .story-swiper .swiper-pagination {
      bottom: .25rem;
      left: 50%; transform: translateX(-50%);
      width: 66.6667%; /* matches col-md-8 */
      display: flex; padding: 0;
    }
    .promo-strip .story-swiper .swiper-pagination-bullet {
      flex: 1 1 0; width: auto; height: 4px;
      margin: 0; border-radius: 0;
      background: #fff; opacity: 1;
      transition: background .2s;
    }
    .promo-strip .story-swiper .swiper-pagination-bullet-active {
      background: #000;
    }
    .promo-strip .story-swiper-wrap .swiper-button-prev,
    .promo-strip .story-swiper-wrap .swiper-button-next {
      color: #F4F1E6; opacity: .75; width: 40px; height: 40px;
      top: auto; bottom: -.25rem; margin-top: 0;
    }
    .promo-strip .story-swiper-wrap .swiper-button-prev:hover,
    .promo-strip .story-swiper-wrap .swiper-button-next:hover { opacity: 1; }
    .promo-strip .story-swiper-wrap .swiper-button-prev::after,
    .promo-strip .story-swiper-wrap .swiper-button-next::after { font-size: 1rem; font-weight: 700; }
    .promo-strip .story-swiper-wrap .swiper-button-prev { display: none; }
    .promo-strip .story-swiper-wrap .swiper-button-next {
      top: 45%; bottom: auto; margin-top: 0; transform: translateY(-50%);
      right: -17px;            /* half the 34px circle hangs outside the slider */
      width: 34px; height: 34px;
      border-radius: 50%;
      background: #F8F6F2CC;
      color: #000; opacity: 1;
      z-index: 12;             /* sit in front of the slides */
      box-shadow: 0 2px 8px rgba(0,0,0,.12);
    }
    @media (max-width: 767.98px) {
      .promo-strip .story-copy { padding: 1.25rem 0 0; }
      .promo-strip .story-swiper-wrap .swiper-button-prev,
      .promo-strip .story-swiper-wrap .swiper-button-next { display: none; }
    }

    .section-title { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }

    .product-card .product-img { background: var(--pom-cream); aspect-ratio: 1/1; overflow: hidden; }
    .product-card .product-img img { width: 100%; height: 100%; object-fit: cover; }
    .product-card .product-name {
      font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600;
      color: var(--pom-text); margin-top: 1.25rem; line-height: 1.3;
    }
    .product-card .product-sub {
      font-size: .85rem; color: var(--pom-muted);
      font-weight: 400; line-height: 1.7; margin-top: .35rem;
    }
    .product-card .product-price {
      font-size: .78rem; color: var(--pom-muted);
      margin-top: 1.25rem; letter-spacing: .02em;
    }
    .shop-link {
      display: inline-flex; align-items: center; gap: 1rem;
      font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
      color: var(--pom-text); text-decoration: none; font-weight: 500;
    }
    .shop-link .shop-arrow {
      position: relative; display: inline-block;
      width: 4rem; height: 1px; background: #000;
      transition: width .25s ease;
    }
    .shop-link .shop-arrow::after {
      content: ''; position: absolute; right: -1px; top: 50%;
      width: 7px; height: 7px;
      border-right: 1px solid #000; border-top: 1px solid #000;
      transform: translateY(-50%) rotate(45deg);
    }
    .shop-link:hover { color: var(--pom-olive); }
    .shop-link:hover .shop-arrow { width: 5rem; }
    .product-card .shop-link { margin-top: 1rem; }

    /* Bestsellers Swiper */
    .bestsellers-section { background: #FFF; }
    .bestsellers-swiper { padding-bottom: 3.5rem; position: relative; --swiper-pagination-bullet-horizontal-gap: 0; }
    .bestsellers-swiper .swiper-slide { height: auto; }
    .bestsellers-swiper .swiper-pagination {
      bottom: .25rem;
      left: 50%; transform: translateX(-50%);
      width: 66.6667%; /* matches col-md-8 */
      display: flex; padding: 0;
    }
    .bestsellers-swiper .swiper-pagination-bullet {
      flex: 1 1 0; width: auto; height: 4px;
      margin: 0; border-radius: 0;
      background: #d9d9d9; opacity: 1;
      transition: background .2s;
    }
    .bestsellers-swiper .swiper-pagination-bullet-active {
      background: #000;
    }

    /* Testimonials Swiper — no nav buttons, flat-bar pagination */
    .testimonials-swiper {
      padding-bottom: 3rem; position: relative;
      --swiper-pagination-bullet-horizontal-gap: 0;
      max-width: 720px; margin: 0 auto; color: #fff;
    }
    .testimonials-swiper .swiper-slide { height: auto; }
    .testimonials-swiper .testimonial { margin: 0; text-align: center; }
    .testimonials-swiper .testimonial p {
      font-family: 'kudryashev-d-contrast', 'Playfair Display', serif;
      font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.5;
      margin: 0 auto 1.5rem; max-width: 56ch;
    }
    .testimonials-swiper .testimonial footer {
      letter-spacing: .25em; text-transform: uppercase;
      font-size: .72rem; opacity: .85;
    }
    .testimonials-swiper .swiper-pagination {
      bottom: 0;
      left: 50%; transform: translateX(-50%);
      width: 40%;
      display: flex; padding: 0;
    }
    .testimonials-swiper .swiper-pagination-bullet {
      flex: 1 1 0; width: auto; height: 3px;
      margin: 0; border-radius: 0;
      background: rgba(255,255,255,.35); opacity: 1;
      transition: background .2s;
    }
    .testimonials-swiper .swiper-pagination-bullet-active { background: #fff; }
    /* Section 9 — Inter for heading + testimonial copy, hide pagination */
    #section-9 .section-title,
    #section-9 .testimonial p { font-family: 'Inter', sans-serif; }
    #section-9 .section-title { font-size: clamp(3.24rem, 4.68vw, 4.32rem); }
    #section-9 .testimonial p { font-size: clamp(0.96rem, 1.44vw, 1.28rem); line-height: 2.00; }
    #section-9 .testimonials-swiper { padding-bottom: 0; }
    #section-9 .testimonials-swiper .swiper-pagination { display: none; }

    .beauty-block .container-xl {
      background: var(--pom-deep-green); color: #F4F1E6;
      padding-left: 0; padding-right: 0;
    }
    .beauty-block .beauty-image { aspect-ratio: 5/4; object-fit: cover; width: 100%; display: block; }

    .community-block { color: #fff; margin-top: 5%; }
    .community-block .container-xl { background: #6c6d42; padding-left: 0; }
    .community-block .portrait { aspect-ratio: 5/4; object-fit: cover; width: 100%; display: block; }

    .category-card .cat-img { aspect-ratio: 3/4; object-fit: cover; width: 100%; height: 100%; display: block; }
    .category-card .shop-link { color: #000; }

    /* Category carousel — same pagination treatment as section 4 */
    .category-swiper { padding-bottom: 3.5rem; position: relative; --swiper-pagination-bullet-horizontal-gap: 0; }
    .category-swiper .swiper-slide { height: auto; }
    .category-swiper .swiper-pagination {
      bottom: .25rem;
      left: 50%; transform: translateX(-50%);
      width: 66.6667%;
      display: flex; padding: 0;
    }
    .category-swiper .swiper-pagination-bullet {
      flex: 1 1 0; width: auto; height: 4px;
      margin: 0; border-radius: 0;
      background: #d9d9d9; opacity: 1;
      transition: background .2s;
    }
    .category-swiper .swiper-pagination-bullet-active { background: #000; }

    .loved-block { position: relative; min-height: 520px; background-size: cover;
                   background-position: center; color: #fff; }
    .loved-block > .container { position: relative; z-index: 1; }
    .loved-card { background: var(--pom-cream); color: var(--pom-text); padding: 2.25rem; }

    .insta-grid img { height: 280px; object-fit: cover; width: 100%; display: block; }
    #section-10 .section-title { font-family: 'Inter', sans-serif; font-weight: 400; }
    @media (min-width: 768px) {
      #section-10 .section-title { font-size: 40px; }
    }

    /* Insta Swiper — flat-bar pagination on mobile, hidden on desktop */
    .insta-swiper { padding-bottom: 0; position: relative; --swiper-pagination-bullet-horizontal-gap: 0; }
    .insta-swiper .swiper-slide { height: auto; }
    .insta-swiper .swiper-pagination { display: none; }
    @media (max-width: 767.98px) {
      .insta-swiper { padding-bottom: 3rem; }
      .insta-swiper .swiper-pagination {
        display: flex;
        bottom: .25rem; left: 50%; transform: translateX(-50%);
        width: 66.6667%; padding: 0;
      }
      .insta-swiper .swiper-pagination-bullet {
        flex: 1 1 0; width: auto; height: 4px;
        margin: 0; border-radius: 0;
        background: #d9d9d9; opacity: 1;
        transition: background .2s;
      }
      .insta-swiper .swiper-pagination-bullet-active { background: #000; }
    }

    /* Email-capture popup (auto-opens once per session on page load) */
    .pom-popup-overlay {
      position: fixed; inset: 0;
      background: rgba(60, 60, 60, .55);
      z-index: 9999;
      display: none;
      align-items: center; justify-content: center;
      padding: 1.5rem;
    }
    .pom-popup-overlay.is-open { display: flex; }
    .pom-popup {
      position: relative;
      width: min(720px, 100%);
      height: 90vh;
      background: #FAF8F2;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: stretch;
      animation: pom-popup-in .35s cubic-bezier(.22,.61,.36,1) both;
      overflow: hidden;
    }
    @keyframes pom-popup-in {
      from { opacity: 0; transform: translateY(20px) scale(.97); }
      to   { opacity: 1; transform: none; }
    }
    .pom-popup-body {
      padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 2.5rem);
      display: flex; flex-direction: column; justify-content: center;
    }
    .pom-popup-body h2 {
      font-family: 'kudryashev-d-contrast', 'Playfair Display', serif;
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      color: var(--pom-text);
      margin: 0 0 1rem;
      line-height: 1.15;
      font-weight: 400;
    }
    .pom-popup-body p {
      color: var(--pom-muted);
      font-size: .9rem; line-height: 1.55;
      margin: 0 0 1.75rem;
      max-width: 28ch;
    }
    /* Gravity Forms inside the popup — transparent inputs, underline-only,
       brand-styled submit. Scoped to .pom-popup-body. */
    .pom-popup-body .gform_wrapper { margin: 0; }
    .pom-popup-body .gform_wrapper .gform_title {
      font-family: 'kudryashev-d-contrast', 'Playfair Display', serif;
      font-weight: 400;
      font-size: clamp(1.25rem, 2vw, 1.5rem);
      color: var(--pom-text);
      margin: 0 0 .5rem;
    }
    .pom-popup-body .gform_wrapper .gform_description {
      color: var(--pom-muted);
      font-size: .9rem; line-height: 1.5;
      margin-bottom: 1.25rem;
    }
    .pom-popup-body .gform_wrapper .gform_required_legend,
    .pom-popup-body .gform_wrapper .gfield_required { display: none !important; }
    .pom-popup-body .gform_wrapper .gfield { margin-bottom: 1rem; }
    .pom-popup-body .gform_wrapper .gfield_label {
      font-size: .82rem;
      color: var(--pom-text);
      font-weight: 400;
      margin-bottom: .25rem;
    }
    .pom-popup-body .gform_wrapper input[type="text"],
    .pom-popup-body .gform_wrapper input[type="email"],
    .pom-popup-body .gform_wrapper input[type="tel"],
    .pom-popup-body .gform_wrapper input[type="url"],
    .pom-popup-body .gform_wrapper select,
    .pom-popup-body .gform_wrapper textarea {
      width: 100% !important;
      max-width: none !important;
      background: transparent !important;
      border: 0 !important;
      border-bottom: 1px solid #000 !important;
      border-radius: 0 !important;
      padding: .35rem 0 !important;
      font-size: 1rem;
      color: #000 !important;
      box-shadow: none !important;
      outline: none !important;
    }
    .pom-popup-body .gform_wrapper input:focus,
    .pom-popup-body .gform_wrapper select:focus,
    .pom-popup-body .gform_wrapper textarea:focus {
      border-bottom-color: var(--pom-olive-dark) !important;
    }
    .pom-popup-body .gform_wrapper .gform_footer { padding: 0; margin-top: 1.25rem; }
    .pom-popup-body .gform_wrapper .pom-popup-submit,
    .pom-popup-body .gform_wrapper button.pom-popup-submit,
    .pom-popup-body .gform_wrapper .pom-popup-submit:hover,
    .pom-popup-body .gform_wrapper .pom-popup-submit:focus,
    .pom-popup-body .gform_wrapper .pom-popup-submit:active {
      display: inline-flex; align-items: center; gap: 1rem;
      background: transparent !important; border: 0 !important; padding: 0 !important; cursor: pointer;
      color: #000 !important;
      font-size: .82rem; letter-spacing: .12em; font-weight: 500;
      text-transform: uppercase;
      box-shadow: none !important; outline: none !important;
    }
    .pom-popup-body .gform_wrapper .pom-popup-submit .shop-arrow {
      position: relative; display: inline-block;
      width: 3rem; height: 1px; background: #000;
      transition: width .25s ease;
    }
    .pom-popup-body .gform_wrapper .pom-popup-submit .shop-arrow::after {
      content: ''; position: absolute; right: -1px; top: 50%;
      width: 6px; height: 6px;
      border-right: 1px solid #000; border-top: 1px solid #000;
      transform: translateY(-50%) rotate(45deg);
    }
    .pom-popup-body .gform_wrapper .pom-popup-submit:hover .shop-arrow { width: 4rem; }
    .pom-popup-body .gform_confirmation_message {
      padding: 1rem 0; color: var(--pom-deep-green);
    }
    .pom-popup-img-wrap {
      position: relative;
      width: 100%; height: 100%;
      overflow: hidden;
    }
    .pom-popup-img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: bottom;
      display: block;
    }
    .pom-popup-close {
      position: absolute; top: .85rem; right: .85rem;
      width: 32px; height: 32px;
      border-radius: 50%;
      background: #fff;
      border: 0;
      display: inline-flex; align-items: center; justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,.15);
      z-index: 2;
    }
    .pom-popup-close::before, .pom-popup-close::after {
      content: ''; position: absolute;
      width: 14px; height: 1.5px;
      background: #000;
    }
    .pom-popup-close::before { transform: rotate(45deg); }
    .pom-popup-close::after  { transform: rotate(-45deg); }
    @media (max-width: 575.98px) {
      .pom-popup {
        display: flex; flex-direction: column;
        height: 90vh;
        min-height: 0;
        overflow-y: auto;
      }
      .pom-popup-body { order: 1; }
      .pom-popup-img-wrap {
        order: -1;
        position: relative;
        width: 100%;
        aspect-ratio: 16/10;
        overflow: hidden;
      }
      .pom-popup-img-wrap .pom-popup-img {
        position: absolute;
        top: 50%; left: 50%;
        /* Source is portrait. Size to wrap WIDTH (so post-rotation the image's
           original-width becomes visible-height = wrap width is mapped to wrap
           height). Scale up so the rotated form fully covers a 16/10 landscape
           wrap. Overflow on the wrap clips the excess. */
        width: 100%; height: auto;
        max-width: none; max-height: none;
        transform: translate(-40%, -50%) rotate(90deg) scale(0.5);
        transform-origin: center;
        object-fit: cover;
        object-position: center;
      }
    }

    /* Section 11 — two-tone backdrop (white top 20% / beige bottom 80%)
       with a contained gold card holding the copy + form. */
    .capture-band { background: linear-gradient(to bottom, #FFFFFF 0 20%, #E7E3DA 20% 100%); color: #000; }
    .capture-band .capture-card {
      background: #D9BB63;
      border-radius: 8px;
      padding: clamp(3.5rem, 9vw, 9rem) clamp(1.5rem, 6vw, 5.5rem);
      min-height: 250px;
      display: flex;
      flex-direction: column;
    }
    /* Inner row fills the card so the right column has real height for
       the gform_wrapper to anchor to the bottom of. */
    .capture-band .capture-card > .row { flex: 1 1 auto; }
    @media (min-width: 768px) {
      .capture-band .capture-card .col-md-7 {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
      }
    }
    .capture-band .eyebrow { color: #000; }

    /* Gravity Forms — styled to match the capture band (transparent inputs,
       underline-only, brand olive accents). Scoped to .capture-band only. */
    .capture-band .gform_wrapper { margin: 0; }
    .capture-band .gform_wrapper .gform_heading,
    .capture-band .gform_wrapper .gform_required_legend,
    .capture-band .gform_wrapper .gfield_required { display: none !important; }
    /* Force a single-row flex layout: email grows, submit stays content-width. */
    .capture-band .gform_wrapper .gform_fields {
      display: flex !important;
      align-items: end !important;
      gap: 1rem !important;
    }
    .capture-band .gform_wrapper .gfield {
      flex: 1 1 auto !important;
      min-width: 0 !important;
      grid-column: auto !important;
      width: auto !important;
      max-width: none !important;
    }
    .capture-band .gform_wrapper .gfield--type-submit {
      flex: 0 0 auto !important;
      padding-bottom: .6rem;
    }
    /* Hide all field labels — the design uses the placeholder text only. */
    .capture-band .gform_wrapper .gfield_label,
    .capture-band .gform_wrapper legend {
      display: none !important;
    }
    .capture-band .gform_wrapper .gfield_required {
      color: var(--pom-text); margin-left: .25rem;
    }
    .capture-band .gform_wrapper input[type="text"],
    .capture-band .gform_wrapper input[type="email"],
    .capture-band .gform_wrapper input[type="tel"],
    .capture-band .gform_wrapper input[type="url"],
    .capture-band .gform_wrapper select,
    .capture-band .gform_wrapper textarea {
      width: 100% !important;
      max-width: none !important;
      background: transparent !important;
      border: 0 !important;
      border-bottom: 1px solid #000 !important;
      border-radius: 0 !important;
      padding: .55rem 0 !important;
      font-family: inherit;
      font-size: 1rem;
      color: #000 !important;
      box-shadow: none !important;
      outline: none !important;
    }
    .capture-band .gform_wrapper textarea { min-height: 5.5rem; resize: vertical; }
    .capture-band .gform_wrapper input::placeholder,
    .capture-band .gform_wrapper textarea::placeholder { color: #000; opacity: .55; }
    .capture-band .gform_wrapper input:focus,
    .capture-band .gform_wrapper select:focus,
    .capture-band .gform_wrapper textarea:focus {
      border-bottom-color: var(--pom-olive-dark) !important;
      box-shadow: none !important; outline: none !important;
    }
    .capture-band .gform_wrapper .gfield { margin-bottom: 1rem; }
    .capture-band .gform_wrapper .ginput_container_name .name_first,
    .capture-band .gform_wrapper .ginput_container_name .name_last { padding: 0; }
    .capture-band .gform_wrapper .validation_message {
      color: #8b2e2e; font-size: .78rem; margin-top: .35rem;
    }
    .capture-band .gform_wrapper .gform_footer { margin-top: 1.5rem; padding: 0; }
    /* Submit button rendered as the brand .shop-link arrow via the
       gform_submit_button_1 filter in functions.php. */
    .capture-band .gform_wrapper button.shop-link,
    .capture-band .gform_wrapper button.shop-link:hover,
    .capture-band .gform_wrapper button.shop-link:focus,
    .capture-band .gform_wrapper button.shop-link:active {
      box-shadow: none !important;
      padding: 0;
      background: transparent;
      border: 0;
      outline: none;
      color: #000;
    }
    .capture-band .gform_confirmation_message {
      padding: 1.25rem 0;
      color: var(--pom-text);
      border-top: 1px solid var(--pom-text);
      border-bottom: 1px solid var(--pom-text);
    }

    .site-footer { background: #E7E3DA; border-top: 1px solid var(--pom-border); }
    .site-footer h6 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px;
                      line-height: 23px; letter-spacing: 0; text-transform: capitalize; margin-bottom: 1rem; }
    .site-footer a { font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 14px;
                     line-height: 44px; letter-spacing: 0; color: #000; text-decoration: none; }
    .site-footer a:hover { color: var(--pom-olive); }
    .site-footer .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; letter-spacing: .4em; }
    .site-footer .footer-logo-img { height: 64px; width: auto; max-width: 100%; }
    .site-footer .footer-legal { background: #F8F6F2; }
    .site-footer .footer-copyright { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 12px;
                                     line-height: 28px; letter-spacing: 0; text-transform: uppercase; }
    .site-footer .footer-disclaimer { max-width: 60%; font-family: 'Poppins', sans-serif; font-weight: 400;
                                      font-size: 12px; line-height: 28px; letter-spacing: 0; }
    .site-footer .footer-contact { font-family: 'Poppins', sans-serif; font-weight: 300; font-style: normal;
                                   font-size: 14px; line-height: 44px; letter-spacing: 0; color: #000; }
    /* Address wraps to two lines: tighten the wrap, but offset the first line so it
       still aligns with the 44px-line first link in the other columns. */
    .site-footer .footer-contact li:first-child { line-height: 1.4; padding-top: calc((44px - 1.4em) / 2); }
    .site-footer .footer-social img { height: 20px; width: auto; display: block; }
    .site-footer .footer-social { display: inline-flex; opacity: .85; transition: opacity .2s; }
    .site-footer .footer-social:hover { opacity: 1; }

    /* ============== MOBILE OVERRIDES (consolidated) ============== */
    @media (max-width: 767.98px) {
      /* Header — POMIFERA wordmark overflows at 2.1rem/.55em in a col-4 slot */
      .brand-logo { font-size: 1.35rem; letter-spacing: .35em; padding-left: .35em; }

      /* Hero heading sizing (height handled in earlier media query where image stacks) */
      .display-pom { font-size: clamp(1.9rem, 7vw, 2.6rem); }

      /* Section 9 testimonials — Poppins 36/40 */
      #section-9 .section-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        font-size: 36px;
        line-height: 40px;
        letter-spacing: 0;
        text-align: center;
      }
      #section-9 .testimonial p {
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 31px;
        letter-spacing: 0;
        text-align: center;
      }

      /* Insta grid — 280px fixed height = oddly tall portrait at narrow widths */
      .insta-grid img { height: auto; aspect-ratio: 5/6; }

      /* Beauty + community blocks — tighter inner padding to match Mobile.png density */
      .beauty-block .p-4, .community-block .p-4 { padding: 1.75rem 1.25rem !important; }

      /* Community block — desktop keeps padding-right for text breathing room;
         on mobile the stacked image needs edge-to-edge both sides */
      .community-block .container-xl { padding-right: 0; }

      /* Capture band — inline 5% padding becomes ~19px on a 375px screen, too tight */
      .capture-band { padding-top: 0 !important; padding-bottom: 2.5rem !important; }

      /* Footer wordmark — .4em tracking on POMIFERA can overflow narrow viewports */
      .site-footer .footer-logo { font-size: 1.35rem; letter-spacing: .25em; }

      /* Disclaimer — 50% of a phone width is too narrow for the sentence */
      .site-footer .footer-disclaimer { max-width: 100%; }

      /* Footer — collapse 5-col grid to single column with black separator lines */
      .site-footer .container-xl { padding-left: 1.5rem; padding-right: 1.5rem; }
      .site-footer .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
      }
      .site-footer .row > [class*="col-"] + [class*="col-"] {
        border-top: 1px solid #000;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
      }

      /* Section 9 — rotate the testimonials bg image 90deg on mobile.
         Inline style on the section is overridden; rotation is on a pseudo so the
         testimonial copy stays upright. scale(1.5) covers the aspect mismatch. */
      .loved-block {
        background-image: none !important;
        background-color: var(--pom-deep-green);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Match section height to mobile_bg_comm.png native ratio (360:592) */
        min-height: 0;
        aspect-ratio: 360 / 592;
      }
      .loved-block::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('http://localhost/CLAUDEPROJ/Claude-Pomifera/wp-content/uploads/2026/05/mobile_bg_comm.png');
        background-size: cover;
        background-position: center;
        z-index: 0;
      }
      .loved-block > .container,
      .loved-block > .container-xl { position: relative; z-index: 1; }

      /* Section 9b — turn columns into a horizontal scroll-snap slider on mobile.
         Pure CSS, no JS. Cards take 85% width so the next card peeks. */
      #section-9b .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: .75rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }
      #section-9b .row::-webkit-scrollbar { display: none; }
      #section-9b .row > [class*="col-"] {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
      }
      /* Force a 3/4 portrait crop on the product cards (cols 2 & 3) on mobile.
         Column 1's image keeps its natural aspect (no aspect-ratio / object-fit). */
      #section-9b .row > [class*="col-"]:not(:first-child) img {
        aspect-ratio: 3/4;
        object-fit: cover;
        width: 100%;
        height: auto;
      }
    }

    /* ============== MOBILE NAV DRAWER (Bootstrap offcanvas) ============== */
    .mobile-nav-drawer { width: 320px; max-width: 85vw; background: #FFFFFF; }
    .mobile-nav-drawer .offcanvas-header {
      border-bottom: 1px solid var(--pom-border);
      padding: 1.1rem 1.5rem;
    }
    .mobile-nav-drawer .offcanvas-header .brand-logo {
      font-size: 1.4rem;
      letter-spacing: .18em;
    }
    .mobile-nav-drawer .offcanvas-body { padding: .5rem 1.5rem 2rem; }
    .mobile-nav-primary .nav-link {
      color: var(--pom-text);
      font-size: .78rem;
      letter-spacing: .24em;
      text-transform: uppercase;
      padding: .9rem 0;
      border-bottom: 1px solid var(--pom-border);
    }
    .mobile-nav-primary .nav-link:hover,
    .mobile-nav-primary .nav-link:focus { color: var(--pom-olive); }
    .mobile-nav-secondary { padding-top: 1.25rem; }
    .mobile-nav-secondary .nav-link {
      color: var(--pom-muted);
      font-size: .85rem;
      padding: .55rem 0;
      display: flex;
      align-items: center;
      gap: .65rem;
    }
    .mobile-nav-secondary .nav-link:hover { color: var(--pom-olive); }
    .mobile-nav-secondary i { font-size: 1rem; width: 1.1rem; text-align: center; }
