/* ============================================================
   SAFFRON & SPICE — Premium UK Spice & Grocery Store
   style.css — Main Stylesheet
   WordPress-ready: split into enqueued stylesheets per template
   ============================================================ */

/* ── 1. DESIGN TOKENS ── */
:root {
  --clr-white: #ffffff;
  --clr-offwhite: #faf8f4;
  --clr-beige: #f2ede3;
  --clr-beige-dark: #e8dfd0;
  --clr-green: #1a3c2b;
  --clr-green-mid: #2a5c42;
  --clr-green-light: #3d7a58;
  --clr-gold: #c8922a;
  --clr-gold-light: #e8b84b;
  --clr-gold-pale: #f5e4b8;
  --clr-text: #1a1a18;
  --clr-text-mid: #4a4a44;
  --clr-text-light: #7a7a72;
  --clr-border: #ddd5c4;
  --clr-success: #2e7d52;
  --clr-whatsapp: #25d366;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-soft: 0 4px 20px rgba(26, 60, 43, 0.08);
  --shadow-card: 0 8px 40px rgba(26, 60, 43, 0.12);
  --shadow-hover: 0 16px 56px rgba(26, 60, 43, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ── 2. RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--clr-offwhite);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
textarea {
  font-family: inherit;
}

/* ── 3. UTILITY CLASSES ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
}
.section-label::before,
.section-label::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clr-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--clr-green);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--clr-text-mid);
  max-width: 540px;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--clr-gold);
  color: var(--clr-white);
}
.btn-primary:hover {
  background: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 146, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--clr-green);
  border: 2px solid var(--clr-green);
}
.btn-outline:hover {
  background: var(--clr-green);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--clr-green);
  color: var(--clr-white);
}
.btn-green:hover {
  background: var(--clr-green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 43, 0.3);
}

.btn-whatsapp {
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-instock {
  background: #e8f5ee;
  color: var(--clr-success);
}
.badge-lowstock {
  background: #fef3e2;
  color: #c67b1a;
}
.badge-sale {
  background: var(--clr-gold-pale);
  color: var(--clr-gold);
}

/* Scroll animation base */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── 4. ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--clr-green);
  color: var(--clr-gold-pale);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announcement-bar strong {
  color: var(--clr-gold-light);
}

/* ── 5. HEADER ── */
/* WordPress: header.php */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-white);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}
.site-header.scrolled {
  border-color: var(--clr-border);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Logo */
.site-logo img,
.site-logo-img {
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
}

.logo-area img {
  max-height: 40px;
  width: auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--clr-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg {
  width: 24px;
  height: 24px;
  fill: var(--clr-gold-light);
}
.logo-text {
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-green);
  display: block;
}
.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-weight: 600;
}

/* Responsive logo tweaks */

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .site-logo img,
  .site-logo .custom-logo,
  .site-logo-img {
    max-height: 36px;
  }

  .logo-name {
    font-size: 1rem;
  }
}

/* Primary Nav */
.primary-nav {
  display: flex;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text-mid);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--clr-green);
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 60%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--clr-text-mid);
  transition: var(--transition);
}
.action-btn:hover {
  background: var(--clr-beige);
  color: var(--clr-green);
}
.action-btn svg {
  width: 20px;
  height: 20px;
}
.action-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-divider {
  width: 1px;
  height: 24px;
  background: var(--clr-border);
  margin-inline: 0.25rem;
}
.whatsapp-header-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.whatsapp-header-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
.whatsapp-header-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--clr-green);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  padding: 1rem var(--gutter);
  gap: 0.25rem;
  box-shadow: var(--shadow-card);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text-mid);
  border-bottom: 1px solid var(--clr-beige);
  transition: color var(--transition);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--clr-green);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 60, 43, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-box {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: min(640px, 90vw);
  box-shadow: var(--shadow-hover);
}
.search-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--clr-green);
  margin-bottom: 1rem;
}
.search-input-wrap {
  display: flex;
  gap: 0.5rem;
}
.search-input-wrap input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-input-wrap input:focus {
  border-color: var(--clr-green);
}
.search-input-wrap button {
  padding: 0.875rem 1.5rem;
  background: var(--clr-green);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.search-input-wrap button:hover {
  background: var(--clr-green-mid);
}
.search-close {
  display: block;
  margin-top: 1rem;
  color: var(--clr-text-light);
  font-size: 0.85rem;
  text-align: right;
  cursor: pointer;
}
.search-close:hover {
  color: var(--clr-green);
}

/* ── 6. HERO SECTION ── */
/* WordPress: front-page.php hero part */
.hero {
  position: relative;
  min-height: clamp(520px, 85vh, 820px);
  overflow: hidden;
  background: var(--clr-green);
}

.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* Slide backgrounds using CSS gradients + overlays (no image deps) */
.slide-1 .hero-slide-bg {
  background:
    linear-gradient(
      135deg,
      rgba(26, 60, 43, 0.82) 0%,
      rgba(26, 60, 43, 0.4) 60%,
      rgba(200, 146, 42, 0.25) 100%
    ),
    radial-gradient(ellipse at 80% 50%, #8b6914 0%, #3d7a58 40%, #1a3c2b 100%);
}
.slide-2 .hero-slide-bg {
  background:
    linear-gradient(
      135deg,
      rgba(26, 60, 43, 0.85) 0%,
      rgba(26, 60, 43, 0.5) 100%
    ),
    radial-gradient(ellipse at 30% 60%, #c8922a 0%, #2a5c42 50%, #1a3c2b 100%);
}
.slide-3 .hero-slide-bg {
  background:
    linear-gradient(
      135deg,
      rgba(26, 60, 43, 0.88) 0%,
      rgba(26, 60, 43, 0.45) 100%
    ),
    radial-gradient(ellipse at 70% 30%, #b5441a 0%, #1a3c2b 60%);
}

/* Decorative spice-inspired shapes */
.hero-slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(200, 146, 42, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 15% 75%,
      rgba(61, 122, 88, 0.2) 0%,
      transparent 40%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: inherit;
  gap: 2rem;
}

.hero-content {
  padding-block: 5rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(200, 146, 42, 0.2);
  border: 1px solid rgba(200, 146, 42, 0.4);
  border-radius: 100px;
  color: var(--clr-gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow span {
  color: var(--clr-gold-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: var(--clr-gold-light);
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions .btn {
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  display: block;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Hero visual panel */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.hero-product-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 320px;
  width: 100%;
}
.hero-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #c8922a, #e8b84b, #3d7a58);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.spice-icon-hero {
  font-size: 5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.hero-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--clr-white);
  margin-bottom: 0.25rem;
}
.hero-card-origin {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}
.hero-card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-gold-light);
}
.hero-card-unit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--clr-gold);
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.hero-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.hero-nav-prev {
  left: 1.5rem;
}
.hero-nav-next {
  right: 1.5rem;
}

/* ── 7. TRUST BAR ── */
.trust-bar {
  background: var(--clr-green);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.trust-item:last-child {
  border-right: none;
}
.trust-item svg {
  color: var(--clr-gold-light);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ── 8. CATEGORIES SECTION ── */
/* WordPress: front-page.php or archive-product.php */
.section-categories {
  padding: 5rem 0;
  background: var(--clr-offwhite);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.category-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.category-img-bg {
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}
.category-card:hover .category-img-bg {
  transform: scale(1.08);
}
.category-emoji {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
.category-card:hover .category-emoji {
  transform: scale(1.12) rotate(-3deg);
}

/* Category card backgrounds */
.cat-rice .category-img-bg {
  background: linear-gradient(135deg, #f5e6c8, #e8d5a0);
}
.cat-flour .category-img-bg {
  background: linear-gradient(135deg, #f0ede6, #e0d8c8);
}
.cat-spices .category-img-bg {
  background: linear-gradient(135deg, #ffe0cc, #ffb899);
}
.cat-lentils .category-img-bg {
  background: linear-gradient(135deg, #e8d8c0, #d4b896);
}
.cat-oils .category-img-bg {
  background: linear-gradient(135deg, #fefce8, #fef08a);
}
.cat-snacks .category-img-bg {
  background: linear-gradient(135deg, #fce7f3, #f9a8d4);
}
.cat-tea .category-img-bg {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
}
.cat-frozen .category-img-bg {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
}

.category-body {
  padding: 1rem 1.25rem 1.25rem;
}
.category-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-green);
  margin-bottom: 0.2rem;
}
.category-count {
  font-size: 0.75rem;
  color: var(--clr-text-light);
}
.category-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clr-green);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}
.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ── 9. FEATURED PRODUCTS ── */
/* WordPress: front-page.php or archive-product.php */
.section-products {
  padding: 5rem 0;
  background: var(--clr-beige);
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text-mid);
  background: var(--clr-white);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--clr-green);
  background: var(--clr-green);
  color: var(--clr-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.product-card[data-category] {
  display: flex;
}
.product-card.hidden {
  display: none;
}

.product-img-wrap {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-bg {
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-img-bg {
  transform: scale(1.06);
}
.product-emoji {
  font-size: 4rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Product image bg colours */

.prod-bg-1 {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}
.prod-bg-2 {
  background: linear-gradient(135deg, #fff1c1, #f5d67a);
}
.prod-bg-3 {
  background: linear-gradient(135deg, #d4edda, #a8d5b5);
}
.prod-bg-4 {
  background: linear-gradient(135deg, #e8d5a3, #d4b87a);
}
.prod-bg-5 {
  background: linear-gradient(135deg, #f5e6e8, #dda0be);
}
.prod-bg-6 {
  background: linear-gradient(135deg, #e1f0ff, #a8cfee);
}
.prod-bg-7 {
  background: linear-gradient(135deg, #f0fff4, #9ae6b4);
}
.prod-bg-8 {
  background: linear-gradient(135deg, #fff5f5, #feb2b2);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 2;
}

.product-wishlist {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.product-wishlist:hover {
  transform: scale(1.1);
}

.product-wishlist.active svg {
  fill: #e53e3e;
  stroke: #e53e3e;
}

.product-wishlist svg {
  width: 16px;
  height: 16px;
  stroke: var(--clr-text-mid);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.35rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-green);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.product-desc {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex: 1;
}
.product-weight {
  font-size: 0.75rem;
  color: var(--clr-text-light);
  margin-bottom: 0.75rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.price-current {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-green);
}
.price-old {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}
.product-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* Shop Grid */
.section-products.shop-page .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-products.shop-page .products li.product {
  display: flex;
}

/* Product Card */
.section-products.shop-page .shop-product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-sizing: border-box;
}

.section-products.shop-page .shop-product-card:hover {
  border-color: var(--clr-green);
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.section-products.shop-page .shop-product-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.section-products.shop-page .shop-product-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--clr-beige);
}

.section-products.shop-page .shop-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.section-products.shop-page
  .shop-product-card:hover
  .shop-product-card-media
  img {
  transform: scale(1.04);
}

.section-products.shop-page .shop-product-card-content {
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.section-products.shop-page .shop-product-category {
  font-size: 0.75rem;
  color: var(--clr-text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-products.shop-page .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-green);
  line-height: 1.3;
  margin: 0;
}

.section-products.shop-page .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-green-mid);
}

/* Buttons */
.section-products.shop-page .shop-product-card-footer {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-products.shop-page .shop-product-card-footer .button,
.section-products.shop-page .shop-product-card-footer .added_to_cart,
.section-products.shop-page .shop-product-card-footer .button.wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
  text-transform: none;
}

.section-products.shop-page .shop-product-card-footer .button:hover,
.section-products.shop-page .shop-product-card-footer .button.added,
.section-products.shop-page .shop-product-card-footer .added_to_cart,
.section-products.shop-page .shop-product-card-footer .button.wc-forward {
  transform: translateY(-2px);
}

.section-products.shop-page .shop-product-card-footer .button.alt,
.section-products.shop-page
  .shop-product-card-footer
  .button.product_type_variable,
.section-products.shop-page
  .shop-product-card-footer
  .button.product_type_grouped,
.section-products.shop-page
  .shop-product-card-footer
  .button.product_type_external,
.section-products.shop-page .shop-product-card-footer .added_to_cart,
.section-products.shop-page .shop-product-card-footer .button.wc-forward {
  background: #ffffff;
  color: var(--clr-green);
  border: 2px solid var(--clr-green);
  box-shadow: none;
}

.section-products.shop-page .shop-product-card-footer .button.alt:hover,
.section-products.shop-page
  .shop-product-card-footer
  .button.product_type_variable:hover,
.section-products.shop-page
  .shop-product-card-footer
  .button.product_type_grouped:hover,
.section-products.shop-page
  .shop-product-card-footer
  .button.product_type_external:hover,
.section-products.shop-page .shop-product-card-footer .added_to_cart:hover,
.section-products.shop-page .shop-product-card-footer .button.wc-forward:hover {
  background: var(--clr-green);
  color: #ffffff;
}

/* WhatsApp Button */
.section-products.shop-page .shop-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 12px;
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  margin-top: 12px;
}

.section-products.shop-page .shop-whatsapp-order:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.18);
}

/* Responsive */
@media (max-width: 1600px) {
  .section-products.shop-page .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .section-products.shop-page .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section-products.shop-page .products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-products.shop-page .shop-product-card-content,
  .section-products.shop-page .shop-product-card-footer {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .section-products.shop-page .woocommerce-loop-product__title {
    font-size: 1rem;
  }
}

/* ── 10. WHY CHOOSE US ── */
.section-why {
  padding: 5rem 0;
  background: var(--clr-green);
}
.section-why .section-title {
  color: var(--clr-white);
}
.section-why .section-label {
  color: var(--clr-gold-light);
}
.section-why .section-label::before,
.section-why .section-label::after {
  background: var(--clr-gold-light);
}
.section-why .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  border-color: rgba(200, 146, 42, 0.4);
}
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(200, 146, 42, 0.15);
  border: 1px solid rgba(200, 146, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: rgba(200, 146, 42, 0.25);
  transform: scale(1.08);
}
.why-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}
.why-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ── 11. PROMO BANNER ── */
.section-promo {
  padding: 4rem 0;
  background: var(--clr-offwhite);
}
.promo-inner {
  background: linear-gradient(
    135deg,
    var(--clr-green) 0%,
    var(--clr-green-mid) 60%,
    var(--clr-green-light) 100%
  );
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}
.promo-inner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(200, 146, 42, 0.12);
}
.promo-inner::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.promo-content {
  position: relative;
  z-index: 1;
}
.promo-tag {
  display: inline-block;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.promo-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.promo-title em {
  color: var(--clr-gold-light);
  font-style: italic;
}
.promo-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  max-width: 420px;
  line-height: 1.7;
}
.promo-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}
.promo-code-box {
  text-align: center;
}
.promo-code-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
}
.promo-code {
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  background: rgba(200, 146, 42, 0.15);
  border: 1.5px dashed rgba(200, 146, 42, 0.5);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition);
}
.promo-code:hover {
  background: rgba(200, 146, 42, 0.25);
}

/* ── 12. TESTIMONIALS ── */
.section-testimonials {
  padding: 5rem 0;
  background: var(--clr-beige);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--clr-gold-pale);
  line-height: 1;
}
.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.star {
  color: var(--clr-gold);
  font-size: 0.9rem;
}
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--clr-text-mid);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.av-1 {
  background: linear-gradient(135deg, #c8922a, #e8b84b);
}
.av-2 {
  background: linear-gradient(135deg, #2a5c42, #3d7a58);
}
.av-3 {
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
}
.av-4 {
  background: linear-gradient(135deg, #ec4899, #f9a8d4);
}
.av-5 {
  background: linear-gradient(135deg, #14b8a6, #5eead4);
}
.av-6 {
  background: linear-gradient(135deg, #f59e0b, #fde68a);
}

.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--clr-green);
}
.author-loc {
  font-size: 0.75rem;
  color: var(--clr-text-light);
  margin-top: 0.1rem;
}
.verified-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--clr-success);
  font-weight: 600;
}

/* ── 13. ABOUT SECTION ── */
.section-about {
  padding: 5rem 0;
  background: var(--clr-offwhite);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #1a3c2b, #3d7a58, #c8922a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-main-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 70%,
      rgba(200, 146, 42, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(26, 60, 43, 0.5) 0%,
      transparent 50%
    );
}
.about-big-emoji {
  font-size: 7rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}
.about-float-card {
  position: absolute;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
}
.about-float-card.card-tl {
  top: 1.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.about-float-card.card-br {
  bottom: 2rem;
  right: -1.5rem;
}
.float-emoji {
  font-size: 1.5rem;
}
.float-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-green);
}
.float-lbl {
  font-size: 0.7rem;
  color: var(--clr-text-light);
  font-weight: 500;
}
.float-stars {
  color: var(--clr-gold);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}
.float-rev-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-green);
}
.float-rev-lbl {
  font-size: 0.7rem;
  color: var(--clr-text-light);
}

.about-content {
}
.about-list {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--clr-text-mid);
  line-height: 1.6;
}
.about-list-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-gold-pale);
  border: 1.5px solid var(--clr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.about-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* ── 14. CONTACT SECTION ── */
/* WordPress: page.php */
.section-contact {
  padding: 5rem 0;
  background: var(--clr-beige);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}
.contact-detail:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--clr-green);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--clr-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  margin-bottom: 0.25rem;
}
.contact-detail-val {
  font-size: 0.9rem;
  color: var(--clr-green);
  font-weight: 500;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #e8efe8, #d1e0d1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--clr-border);
  position: relative;
}
.map-placeholder-inner {
  text-align: center;
  color: var(--clr-text-light);
}
.map-placeholder-inner .map-emoji {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.map-placeholder-inner p {
  font-size: 0.85rem;
}
.map-placeholder-inner small {
  font-size: 0.75rem;
  color: var(--clr-text-light);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--clr-border);
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--clr-green);
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-group {
  margin-bottom: 0.75rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--transition);
  background: var(--clr-offwhite);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-green);
  background: var(--clr-white);
}
.form-group textarea {
  height: 100px;
  resize: vertical;
}

/* ── 15. FOOTER ── */
/* WordPress: footer.php */
.site-footer {
  background: var(--clr-green);
  color: rgba(255, 255, 255, 0.8);
}
.footer-main {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-brand .site-logo {
  margin-bottom: 1.25rem;
}
.footer-brand .logo-name {
  color: var(--clr-white);
}
.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-links a::before {
  content: "›";
  color: var(--clr-gold);
  font-size: 1rem;
}
.footer-links a:hover {
  color: var(--clr-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-contact-item .icon {
  font-size: 0.9rem;
  margin-top: 0.1rem;
}
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: var(--transition);
}
.footer-wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--clr-white);
}

/* Payment icons */
.footer-payments {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pay-badge {
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

/* ── 16. BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--clr-green);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 60, 43, 0.3);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--clr-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 146, 42, 0.35);
}

/* ── 17. RESPONSIVE ── */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .hero-content {
    text-align: center;
  }
  .hero-description {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .promo-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .promo-actions {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .whatsapp-header-btn {
    display: none;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-item {
    padding: 0.5rem 1rem;
    border-right: none;
  }
  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .action-divider {
    display: none;
  }
  .whatsapp-header-btn {
    display: none;
  }
}

/* ── 18. REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/*==================================================
SINGLE PRODUCT PAGE
==================================================*/

.single-product-section {
  padding: 80px 0;

  background: #faf7f2;
}

.single-product-wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.single-product-image img {
  width: 100%;

  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.product-category {
  display: inline-block;

  background: #e9f7ef;

  color: #1b5e20;

  padding: 6px 14px;

  border-radius: 30px;

  font-size: 14px;

  margin-bottom: 15px;
}

.product-title {
  font-size: 42px;

  font-weight: 700;

  margin-bottom: 20px;
}

.product-price {
  font-size: 34px;

  color: #0b7a3b;

  font-weight: bold;

  margin-bottom: 20px;
}

.product-short-description {
  margin-bottom: 20px;

  font-size: 18px;
}

.product-description {
  line-height: 1.8;

  margin-bottom: 30px;
}

.whatsapp-order-btn {
  display: inline-block;

  background: #25d366;

  color: #fff;

  padding: 15px 30px;

  border-radius: 10px;

  text-decoration: none;

  font-weight: bold;

  transition: 0.3s;
}

.whatsapp-order-btn:hover {
  background: #128c7e;

  color: #fff;
}

.related-products-section {
  padding: 70px 0;
}

.related-products-section h2 {
  text-align: center;

  margin-bottom: 40px;

  font-size: 36px;
}

@media (max-width: 768px) {
  .single-product-wrapper {
    grid-template-columns: 1fr;
  }

  .product-title {
    font-size: 30px;
  }

  .product-price {
    font-size: 28px;
  }
}

/* Larger desktop tweaks for better proportion */
@media (min-width: 1200px) {
  .single-product-wrapper {
    grid-template-columns: 55% 45%;
    gap: 48px;
  }

  .single-product-image img {
    max-height: 520px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
  }

  .product-title {
    font-size: clamp(2.25rem, 2.5vw, 3rem);
  }

  .product-price {
    font-size: 2rem;
  }
}

/* ===========================
   HERO BACKGROUND IMAGE FIX
=========================== */

/*==================================
            HERO SECTION
==================================*/

.hero {
  position: relative;

  height: 90vh;

  overflow: hidden;
}

.hero-slider {
  width: 100%;

  height: 100%;
}

.hero-slide {
  position: relative;

  width: 100%;

  height: 100%;

  display: flex;

  align-items: center;
}

.hero-bg {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  /* Change image here */

  background: url("../images/photo-1596040033229-a9821ebd058d.avif");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  z-index: 1;
}

.hero-overlay {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: linear-gradient(
    90deg,
    rgba(18, 53, 36, 0.85),
    rgba(18, 53, 36, 0.55),
    rgba(18, 53, 36, 0.2)
  );

  z-index: 2;
}

.hero-content {
  position: relative;

  z-index: 3;

  max-width: 700px;

  color: #fff;
}

.hero-subtitle {
  display: inline-block;

  background: #c8a24a;

  padding: 8px 18px;

  border-radius: 30px;

  font-size: 14px;

  font-weight: bold;

  margin-bottom: 20px;

  color: #123524;
}

.hero-content h1 {
  font-size: 60px;

  line-height: 1.1;

  margin-bottom: 20px;

  font-weight: 700;
}

.hero-content p {
  font-size: 20px;

  line-height: 1.7;

  margin-bottom: 30px;

  max-width: 600px;
}

.hero-buttons {
  display: flex;

  gap: 15px;

  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 30px;

  border-radius: 40px;

  font-weight: bold;

  text-decoration: none;
}

.hero-buttons .btn-primary {
  background: #c8a24a;

  color: #123524;
}

.hero-buttons .btn-primary:hover {
  background: #ddb85d;
}

.hero-buttons .btn-whatsapp {
  background: #25d366;

  color: #fff;
}

.hero-buttons .btn-whatsapp:hover {
  background: #128c7e;
}

/*==========================
Responsive
==========================*/

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 45px;
  }

  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 75vh;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

/*=========================
Dynamic Categories
=========================*/

.categories {
  padding: 80px 0;
}

.categories-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 25px;
}

.category-card {
  background: #fff;

  padding: 30px;

  border-radius: 15px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  transition: 0.3s;

  text-align: center;
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card h3 {
  font-size: 24px;

  margin-bottom: 10px;

  color: #1f4b2c;
}

.category-card p {
  color: #666;

  margin-bottom: 15px;
}

.category-card a {
  color: #b8860b;

  font-weight: bold;

  text-decoration: none;
}

.category-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card {
  display: block;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-body {
  padding: 25px;
}

/* ===========================
   CONTACT PAGE FORM DESIGN
=========================== */

.custom-page-section {
  padding: 90px 0;
  background: #faf8f4;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  color: #1a3c2b;
}

.page-content-area {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(26, 60, 43, 0.12);
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  color: #1a3c2b;
  margin-bottom: 18px;
}

.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1.5px solid #ddd5c4;
  border-radius: 10px;
  background: #faf8f4;
  font-size: 15px;
  outline: none;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #1a3c2b;
  background: #ffffff;
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-submit {
  background: #c8922a !important;
  color: #ffffff !important;
  border: none !important;
  padding: 15px 34px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.wpcf7-submit:hover {
  background: #1a3c2b !important;
}

.wpcf7-response-output {
  border-radius: 10px !important;
  padding: 15px !important;
  text-align: center;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 34px;
  }

  .page-content-area {
    padding: 25px;
  }
}

/* WooCommerce Default Single Product Styling */

.single-product div.product {
  max-width: 1200px;
  margin: 70px auto;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(26, 60, 43, 0.12);
}

.single-product .product_title {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  color: #1a3c2b;
}

.single-product .price {
  color: #0b7a3b !important;
  font-size: 32px !important;
  font-weight: 800;
}

.single-product .woocommerce-product-gallery img {
  border-radius: 20px;
}

.single-product button.single_add_to_cart_button {
  background: #1a3c2b !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
}

.single-product button.single_add_to_cart_button:hover {
  background: #c8922a !important;
}

.single-product .woocommerce-tabs {
  max-width: 1200px;
  margin: 40px auto;
}

.single-product .related.products {
  max-width: 1200px;
  margin: 60px auto;
}

@media (max-width: 768px) {
  .single-product div.product {
    padding: 20px;
    margin: 40px 15px;
  }

  .single-product .product_title {
    font-size: 32px;
  }
}

/* ============================================================
   FINAL FIX — WooCommerce Shop / Category Product Cards
   Paste-safe override. Keep this at the VERY BOTTOM of style.css
   ============================================================ */

/* Shop page wrapper spacing */
.woocommerce-shop .section-products,
.tax-product_cat .section-products,
.post-type-archive-product .section-products,
.section-products.shop-page {
  padding: 5rem 0;
  background: var(--clr-beige);
}

/* Fix collapsed WooCommerce grid */
.woocommerce-shop ul.products,
.tax-product_cat ul.products,
.post-type-archive-product ul.products,
.section-products.shop-page ul.products,
.section-products.shop-page .products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 var(--gutter) !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

/* Remove WooCommerce default float/width that can collapse cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce-shop ul.products li.product,
.tax-product_cat ul.products li.product,
.post-type-archive-product ul.products li.product,
.section-products.shop-page ul.products li.product,
.section-products.shop-page .products li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(26, 60, 43, 0.08) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
  box-sizing: border-box !important;
}

/* Product card hover */
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
.woocommerce-shop ul.products li.product:hover,
.tax-product_cat ul.products li.product:hover,
.post-type-archive-product ul.products li.product:hover,
.section-products.shop-page ul.products li.product:hover,
.section-products.shop-page .products li.product:hover {
  transform: translateY(-6px) !important;
  border-color: var(--clr-green) !important;
  box-shadow: 0 16px 42px rgba(26, 60, 43, 0.16) !important;
}

/* Custom card wrapper if archive-product.php uses it */
.section-products.shop-page .shop-product-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Product image area */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.woocommerce-shop ul.products li.product img,
.tax-product_cat ul.products li.product img,
.post-type-archive-product ul.products li.product img,
.section-products.shop-page .shop-product-card-media img,
.section-products.shop-page ul.products li.product img {
  width: 100% !important;
  height: 260px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.45s ease !important;
}

.woocommerce ul.products li.product:hover img,
.woocommerce-page ul.products li.product:hover img,
.section-products.shop-page .shop-product-card:hover img {
  transform: scale(1.04) !important;
}

/* Product content spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.section-products.shop-page .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  color: var(--clr-green) !important;
  font-weight: 700 !important;
  padding: 1.25rem 1.25rem 0.25rem !important;
  margin: 0 !important;
  min-height: 62px !important;
}

.woocommerce ul.products li.product .product-category,
.woocommerce-page ul.products li.product .product-category,
.section-products.shop-page .shop-product-category {
  display: block !important;
  width: auto !important;
  background: transparent !important;
  color: var(--clr-text-light) !important;
  padding: 0 1.25rem !important;
  margin: 0.35rem 0 !important;
  border-radius: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.section-products.shop-page .price {
  display: block !important;
  color: var(--clr-gold) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0 1.25rem !important;
  margin: 0.35rem 0 1rem !important;
}

/* Footer/action area */
.section-products.shop-page .shop-product-card-footer,
.woocommerce ul.products li.product .product-actions,
.woocommerce-page ul.products li.product .product-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 1.25rem 1.25rem !important;
  margin-top: auto !important;
  width: 100% !important;
}

/* WooCommerce default button placement */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .added_to_cart,
.section-products.shop-page .shop-product-card-footer .button,
.section-products.shop-page .shop-product-card-footer .added_to_cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 2.5rem) !important;
  min-height: 48px !important;
  margin: 0 1.25rem 0.75rem !important;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  border: 2px solid var(--clr-green) !important;
  background: var(--clr-green) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease !important;
}

/* Select options / variable product button */
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce-page ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .button.product_type_grouped,
.woocommerce-page ul.products li.product .button.product_type_grouped {
  background: #ffffff !important;
  color: var(--clr-green) !important;
  border-color: var(--clr-green) !important;
}

/* View cart button after Ajax add */
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .button.wc-forward,
.woocommerce-page ul.products li.product .button.wc-forward {
  background: #ffffff !important;
  color: var(--clr-green) !important;
  border-color: var(--clr-green) !important;
  margin-top: 0 !important;
}

/* Button hover */
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover,
.woocommerce-page ul.products li.product .added_to_cart:hover,
.section-products.shop-page .shop-product-card-footer .button:hover,
.section-products.shop-page .shop-product-card-footer .added_to_cart:hover {
  background: var(--clr-gold) !important;
  border-color: var(--clr-gold) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* WhatsApp button */
.shop-whatsapp-order,
.woocommerce ul.products li.product .shop-whatsapp-order,
.woocommerce-page ul.products li.product .shop-whatsapp-order,
.section-products.shop-page .shop-whatsapp-order {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 2.5rem) !important;
  min-height: 48px !important;
  margin: 0 1.25rem 1.25rem !important;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  border: 2px solid var(--clr-whatsapp) !important;
  background: var(--clr-whatsapp) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease !important;
}

.shop-whatsapp-order:hover,
.woocommerce ul.products li.product .shop-whatsapp-order:hover,
.woocommerce-page ul.products li.product .shop-whatsapp-order:hover,
.section-products.shop-page .shop-whatsapp-order:hover {
  background: #1ebe5d !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22) !important;
}

/* Make button gap clean when Add to cart + WhatsApp are together */
.woocommerce ul.products li.product .button + .shop-whatsapp-order,
.woocommerce-page ul.products li.product .button + .shop-whatsapp-order,
.woocommerce ul.products li.product .added_to_cart + .shop-whatsapp-order,
.woocommerce-page ul.products li.product .added_to_cart + .shop-whatsapp-order {
  margin-top: 0.25rem !important;
}

/* Product category archive header */
.woocommerce-products-header,
.shop-header,
.archive-products-header {
  text-align: center !important;
  max-width: 900px !important;
  margin: 0 auto 3rem !important;
  padding: 4rem var(--gutter) 1rem !important;
}

/* Responsive grid */
@media (max-width: 1200px) {
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .section-products.shop-page ul.products,
  .section-products.shop-page .products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .section-products.shop-page ul.products,
  .section-products.shop-page .products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img,
  .section-products.shop-page .shop-product-card-media img {
    height: 230px !important;
    max-height: 230px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .section-products.shop-page ul.products,
  .section-products.shop-page .products,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 0 1rem !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img,
  .section-products.shop-page .shop-product-card-media img {
    height: 240px !important;
    max-height: 240px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.08rem !important;
    min-height: auto !important;
  }
}

/* ============================================================
   FINAL SAFE OVERRIDE — WooCommerce Shop Cards & Buttons Fix
   Purpose:
   - Fix collapsed product card widths
   - Fix huge WhatsApp emoji/icon
   - Make Add to Cart, Select Options, View Cart and WhatsApp buttons responsive
   - Keep existing theme design safely
   ============================================================ */

/* Shop page/category page spacing */
.woocommerce-shop .section-products,
.tax-product_cat .section-products,
.post-type-archive-product .section-products {
  padding-top: 4rem !important;
  padding-bottom: 5rem !important;
}

/* Make shop container wider but controlled */
.woocommerce-shop .section-products .container,
.tax-product_cat .section-products .container,
.post-type-archive-product .section-products .container,
.section-products.shop-page .container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 3vw, 2rem) !important;
  padding-right: clamp(1rem, 3vw, 2rem) !important;
}

/* Product grid: desktop 3 columns, tablet 2, mobile 1 */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce-shop ul.products,
.tax-product_cat ul.products,
.post-type-archive-product ul.products,
.section-products.shop-page ul.products,
.section-products.shop-page .products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Reset WooCommerce default floating columns */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce-shop ul.products li.product,
.tax-product_cat ul.products li.product,
.post-type-archive-product ul.products li.product,
.section-products.shop-page ul.products li.product,
.section-products.shop-page .products li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e5e0d5 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(26, 60, 43, 0.07) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
.section-products.shop-page ul.products li.product:hover {
  transform: translateY(-6px) !important;
  border-color: var(--clr-green) !important;
  box-shadow: 0 16px 40px rgba(26, 60, 43, 0.14) !important;
}

/* Product image only — do not affect emoji/icon images inside buttons */
.woocommerce ul.products li.product > a img,
.woocommerce-page ul.products li.product > a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link img,
.section-products.shop-page .shop-product-card-media img {
  width: 100% !important;
  height: 260px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.35s ease !important;
}

.woocommerce ul.products li.product:hover > a img,
.woocommerce-page ul.products li.product:hover > a img,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img,
.woocommerce-page
  ul.products
  li.product:hover
  .woocommerce-loop-product__link
  img {
  transform: scale(1.04) !important;
}

/* Product text spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
  color: var(--clr-green) !important;
  font-weight: 700 !important;
  padding: 1.2rem 1.25rem 0.25rem !important;
  margin: 0 !important;
  min-height: 62px !important;
}

.woocommerce ul.products li.product .product-category,
.woocommerce-page ul.products li.product .product-category,
.woocommerce ul.products li.product .shop-product-category,
.woocommerce-page ul.products li.product .shop-product-category {
  display: inline-block !important;
  margin: 0.6rem 1.25rem 0 !important;
  padding: 0.35rem 0.8rem !important;
  border-radius: 999px !important;
  background: #e9f7ef !important;
  color: var(--clr-green) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: block !important;
  padding: 0.35rem 1.25rem 0.85rem !important;
  margin: 0 !important;
  color: var(--clr-gold) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* Keep buttons at bottom and make spacing clean */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .added_to_cart,
.section-products.shop-page .shop-product-card-footer .button,
.section-products.shop-page .shop-product-card-footer .added_to_cart {
  width: calc(100% - 2.5rem) !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0.35rem 1.25rem 0 !important;
  padding: 0.78rem 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease !important;
}

/* Add to Cart default */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce-page ul.products li.product .button.add_to_cart_button {
  background: var(--clr-green) !important;
  color: #ffffff !important;
  border: 2px solid var(--clr-green) !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product .button.add_to_cart_button:hover {
  background: var(--clr-gold) !important;
  border-color: var(--clr-gold) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Select Options / View Cart */
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce-page ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .button.wc-forward,
.woocommerce-page ul.products li.product .button.wc-forward {
  background: #ffffff !important;
  color: var(--clr-green) !important;
  border: 2px solid var(--clr-green) !important;
}

.woocommerce ul.products li.product .button.product_type_variable:hover,
.woocommerce-page ul.products li.product .button.product_type_variable:hover,
.woocommerce ul.products li.product .added_to_cart:hover,
.woocommerce-page ul.products li.product .added_to_cart:hover,
.woocommerce ul.products li.product .button.wc-forward:hover,
.woocommerce-page ul.products li.product .button.wc-forward:hover {
  background: var(--clr-green) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* WhatsApp button fixed: normal height, full width, never huge */
.shop-whatsapp-order,
.woocommerce ul.products li.product .shop-whatsapp-order,
.woocommerce-page ul.products li.product .shop-whatsapp-order,
.section-products.shop-page .shop-whatsapp-order {
  width: calc(100% - 2.5rem) !important;
  min-height: 48px !important;
  max-height: 48px !important;
  height: 48px !important;
  margin: 0.8rem 1.25rem 1.25rem !important;
  padding: 0.75rem 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: var(--clr-whatsapp) !important;
  color: #ffffff !important;
  border: 2px solid var(--clr-whatsapp) !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  transform: none !important;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease !important;
}

.shop-whatsapp-order:hover,
.woocommerce ul.products li.product .shop-whatsapp-order:hover,
.woocommerce-page ul.products li.product .shop-whatsapp-order:hover {
  background: #1ebe5d !important;
  border-color: #1ebe5d !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22) !important;
}

/* Critical fix: WordPress converts emoji into img.emoji; previous image rules made it huge */
.shop-whatsapp-order img,
.shop-whatsapp-order img.emoji,
.shop-whatsapp-order svg,
.woocommerce ul.products li.product .shop-whatsapp-order img,
.woocommerce ul.products li.product .shop-whatsapp-order img.emoji,
.woocommerce ul.products li.product .shop-whatsapp-order svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin: 0 0.35rem 0 0 !important;
  padding: 0 !important;
  vertical-align: -2px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .section-products.shop-page ul.products,
  .section-products.shop-page .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .woocommerce-shop .section-products .container,
  .tax-product_cat .section-products .container,
  .post-type-archive-product .section-products .container,
  .section-products.shop-page .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .section-products.shop-page ul.products,
  .section-products.shop-page .products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .woocommerce ul.products li.product > a img,
  .woocommerce-page ul.products li.product > a img,
  .woocommerce ul.products li.product .woocommerce-loop-product__link img,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__link img {
    height: 240px !important;
    max-height: 240px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: auto !important;
    font-size: 1.05rem !important;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart,
  .woocommerce-page ul.products li.product .added_to_cart,
  .shop-whatsapp-order,
  .woocommerce ul.products li.product .shop-whatsapp-order,
  .woocommerce-page ul.products li.product .shop-whatsapp-order {
    width: calc(100% - 2rem) !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    font-size: 0.9rem !important;
  }
}


