/* ========================================
   Estilos para secciones comunes en índice
   ======================================== */

/* About Section */
.about {
  margin-top: 44px;
}

/* Company Info Section */
.company-info {
  margin-top: 60px;
}
.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-inner h1 {
  margin-bottom: 18px;
}

.hero-inner p {
  max-width: 540px;
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.18rem;
}

.hero-inner .btn {
  margin-bottom: 10px;
}

/* Hero Slides - Background Images */
.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  background-image: url('../assets/hero1.jpg');
}

.hero-slide:nth-child(2) {
  background-image: url('../assets/hero2.jpg');
}

.hero-slide:nth-child(3) {
  background-image: url('../assets/hero3.jpg');
}

.hero-slide:nth-child(4) {
  background-image: url('../assets/hero4.jpg');
}

.hero-slide:nth-child(5) {
  background-image: url('../assets/hero5.jpg');
}

.hero-slide:nth-child(6) {
  background-image: url('../assets/hero6.jpg');
}

/* Secciones con margin-top */
.products {
  margin-top: 44px;
}

.artisanal-fishing-container {
  margin-top: 60px;
}

.brands {
  margin-top: 60px;
}

/* Footer Container */
#footer-include {
  height: 100%;
}

/* ========================================
   Estilos para página de Producto Detalle
   ======================================== */

.product-detail-hero {
  padding: 32px 0;
  background: linear-gradient(135deg, #f7f9fb 0%, #e8f0f7 100%);
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 44px 0;
  align-items: start;
}

.product-detail-image {
  position: sticky;
  top: 100px;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  object-fit: cover;
  aspect-ratio: 1;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.product-detail-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.product-detail-separator {
  height: 2px;
  background: var(--accent-2);
  width: 100%;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.spec-item {
  background: #f0f4f8;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-2);
}

.spec-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.spec-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--muted);
}

/* Loading state */
.product-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
}

.product-error {
  background: #fee;
  border-left: 4px solid #c33;
  padding: 16px;
  border-radius: 4px;
  color: #c33;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-image {
    position: static;
  }

  .product-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-detail-hero {
    padding: 16px 0;
  }

  .product-detail-container {
    padding: 24px 0;
  }

  .product-detail-title {
    font-size: 24px;
  }

  .product-detail-description {
    font-size: 15px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .spec-item {
    padding: 12px;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
}

/* ========================================
   Estilos para página de Contacto
   ======================================== */

.modal-status {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.modal-status-content {
  background: #fff;
  padding: 32px 24px 24px 24px;
  border-radius: 10px;
  max-width: 90vw;
  width: 350px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
  position: relative;
}

#close-status-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}

#close-status-modal:hover {
  color: var(--accent-2);
}

#form-status-message {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .modal-status-content {
    width: 96vw !important;
    padding: 18px 6vw 18px 6vw !important;
  }
}
