/* Landing de producto: menos padding para acercar el breadcrumb al borde */
.producto-page.section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}
.producto-landing {
  padding-top: 0.5rem;
  padding-bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}
.producto-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  margin-top: 0;
}

/* Layout 3 columnas */
.producto-layout--3col {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
  padding: 2rem 0;
}
@media (max-width: 1024px) {
  .producto-layout--3col {
    grid-template-columns: 1fr 1fr;
  }
  .producto-col-actions {
    grid-column: 1 / -1;
    max-width: 400px;
  }
}
@media (max-width: 768px) {
  .producto-layout--3col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .producto-col-actions {
    max-width: none;
  }
}
.producto-col {
  min-width: 0;
}
.producto-col-image {
  position: sticky;
  top: 1.5rem;
}
@media (max-width: 1024px) {
  .producto-col-image {
    position: static;
  }
}

/* Columna 1: imagen */
.producto-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
  cursor: zoom-in;
  position: relative;
}
.producto-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.producto-hero-image:hover img {
  transform: scale(1.08);
}
.producto-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
  pointer-events: none;
}

/* Columna 2: información */
.producto-brand {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin: 0 0 0.35rem;
}
.producto-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.producto-code {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
}
.producto-rating {
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
}
.producto-stars {
  color: var(--primary);
  letter-spacing: 0.1em;
}
.producto-rating-link {
  color: var(--text-secondary);
  text-decoration: none;
}
.producto-rating-link:hover {
  text-decoration: underline;
  color: var(--primary);
}
.producto-availability {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}
.producto-availability a {
  color: var(--text-secondary);
  text-decoration: none;
}
.producto-availability a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.producto-price-block {
  margin-bottom: 1rem;
}
.producto-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.35rem;
}
.producto-payment {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}
.producto-payment a {
  color: var(--primary);
  text-decoration: none;
}
.producto-payment a:hover {
  text-decoration: underline;
}
.producto-payment .fa-chevron-right {
  font-size: 0.65rem;
  vertical-align: 0.15em;
  margin-left: 0.2rem;
}
.producto-shipping-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}
.producto-shipping-text i {
  margin-right: 0.35rem;
  color: var(--primary);
}
.producto-qty-wrap {
  margin-bottom: 1.25rem;
}
.producto-qty-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.producto-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.producto-qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: var(--bg-secondary);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.producto-qty-btn:hover {
  background: rgba(0,0,0,0.08);
  color: var(--primary);
}
.producto-qty-input {
  width: 3rem;
  height: 2.5rem;
  border: none;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  text-align: center;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  -moz-appearance: textfield;
}
.producto-qty-input::-webkit-outer-spin-button,
.producto-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.producto-desc-block {
  margin-bottom: 1rem;
}
.producto-desc-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 0.35rem;
}
.producto-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
}
.producto-mas-info {
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
}
.producto-mas-info:hover {
  text-decoration: underline;
}
/* Tarjeta de compartir — diseño premium */
.producto-share-card {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(196, 30, 58, 0.08);
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}
.producto-share-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(196, 30, 58, 0.4) 100%);
  opacity: 0.5;
}
.producto-share-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.producto-share-header i {
  font-size: 1.15rem;
  color: var(--primary);
  opacity: 0.95;
}
.producto-share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 380px) {
  .producto-share-options {
    grid-template-columns: repeat(4, 1fr);
  }
}
.producto-share-opt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.producto-share-opt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.producto-share-opt:active {
  transform: translateY(0);
}
.producto-share-opt:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.producto-share-opt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.producto-share-opt:hover .producto-share-opt-icon {
  transform: scale(1.08);
}
.producto-share-opt-icon i {
  font-size: 1.1rem;
}
.producto-share-opt-label {
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}
.producto-share-copy {
  cursor: pointer;
  font-family: inherit;
}
.producto-share-x:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: #000;
  background: #f0f0f0;
}
.producto-share-x:hover .producto-share-opt-icon {
  color: #000;
  background: #e8e8e8;
  border-color: rgba(0, 0, 0, 0.12);
}
.producto-share-fb:hover {
  border-color: #1877f2;
  color: #1877f2;
  background: rgba(24, 119, 242, 0.06);
}
.producto-share-fb:hover .producto-share-opt-icon {
  color: #fff;
  background: #1877f2;
  border-color: #1877f2;
}
.producto-share-wa:hover {
  border-color: #25d366;
  color: #128c7e;
  background: rgba(37, 211, 102, 0.06);
}
.producto-share-wa:hover .producto-share-opt-icon {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
}
.producto-share-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
}
.producto-share-copy:hover .producto-share-opt-icon {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.producto-share-copy .producto-share-copy-text {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Columna 3: entrega y acciones */
.producto-delivery-notice {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.producto-delivery-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  background: var(--bg-secondary);
  margin-bottom: 1rem;
  position: relative;
}
.producto-delivery-box i:first-child {
  font-size: 1.5rem;
  color: var(--primary);
}
.producto-delivery-box div {
  flex: 1;
}
.producto-delivery-box strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.producto-delivery-box span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.producto-delivery-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.25rem;
  color: var(--primary);
}
.producto-entrega {
  margin-bottom: 1.25rem;
}
.producto-entrega p {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
}
.producto-cp-link {
  color: var(--primary);
  text-decoration: underline;
}
.producto-cp-link:hover {
  text-decoration: none;
}
.producto-entrega-hint {
  font-size: 0.8125rem !important;
  color: var(--text-secondary) !important;
}
.btn-block {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.btn-comprar-ahora {
  font-size: 1.0625rem;
  padding: 0.875rem 1.5rem;
}
.btn-agregar-bolsa {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: #fff;
}
.btn-agregar-bolsa:hover {
  background: var(--bg-secondary);
}
/* Bloque inferior (especificaciones, beneficios) */
.producto-below {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.producto-section {
  margin-bottom: 2.5rem;
}
.producto-section h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}
.producto-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.producto-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.producto-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.producto-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.producto-benefit {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.producto-benefit i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.producto-benefit strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.producto-benefit span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Especificaciones técnicas */
.producto-specs {
  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.producto-specs td {
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-secondary);
}
.producto-specs td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 45%;
}
.producto-uso {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.producto-not-found {
  text-align: center;
  padding: 4rem 2rem;
}
.producto-not-found h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.producto-not-found p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.producto-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.producto-breadcrumb a:hover {
  text-decoration: underline;
}
