/* =========================================================
   Antojao V3.2.10 — Seller width tuning + productos refinados
   Ajusta el ancho general para que el Centro del Vendedor no
   ocupe toda la pantalla y pule la sección de productos.
   ========================================================= */

/* Ancho general más contenido */
.seller-dashboard.dashboard-shell{padding:34px 0 72px !important;}
.seller-dashboard > .dashboard-grid,
.seller-dashboard > .container.dashboard-grid{
  width:min(1420px, calc(100% - 44px)) !important;
  max-width:1420px !important;
  gap:24px !important;
}
.seller-dashboard .seller-menu{
  width:235px !important;
  min-width:235px !important;
  max-width:235px !important;
}
.seller-dashboard > .dashboard-grid,
.seller-dashboard > .container.dashboard-grid{grid-template-columns:235px minmax(0,1fr) !important;}
.seller-dashboard .seller-main{max-width:none !important;}
.seller-dashboard .seller-page-heading{margin-bottom:18px !important;}
.seller-dashboard .seller-page-heading > div:first-child{max-width:720px !important;}
.seller-dashboard .seller-page-heading h1{font-size:clamp(2.2rem,3vw,3.2rem) !important; letter-spacing:-0.03em !important;}
.seller-dashboard .seller-page-heading p{max-width:680px !important; font-size:.95rem !important;}

/* Productos: composición más equilibrada */
.seller-dashboard .seller-product-editor{
  grid-template-columns:minmax(0,1fr) 320px !important;
  gap:18px !important;
}
.seller-dashboard .seller-product-preview-panel{
  width:320px !important;
  max-width:320px !important;
}
.seller-dashboard .seller-product-preview-card{border-radius:22px !important;}
.seller-dashboard .seller-product-preview-image{height:210px !important; padding:12px !important;}
.seller-dashboard .seller-product-preview-image img{max-width:100% !important; max-height:100% !important; object-fit:contain !important;}
.seller-dashboard .seller-product-preview-body{padding:16px !important;}
.seller-dashboard .seller-product-preview-body h3{font-size:1.35rem !important; line-height:1.15 !important; margin-bottom:6px !important;}
.seller-dashboard .seller-product-preview-body p{font-size:.82rem !important; line-height:1.45 !important;}
.seller-dashboard .seller-product-preview-price strong{font-size:1.4rem !important;}
.seller-dashboard .seller-product-preview-helper{font-size:.74rem !important; line-height:1.4 !important;}

/* Formulario del producto más limpio */
.seller-dashboard .seller-product-editor > .panel:first-child{padding:22px !important;}
.seller-dashboard .seller-product-editor .form-grid{gap:14px !important;}
.seller-dashboard .seller-product-editor textarea{min-height:104px !important;}
.seller-dashboard .seller-upload-drop{min-height:104px !important;}

/* Catálogo más compacto y agradable */
.seller-dashboard .seller-product-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
.seller-dashboard .seller-product-admin-card{border-radius:22px !important; overflow:hidden !important;}
.seller-dashboard .seller-product-admin-image{height:170px !important; padding:14px !important;}
.seller-dashboard .seller-product-admin-image img{max-width:100% !important; max-height:100% !important; object-fit:contain !important;}
.seller-dashboard .seller-product-admin-body{padding:14px 16px 16px !important; gap:8px !important;}
.seller-dashboard .seller-product-admin-body h3{font-size:1.08rem !important; line-height:1.2 !important; margin:0 !important;}
.seller-dashboard .seller-product-admin-body p{min-height:auto !important; font-size:.8rem !important; line-height:1.4 !important; color:#7a6861 !important;}
.seller-dashboard .seller-product-price-row{display:flex !important; justify-content:space-between !important; align-items:flex-end !important; gap:12px !important; margin-top:4px !important;}
.seller-dashboard .seller-product-price-row strong{font-size:1.18rem !important;}
.seller-dashboard .seller-product-price-row span:last-child{font-size:.76rem !important; color:#8b7a74 !important;}
.seller-dashboard .seller-card-actions{display:flex !important; flex-wrap:wrap !important; gap:8px !important; padding-top:10px !important;}
.seller-dashboard .seller-card-actions a{margin:0 !important;}

/* Cabeceras de panel catálogo */
.seller-dashboard .panel > .seller-section-kicker{display:inline-block !important; margin-bottom:8px !important;}

@media (max-width: 1280px){
  .seller-dashboard > .dashboard-grid,
  .seller-dashboard > .container.dashboard-grid{
    width:min(1320px, calc(100% - 32px)) !important;
    max-width:1320px !important;
  }
  .seller-dashboard .seller-product-editor{grid-template-columns:minmax(0,1fr) 300px !important;}
  .seller-dashboard .seller-product-preview-panel{width:300px !important; max-width:300px !important;}
}
@media (max-width: 1120px){
  .seller-dashboard .seller-product-editor{grid-template-columns:1fr !important;}
  .seller-dashboard .seller-product-preview-panel{width:100% !important; max-width:none !important; position:static !important;}
  .seller-dashboard .seller-product-grid{grid-template-columns:1fr 1fr !important;}
}
@media (max-width: 860px){
  .seller-dashboard > .dashboard-grid,
  .seller-dashboard > .container.dashboard-grid{
    width:min(100% - 22px, 1420px) !important;
    grid-template-columns:1fr !important;
  }
  .seller-dashboard .seller-menu{width:100% !important; min-width:0 !important; max-width:none !important;}
}
@media (max-width: 720px){
  .seller-dashboard .seller-product-grid{grid-template-columns:1fr !important;}
  .seller-dashboard .seller-page-heading > div:first-child,
  .seller-dashboard .seller-page-heading p{max-width:none !important;}
}
