.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: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: break-word;
  background: rgba(61, 170, 112, 0.1);
  color: #3DAA70;
}

.product-stock-tag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.35rem;
  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-stock-tag.is-order {
  background: rgba(74, 112, 163, 0.11);
  color: #3E6597;
}

.product-stock-tag.is-order::before {
  background: #3E6597;
}

.product-stock-tag.is-paused {
  background: rgba(179, 126, 35, 0.11);
  color: #8A641E;
}

.product-stock-tag.is-paused::before {
  background: #8A641E;
}

.product-availability-note {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid #3DAA70;
  background: rgba(61, 170, 112, 0.06);
  color: var(--texto);
}

.product-availability-note strong {
  font-size: 0.88rem;
}

.product-availability-note span {
  color: var(--texto-suave);
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-availability-note--order {
  border-left-color: #3E6597;
  background: rgba(74, 112, 163, 0.06);
}

.product-availability-note--ready-paused {
  border-left-color: #8A641E;
  background: rgba(179, 126, 35, 0.06);
}

.product-availability-note--out {
  border-left-color: #9C5C4C;
  background: rgba(156, 92, 76, 0.06);
}

.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.65rem;
  padding: 1.1rem 1.35rem;
  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: 0.45rem 1rem;
}

.price-usd {
  color: var(--texto);
  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-bcv-row {
  display: grid;
  gap: 0.18rem;
  color: var(--texto-suave);
  font-size: 0.82rem;
}

.price-bcv-row span {
  color: var(--dorado-oscuro);
  font-weight: 800;
}

.price-bcv-row small {
  color: var(--texto-suave);
  font-size: 0.76rem;
}

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

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

.price-unit-anchor {
  margin: 0.15rem 0 0;
  color: var(--texto-suave);
  font-size: 0.78rem;
  line-height: 1.35;
}

.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(--dorado-oscuro);
  font-weight: 700;
}

.price-divisa-cash-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(196, 149, 74, 0.22);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.95), rgba(248, 240, 224, 0.72));
  color: var(--texto-suave);
  font-size: 0.76rem;
  line-height: 1.45;
}

.price-divisa-cash-note[hidden] {
  display: none;
}

.price-divisa-cash-note__mark {
  flex: 0 0 auto;
  margin-top: 0.05rem;
  color: var(--dorado-oscuro);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.price-divisa-cash-note strong {
  color: var(--texto);
  font-weight: 600;
}

.price-divisa-cash-note em {
  font-style: normal;
  color: var(--dorado-oscuro);
  font-weight: 600;
}

.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: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.15rem 0;
}

.qty-label {
  color: var(--texto);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.qty-controls {
  display: flex;
  align-items: center;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: 3rem;
  background: var(--blanco);
  box-shadow: 0 8px 20px rgba(216, 180, 106, 0.08);
}

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

.qty-btn {
  flex-shrink: 0;
  width: 44px;
  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: 68px;
  padding-inline: 0.65rem;
  border: 0;
  border-inline: 1px solid var(--borde);
  border-radius: 0;
  background: transparent;
  color: var(--texto);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.qty-value--editable:hover:not(:disabled),
.qty-value--editable:focus-visible:not(:disabled) {
  background: rgba(216, 180, 106, 0.14);
  color: var(--texto);
  outline: none;
}

.qty-value--editable:focus-visible:not(:disabled) {
  box-shadow: inset 0 0 0 2px rgba(216, 180, 106, 0.45);
}

.qty-value--editable:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

body.qty-editor-lock {
  overflow: hidden;
}

.qty-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.qty-editor-modal[hidden] {
  display: none !important;
}

.qty-editor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 32, 0.42);
}

.qty-editor-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(216, 180, 106, 0.28);
  border-radius: 1rem;
  background: #fffdf8;
  box-shadow: 0 18px 40px rgba(42, 36, 32, 0.18);
}

.qty-editor-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.qty-editor-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--texto);
}

.qty-editor-modal__icon-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(216, 180, 106, 0.14);
  color: var(--texto);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.qty-editor-modal__hint {
  margin: 0;
  color: rgba(62, 52, 46, 0.72);
  font-size: 0.88rem;
  line-height: 1.4;
}

.qty-editor-modal__field {
  display: grid;
  gap: 0.35rem;
}

.qty-editor-modal__field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(62, 52, 46, 0.7);
}

.qty-editor-modal__field input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(216, 180, 106, 0.45);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--texto);
  font-size: 1.15rem;
  font-weight: 700;
}

.qty-editor-modal__field input:focus {
  outline: none;
  border-color: rgba(184, 134, 58, 0.85);
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.22);
}

.qty-editor-modal__error {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(168, 68, 84, 0.1);
  color: #8a3040;
  font-size: 0.88rem;
  line-height: 1.35;
}

.qty-editor-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.qty-editor-modal__btn {
  min-height: 2.6rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.qty-editor-modal__btn--ghost {
  border: 1px solid rgba(216, 180, 106, 0.4);
  background: transparent;
  color: var(--texto);
}

.qty-editor-modal__btn--primary {
  border: 0;
  background: var(--oro, #c4a35a);
  color: #fff;
}

@media (max-width: 420px) {
  .qty-editor-modal__actions {
    grid-template-columns: 1fr;
  }
}

.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;
}

.product-description-rich {
  color: var(--texto-suave);
  line-height: 1.8;
}

.product-description-rich p {
  margin-bottom: 1rem;
}

.product-description-rich p:last-child {
  margin-bottom: 0;
}

.product-description-rich strong {
  color: var(--texto);
  font-weight: 700;
}

.product-description-rich em {
  font-style: italic;
}

.product-description-rich u {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.product-description-rich s {
  text-decoration: line-through;
}

.product-description-rich a {
  color: var(--dorado-oscuro, #8a6a2f);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.product-description-rich a:hover {
  color: var(--texto, #2f261d);
  text-decoration-color: var(--dorado, #c4954a);
}

.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;
  }
}
