/* ==========================================
   FRUTERÍA EL PATRÓN - ESTILOS DEDICADOS (2026)
   ========================================== */

/* HERO SECCIÓN */
.fruteria-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.fruteria-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.03);
  transition: transform 10s ease-out;
}

.fruteria-hero:hover .fruteria-hero-bg {
  transform: scale(1.08);
}

.fruteria-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 142, 60, 0.75) 0%, rgba(245, 124, 0, 0.65) 100%);
  backdrop-filter: blur(3px);
}

.fruteria-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.fruteria-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fruteria-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.fruteria-hero .tagline {
  font-size: 20px;
  font-weight: 600;
  color: #FFF3E0;
  margin-bottom: 15px;
}

.fruteria-hero .subdesc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 35px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.btn-fruteria-primary {
  background-color: var(--naranja);
  color: var(--blanco);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(245, 124, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-fruteria-primary:hover {
  background-color: #E65100;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(245, 124, 0, 0.5);
}

.btn-fruteria-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--blanco);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-fruteria-secondary:hover {
  background-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.fruteria-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  padding: 18px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
}

.stat-lbl {
  font-size: 12px;
  opacity: 0.85;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
}

/* SECCIÓN VENTAJAS */
.advantages-section {
  padding: 60px 20px;
  background-color: var(--blanco);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--gris-oscuro);
  margin-bottom: 8px;
}

.section-title p {
  color: #666;
  font-size: 15px;
}

.divider-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--naranja), var(--verde));
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.adv-card {
  background: var(--crema);
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.adv-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--verde), #66BB6A);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px auto;
  box-shadow: 0 6px 15px rgba(56, 142, 60, 0.25);
}

.adv-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* CATÁLOGO DE PRODUCTOS */
.catalog-section {
  padding: 60px 10px;
  background-color: var(--crema);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  background-color: var(--blanco);
  color: var(--gris-oscuro);
  border: 1px solid #E0E0E0;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
  box-shadow: 0 4px 12px rgba(56, 142, 60, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 30px;
}

.prod-item {
  background-color: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.prod-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.prod-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  background: var(--verde);
  color: var(--blanco);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.prod-badge.badge-orange { background: var(--naranja); }
.prod-badge.badge-green { background: #4CAF50; }
.prod-badge.badge-purple { background: #7B1FA2; }

.prod-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #FAFAFA;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.prod-item:hover .prod-img-wrap img {
  transform: scale(1.08);
}

.prod-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prod-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.prod-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prod-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--naranja);
}

.prod-price small {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}

.add-btn {
  background-color: var(--verde);
  color: var(--blanco);
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.add-btn:hover {
  background-color: #2E7D32;
  transform: scale(1.05);
}

/* COTIZADOR PEDIDO WHATSAPP */
.order-builder-section {
  padding: 60px 20px;
  background-color: var(--blanco);
}

.order-box {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFF8F0 100%);
  border: 2px solid #C8E6C9;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.order-box-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.order-box-icon {
  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
  flex-shrink: 0;
}

.order-box-header h2 {
  font-size: 24px;
  color: var(--gris-oscuro);
}

.order-box-header p {
  color: #555;
  font-size: 14px;
}

.order-list {
  background: var(--blanco);
  border-radius: 12px;
  padding: 20px;
  min-height: 100px;
  margin-bottom: 25px;
  border: 1px solid #E0E0E0;
}

.empty-order {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 20px;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #EEE;
}

.order-row:last-child {
  border-bottom: none;
}

.order-item-name {
  font-weight: 600;
  font-size: 14px;
}

.order-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-item-price {
  font-weight: 700;
  color: var(--naranja);
}

.remove-btn {
  background: #FFEBEE;
  color: #D32F2F;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.remove-btn:hover {
  background: #FFCDD2;
}

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.total-wrap span {
  font-size: 14px;
  color: #666;
  display: block;
}

.total-wrap strong {
  font-size: 26px;
  color: var(--verde);
}

.order-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-call-store {
  background-color: var(--verde);
  color: var(--blanco);
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 6px 18px rgba(56, 142, 60, 0.3);
}

.btn-call-store:hover {
  background-color: #2E7D32;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(56, 142, 60, 0.4);
}

.store-info-section {
  padding: 40px 0 20px;
}

.info-flex {
  display: block;
}

.info-card {
  background: linear-gradient(135deg, #fff, #f7f9f3);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 28px;
  max-width: 950px;
  margin: 0 auto;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(76, 175, 80, 0.12);
  color: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.info-card-header h3 {
  margin: 0 0 4px;
  font-size: clamp(22px, 2vw, 30px);
}

.info-card-header p {
  margin: 0;
  color: #666;
  font-weight: 600;
}

.info-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  gap: 20px;
  margin-bottom: 18px;
}

.info-block {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  padding: 18px 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #333;
  margin-bottom: 14px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: var(--verde);
  margin-top: 2px;
}

.info-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 152, 0, 0.08);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  color: #4a3a17;
}

.info-extra i {
  color: var(--naranja);
}

.mayoreo-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--naranja);
  color: var(--blanco);
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 20px 18px;
  }
  .fruteria-hero h1 { font-size: 36px; }
  .fruteria-stats { flex-direction: column; gap: 15px; width: 100%; }
  .stat-divider { width: 80%; height: 1px; }
  .order-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-send-whatsapp { justify-content: center; }
}
