/* ==========================================================================
   ECOLYFT — WOOCOMMERCE SOPHIA-PRO LUXURY STYLING
   Single Product, Category, and Archive Pages
   ========================================================================== */

:root {
  --eco-forest-deep: #162c1b;
  --eco-forest-mid: #223f27;
  --eco-forest-stage: #27472e;
  --eco-forest-light: #365e3c;
  --eco-leaf-accent: #61ce70;
  --eco-gold-accent: #e5b94c;
  --eco-gold-dark: #b88e2c;
  --eco-ivory-warm: #fbf9f4;
  --eco-ivory-soft: #f4efe6;
  --eco-ivory-muted: #e2ddd4;
  --eco-charcoal: #1c241e;
  --eco-body-text: #3d4a40;
  --eco-muted-text: #6b786e;
  --eco-border-light: rgba(22, 44, 27, 0.1);
  --eco-border-card: rgba(22, 44, 27, 0.08);
  --eco-card-shadow: 0 12px 36px rgba(22, 44, 27, 0.06);
  --eco-card-hover-shadow: 0 20px 48px rgba(22, 44, 27, 0.12);
  --eco-radius-card: 18px;
  --eco-radius-pill: 9999px;
  --eco-font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --eco-font-serif: 'Roboto Slab', Georgia, serif;
}

/* Global Reset & Base Typography for WooCommerce Stages */
.elementor-location-archive,
.elementor-location-single,
.woocommerce-page {
  font-family: var(--eco-font-heading);
  color: var(--eco-body-text);
  background-color: var(--eco-ivory-warm);
}

/* --------------------------------------------------------------------------
   ARCHIVE HERO & CATEGORY HEADER
   -------------------------------------------------------------------------- */
.ecolyft-archive-hero {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #223f27 0%, #162c1b 100%);
  color: #ffffff;
  padding: 70px 5vw 60px;
  text-align: center;
  overflow: hidden;
}

.ecolyft-archive-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(97, 206, 112, 0.2) 0%, rgba(229, 185, 76, 0.1) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.ecolyft-archive-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.ecolyft-archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(97, 206, 112, 0.15);
  border: 1px solid rgba(97, 206, 112, 0.35);
  color: var(--eco-leaf-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--eco-radius-pill);
  margin-bottom: 18px;
}

.ecolyft-archive-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--eco-ivory-warm);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.ecolyft-archive-subtitle {
  font-family: var(--eco-font-serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--eco-ivory-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Category Quick Navigation Filter Pills */
.ecolyft-cat-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.ecolyft-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--eco-ivory-warm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--eco-radius-pill);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.ecolyft-cat-pill:hover,
.ecolyft-cat-pill.is-active {
  background: var(--eco-leaf-accent);
  color: var(--eco-forest-deep);
  border-color: var(--eco-leaf-accent);
  font-weight: 600;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(97, 206, 112, 0.3);
}

/* --------------------------------------------------------------------------
   BREADCRUMBS
   -------------------------------------------------------------------------- */
.woocommerce-breadcrumb,
.ecolyft-breadcrumb {
  font-size: 0.85rem !important;
  color: var(--eco-muted-text) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  letter-spacing: 0.02em;
}

.woocommerce-breadcrumb a,
.ecolyft-breadcrumb a {
  color: var(--eco-forest-light) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover,
.ecolyft-breadcrumb a:hover {
  color: var(--eco-forest-deep) !important;
  text-decoration: underline !important;
}

/* --------------------------------------------------------------------------
   ARCHIVE PRODUCTS GRID & PRODUCT CARDS (Sophia-Pro Aesthetic)
   -------------------------------------------------------------------------- */
.ecolyft-archive-stage {
  max-width: 1320px;
  margin: 0 auto;
  padding: 50px 5vw 80px;
  box-sizing: border-box;
}

.woocommerce .woocommerce-result-count {
  font-size: 0.9rem;
  color: var(--eco-muted-text);
  margin-bottom: 24px;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 24px;
}

.woocommerce .woocommerce-ordering select {
  font-family: var(--eco-font-heading);
  font-size: 0.88rem;
  padding: 8px 16px;
  border: 1px solid var(--eco-border-light);
  border-radius: var(--eco-radius-pill);
  background: #ffffff;
  color: var(--eco-charcoal);
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Product Card Grid */
.woocommerce ul.products,
.elementor-widget-wc-archive-products ul.products,
.elementor-widget-woocommerce-archive-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
  margin: 0 0 40px !important;
  padding: 0 !important;
  list-style: none !important;
}

@media (max-width: 1024px) {
  .woocommerce ul.products,
  .elementor-widget-wc-archive-products ul.products,
  .elementor-widget-woocommerce-archive-products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce ul.products,
  .elementor-widget-wc-archive-products ul.products,
  .elementor-widget-woocommerce-archive-products ul.products {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

.woocommerce ul.products li.product,
.elementor-widget-wc-archive-products ul.products li.product {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  padding: 24px 20px 22px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: var(--eco-card-shadow) !important;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover,
.elementor-widget-wc-archive-products ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--eco-card-hover-shadow) !important;
  border-color: rgba(97, 206, 112, 0.4) !important;
}

/* Product Card Image Container */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Adaptive Multi-Aspect Ratio Product Card Images (Landscape, Portrait, 1:1) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  position: relative !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
  width: 100% !important;
  height: 250px !important;
  max-height: 250px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto 16px !important;
  padding: 14px !important;
  box-sizing: border-box !important;
  background: radial-gradient(circle at 50% 50%, #f7f9f7 0%, #edf1ee 100%) !important;
  border-radius: 14px !important;
  filter: drop-shadow(0 6px 14px rgba(22, 44, 27, 0.08)) !important;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: block !important;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img {
  transform: translateY(-4px) scale(1.04) !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.04) !important;
}

/* Sale Badge (Card Loop & Single Product - Compact, Never Elongated) */
.woocommerce span.onsale,
.woocommerce div.product span.onsale,
.woocommerce ul.products li.product span.onsale,
.elementor-widget-wc-archive-products span.onsale,
.elementor-widget-woocommerce-product-images span.onsale {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important; /* Cancels WooCommerce core left: -0.5em which causes elongation */
  bottom: auto !important;
  width: auto !important;
  max-width: max-content !important;
  min-width: unset !important;
  min-height: unset !important;
  height: auto !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #e5b94c 0%, #cca038 100%) !important;
  color: #162c1b !important;
  font-family: var(--eco-font-heading) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  margin: 0 !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 4px 14px rgba(229, 185, 76, 0.4) !important;
  z-index: 20 !important;
  pointer-events: none;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: var(--eco-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--eco-forest-deep) !important;
  margin: 6px 0 8px !important;
  padding: 0 !important;
  min-height: 2.7em;
  transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--eco-forest-light) !important;
}

/* Star Rating */
.woocommerce .star-rating {
  font-size: 0.85rem !important;
  color: var(--eco-gold-accent) !important;
  margin: 0 0 10px !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--eco-forest-deep) !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}

.woocommerce ul.products li.product .price del {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: var(--eco-muted-text) !important;
  opacity: 0.75 !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--eco-forest-deep) !important;
  font-weight: 700 !important;
}

/* Add to Cart Button (Card Pill) */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  width: 100% !important;
  text-align: center !important;
  padding: 11px 20px !important;
  font-family: var(--eco-font-heading) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  border: 1px solid var(--eco-forest-deep) !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 4px 14px rgba(22, 44, 27, 0.12) !important;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
  border-color: var(--eco-leaf-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(97, 206, 112, 0.35) !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  border: none !important;
  margin: 30px 0 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid var(--eco-border-light) !important;
  background: #ffffff !important;
  color: var(--eco-charcoal) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.25s ease !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  border-color: var(--eco-forest-deep) !important;
}

/* --------------------------------------------------------------------------
   SINGLE PRODUCT PAGE (Sophia-Pro Editorial Layout)
   -------------------------------------------------------------------------- */
.ecolyft-single-stage {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 5vw 70px;
  box-sizing: border-box;
}

.ecolyft-single-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 70px;
}

@media (max-width: 991px) {
  .ecolyft-single-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Left Column: Gallery */
.ecolyft-single-gallery-col {
  position: sticky;
  top: 90px;
}

/* ==========================================================================
   SINGLE PRODUCT GALLERY — FLEXSLIDER COMPATIBLE & SLOW MINIMAL ZOOM
   ========================================================================== */
.woocommerce div.product div.images,
.elementor-widget-woocommerce-product-images {
  position: relative !important;
  margin-bottom: 24px !important;
  max-height: calc(100vh - 120px) !important;
}

/* Ensure gallery is immediately visible and properly bounded */
.woocommerce div.product div.images .woocommerce-product-gallery {
  position: relative !important;
  opacity: 1 !important;
  border-radius: var(--eco-radius-card) !important;
}

/* FlexSlider viewport: hide overflow cleanly */
.woocommerce div.product div.images .flex-viewport {
  border-radius: var(--eco-radius-card) !important;
  overflow: hidden !important;
  max-height: calc(100vh - 180px) !important;
}

/* DO NOT apply display:flex to .woocommerce-product-gallery__wrapper as it breaks FlexSlider width calculations */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
  padding: 0 !important;
  max-height: calc(100vh - 180px) !important;
}

/* Each slide card container */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  border-radius: var(--eco-radius-card) !important;
  background: radial-gradient(circle at 50% 50%, #f8faf8 0%, #edf1ee 100%) !important;
  border: 1px solid var(--eco-border-card) !important;
  box-shadow: var(--eco-card-shadow) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  height: 520px !important;
  max-height: calc(100vh - 180px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  position: relative !important;
}

/* Anchor link inside each slide */
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  cursor: default !important;
}

/* Focal Slide Image — Slow Minimal Zoom on Hover */
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images .wp-post-image {
  max-height: calc(100vh - 220px) !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  will-change: transform;
}

/* Slow, graceful 5% minimal zoom on hover (replaces jerky zoom lens) */
.woocommerce div.product div.images .woocommerce-product-gallery__image:hover img {
  transform: scale(1.05) !important;
}

/* Disable jerky jQuery Zoom elements */
.zoomImg,
.woocommerce-product-gallery__trigger {
  display: none !important;
}

@media (max-width: 991px) {
  .woocommerce div.product div.images .woocommerce-product-gallery__image {
    height: 400px !important;
    max-height: 52vh !important;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img,
  .woocommerce div.product div.images .wp-post-image {
    max-height: 48vh !important;
  }
}

/* Gallery Thumbnails */
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex !important;
  gap: 12px !important;
  margin-top: 16px !important;
  padding: 0 !important;
  list-style: none !important;
  justify-content: flex-start !important;
  overflow-x: auto !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: 76px !important;
  height: 76px !important;
  flex-shrink: 0 !important;
  float: none !important;
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  max-height: 76px !important;
  object-fit: contain !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 2px solid rgba(22, 44, 27, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  transform: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
  border-color: var(--eco-leaf-accent) !important;
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Single Botanical Feature Pill under Image */
.ecolyft-gallery-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(34, 63, 39, 0.05);
  border: 1px dashed rgba(34, 63, 39, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--eco-forest-deep);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 18px;
}

/* Right Column: Product Summary */
.ecolyft-single-summary-col {
  display: flex;
  flex-direction: column;
}

.ecolyft-single-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eco-leaf-accent);
  background: rgba(34, 63, 39, 0.08);
  padding: 4px 14px;
  border-radius: var(--eco-radius-pill);
  align-self: flex-start;
  margin-bottom: 12px;
}

.woocommerce div.product .product_title,
.elementor-widget-woocommerce-product-title h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--eco-forest-deep) !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.01em !important;
}

/* Rating Row */
.woocommerce div.product .woocommerce-product-rating,
.elementor-widget-woocommerce-product-rating {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.woocommerce div.product .woocommerce-product-rating .star-rating {
  font-size: 1rem !important;
  color: var(--eco-gold-accent) !important;
  margin: 0 !important;
}

.woocommerce div.product .woocommerce-review-link {
  font-size: 0.88rem !important;
  color: var(--eco-muted-text) !important;
  text-decoration: none !important;
}

.woocommerce div.product .woocommerce-review-link:hover {
  color: var(--eco-forest-deep) !important;
  text-decoration: underline !important;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.elementor-widget-woocommerce-product-price .price {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--eco-forest-deep) !important;
  margin: 0 0 20px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
}

.woocommerce div.product p.price del,
.elementor-widget-woocommerce-product-price .price del {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: var(--eco-muted-text) !important;
  opacity: 0.7 !important;
}

.woocommerce div.product p.price ins,
.elementor-widget-woocommerce-product-price .price ins {
  text-decoration: none !important;
  color: var(--eco-forest-deep) !important;
}

/* Short Description */
.woocommerce div.product .woocommerce-product-details__short-description,
.elementor-widget-woocommerce-product-short-description {
  font-family: var(--eco-font-serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--eco-body-text);
  margin-bottom: 24px;
}

/* Key Botanical Highlights Checklist */
.ecolyft-highlights-checklist {
  background: #ffffff;
  border: 1px solid var(--eco-border-card);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.ecolyft-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--eco-body-text);
}

.ecolyft-highlight-item:last-child {
  margin-bottom: 0;
}

.ecolyft-highlight-icon {
  color: var(--eco-leaf-accent);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

/* Add to Cart Form & Quantity Controls */
.woocommerce div.product form.cart,
.elementor-widget-woocommerce-product-add-to-cart form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
}

.woocommerce div.product form.cart .quantity,
.elementor-widget-woocommerce-product-add-to-cart .quantity {
  margin: 0 !important;
}

.woocommerce div.product form.cart .quantity input.qty,
.elementor-widget-woocommerce-product-add-to-cart .quantity input.qty {
  width: 70px !important;
  height: 52px !important;
  border: 1px solid var(--eco-border-light) !important;
  border-radius: var(--eco-radius-pill) !important;
  background: #ffffff !important;
  text-align: center !important;
  font-family: var(--eco-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--eco-forest-deep) !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button {
  flex: 1 !important;
  min-width: 200px !important;
  height: 52px !important;
  padding: 0 32px !important;
  font-family: var(--eco-font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  border: 1px solid var(--eco-forest-deep) !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 6px 20px rgba(22, 44, 27, 0.18) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
  border-color: var(--eco-leaf-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(97, 206, 112, 0.4) !important;
}

/* Shipping & Trust Box (Sophia-Pro Pattern) */
.ecolyft-shipping-guarantee-box {
  background: #ffffff;
  border: 1px solid var(--eco-border-card);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.ecolyft-guarantee-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(22, 44, 27, 0.05);
  font-size: 0.88rem;
  color: var(--eco-body-text);
}

.ecolyft-guarantee-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ecolyft-guarantee-row:first-child {
  padding-top: 0;
}

.ecolyft-guarantee-icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

/* Product Meta */
.woocommerce div.product .product_meta,
.elementor-widget-woocommerce-product-meta {
  border-top: 1px solid var(--eco-border-light) !important;
  padding-top: 18px !important;
  margin-top: 10px !important;
  font-size: 0.84rem !important;
  color: var(--eco-muted-text) !important;
  line-height: 1.8 !important;
}

.woocommerce div.product .product_meta a,
.elementor-widget-woocommerce-product-meta a {
  color: var(--eco-forest-light) !important;
  text-decoration: none !important;
}

.woocommerce div.product .product_meta a:hover,
.elementor-widget-woocommerce-product-meta a:hover {
  text-decoration: underline !important;
}

/* --------------------------------------------------------------------------
   PRODUCT DATA TABS (Description, Ingredients, Reviews)
   -------------------------------------------------------------------------- */
.ecolyft-tabs-section {
  background: #ffffff;
  border-radius: var(--eco-radius-card);
  border: 1px solid var(--eco-border-card);
  padding: 40px 4vw 50px;
  margin-bottom: 60px;
  box-shadow: var(--eco-card-shadow);
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 32px !important;
  border-bottom: 2px solid var(--eco-ivory-soft) !important;
  padding: 0 0 16px !important;
  margin: 0 0 32px !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li a {
  font-family: var(--eco-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--eco-muted-text) !important;
  padding: 0 0 16px !important;
  position: relative !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li.active a {
  color: var(--eco-forest-deep) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li.active a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -18px !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--eco-leaf-accent) !important;
  border-radius: 2px !important;
}

.woocommerce div.product .woocommerce-Tabs-panel {
  font-family: var(--eco-font-heading);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--eco-body-text);
}

.woocommerce div.product .woocommerce-Tabs-panel h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--eco-forest-deep);
  margin: 0 0 16px;
}

/* Reviews List & Form */
.woocommerce #reviews #comments ol.commentlist {
  padding: 0;
  list-style: none;
}

.woocommerce #reviews #comments ol.commentlist li.review {
  background: var(--eco-ivory-warm);
  border: 1px solid var(--eco-border-card);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.woocommerce #reviews #comments ol.commentlist li .meta {
  font-size: 0.88rem;
  color: var(--eco-forest-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.woocommerce #reviews #respond input#submit {
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  border-radius: var(--eco-radius-pill) !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
}

.woocommerce #reviews #respond input#submit:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
}

/* --------------------------------------------------------------------------
   RELATED PRODUCTS SECTION
   -------------------------------------------------------------------------- */
.ecolyft-related-stage {
  margin-top: 60px;
}

.ecolyft-related-stage h2.related-title,
.woocommerce .related.products h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  color: var(--eco-forest-deep);
  text-align: center;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   GLOBAL 4-PILLAR TRUST SECTION
   -------------------------------------------------------------------------- */
.ecolyft-trust-banner {
  background: #ffffff;
  border-top: 1px solid var(--eco-border-card);
  border-bottom: 1px solid var(--eco-border-card);
  padding: 50px 5vw;
  box-sizing: border-box;
}

.ecolyft-trust-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .ecolyft-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
}

@media (max-width: 580px) {
  .ecolyft-trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ecolyft-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-sizing: border-box;
}

.ecolyft-trust-card-icon {
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(97, 206, 112, 0.12);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
}

.ecolyft-trust-card-content {
  flex: 1;
}

.ecolyft-trust-card-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--eco-forest-deep);
  margin: 0 0 6px;
  line-height: 1.3;
}

.ecolyft-trust-card-content p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--eco-muted-text);
  margin: 0;
}

/* 4th Item: Interactive CTA Card linking to /shop/ */
.ecolyft-trust-card.ecolyft-trust-cta-card {
  text-decoration: none;
  background: linear-gradient(145deg, #162c1b 0%, #223f27 100%);
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(97, 206, 112, 0.22);
  box-shadow: 0 6px 20px rgba(22, 44, 27, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.ecolyft-trust-card.ecolyft-trust-cta-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(97, 206, 112, 0.22) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.ecolyft-trust-card.ecolyft-trust-cta-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #1b3521 0%, #29492f 100%);
  box-shadow: 0 12px 30px rgba(22, 44, 27, 0.2);
  border-color: rgba(97, 206, 112, 0.45);
}

.ecolyft-trust-card.ecolyft-trust-cta-card:hover::before {
  transform: scale(1.3);
}

.ecolyft-trust-card.ecolyft-trust-cta-card .ecolyft-trust-card-icon {
  background: rgba(97, 206, 112, 0.2);
  color: #61ce70;
  border: 1px solid rgba(97, 206, 112, 0.35);
}

.ecolyft-trust-card.ecolyft-trust-cta-card h4 {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.ecolyft-trust-card.ecolyft-trust-cta-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 0 10px;
}

.ecolyft-trust-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #61ce70;
  color: #162c1b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.25);
}

.ecolyft-trust-cta-action svg {
  transition: transform 0.25s ease;
}

.ecolyft-trust-card.ecolyft-trust-cta-card:hover .ecolyft-trust-cta-action {
  background: #ffffff;
  color: #162c1b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ecolyft-trust-card.ecolyft-trust-cta-card:hover .ecolyft-trust-cta-action svg {
  transform: translateX(3px);
}


/* ==========================================================================
   CART PAGE REDESIGN (/cart/)
   ========================================================================== */
.woocommerce-cart .woocommerce {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 5vw 80px;
  box-sizing: border-box;
}

/* Page Header Hero for Cart, Checkout & My Account */
.woocommerce-page .entry-header,
.woocommerce-cart .page-header,
.woocommerce-checkout .page-header,
.woocommerce-account .page-header {
  background: radial-gradient(circle at 50% 50%, #223f27 0%, #162c1b 100%);
  color: #ffffff;
  padding: 50px 5vw 45px;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}

.woocommerce-page .entry-header .entry-title,
.woocommerce-cart .page-header .entry-title,
.woocommerce-checkout .page-header .entry-title,
.woocommerce-account .page-header .entry-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: clamp(2.2rem, 3.5vw, 3rem) !important;
  font-weight: 700 !important;
  color: var(--eco-ivory-warm) !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.01em !important;
}

.woocommerce-cart .entry-header::after,
.woocommerce-cart .page-header::after {
  content: '🌱 100% Plant-Derived Enzymes • Free Shipping Over RM 50';
  display: block;
  font-size: 0.88rem;
  color: var(--eco-leaf-accent);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 8px;
}

/* 2-Column Cart Layout */
.woocommerce-cart form.woocommerce-cart-form {
  margin-bottom: 40px;
}

.woocommerce-cart .woocommerce table.shop_table {
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  background: #ffffff !important;
  box-shadow: var(--eco-card-shadow) !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 0 30px !important;
  width: 100% !important;
}

.woocommerce-cart .woocommerce table.shop_table thead th {
  background: #f4f8f4 !important;
  color: var(--eco-forest-deep) !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--eco-border-card) !important;
}

.woocommerce-cart .woocommerce table.shop_table td {
  padding: 20px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(22, 44, 27, 0.06) !important;
  color: var(--eco-body-text) !important;
  font-size: 0.95rem !important;
}

.woocommerce-cart .woocommerce table.shop_table tr:last-child td {
  border-bottom: none !important;
}

/* Product Thumbnail in Cart */
.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail img {
  width: 75px !important;
  height: 75px !important;
  object-fit: contain !important;
  background: var(--eco-ivory-warm) !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .woocommerce table.shop_table td.product-name a {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--eco-forest-deep) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.woocommerce-cart .woocommerce table.shop_table td.product-name a:hover {
  color: var(--eco-forest-light) !important;
}

.woocommerce-cart .woocommerce table.shop_table td.product-price,
.woocommerce-cart .woocommerce table.shop_table td.product-subtotal {
  font-weight: 700 !important;
  color: var(--eco-forest-deep) !important;
  font-size: 1.05rem !important;
}

/* Remove button */
.woocommerce-cart .woocommerce table.shop_table td.product-remove a.remove {
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(22, 44, 27, 0.06) !important;
  color: var(--eco-muted-text) !important;
  text-decoration: none !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
}

.woocommerce-cart .woocommerce table.shop_table td.product-remove a.remove:hover {
  background: #e54c4c !important;
  color: #ffffff !important;
}

/* Quantity input in cart */
.woocommerce-cart .woocommerce table.shop_table .quantity input.qty {
  width: 65px !important;
  height: 42px !important;
  border: 1px solid var(--eco-border-light) !important;
  border-radius: var(--eco-radius-pill) !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--eco-forest-deep) !important;
  outline: none !important;
}

/* Coupon & Actions Bar */
.woocommerce-cart .woocommerce table.shop_table td.actions {
  padding: 20px !important;
  background: #fafcfa !important;
}

.woocommerce-cart .woocommerce .coupon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.woocommerce-cart .woocommerce .coupon input.input-text {
  height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid var(--eco-border-light) !important;
  border-radius: var(--eco-radius-pill) !important;
  outline: none !important;
  font-size: 0.9rem !important;
  min-width: 180px !important;
}

.woocommerce-cart .woocommerce .coupon button.button,
.woocommerce-cart .woocommerce .actions button.button {
  height: 44px !important;
  padding: 0 24px !important;
  border-radius: var(--eco-radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.woocommerce-cart .woocommerce .coupon button.button {
  background: #ffffff !important;
  color: var(--eco-forest-deep) !important;
  border: 1px solid var(--eco-forest-deep) !important;
}

.woocommerce-cart .woocommerce .coupon button.button:hover {
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
}

.woocommerce-cart .woocommerce .actions button.button {
  background: rgba(34, 63, 39, 0.08) !important;
  color: var(--eco-forest-deep) !important;
  border: 1px solid rgba(34, 63, 39, 0.15) !important;
}

.woocommerce-cart .woocommerce .actions button.button:hover {
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
}

/* Cart Totals Box */
.woocommerce-cart .cart-collaterals {
  margin-top: 30px !important;
}

.woocommerce-cart .cart_totals {
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  padding: 30px !important;
  box-shadow: var(--eco-card-shadow) !important;
  max-width: 520px !important;
  margin-left: auto !important;
}

.woocommerce-cart .cart_totals h2 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--eco-forest-deep) !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--eco-ivory-soft) !important;
}

.woocommerce-cart .cart_totals table.shop_table {
  border: none !important;
  box-shadow: none !important;
  margin: 0 0 24px !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
  font-weight: 600 !important;
  color: var(--eco-muted-text) !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(22, 44, 27, 0.06) !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(22, 44, 27, 0.06) !important;
  font-weight: 600 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--eco-forest-deep) !important;
  border-top: 2px solid var(--eco-forest-deep) !important;
  padding-top: 18px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 16px 30px !important;
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 6px 20px rgba(22, 44, 27, 0.22) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(97, 206, 112, 0.4) !important;
}

/* --------------------------------------------------------------------------
   CHECKOUT PAGE REDESIGN (/checkout/)
   -------------------------------------------------------------------------- */
.woocommerce-checkout .woocommerce {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 5vw 80px;
  box-sizing: border-box;
}

.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: 1.25fr 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

@media (max-width: 991px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

/* Customer Details (Left Column) */
.woocommerce-checkout #customer_details {
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  padding: 36px 32px !important;
  box-shadow: var(--eco-card-shadow) !important;
}

.woocommerce-checkout #customer_details h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--eco-forest-deep) !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--eco-ivory-soft) !important;
}

.woocommerce-checkout .form-row {
  margin-bottom: 18px !important;
}

.woocommerce-checkout .form-row label {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--eco-forest-deep) !important;
  margin-bottom: 6px !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid var(--eco-border-light) !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  background: #ffffff !important;
  color: var(--eco-charcoal) !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .form-row textarea {
  height: 100px !important;
  padding: 12px 16px !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--eco-leaf-accent) !important;
  box-shadow: 0 0 0 3px rgba(97, 206, 112, 0.18) !important;
}

/* Order Review Box (Right Column Sticky) */
.woocommerce-checkout #order_review_heading {
  display: none !important;
}

.woocommerce-checkout #order_review {
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  padding: 36px 32px !important;
  box-shadow: var(--eco-card-shadow) !important;
  position: sticky !important;
  top: 90px !important;
}

.woocommerce-checkout #order_review::before {
  content: 'Your Order Review';
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--eco-forest-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--eco-ivory-soft);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  border: none !important;
  margin: 0 0 24px !important;
  width: 100% !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(22, 44, 27, 0.06) !important;
  font-size: 0.92rem !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--eco-forest-deep) !important;
  border-top: 2px solid var(--eco-forest-deep) !important;
  border-bottom: none !important;
  padding-top: 16px !important;
}

/* Payment Methods */
.woocommerce-checkout #payment {
  background: #fafcfa !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  margin-top: 20px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(22, 44, 27, 0.08) !important;
  padding-bottom: 14px !important;
  margin-bottom: 18px !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  font-weight: 600 !important;
  color: var(--eco-forest-deep) !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  font-size: 0.88rem !important;
  color: var(--eco-muted-text) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

.woocommerce-checkout #place_order {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  padding: 0 30px !important;
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 6px 20px rgba(22, 44, 27, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.woocommerce-checkout #place_order:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(97, 206, 112, 0.45) !important;
}

/* --------------------------------------------------------------------------
   MY ACCOUNT & LOGIN / REGISTER REDESIGN (/my-account/ & /login/)
   -------------------------------------------------------------------------- */
.woocommerce-account .woocommerce,
.page-id-153 .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 5vw 80px;
  box-sizing: border-box;
}

/* Override Hello Elementor width constriction on Auth & Account pages */
body.page-id-153 .site-main,
body.woocommerce-account .site-main,
body.woocommerce-page .site-main {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.page-id-153 .page-content,
body.woocommerce-account:not(.logged-in) .page-content {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Centered Luxury Auth Card Container */
.woocommerce-account:not(.logged-in) #customer_login,
.page-id-153 #customer_login {
  max-width: 520px !important;
  width: 100% !important;
  margin: 20px auto 80px !important;
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 50px rgba(22, 44, 27, 0.08) !important;
  padding: 40px 42px 42px !important;
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
  position: relative !important;
}

@media (max-width: 600px) {
  .woocommerce-account:not(.logged-in) #customer_login,
  .page-id-153 #customer_login {
    padding: 28px 22px 32px !important;
    margin: 15px auto 60px !important;
    border-radius: 18px !important;
  }
}

/* Reset Inner Columns to integrate seamlessly into parent card */
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2,
.page-id-153 #customer_login .u-column1,
.page-id-153 #customer_login .u-column2 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Hide redundant h2 headings in favor of tab titles */
.woocommerce-account #customer_login h2,
.page-id-153 #customer_login h2 {
  display: none !important;
}

/* Pill Toggle Switcher (Sign In / Create Account) */
.ecolyft-auth-tabs {
  display: flex !important;
  background: #f0f4f0 !important;
  border-radius: 9999px !important;
  padding: 5px !important;
  margin-bottom: 28px !important;
  border: 1px solid rgba(22, 44, 27, 0.06) !important;
}

.ecolyft-auth-tab {
  flex: 1 !important;
  height: 44px !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--eco-muted-text) !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ecolyft-auth-tab:hover {
  color: var(--eco-forest-deep) !important;
}

.ecolyft-auth-tab.is-active {
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(22, 44, 27, 0.2) !important;
}

/* Tab Pane Visibility with smooth fade-in */
@keyframes ecoAuthFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.woocommerce-account #customer_login .u-column1,
.page-id-153 #customer_login .u-column1 {
  display: block !important;
  animation: ecoAuthFadeIn 0.28s ease !important;
}

.woocommerce-account #customer_login .u-column2,
.page-id-153 #customer_login .u-column2 {
  display: none !important;
}

/* When Register tab is toggled */
.woocommerce-account #customer_login.show-register .u-column1,
.page-id-153 #customer_login.show-register .u-column1 {
  display: none !important;
}

.woocommerce-account #customer_login.show-register .u-column2,
.page-id-153 #customer_login.show-register .u-column2 {
  display: block !important;
  animation: ecoAuthFadeIn 0.28s ease !important;
}

/* Switch Prompt under forms */
.ecolyft-auth-switch-prompt {
  text-align: center !important;
  margin-top: 20px !important;
  font-size: 0.88rem !important;
  color: var(--eco-muted-text) !important;
}

.ecolyft-auth-switch-prompt button {
  background: none !important;
  border: none !important;
  color: var(--eco-forest-deep) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 0 4px !important;
  font-size: inherit !important;
  font-family: inherit !important;
}

.ecolyft-auth-switch-prompt button:hover {
  color: var(--eco-leaf-accent) !important;
}

/* Google Social Authentication Button */
.ecolyft-social-auth-wrap {
  margin-top: 24px !important;
}

.ecolyft-social-divider {
  display: flex !important;
  align-items: center !important;
  text-align: center !important;
  margin: 20px 0 !important;
  color: var(--eco-muted-text) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.ecolyft-social-divider::before,
.ecolyft-social-divider::after {
  content: '' !important;
  flex: 1 !important;
  border-bottom: 1px solid rgba(22, 44, 27, 0.1) !important;
}

.ecolyft-social-divider span {
  padding: 0 14px !important;
}

.ecolyft-google-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  height: 50px !important;
  background: #ffffff !important;
  color: #3c4043 !important;
  border: 1px solid #dadce0 !important;
  border-radius: var(--eco-radius-pill) !important;
  font-family: 'Roboto', -apple-system, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.ecolyft-google-btn:hover {
  background: #f8f9fa !important;
  border-color: #c6c9cc !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-1px) !important;
  color: #202124 !important;
}

.ecolyft-google-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.page-id-153 form.login,
.page-id-153 form.register {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce-account .form-row,
.page-id-153 .form-row {
  margin-bottom: 20px !important;
}

.woocommerce-account .form-row label,
.page-id-153 .form-row label {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--eco-forest-deep) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.woocommerce-account .form-row input.input-text,
.page-id-153 .form-row input.input-text {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid var(--eco-border-light) !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  color: var(--eco-charcoal) !important;
  background: #ffffff !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-account .form-row input.input-text:focus,
.page-id-153 .form-row input.input-text:focus {
  border-color: var(--eco-leaf-accent) !important;
  box-shadow: 0 0 0 3px rgba(97, 206, 112, 0.18) !important;
}

/* Submit Buttons in Login & Register */
.woocommerce-account button.woocommerce-form-login__submit,
.woocommerce-account button.woocommerce-form-register__submit,
.page-id-153 button.woocommerce-form-login__submit,
.page-id-153 button.woocommerce-form-register__submit {
  width: 100% !important;
  height: 50px !important;
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 6px 18px rgba(22, 44, 27, 0.18) !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  transition: all 0.28s ease !important;
}

.woocommerce-account button.woocommerce-form-login__submit:hover,
.woocommerce-account button.woocommerce-form-register__submit:hover,
.page-id-153 button.woocommerce-form-login__submit:hover,
.page-id-153 button.woocommerce-form-register__submit:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(97, 206, 112, 0.38) !important;
}

.woocommerce-account .lost_password,
.page-id-153 .lost_password {
  margin-top: 14px !important;
  text-align: right !important;
  font-size: 0.85rem !important;
}

.woocommerce-account .lost_password a,
.page-id-153 .lost_password a {
  color: var(--eco-forest-light) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.woocommerce-account .lost_password a:hover,
.page-id-153 .lost_password a:hover {
  color: var(--eco-forest-deep) !important;
  text-decoration: underline !important;
}

/* Logged-In My Account Dashboard Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left !important;
  width: 28% !important;
  margin-bottom: 40px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  box-shadow: var(--eco-card-shadow) !important;
  overflow: hidden !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid rgba(22, 44, 27, 0.06) !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 16px 22px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--eco-forest-deep) !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #f4f8f4 !important;
  color: var(--eco-forest-light) !important;
  padding-left: 28px !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right !important;
  width: 68% !important;
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  padding: 36px 36px !important;
  box-shadow: var(--eco-card-shadow) !important;
  box-sizing: border-box !important;
}

@media (max-width: 820px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
  }
}

/* --------------------------------------------------------------------------
   LOST PASSWORD PAGE REDESIGN (/my-account/lost-password/)
   -------------------------------------------------------------------------- */
.woocommerce-ResetPassword {
  max-width: 540px !important;
  margin: 40px auto 70px !important;
  background: #ffffff !important;
  border: 1px solid var(--eco-border-card) !important;
  border-radius: var(--eco-radius-card) !important;
  padding: 40px 36px !important;
  box-shadow: var(--eco-card-shadow) !important;
}

.woocommerce-ResetPassword p:first-of-type {
  font-size: 0.92rem !important;
  color: var(--eco-body-text) !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
}

.woocommerce-ResetPassword button[type="submit"] {
  width: 100% !important;
  height: 50px !important;
  background: var(--eco-forest-deep) !important;
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--eco-radius-pill) !important;
  box-shadow: 0 6px 18px rgba(22, 44, 27, 0.18) !important;
  cursor: pointer !important;
  margin-top: 14px !important;
  transition: all 0.28s ease !important;
}

.woocommerce-ResetPassword button[type="submit"]:hover {
  background: var(--eco-leaf-accent) !important;
  color: var(--eco-forest-deep) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(97, 206, 112, 0.38) !important;
}


/* ==========================================================================
   CART & CHECKOUT PAGE LEFT & RIGHT SPACING REFINEMENTS
   Ensures spacious, centered breathing room on both desktop and mobile
   ========================================================================== */

/* 1. Main Stage & Page Content Containers */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart .page-content,
body.woocommerce-checkout .page-content {
  max-width: 1260px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 30px 48px 80px !important; /* Generous 48px gutter on left & right */
  box-sizing: border-box !important;
}

/* 2. Cancel Hello Elementor's negative margins from .alignwide (-80px) */
.woocommerce-cart .alignwide,
.woocommerce-checkout .alignwide,
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide,
.wc-block-cart.alignwide,
.wc-block-checkout.alignwide {
  margin-inline: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. Direct Cart & Checkout Block and Classic Container Spacing */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 10px 24px 60px !important;
  box-sizing: border-box !important;
}

/* 4. Inner Block Components */
.wp-block-woocommerce-filled-cart-block,
.wp-block-woocommerce-empty-cart-block,
.wc-block-cart,
.wc-block-checkout {
  box-sizing: border-box !important;
}

/* Responsive Gutter Controls */
@media (max-width: 1024px) {
  body.woocommerce-cart .page-content,
  body.woocommerce-checkout .page-content {
    padding: 24px 36px 60px !important; /* 36px on tablet */
  }
  .wp-block-woocommerce-cart,
  .wp-block-woocommerce-checkout,
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce {
    padding: 10px 14px 40px !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .page-content,
  body.woocommerce-checkout .page-content {
    padding: 18px 20px 50px !important; /* 20px safe gutter on mobile */
  }
  .wp-block-woocommerce-cart,
  .wp-block-woocommerce-checkout,
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce {
    padding: 0 !important;
  }
}

/* ==========================================================================
   AUTHENTICATION ERROR NOTICES & NON-ADMIN BACKEND SHIELD
   ========================================================================== */

/* 1. Hide WordPress Admin Bar for all non-administrators */
body:not(.wp-admin-user) #wpadminbar,
body.customer #wpadminbar,
body.subscriber #wpadminbar {
  display: none !important;
}

html:not(.wp-admin-user) {
  margin-top: 0 !important;
}

/* 2. Custom EcoLyft Authentication Error Card */
.ecolyft-auth-error-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff !important;
  border: 1px solid rgba(220, 38, 38, 0.22) !important;
  border-left: 4px solid #dc2626 !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  margin: 0 0 24px 0 !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.08) !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.ecolyft-auth-error-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}

.ecolyft-auth-badge-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.ecolyft-auth-error-title {
  margin: 4px 0 0 !important;
  font-family: var(--eco-font-heading, 'Roboto', sans-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #162c1b !important;
  line-height: 1.35 !important;
}

.ecolyft-auth-error-desc {
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
}

.ecolyft-auth-error-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.eco-auth-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  padding: 0 22px !important;
  border-radius: 50px !important;
  font-family: var(--eco-font-heading, 'Roboto', sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.eco-auth-btn-login {
  background: #ffffff !important;
  color: #162c1b !important;
  border: 1.5px solid #162c1b !important;
}

.eco-auth-btn-login:hover {
  background: #f4efe6 !important;
  color: #162c1b !important;
  transform: translateY(-2px) !important;
}

.eco-auth-btn-register {
  background: #162c1b !important;
  color: #ffffff !important;
  border: 1.5px solid #162c1b !important;
  box-shadow: 0 4px 12px rgba(22, 44, 27, 0.18) !important;
}

.eco-auth-btn-register:hover {
  background: #27472e !important;
  border-color: #27472e !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(22, 44, 27, 0.26) !important;
}

.ecolyft-auth-error-footer {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed rgba(22, 44, 27, 0.12);
}

.eco-auth-lost-link {
  font-size: 0.84rem !important;
  color: #6b786e !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.eco-auth-lost-link:hover {
  color: #162c1b !important;
}

/* Reset default WooCommerce notice wrapper when housing the custom card */
.woocommerce-error {
  list-style: none !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.woocommerce-error::before {
  display: none !important;
}

.woocommerce-error li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

