/* ========================================
   Materiales Juan de Dios — V2 Styles
   Modern / Premium / Rappi-inspired
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --v2-navy: #0f172a;
  --v2-navy-light: #1e293b;
  --v2-orange: #f97316;
  --v2-orange-hover: #ea580c;
  --v2-orange-light: #fff7ed;
  --v2-orange-glow: rgba(249, 115, 22, 0.15);
  --v2-green: #16a34a;
  --v2-green-hover: #15803d;
  --v2-red: #ef4444;
  --v2-bg: #f8fafc;
  --v2-card: #ffffff;
  --v2-text: #0f172a;
  --v2-muted: #64748b;
  --v2-border: #e2e8f0;
  --v2-border-light: #f1f5f9;
  --v2-radius: 16px;
  --v2-radius-sm: 12px;
  --v2-radius-xs: 8px;
  --v2-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
  --v2-shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(15, 23, 42, 0.1);
  --v2-shadow-xl: 0 8px 16px rgba(15, 23, 42, 0.06), 0 20px 48px rgba(15, 23, 42, 0.12);
  --v2-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

.v2-body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--v2-bg);
  color: var(--v2-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.v2-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER ==================== */

.v2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.v2-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.v2-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.v2-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #fff;
}

.v2-brand-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.v2-brand-text p {
  font-size: 0.78rem;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.v2-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-header-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all var(--v2-transition);
  position: relative;
  background: transparent;
}

.v2-header-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.v2-header-btn.cart-btn { background: var(--v2-orange); border-color: transparent; }
.v2-header-btn.cart-btn:hover { background: var(--v2-orange-hover); }
.v2-header-btn.wa-btn { background: var(--v2-green); border-color: transparent; }
.v2-header-btn.wa-btn:hover { background: var(--v2-green-hover); }

.v2-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--v2-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--v2-navy);
  line-height: 1;
}

/* ==================== CATEGORY PILLS ==================== */

.v2-pills-bar {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--v2-border);
  padding: 12px 0;
}

.v2-pills-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 20px;
}

.v2-pills-scroll::-webkit-scrollbar { display: none; }

.v2-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--v2-border);
  background: #fff;
  color: var(--v2-muted);
  cursor: pointer;
  transition: all var(--v2-transition);
  white-space: nowrap;
  text-decoration: none;
}

.v2-pill:hover {
  border-color: var(--v2-orange);
  color: var(--v2-orange);
  background: var(--v2-orange-light);
}

.v2-pill-active {
  background: var(--v2-navy) !important;
  color: #fff !important;
  border-color: var(--v2-navy) !important;
}

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

.v2-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.v2-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.v2-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.3) 0%,
    rgba(15, 23, 42, 0.6) 60%,
    rgba(15, 23, 42, 0.95) 100%
  );
}

.v2-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 48px;
  color: #fff;
}

.v2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.v2-hero h2 {
  font-size: 3.2rem;
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 600px;
}

.v2-hero p {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
  max-width: 520px;
  line-height: 1.6;
}

.v2-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--v2-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--v2-transition);
  letter-spacing: -0.01em;
}

.v2-btn-orange {
  background: var(--v2-orange);
  color: #fff;
}
.v2-btn-orange:hover { background: var(--v2-orange-hover); transform: translateY(-1px); }

.v2-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.v2-btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.4); }

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

.v2-section {
  padding: 40px 0;
}

.v2-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.v2-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--v2-navy);
}

.v2-section-subtitle {
  font-size: 0.9rem;
  color: var(--v2-muted);
  font-weight: 500;
}

/* ==================== VALUE PROPS ==================== */

.v2-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 10px;
}

.v2-value-card {
  background: var(--v2-card);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 24px;
  text-align: center;
  transition: all var(--v2-transition);
}

.v2-value-card:hover {
  box-shadow: var(--v2-shadow);
  transform: translateY(-2px);
}

.v2-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.v2-value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.v2-value-card p {
  font-size: 0.85rem;
  color: var(--v2-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==================== PRODUCT GRID ==================== */

.v2-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.v2-prod-card {
  background: var(--v2-card);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--v2-transition);
  position: relative;
}

.v2-prod-card:hover {
  box-shadow: var(--v2-shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.v2-prod-card:hover .v2-prod-img {
  transform: scale(1.05);
}

.v2-prod-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.v2-prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-prod-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  backdrop-filter: blur(8px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.v2-prod-body {
  padding: 16px 18px 18px;
}

.v2-prod-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.v2-prod-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.v2-price-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--v2-orange-light);
  color: var(--v2-orange);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.v2-price-desde {
  font-size: 0.8rem;
  color: var(--v2-muted);
  font-weight: 500;
}

.v2-prod-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--v2-muted);
  margin-top: 8px;
}

.v2-prod-meta svg { flex-shrink: 0; }

.v2-prod-pres-count {
  font-size: 0.75rem;
  color: var(--v2-muted);
  margin-top: 4px;
}

/* ==================== MODAL ==================== */

.v2-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: v2FadeIn 0.2s ease;
}

@keyframes v2FadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.v2-modal {
  background: #fff;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  padding: 0;
  position: relative;
  animation: v2SlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes v2SlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.v2-modal-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  margin: 12px auto 0;
}

.v2-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background var(--v2-transition);
}

.v2-modal-close:hover { background: rgba(15, 23, 42, 0.8); }

.v2-modal-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.v2-modal-body {
  padding: 20px 24px 32px;
}

.v2-modal-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--v2-navy);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.v2-modal-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.v2-modal-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--v2-orange);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* Chip selector */
.v2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.v2-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  border: 2px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  background: #fff;
  cursor: pointer;
  transition: all var(--v2-transition);
  min-width: 90px;
}

.v2-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.v2-chip-active {
  border-color: var(--v2-orange) !important;
  background: var(--v2-orange-light) !important;
  box-shadow: 0 0 0 3px var(--v2-orange-glow);
}

.v2-chip-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--v2-text);
}

.v2-chip-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--v2-orange);
  margin-top: 2px;
}

/* Presentation table */
.v2-pres-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.v2-pres-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--v2-border);
  color: var(--v2-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.v2-pres-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-pres-table td:last-child {
  font-weight: 800;
  color: var(--v2-orange);
  text-align: right;
}

.v2-pres-table th:last-child { text-align: right; }

.v2-pres-row-active {
  background: var(--v2-orange-light);
}

/* Action buttons */
.v2-btn-add {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--v2-radius-sm);
  background: var(--v2-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--v2-transition);
  letter-spacing: -0.01em;
}

.v2-btn-add:hover { background: var(--v2-orange-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35); }
.v2-btn-add:active { transform: translateY(0); }

.v2-btn-added {
  background: var(--v2-green) !important;
}

.v2-btn-wa-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--v2-radius-sm);
  background: var(--v2-green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all var(--v2-transition);
}

.v2-btn-wa-action:hover { background: var(--v2-green-hover); }

.v2-btn-call-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--v2-radius-sm);
  border: 2px solid var(--v2-navy);
  color: var(--v2-navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  transition: all var(--v2-transition);
}

.v2-btn-call-action:hover { background: #f1f5f9; }

.v2-modal-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--v2-muted);
  margin: 14px 0 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: var(--v2-radius-xs);
}

/* ==================== TOAST ==================== */

.v2-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--v2-navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--v2-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
  box-shadow: var(--v2-shadow-xl);
  animation: v2ToastIn 0.3s ease, v2ToastOut 0.3s ease 2s forwards;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
}

@keyframes v2ToastIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes v2ToastOut { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(20px); } }

/* ==================== CART SIDEBAR ==================== */

.v2-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  z-index: 101;
  animation: v2FadeIn 0.2s ease;
}

.v2-cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #fff;
  z-index: 102;
  display: flex;
  flex-direction: column;
  animation: v2SlideRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.15);
}

@keyframes v2SlideRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

.v2-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--v2-border);
}

.v2-cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.v2-cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v2-muted);
  transition: all var(--v2-transition);
}

.v2-cart-close:hover { background: #e2e8f0; color: var(--v2-text); }

.v2-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  gap: 12px;
  padding: 40px;
}

.v2-cart-empty p {
  font-size: 0.95rem;
  font-weight: 500;
}

.v2-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.v2-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--v2-border-light);
}

.v2-cart-item-info {
  flex: 1;
}

.v2-cart-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.v2-cart-item-pres {
  margin: 3px 0 0;
  font-size: 0.8rem;
  color: var(--v2-muted);
}

.v2-cart-item-right {
  text-align: right;
}

.v2-cart-item-price {
  font-weight: 800;
  color: var(--v2-orange);
  font-size: 0.95rem;
}

.v2-cart-remove {
  display: block;
  border: none;
  background: none;
  color: var(--v2-red);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0 0;
  transition: opacity var(--v2-transition);
}

.v2-cart-remove:hover { opacity: 0.7; }

.v2-cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--v2-border);
  background: #fafbfc;
}

.v2-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.v2-cart-total span { font-weight: 600; }
.v2-cart-total strong { color: var(--v2-orange); font-size: 1.4rem; font-weight: 900; }

.v2-cart-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border-radius: var(--v2-radius-sm);
  background: var(--v2-green);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all var(--v2-transition);
}

.v2-cart-wa-btn:hover { background: var(--v2-green-hover); }

.v2-cart-clear-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--v2-radius-sm);
  border: 1.5px solid var(--v2-border);
  color: var(--v2-muted);
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: all var(--v2-transition);
}

.v2-cart-clear-btn:hover { border-color: var(--v2-red); color: var(--v2-red); }

/* ==================== PRODUCT GRID (Construcción) ==================== */

.v2-grid-section {
  margin-bottom: 32px;
}

.v2-grid-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--v2-text);
}

.v2-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v2-grid-card {
  background: var(--v2-card);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-sm);
  overflow: hidden;
  transition: all var(--v2-transition);
}

.v2-grid-card:hover {
  box-shadow: var(--v2-shadow);
  transform: translateY(-2px);
}

.v2-grid-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f8fafc;
  padding: 8px;
  display: block;
}

.v2-grid-card-info {
  padding: 12px 14px;
}

.v2-grid-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--v2-text);
  margin: 0 0 4px;
  line-height: 1.3;
}

.v2-grid-card-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--v2-green);
  margin: 0;
}

/* ==================== MAP ==================== */

.v2-map-wrap {
  border-radius: var(--v2-radius);
  overflow: hidden;
  border: 1px solid var(--v2-border);
  box-shadow: var(--v2-shadow);
  background: #fff;
}

.v2-map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ==================== GALLERY ==================== */

.v2-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.v2-gallery-item {
  position: relative;
  border-radius: var(--v2-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.v2-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-gallery-item:hover img {
  transform: scale(1.05);
}

.v2-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 14px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.8));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==================== FLOATING WA ==================== */

.v2-floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--v2-green);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all var(--v2-transition);
  animation: v2Pulse 3s infinite;
}

.v2-floating-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
}

@keyframes v2Pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4), 0 0 0 10px rgba(22, 163, 74, 0.1); }
}

/* ==================== FOOTER ==================== */

.v2-footer {
  background: var(--v2-navy);
  color: #94a3b8;
  padding: 48px 0 32px;
  margin-top: 20px;
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.v2-footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.v2-footer p {
  margin: 8px 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.v2-footer strong {
  color: #e2e8f0;
  font-weight: 700;
}

.v2-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.v2-footer a {
  color: var(--v2-orange);
  text-decoration: none;
  transition: color var(--v2-transition);
}

.v2-footer a:hover { color: #fdba74; }

.v2-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 32px 0 20px;
}

.v2-footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 900px) {
  .v2-header-inner { min-height: 60px; }
  .v2-brand img { width: 34px; height: 34px; }
  .v2-brand-text h1 { font-size: 0.95rem; }
  .v2-brand-text p { font-size: 0.72rem; }

  .v2-pills-bar { top: 60px; }

  .v2-hero { height: 400px; }
  .v2-hero h2 { font-size: 2.2rem; }
  .v2-hero p { font-size: 0.95rem; }

  .v2-values { grid-template-columns: 1fr; gap: 10px; }
  .v2-value-card { padding: 16px; display: flex; align-items: center; gap: 14px; text-align: left; }
  .v2-value-icon { margin-bottom: 0; flex-shrink: 0; }

  .v2-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .v2-prod-img-wrap { height: 140px; }
  .v2-prod-body { padding: 12px 14px 14px; }
  .v2-prod-name { font-size: 1rem; }
  .v2-price-pill { font-size: 1rem; padding: 4px 10px; }

  .v2-gallery-grid { grid-template-columns: 1fr; }
  .v2-gallery-item { aspect-ratio: 16 / 9; }

  .v2-footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .v2-section-title { font-size: 1.4rem; }

  .v2-grid-card img { height: 130px; }
}

@media (max-width: 480px) {
  .v2-wrap { padding: 0 16px; }

  .v2-hero { height: 360px; }
  .v2-hero h2 { font-size: 1.8rem; }
  .v2-hero-content { padding-bottom: 32px; }
  .v2-hero-actions { flex-direction: column; }
  .v2-hero-actions .v2-btn { width: 100%; justify-content: center; }

  .v2-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .v2-prod-img-wrap { height: 110px; }
  .v2-prod-body { padding: 10px 12px 12px; }
  .v2-prod-name { font-size: 0.9rem; margin-bottom: 6px; }
  .v2-price-pill { font-size: 0.9rem; padding: 3px 8px; }
  .v2-price-desde { font-size: 0.72rem; }
  .v2-prod-meta { font-size: 0.72rem; }

  .v2-modal { border-radius: 20px 20px 0 0; }
  .v2-modal-img { height: 180px; }
  .v2-modal-body { padding: 16px 20px 28px; }
  .v2-modal-name { font-size: 1.3rem; }
  .v2-modal-price { font-size: 1.4rem; }

  .v2-floating-wa { width: 52px; height: 52px; bottom: 18px; right: 18px; }

  .v2-grid-card img { height: 110px; }
  .v2-grid-card-info { padding: 10px 12px; }
}

/* Smooth scrolling for pill nav */
html { scroll-behavior: smooth; }
