/* ==========================================================================
   Single Product Landing Page — Custom Styles
   Bootstrap 5.3 + Poppins | Mobile-first
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Base
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #0A5C22;
  --color-primary-dark: #053D16;
  --color-secondary: #E8B000;
  --color-accent: #C09000;
  --color-gold: #F4C430;
  --color-dark: #0D0F0C;
  --color-bg: #F7F4EC;
  --color-header: #ffffff;
  --color-footer: #E9E1CC;
  --color-card: #FFFFFF;
  --color-text: #1A1A14;
  --color-muted: #5C5C52;
  --color-border: #E6E0D2;
  --shadow-soft: 0 4px 24px rgba(10, 92, 34, 0.08);
  --shadow-hover: 0 8px 32px rgba(10, 92, 34, 0.14);
  --radius: 1rem;
  --radius-btn: 50rem;
  --transition: 0.3s ease;
  --header-height: 104px;
  --preheader-height: 0px;
  --sticky-bar-height: 72px;
  --font: "Poppins", "Noto Sans Devanagari", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--preheader-height) + 1rem);
}

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

section {
  padding: 4rem 0;
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

/* --------------------------------------------------------------------------
   2. Header (Sticky)
   -------------------------------------------------------------------------- */
.site-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-preheader {
  --preheader-height: 2.5rem;
  position: relative;
  height: var(--preheader-height);
  overflow: hidden;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.has-preheader {
  --preheader-height: 2.5rem;
}

.site-preheader-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  animation: preheader-shine 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.site-preheader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
  overflow: hidden;
}

.site-preheader-inner:hover {
  color: #fff;
}

.site-preheader-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: preheader-marquee 22s linear infinite;
  padding-left: 1rem;
}

.site-preheader-inner:hover .site-preheader-track {
  animation-play-state: paused;
}

.site-preheader-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-preheader-fire {
  display: inline-flex;
  color: var(--color-gold);
  font-size: 1rem;
  animation: preheader-flicker 1.4s ease-in-out infinite;
}

.site-preheader-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: var(--color-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 50rem;
  animation: preheader-badge-pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(232, 176, 0, 0.45);
}

.site-preheader-prices {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-preheader-regular {
  opacity: 0.78;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}

.site-preheader-regular .woocommerce-Price-amount,
.site-preheader-sale .woocommerce-Price-amount {
  color: inherit;
}

.site-preheader-sale {
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-preheader-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.15rem;
  padding: 0.2rem 0.7rem;
  border-radius: 50rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-preheader-inner:hover .site-preheader-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateX(2px);
}

@keyframes preheader-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes preheader-shine {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

@keyframes preheader-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(232, 176, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(232, 176, 0, 0);
  }
}

@keyframes preheader-flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  40% { opacity: 0.75; transform: scale(0.92); }
  70% { opacity: 1; transform: scale(1.08); }
}

@media (min-width: 992px) {
  .site-preheader-track {
    animation: none;
    width: 100%;
    justify-content: center;
    gap: 0;
    padding: 0 1rem;
  }

  .site-preheader-item + .site-preheader-item {
    display: none;
  }
}

.admin-bar .site-top {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-top {
    top: 46px;
  }
}

.site-header {
  position: relative;
  top: auto;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 92, 34, 0.08);
  box-shadow: 0 8px 24px rgba(10, 92, 34, 0.05);
  height: var(--header-height);
}

.site-header .navbar {
  height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
}

.brand-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo img,
.brand-logo .custom-logo,
.site-logo-img {
  height: 78px;
  width: auto;
  max-width: min(320px, 70vw);
}

.brand-logo .custom-logo-link {
  display: flex;
  align-items: center;
}

.header-cart {
  position: relative;
}

.header-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 50rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.w3ctrl-buy-now-form {
  display: inline-flex;
  margin: 0;
}

.hero-price .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.footer-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.footer-menu a:hover {
  color: var(--color-primary);
}

.site-footer .custom-logo,
.site-footer .site-logo-img {
  height: 78px;
  width: auto;
  max-width: min(320px, 80vw);
  filter: none;
}

.policy-page .section-title,
.is-policy-page .section-title {
  text-align: left;
}

.policy-content {
  max-width: none;
  font-size: 1.02rem;
  color: var(--color-muted);
}

.policy-content p {
  max-width: none;
}

.page-content h2,
.page-content h3 {
  color: var(--color-primary);
  font-weight: 600;
}

.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.brand-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.navbar-toggler-icon-custom {
  color: var(--color-primary);
}

.nav-mini {
  gap: 0.15rem;
}

.nav-mini .nav-link {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 0.5rem 1rem !important;
  position: relative;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-mini .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-mini .nav-link:hover,
.nav-mini .nav-link:focus,
.nav-mini .nav-link.active,
.nav-mini .current-menu-item > .nav-link,
.nav-mini .current_page_item > .nav-link {
  color: var(--color-primary);
}

.nav-mini .nav-link:hover::after,
.nav-mini .nav-link:focus::after,
.nav-mini .nav-link.active::after,
.nav-mini .current-menu-item > .nav-link::after,
.nav-mini .current_page_item > .nav-link::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--color-header);
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(10, 92, 34, 0.08);
  }

  .nav-mini .nav-link {
    font-size: 1.12rem;
    white-space: normal;
    padding: 0.65rem 0.25rem !important;
  }

  .nav-mini .nav-link::after {
    display: none;
  }

  .header-actions {
    padding-top: 0.5rem;
    flex-wrap: wrap;
  }

  .site-header .brand-logo img,
  .site-header .site-logo-img {
    height: 56px;
    max-width: min(220px, 58vw);
  }

  .site-header {
    --header-height: 80px;
    height: var(--header-height);
  }

  .site-header .navbar {
    height: var(--header-height);
  }
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.75rem;
  transition: all var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-sm-header {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-primary-custom {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background-color: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 176, 0, 0.35);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-outline-primary-custom {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-primary-custom:hover,
.btn-outline-primary-custom:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-call {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-call:hover,
.btn-call:focus {
  background-color: var(--color-primary-dark);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  display: flex;
  align-items: center;
}

.is-landing .hero {
  min-height: calc(100vh - var(--header-height));
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: inherit;
  border: 1px dashed rgba(10, 92, 34, 0.22);
  animation: spin-slow 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  animation: hero-landing-breathe 8s ease-in-out infinite;
}

.hero-image-wrap:hover img {
  transform: scale(1.06);
}

@keyframes hero-landing-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-content {
  padding-top: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(10, 92, 34, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-btn);
  margin-bottom: 1rem;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.hero-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.hero-price > .woocommerce-Price-amount,
.hero-price ins,
.hero-price ins .woocommerce-Price-amount,
.hero-price .price-current {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  text-decoration: none;
  background: none;
}

.hero-price del,
.hero-price .price-original {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.2;
  text-decoration: none;
  opacity: 1;
}

.hero-price del .woocommerce-Price-amount,
.hero-price del bdi,
.hero-price .price-original {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

.hero-price ins {
  text-decoration: none !important;
}

.price-badge {
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-btn);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}

.trust-badge i {
  color: var(--color-primary);
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   5. Product Gallery
   -------------------------------------------------------------------------- */
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
}

.gallery-main img,
.gallery-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  padding: 0;
  transition: all var(--transition);
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.gallery-thumb.is-video::after {
  content: "\F4F2";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 92, 34, 0.45);
  color: #fff;
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   6. Cards (Features / Why Buy / Reviews)
   -------------------------------------------------------------------------- */
.feature-card,
.why-card,
.review-card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: none;
  padding: 1.75rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover,
.why-card:hover,
.review-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.feature-icon,
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(10, 92, 34, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.feature-card p,
.why-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. Product Description
   -------------------------------------------------------------------------- */
.description-content p {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 42rem;
  margin-bottom: 1rem;
}

.description-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1.6rem 0 0.55rem;
}

#description .description-content p,
.policy-content p,
.description-content.policy-content p {
  max-width: none;
}

.description-content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. Specifications Table
   -------------------------------------------------------------------------- */
.spec-table-wrap {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.spec-table {
  margin-bottom: 0;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.25rem;
  border-color: var(--color-border);
  font-size: 0.95rem;
  vertical-align: middle;
}

.spec-table th {
  width: 40%;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(10, 92, 34, 0.03);
}

.spec-table td {
  color: var(--color-muted);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   9. Reviews
   -------------------------------------------------------------------------- */
.review-stars {
  color: var(--color-secondary);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.review-card .review-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0;
}

.review-author-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion .accordion-item {
  background: var(--color-card);
  border: none;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  background: var(--color-card);
  box-shadow: none !important;
  padding: 1.15rem 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-accent);
  background: var(--color-card);
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
}

.faq-accordion .accordion-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. Sticky Mobile Bottom Bar
   -------------------------------------------------------------------------- */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(10, 92, 34, 0.1);
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.sticky-mobile-bar .bar-price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.sticky-mobile-bar .bar-price-badge {
  font-size: 0.7rem;
  background: var(--color-secondary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
}

.sticky-mobile-bar .btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .has-sticky-bar .sticky-mobile-bar {
    display: block;
  }

  .has-sticky-bar {
    padding-bottom: calc(var(--sticky-bar-height) + 1rem);
  }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-footer);
  color: var(--color-text);
  padding: 3.5rem 0 0;
  margin-top: 0;
  border-top: 3px solid var(--color-primary);
  overflow: hidden;
}

.footer-farm {
  display: none;
}

@media (min-width: 992px) {
  .site-footer {
    margin-top: 5.75rem;
    border-top: 0;
    overflow: visible;
  }

  /* Same cream “sky” the home page has, so the farm always sits on matching ground. */
  .site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -5.75rem;
    height: 5.75rem;
    background: var(--color-bg);
    pointer-events: none;
    z-index: 1;
  }

  .footer-farm {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
    height: 170px;
    transform: translateY(-74%);
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
  }
}

.footer-farm-art {
  width: 100%;
  height: 100%;
  min-width: 100%;
  display: block;
  overflow: visible;
}

/* Soft breeze through mustard plants */
.footer-farm-art .farm-sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: farm-sway 5.2s ease-in-out infinite;
  will-change: transform;
}

.footer-farm-art .farm-sway--1 { animation-duration: 4.8s; animation-delay: 0s; }
.footer-farm-art .farm-sway--2 { animation-duration: 5.6s; animation-delay: -0.8s; }
.footer-farm-art .farm-sway--3 { animation-duration: 6.2s; animation-delay: -1.6s; }
.footer-farm-art .farm-sway--4 { animation-duration: 5s; animation-delay: -2.2s; }
.footer-farm-art .farm-sway--5 { animation-duration: 6.8s; animation-delay: -0.4s; }

.footer-farm-art .farm-sway--tuft {
  animation-duration: 3.8s;
  animation-delay: -0.5s;
}

.footer-farm-art .farm-sway--tuft2 {
  animation-name: farm-sway-soft;
  animation-duration: 4.4s;
  animation-delay: -1.4s;
}

.footer-farm-art .farm-figure {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: farm-figure-breathe 7s ease-in-out infinite;
}

.footer-farm-art .farm-figure--two {
  animation-delay: -2.5s;
}

.footer-farm-art .farm-bull {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: farm-bull-shift 9s ease-in-out infinite;
}

.footer-farm-art .farm-bull--two {
  animation-delay: -3.5s;
  animation-duration: 10.5s;
}

@keyframes farm-sway {
  0%, 100% { transform: rotate(-1.8deg) skewX(-0.4deg); }
  50% { transform: rotate(2.4deg) skewX(0.6deg); }
}

@keyframes farm-sway-soft {
  0%, 100% { transform: rotate(-2.6deg); }
  50% { transform: rotate(3.2deg); }
}

@keyframes farm-figure-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

@keyframes farm-bull-shift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-farm-art .farm-sway,
  .footer-farm-art .farm-figure,
  .footer-farm-art .farm-bull {
    animation: none !important;
  }
}

.site-footer .footer-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer .footer-brand .logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-heading {
  color: var(--color-primary);
}

.footer-tagline {
  max-width: 22rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: var(--color-primary);
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-address i {
  color: var(--color-primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.footer-menu a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 92, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(10, 92, 34, 0.12);
  margin-top: 2.5rem;
  padding: 1.1rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  background: rgba(10, 92, 34, 0.05);
  width: 100%;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.made-with-love {
  color: var(--color-muted);
}

.made-with-love a {
  color: var(--color-primary);
  font-weight: 600;
}

.made-with-love a:hover {
  color: var(--color-accent);
}

.made-with-love .heart {
  color: #e23d3d;
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 2.25rem;
  }

  .site-footer .site-logo-img,
  .site-footer .custom-logo {
    height: 58px;
    max-width: min(240px, 70vw);
  }

  .footer-tagline {
    font-size: 0.9rem;
    max-width: none;
    margin-bottom: 0.85rem;
  }

  .footer-heading {
    margin-bottom: 0.75rem !important;
  }

  .footer-contact a,
  .footer-address {
    font-size: 0.9rem;
  }

  .footer-address {
    margin-bottom: 0.85rem;
  }

  .footer-social {
    margin-top: 0.35rem;
  }

  .footer-bottom {
    margin-top: 1.75rem;
    padding: 1rem 0 1.15rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .has-sticky-bar .site-footer {
    padding-bottom: 0.25rem;
  }

  .has-sticky-bar .footer-bottom {
    padding-bottom: calc(1rem + var(--sticky-bar-height));
  }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.18); }
  60% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   13. Animations (CSS only)
   -------------------------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

.animate-on-scroll,
.animate-fade,
.animate-scale,
.animate-left,
.animate-right {
  opacity: 0;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.animate-on-scroll {
  transform: translateY(1.75rem);
}

.animate-fade {
  transform: none;
}

.animate-scale {
  transform: scale(0.94) translateY(0.75rem);
}

.animate-left {
  transform: translateX(-1.5rem);
}

.animate-right {
  transform: translateX(1.5rem);
}

.animate-on-scroll.is-visible,
.animate-fade.is-visible,
.animate-scale.is-visible,
.animate-left.is-visible,
.animate-right.is-visible {
  opacity: 1;
  transform: none;
}

.animate-delay-1 { transition-delay: 0.08s; }
.animate-delay-2 { transition-delay: 0.16s; }
.animate-delay-3 { transition-delay: 0.24s; }
.animate-delay-4 { transition-delay: 0.32s; }
.animate-delay-5 { transition-delay: 0.4s; }

/* Stagger children when parent becomes visible */
.stagger-children > * {
  opacity: 0;
  transform: translateY(0.85rem);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger-children.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Button micro-interactions */
.btn {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background-color 0.25s ease,
    color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus,
.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-outline-primary-custom:hover,
.btn-outline-primary-custom:focus {
  transform: translateY(-3px);
}

/* Soft page entrance for checkout flow */
.is-checkout-flow .woocommerce-wrap > .woocommerce {
  animation: flow-enter 0.65s var(--ease-out) both;
}

@keyframes flow-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   14. Accessibility & Utilities
   -------------------------------------------------------------------------- */
.visually-hidden-focusable:focus {
  position: absolute;
  z-index: 2000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0.5rem;
  width: auto;
  height: auto;
  clip: auto;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* 320px+ — base (mobile-first) already applied */

@media (min-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-content {
    padding-top: 0;
  }

  .gallery-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 5rem 0;
  }

  .is-landing .hero {
    min-height: calc(100vh - var(--header-height));
  }
}

@media (min-width: 1440px) {
  .container-narrow {
    max-width: 1200px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll,
  .animate-fade,
  .animate-scale,
  .animate-left,
  .animate-right,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  .is-checkout-flow .woocommerce-wrap > .woocommerce {
    animation: none;
  }

  .btn::after {
    display: none;
  }

  .site-preheader-shine,
  .site-preheader-track,
  .site-preheader-badge,
  .site-preheader-fire {
    animation: none !important;
  }

  .hero-image-wrap::before,
  .hero-image-wrap img {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   16. Home, contact, blank, maintenance
   -------------------------------------------------------------------------- */
.home-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.home-hero .hero-subtitle {
  max-width: 36rem;
}

.home-product-card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-product-image {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
  aspect-ratio: 1 / 1;
  background: var(--color-bg);
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-card h3 a {
  color: var(--color-primary);
}

.home-product-price {
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.home-product-price del {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
}

.home-product-price del .woocommerce-Price-amount,
.home-product-price del bdi {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.home-product-price ins {
  text-decoration: none;
}

.contact-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 176, 0, 0.14), transparent 32%),
    linear-gradient(180deg, #fffdf6 0%, var(--color-bg) 28%, #fff 100%);
}

.contact-hero {
  padding: 3.25rem 0 2rem;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(232, 176, 0, 0.16);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-btn);
  margin-bottom: 0.85rem;
}

.contact-lead {
  font-size: 1.08rem;
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .contact-inline {
    justify-content: flex-end;
  }
}

.contact-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(10, 92, 34, 0.06);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-inline-link:hover {
  background: var(--color-primary);
  color: #fff;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 92, 34, 0.1);
  border: 1px solid rgba(232, 176, 0, 0.16);
}

.contact-form-panel {
  padding: 2rem 1.6rem 2.1rem;
}

.contact-panel-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.contact-form-panel h2 {
  color: var(--color-primary);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin-bottom: 0.5rem;
}

.contact-panel-copy {
  color: var(--color-muted);
  margin-bottom: 1.4rem;
}

.contact-form-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.contact-form-wrap .wpcf7-form p,
.contact-form-wrap .wpcf7-form .mb-3 {
  margin-bottom: 1rem;
}

.contact-form-wrap .wpcf7-form label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.35rem;
}

.contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit),
.contact-form .form-control {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 0.85rem;
  padding: 0.8rem 1rem;
  font-family: var(--font);
  background: #fbf8f0;
}

.contact-form-wrap .wpcf7-form-control:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
  background: #fff;
}

.contact-form-wrap .w3ctrl-math-captcha {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
}

.contact-form-wrap .w3ctrl-math-captcha > p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
}

.contact-form-wrap .w3ctrl-math-captcha br {
  display: none;
}

.contact-form-wrap .w3ctrl-math-captcha-title {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
  white-space: nowrap;
}

.contact-form-wrap .w3ctrl-math-captcha .wpcf7-form-control-wrap[data-name="captcha-math"] {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.contact-form-wrap .w3ctrl-math-captcha .wpcf7-form-control-wrap[data-name="captcha-math"] > label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
}

.contact-form-wrap .w3ctrl-math-captcha .wpcf7-quiz-label {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.contact-form-wrap .w3ctrl-math-captcha input.wpcf7-quiz {
  flex: 1 1 auto;
  width: 100% !important;
  min-width: 0;
  max-width: none;
}

.contact-form-wrap .wpcf7-submit {
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 0.85rem 1.85rem;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}

.contact-form-wrap .wpcf7-submit:hover {
  background: var(--color-primary-dark);
}

.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.82rem;
  color: #b42318;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 1rem 0 0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.contact-map-panel {
  position: relative;
  min-height: 360px;
  background: #dfe8d8;
}

.contact-map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.contact-map-placeholder {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-muted);
  padding: 2rem;
}

.contact-map-placeholder i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-map-pin {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
}

.contact-map-pin i {
  color: var(--color-secondary);
  margin-top: 0.15rem;
}

@media (min-width: 992px) {
  .contact-hero {
    padding: 4.25rem 0 2.5rem;
  }

  .contact-shell {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 560px;
  }

  .contact-form-panel {
    padding: 2.5rem 2.25rem;
  }

  .contact-map-panel,
  .contact-map-panel iframe,
  .contact-map-placeholder {
    min-height: 100%;
  }
}

.blank-page {
  min-height: 40vh;
}

.is-blank-template .sticky-mobile-bar {
  display: none;
}

.maintenance-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.maintenance-card {
  max-width: 36rem;
  width: 100%;
  text-align: center;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 3rem 2rem;
}

.maintenance-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.maintenance-logo img,
.maintenance-logo .custom-logo {
  height: 48px;
  width: auto;
}

.is-maintenance .site-header,
.is-maintenance .site-preheader,
.is-maintenance .site-top,
.is-maintenance .site-footer,
.is-maintenance .sticky-mobile-bar {
  display: none !important;
}

#wpadminbar #wp-admin-bar-w3ctrl-maintenance .ab-item {
  background: var(--color-accent);
  color: #fff;
}
