/* ============================================================
   TIENDA EMAÚS — Estilos Públicos
   Compatible con tema Kadence (WordPress)
   ============================================================ */

/* Paleta alineada con Dashboard Universal y Retiros (contraste alto, tonos suaves) */
:root {
  --temaus-primary:      #4a6f84;
  --temaus-primary-dark: #3a5a6c;
  --temaus-secondary:    #c17d4a;
  --temaus-accent:       #b56b7f;
  --temaus-bg:           #eef1f4;
  --temaus-bg-card:      #ffffff;
  --temaus-text:         #2c3a45;
  --temaus-text-light:   #5f6e7a;
  --temaus-border:       #cfd8e2;
  --temaus-success:      #3d8b5a;
  --temaus-warning:      #c9913a;
  --temaus-danger:       #c44c4c;
  --temaus-whatsapp:     #25D366;
  --temaus-nequi:        #6B21A8;
  --temaus-daviplata:    #b56b7f;
  --temaus-paypal:       #003087;
  --temaus-radius:       12px;
  --temaus-shadow:       0 4px 20px rgba(44,58,69,0.07);
  --temaus-shadow-hover: 0 10px 28px rgba(44,58,69,0.11);
  --temaus-transition:   all 0.3s ease;
}

/* ---- RESET BÁSICO ---- */
.temaus-wrap * { box-sizing: border-box; }
.temaus-wrap {
  font-family: inherit;
  color: var(--temaus-text);
  background: transparent;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* ---- NOTICES ---- */
.temaus-notice {
  padding: 14px 20px; border-radius: var(--temaus-radius);
  margin: 16px 0; font-size: 15px; line-height: 1.5;
}
.temaus-notice a { font-weight: 600; }
.temaus-notice-info    { background: #e8f4fd; border-left: 4px solid #3498db; color: #1a5276; }
.temaus-notice-warning { background: #fef9e7; border-left: 4px solid #f39c12; color: #7d6608; }
.temaus-notice-error   { background: #fdedec; border-left: 4px solid #e74c3c; color: #78281f; }
.temaus-notice-success { background: #eafaf1; border-left: 4px solid #27ae60; color: #1e8449; }

/* ---- TIENDA PRINCIPAL ---- */
.temaus-tienda { max-width: 1200px; margin: 0 auto; padding: 20px 16px; }
.temaus-tienda {
  background: #f7f9fc;
  border-radius: var(--temaus-radius);
  color: #1f2d3d;
  border: 1px solid #e4ecf4;
}
.temaus-tienda .temaus-filters,
.temaus-tienda .temaus-product-card,
.temaus-tienda .temaus-pagination a,
.temaus-tienda .temaus-pagination span {
  background: #ffffff;
}
.temaus-tienda .temaus-product-desc,
.temaus-tienda .temaus-products-count,
.temaus-tienda .temaus-product-vendor,
.temaus-tienda .temaus-tienda-header p {
  color: #5b6b7a;
}
.temaus-tienda .temaus-product-categoria { color: #8a5a14; }
.temaus-tienda .temaus-product-nombre { color: #1f2d3d; }

.temaus-tienda-header { text-align: center; margin-bottom: 32px; }
.temaus-tienda-header h1 {
  font-size: 2.2rem; font-weight: 800;
  color: var(--temaus-primary); margin-bottom: 8px;
}
.temaus-tienda-header p { color: var(--temaus-text-light); font-size: 1.05rem; }

.temaus-featured-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 18px;
}
.temaus-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9e6f2;
  color: var(--temaus-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--temaus-transition);
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
}
.temaus-filter-chip:hover {
  background: #eef5fa;
  color: var(--temaus-primary-dark);
  transform: translateY(-1px);
}
.temaus-filter-chip.is-active {
  background: var(--temaus-primary);
  color: #fff;
  border-color: var(--temaus-primary);
  box-shadow: 0 10px 24px rgba(58, 90, 108, 0.18);
}

/* ---- BUSCADOR Y FILTROS ---- */
.temaus-filters {
  background: #fff; border-radius: var(--temaus-radius);
  padding: 20px 24px; margin-bottom: 28px;
  box-shadow: 0 6px 22px rgba(16, 42, 67, 0.08); border: 1px solid #d9e6f2;
}
.temaus-filters form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.temaus-filters input[type="text"],
.temaus-filters select {
  padding: 10px 14px; border: 1.5px solid var(--temaus-border);
  border-radius: 8px; font-size: 14px; color: var(--temaus-text);
  background: #fff; transition: var(--temaus-transition);
  flex: 1; min-width: 160px;
}
.temaus-filters input[type="text"]:focus,
.temaus-filters select:focus {
  outline: none; border-color: var(--temaus-primary);
  background: #fff; box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

/* ---- BOTONES ---- */
.temaus-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 8px; font-size: 14px;
  font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: var(--temaus-transition);
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.temaus-btn-primary   { background: var(--temaus-primary); color: #fff; }
.temaus-btn-primary:hover { background: var(--temaus-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(192,20,114,0.35); }
.temaus-btn-secondary { background: var(--temaus-secondary); color: #fff; }
.temaus-btn-secondary:hover { background: #ca6f1e; color: #fff; }
.temaus-btn-outline   { background: transparent; color: var(--temaus-primary); border: 2px solid var(--temaus-primary); }
.temaus-btn-outline:hover { background: var(--temaus-primary); color: #fff; }
.temaus-btn-sm { padding: 7px 14px; font-size: 13px; }
.temaus-btn-lg { padding: 14px 28px; font-size: 16px; }
.temaus-btn-block { width: 100%; justify-content: center; }
.temaus-btn-whatsapp { background: var(--temaus-whatsapp); color: #fff; }
.temaus-btn-whatsapp:hover { background: #1ebe5d; color: #fff; }
.temaus-btn-nequi    { background: var(--temaus-nequi); color: #fff; }
.temaus-btn-nequi:hover { background: #5b1894; color: #fff; }
.temaus-btn-daviplata { background: var(--temaus-daviplata); color: #fff; }
.temaus-btn-daviplata:hover { background: #c8157a; color: #fff; }
.temaus-btn-paypal   { background: var(--temaus-paypal); color: #fff; }
.temaus-btn-paypal:hover { background: #002065; color: #fff; }
.temaus-btn-danger   { background: var(--temaus-danger); color: #fff; }
.temaus-btn-danger:hover { background: #c0392b; color: #fff; }
.temaus-btn-success  { background: var(--temaus-success); color: #fff; }
.temaus-btn-success:hover { background: #1e8449; color: #fff; }

/* ---- GRID DE PRODUCTOS ---- */
.temaus-products-count { color: var(--temaus-text-light); font-size: 14px; margin-bottom: 16px; }

.temaus-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px; margin-bottom: 36px;
  align-items: stretch;
}

/* ---- TARJETA DE PRODUCTO ---- */
.temaus-product-card {
  background: var(--temaus-bg-card); border-radius: var(--temaus-radius);
  box-shadow: var(--temaus-shadow); overflow: hidden;
  transition: var(--temaus-transition); position: relative;
  border: 1px solid var(--temaus-border);
  display: flex; flex-direction: column;
}
.temaus-product-card:hover {
  box-shadow: 0 14px 34px rgba(12, 31, 56, 0.16);
  transform: translateY(-5px);
}
.temaus-product-card.destacado::before {
  content: '⭐ Destacado'; position: absolute; top: 12px; left: 12px;
  background: var(--temaus-accent); color: #fff; font-size: 11px;
  font-weight: 700; padding: 3px 10px; border-radius: 20px; z-index: 2;
}
.temaus-product-img {
  width: 100%; height: 200px; overflow: hidden; background: #e8edf2;
  position: relative;
}
.temaus-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.temaus-product-card:hover .temaus-product-img img { transform: scale(1.05); }
.temaus-product-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 48px; color: var(--temaus-border);
  background: linear-gradient(135deg, #fdf6f0, #f5e6d3);
}

.temaus-product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.temaus-product-card .temaus-product-body { gap: 4px; }
.temaus-product-categoria {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--temaus-secondary); font-weight: 700; margin-bottom: 6px;
}
.temaus-product-nombre {
  font-size: 1rem; font-weight: 700; color: #1a2530;
  margin: 0 0 8px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.temaus-product-nombre a { transition: color 0.25s ease; }
.temaus-product-card:hover .temaus-product-nombre a { color: var(--temaus-primary); }
.temaus-product-desc {
  font-size: 13px; color: var(--temaus-text-light); line-height: 1.5;
  margin-bottom: 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.temaus-product-precio {
  font-size: 1.25rem; font-weight: 800; color: var(--temaus-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}
.temaus-price-sale { margin-right: 6px; }
.temaus-price-old {
  text-decoration: line-through;
  color: #8ea3bd;
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-top: 2px;
  margin-right: 0;
  line-height: 1.2;
}
.temaus-product-vendor {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--temaus-text-light);
  margin-bottom: 14px; padding-top: 10px;
  border-top: 1px solid var(--temaus-border);
}
.temaus-vendor-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; background: var(--temaus-border);
}
.temaus-product-footer { padding: 0 16px 16px; }
.temaus-product-actions { display: flex; gap: 8px; }
.temaus-product-actions .temaus-btn { flex: 1; font-size: 13px; padding: 9px 12px; }
.temaus-product-actions .temaus-btn { justify-content: center; min-height: 38px; }

/* ---- PAGINACIÓN ---- */
.temaus-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px; flex-wrap: wrap;
}
.temaus-pagination a, .temaus-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; font-size: 14px;
  font-weight: 600; text-decoration: none; transition: var(--temaus-transition);
  border: 1.5px solid var(--temaus-border); color: var(--temaus-text);
  background: #fff;
}
.temaus-pagination a:hover { background: var(--temaus-primary); color: #fff; border-color: var(--temaus-primary); }
.temaus-pagination .current { background: var(--temaus-primary); color: #fff; border-color: var(--temaus-primary); }

/* ---- PRODUCTO INDIVIDUAL ---- */
.temaus-single-wrap {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
  min-width: 0;
}
.temaus-single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  min-width: 0;
  width: 100%;
}
.temaus-single-gallery,
.temaus-single-info {
  min-width: 0;
  max-width: 100%;
}
.temaus-single-info {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.temaus-single-breadcrumb {
  font-size: 13px;
  color: var(--temaus-text-light);
  margin-bottom: 20px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}
.temaus-single-breadcrumb a {
  color: var(--temaus-secondary);
  text-decoration: none;
  font-weight: 600;
}
.temaus-single-breadcrumb .temaus-bc-sep {
  color: var(--temaus-border);
  user-select: none;
}
.temaus-single-breadcrumb .temaus-bc-current {
  color: var(--temaus-text);
  font-weight: 600;
}
.temaus-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.temaus-single-tag {
  display: inline-block;
  background: #fdf6f0;
  border: 1px solid #e8d5c4;
  color: var(--temaus-text-light);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.temaus-payment-intro {
  font-size: 13px;
  color: var(--temaus-text-light);
  margin: 0 0 16px;
  line-height: 1.5;
}
.temaus-single-views {
  font-size: 12px;
  color: #9aa8b8;
  margin: 12px 0 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.temaus-vendor-box-desc {
  font-size: 14px;
  color: var(--temaus-text-light);
  margin: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.temaus-vendor-box-actions { margin-top: 14px; }
.temaus-single-back { margin-top: 28px; }

.temaus-single-gallery .temaus-main-img {
  width: 100%; border-radius: var(--temaus-radius); overflow: hidden;
  background: #e8edf2; margin-bottom: 12px;
  box-shadow: var(--temaus-shadow);
  position: relative;
}
.temaus-single-gallery .temaus-main-img img { width: 100%; height: 400px; object-fit: cover; }
.temaus-single-gallery .temaus-main-img img { transition: transform 0.35s ease; }
.temaus-single-gallery .temaus-main-img:hover img { transform: scale(1.02); }
.temaus-thumb-list { display: flex; gap: 8px; flex-wrap: wrap; }
.temaus-thumb {
  border: 2px solid transparent; border-radius: 8px; padding: 0; cursor: pointer;
  width: 64px; height: 64px; overflow: hidden; background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.temaus-thumb img { width: 100%; height: 100%; object-fit: cover; }
.temaus-thumb.active { border-color: var(--temaus-primary); }
.temaus-thumb:hover { transform: translateY(-2px); border-color: var(--temaus-primary); }
.temaus-main-img #temaus-main-image { cursor: zoom-in; }
.temaus-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(44,58,69,0.82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.temaus-gallery-nav.prev { left: 10px; }
.temaus-gallery-nav.next { right: 10px; }
.temaus-gallery-nav:hover { background: rgba(74,111,132,0.95); }

.temaus-single-info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a2530;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.temaus-single-precio {
  font-size: 2rem;
  font-weight: 800;
  color: var(--temaus-primary);
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.temaus-single-price-old {
  text-decoration: line-through;
  color: #9bb1ca;
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-top: 4px;
  margin-left: 0;
  line-height: 1.2;
}
.temaus-single-badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.badge-disponible { background: #eafaf1; color: var(--temaus-success); }
.badge-agotado    { background: #fdedec; color: var(--temaus-danger); }

.temaus-single-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--temaus-text);
  margin: 16px 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.temaus-single-desc img,
.temaus-single-desc video,
.temaus-single-desc iframe {
  max-width: 100%;
  height: auto;
}

.temaus-single-categoria { font-size: 13px; color: var(--temaus-text-light); margin-bottom: 16px; }
.temaus-single-categoria a { color: var(--temaus-secondary); font-weight: 600; text-decoration: none; }

/* ---- CAJA DE PAGO ---- */
.temaus-payment-box {
  background: #f8fafb; border-radius: var(--temaus-radius);
  border: 1px solid var(--temaus-border); padding: 24px; margin-top: 20px;
}
.temaus-payment-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--temaus-text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.35;
}
.temaus-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.temaus-payment-methods .temaus-btn {
  justify-content: flex-start;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 100%;
}
/* Botones de contacto: el .temaus-btn global usa nowrap; aquí debe poder partir líneas en móvil */
.temaus-payment-methods .temaus-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  white-space: normal;
  text-align: left;
  gap: 6px;
}
.temaus-payment-methods .temaus-contact-btn .temaus-payment-number {
  margin-top: 0;
}
.temaus-payment-number {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
  display: block;
  margin-top: 2px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

/* ---- CAJA DEL VENDEDOR ---- */
.temaus-vendor-box {
  background: linear-gradient(180deg, #f8fafb 0%, #eef1f4 100%);
  border-radius: var(--temaus-radius);
  border: 1px solid var(--temaus-border); padding: 20px;
  margin-top: 20px; box-shadow: var(--temaus-shadow);
}
.temaus-vendor-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.temaus-vendor-box-info {
  min-width: 0;
  flex: 1 1 160px;
}
.temaus-vendor-box-logo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: var(--temaus-bg); border: 2px solid var(--temaus-border);
}
.temaus-vendor-box-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--temaus-text);
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.temaus-vendor-box-info p  { font-size: 13px; color: var(--temaus-text-light); margin: 0; }

/* ---- DASHBOARD VENDEDOR ---- */
.temaus-dashboard { max-width: 1100px; margin: 0 auto; padding: 20px 16px; }
.temaus-dashboard {
  background: var(--temaus-bg);
  border-radius: var(--temaus-radius);
  border: 1px solid var(--temaus-border);
}

.temaus-dashboard-header {
  background: linear-gradient(135deg, var(--temaus-primary), var(--temaus-primary-dark));
  color: #fff; border-radius: var(--temaus-radius); padding: 28px 32px;
  margin-bottom: 28px; display: flex; align-items: center; gap: 20px;
}
.temaus-dashboard-header h2 { font-size: 1.5rem; margin: 0 0 4px; }
.temaus-dashboard-header p  { margin: 0; opacity: 0.85; font-size: 14px; }

.temaus-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.temaus-stat-card {
  background: #fff; border-radius: var(--temaus-radius);
  padding: 20px; text-align: center;
  box-shadow: var(--temaus-shadow); border: 1px solid var(--temaus-border);
}
.temaus-stat-icon { font-size: 28px; margin-bottom: 8px; }
.temaus-stat-number { font-size: 1.8rem; font-weight: 800; color: var(--temaus-primary); }
.temaus-stat-label  { font-size: 12px; color: var(--temaus-text-light); margin-top: 4px; }

/* ---- TABS ---- */
.temaus-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--temaus-border); }
.temaus-tab {
  padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; background: transparent; color: var(--temaus-text-light);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: var(--temaus-transition);
}
.temaus-tab:hover  { color: var(--temaus-primary); }
.temaus-tab.active { color: var(--temaus-primary); border-bottom-color: var(--temaus-primary); }
.temaus-tab.active { text-shadow: 0 0 18px rgba(233,30,140,0.25); }

.temaus-tab-content { display: none; }
.temaus-tab-content.active { display: block; }

/* ---- FORMULARIOS ---- */
.temaus-form-group { margin-bottom: 18px; }
.temaus-form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--temaus-text); margin-bottom: 6px;
}
.temaus-form-group .required { color: var(--temaus-danger); margin-left: 2px; }
.temaus-form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--temaus-border);
  border-radius: 8px; font-size: 14px; color: var(--temaus-text);
  background: #fff; transition: var(--temaus-transition);
}
.temaus-form-control:focus {
  outline: none; border-color: var(--temaus-primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.temaus-form-control::placeholder { color: #bdc3c7; }
textarea.temaus-form-control { min-height: 100px; resize: vertical; }
.temaus-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.temaus-form-hint { font-size: 12px; color: var(--temaus-text-light); margin-top: 4px; }

/* ---- TABLA DE PRODUCTOS (DASHBOARD) ---- */
.temaus-table-wrap { overflow-x: auto; border-radius: var(--temaus-radius); box-shadow: var(--temaus-shadow); }
.temaus-table {
  width: 100%; border-collapse: collapse;
  background: #fff; font-size: 14px;
}
.temaus-table th {
  background: var(--temaus-primary); color: #fff;
  padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px;
}
.temaus-table th { letter-spacing: 0.2px; }
.temaus-table td { padding: 12px 16px; border-bottom: 1px solid var(--temaus-border); }
.temaus-table tr:last-child td { border-bottom: none; }
.temaus-table tr:hover td { background: #f4f7f9; }

/* ---- BADGES DE ESTADO ---- */
.temaus-status {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
}
.temaus-status-publicado  { background: #eafaf1; color: #1e8449; }
.temaus-status-borrador   { background: #fef9e7; color: #7d6608; }
.temaus-status-pausado    { background: #e3eaf0; color: #3a5a6c; }
.temaus-status-rechazado  { background: #fdedec; color: #78281f; }
.temaus-status-pendiente  { background: #fef9e7; color: #7d6608; }
.temaus-status-activo     { background: #eafaf1; color: #1e8449; }
.temaus-status-suspendido { background: #fdedec; color: #78281f; }

/* ---- IMAGEN UPLOAD ---- */
.temaus-img-preview {
  width: 120px; height: 120px; border-radius: 8px; overflow: hidden;
  background: var(--temaus-bg); border: 2px dashed var(--temaus-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--temaus-border); margin-bottom: 8px; cursor: pointer;
}
.temaus-img-preview img { width: 100%; height: 100%; object-fit: cover; }
.temaus-gallery-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.temaus-gallery-item {
  position: relative; width: 74px; height: 74px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--temaus-border); background: #fff;
}
.temaus-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.temaus-gallery-featured {
  position: absolute;
  left: 2px;
  bottom: 2px;
  border: none;
  border-radius: 6px;
  font-size: 10px;
  padding: 2px 6px;
  cursor: pointer;
  background: rgba(0,0,0,0.65);
  color: #fff;
}
.temaus-gallery-featured.is-featured {
  background: #e91e8c;
}
.temaus-gallery-remove {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px;
  border: none; border-radius: 50%; background: rgba(0,0,0,0.65); color: #fff;
  cursor: pointer; font-size: 12px; line-height: 20px; padding: 0;
}

.temaus-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(10, 20, 34, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.temaus-lightbox.open { display: flex; }
.temaus-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.temaus-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #1a3a5c;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.temaus-lightbox-close:hover { background: #162236; }
.temaus-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #1a3a5c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}
.temaus-lightbox-nav.prev { left: 22px; }
.temaus-lightbox-nav.next { right: 22px; }
.temaus-lightbox-nav:hover { background: #e91e8c; }

/* ---- REGISTRO ---- */
.temaus-registro-wrap {
  max-width: 700px; margin: 0 auto; padding: 20px 16px;
}
.temaus-registro-box {
  background: #fff; border-radius: var(--temaus-radius);
  padding: 36px; box-shadow: var(--temaus-shadow);
  border: 1px solid var(--temaus-border);
}
.temaus-registro-box h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--temaus-primary);
  margin-bottom: 6px;
}
.temaus-registro-box .subtitle {
  color: var(--temaus-text-light); margin-bottom: 28px; font-size: 15px;
}
.temaus-section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--temaus-secondary);
  margin: 24px 0 14px; padding-bottom: 6px;
  border-bottom: 1px solid var(--temaus-border);
}

/* ---- MODAL ---- */
.temaus-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 9999;
  align-items: center; justify-content: center;
}
.temaus-modal-overlay.open { display: flex; }
.temaus-modal {
  background: #fff; border-radius: var(--temaus-radius);
  padding: 32px; max-width: 580px; width: 95%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: temausSlideIn 0.3s ease;
}
@keyframes temausSlideIn {
  from { transform: translateY(-30px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.temaus-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.temaus-modal-header h3 { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--temaus-text); }
.temaus-modal-close {
  background: none; border: none; font-size: 20px; cursor: pointer;
  color: var(--temaus-text-light); padding: 4px; border-radius: 4px;
  transition: var(--temaus-transition);
}
.temaus-modal-close:hover { color: var(--temaus-danger); background: #fdedec; }

/* ---- LOADING ---- */
.temaus-loading {
  display: inline-block; width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: temausSpin 0.7s linear infinite; vertical-align: middle;
}
@keyframes temausSpin { to { transform: rotate(360deg); } }

/* ---- EMPTY STATE ---- */
.temaus-empty {
  text-align: center; padding: 60px 20px;
  color: var(--temaus-text-light);
}
.temaus-empty-icon { font-size: 56px; margin-bottom: 16px; }
.temaus-empty h3   { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--temaus-text); }
.temaus-empty p    { font-size: 15px; margin-bottom: 20px; }

/* ---- PERFIL DEL VENDEDOR ---- */
.temaus-profile-header {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border-radius: var(--temaus-radius);
  padding: 24px; box-shadow: var(--temaus-shadow);
  border: 1px solid var(--temaus-border); margin-bottom: 24px;
}
.temaus-profile-logo {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--temaus-primary); background: var(--temaus-bg);
}
.temaus-profile-info h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 4px; }
.temaus-profile-info p  { color: var(--temaus-text-light); margin: 0; font-size: 14px; }

/* ---- TOAST MENSAJES ---- */
.temaus-toast {
  position: fixed; bottom: 24px; right: 24px;
  padding: 14px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: #fff; z-index: 99999; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: temausToastIn 0.3s ease;
  max-width: 320px;
}
.temaus-toast-success { background: var(--temaus-success); }
.temaus-toast-error   { background: var(--temaus-danger); }
.temaus-toast-info    { background: #3498db; }
@keyframes temausToastIn {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .temaus-single-grid { grid-template-columns: 1fr; gap: 24px; }
  .temaus-single-wrap { padding: 16px 12px; }
  .temaus-single-info h1 { font-size: 1.45rem; }
  .temaus-single-precio { font-size: 1.65rem; }
  .temaus-single-gallery .temaus-main-img img {
    height: auto;
    min-height: 200px;
    max-height: 420px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .temaus-payment-box { padding: 18px 14px; }
  .temaus-btn-full-sm {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .temaus-form-row    { grid-template-columns: 1fr; }
  .temaus-products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
  .temaus-dashboard-header { flex-direction: column; text-align: center; }
  .temaus-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .temaus-filters form { flex-direction: column; }
  .temaus-tabs { overflow-x: auto; }
  .temaus-tab  { white-space: nowrap; }
  .temaus-registro-box { padding: 24px 16px; }
  .temaus-product-actions { flex-direction: column; }
  .temaus-product-actions .temaus-btn { width: 100%; }
}
@media (max-width: 480px) {
  .temaus-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .temaus-product-img   { height: 150px; }
  .temaus-stats-grid    { grid-template-columns: 1fr 1fr; }
  .temaus-products-grid { grid-template-columns: 1fr; }
  .temaus-product-body { padding: 14px; }
  .temaus-product-footer { padding: 0 14px 14px; }
}

/* ---- Ficha de producto: mismo criterio claro que el catálogo ---- */
.temaus-single-wrap {
  background: #fff;
  border-radius: var(--temaus-radius);
  color: var(--temaus-text);
  border: 1px solid var(--temaus-border);
  box-shadow: var(--temaus-shadow);
}
.temaus-single-info p,
.temaus-single-desc,
.temaus-single-categoria,
.temaus-payment-box p { color: var(--temaus-text-light); }
.temaus-single-info h1,
.temaus-payment-box h3 { color: #1a2530; }