
/*CSS PARA SECCIONES "FLUJO LEVANTA PEDIDO"
 * Tarjeta carrito vacio
 * Tarjeta datos de envio
 * Tarjeta totales
 * Tarjeta resumen de compra
 * Tarjeta pago exitoso/fallido
 * Sección "Servicios de paqueteria"
 * Sección "Opciones de pago"
 * Sección "Tajetas informativa para continuar el pago (Paypal, Mercado pago, Aplazo, etc)"
 * Tarjeta de "Articulos sin existencia en el carrito", "Minimo de compra en el carrito"
 * */
/* Tarjeta informativa: carrito vacio, compra rechazada, compra exitosa */
.mwstore-card,.cotizacion-checkout-info,.personalizado-checkout-info, .aplazo-checkout-info, .deposito-checkout-info,.vales-checkout-info,.openpay-checkout-info, .mercadopago-checkout-info, .paypal-checkout-info, .cotizacion-solicita-pedido, .checkout-sinExistencia-info{
    background: #ffffff;
    max-width: 360px;
    padding: 28px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin:auto;
    margin-top:30px;
}
.mwstore-card h2 , .cotizacion-checkout-info h2, .personalizado-checkout-info h2 , .deposito-checkout-info h2,.vales-checkout-info h2,.openpay-checkout-info h2,.mercadopago-checkout-info h2, .paypal-checkout-info h2, .cotizacion-solicita-pedido h2{
    font-size: 20px;
    margin-bottom: 8px;
    color: #1f2937;
}

.mwstore-card p , .cotizacion-checkout-info p, .personalizado-checkout-info p, .deposito-checkout-info p, .vales-checkout-info p, .openpay-checkout-info p, .mercadopago-checkout-info p, .paypal-checkout-info p, .cotizacion-solicita-pedido p{
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* Iconos para tarjetas */
.mwstore-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.mwstore-icon.neutral {
    background-color: #f3f4f6;
    color: #374151;
}
.mwstore-icon.error {
    background-color: #dc2626;
    color: #fff;
}
.mwstore-icon.success {
    background-color: #28a745;
    color: #fff;
}

.mwstore-icon i {
    font-size: 32px;
}
/* Link Historial */
.mwstore-history {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    margin-top:8px;
}

.mwstore-history i {
    font-size: 14px;
}

.mwstore-history:hover {
    color: #374151;
}


/*contenedor de datos de dirrección ----------------------------------------------*/
.direccion-card {
  max-width: 400px;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}
.direccion-card .direccion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #e1e1e1;
}
.direccion-card .direccion-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.direccion-card .direccion-icon {
  font-size: 18px;
  color: #374151;
}
.direccion-card .direccion-body {
  padding: 16px;
}
.direccion-card .direccion-nombre {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}
.direccion-card .direccion-nombre i {
  color: #374151;
}
.direccion-card .direccion-linea {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}
.direccion-card .direccion-linea i {
  color: #6b7280;
  min-width: 16px;
}
.direccion-card .direccion-footer {
  padding: 12px 16px;
  border-top: 1px solid #e1e1e1;
  text-align: left;
}
.direccion-card .direccion-link {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.direccion-card .direccion-link:hover {
  color: #374151;
  text-decoration: underline;
}


/*Totales carrito de compras -------------------------------------------------------*/
.totales-card {

  min-width: 250px;
  max-width: 400px;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}
.totales-card .totales-body {
  padding: 18px;
}
.totales-card .totales-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
}
.totales-card .totales-row .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #333;
}
.totales-card .totales-row .label i {
  color: #6b7280;
}
.totales-card .totales-row .value {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}
.totales-card .totales-divider {
  margin: 14px 0;
  border-top: 1px solid #e5e7eb;
}
.totales-card .totales-row.total {
  margin-top: 6px;
}
.totales-card .totales-row.total .label {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.totales-card .totales-row.descuento .label {
  font-size: 12px;
  color: #747474;  
  font-weight: 500;
}
.totales-card .totales-row.descuento .value {
  font-size: 14px;
  font-weight: 700;
  color: #747474;  
}
.totales-card .totales-row.total .label i {
  color: #16a34a;
}
.totales-card .totales-row.total .value {
  font-size: 22px;
  font-weight: 800;
  color: #374151;
}
.totales-card .cupon-box {
  margin-top: 18px;
}
.totales-card .cupon-input {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
}
.totales-card .cupon-input i {
  padding: 0 12px;
  color: #6b7280;
}
.totales-card .cupon-input input {
  flex: 1;
  border: none;
  padding: 12px 10px;
  font-size: 14px;
  outline: none;
}
.totales-card .cupon-input button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.totales-card .cupon-input button:hover {
  background-color: #1e40af;
}
.totales-card .cupon-info {
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  color: #374151;
}

/* Layout para tarjeta de dirección y tarjeta de totales en el Carrito de compras */
.mwstore-carritoFooter-layout {
  padding-top:10px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 10px;
  align-items: start;
  width: 100%;
}
.mwstore-carritoFooter-layout .card-right {
  display: flex;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 720px) {
  .mwstore-carritoFooter-layout {
    grid-template-columns: 1fr;
  }

  /* Mobile: centrar o estirar la tarjeta */
  .mwstore-carritoFooter-layout .card-right {
    display: block;   /* elimina flex */
    order: 1;
  }
  .mwstore-carritoFooter-layout .card-left {
    order: 2;
  }
}
@media (max-width: 480px) {
  .totales-card {
    max-width: 100%;
  }
  .direccion-card {
    max-width: 100%;
  }
}

/*Servicios de paqueteria -------------------------------- */
    .container-paqueteria {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
/*
        padding: 20px;
*/
    }

    .box-serv-paqueteria {
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 20px;
        width: 230px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative; /* Necesario para posicionar el icono hijo */
        transition: all 0.3s ease;
        cursor: pointer;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .box-serv-paqueteria:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

    /* Icono de Información en la esquina */
    .box-serv-paqueteria .info-top-right {
        position: absolute;
        top: 7px;
        right: 7px;
        font-size: 30px;
        color: #b0b0b0;
        transition: color 0.2s;
        padding: 5px;
    }

    .box-serv-paqueteria .info-top-right:hover {
        color: #374151;
    }

    /* Ajuste de imagen */
    .box-serv-paqueteria-img {
        height: 80px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0 15px 0;
    }

    .box-serv-paqueteria-img img {
        max-height: 100%;
        max-width: 80%;
        object-fit: contain;
    }

    .box-serv-paqueteria .titulo-servicio {
        font-weight: 600;
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 8px;
        min-height: 40px; /* Alinea los precios aunque el nombre sea largo */
        display: flex;
        align-items: center;
    }

    .box-serv-paqueteria .txt_mini {
        font-size: 0.75rem;
        color: #777;
        margin-bottom: 5px;
    }

    .box-serv-paqueteria .pOferta {
        font-size: 1.2rem;
        font-weight: 700;
        color: #333;
        margin: auto 0 0 0; /* Empuja el precio al fondo */
    }


    @media (max-width: 600px) {
        .box-serv-paqueteria { width: 100%; }
    }
 
 /* Formas de pago ----------------------------------------------------------------*/
    
    /* Contenedor de las formas de pago */
    .container-metodos-pago {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding: 20px;
    }

    /* Tarjeta de cada método de pago */
    .box-form-pago {
        background: #fff;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        width: 280px;
        height: 120px; /* Altura fija para uniformidad */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 15px;
        position: relative;
        overflow: hidden;
    }
    .box-form-pago:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

    /* Ajuste de las imágenes/logos */
    .box-form-pago img {
        max-width: 90%;
        max-height: 80%;
        object-fit: contain;
        filter: grayscale(20%);
        transition: filter 0.3s ease;
    }

    .box-form-pago:hover img {
        filter: grayscale(0%);
    }
    
    /* Responsivo para móviles */
    @media (max-width: 600px) {
        .box-form-pago {
            width: 100%; /* Ocupa todo el ancho en celular */
            height: 100px;
        }
    }   


/*información al levantar pedido, Aplazo*/
.contenedor_form_pago{ 
	max-width:500px;
	margin:auto;
	margin-top:30px;
	text-align:center;
}

/*Aplazo - ventanata al levantar pedido*/
.aplazo-checkout-info, .mercadopago-checkout-info, .paypal-checkout-info{
   max-width: 520px;
}
.aplazo-checkout-info .pedido, .mercadopago-checkout-info .pedido , .paypal-checkout-info .pedido{
  font-size: 16px;
  margin-bottom: 12px;
}
.aplazo-checkout-info  h1, .mercadopago-checkout-info h1 , .paypal-checkout-info h1{
  font-size: 26px;
  margin-bottom: 5px;
}
.aplazo-checkout-info  h1 span{
  color: #00cfd6;
}
.aplazo-checkout-info .seguridad , .mercadopago-checkout-info .seguridad, .paypal-checkout-info .seguridad{
  font-size: 14px;
  color: #444;
  margin-bottom: 25px;
}
.aplazo-checkout-info .btn-aplazo , .mercadopago-checkout-info .btn-mercadopago, .paypal-checkout-info .btn-paypal{
  display: inline-block;
  margin-bottom: 30px;
}
.aplazo-checkout-info .btn-aplazo img,.mercadopago-checkout-info .btn-mercadopago img, .paypal-checkout-info .btn-paypal img{
  width: 230px;
  max-width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.aplazo-checkout-info .btn-aplazo:hover img , .mercadopago-checkout-info .btn-mercadopago:hover img, .paypal-checkout-info .btn-paypal:hover img{
  transform: scale(1.05);
}
.aplazo-checkout-info .pasos,.deposito-checkout-info .pasos, .mercadopago-checkout-info .pasos, .paypal-checkout-info .pasos {
  border-top: 1px solid #e6e6e6;
  padding-top: 25px;
}
.aplazo-checkout-info .pasos h2 , .mercadopago-checkout-info .pasos h2, .paypal-checkout-info .pasos h2{
  font-size: 20px;
  margin-bottom: 15px;
}
.aplazo-checkout-info .pasos h2 i , .mercadopago-checkout-info .pasos h2 i, .paypal-checkout-info .pasos h2 i{
  color: #00cfd6;
  margin-right: 6px;
}
.aplazo-checkout-info .pasos ul , .mercadopago-checkout-info .pasos ul, .paypal-checkout-info .pasos ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}
.aplazo-checkout-info .pasos li , .mercadopago-checkout-info .pasos li, .paypal-checkout-info .pasos li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 14px;
}
.aplazo-checkout-info .pasos li i , .mercadopago-checkout-info .pasos li i, .paypal-checkout-info .pasos li i{
  color: #00cfd6;
  margin-top: 3px;
  min-width: 18px;
}

@media (max-width: 480px) {
  .aplazo-checkout-info  h1 , .mercadopago-checkout-info .h1,, .paypal-checkout-info .h1{
    font-size: 22px;
  }
  .aplazo-checkout-info .pasos h2 , .mercadopago-checkout-info .pasos h2, .paypal-checkout-info .pasos h2{
    font-size: 18px;
  }
}

/* Tarjeta información de cotización, personalizado*/
.cotizacion-checkout-info,.personalizado-checkout-info,.cotizacion-solicita-pedido{
   max-width: 400px;
}

@media (max-width: 480px) {
  .cotizacion-checkout-info, .personalizado-checkout-info, .aplazo-checkout-info, .deposito-checkout-info, .vales-checkout-info, .openpay-checkout-info, .mercadopago-checkout-info, .paypal-checkout-info, .cotizacion-solicita-pedido{
    padding: 20px 15px;
  }

  .cotizacion-checkout-info h2,.personalizado-checkout-info h2, .deposito-checkout-info h2, .vales-checkout-info h2, .openpay-checkout-info h2, .mercadopago-checkout-info h2, .paypal-checkout-info h2, .cotizacion-solicita-pedido h2{
    font-size: 18px;
  }
}

/*tarjeta pago con vale*/
.vales-checkout-info{
    max-width: 400px;
}

/*tarjeta deposito*/
.deposito-checkout-info {
    max-width: 700px;
    width: 100%;
}
.deposito-checkout-info .subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
}
.deposito-checkout-info .step {
    display: flex;
    margin-bottom: 30px;
    text-align:left;
}
.deposito-checkout-info .step-number {
    background-color: #3498db;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}
.deposito-checkout-info .step-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #2c3e50;
}
.deposito-checkout-info .table-container {
    overflow-x: auto;
    margin-top: 15px;
}
.deposito-checkout-info table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.deposito-checkout-info th, .deposito-checkout-info td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.deposito-checkout-info th {
    background-color: #f8f9fa;
    color: #666;
}
.deposito-checkout-info .highlight-box {
    background-color: #e8f4fd;
    border-left: 5px solid #3498db;
    padding: 15px;
    font-size: 1.1rem;
    display: inline-block;
    border-radius: 4px;
    margin-top: 10px;
}
.deposito-checkout-info .footer-note {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 600px) {
    .deposito-checkout-info .step {
        flex-direction: column;
    }
    .deposito-checkout-info .step-number {
        margin-bottom: 10px;
    }
}

/*open pay*/
.openpay-checkout-info{
	max-width:900px;
}

/*mercado pago, paypal*/
.mercadopago-checkout-info .btn-mercadopago img , .paypal-checkout-info .btn-paypal img{
  width: 180px;
}
.mercadopago-checkout-info .btn-mercadopago,.paypal-checkout-info .btn-paypal{
	border:1px solid #0897CC;
	border-radius:20px;
	padding:10px;	
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mercadopago-checkout-info .btn-mercadopago:hover, .paypal-checkout-info .btn-paypal:hover{
	transform: scale(1.05);
}
.mercadopago-checkout-info .pasos li i, .paypal-checkout-info .pasos li i{
  color: #099DD6;
}
.mercadopago-checkout-info  h1 span,.paypal-checkout-info  h1 span{
  color: #099DD6;
}

/*página levanta pedido - forma de pago*/
.checkout-formas-pago, .checkout-servicios-envio{
    max-width: 100%;
    margin: auto;
    padding: 24px 16px 40px;
    box-sizing: border-box;
}
.checkout-formas-pago .checkout-title, .checkout-servicios-envio .checkout-title{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
}
.checkout-formas-pago .checkout-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 20px;
    align-items: flex-start;	
}
.checkout-formas-pago .checkout-methods,.checkout-servicios-envio .checkout-methods {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.checkout-formas-pago .methods-grid{
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}
.checkout-formas-pago .checkout-summary {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}
/* Responsive */
@media (max-width: 1024px) {
    .checkout-formas-pago .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-formas-pago .checkout-summary {
        position: static;
        margin-top: 32px;
    }
}

/*contenedor resumen de compra*/
.store_resumencompra {
  max-width: 420px;
  margin: 0 auto;
}
.store_resumencompra .sc-card {
	overflow: hidden;
}
.store_resumencompra .sc-card-header {
  text-align: center;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
}
.store_resumencompra .sc-card-body {
  padding: 18px 20px 22px;
}
.store_resumencompra table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.store_resumencompra table tr td {
  padding: 8px 0;
  font-size: 15px;
  color: #374151;
}
.store_resumencompra table tr td:last-child {
  text-align: right;
  font-weight: 500;
}
.store_resumencompra tr.descuentos td {
  color: #9ca3af;
}
.store_resumencompra tr.descuentos td:last-child {
  font-weight: 600;
}
.store_resumencompra tr.total td {
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}
.store_resumencompra .moneda {
  font-size: 14px;
  margin-left: 4px;
}
.store_resumencompra .sc-btn-primary {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store_resumencompra .sc-btn-primary:hover {
  background: #000;
  color: #fff;
}
@media (max-width: 480px) {
  .store_resumencompra {
    max-width: 100%;
  }

  .store_resumencompra .sc-card-body {
    padding: 16px;
  }

  .store_resumencompra table tr td {
    font-size: 14px;
  }

  .store_resumencompra tr.total td {
    font-size: 17px;
  }
}


.checkout-servicios-envio{
	text-align:center;
}
.checkout-servicios-envio .methods-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding: 20px;
}
.checkout-servicios-envio .checkout-footer{
	text-align:center;
	width:100%;
}
.checkout-servicios-envio .checkout-footer button{
	width:200px;
}

.checkout-sinExistencia-info{
	max-width:800px;
}
.checkout-sinExistencia-info p{
	font-size:16px;
}
.checkout-sinExistencia-info table{
	margin-bottom:20px;
}
.checkout-sinExistencia-info table td{
	padding:5px;
}
.checkout-sinExistencia-info button{
	max-width:200px;
}
