.wwts-ficha {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.wwts-ficha-breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wwts-ficha-breadcrumb a { color: #666; }
.wwts-ficha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) {
  .wwts-ficha-grid { grid-template-columns: 1fr; }
}
.wwts-ficha-mockup {
  position: relative;
  background: #f3f3f3;
  border-radius: 12px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wwts-ficha-mockup img {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wwts-ficha-mockup.is-loaded img { opacity: 1; }
.wwts-ficha-mockup .wwts-mockup-spinner {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 3px solid #ddd;
  border-top-color: #888;
  border-radius: 50%;
  animation: wwts-spin 0.8s linear infinite;
}
.wwts-ficha-mockup .wwts-mockup-loading-label {
  position: absolute;
  bottom: 24px;
  font-size: 13px;
  color: #888;
}
.wwts-ficha-mockup.is-loaded .wwts-mockup-spinner,
.wwts-ficha-mockup.is-loaded .wwts-mockup-loading-label { display: none; }
@keyframes wwts-spin { to { transform: rotate(360deg); } }
.wwts-ficha-code { font-size: 13px; color: #666; margin-top: 12px; }
.wwts-ficha-title { font-size: 1.6rem; margin: 0 0 8px; line-height: 1.25; }
.wwts-ficha-price { font-size: 1.25rem; font-weight: 700; margin: 0 0 20px; }
.wwts-ficha-field { margin-bottom: 18px; }
.wwts-ficha-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.wwts-ficha-label em { font-style: normal; font-weight: 500; color: #444; }
.wwts-ficha-models,
.wwts-ficha-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wwts-ficha-model-btn,
.wwts-ficha-size-btn {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.wwts-ficha-model-btn.is-active,
.wwts-ficha-size-btn.is-active {
  border-color: #e11d48;
  box-shadow: 0 0 0 1px #e11d48;
}
.wwts-ficha-model-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.wwts-ficha-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wwts-ficha-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  padding: 0;
}
.wwts-ficha-swatch.is-active {
  border-color: #e11d48;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e11d48;
}
.wwts-ficha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 8px;
}
.wwts-ficha-qty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.wwts-ficha-qty input {
  width: 72px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.wwts-ficha-cta {
  flex: 1;
  min-width: 160px;
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.wwts-ficha-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.wwts-ficha-personalizar {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #e11d48;
  border: 2px solid #e11d48;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.wwts-ficha-personalizar:hover {
  background: #fff5f7;
  color: #be123c;
  border-color: #be123c;
}
.wwts-ficha-personalizar[aria-disabled='true'],
.wwts-ficha-personalizar[hidden] {
  display: none;
}
.wwts-ficha-msg { font-size: 13px; margin-top: 10px; }
.wwts-ficha-msg.is-error { color: #c62828; }
.wwts-ficha-msg.is-ok { color: #2e7d32; }
.wwts-ficha-guide { font-size: 14px; }

/* Listing model switcher */
.wwts-model-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.wwts-model-switcher-label {
  font-weight: 700;
  font-size: 14px;
}
.wwts-model-switcher ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wwts-model-chip {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  background: #fff;
}
.wwts-model-chip.is-active {
  border-color: #e11d48;
  box-shadow: 0 0 0 1px #e11d48;
  font-weight: 600;
}
