/* PATCH-004: tarjetas compactas cuadradas y panel de gestión */

.event-square-card{
  display:grid;
  grid-template-columns:116px 1fr;
  gap:13px;
  min-height:116px;
  padding:10px;
  border-radius:21px;
  border:1px solid var(--line);
  background:#141414;
  transition:.22s
}
.event-square-card:hover{transform:translateY(-3px);border-color:rgba(237,17,28,.42)}
.event-square-card.led{border-color:rgba(188,84,231,.38);background:radial-gradient(circle at right,rgba(188,84,231,.15),transparent 52%),#141414}
.square-media{
  width:116px;
  height:116px;
  border-radius:15px;
  overflow:hidden;
  background:#0d0d0d;
  position:relative
}
.square-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.square-media img.logo-fit{object-fit:contain;padding:12px}
.event-square-content h3{font-size:.98rem;margin:7px 0 4px}
.event-square-content p{font-size:.75rem;margin:3px 0;line-height:1.4}
.event-square-content .card-actions{margin-top:8px}

.directory-grid .profile-card{
  display:grid;
  grid-template-columns:102px 1fr;
  min-height:113px;
  padding:8px;
  gap:10px
}
.directory-grid .profile-cover{
  width:102px;
  height:102px;
  border-radius:14px;
  object-fit:cover;
  object-position:center bottom
}
.directory-grid .profile-body{padding:2px 2px 2px 0}
.directory-grid .profile-body p{min-height:0;margin:4px 0;font-size:.73rem}
.directory-grid .profile-body h3{font-size:.91rem}
.directory-grid .profile-type-pills{margin:5px 0}
.directory-grid .profile-type-pills span{padding:4px 6px;font-size:.59rem}
.provider-services{
  color:#dedede;
  font-size:.68rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin:4px 0
}

.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.store-card{
  display:grid;
  grid-template-columns:113px 1fr;
  min-height:124px
}
.store-cover{
  width:113px;
  height:113px;
  margin:8px;
  border-radius:15px
}
.store-cover img:first-child{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center
}
.store-cover .store-logo{width:34px;height:34px;bottom:6px;left:6px}
.store-content{padding:11px 9px 9px 0}
.store-content h3{font-size:.9rem;margin:4px 0}
.store-content p{font-size:.7rem;min-height:0;margin-bottom:5px}
.store-meta{font-size:.64rem;margin-bottom:6px}
.store-buttons button{padding:7px 5px;font-size:.64rem}

.product-grid-v3{grid-template-columns:repeat(5,minmax(0,1fr))}
.market-product .product-image{
  height:auto;
  aspect-ratio:1 / 1
}
.market-product .product-image img{
  width:100%;
  height:100%;
  object-fit:cover
}
.market-product .product-content{padding:9px}
.market-product .product-content h4{font-size:.82rem}
.market-product .product-content p{font-size:.67rem}

.studio-shell-v4{margin-top:48px}
.studio-header-v4{
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(120deg,rgba(237,17,28,.16),transparent),#131313;
  padding:17px;
  margin-bottom:12px
}
.studio-header-v4 small{font-size:.64rem;color:#ff6871;font-weight:900;letter-spacing:.18em}
.studio-header-v4 h2{margin:7px 0 4px;font-size:1.55rem}
.studio-header-v4 p{margin:0;font-size:.8rem}
.studio-types-v4{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.studio-types-v4 span{font-size:.66rem;background:rgba(237,17,28,.18);color:#ff6871;border-radius:999px;padding:5px 8px;font-weight:800}
.studio-nav-v4{
  display:flex;
  overflow:auto;
  gap:6px;
  margin-bottom:12px;
  padding-bottom:4px
}
.studio-nav-v4 button{
  white-space:nowrap;
  color:#fff;
  border:1px solid var(--line);
  background:#171717;
  border-radius:999px;
  padding:9px 12px;
  font-size:.72rem;
  font-weight:800
}
.studio-nav-v4 button.active{background:var(--red);border-color:var(--red)}
.studio-section-v4{display:grid;gap:10px}
.studio-action-v4{
  width:100%;
  border:1px dashed rgba(237,17,28,.45);
  border-radius:15px;
  color:#fff;
  background:rgba(237,17,28,.09);
  padding:13px;
  font-weight:800
}
.collection-card-v4{
  display:grid;
  grid-template-columns:88px 1fr;
  gap:10px;
  padding:9px;
  border:1px solid var(--line);
  border-radius:17px;
  background:#151515
}
.collection-photo-v4{
  width:88px;
  height:88px;
  border-radius:13px;
  overflow:hidden;
  background:#0c0c0c
}
.collection-photo-v4 img{width:100%;height:100%;object-fit:cover}
.collection-content-v4 h4{font-size:.89rem;margin:3px 0}
.collection-content-v4 p{font-size:.7rem;margin:3px 0}
.collection-badges-v4{display:flex;gap:4px;flex-wrap:wrap}
.collection-badges-v4 span{
  font-size:.59rem;
  border-radius:999px;
  padding:4px 7px;
  background:#242424;
  color:#ddd;
  font-weight:800
}
.collection-buttons-v4{display:flex;gap:5px;margin-top:7px;flex-wrap:wrap}
.collection-buttons-v4 button,
.photo-label-v4{
  border:1px solid var(--line);
  border-radius:999px;
  background:#202020;
  color:#fff;
  padding:7px 9px;
  font-size:.64rem;
  font-weight:800;
  cursor:pointer
}
.collection-buttons-v4 .danger{color:#ff6670}
.photo-label-v4 input{display:none}
.editor-box-v4{
  border:1px solid var(--line);
  border-radius:18px;
  background:#121212;
  padding:14px
}
.editor-box-v4 h3{margin:0 0 12px;font-size:1.12rem}
.editor-grid-v4{display:grid;gap:9px}
.service-price-v4{font-size:.9rem;font-weight:900;color:#fff}
.dashboard-entry-v4{
  margin-top:11px;
  width:100%;
  border:1px solid rgba(237,17,28,.4);
  border-radius:999px;
  background:rgba(237,17,28,.12);
  color:#fff;
  font-weight:900;
  padding:12px
}
.root-badge-v4{background:#fff!important;color:#101010!important}

@media(max-width:980px){
  .grid.three .event-square-card{grid-template-columns:92px 1fr}
  .grid.three .square-media{width:92px;height:92px}
  .directory-grid .profile-card{grid-template-columns:88px 1fr}
  .directory-grid .profile-cover{width:88px;height:88px}
  .store-grid,.product-grid-v3{grid-template-columns:1fr}
  .store-card{grid-template-columns:96px 1fr}
  .store-cover{width:88px;height:88px}
}
