.products .mc-home-buy-card{position:relative!important;display:grid!important;grid-template-rows:270px 1fr!important;min-width:0!important;min-height:540px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #dfe5ef!important;border-radius:20px!important;background:#fff!important;box-shadow:0 8px 26px rgba(16,24,40,.07)!important;text-align:left!important}
.mc-home-buy-card__image{display:block;overflow:hidden;background:#f6f8fc}
.mc-home-buy-card__image img{width:100%!important;height:100%!important;margin:0!important;object-fit:contain!important;transition:transform .25s}
.mc-home-buy-card__image:hover img{transform:scale(1.025)}
.mc-home-buy-card__body{display:flex;min-width:0;flex-direction:column;padding:16px}
.mc-home-buy-card__title{height:50px;overflow:hidden;color:#17243a!important;font-size:20px;font-weight:850;line-height:1.25;text-decoration:none!important;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mc-home-buy-card__price{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:6px;margin:14px 0 9px}
.mc-home-buy-card__price strong{color:#142033;font-size:28px;line-height:1}
.mc-home-buy-card__prices{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:16px 0 12px}
.mc-home-buy-card__prices--single{grid-template-columns:1fr}
.mc-home-buy-card__price-col{display:flex;flex-direction:column;align-items:center;gap:2px;padding:0 6px;text-align:center}
.mc-home-buy-card__price-col+.mc-home-buy-card__price-col{border-left:1px solid #eef0f6}
.mc-home-buy-card__price-col strong{color:#142033;font-size:22px;font-weight:850;line-height:1.1}
.mc-home-buy-card__price-col span{color:#667085;font-size:12.5px;font-weight:700}
.mc-home-buy-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:9px}
.mc-home-buy-card__actions--single{grid-template-columns:1fr}
.mc-home-buy-card__action-btn{min-height:46px;padding:10px 8px;border:0;border-radius:11px;background:#2455e6;color:#fff;font-size:13.5px;font-weight:800;line-height:1.25;text-align:center}
.mc-home-buy-card__action-btn:disabled{opacity:.6}
/*
 * position:fixed (not absolute) + inset:0 + margin:auto centers this on the
 * current VIEWPORT regardless of scroll position. It used to be
 * position:absolute, which — once JS moves it to a document.body child —
 * anchors to the top of the whole page, not where the visitor is looking;
 * on a long product grid it opened far above the fold, invisible without
 * scrolling all the way up. Mobile already had this right via its own
 * position:fixed override below; this brings desktop in line with it.
 */
.mc-home-buy-card__colors{position:fixed;z-index:999999;inset:0;margin:auto;width:min(640px,calc(100% - 24px));max-height:calc(100vh - 48px);overflow:auto;padding:18px;border:1px solid #cbd5e1;border-radius:17px;background:#fff;box-shadow:0 16px 45px rgba(16,24,40,.22)}
body.mc-color-picker-open{overflow:hidden!important}
.mc-home-buy-card__colors[hidden]{display:none!important}
.mc-home-buy-card__colors-head{position:sticky;top:-18px;display:flex;align-items:center;justify-content:space-between;padding:12px 0;background:#fff}
.mc-home-buy-card__colors-head strong{font-size:22px}.mc-home-buy-card__colors-head button{width:42px;height:42px;border:0;border-radius:50%;background:#f6f8fc;font-size:28px}
.mc-home-buy-card__colors label{display:grid;grid-template-columns:52px minmax(0,1fr) 156px;align-items:center;gap:9px;margin:10px 0;font-size:14px}
.mc-home-buy-card__color-thumb{width:52px!important;height:52px!important;margin:0!important;border:1px solid #e1e7f0;border-radius:10px;object-fit:cover;background:#f6f8fc}
.mc-home-buy-card__color-name{min-width:0;overflow-wrap:anywhere;color:#17243a;font-weight:700;line-height:1.25}
.mc-home-buy-card__color-stepper{display:grid;grid-template-columns:42px minmax(54px,1fr) 42px;align-items:stretch;min-height:44px;overflow:hidden;border:1px solid #2455e6;border-radius:11px;background:#fff}
.mc-home-buy-card__color-stepper button{display:flex;align-items:center;justify-content:center;min-width:0;padding:0;border:0;background:#f3f6ff;color:#17243a;font-size:25px;font-weight:800;line-height:1;touch-action:manipulation}
.mc-home-buy-card__color-stepper button:first-child{border-right:1px solid #d7e0ff}.mc-home-buy-card__color-stepper button:last-child{border-left:1px solid #d7e0ff}
.mc-home-buy-card__color-stepper button:active{background:#2455e6;color:#fff}
.mc-home-buy-card__colors .mc-home-buy-card__color-stepper input{width:100%;min-width:0;padding:8px 3px;border:0;border-radius:0;background:#fff;font-size:18px;text-align:center;appearance:textfield;-moz-appearance:textfield}
.mc-home-buy-card__colors .mc-home-buy-card__color-stepper input::-webkit-inner-spin-button,.mc-home-buy-card__colors .mc-home-buy-card__color-stepper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}
.mc-home-buy-card__colors [data-colors-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mc-home-buy-card__colors [data-colors-list] label{grid-template-columns:44px minmax(0,1fr);gap:7px;margin:0;padding:9px;border:1px solid #e1e7f0;border-radius:13px;background:#fff}
.mc-home-buy-card__colors [data-colors-list] label .mc-home-buy-card__color-thumb{width:44px!important;height:44px!important}
.mc-home-buy-card__colors [data-colors-list] label .mc-home-buy-card__color-name{font-size:12px}
.mc-home-buy-card__colors [data-colors-list] label .mc-home-buy-card__color-stepper{grid-column:1/-1;grid-template-columns:38px minmax(44px,1fr) 38px;min-height:40px}
.mc-home-buy-card__colors-done{position:sticky;bottom:-18px;width:100%;margin-top:10px;padding:13px;border:0;border-radius:11px;background:#2455e6;color:#fff;font-weight:850}
.mc-home-buy-card__colors-summary{position:sticky;bottom:51px;display:grid;gap:4px;margin:12px -4px 0;padding:12px;border:1px solid #d7e0ff;border-radius:12px;background:#f7f9ff;color:#17243a;box-shadow:0 -6px 18px rgba(16,24,40,.06)}
.mc-home-buy-card__colors-summary strong{font-size:15px}.mc-home-buy-card__colors-summary span{color:#53627a;font-size:12px;line-height:1.35}
.mc-home-buy-card__colors-done:disabled{cursor:not-allowed;opacity:.5}
.mc-home-buy-card__buy{display:grid;grid-template-columns:105px 1fr;gap:10px;margin-top:auto}
.mc-home-buy-card__buy[hidden]{display:none!important}
.mc-home-buy-card__buy label{display:grid;gap:5px;color:#667085;font-size:12px;font-weight:800}.mc-home-buy-card__buy input{width:100%;min-width:0;padding:11px;border:1px solid #d0d5dd;border-radius:11px;font-size:18px}.mc-home-buy-card__buy>button{align-self:end;min-height:48px;border:0;border-radius:12px;background:#142033;color:#fff;font-size:16px;font-weight:850}
.mc-home-buy-card__buy>button:disabled{opacity:.6}.mc-home-buy-card__status{min-height:18px;margin:7px 0 0;color:#667085;font-size:11px}
.mc-home-buy-card__options-link{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:auto;border-radius:12px;background:#142033;color:#fff!important;font-size:16px;font-weight:850;text-decoration:none!important}
/* WooCommerce y algunos temas fijan seis columnas en relacionados/ventas
 * sugeridas. La tarjeta es la misma que en Inicio, por lo que también debe
 * conservar el ancho de cuatro columnas para que controles y textos no se
 * compriman. */
body.mc-home-v2-global-ui .related.products ul.products,
body.mc-home-v2-global-ui .upsells.products ul.products,
body.mc-home-v2-global-ui .cross-sells ul.products{
display:grid!important;
grid-template-columns:repeat(4,minmax(0,1fr))!important;
gap:24px!important;
margin:0!important
}
body.mc-home-v2-global-ui .related.products ul.products::before,
body.mc-home-v2-global-ui .related.products ul.products::after,
body.mc-home-v2-global-ui .upsells.products ul.products::before,
body.mc-home-v2-global-ui .upsells.products ul.products::after,
body.mc-home-v2-global-ui .cross-sells ul.products::before,
body.mc-home-v2-global-ui .cross-sells ul.products::after{display:none!important}
body.mc-home-v2-global-ui .related.products ul.products>li.product,
body.mc-home-v2-global-ui .upsells.products ul.products>li.product,
body.mc-home-v2-global-ui .cross-sells ul.products>li.product{
width:auto!important;
min-width:0!important;
margin:0!important;
float:none!important
}
@media(max-width:820px){.products .mc-home-buy-card{grid-template-rows:190px 1fr!important;min-height:445px!important}.mc-home-buy-card__body{padding:10px}.mc-home-buy-card__title{height:39px;font-size:15px}.mc-home-buy-card__price{margin:8px 0 7px}.mc-home-buy-card__price strong{font-size:20px}.mc-home-buy-card__prices{margin:8px 0 7px}.mc-home-buy-card__price-col strong{font-size:17px}.mc-home-buy-card__price-col span{font-size:11px}.mc-home-buy-card__actions{gap:6px;margin-bottom:6px}.mc-home-buy-card__action-btn{min-height:38px;padding:6px;font-size:11.5px}.mc-home-buy-card__buy{grid-template-columns:60px 1fr;gap:6px}.mc-home-buy-card__buy input{padding:8px 5px;font-size:14px}.mc-home-buy-card__buy>button{min-height:39px;padding:6px;font-size:12px}.mc-home-buy-card__status{display:none}}
@media(max-width:820px){body.mc-home-v2-global-ui .related.products ul.products,body.mc-home-v2-global-ui .upsells.products ul.products,body.mc-home-v2-global-ui .cross-sells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}}

/* En teléfonos se muestran dos productos por fila. El selector de colores sale
 * de la tarjeta y ocupa la pantalla, para mantener controles cómodos. */
@media(max-width:820px){
body.mc-home-v2-global-ui .site-main ul.products,
.mc-home-v2__loop ul.products,
body.mc-home-v2-global-ui .related.products ul.products,
body.mc-home-v2-global-ui .upsells.products ul.products,
body.mc-home-v2-global-ui .cross-sells ul.products{
grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:10px!important
}
body.mc-home-v2-global-ui .site-main ul.products>li.product,
.mc-home-v2__loop ul.products>li.product{width:100%!important;max-width:none!important;margin:0!important;float:none!important}
.products .mc-home-buy-card{align-self:start!important;grid-template-rows:165px auto!important;min-height:0!important;border-radius:15px!important}
.mc-home-buy-card__body{padding:10px}
.mc-home-buy-card__title{height:40px;font-size:14px;line-height:1.3}
.mc-home-buy-card__price{flex-wrap:wrap;gap:3px;margin:8px 0;white-space:normal}
.mc-home-buy-card__price strong{font-size:20px;white-space:nowrap}
.mc-home-buy-card__price span{font-size:11px}
.mc-home-buy-card__prices{margin:8px 0;gap:0}
.mc-home-buy-card__price-col strong{font-size:16px;white-space:nowrap}
.mc-home-buy-card__price-col span{font-size:10.5px}
.mc-home-buy-card__actions{gap:5px;margin-bottom:7px}
.mc-home-buy-card__action-btn{width:100%;min-height:36px;padding:5px 6px;font-size:11px;line-height:1.2}
.mc-home-buy-card__buy{grid-template-columns:58px minmax(0,1fr);gap:6px}
.mc-home-buy-card__buy label{font-size:11px}
.mc-home-buy-card__buy input{min-height:42px;padding:7px 4px;font-size:15px;text-align:center}
.mc-home-buy-card__buy>button{min-height:42px;padding:7px 5px;font-size:11px}
.mc-home-buy-card__colors{position:fixed!important;z-index:999999!important;inset:max(10px,env(safe-area-inset-top)) 10px calc(78px + env(safe-area-inset-bottom)) 10px!important;max-height:none!important;padding:16px!important;border-radius:18px!important}
.mc-home-buy-card__colors label{grid-template-columns:48px minmax(0,1fr) 150px;gap:7px}
.mc-home-buy-card__color-thumb{width:48px!important;height:48px!important}
body.mc-color-picker-open{overflow:hidden!important}
}
