/* MAREA VIVAZ — CARRITO: CSS AISLADO */
.mv-cart-module{--navy:#082f4f;--navy2:#0b426b;--gold:#c9a227;--cyan:#21b7d4;--text:#16384f;--muted:#657b89;--border:#e2ebf0;--bg:#f6fafc;margin:0;padding:0;background:var(--bg);color:var(--text);font-family:"Poppins","Segoe UI",Arial,sans-serif;overflow-x:hidden}
.mv-cart-module *,.mv-cart-module *:before,.mv-cart-module *:after{box-sizing:border-box}
.mv-cart-module a{text-decoration:none}.mv-cart-module button,.mv-cart-module input{font-family:inherit}
.mv-cart-module .container{width:min(1180px,calc(100% - 40px));max-width:1180px;margin:0 auto;padding:0}

/* HEADER */
.mv-cart-module .mv-site-header{width:100%;min-height:88px;background:#fff;border-bottom:1px solid var(--border)}
.mv-cart-module .mv-header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.mv-cart-module .mv-brand{width:150px;height:72px;flex:0 0 150px;display:flex;align-items:center;overflow:hidden}
.mv-cart-module .mv-brand img{display:block;width:auto!important;height:auto!important;max-width:120px!important;max-height:64px!important;object-fit:contain}
.mv-cart-module .mv-main-nav{display:flex;align-items:center;justify-content:flex-end;gap:30px;min-width:0}
.mv-cart-module .mv-main-nav a{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-size:1rem;font-weight:800;white-space:nowrap}
.mv-cart-module .mv-main-nav a:hover{color:var(--cyan)}
.mv-cart-module .mv-cart-count{min-width:29px;height:29px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--gold);color:#fff;font-size:.78rem;font-weight:900}

/* PAGE */
.mv-cart-module .mv-cart-page{width:100%;min-height:calc(100vh - 150px);padding:34px 0 62px;background:var(--bg)}
.mv-cart-module .mv-breadcrumbs{display:flex;align-items:center;gap:9px;margin:0 0 13px;color:#7a8d98;font-size:.92rem;line-height:1.3}
.mv-cart-module .mv-breadcrumbs a{color:var(--navy);font-weight:800}
.mv-cart-module .mv-cart-heading{margin:0 0 24px;padding:0}
.mv-cart-module .mv-eyebrow{display:inline-block;margin:0 0 5px;color:var(--gold);font-size:.8rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.mv-cart-module .mv-cart-heading h1{margin:0 0 8px;color:var(--navy);font-size:clamp(2.15rem,4vw,3.25rem);line-height:1.04;font-weight:900}
.mv-cart-module .mv-cart-heading p{margin:0;color:var(--muted);font-size:1rem;line-height:1.5}
.mv-cart-module .mv-cart-message{width:100%;margin:0 0 18px;padding:13px 16px;border-radius:13px;line-height:1.45}
.mv-cart-module .mv-cart-message-success{background:#eaf8f0;color:#17663b}.mv-cart-module .mv-cart-message-error{background:#fff0f0;color:#9b2c2c}

/* GRID — el punto clave: sin márgenes heredados ni espacios artificiales */
.mv-cart-module .mv-cart-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start;width:100%;margin:0!important;padding:0!important}
.mv-cart-module .mv-cart-items{min-width:0;width:100%;margin:0!important;padding:0!important}
.mv-cart-module .mv-cart-summary{width:100%;min-width:0;margin:0!important;padding:24px;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 10px 28px rgba(8,47,79,.055);position:sticky;top:18px}

/* BRANCH */
.mv-cart-module .mv-cart-branch{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 16px;padding:13px 15px;border:1px solid #dce9ef;border-radius:14px;background:#fff}
.mv-cart-module .mv-cart-branch>i{color:var(--gold);font-size:1.1rem}
.mv-cart-module .mv-cart-branch strong,.mv-cart-module .mv-cart-branch span{display:block}
.mv-cart-module .mv-cart-branch strong{color:var(--navy);font-size:.9rem}.mv-cart-module .mv-cart-branch span{margin-top:2px;color:var(--muted);font-size:.84rem}

/* ITEM */
.mv-cart-module .mv-cart-item{width:100%;min-width:0;display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;margin:0 0 14px;padding:18px;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 10px 26px rgba(8,47,79,.045)}
.mv-cart-module .mv-cart-item-image{width:160px;height:160px;border-radius:14px;overflow:hidden;background:#eef4f7}
.mv-cart-module .mv-cart-item-image img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}
.mv-cart-module .mv-cart-item-main{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:18px;padding:3px 0}
.mv-cart-module .mv-cart-item-top{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.mv-cart-module .mv-product-category{display:block;margin:0;color:var(--navy);font-size:1.08rem;line-height:1.3;font-weight:800}
.mv-cart-module .mv-cart-options{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:7px}.mv-cart-module .mv-cart-options span{color:var(--muted);font-size:.8rem;line-height:1.4}
.mv-cart-module .mv-cart-remove{flex:0 0 auto;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;background:#faf7f7;color:#a93232;cursor:pointer}
.mv-cart-module .mv-cart-remove:hover{background:#fff0f0}
.mv-cart-module .mv-cart-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.mv-cart-module .mv-cart-quantity{display:flex;align-items:center;width:max-content;border:1px solid #dbe5eb;border-radius:12px;overflow:hidden;background:#fff}
.mv-cart-module .mv-cart-quantity button,.mv-cart-module .mv-cart-quantity input{width:42px;height:42px;border:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;text-align:center}
.mv-cart-module .mv-cart-quantity button{background:#f4f8fa;color:var(--navy);font-size:1.15rem;font-weight:800;cursor:pointer}.mv-cart-module .mv-cart-quantity button:hover{background:#eaf4f8}
.mv-cart-module .mv-cart-quantity input{border-left:1px solid #e6edf1;border-right:1px solid #e6edf1;color:var(--navy);font-size:1rem;font-weight:900;outline:none;background:#fff}
.mv-cart-module .mv-cart-item-price{flex:0 0 auto;color:var(--navy);font-size:1.25rem;line-height:1;font-weight:900;white-space:nowrap}

/* ACTIONS */
.mv-cart-module .mv-cart-actions{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 0}
.mv-cart-module .mv-cart-actions form{margin:0}.mv-cart-module .mv-cart-continue,.mv-cart-module .mv-cart-clear{display:inline-flex;align-items:center;gap:8px;padding:8px 0;border:0;background:transparent;font-family:inherit;font-size:.98rem;font-weight:900;cursor:pointer}
.mv-cart-module .mv-cart-continue{color:var(--navy)}.mv-cart-module .mv-cart-clear{color:#a93232}.mv-cart-module .mv-cart-continue:hover{color:var(--cyan)}.mv-cart-module .mv-cart-clear:hover{color:#7e2424}

/* SUMMARY */
.mv-cart-module .mv-cart-summary h2{margin:0 0 17px;color:var(--navy);font-size:1.35rem;line-height:1.2;font-weight:900}
.mv-cart-module .mv-cart-summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:100%;padding:12px 0;border-bottom:1px solid #edf2f5}
.mv-cart-module .mv-cart-summary-row>span{min-width:0;color:#637887;line-height:1.4}.mv-cart-module .mv-cart-summary-row>strong{flex:0 0 auto;color:var(--navy);white-space:nowrap}
.mv-cart-module .mv-cart-summary-note{display:flex;align-items:flex-start;gap:9px;margin-top:15px;padding:13px 14px;border-radius:12px;background:#fff8e8;color:#735914;font-size:.84rem;line-height:1.5}
.mv-cart-module .mv-cart-summary-total{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding-top:17px;border-top:2px solid var(--navy)}
.mv-cart-module .mv-cart-summary-total span{color:var(--navy);font-weight:900}.mv-cart-module .mv-cart-summary-total strong{color:var(--navy);font-size:1.55rem;line-height:1;white-space:nowrap}
.mv-cart-module .mv-btn-checkout{width:100%;min-height:52px;margin-top:18px;padding:13px 17px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;background:var(--navy);color:#fff;font-size:.98rem;font-weight:900}
.mv-cart-module .mv-btn-checkout:hover{background:var(--navy2);color:#fff}

/* EMPTY */
.mv-cart-module .mv-cart-empty{width:100%;margin:0;padding:55px 25px;text-align:center;background:#fff;border:1px solid var(--border);border-radius:20px}
.mv-cart-module .mv-cart-empty-icon{width:64px;height:64px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf7fa;color:var(--navy);font-size:1.35rem}
.mv-cart-module .mv-cart-empty h2{margin:0 0 8px;color:var(--navy);font-size:1.45rem;font-weight:900}.mv-cart-module .mv-cart-empty p{margin:0 auto 20px;max-width:500px;color:var(--muted)}
.mv-cart-module .mv-btn-order{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:12px 20px;border-radius:12px;background:var(--navy);color:#fff;font-weight:900}

/* FOOTER */
.mv-cart-module .mv-site-footer{width:100%;background:var(--navy);color:#fff;padding:22px 0}.mv-cart-module .mv-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:.9rem;line-height:1.4}

@media(max-width:950px){.mv-cart-module .mv-cart-layout{grid-template-columns:1fr}.mv-cart-module .mv-cart-summary{position:static}}
@media(max-width:650px){
 .mv-cart-module .container{width:min(100% - 28px,1180px)}
 .mv-cart-module .mv-header-inner{min-height:auto;padding:8px 0;flex-direction:column;gap:8px}
 .mv-cart-module .mv-brand{width:145px;height:52px;flex-basis:52px;justify-content:center}.mv-cart-module .mv-brand img{max-width:120px!important;max-height:50px!important}
 .mv-cart-module .mv-main-nav{width:100%;justify-content:center;flex-wrap:wrap;gap:13px 18px}.mv-cart-module .mv-main-nav a{font-size:.9rem}
 .mv-cart-module .mv-cart-page{padding:25px 0 45px}.mv-cart-module .mv-cart-heading{margin-bottom:20px}.mv-cart-module .mv-cart-heading h1{font-size:2.15rem}
 .mv-cart-module .mv-cart-item{grid-template-columns:92px minmax(0,1fr);gap:13px;padding:13px;border-radius:16px}.mv-cart-module .mv-cart-item-image{width:92px;height:92px;border-radius:11px}
 .mv-cart-module .mv-cart-item-main{gap:12px}.mv-cart-module .mv-product-category{font-size:.98rem}.mv-cart-module .mv-cart-remove{width:36px;height:36px}
 .mv-cart-module .mv-cart-item-bottom{gap:10px}.mv-cart-module .mv-cart-quantity button,.mv-cart-module .mv-cart-quantity input{width:34px;height:36px}.mv-cart-module .mv-cart-item-price{font-size:1.05rem}
 .mv-cart-module .mv-cart-actions{gap:12px}.mv-cart-module .mv-cart-actions a,.mv-cart-module .mv-cart-actions button{font-size:.88rem}
 .mv-cart-module .mv-cart-summary{padding:19px;border-radius:17px}.mv-cart-module .mv-footer-inner{flex-direction:column;text-align:center}
}
