.breadcrumb {
  padding: 1rem 0 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--texto-suave);
  font-size: 0.82rem;
}

.breadcrumb-list a {
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: var(--dorado);
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.5;
}

.breadcrumb-list li:last-child {
  color: var(--texto);
  font-weight: 700;
}

.product-section {
  padding: 1.5rem 0 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main-wrap {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--borde);
  border-radius: var(--radio-lg);
  background: var(--blanco);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.18s ease, transform 0.3s ease;
  user-select: none;
}

.gallery-main-wrap.zoomed {
  cursor: zoom-out;
}

.gallery-main-wrap.zoomed .gallery-main-img {
  transform: scale(2.2);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
}

.zoom-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--borde);
  border-radius: 2rem;
  background: rgba(255, 253, 248, 0.9);
  color: var(--texto-suave);
  font-size: 0.75rem;
  pointer-events: none;
  transition: opacity 0.3s;
}

.gallery-main-wrap.zoomed .zoom-hint {
  opacity: 0;
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  background: var(--dorado);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: var(--blanco);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active {
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.25);
}

.gallery-thumb:hover:not(.active) {
  border-color: var(--borde);
  box-shadow: var(--sombra);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.product-cat-tag,
.product-stock-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-cat-tag {
  background: rgba(216, 180, 106, 0.12);
  color: var(--dorado-oscuro);
  text-transform: uppercase;
}

.product-stock-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(61, 170, 112, 0.1);
  color: #3DAA70;
}

.product-stock-tag::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3DAA70;
}

.product-stock-tag.is-out {
  background: rgba(156, 92, 76, 0.1);
  color: #9C5C4C;
}

.product-stock-tag.is-out::before {
  background: #9C5C4C;
}

.product-name {
  color: var(--texto);
  font-family: var(--ff-titulo);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

.product-social-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin-left: auto;
}

.product-favorite-form {
  margin: 0;
}

.product-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(216, 180, 106, 0.32);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.86);
  color: var(--texto);
  box-shadow: 0 8px 20px rgba(58, 42, 20, 0.06);
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}

.product-action-pill svg {
  fill: transparent;
}

.product-action-pill:hover,
.product-action-pill.is-active {
  border-color: rgba(224, 96, 112, 0.46);
  background: #F8C8DC;
  color: var(--texto);
  transform: translateY(-1px);
}

.product-action-pill.is-active svg {
  fill: #E06070;
  stroke: #E06070;
}

.product-action-pill:disabled {
  cursor: wait;
  opacity: 0.72;
}

.product-share-fallback {
  flex-basis: 100%;
  text-align: right;
  color: var(--texto-suave);
  font-size: 0.84rem;
}

.product-share-fallback a {
  color: var(--dorado-oscuro);
  font-weight: 800;
}

@media (max-width: 520px) {
  .product-social-actions {
    width: 100%;
    margin-left: 0;
  }

  .product-share-fallback {
    text-align: left;
  }
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--borde);
  border-radius: var(--radio-lg);
  background: var(--blanco);
}

.price-main-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
}

.price-usd {
  color: var(--dorado-oscuro);
  font-family: var(--ff-titulo);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.price-basis {
  color: var(--texto-suave);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-usd-old {
  color: var(--texto-suave);
  font-family: var(--ff-titulo);
  font-size: 1.3rem;
  text-decoration: line-through;
}

.price-badge-oferta {
  align-self: center;
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  background: #E85858;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-divider {
  height: 1px;
  background: var(--borde);
}

.price-secondary {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-conv-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.price-conv-label {
  color: var(--texto-suave);
}

.price-conv-val {
  color: var(--texto);
  font-weight: 700;
}

.price-tasa-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--texto-suave);
  font-size: 0.75rem;
  font-style: italic;
}

.options-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--texto);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.option-selected-val {
  color: var(--dorado-oscuro);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.swatches,
.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.swatch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 3px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.swatch:hover:not(.agotado) {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.swatch.active {
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.3);
}

.swatch.agotado {
  cursor: not-allowed;
  opacity: 0.38;
}

.swatch.agotado::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0.6) 2px, transparent 2px, transparent 6px);
}

.swatch-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 10;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  background: var(--texto);
  color: var(--blanco);
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.15s;
}

.swatch:hover .swatch-tooltip {
  opacity: 1;
}

.option-pill {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--borde);
  border-radius: 3rem;
  background: var(--blanco);
  color: var(--texto);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.option-pill:hover:not(.agotado) {
  border-color: var(--dorado);
  background: rgba(216, 180, 106, 0.08);
}

.option-pill.active {
  border-color: var(--dorado);
  background: var(--dorado);
  color: var(--blanco);
}

.option-pill.agotado {
  cursor: not-allowed;
  opacity: 0.4;
  text-decoration: line-through;
}

.qty-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.qty-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.qty-controls {
  display: flex;
  align-items: center;
  width: fit-content;
  overflow: hidden;
  border: 1.5px solid var(--borde);
  border-radius: 3rem;
  background: var(--blanco);
}

.qty-btn,
.qty-value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.qty-btn {
  flex-shrink: 0;
  width: 48px;
  background: none;
  color: var(--texto);
  transition: background 0.15s;
}

.qty-btn:hover:not(:disabled) {
  background: var(--rosa);
}

.qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.qty-value {
  min-width: 52px;
  border-inline: 1px solid var(--borde);
  color: var(--texto);
  font-size: 1.1rem;
  font-weight: 700;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-cart,
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  border-radius: 3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-cart {
  min-height: 58px;
  padding: 1rem 2rem;
  background: var(--dorado);
  color: var(--blanco);
  font-size: 1.05rem;
  box-shadow: 0 3px 16px rgba(216, 180, 106, 0.4);
}

.btn-cart:hover {
  background: var(--dorado-oscuro);
  box-shadow: 0 6px 24px rgba(216, 180, 106, 0.5);
}

.btn-cart:active {
  transform: scale(0.98);
}

.btn-cart:disabled {
  cursor: not-allowed;
  background: #D8CFC2;
  color: rgba(58, 58, 58, 0.55);
  box-shadow: none;
}

.btn-wa {
  min-height: 52px;
  padding: 0.85rem 2rem;
  border: 2px solid #25D366;
  background: transparent;
  color: #1da855;
  font-size: 0.95rem;
}

.btn-wa:hover {
  background: #25D366;
  color: #fff;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--borde);
  border-radius: 2rem;
  background: var(--blanco);
  color: var(--texto-suave);
  font-size: 0.78rem;
}

.tabs-section {
  padding: 3rem 0 2rem;
}

.tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 2px solid var(--borde);
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  margin-bottom: -2px;
  padding: 0.75rem 1.5rem;
  border-bottom: 2px solid transparent;
  color: var(--texto-suave);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
  border-bottom-color: var(--dorado);
  color: var(--dorado-oscuro);
}

.tab-btn:hover:not(.active) {
  color: var(--texto);
}

.tab-panel {
  display: none;
  padding: 2rem 0;
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  margin-bottom: 1rem;
  color: var(--texto-suave);
  line-height: 1.8;
}

.tab-panel p:last-child {
  margin-bottom: 0;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table tr {
  border-bottom: 1px solid var(--borde);
}

.detail-table tr:last-child {
  border-bottom: none;
}

.detail-table td {
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
  vertical-align: top;
}

.detail-table td:first-child {
  width: 40%;
  color: var(--texto);
  font-weight: 700;
}

.detail-table td:last-child {
  color: var(--texto-suave);
}

.cats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(216, 180, 106, 0.3);
  border-radius: 2rem;
  background: rgba(216, 180, 106, 0.1);
  color: var(--dorado-oscuro);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
}

.cat-chip:hover {
  background: rgba(216, 180, 106, 0.2);
}

.related-section {
  padding: 2rem 0 4rem;
}

.section-header--left {
  text-align: left;
}

.section-header--left .divider-oro {
  justify-content: flex-start;
  margin-inline: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .gallery-thumb {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: 55% 1fr;
  }
}

@media (max-width: 599px) {
  .price-block {
    padding: 1.1rem;
  }

  .option-pill {
    padding-inline: 0.85rem;
  }
}
