/* =========================================================
   SVH SHOP V2 — LIMPIO Y ACORDE CON STYLE.CSS
========================================================= */

/* =========================================================
   CONTEXTO TIENDA
========================================================= */

.single-creador-svh-tienda .site-content,
.single-creador-svh-tienda .main-page-wrapper,
.single-creador-svh-tienda #main-content,
.single-creador-svh-tienda .content-layout-wrapper{
  background:#fff;
}

.single-creador-svh-tienda .svh-shop-page{
  padding:32px 0 56px;
}

/* =========================================================
   HERO TIENDA
========================================================= */

.single-creador-svh-tienda .svh-shop-hero{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:28px;
  align-items:center;
  padding:28px;
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f7f8fb 100%);
  border:1px solid rgba(17,24,39,.08);
  box-shadow:0 18px 50px rgba(17,24,39,.08);
  margin-bottom:24px;
}

.single-creador-svh-tienda .svh-shop-hero__media img,
.single-creador-svh-tienda .svh-shop-hero__fallback{
  width:180px;
  height:180px;
  border-radius:24px;
  display:block;
  object-fit:cover;
  box-shadow:0 14px 36px rgba(17,24,39,.16);
  background:#f3f4f6;
}

.single-creador-svh-tienda .svh-shop-hero__fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:52px;
  font-weight:700;
  color:#111827;
  background:radial-gradient(circle at 30% 30%,#fff 0,#e5e7eb 35%,#d1d5db 100%);
}

.single-creador-svh-tienda .svh-shop-hero__eyebrow{
  margin:0 0 8px;
  font-size:12px;
  line-height:1;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  color:#6b7280;
}

.single-creador-svh-tienda .svh-shop-hero__title{
  margin:0 0 12px;
  font-size:clamp(28px,4vw,44px);
  line-height:1.05;
  font-weight:800;
  color:#111827;
  word-break:break-word;
}

.single-creador-svh-tienda .svh-shop-hero__meta{
  margin:0 0 10px;
  color:#374151;
  font-weight:600;
}

.single-creador-svh-tienda .svh-shop-hero__desc{
  max-width:860px;
  margin:0 0 16px;
  font-size:16px;
  line-height:1.65;
  color:#4b5563;
}

.single-creador-svh-tienda .svh-shop-hero__stats{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

.single-creador-svh-tienda .svh-shop-pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:12px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(17,24,39,.08);
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.single-creador-svh-tienda .svh-shop-pill strong{
  color:#111827;
  font-size:15px;
  font-weight:800;
}

.single-creador-svh-tienda .svh-shop-pill span{
  color:#64748b;
  font-size:14px;
}

.single-creador-svh-tienda .svh-shop-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* =========================================================
   FILTROS TIENDA
========================================================= */

.single-creador-svh-tienda .svh-shop-filters{
  display:grid;
  gap:16px;
  background:#fff;
  border:1px solid rgba(15,23,42,.07);
  border-radius:20px;
  padding:20px;
  margin:0 0 24px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}

.single-creador-svh-tienda .svh-shop-filters__group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.single-creador-svh-tienda .svh-shop-filters__label{
  font-size:14px;
  font-weight:800;
  color:#0f172a;
  margin-right:6px;
}

.single-creador-svh-tienda .svh-filter-chip{
  appearance:none;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  color:#334155;
  border-radius:999px;
  min-height:40px;
  padding:0 14px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
  max-width:100%;
}

.single-creador-svh-tienda .svh-filter-chip:hover,
.single-creador-svh-tienda .svh-filter-chip:focus-visible{
  border-color:rgba(17,24,39,.35);
  transform:translateY(-1px);
  outline:none;
}

.single-creador-svh-tienda .svh-filter-chip--active,
.single-creador-svh-tienda .svh-filter-chip.is-active,
.single-creador-svh-tienda .svh-filter-chip[aria-pressed="true"]{
  background:#111827;
  color:#fff;
  border-color:#111827;
  box-shadow:0 8px 20px rgba(17,24,39,.16);
}

/* =========================================================
   GRID TIENDA
========================================================= */

.single-creador-svh-tienda .svh-shop-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.single-creador-svh-tienda .svh-shop-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
}

.single-creador-svh-tienda .svh-shop-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(15,23,42,.08);
  border-color:rgba(17,24,39,.18);
}

.single-creador-svh-tienda .svh-shop-card.is-featured{
  border-color:rgba(17,24,39,.2);
  box-shadow:0 14px 32px rgba(17,24,39,.08);
}

.single-creador-svh-tienda .svh-shop-card__media{
  position:relative;
  aspect-ratio:16 / 10;
  background:#f8fafc;
  overflow:hidden;
}

.single-creador-svh-tienda .svh-shop-card__media img,
.single-creador-svh-tienda .svh-shop-card__fallback{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.single-creador-svh-tienda .svh-shop-card__media img{
  transition:transform .35s ease;
}

.single-creador-svh-tienda .svh-shop-card:hover .svh-shop-card__media img{
  transform:scale(1.03);
}

.single-creador-svh-tienda .svh-shop-card__fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:32px;
  color:#111827;
  background:linear-gradient(135deg,#fff 0%,#f3f4f6 100%);
}

.single-creador-svh-tienda .svh-shop-card__body{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
}

.single-creador-svh-tienda .svh-shop-card__title{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.25;
  font-weight:800;
  color:#0f172a;
  word-break:break-word;
}

.single-creador-svh-tienda .svh-shop-card__title a{
  color:inherit;
  text-decoration:none;
}

.single-creador-svh-tienda .svh-shop-card__title a:hover{
  text-decoration:underline;
}

.single-creador-svh-tienda .svh-shop-card__desc{
  margin:0 0 14px;
  color:#475569;
  line-height:1.65;
  font-size:15px;
}

.single-creador-svh-tienda .svh-shop-card__price{
  margin:0 0 14px;
  font-size:16px;
  font-weight:800;
  color:#111827;
}

.single-creador-svh-tienda .svh-shop-card__terms{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 16px;
}

.single-creador-svh-tienda .svh-shop-card__actions{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.single-creador-svh-tienda .svh-shop-card[hidden]{
  display:none !important;
}

/* =========================================================
   MINI TAGS Y BADGES TIENDA
========================================================= */

.single-creador-svh-tienda .svh-mini-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#f8fafc;
  color:#334155;
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(15,23,42,.06);
  max-width:100%;
  word-break:break-word;
}

.single-creador-svh-tienda .svh-mini-tag--platform{
  background:#eef2ff;
  color:#312e81;
  border-color:rgba(49,46,129,.12);
}

.single-creador-svh-tienda .svh-shop-badge{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1;
  max-width:calc(100% - 28px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.single-creador-svh-tienda .svh-shop-badge--featured{
  background:#111827;
  color:#fff;
}

.single-creador-svh-tienda .svh-shop-badge--status{
  left:auto;
  right:14px;
  background:rgba(15,23,42,.78);
  color:#fff;
}

.single-creador-svh-tienda .svh-shop-badge--activo{ background:rgba(22,163,74,.92); }
.single-creador-svh-tienda .svh-shop-badge--pausado{ background:rgba(217,119,6,.92); }
.single-creador-svh-tienda .svh-shop-badge--agotado{ background:rgba(220,38,38,.92); }
.single-creador-svh-tienda .svh-shop-badge--expirado{ background:rgba(71,85,105,.92); }

/* =========================================================
   EMPTY STATE TIENDA
========================================================= */

.single-creador-svh-tienda .svh-empty-state{
  padding:42px 24px;
  border-radius:20px;
  text-align:center;
  background:#f9fafb;
  border:1px solid rgba(17,24,39,.08);
}

.single-creador-svh-tienda .svh-empty-state__icon{
  display:inline-block;
  font-size:34px;
  margin-bottom:12px;
}

/* =========================================================
   FOCUS / ACCESIBILIDAD SOLO TIENDA
========================================================= */

.single-creador-svh-tienda .svh-btn:focus-visible,
.single-creador-svh-tienda .svh-filter-chip:focus-visible,
.single-creador-svh-tienda .svh-shop-card a:focus-visible{
  outline:2px solid #111827;
  outline-offset:2px;
}

/* =========================================================
   RESPONSIVE TIENDA
========================================================= */

@media (max-width:1100px){
  .single-creador-svh-tienda .svh-shop-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .single-creador-svh-tienda .svh-shop-hero{
    grid-template-columns:140px 1fr;
  }

  .single-creador-svh-tienda .svh-shop-hero__media img,
  .single-creador-svh-tienda .svh-shop-hero__fallback{
    width:140px;
    height:140px;
  }
}

@media (max-width:767px){
  .single-creador-svh-tienda .svh-shop-page{
    padding:22px 0 40px;
  }

  .single-creador-svh-tienda .svh-shop-hero{
    grid-template-columns:1fr;
    text-align:center;
    padding:20px;
    gap:18px;
  }

  .single-creador-svh-tienda .svh-shop-hero__media{
    display:flex;
    justify-content:center;
  }

  .single-creador-svh-tienda .svh-shop-hero__stats,
  .single-creador-svh-tienda .svh-shop-hero__actions{
    justify-content:center;
  }

  .single-creador-svh-tienda .svh-shop-filters{
    padding:16px;
  }

  .single-creador-svh-tienda .svh-shop-filters__group{
    align-items:flex-start;
  }

  .single-creador-svh-tienda .svh-shop-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .single-creador-svh-tienda .svh-shop-card__body{
    padding:18px;
  }
}

/* =========================================================
   SVH V14 - AJUSTES FINALES TIENDA / PERFIL / LOAD MORE
========================================================= */

.single-creador-svh-tienda .svh-hero--shop {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff7fc 0%, #f8fbff 100%);
  border: 1px solid rgba(193, 36, 125, .12);
  box-shadow: 0 18px 48px rgba(17, 24, 39, .08);
  margin-bottom: 24px;
}

.single-creador-svh-tienda .svh-hero--shop .svh-kicker {
  display: inline-flex;
  margin-bottom: 10px;
}

.single-creador-svh-tienda .svh-profile--shop-summary {
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  background: #fff;
}

.single-creador-svh-tienda .svh-section--shop-links,
.single-creador-svh-tienda .svh-section--catalog-links,
.single-creador-svh-tienda #svh-todo-contenido {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
}

.svh-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.svh-loadmore-btn {
  min-width: 220px;
}

.single-creador-svh-tienda .svh-grid--related,
.single-creador-svh-tienda .svh-grid--content-feed,
.single-creador-svh-tienda .svh-catalog-grid {
  gap: 22px;
}

.single-creador-svh-tienda .svh-card--shop-item,
.single-creador-svh-tienda .svh-card--content,
.single-creador-svh-tienda .svh-catalog-card {
  height: 100%;
}

@media (max-width: 991px) {
  .single-creador-svh-tienda .svh-hero--shop,
  .single-creador-svh-tienda .svh-section--shop-links,
  .single-creador-svh-tienda .svh-section--catalog-links,
  .single-creador-svh-tienda #svh-todo-contenido {
    padding: 22px;
  }
}
