:root {
  --color-primary: #050237;
  --color-secondary: #0a0548;
  --color-alt: #234c8e;
  --color-accent: #27e6f6;
  --color-light: #f9f9f9;
  --color-dark: #222;
}

/* Zoom y miniaturas */
.zoom-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: zoom-in;
  margin-bottom: 15px;
}

.main-img-zoom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.zoom-container:hover .main-img-zoom {
  transform: scale(1.2);
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.thumb:hover,
.thumb.active {
  border-color: var(--color-accent);
  transform: scale(1.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  background-color: #f0f0f0;
  padding: 8px 0;
  font-size: 14px;
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #555;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0066cc;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
}

.logo span {
  color: #ff6600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #0066cc;
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}

.breadcrumb-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrumb-content a {
  color: #0066cc;
}

.breadcrumb-content span {
  color: #666;
}

/* Producto */
.producto-detalle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.producto-imagen {
  position: relative;
}

.main-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  cursor: zoom-in;
}

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

.main-image:hover img {
  transform: scale(1.05);
}

.producto-info {
  padding: 20px 0;
}

.product-category {
  font-size: 0.9rem;
  color: #0066cc;
  margin-bottom: 10px;
  font-weight: 500;
}

.producto-info h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.product-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 20px;
}

.product-description {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.8;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background-color: #0066cc;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0055aa;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #0066cc;
  color: #0066cc;
}

.btn-outline:hover {
  background-color: #0066cc;
  color: white;
}

/* Sección de productos relacionados */
.related-products {
  padding: 40px 0;
  margin-bottom: 40px;
}

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

.section-title h2 {
  font-size: 2rem;
  color: #0066cc;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ff6600;
}

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

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info-card {
  padding: 20px;
}

.product-category-card {
  font-size: 0.8rem;
  color: #0066cc;
  margin-bottom: 5px;
}

.product-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.product-info-card p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-price-card {
  font-weight: bold;
  color: #0066cc;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.carousel button.prev,
.carousel button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
}

.carousel button.prev {
  left: 10px;
}

.carousel button.next {
  right: 10px;
}

.carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.carousel img:hover {
  transform: scale(1.05);
}

.descripcion-completa {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.descripcion-completa p {
  margin-bottom: 10px;
}

.descripcion-completa ul,
.descripcion-completa ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.descripcion-completa li {
  margin-bottom: 5px;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #ff6600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
  .producto-detalle {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-image {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-top-container {
    flex-direction: column;
    gap: 10px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
