:root {
  --lp-primary: #16803c;
  --lp-primary-dark: #115e2c;
  --lp-accent: #f5b942;
  --lp-dark: #0f1f14;
  --lp-text: #1f2a22;
  --lp-muted: #5b6b60;
  --lp-bg: #fbfaf6;
  --lp-line: #e6e3d8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif; color: var(--lp-text); background: var(--lp-bg); line-height: 1.5; padding-top: 116px; }
body::before { content: ''; display: block; position: fixed; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent), #2f7a9f); z-index: 60; }
img { max-width: 100%; display: block; }
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 99px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s, color .15s; cursor: pointer; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-primary { background: var(--lp-primary); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-primary-dark); }
.lp-btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.lp-tag { display: inline-block; color: var(--lp-primary); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 10px; }
.lp-tag-light { color: var(--lp-accent); }

/* TOPBAR */
.lp-topbar { position: fixed; top: 4px; left: 0; right: 0; z-index: 51; background: #eef3f0; border-bottom: 1px solid var(--lp-line); transition: transform .25s ease; }
.lp-topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 36px; padding: 9px 24px; }
.lp-topbar-item { display: flex; align-items: center; gap: 8px; }
.lp-topbar-icon { width: 18px; height: 18px; color: var(--lp-primary); flex-shrink: 0; }
.lp-topbar-item div { display: flex; flex-direction: column; line-height: 1.25; }
.lp-topbar-item span { font-size: 11px; color: var(--lp-muted); }
.lp-topbar-item strong { font-size: 13px; font-weight: 700; color: var(--lp-text); }

/* NAV */
.lp-nav { position: fixed; top: 41px; left: 0; right: 0; z-index: 50; background: #fff; box-shadow: 0 2px 16px rgba(15,31,20,.06); transition: top .25s ease; }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }
.lp-brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 18px; text-decoration: none; color: var(--lp-dark); }
.lp-brand .icon { width: 24px; height: 24px; color: var(--lp-primary); }
.lp-menu { display: flex; align-items: center; gap: 28px; }
.lp-menu a { color: var(--lp-text); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: color .15s; }
.lp-menu a:hover { color: var(--lp-primary); }
.lp-btn-nav { background: var(--lp-primary); color: #fff !important; padding: 9px 20px; border-radius: 99px; }
.lp-nav-icons { display: flex; align-items: center; gap: 10px; }
.lp-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 86px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(47,107,63,.14);
  border-radius: 999px;
  background: linear-gradient(135deg, #62e696 0%, #5fc1dc 52%, #4f83eb 100%);
  box-shadow: inset 0 1px 4px rgba(255,255,255,.38), inset 0 -8px 18px rgba(39,48,31,.08), 0 10px 22px rgba(39,48,31,.12);
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.lp-lang-switch:active,
.lp-lang-switch.is-dragging {
  cursor: grabbing;
}
.lp-lang-switch::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,0));
  pointer-events: none;
}
.lp-lang-switch:hover {
  border-color: rgba(47,107,63,.35);
  box-shadow: inset 0 1px 4px rgba(255,255,255,.42), inset 0 -8px 18px rgba(39,48,31,.08), 0 14px 28px rgba(39,48,31,.16);
  transform: translateY(-1px);
}
.lp-lang-knob {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 9px 18px rgba(39,48,31,.24), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease;
}
.lp-lang-switch.is-en .lp-lang-knob {
  transform: translateX(44px);
}
.lp-lang-switch.is-dragging .lp-lang-knob {
  transition: none;
}
.lp-lang-flag {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.lp-lang-switch.is-es .lp-lang-flag-es,
.lp-lang-switch.is-en .lp-lang-flag-en {
  opacity: 1;
  transform: scale(1);
}
.lp-lang-switch.is-dragging .lp-lang-flag {
  transform: scale(1.04);
}
.lp-lang-switch a {
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.84);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 2px rgba(20,30,20,.2);
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}
.lp-lang-switch a.is-active {
  color: transparent;
  text-shadow: none;
}
.lp-lang-switch a:hover {
  transform: scale(1.03);
}
.lp-lang-switch a:focus-visible {
  outline: 2px solid var(--coop-gold);
  outline-offset: 2px;
}
.lp-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--lp-line); background: #fff; color: var(--lp-text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.lp-icon-btn:hover { background: var(--lp-primary); color: #fff; border-color: var(--lp-primary); }
.lp-icon-btn .icon { width: 18px; height: 18px; }
.lp-burger { display: none; background: none; border: 0; color: var(--lp-text); cursor: pointer; }
.lp-burger .icon { width: 26px; height: 26px; }

/* Barra de navegacion inferior tipo app, solo visible en movil (ver @media 900px) */
.lp-mobile-nav {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 90;
  background: var(--lp-dark);
  border-radius: 999px;
  padding: 8px 6px;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  justify-content: space-between;
  align-items: center;
}
.lp-mobile-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 999px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.lp-mobile-nav-link .icon { width: 21px; height: 21px; }
.lp-mobile-nav-link span { font-size: 10.5px; font-weight: 700; }
.lp-mobile-nav-link.is-active { color: #fff; background: rgba(255,255,255,.12); }
body.lp-scrolled .lp-topbar { transform: translateY(-100%); }
body.lp-scrolled .lp-nav { top: 4px; }

/* HERO */
.lp-hero { position: relative; height: clamp(420px, 36vw, 650px); display: flex; align-items: center; overflow: hidden; }
.lp-hero-slides { position: absolute; inset: 0; background: #0f1f14; }
.lp-hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease;
  animation: lp-kenburns 16s ease-in-out infinite;
}
.lp-hero-slide.is-active { opacity: 1; z-index: 1; }
@keyframes lp-kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  50%  { transform: scale(1.09) translate(-1%, -0.5%); }
  100% { transform: scale(1.04) translate(0, 0); }
}
.lp-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(10,20,13,.88) 0%, rgba(10,20,13,.68) 28%, rgba(10,20,13,.32) 50%, rgba(10,20,13,0) 70%);
}
.lp-hero-inner {
  position: relative; z-index: 3; color: #fff; max-width: 640px; width: 100%;
  padding-left: 24px; padding-right: 24px;
}
@media (min-width: 901px) {
  .lp-hero-inner { padding-left: 214px; }
}
.lp-hero-text { display: none; }
.lp-hero-text.is-active { display: block; }
.lp-hero-text h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.12; margin: 0 0 16px; }
.lp-hero-divider { display: flex; align-items: center; gap: 12px; color: var(--lp-accent); margin-bottom: 16px; }
.lp-hero-divider::before, .lp-hero-divider::after { content: ''; flex: 1; max-width: 70px; height: 1px; background: rgba(255,255,255,.4); }
.lp-hero-divider .icon { width: 20px; height: 20px; }
.lp-hero-text p { font-size: 16px; max-width: 480px; color: rgba(255,255,255,.85); margin: 0 0 20px; }
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(15,31,20,.45);
  border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 600; font-size: 13.5px;
  padding: 9px 18px; border-radius: 99px; margin-bottom: 22px;
}
.lp-hero-badge .icon { width: 16px; height: 16px; color: var(--lp-accent); }
.lp-btn-outline {
  border: 1.5px solid rgba(255,255,255,.8); color: #fff; background: transparent;
  text-transform: uppercase; letter-spacing: .06em; font-size: 13px; padding: 13px 30px; border-radius: 4px;
}
.lp-btn-outline:hover { background: #fff; color: var(--lp-dark); }
.lp-hero-next {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
  animation: lp-bounce-x 2s ease-in-out infinite;
}
.lp-hero-next:hover { background: var(--lp-primary); border-color: var(--lp-primary); }
.lp-hero-next .icon { width: 20px; height: 20px; }
@keyframes lp-bounce-x { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(8px, -50%); } }
@media (max-width: 900px) { .lp-hero-next { display: none; } }

/* FEATURE CARDS FLOTANTES */
.lp-features { position: relative; z-index: 5; margin-top: -90px; padding-bottom: 60px; }
.lp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lp-feature-card {
  background: #fff; border-radius: 18px; padding: 28px 26px 56px; position: relative;
  box-shadow: 0 20px 45px rgba(15,31,20,.12); text-align: center;
}
.lp-feature-tag { display: block; font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; color: var(--lp-accent); margin-bottom: 10px; }
.lp-feature-card h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.lp-feature-icon {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 14px; background: var(--lp-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(22,128,60,.3);
}
.lp-feature-icon .icon { width: 26px; height: 26px; }
@media (max-width: 900px) { .lp-features-grid { grid-template-columns: 1fr; } .lp-features { margin-top: -60px; } }

/* SECTIONS */
.lp-section { padding: 100px 0; }
.lp-section-alt { background: #f3f1e8; }
.lp-section-dark { background: var(--lp-dark); color: #fff; }
.lp-section-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.lp-section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; margin: 0 0 12px; }
.lp-section-head p { color: var(--lp-muted); font-size: 16px; }

.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lp-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,31,20,.06); transition: transform .25s ease, box-shadow .25s ease; }
.lp-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,31,20,.12); }
.lp-card-img { height: 180px; background-size: cover; background-position: center; background-color: #dfe7df; }
.lp-card-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--lp-primary); }
.lp-card-img-placeholder .icon { width: 48px; height: 48px; }
.lp-cacao-placeholder {
  position: relative;
  min-height: 190px;
  color: #fff;
  overflow: hidden;
}
.lp-cacao-placeholder::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 16px;
}
.lp-cacao-placeholder::after {
  content: 'COOPAECA';
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(255,255,255,.72);
}
.lp-cacao-placeholder > div {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.lp-cacao-placeholder .icon {
  width: 34px;
  height: 34px;
  color: #fff;
}
.lp-cacao-placeholder-1 { background: radial-gradient(circle at 78% 20%, rgba(242,183,5,.62), transparent 24%), linear-gradient(135deg, #3f1c08, #7b3f16 48%, #123f25); }
.lp-cacao-placeholder-2 { background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.24), transparent 22%), linear-gradient(135deg, #0c4a2b, #6a3812); }
.lp-cacao-placeholder-3 { background: linear-gradient(135deg, #7a431b, #c18a35 52%, #442006); }
.lp-cacao-placeholder-4 { background: radial-gradient(circle at 72% 28%, rgba(255,255,255,.25), transparent 20%), linear-gradient(135deg, #3a1b0a, #8f5529); }
.lp-cacao-placeholder-5 { background: linear-gradient(135deg, #1f5131, #9a672e 62%, #f2b705); }
.lp-cacao-placeholder-6 { background: radial-gradient(circle at 26% 70%, rgba(242,183,5,.46), transparent 25%), linear-gradient(135deg, #2b1608, #5f3215); }
.lp-card-body { padding: 20px 22px 24px; }
.lp-card-body h3 { margin: 0 0 8px; font-size: 18px; }
.lp-card-body p { margin: 0; color: var(--lp-muted); font-size: 14.5px; }

/* ──── CARD PRO ──── */
.lp-card-pro { position: relative; }
.lp-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #dfe7df;
}
.lp-card-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.lp-card-pro:hover .lp-card-img-real { transform: scale(1.08); }

/* Badge Destacado */
.lp-card-badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--lp-accent), #e8a817);
  color: #1a0e02;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 5px 12px;
  border-radius: 99px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

/* Badge Categoría */
.lp-card-badge-cat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15,31,20,.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

/* Price Tag flotante */
.lp-card-price-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  padding: 24px 14px 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  z-index: 2;
}
.lp-price-old {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-decoration: line-through;
}
.lp-price-new {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* Empty state elegante */
.lp-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border: 2px dashed var(--lp-line);
  border-radius: 18px;
  color: var(--lp-muted);
}
.lp-empty-state .icon { width: 48px; height: 48px; margin-bottom: 12px; color: var(--lp-primary); opacity: .5; }
.lp-empty-state h3 { font-size: 20px; margin: 0 0 6px; color: var(--lp-text); }
.lp-empty-state p { margin: 0; font-size: 15px; }
.lp-card-service { min-height: 268px; padding: 30px 26px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.lp-card-service h3 { margin: 4px 0 14px; font-size: 20px; line-height: 1.25; color: #10271b; }
.lp-card-service p { margin: 0; color: #263b30; font-size: 15.5px; line-height: 1.55; }
.lp-icon-circle { width: 54px; height: 54px; border-radius: 14px; background: rgba(22,128,60,.1); color: var(--lp-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex-shrink: 0; }
.lp-icon-circle .icon { width: 26px; height: 26px; }

/* SPLIT */
.lp-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lp-media-block { aspect-ratio: 4/3; border-radius: 22px; background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(15,31,20,.18); }
.lp-split-text h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; margin: 0 0 16px; }
.lp-split-text p { color: var(--lp-muted); font-size: 16px; margin: 0 0 18px; }
.lp-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lp-check-list .icon { width: 20px; height: 20px; color: var(--lp-primary); flex-shrink: 0; }
.lp-section-dark .lp-split-text p { color: rgba(255,255,255,.75); }
.lp-section-dark .lp-check-list .icon { color: var(--lp-accent); }
.lp-about-more { margin-top: 18px; border-radius: 6px; }

/* STEPS */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-step { text-align: center; padding: 30px 18px; border: 1px solid var(--lp-line); border-radius: 16px; }
.lp-step-num { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; background: var(--lp-primary); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.lp-step h3 { margin: 0 0 8px; font-size: 17px; }
.lp-step p { margin: 0; color: var(--lp-muted); font-size: 14px; }

/* EXPORT */
.lp-export-inner { text-align: center; }
.lp-export-inner h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin: 0 0 12px; }
.lp-export-inner p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 36px; }
.lp-map-placeholder { width: 100%; max-width: 1000px; aspect-ratio: 1000/400; margin: 0 auto; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.lp-cacao-map-placeholder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 35%, rgba(242,183,5,.9) 0 8px, transparent 9px),
    radial-gradient(circle at 48% 52%, rgba(242,183,5,.8) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 28%, rgba(242,183,5,.75) 0 6px, transparent 7px),
    linear-gradient(135deg, #06351f, #0b4f2c 45%, #6a3812);
}
.lp-cacao-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(255,255,255,.42);
  border-radius: 18px;
}
.lp-cacao-map-placeholder::after {
  content: 'Origen cacao peruano  /  Acopio  /  Derivados  /  Mercado';
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(86%, 520px);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

/* GALLERY */
.lp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-gallery-item { aspect-ratio: 1; border-radius: 14px; background-size: cover; background-position: center; overflow: hidden; transition: transform .3s ease; }
.lp-gallery-item:hover { transform: scale(1.04); }
.lp-gallery-placeholder {
  position: relative;
  background: linear-gradient(135deg, #0b4f2c, #6a3812);
}
.lp-gallery-placeholder::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 12px;
}
.lp-gallery-placeholder::after {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,.22);
}
.lp-gallery-placeholder-1 { background: linear-gradient(135deg, rgba(6,53,31,.86), rgba(106,56,18,.9)), url('../img/hero/cacao1.png') center/cover; }
.lp-gallery-placeholder-1::after { content: 'Acopio comunitario'; }
.lp-gallery-placeholder-2 { background: linear-gradient(135deg, rgba(61,29,8,.72), rgba(156,93,31,.78)), url('../img/hero/cacao3.png') center/cover; }
.lp-gallery-placeholder-2::after { content: 'Fermentacion controlada'; }
.lp-gallery-placeholder-3 { background: linear-gradient(135deg, rgba(9,68,39,.76), rgba(14,20,13,.72)), url('../img/hero/aereo.png') center/cover; }
.lp-gallery-placeholder-3::after { content: 'Parcelas productivas'; }
.lp-gallery-placeholder-4 { background: linear-gradient(135deg, #3f1c08, #a96628); }
.lp-gallery-placeholder-4::after { content: 'Nibs y pasta de cacao'; }
.lp-gallery-placeholder-5 { background: linear-gradient(135deg, #0c4a2b, #bf8a2f); }
.lp-gallery-placeholder-5::after { content: 'Capacitacion tecnica'; }
.lp-gallery-placeholder-6 { background: linear-gradient(135deg, #2b1608, #6a3812, #f2b705); }
.lp-gallery-placeholder-6::after { content: 'Calidad de exportacion'; }

.lp-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.lp-news-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,63,36,.08);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(24,45,32,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lp-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(24,45,32,.14);
}

.lp-news-image {
  min-height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.lp-news-image.lp-gallery-placeholder {
  aspect-ratio: auto;
  border-radius: 0;
}

.lp-news-body {
  padding: 22px;
}

.lp-news-body span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coop-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lp-news-body h3 {
  margin: 0 0 10px;
  color: #11281c;
  font-size: 21px;
  line-height: 1.24;
}

.lp-news-body p {
  margin: 0;
  color: #5f6c64;
  font-size: 14px;
  line-height: 1.65;
}

/* CONTACT */
.lp-contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.lp-form { display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 30px; border-radius: 18px; box-shadow: 0 10px 30px rgba(15,31,20,.06); }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-form input, .lp-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--lp-line); border-radius: 10px; font: inherit; background: var(--lp-bg); }
.lp-form input:focus, .lp-form textarea:focus { outline: 2px solid var(--lp-primary); border-color: transparent; }
.lp-alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.lp-alert-success { background: #e7f5ea; color: #15662f; }
.lp-alert-error { background: #fdecec; color: #b42323; }
.lp-alert-error p { margin: 2px 0; }

.lp-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 85;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 32px rgba(0,0,0,.24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.lp-whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0,0,0,.3);
}

.lp-whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lp-about-page { background: #fbfaf4; }
.lp-about-hero {
  padding: 90px 0;
  background: linear-gradient(135deg, rgba(0,63,36,.08), rgba(242,183,5,.11));
}
.lp-about-hero-inner {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 60px;
  align-items: center;
}
.lp-about-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  color: #10271b;
}
.lp-about-hero p,
.lp-about-content p {
  color: #4f5d54;
  font-size: 17px;
  line-height: 1.75;
}
.lp-about-hero-image {
  min-height: 420px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 60px rgba(20,31,25,.16);
}
.lp-about-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
}
.lp-about-content article,
.lp-about-content aside,
.lp-about-values div {
  background: #fff;
  border: 1px solid rgba(15,31,20,.08);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15,31,20,.06);
}
.lp-about-content article,
.lp-about-content aside { padding: 34px; }
.lp-about-content h2,
.lp-about-content h3 { color: #10271b; margin-top: 0; }
.lp-about-content h2 { font-size: clamp(28px, 4vw, 42px); }
.lp-about-content h3 { font-size: 18px; margin-bottom: 8px; }
.lp-about-content aside p + h3 { margin-top: 28px; }
.lp-about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-about-values div {
  min-height: 96px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: #10271b;
}
.lp-about-values .icon {
  width: 22px;
  height: 22px;
  color: var(--lp-primary);
  flex-shrink: 0;
}

/* FOOTER */
.lp-footer { background: var(--lp-dark); color: rgba(255,255,255,.7); padding: 40px 0; }
.lp-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.lp-footer .lp-brand { color: #fff; }
.lp-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(290px, 78vw);
  text-decoration: none;
}
.lp-footer-logo img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  display: block;
}
.lp-footer-social { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.lp-footer-social a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
.lp-footer-social a:hover { color: var(--lp-accent); }
.lp-footer p { margin: 0; font-size: 13px; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .lp-menu { position: fixed; top: 0; right: -280px; height: 100vh; width: 280px; background: #fff; flex-direction: column; align-items: flex-start; padding: 90px 28px; gap: 22px; transition: right .25s ease; box-shadow: -10px 0 30px rgba(0,0,0,.1); }
  .lp-menu.open { right: 0; }
  .lp-menu a { color: var(--lp-text) !important; }
  .lp-burger { display: block; }
  .lp-grid-3, .lp-steps, .lp-gallery, .lp-news-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-split-inner, .lp-contact-inner { grid-template-columns: 1fr; }
  body { padding-bottom: 78px; }
  .lp-mobile-nav { display: flex; }
  .lp-whatsapp-float { bottom: 86px; }
}
@media (max-width: 560px) {
  .lp-grid-3, .lp-steps, .lp-gallery, .lp-news-grid { grid-template-columns: 1fr; }
  .lp-form-row { grid-template-columns: 1fr; }
  .lp-hero-stats { gap: 28px; }
}

/* COOPAECA HEADER PRO */
:root {
  --coop-green: #003f24;
  --coop-green-deep: #00351f;
  --coop-gold: #f2b705;
  --coop-cacao: #6a3812;
  --coop-cacao-dark: #4b2509;
  --coop-separator: #9a9a9a;
}

body {
  padding-top: 107px;
}

body::before {
  height: 7px;
  background: var(--coop-gold);
  z-index: 90;
}

.lp-topbar {
  top: 7px;
  height: 48px;
  background: var(--coop-green);
  border-bottom: 2px solid rgba(255,255,255,.45);
  color: #fff;
  z-index: 80;
}

.lp-topbar .lp-container {
  max-width: 1480px;
}

.lp-topbar-inner {
  min-height: 48px;
  justify-content: flex-end;
  gap: clamp(34px, 6vw, 95px);
  padding-top: 0;
  padding-bottom: 0;
}

.lp-topbar-item {
  align-items: flex-start;
  gap: 8px;
  min-width: 170px;
}

.lp-topbar-item .lp-topbar-icon {
  display: block;
  width: 17px;
  height: 17px;
  color: rgba(255,255,255,.85);
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-topbar-item div {
  line-height: 1.12;
}

.lp-topbar-item span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.lp-topbar-item strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.12;
}

.lp-nav {
  top: 55px;
  min-height: 52px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  z-index: 79;
}

.lp-nav .lp-container {
  max-width: 1480px;
}

.lp-nav-inner {
  min-height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  gap: 0;
  justify-content: flex-start;
}

.lp-brand {
  width: clamp(220px, 19vw, 310px);
  min-width: 220px;
  height: 52px;
  padding-right: 18px;
  color: var(--coop-green);
}

.lp-brand img {
  width: 100%;
  max-height: 39px;
  object-fit: contain;
}

.lp-brand .icon,
.lp-brand span {
  display: none;
}

.lp-menu {
  height: 52px;
  flex: 1;
  gap: 0;
  align-items: stretch;
}

.lp-menu a,
.lp-menu .lp-nav-link {
  position: relative;
  min-width: 112px;
  height: 52px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--coop-cacao);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  border-left: 1px solid rgba(76, 57, 43, .38);
  transition: background .18s ease, color .18s ease;
}

.lp-menu a:last-child {
  border-right: 1px solid rgba(76, 57, 43, .38);
}

.lp-menu a .icon {
  width: 18px;
  height: 18px;
  color: currentColor;
  stroke-width: 2.5;
}

.lp-nav-dropdown {
  position: relative;
  height: 52px;
  display: flex;
  align-items: stretch;
}

.lp-nav-caret {
  width: 13px !important;
  height: 13px !important;
  margin-left: -2px;
}

.lp-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(76, 57, 43, .22);
  box-shadow: 0 18px 34px rgba(0,0,0,.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
}

.lp-nav-dropdown:hover .lp-submenu,
.lp-nav-dropdown:focus-within .lp-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lp-menu .lp-submenu-link {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  justify-content: flex-start;
  gap: 9px;
  border: 0 !important;
  color: var(--coop-cacao);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.lp-menu .lp-submenu-link:hover {
  background: rgba(106, 56, 18, .1);
  color: var(--coop-cacao);
}

.lp-menu .lp-admin-link {
  min-width: 48px;
  width: 48px;
  height: 52px;
  padding: 0;
  margin-left: 8px;
  border-right: 1px solid rgba(76, 57, 43, .38);
  color: rgba(106, 56, 18, .82);
  background: rgba(255,255,255,.62);
}

.lp-menu .lp-admin-link:hover {
  background: var(--coop-green);
  color: #fff;
}

.lp-menu a:hover,
.lp-menu .lp-nav-link:hover,
.lp-menu .lp-nav-link.is-active,
.lp-nav-dropdown:hover > .lp-nav-link,
.lp-nav-dropdown.is-active > .lp-nav-link {
  background: var(--coop-cacao);
  color: #fff;
}

.lp-menu .lp-btn-nav {
  display: none;
}

.lp-contact-cta {
  min-height: 46px;
  margin-left: 18px;
  padding: 0 22px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coop-green);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.lp-contact-cta:hover {
  background: var(--coop-cacao);
}

.lp-nav-icons,
.lp-icon-btn {
  display: none;
}

.lp-nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lp-nav-icons .lp-icon-btn {
  display: flex;
}

.lp-burger {
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 4px;
  background: var(--coop-green);
  color: #fff;
  align-items: center;
  justify-content: center;
}

body.lp-scrolled .lp-topbar {
  transform: none;
}

body.lp-scrolled .lp-nav {
  top: 55px;
}

.lp-hero {
  height: clamp(500px, 38vw, 680px);
}

@media (max-width: 1180px) {
  .lp-topbar-inner {
    gap: 28px;
  }

  .lp-brand {
    width: 215px;
    min-width: 215px;
    padding-right: 14px;
  }

  .lp-menu a,
  .lp-menu .lp-nav-link {
    min-width: 98px;
    padding: 0 11px;
    font-size: 13px;
  }

  .lp-contact-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 72px;
  }

  .lp-about-hero-inner,
  .lp-about-content,
  .lp-about-values {
    grid-template-columns: 1fr;
  }

  .lp-about-hero {
    padding: 56px 0;
  }

  .lp-about-hero-image {
    min-height: 280px;
  }

  .lp-topbar {
    display: none;
  }

  .lp-nav,
  body.lp-scrolled .lp-nav {
    top: 7px;
    min-height: 65px;
  }

  .lp-nav-inner {
    min-height: 65px;
    padding: 0 18px;
    justify-content: space-between;
  }

  .lp-brand {
    width: min(230px, 70vw);
    min-width: 0;
    height: 65px;
    padding-right: 0;
  }

  .lp-brand img {
    max-height: 44px;
  }

  .lp-burger {
    display: inline-flex;
  }

  .lp-nav-icons {
    gap: 6px;
    margin-left: 6px;
  }

  .lp-lang-switch {
    width: 76px;
    height: 38px;
    padding: 4px;
  }

  .lp-lang-knob {
    width: 28px;
    height: 28px;
    top: 5px;
    left: 5px;
  }

  .lp-lang-switch.is-en .lp-lang-knob {
    transform: translateX(38px);
  }

  .lp-lang-flag {
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
  }

  .lp-lang-switch a {
    font-size: 11px;
  }

  .lp-menu {
    position: fixed;
    top: 72px;
    right: -320px;
    height: calc(100vh - 72px);
    width: 320px;
    max-width: 88vw;
    padding: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: -18px 0 36px rgba(0,0,0,.18);
    transition: right .25s ease;
  }

  .lp-menu.open {
    right: 0;
  }

  .lp-menu a,
  .lp-menu .lp-nav-link {
    width: 100%;
    min-width: 0;
    height: 56px;
    justify-content: flex-start;
    padding: 0 24px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #e7e2dc;
    color: var(--coop-cacao) !important;
    background: #fff;
  }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Premium COOPAECA
   ═══════════════════════════════════════════════════════ */

/* ──── BREADCRUMB ──── */
.pd-breadcrumb {
  padding: 18px 0;
  background: #f8f6f1;
  border-bottom: 1px solid var(--lp-line);
}
.pd-breadcrumb a {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.pd-breadcrumb a:hover { color: var(--lp-primary); }
.pd-breadcrumb span {
  color: #c4bfb2;
  margin: 0 8px;
  font-size: 13px;
}
.pd-breadcrumb strong {
  font-size: 13px;
  color: var(--lp-text);
}

/* ──── HERO GRID ──── */
.pd-hero {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #fefdfa, #fbfaf6 40%, #fff);
}
.pd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ──── GALLERY ──── */
.pd-gallery { }
.pd-main-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,31,20,.16);
  background: #dfe7df;
}
.pd-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.pd-main-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  position: relative;
}
.pd-main-placeholder::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px;
}
.pd-placeholder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.pd-placeholder-icon .icon { width: 40px; height: 40px; }
.pd-placeholder-icon + span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  position: relative;
  z-index: 1;
}
.pd-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--lp-accent), #d4940c);
  color: #1a0e02;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 99px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

/* ──── PRODUCT INFO ──── */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pd-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-cat-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(22,128,60,.08);
  color: var(--lp-primary);
  font-size: 12px;
  font-weight: 700;
}
.pd-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--lp-dark);
  margin: 0;
}
.pd-excerpt {
  font-size: 16px;
  color: var(--lp-muted);
  line-height: 1.6;
  margin: 0;
}

/* ──── PRICE ──── */
.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}
.pd-price {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--lp-primary);
}
.pd-price-old {
  font-size: 20px;
  color: var(--lp-muted);
  text-decoration: line-through;
}
.pd-discount {
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

/* ──── ACTIONS ──── */
.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--lp-primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.pd-btn-cart:hover { background: #0f5e2a; transform: translateY(-2px); }
.pd-btn-cart .icon { width: 18px; height: 18px; }
.pd-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border: 2px solid var(--lp-line);
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  color: var(--lp-text);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.pd-btn-contact:hover { border-color: var(--lp-primary); background: #f6fdf7; }
.pd-btn-contact .icon { width: 18px; height: 18px; }

/* ──── META ──── */
.pd-meta {
  display: flex;
  gap: 32px;
  padding-top: 6px;
}
.pd-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-meta-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--lp-muted);
}
.pd-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-text);
}

/* ──── CONTENT SECTION ──── */
.pd-content {
  padding: 60px 0 80px;
  background: #fbfaf5;
}
.pd-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

/* ──── MAIN COL ──── */
.pd-main-col { display: grid; gap: 32px; }
.pd-section {
  background: #fff;
  border: 1px solid rgba(15,31,20,.07);
  border-radius: 18px;
  padding: 30px 34px;
  box-shadow: 0 6px 24px rgba(15,31,20,.04);
}
.pd-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 800;
  color: var(--lp-dark);
}
.pd-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(22,128,60,.08);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pd-section-icon .icon { width: 18px; height: 18px; }
.pd-description {
  font-size: 15px;
  line-height: 1.75;
  color: #4d5a51;
}
.pd-description p { margin: 0 0 14px; }
.pd-description p:last-child { margin-bottom: 0; }

/* ──── FEATURES GRID ──── */
.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pd-feature-card {
  background: #f8faf7;
  border: 1px solid rgba(22,128,60,.08);
  border-radius: 14px;
  padding: 20px;
  transition: box-shadow .2s, border-color .2s;
}
.pd-feature-card:hover {
  border-color: rgba(22,128,60,.18);
  box-shadow: 0 4px 16px rgba(22,128,60,.06);
}
.pd-feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.pd-feature-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--lp-dark);
}
.pd-feature-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lp-muted);
}

/* ──── SIDE COL ──── */
.pd-side-col { display: grid; gap: 18px; }
.pd-side-card {
  background: #fff;
  border: 1px solid rgba(15,31,20,.07);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(15,31,20,.04);
}
.pd-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--lp-dark);
}
.pd-side-title .icon { width: 18px; height: 18px; color: var(--lp-primary); }

/* ──── SPECS TABLE ──── */
.pd-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.pd-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,31,20,.05);
}
.pd-specs li:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-specs span {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-muted);
  flex-shrink: 0;
}
.pd-specs strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--lp-dark);
  text-align: right;
  line-height: 1.4;
}

/* ──── SIDE TAGS ──── */
.pd-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-side-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(22,128,60,.06);
  color: var(--lp-primary);
  font-size: 12px;
  font-weight: 700;
}

/* ──── SIDE CTA ──── */
.pd-side-cta {
  background: linear-gradient(135deg, rgba(22,128,60,.05), rgba(242,183,5,.08));
  border-color: rgba(22,128,60,.12);
}
.pd-side-cta p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.55;
}
.pd-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s;
}
.pd-btn-whatsapp:hover { background: #1fbd59; }
.pd-btn-whatsapp .icon { width: 18px; height: 18px; }

/* ──── RELATED PRODUCTS ──── */
.pd-related {
  padding: 80px 0 100px;
  background: #fff;
}
.pd-back-wrap {
  text-align: center;
  margin-top: 40px;
}
.pd-back-wrap .lp-btn .icon { width: 16px; height: 16px; transform: rotate(180deg); }

/* ──── LINK CARD FIX ──── */
a.lp-card-pro {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}
a.lp-card-pro h3 { color: inherit; }

/* ──── RESPONSIVE ──── */
@media (max-width: 900px) {
  .pd-hero-grid,
  .pd-content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pd-features-grid {
    grid-template-columns: 1fr;
  }
  .pd-actions { flex-direction: column; }
  .pd-btn-cart, .pd-btn-contact { justify-content: center; }
  .pd-section { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════════════
   NAVBAR: PRODUCTS DROPDOWN + SEARCH
   ═══════════════════════════════════════════════════════ */

/* ──── PRODUCTS DROPDOWN ──── */
.lp-submenu-products {
  min-width: 280px;
  max-height: 420px;
  overflow-y: auto;
}
.lp-submenu-products .lp-submenu-link {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 8px;
}
.lp-submenu-all {
  border-top: 1px solid var(--lp-line);
  margin-top: 4px;
  padding-top: 12px !important;
  color: var(--lp-primary) !important;
  font-weight: 800 !important;
}

/* ──── SEARCH OVERLAY ──── */
.lp-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,20,13,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.lp-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lp-search-modal {
  width: min(620px, 96vw);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform .25s ease;
}
.lp-search-overlay.is-open .lp-search-modal {
  transform: translateY(0);
}
.lp-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--lp-line);
}
.lp-search-icon {
  width: 22px;
  height: 22px;
  color: var(--lp-muted);
  flex-shrink: 0;
}
.lp-search-input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--lp-dark);
  background: transparent;
}
.lp-search-input::placeholder { color: #a3aea6; }
.lp-search-kbd {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--lp-line);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  color: var(--lp-muted);
  background: #f8faf7;
  cursor: pointer;
}
.lp-search-kbd:hover { background: #eef3f0; }
.lp-search-results {
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px;
}
.lp-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--lp-muted);
}
.lp-search-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(22,128,60,.06);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  opacity: .7;
}
.lp-search-empty-icon .icon { width: 26px; height: 26px; }
.lp-search-empty strong { font-size: 15px; color: var(--lp-dark); margin-bottom: 4px; }
.lp-search-empty p { font-size: 13px; margin: 0; }

/* ──── SEARCH RESULT ITEM ──── */
.lp-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--lp-dark);
  transition: background .12s;
}
.lp-search-item:hover { background: #f6faf6; }
.lp-search-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #e8efe8;
  overflow: hidden;
  flex-shrink: 0;
}
.lp-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-search-thumb .icon {
  width: 24px;
  height: 24px;
  color: var(--lp-primary);
  margin: 14px;
}
.lp-search-info {
  flex: 1;
  min-width: 0;
}
.lp-search-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.lp-search-desc {
  display: block;
  font-size: 12px;
  color: var(--lp-muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-search-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.lp-search-badge.producto { background: rgba(22,128,60,.1); color: var(--lp-primary); }
.lp-search-badge.servicio { background: rgba(106,56,18,.1); color: var(--coop-cacao); }
.lp-search-badge.publicacion { background: rgba(242,183,5,.15); color: #8a6d0b; }

.lp-search-price {
  font-weight: 800;
  font-size: 13px;
  color: var(--lp-primary);
  flex-shrink: 0;
}

/* ──── NAV LINK STYLES (non-conflicting) ──── */
.lp-nav-caret { width: 12px !important; height: 12px !important; margin-left: 2px; transition: transform .2s; }
.lp-nav-dropdown:hover .lp-nav-caret { transform: rotate(180deg); }
.lp-admin-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--lp-muted) !important;
  border-radius: 8px;
  transition: background .15s;
}
.lp-admin-link:hover { background: rgba(0,0,0,.05); color: var(--lp-dark) !important; }
.lp-admin-link .icon { width: 16px; height: 16px; }

/* Fix: ensure dropdown works on hover */
.lp-nav-dropdown { position: relative; }
.lp-nav-dropdown .lp-submenu {
  position: absolute;
  top: 100%;
  left: -8px;
  margin-top: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15,31,20,.18), 0 4px 12px rgba(15,31,20,.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.lp-nav-dropdown:hover .lp-submenu,
.lp-nav-dropdown:focus-within .lp-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.lp-submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--lp-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background .12s;
}
.lp-submenu-link:hover { background: #f6faf6; color: var(--lp-primary); }
.lp-submenu-link .icon { width: 16px; height: 16px; color: var(--lp-primary); }

@media (max-width: 900px) {
  .lp-menu a:hover,
  .lp-menu .lp-nav-link:hover,
  .lp-menu .lp-nav-link.is-active,
  .lp-nav-dropdown.is-active > .lp-nav-link {
    background: var(--coop-cacao);
    color: #fff !important;
  }

  .lp-nav-dropdown {
    width: 100%;
    height: auto;
    display: block;
  }

  .lp-nav-caret {
    margin-left: auto;
  }

  .lp-submenu {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: #fbfaf7;
  }

  .lp-menu .lp-submenu-link {
    height: 50px;
    padding-left: 46px;
    border-bottom: 1px solid #e7e2dc !important;
    background: #fbfaf7;
    font-size: 12.5px;
  }

  .lp-menu .lp-submenu-link:hover {
    background: rgba(106, 56, 18, .1);
    color: var(--coop-cacao) !important;
  }

  .lp-menu .lp-admin-link {
    width: 100%;
    height: 52px;
    margin-left: 0;
    padding: 0 24px;
    justify-content: flex-start;
    border-bottom: 1px solid #e7e2dc;
    color: var(--coop-cacao) !important;
    background: #fff;
  }

  .lp-menu .lp-admin-link::after {
    content: 'Admin';
    margin-left: 8px;
    font-size: 13px;
    font-weight: 800;
  }

  .lp-menu .lp-webmail-link::after {
    content: 'Correo Webmail';
  }

  .lp-menu .lp-admin-link:hover {
    background: var(--coop-green);
    color: #fff !important;
  }

  .lp-menu .lp-nav-link.is-active::after {
    display: none;
  }

  .lp-menu .lp-btn-nav {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .lp-nav-inner {
    padding: 0 14px;
  }

  .lp-brand {
    width: min(205px, 68vw);
  }

  .lp-brand img {
    max-height: 40px;
  }

  .lp-menu {
    width: 290px;
  }

  .lp-whatsapp-float {
    right: 16px;
    bottom: 86px;
    width: 54px;
    height: 54px;
  }
}

/* ──── STOCK INDICATOR ──── */
.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #065f46;
  padding: 6px 0;
}
.pd-stock::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}
.pd-stock.pd-stock-out {
  color: #991b1b;
}
.pd-stock.pd-stock-out::before {
  background: #ef4444;
}

/* ──── QUANTITY INPUT ──── */
.pd-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-qty-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--lp-dark);
}
.pd-qty-input {
  width: 72px;
  height: 42px;
  text-align: center;
  border: 1.5px solid var(--lp-line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-dark);
  background: #fff;
}
.pd-qty-input:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(22,128,60,.1);
}
.pd-qty-input:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* Ecommerce cart */
.pd-btn-cart,
.pd-btn-contact,
.pd-btn-whatsapp {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.pd-btn-cart:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.lp-cart-float {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 18px;
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 18px 45px rgba(22,128,60,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
body.has-cart-items .lp-cart-float {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lp-cart-float-icon {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}
.lp-cart-count {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--lp-accent);
  color: #1c1306;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  border: 2px solid #fff;
}
.lp-cart-overlay,
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8,20,12,.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, visibility .2s;
}
.lp-cart-overlay.is-open,
.checkout-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lp-cart-drawer {
  position: absolute;
  right: 0;
  top: 0;
  width: min(430px, 100vw);
  height: 100%;
  background: #fff;
  box-shadow: -24px 0 55px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .24s ease;
}
.lp-cart-overlay.is-open .lp-cart-drawer { transform: translateX(0); }
.lp-cart-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--lp-line);
}
.lp-cart-head span,
.checkout-card-head span,
.success-card > span {
  display: block;
  color: var(--lp-primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.lp-cart-head h3 {
  margin: 0;
  color: var(--lp-dark);
  font-size: 24px;
}
.lp-cart-close,
.checkout-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: #fff;
  color: var(--lp-muted);
  cursor: pointer;
  font-weight: 900;
}
.lp-cart-note {
  display: none;
  margin: 16px 24px 0;
  padding: 14px;
  border-radius: 12px;
  background: #f3f8f4;
  color: #315840;
  font-size: 13px;
  line-height: 1.55;
}
.lp-cart-note.is-visible { display: block; }
.lp-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.lp-cart-empty {
  padding: 30px 18px;
  border: 1px dashed var(--lp-line);
  border-radius: 14px;
  color: var(--lp-muted);
  text-align: center;
  font-weight: 700;
}
.lp-cart-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
}
.lp-cart-thumb {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: #edf4ef;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--lp-primary);
  font-weight: 900;
}
.lp-cart-thumb img,
.checkout-cart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-cart-info {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.lp-cart-info strong {
  color: var(--lp-dark);
  font-size: 13px;
  line-height: 1.3;
}
.lp-cart-info span,
.lp-cart-info small {
  color: var(--lp-muted);
  font-size: 12px;
}
.lp-cart-qty {
  display: grid;
  grid-template-columns: 28px 26px 28px;
  align-items: center;
  gap: 3px;
}
.lp-cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--lp-dark);
  font-weight: 900;
  cursor: pointer;
}
.lp-cart-qty span {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}
.lp-cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--lp-line);
  display: grid;
  gap: 12px;
}
.lp-cart-total,
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--lp-dark);
}
.lp-cart-total strong,
.checkout-total strong {
  color: var(--lp-primary);
  font-size: 22px;
}
.lp-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 260;
  transform: translate(-50%, 18px);
  background: #102718;
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.lp-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Checkout */
.checkout-hero {
  padding: 70px 0 42px;
  background: #fbfaf5;
  border-bottom: 1px solid var(--lp-line);
}
.checkout-hero h1 {
  margin: 10px 0 10px;
  color: var(--lp-dark);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
}
.checkout-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--lp-muted);
  font-size: 16px;
  line-height: 1.65;
}
.checkout-page {
  background: #f4f6f3;
  padding: 34px 0 80px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}
.checkout-form,
.checkout-summary-card,
.success-card {
  background: #fff;
  border: 1px solid rgba(15,31,20,.08);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15,31,20,.06);
}
.checkout-form {
  padding: 22px;
  display: grid;
  gap: 18px;
}
.checkout-alert { margin: 0; }
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.checkout-step {
  position: relative;
  min-height: 56px;
  border-radius: 14px;
  background: #f4f6f3;
  color: var(--lp-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  padding: 10px;
}
.checkout-step::before {
  content: attr(data-step-label);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--lp-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
}
.checkout-step.is-active {
  background: var(--lp-primary);
  color: #fff;
}
.checkout-card {
  display: none;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  padding: 20px;
}
.checkout-card.is-current { display: block; }
.checkout-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.checkout-card-head h2 {
  margin: 0;
  color: var(--lp-dark);
  font-size: 22px;
}
.checkout-link {
  color: var(--lp-primary);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.checkout-cart-list {
  display: grid;
  gap: 12px;
}
.checkout-cart-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 12px;
}
.checkout-cart-item > div {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: #edf4ef;
  overflow: hidden;
}
.checkout-cart-item section {
  display: grid;
  gap: 2px;
}
.checkout-cart-item strong,
.checkout-cart-item b {
  color: var(--lp-dark);
}
.checkout-cart-item span,
.checkout-cart-item small {
  color: var(--lp-muted);
  font-size: 12px;
}
.checkout-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  min-height: 220px;
  color: var(--lp-muted);
}
.checkout-empty strong { color: var(--lp-dark); font-size: 20px; }
.checkout-empty p { margin: 0; }
.checkout-fields {
  display: grid;
  gap: 14px;
}
.checkout-fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkout-fields label {
  display: grid;
  gap: 7px;
  color: var(--lp-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.checkout-fields input,
.checkout-fields select,
.checkout-fields textarea {
  width: 100%;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--lp-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 14px;
  outline: 0;
  text-transform: none;
  letter-spacing: 0;
}
.checkout-fields textarea { resize: vertical; }
.checkout-fields input:focus,
.checkout-fields select:focus,
.checkout-fields textarea:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(22,128,60,.11);
}
.identity-lookup-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}
.identity-lookup-btn {
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: #0a7c3f;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 18px rgba(10,124,63,.18);
}
.identity-lookup-btn:hover { background: #075f31; transform: translateY(-1px); }
.identity-lookup-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.identity-lookup-status {
  min-height: 18px;
  color: var(--lp-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.identity-lookup-status[data-state="success"] { color: #0a7c3f; }
.identity-lookup-status[data-state="error"] { color: #b42323; }
.identity-lookup-status[data-state="loading"] { color: #8a5a05; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.payment-option {
  cursor: pointer;
}
.payment-option input {
  position: absolute;
  opacity: 0;
}
.payment-option span {
  min-height: 96px;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.payment-option input:checked + span {
  border-color: var(--lp-primary);
  background: #f3f8f4;
  box-shadow: 0 0 0 3px rgba(22,128,60,.08);
}
.payment-option strong { color: var(--lp-dark); }
.payment-option small {
  color: var(--lp-muted);
  font-size: 12px;
  line-height: 1.4;
}
.payment-option-qr {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--lp-line);
  background: #fff;
  margin-top: 4px;
}
.checkout-actions,
.checkout-modal-actions,
.success-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.checkout-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--lp-dark);
  font-family: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.checkout-nav-btn:disabled { opacity: .45; cursor: not-allowed; }
.is-hidden { display: none !important; }
.checkout-summary {
  position: sticky;
  top: 116px;
}
.checkout-summary-card {
  padding: 22px;
  display: grid;
  gap: 16px;
}
.checkout-summary-card > span {
  color: var(--lp-primary);
  font-size: 12px;
  font-weight: 900;
}
.checkout-summary-items {
  display: grid;
  gap: 10px;
}
.checkout-summary-items div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--lp-muted);
  font-size: 13px;
}
.checkout-summary-items strong {
  color: var(--lp-dark);
  white-space: nowrap;
}
.checkout-summary-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.55;
}
.checkout-modal {
  display: grid;
  place-items: center;
  padding: 18px;
}
.checkout-modal-card {
  width: min(620px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  position: relative;
}
.checkout-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.checkout-modal-card > span {
  color: var(--lp-primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.checkout-modal-card h2 {
  margin: 6px 44px 18px 0;
  color: var(--lp-dark);
}
.checkout-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.checkout-review div {
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 12px;
}
.checkout-review .span-full { grid-column: 1 / -1; }
.checkout-review span {
  display: block;
  color: var(--lp-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.checkout-review strong {
  color: var(--lp-dark);
  font-size: 13px;
  line-height: 1.45;
}

/* Checkout success */
.checkout-success {
  padding: 70px 0 90px;
  background: #f4f6f3;
}
.success-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}
.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  margin: 0 auto 18px;
  background: var(--lp-primary);
  color: #fff;
  display: grid;
  place-items: center;
}
.success-icon .icon { width: 34px; height: 34px; }
.success-card h1 {
  margin: 6px 0 12px;
  color: var(--lp-dark);
  font-size: clamp(30px, 5vw, 48px);
}
.success-card p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--lp-muted);
  line-height: 1.7;
}
.success-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.success-summary div,
.success-items div {
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 4px;
  text-align: left;
}
.success-summary span,
.success-items span {
  color: var(--lp-muted);
  font-size: 12px;
  font-weight: 800;
}
.success-summary strong,
.success-items strong {
  color: var(--lp-dark);
  font-size: 14px;
}
.success-items {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.success-items div {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

@media (max-width: 920px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
  .payment-options,
  .checkout-fields.three {
    grid-template-columns: 1fr;
  }
  .checkout-fields.two {
    grid-template-columns: 1fr;
  }
  .identity-lookup-field {
    grid-template-columns: 1fr;
  }
  .identity-lookup-btn {
    min-height: 44px;
  }
  .span-2,
  .span-3 {
    grid-column: auto;
  }
  .success-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .lp-cart-float {
    right: 18px;
    bottom: 154px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .lp-cart-drawer {
    width: 100vw;
  }
  .checkout-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .checkout-form,
  .checkout-summary-card,
  .success-card {
    border-radius: 14px;
    padding: 16px;
  }
  .checkout-cart-item,
  .lp-cart-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .checkout-cart-item b,
  .lp-cart-qty {
    grid-column: 2;
  }
  .checkout-review,
  .success-summary {
    grid-template-columns: 1fr;
  }
  .success-actions,
  .checkout-actions,
  .checkout-modal-actions {
    justify-content: stretch;
  }
  .success-actions > *,
  .checkout-actions > *,
  .checkout-modal-actions > * {
    width: 100%;
  }
}

/* Modal automatico post-compra: evidencia del pedido por WhatsApp */
.success-wa-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 15, 10, .72); backdrop-filter: blur(6px); }
.success-wa-modal.is-closed { display: none; }
body.success-wa-open { overflow: hidden; }
.success-wa-box { background: #fff; border-radius: 20px; max-width: 480px; width: 100%; padding: 34px 30px 26px; text-align: center; box-shadow: 0 32px 90px rgba(0, 0, 0, .45); animation: successWaIn .35s ease; }
@keyframes successWaIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.success-wa-icon { width: 64px; height: 64px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #e7f6ec; color: #128c4b; }
.success-wa-icon svg { width: 34px; height: 34px; }
.success-wa-box h2 { margin: 0 0 4px; font-size: 24px; color: #0d3b24; }
.success-wa-code { font-weight: 800; letter-spacing: .04em; color: #128c4b; margin: 0 0 12px; }
.success-wa-box p { margin: 0 0 12px; color: #45514a; font-size: 15px; line-height: 1.55; }
.success-wa-important { background: #fff8e6; border: 1px solid #f5dfa1; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.success-wa-send { width: 100%; justify-content: center; font-size: 16px; padding: 14px 18px; margin-top: 4px; }
.success-wa-skip { display: block; margin: 14px auto 0; border: none; background: none; color: #7a857e; font-size: 13px; text-decoration: underline; cursor: pointer; }
.success-wa-skip:hover { color: #45514a; }
@media (max-width: 520px) { .success-wa-box { padding: 26px 18px 20px; } .success-wa-box h2 { font-size: 20px; } }

/* QR ampliable en el checkout (Yape, Plin, transferencias con QR) */
.payment-option-qr-btn { display: block; border: none; background: none; padding: 0; cursor: zoom-in; text-align: left; }
.payment-option-qr-btn .payment-qr-hint { display: block; color: #128c4b; font-size: 12px; font-weight: 600; margin-top: 4px; }
.qr-zoom-overlay { position: fixed; inset: 0; z-index: 420; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 15, 10, .8); backdrop-filter: blur(6px); }
.qr-zoom-overlay.is-open { display: flex; }
body.qr-zoom-open { overflow: hidden; }
.qr-zoom-box { position: relative; background: #fff; border-radius: 18px; padding: 26px 26px 20px; text-align: center; max-width: min(480px, 94vw); animation: successWaIn .3s ease; }
.qr-zoom-box img { width: min(380px, 78vw); height: auto; max-height: 62vh; object-fit: contain; border-radius: 10px; display: block; margin: 0 auto 10px; }
.qr-zoom-box strong { display: block; font-size: 18px; color: #0d3b24; margin-bottom: 2px; }
.qr-zoom-box span { display: block; color: #66716a; font-size: 13px; }
.qr-zoom-close { position: absolute; top: 10px; right: 12px; border: none; background: #f1f4f2; color: #45514a; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.qr-zoom-close:hover { background: #e2e8e4; }
