/* DigiFaster Marketplace Cart · aislamiento para no alterar componentes heredados */
.df-market-cart-link{position:relative;flex:0 0 auto;display:inline-flex;justify-content:center;align-items:center;width:43px;height:43px;border:1px solid rgba(160,172,255,.42);border-radius:13px;background:rgba(80,70,229,.15);color:#fff!important;text-decoration:none!important}
.df-market-cart-link:hover{background:#5046ed}.df-market-cart-link svg{width:25px;height:25px}.df-market-cart-count{position:absolute;right:-8px;top:-9px;background:#f63f83;color:#fff;font-size:11px;line-height:21px;min-width:21px;height:21px;padding:0 4px;border-radius:50%;text-align:center;font-weight:900;border:2px solid #0c1024;box-sizing:content-box}
.df-detail-cart-shortcut{display:inline-flex;gap:7px;align-items:center;text-decoration:none;border-radius:14px;background:#554ff3;color:#fff!important;padding:9px 13px;font-weight:800;margin-left:auto;margin-right:20px}.df-detail-cart-shortcut b{background:#fd4483;border-radius:999px;padding:2px 6px;min-width:19px;text-align:center}
.df-market-inline-add{margin:12px 0 0}.df-market-add-card{font:inherit;font-size:13px;font-weight:900;cursor:pointer;width:100%;background:#eef2ff;border:1px solid #cbcaff;border-radius:12px;color:#3925b9;padding:10px 12px;transition:background .16s}.df-market-add-card:hover{background:#ddd8ff}
.df-market-detail-add{display:grid;gap:8px;margin-bottom:18px;padding:14px;border-radius:15px;background:#f4f5ff;border:1px solid #d9ddff}.df-market-detail-add label{font-weight:850;color:#151b3c}.df-market-detail-add small{color:#53617a}.df-market-quantity-box{display:flex;gap:8px;flex-wrap:wrap}.df-market-quantity-box input{width:76px;max-width:100%;min-height:44px;border:1px solid #c8cee2;border-radius:12px;text-align:center;background:#fff;color:#131a37}.df-market-add-btn{flex:1;min-height:44px;border:0;background:#4f46e5;color:#fff;font-weight:900;border-radius:12px;cursor:pointer;padding:10px 14px}.df-market-separator{text-align:center;color:#64748b;font-size:12px;border-top:1px solid #e2e8f0;padding-top:13px}
.df-market-page{min-height:100vh;background:radial-gradient(circle at 35% 0,rgba(67,56,202,.12),transparent 40%),#f4f6fc;color:#18213c;font-family:inherit}.df-market-header{background:#080b1c;padding:16px 0;color:#fff}.df-market-header-inner{max-width:1120px;margin:auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.df-market-brand{display:inline-flex;align-items:center}.df-market-brand img{width:175px;max-width:46vw}.df-market-header-links{display:flex;align-items:center;gap:14px}.df-market-header-links a{color:#e7eaff;text-decoration:none;font-weight:800;font-size:14px}.df-market-container{max-width:1120px;margin:0 auto;padding:30px 18px 76px}.df-market-kicker{display:inline-block;color:#5145d6;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:950}.df-market-container h1{margin:10px 0 12px;font-size:clamp(27px,4vw,42px);letter-spacing:-.035em;color:#111934}.df-market-lead{color:#5c6980;line-height:1.6;margin:0 0 23px}.df-market-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.df-market-panel{background:#fff;border-radius:20px;border:1px solid #e4e9f5;padding:22px;box-shadow:0 13px 45px rgba(28,37,82,.065)}.df-market-summary{position:sticky;top:20px}.df-market-panel h2{font-size:20px;margin:0 0 19px;color:#151b34}.df-market-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:15px;align-items:start;padding:18px 0;border-bottom:1px solid #e9ecf4}.df-market-item:first-of-type{padding-top:3px}.df-market-item:last-child{border-bottom:0}.df-market-item-img{width:80px;height:80px;object-fit:cover;border-radius:13px;background:#edf1fa}.df-market-item h3{font-size:16px;color:#11172e;line-height:1.35;margin:1px 0 6px}.df-market-item h3 a{color:inherit;text-decoration:none}.df-market-meta{font-size:13px;color:#67748a}.df-market-item-price{font-weight:900;color:#4338ca;white-space:nowrap}.df-market-qty-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:11px}.df-market-qty-form label{font-size:12px;color:#58647a}.df-market-qty-form input{width:67px;height:37px;padding:6px;border-radius:8px;border:1px solid #cdd5e6;color:#0f172a;text-align:center}.df-market-button-light,.df-market-button-remove{border:1px solid #d6def0;background:#f8f9ff;border-radius:9px;padding:9px 11px;color:#393ab8;font-weight:800;cursor:pointer}.df-market-button-remove{color:#b3264d;background:#fff7fa;border-color:#ffe0e8}.df-market-summary-line{display:flex;justify-content:space-between;gap:12px;color:#59657a;padding:10px 0}.df-market-summary-line strong{color:#18223d}.df-market-summary-total{border-top:1px solid #e5e9f2;margin-top:12px;padding:21px 0;display:flex;justify-content:space-between;align-items:center;font-weight:900;font-size:17px}.df-market-summary-total strong{font-size:26px;color:#4f46e5}.df-market-button-primary{background:linear-gradient(135deg,#6257f8,#4230c9);color:#fff!important;text-align:center;display:block;width:100%;border:0;border-radius:13px;cursor:pointer;padding:14px 17px;text-decoration:none;font:inherit;font-weight:900;box-shadow:0 12px 25px rgba(67,56,202,.19)}.df-market-secondary-link{text-align:center;margin-top:13px;display:block;color:#5143d6;text-decoration:none;font-weight:800}.df-market-note{font-size:12px;color:#67758d;line-height:1.6}.df-market-error{margin:12px 0 22px;padding:14px 16px;background:#fff0f2;color:#a82447;border:1px solid #ffbdcb;border-radius:12px}.df-market-empty{padding:60px 20px;text-align:center}.df-market-empty .icon{font-size:55px}.df-market-empty h2{margin:18px 0 12px}.df-market-empty a{max-width:230px;margin:25px auto 0}.df-market-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.df-market-field{display:grid;gap:7px;margin-bottom:16px}.df-market-field label{font-size:13px;font-weight:900;color:#26304a}.df-market-field input,.df-market-field select{width:100%;min-width:0;min-height:46px;padding:11px 12px;border-radius:11px;border:1px solid #ced5e5;background:#fff;color:#15213e;font:inherit;box-sizing:border-box}.df-market-tiny{font-size:12px;line-height:1.6;color:#59677d}.df-market-orders{width:100%;border-collapse:collapse}.df-market-orders td,.df-market-orders th{padding:11px 7px;border-bottom:1px solid #ecedf6;text-align:left;font-size:13px}.df-market-orders th{color:#59687c;font-size:12px}.df-market-orders td:last-child,.df-market-orders th:last-child{text-align:right}.df-market-badge{background:#e9e7ff;border-radius:999px;padding:5px 9px;color:#4235be;font-size:12px;font-weight:850}.df-market-download-row{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #ebedf4;padding:17px 0}.df-market-download-row strong{display:block;color:#16203b}.df-market-download-row .df-market-button-light{text-decoration:none}.df-market-inline-link{color:#513bd2}
@media(max-width:820px){.df-market-layout{grid-template-columns:1fr}.df-market-summary{position:static}}@media(max-width:500px){.df-market-container{padding:23px 13px 55px}.df-market-panel{padding:16px;border-radius:15px}.df-market-item{grid-template-columns:60px minmax(0,1fr);gap:10px}.df-market-item-img{width:60px;height:60px}.df-market-item-price{grid-column:2}.df-market-input-grid{grid-template-columns:1fr}.df-market-qty-form{gap:6px}.df-market-header-links{gap:9px}.df-market-header-links a{font-size:12px}.df-detail-cart-shortcut{margin-right:7px}.df-market-quantity-box{flex-direction:column}.df-market-quantity-box input{width:100%}}

/* DigiFaster Marketplace v2 - compatibilidad con el fondo oscuro global.
   La hoja global layout/footer.css declara body.df{background:#050816!important},
   por lo que el selector anterior .df-market-page sin !important no prevalece.
   Este ajuste afecta EXCLUSIVAMENTE las paginas del marketplace con body.df-market-page. */
body.df.df-market-page {
  min-height: 100vh;
  background: radial-gradient(circle at 35% 0%, rgba(87, 97, 234, .085), transparent 43%), #f4f6fc !important;
  color: #18213c !important;
}
/* Color y contraste del encabezado principal y texto auxiliar. */
body.df.df-market-page .df-market-container h1 { color: #141a35 !important; }
body.df.df-market-page .df-market-container .df-market-lead { color: #505c76 !important; }
body.df.df-market-page .df-market-container .df-market-kicker { color: #4940c6 !important; }
/* Los campos se conservan claros y legibles con la configuracion de tema del navegador. */
body.df.df-market-page .df-market-field input,
body.df.df-market-page .df-market-field select,
body.df.df-market-page .df-market-qty-form input { color-scheme: light; }
