/* ═══════════════════════════════════════════
   EcoBionex Shop — Main Stylesheet v2
   assets/css/main.css
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --eco-green:      #2d7a4f;
  --eco-green-l:    #3a9962;
  --eco-green-pale: #e8f5ee;
  --eco-green-mid:  #c4e8d0;
  --eco-dark:       #1a1a1a;
  --eco-gray:       #5a5a5a;
  --eco-gray-bg:    #f7f7f5;
  --eco-white:      #ffffff;
  --eco-border:     #e8e8e4;
  --eco-shadow:     0 2px 20px rgba(45,122,79,.08);
  --eco-shadow-h:   0 12px 48px rgba(45,122,79,.22);
  --eco-radius:     16px;
  --eco-radius-sm:  10px;
  --font-serif:     'Lora', Georgia, serif;
  --font-sans:      'DM Sans', sans-serif;
}

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

body.ecobionex-shop {
  font-family: var(--font-sans);
  background: var(--eco-white);
  color: var(--eco-dark);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

/* ── MAIN SITE BANNER ── */
.eco-main-site-banner {
  background: linear-gradient(90deg, #1b4332 0%, #2d7a4f 50%, #1b4332 100%);
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.eco-main-site-banner a {
  color: #a8f0c0;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  padding: 5px 16px;
  border-radius: 50px;
  border: 1.5px solid rgba(168,240,192,0.5);
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.eco-main-site-banner a:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* ── HEADER ── */
.eco-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--eco-border);
  padding: 0 24px;
}
.eco-header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; height: 72px;
}
/* ── LOGO — the_custom_logo() outputs: <a class="custom-logo-link"><img class="custom-logo"></a> ── */
.eco-logo-wrap { flex-shrink: 0; display: flex; align-items: center; }
.eco-logo-wrap .custom-logo-link { display: flex; align-items: center; text-decoration: none; line-height: 0; }
.eco-logo-wrap .custom-logo-link img,
.eco-logo-wrap .custom-logo { height: 52px; width: auto; display: block; object-fit: contain; }
.eco-logo-text-link { text-decoration: none; }
.eco-logo-link { text-decoration: none; flex-shrink: 0; display: flex; align-items: center; }
.eco-logo-link .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.eco-logo-link .custom-logo-link img,
.eco-logo-link img { height: 50px; width: auto; display: block; object-fit: contain; }
.eco-logo { text-decoration: none; flex-shrink: 0; display: flex; align-items: center; }
.eco-logo img,
.eco-logo .custom-logo { height: 52px; width: auto; display: block; }
.eco-logo .custom-logo-link { display: flex; align-items: center; }
.eco-logo .custom-logo-link img { height: 52px; width: auto; }
.eco-logo-text {
  font-family: var(--font-serif); font-size: 26px;
  font-weight: 700; color: var(--eco-green);
  letter-spacing: -.3px;
}
.eco-logo-text span { color: var(--eco-dark); }

.eco-search-wrap { flex: 1; position: relative; max-width: 460px; }
.eco-search-wrap input {
  width: 100%; padding: 13px 20px 13px 48px;
  border: 2px solid var(--eco-border); border-radius: 50px;
  font-family: var(--font-sans); font-size: 15px;
  background: var(--eco-gray-bg); outline: none; transition: .2s;
}
.eco-search-wrap input:focus { border-color: var(--eco-green); background: #fff; box-shadow: 0 0 0 3px rgba(45,122,79,.1); }
.eco-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--eco-gray); font-size: 20px; pointer-events: none;
}
.eco-header-actions { margin-left: auto; }
.eco-cart-btn {
  background: var(--eco-green); color: #fff;
  border: none; border-radius: 50px; padding: 13px 24px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: .2s; white-space: nowrap; letter-spacing: .2px;
}
.eco-cart-btn:hover { background: var(--eco-green-l); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,122,79,.3); }
.eco-cart-count {
  background: #fff; color: var(--eco-green);
  font-size: 13px; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.eco-cart-icon {
  font-size: 20px;
  display: inline-flex;
}

/* ── HERO ── */
.eco-hero {
  background: linear-gradient(135deg, #f0faf4 0%, #e2f5ea 40%, #f7fcf9 100%);
  padding: 70px 24px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.eco-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(45,122,79,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.eco-hero::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(45,122,79,.07) 0%, transparent 70%);
  border-radius: 50%;
}
.eco-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--eco-green); color: #fff;
  padding: 7px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 24px;
}
.eco-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 56px); font-weight: 700;
  line-height: 1.2; color: var(--eco-dark); margin-bottom: 18px;
}
.eco-hero-title em { color: var(--eco-green); font-style: italic; }
.eco-hero-sub {
  font-size: 17px; color: var(--eco-gray);
  max-width: 540px; margin: 0 auto 32px; line-height: 1.7;
}
.eco-hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 36px;
}
.eco-stat { text-align: center; }
.eco-stat-num { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--eco-green); }
.eco-stat-label { font-size: 13px; color: var(--eco-gray); margin-top: 3px; }

/* ── PRODUCTS ── */
.eco-products-section { padding: 56px 24px; max-width: 1240px; margin: 0 auto; }
.eco-section-header { margin-bottom: 36px; }
.eco-section-header h2 {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700; color: var(--eco-dark);
}
.eco-section-header p { font-size: 15px; color: var(--eco-gray); margin-top: 8px; }

.eco-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.eco-loading { grid-column: 1/-1; text-align: center; padding: 80px; color: var(--eco-gray); font-size: 16px; }

/* ── PRODUCT CARD ── */
.eco-product-card {
  background: #fff; border-radius: var(--eco-radius);
  border: 1.5px solid var(--eco-border);
  overflow: hidden; transition: .3s;
  display: flex; flex-direction: column;
}
.eco-product-card:hover {
  box-shadow: var(--eco-shadow-h);
  transform: translateY(-6px);
  border-color: var(--eco-green-mid);
}
.eco-card-image {
  position: relative; aspect-ratio: 4/3;
  background: var(--eco-gray-bg); overflow: hidden;
}
.eco-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.eco-product-card:hover .eco-card-image img { transform: scale(1.06); }
.eco-card-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--eco-green); font-size: 72px;
}
.eco-card-placeholder span { font-size: 14px; color: var(--eco-gray); }

.eco-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 13px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
}
.eco-badge-eco     { background: var(--eco-green); color: #fff; }
.eco-badge-new     { background: #f59e0b; color: #fff; }
.eco-badge-digital { background: #6366f1; color: #fff; }
.eco-badge-sale    { background: #e53935; color: #fff; }

.eco-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.eco-card-cat { font-size: 11px; color: var(--eco-green); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 8px; }
.eco-card-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--eco-dark); line-height: 1.35; margin-bottom: 10px; }
.eco-card-desc { font-size: 14px; color: var(--eco-gray); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.eco-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.eco-stars { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }
.eco-rating-count { font-size: 13px; color: var(--eco-gray); }
.eco-card-footer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.eco-price { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--eco-green); }
.eco-price-old { font-size: 14px; color: #aaa; text-decoration: line-through; margin-left: 8px; }

.eco-card-actions { display: flex; gap: 8px; }

.eco-btn-cart {
  flex: 1; background: var(--eco-green); color: #fff;
  border: none; border-radius: var(--eco-radius-sm);
  padding: 13px 12px; font-family: var(--font-sans);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: .2s; display: flex; align-items: center; justify-content: center; gap: 7px;
  letter-spacing: .2px;
}
.eco-btn-cart:hover { background: var(--eco-green-l); transform: translateY(-1px); }
.eco-btn-cart:active { transform: scale(.97); }

.eco-btn-wa {
  width: 100%; background: #25d366; color: #fff; border: none;
  border-radius: var(--eco-radius-sm); padding: 14px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 10px;
}
.eco-btn-wa:hover { background: #1ebe5a; transform: translateY(-1px); }

.eco-btn-order {
  background: var(--eco-green-pale); color: var(--eco-green);
  border: 2px solid var(--eco-green-mid); border-radius: var(--eco-radius-sm);
  padding: 13px 14px; cursor: pointer; font-size: 18px; font-weight: 600;
  font-family: var(--font-sans); transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.eco-btn-order:hover { background: var(--eco-green-mid); }
.eco-btn-order-title { font-size: 11px; font-weight: 700; }

.eco-btn-wa-sm {
  background: #25d366; color: #fff;
  border: none; border-radius: var(--eco-radius-sm);
  padding: 13px 14px; cursor: pointer; font-size: 20px;
  transition: .2s; display: flex; align-items: center; justify-content: center;
}
.eco-btn-wa-sm:hover { background: #1ebe5a; transform: translateY(-1px); }

/* ── CART SIDEBAR ── */
.eco-cart-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.4); backdrop-filter: blur(3px);
}
.eco-cart-overlay.open { display: block; }
.eco-cart-sidebar {
  position: fixed; right: -460px; top: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: #fff; z-index: 201;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -6px 0 48px rgba(0,0,0,.14);
}
.eco-cart-sidebar.open { right: 0; }
.eco-cart-header {
  padding: 22px 26px; border-bottom: 1.5px solid var(--eco-border);
  display: flex; align-items: center; justify-content: space-between;
}
.eco-cart-header h3 { font-family: var(--font-serif); font-size: 22px; }
.eco-close-btn { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--eco-gray); line-height: 1; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: .2s; }
.eco-close-btn:hover { background: var(--eco-gray-bg); color: var(--eco-dark); }
.eco-cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }
.eco-cart-empty { text-align: center; padding: 70px 20px; color: var(--eco-gray); }
.eco-cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--eco-border); }
.eco-cart-item-img { width: 72px; height: 72px; border-radius: 10px; background: var(--eco-gray-bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; overflow: hidden; }
.eco-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-cart-item-info { flex: 1; }
.eco-cart-item-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; font-family: var(--font-serif); }
.eco-cart-item-price { font-size: 17px; font-weight: 700; color: var(--eco-green); }
.eco-cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.eco-qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--eco-border); background: none;
  cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: .15s;
}
.eco-qty-btn:hover { border-color: var(--eco-green); color: var(--eco-green); background: var(--eco-green-pale); }
.eco-qty-num { font-size: 16px; font-weight: 700; min-width: 24px; text-align: center; }
.eco-remove-item { background: none; border: none; color: #e53935; cursor: pointer; font-size: 20px; margin-left: auto; }
.eco-cart-footer { padding: 22px 26px; border-top: 1.5px solid var(--eco-border); }
.eco-cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.eco-cart-total-amt { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--eco-green); }

/* ── ORDER MODAL ── */
.eco-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.eco-modal-overlay.open { display: flex; }
.eco-modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 500px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  animation: ecoModalIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes ecoModalIn {
  from { transform: scale(.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1)  translateY(0);    opacity: 1; }
}
.eco-modal-header {
  padding: 26px 26px 18px; border-bottom: 1.5px solid var(--eco-border);
  display: flex; align-items: center; justify-content: space-between;
}
.eco-modal-header h3 { font-family: var(--font-serif); font-size: 22px; }
.eco-modal-body { padding: 22px 26px; }
.eco-order-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.eco-order-tab {
  padding: 12px 8px; border: 2px solid var(--eco-border); border-radius: var(--eco-radius-sm);
  background: none; cursor: pointer; font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; color: var(--eco-gray); transition: .2s;
}
.eco-order-tab.active { border-color: var(--eco-green); color: var(--eco-green); background: var(--eco-green-pale); }
.eco-order-summary { background: var(--eco-green-pale); border-radius: var(--eco-radius-sm); padding: 16px; margin-bottom: 18px; border: 1px solid var(--eco-green-mid); }
.eco-order-item-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.eco-form-group { margin-bottom: 16px; }
.eco-form-group label { font-size: 14px; font-weight: 600; color: var(--eco-dark); display: block; margin-bottom: 7px; }
.eco-form-group input,
.eco-form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--eco-border); border-radius: var(--eco-radius-sm);
  font-family: var(--font-sans); font-size: 15px;
  background: var(--eco-gray-bg); outline: none; transition: .2s; color: var(--eco-dark);
}
.eco-form-group input:focus,
.eco-form-group textarea:focus { border-color: var(--eco-green); background: #fff; box-shadow: 0 0 0 3px rgba(45,122,79,.1); }
.eco-form-group textarea { resize: vertical; min-height: 88px; }
.eco-btn-primary {
  width: 100%; padding: 16px; background: var(--eco-green); color: #fff; border: none;
  border-radius: var(--eco-radius-sm); font-family: var(--font-sans);
  font-size: 16px; font-weight: 700; cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: .3px;
}
.eco-btn-primary:hover { background: var(--eco-green-l); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,122,79,.3); }

/* ── FOOTER ── */
.eco-footer {
  background: linear-gradient(160deg, #1b2e22 0%, #14231a 50%, #0d1a11 100%);
  color: #90b09a;
  padding: 60px 24px 0;
  margin-top: 70px;
  border-top: 3px solid #2d7a4f;
}
.eco-footer-inner { max-width: 1240px; margin: 0 auto; }
.eco-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(45,122,79,0.25);
}
.eco-footer-brand {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #5dba80;
  margin-bottom: 12px;
}
/* Footer logo */
.eco-footer-logo-wrap { margin-bottom: 14px; }
.eco-footer-logo-wrap .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.eco-footer-logo-wrap .custom-logo-link img,
.eco-footer-logo-wrap .custom-logo { height: 46px; width: auto; display: block; object-fit: contain;
  filter: brightness(0) invert(1); /* white logo on dark footer */ }
.eco-logo-text--footer { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: #5dba80; }
.eco-logo-text--footer span { color: #fff; }
.eco-footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: #8db89a;
  margin-bottom: 22px;
}
.eco-footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}
.eco-footer-wa-btn:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.3); }
.eco-footer-col-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #d4eddd;
  margin-bottom: 18px;
  font-weight: 600;
}
.eco-footer-contact { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.eco-footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.6; color: #8db89a;
}
.eco-fc-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.eco-footer-contact a { color: #8db89a; text-decoration: none; transition: .2s; }
.eco-footer-contact a:hover { color: var(--eco-green); }
.eco-footer-links {
  list-style: none; display: flex; flex-direction: column;
  gap: 12px; font-size: 14px; color: #8db89a; line-height: 1.5;
}
.eco-footer-bottom {
  padding: 22px 0; font-size: 13px; text-align: center;
  color: #5a7a62; border-top: 1px solid rgba(45,122,79,0.2);
}

/* ── TOAST ── */
.eco-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--eco-dark); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-size: 15px; font-weight: 500; z-index: 500;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.eco-toast.show { transform: translateX(-50%) translateY(0); }
.eco-toast-dot { width: 10px; height: 10px; background: var(--eco-green); border-radius: 50%; }

/* ── PRODUCT DETAIL PAGE ── */
.eco-detail-wrap { max-width: 1160px; margin: 36px auto; padding: 0 24px; }
.eco-detail-back {
  display: inline-flex; align-items: center; gap: 8px; color: var(--eco-green);
  font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 32px;
  transition: .2s; padding: 8px 20px; border: 2px solid var(--eco-green-mid);
  border-radius: 50px; background: var(--eco-green-pale);
}
.eco-detail-back:hover { background: var(--eco-green-mid); gap: 12px; }
.eco-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Image Slider */
.eco-detail-slider { position: relative; border-radius: 24px; overflow: hidden; background: #f0faf4; box-shadow: 0 8px 40px rgba(45,122,79,.1); }
.eco-slider-main { aspect-ratio: 1; overflow: hidden; position: relative; }
.eco-slider-main img { width: 100%; height: 100%; object-fit: cover; display: none; transition: opacity .3s; }
.eco-slider-main img.active { display: block; }
.eco-slider-main .eco-detail-placeholder { width: 100%; height: 100%; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 100px; color: var(--eco-green); }
.eco-slider-main .eco-detail-placeholder span { font-size: 16px; color: var(--eco-gray); }
.eco-slider-thumbs { display: flex; gap: 10px; padding: 14px 16px; overflow-x: auto; background: #f7fdf9; border-top: 1px solid #e8f5ee; }
.eco-slider-thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; cursor: pointer; border: 3px solid transparent; flex-shrink: 0; transition: .2s; opacity: .65; }
.eco-slider-thumb:hover, .eco-slider-thumb.active { border-color: var(--eco-green); opacity: 1; box-shadow: 0 2px 10px rgba(45,122,79,.2); }
.eco-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); border: none; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.18); transition: .2s; z-index: 2; }
.eco-slider-btn:hover { background: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.22); transform: translateY(-50%) scale(1.08); }
.eco-slider-prev { left: 14px; }
.eco-slider-next { right: 14px; }
.eco-slider-badge { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 800; color: #fff; letter-spacing: .5px; box-shadow: 0 2px 12px rgba(0,0,0,.2); }

/* YouTube embed */
.eco-youtube-wrap { margin-top: 12px; border-radius: 0 0 24px 24px; overflow: hidden; }
.eco-youtube-wrap iframe { width: 100%; aspect-ratio: 16/9; display: block; border: none; }

/* Detail info panel */
.eco-detail-info { padding: 8px 0; }
.eco-detail-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--eco-green); margin-bottom: 14px;
  background: var(--eco-green-pale); border: 1.5px solid var(--eco-green-mid);
  padding: 4px 14px; border-radius: 50px;
}
.eco-detail-title { font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 36px); font-weight: 700; color: #111; line-height: 1.22; margin-bottom: 16px; }
.eco-detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 10px 16px; background: #fffbf0; border-radius: 12px; border: 1.5px solid #fde68a; width: fit-content; }
.eco-detail-stars { color: #f59e0b; font-size: 20px; letter-spacing: 2px; }
.eco-detail-rev { font-size: 13px; color: var(--eco-gray); font-weight: 600; }

/* Price */
.eco-detail-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; padding: 18px 20px; background: linear-gradient(135deg, #f0faf4, #e8f5ee); border-radius: 16px; border: 2px solid #c4e8d0; }
.eco-detail-price { font-family: var(--font-serif); font-size: 44px; font-weight: 800; color: var(--eco-green); line-height: 1; }
.eco-detail-old { font-size: 22px; color: #bbb; text-decoration: line-through; font-weight: 400; }

/* Variants */
.eco-variants-section { margin-bottom: 20px; }
.eco-variants-title { font-size: 13px; font-weight: 800; color: var(--eco-dark); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .6px; }
.eco-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-variant-btn {
  padding: 8px 20px; border: 2px solid var(--eco-border); border-radius: 50px;
  font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; color: var(--eco-dark);
  transition: .2s; font-family: var(--font-sans);
}
.eco-variant-btn:hover, .eco-variant-btn.selected { border-color: var(--eco-green); color: var(--eco-green); background: var(--eco-green-pale); }
.eco-color-swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--eco-border); cursor: pointer; transition: .2s; }
.eco-color-swatch.selected { border-color: var(--eco-green); box-shadow: 0 0 0 4px rgba(45,122,79,.22); }

/* Qty */
.eco-qty-selector { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 14px 16px; background: #f9f9f9; border-radius: 14px; border: 1.5px solid #eee; }
.eco-qty-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #555; }
.eco-qty-control { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 50px; padding: 4px 10px; border: 2px solid var(--eco-border); }
.eco-qty-ctrl-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--eco-green-pale); cursor: pointer; font-size: 22px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--eco-green); transition: .2s; }
.eco-qty-ctrl-btn:hover { background: var(--eco-green); color: #fff; }
.eco-qty-display { font-size: 20px; font-weight: 800; min-width: 32px; text-align: center; color: #111; }

/* Description */
.eco-detail-desc { font-size: 15px; line-height: 1.85; color: #444; margin-bottom: 28px; border-top: 2px solid #f0f0f0; padding-top: 22px; }

/* Action Buttons */
.eco-detail-actions { display: flex; flex-direction: column; gap: 12px; }
.eco-detail-btn-cart {
  width: 100%; padding: 18px; background: var(--eco-green); color: #fff; border: none;
  border-radius: 16px; font-family: var(--font-sans); font-size: 18px; font-weight: 800;
  cursor: pointer; transition: .25s; display: flex; align-items: center; justify-content: center;
  gap: 12px; letter-spacing: .4px; box-shadow: 0 4px 20px rgba(45,122,79,.3);
}
.eco-detail-btn-cart:hover { background: #278f4c; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(45,122,79,.4); }
.eco-detail-btn-cart:active { transform: translateY(0); }
.eco-detail-btn-order {
  width: 100%; padding: 16px; background: #fff; color: var(--eco-green);
  border: 2.5px solid var(--eco-green); border-radius: 16px; font-family: var(--font-sans);
  font-size: 16px; font-weight: 700; cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.eco-detail-btn-order:hover { background: var(--eco-green-pale); transform: translateY(-2px); }
.eco-detail-btn-wa {
  width: 100%; padding: 16px; background: #25d366; color: #fff; border: none;
  border-radius: 16px; font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: .2s; display: flex; align-items: center; justify-content: center;
  gap: 10px; text-decoration: none; box-shadow: 0 4px 18px rgba(37,211,102,.3);
}
.eco-detail-btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.4); }

/* Feature badges */
.eco-detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.eco-feat-item { background: #f7fdf9; border: 1.5px solid #d4eddd; border-radius: 14px; padding: 14px 16px; font-size: 13px; color: #2d7a4f; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: .2s; }
.eco-feat-item:hover { background: var(--eco-green-pale); border-color: var(--eco-green); }

/* ── RESPONSIVE ── */
@media(max-width: 1024px) {
  .eco-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 860px) {
  .eco-footer-grid { grid-template-columns: 1fr 1fr; }
  .eco-footer-grid > .eco-footer-col:first-child { grid-column: 1 / -1; }
}
@media(max-width: 720px) {
  .eco-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .eco-detail-features { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
  .eco-header-inner { height: 62px; gap: 12px; padding: 0 16px; }
  .eco-logo-text { font-size: 20px; }
  .eco-search-wrap { max-width: none; }
  .eco-hero { padding: 40px 18px 32px; }
  .eco-hero-stats { gap: 20px; }
  .eco-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .eco-products-section { padding: 32px 16px; }
  .eco-card-title { font-size: 15px; }
  .eco-price { font-size: 20px; }
  .eco-cart-sidebar { max-width: 100%; }
  .eco-btn-cart { font-size: 13px; padding: 11px 8px; }
}
@media(max-width: 420px) {
  .eco-product-grid { grid-template-columns: 1fr; }
}
@media(max-width: 540px) {
  .eco-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .eco-footer { padding: 40px 18px 0; }
}
