#wraper_container_cart {
    --cart-primary: #4a90e2;
    --cart-danger: #e74c3c;
    --cart-border: #e0e0e0;
    --cart-bg-hover: #f8f9fa;
    --cart-text: #333;
    --cart-shadow: 0 2px 8px rgba(0,0,0,0.05);
    --cart-radius: 12px;
}
#wraper_container_cart{
    background-color: white;
    border: solid 1px #1111;
    padding: 20px;
    padding-top: 10px;
}
#wraper_container_cart h1{
    text-transform: uppercase;
    margin: 0px;
    border-bottom: solid 1px #1111;
    padding-bottom: 5px;
    font-size: 17px;
}
#cart_total_quantity {
    padding: 6px;
    background-color: grey;
    color: white;
    text-align: center;
    font-size: 12px;
    border-radius: 25px;
}
#cart_total_quantity[class="have_product"] {
    background-color: var(--primary-color);
    color: white;
}
.itivos-cart-product-row-del {
    cursor: pointer;
}
.cart-input-loading {
    background-color: rgb(245, 245, 245) !important;
    color: rgb(153, 153, 153) !important;
    cursor: wait;
}
.out_of_stock_itivos_cart_checkout {
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
    transition: opacity 0.3s ease;
    min-width: 70px;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background: #f8d7da;
    color: #721c24;
    vertical-align: middle;
}
.out_of_stock_itivos_cart_checkout i{
    font-size: 14px;
}
.out_of_stock_itivos_cart_checkout i, .out_of_stock_itivos_cart_checkout span{
    display: inline-block;
    vertical-align: middle;
}
/*FIN */


.edit_stage {
	position: absolute;
	right: 0px;
	top: 22px;
}
#periods {
	max-width: 262px !important;
}
.itivos_cart_unit_date {
	display: block;
	line-height: 0.6;
	margin-bottom: 20px;
}
.price_change {
	display: block;
}
#price_subs {
	display: block;
}
.itivos_content_cicle {
	margin: 10px;
	background: #1111;
	padding: 10px;
}
.itivos_content_cicle label {
	color: #22222;
}
.itivos_cart_layer_product_row {
	width: 100%;
	height: 100px;
	min-height: 100px;
	padding: 10px;
	padding-top: 25px;
}
.itivos_cart_layer_product_row_img {
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background-color: #e3e3e3;
	margin-left: 10px;
	display: inline-grid;
	vertical-align: middle;
}
.itivos_cart_layer_product_row_text_content {
	width: 100%;
	max-width: 320px;
	display: inline-grid;
	vertical-align: middle;
	margin-left: 50px;
}
.itivos_cart_layer_product_row_title {
	background-color: #e3e3e3;
	width: 100%;
	height: 20px;
}
.itivos_cart_layer_product_row_subtitle {
	background-color: #e3e3e3;
	margin-top: 5px;
	height: 10px;
	width: 100%;	
	max-width: 100px;
}
.itivos_cart_layer_product_row_quantity {
	background-color: #e3e3e3;
	height: 35px;
	width: 100%;	
	margin-left: 30px;
	max-width: 50px;
	vertical-align: middle;
	display: inline-grid;
}
.itivos_cart_layer_product_row_button {
	background-color: #e3e3e3;
	height: 35px;
	width: 100%;	
	margin-left: 30px;
	max-width: 50px;
	vertical-align: middle;
	display: inline-grid;
}
select[name='quantity'] {
	max-width: 50px !important;
    margin: 0px;
    vertical-align: middle;
}
.text_empty_cart {
	padding-top: 10px;
}
.payment_form_card input{
	margin-bottom: 0px;
}
.desc_payment {
	vertical-align: middle;
	display: inline-grid;
}
.desc_payment .label {
	text-transform: uppercase;
}
.desc_payment .desc {
	font-style: italic;
	color: grey;
	font-size: 10px;
	text-transform: uppercase;
}
.add_to_cart {
	vertical-align: middle !important;
	margin-top: 2px !important;
}
.events_cart li { 
  display: flex; 
  color: #999;
}
.events_cart time { 
  position: relative;
  padding: 0 1.5em;  
}
.events_cart time::after { 
   content: "";
   position: absolute;
   z-index: 2;
   right: 0;
   top: 0;
   transform: translateX(50%);
   border-radius: 50%;
   background: #fff;
   border: 1px #ccc solid;
   width: .8em;
   height: .8em;
}
.events_cart span {
  padding: 0 1.5em 1.5em 1.5em;
  position: relative;
}
.events_cart span::before {
   content: "";
   position: absolute;
   z-index: 1;
   left: 0;
   height: 100%;
   border-left: 1px #ccc solid;
}
.events_cart strong {
   display: block;
   font-weight: bolder;
}
.events_cart { margin: 1em; width: 50%; }
.events_cart, 
.events_cart *::before, 
.events_cart *::after { box-sizing: border-box; font-family: arial; }
.cart_list_product_name {
	vertical-align: middle;
	padding-left: 20px;
}
/*
.cart_list_product{
	background-color: white;
	width: 100%;
	padding: 5px ;
	border-collapse: collapse;
	margin-top: 20px;
}
.cart_list_product thead th{
	color: white;
	padding: 5px;
	background-color: #557478;
	border: solid 1px #1111;
}
.cart_list_product tbody tr td{
	padding: 5px;
	border: solid 1px #1111;
}
.cart_list_product tbody tr td[class="right"]{
	float: initial !important;
	text-align: right;
}
.cart_list_product tbody tr td[class="left"]{
	float: initial !important;
	text-align: left;
}
.cart_list_product tbody tr td[class="center"]{
	float: initial !important;
	text-align: center;
}
.cart_list_product thead tr th[class="right"]{
	float: initial !important;
	text-align: right;
}
.cart_list_product thead tr th[class="left"]{
	float: initial !important;
	text-align: left;
}
.cart_list_product tbody tr:nth-child(even){
	background-color: #f2f2f2;
}
*/
.cart_product_row_img {
	width: 100%;
	max-width: 56px;
	vertical-align: middle;
}
.cart_upper_text {
	text-transform: uppercase;
}
#payments_methods {
	list-style: none !important;
}
#payments_methods li:hover {
	/*background-color: #1111;*/
}
#payments_methods li label {
	cursor: pointer;
	display: block;
	margin-bottom: 10px;
	padding: 10px;
}
.selected_payment {
	background-color: #1111;
}
.cart_combination_content {
	margin: 0px !important;
}
.cart_price {
    font-weight: bold;
	display: inline-table !important;
}
.cart_currency_row {
	display: inline-table !important;
    font-weight: 200;
    font-size: 12px;
}
.cart_input_full_width select {
	margin-bottom: 14px !important;	
}
.content_checkbox {
	display: inline-grid;
}

.info_address_content {
	vertical-align: middle;
	display: inline-grid;
	padding-left: 20px;
}
.dropdown_content_cart {
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  right: 10px;
}
.dropdown_content_cart a {
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    white-space: nowrap;
    cursor: pointer;
}
.dropdown_content_cart a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}
.drop_btn_cart {
	cursor: pointer;
}
.cart_address_list {
	text-decoration: none;
}
.content_address table{
	width: 100%;
	border-collapse: collapse;
}
.content_address table td{
	padding: 5px;
}
.content_address table td[class="right"]{
	float: initial !important;
	text-align: right;
}
.content_address table tr:hover {
	/*background-color: #8080800a;*/
}
.content_address table tr:nth-child(even){
	border-top: solid 1px #1111;
}
#button_add_more_address {
	margin-top: 20px;
}
.content_address {
	display: block;
	width: 100%;
}
.cart_amount_right {
	text-align: right;
}
.form-address-view form{
    max-width: 500px;
}
#shipping_companies {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 20px 0;
    margin-top: 0px;
    border: solid 1px #e0e0e0;
    border-radius: 8px;
}
.item-addres {
    border: 1px solid #e0e0e0;
}
.item-shipping-company, .item-addres {
    display: flex;
    align-items: center;
    /*border: 1px solid #e0e0e0;*/
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}
.item-shipping-company {
    padding: 0px;
}
.item-shipping-company:not(last-child) {
    border-radius: 8px;
}
.item-shipping-company label{
    padding: 0px;
    display: flex;
    width: 100%;
}
.item-shipping-company label:not(last-child){
    border-bottom: solid 1px #1111;
}
.item-shipping-company:hover, .item-addres:hover {
    border-color: #1990c6;
}

/* Estilos base para el elemento seleccionado */
.item-shipping-company.selected {
    background-color: #f1f7ff;
    border: solid 1px #1990c6;
}
#payment_methods {
    margin-bottom: 15px;
}
/* Primer elemento seleccionado - bordes superiores redondeados */
.item-shipping-company.selected:first-child,
#payment_methods.collapsible .acordeon-item:has(.acordeon-toggle:checked):first-child, 
#invoice_address.collapsible .acordeon-item:has(.acordeon-toggle:checked):first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Elementos del medio - sin bordes redondeados */
.item-shipping-company.selected:not(:first-child):not(:last-child),
#payment_methods.collapsible .acordeon-item:has(.acordeon-toggle:checked):not(:first-child):not(:last-child), 
#invoice_address.collapsible .acordeon-item:has(.acordeon-toggle:checked):not(:first-child):not(:last-child)  {
    border-radius: 0px;
}

/* Último elemento seleccionado - bordes inferiores redondeados */
.item-shipping-company.selected:last-child,
#payment_methods.collapsible .acordeon-item:has(.acordeon-toggle:checked):last-child, 
#invoice_address.collapsible .acordeon-item:has(.acordeon-toggle:checked):last-child  {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.item-addres, .item-shipping-company label {
    padding: 20px;
}
.item-addres:has(input:checked) {
    border-color: #1990c6;
    /*background-color: #f1f7ff;*/
}
/* Radio button personalizado */
.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.item-shipping-company:hover .radio-custom {
    border-color: #1990c6;
}

.item-shipping-company.selected .radio-custom{
    border-color: #1990c6;
}
input:checked + .radio-custom {
    border-color: #1990c6;
}

input:checked + .radio-custom .radio-inner {
    opacity: 1;
    transform: scale(1);
}
#payment_methods.collapsible label:not(last-child) {
    border-bottom: solid 1px #1111 !important;
}
#payment_methods.collapsible label:last-child {
    border-bottom: solid 0px !important;
}
#payment_methods.collapsible .acordeon-btn, #invoice_address.collapsible .acordeon-btn {
    justify-content: left;
    background-color: transparent;
    border-bottom: none;
    font-weight: 500;
    text-transform: lowercase;
    font-size: 1.4rem;
}
.form_address_invoice {
    margin: 15px;
}
.form_address_invoice input,
.form_address_invoice select,
.form_address_invoice textarea {
    background-color: white !important;
}
.form-address-invoice-content {    
    background-color: #8080800f;
}
body[page="checkout"] .collapsible .acordeon-btn span::first-letter {
    text-transform: uppercase;
}
#payment_methods.collapsible .acordeon-item:has(.acordeon-toggle:checked),
#invoice_address.collapsible .acordeon-item:has(.acordeon-toggle:checked) {
    border: solid 1px #1990c6;
    border-radius: 8px;
}
#payment_methods.collapsible .acordeon-item:not(:has(.acordeon-toggle:checked)),
#invoice_address.collapsible .acordeon-item:not(:has(.acordeon-toggle:checked)) {
    border-radius: 8px;
}
#payment_methods.collapsible .acordeon-item:has(.acordeon-toggle:checked) .radio-custom,
#invoice_address.collapsible .acordeon-item:has(.acordeon-toggle:checked) .radio-custom {
    border-color: #1990c6;
}
#payment_methods.collapsible .acordeon-item:has(.acordeon-toggle:checked) .radio-inner,
#invoice_address.collapsible  .acordeon-item:has(.acordeon-toggle:checked) .radio-inner {
    opacity: 1;
    transform: scale(1);
}
#payment_methods.collapsible .acordeon-content,
#invoice_address.collapsible .acordeon-content {
    background-color: transparent !important;
}
.payment-method-desc {
    display: flex;
    background-color: #8080800f;
}
.payment-method-desc span{
    padding: 25px;
}
.item-payment-method, .item-type-invoice-address {
    margin-bottom: 0px;
    transition: 0.3s;
}
.item-payment-method:hover, .item-type-invoice-address:hover {
    /*
    background-color: rgb(249, 249, 249);
    border: solid 1px;
    border-color: rgb(25, 144, 198) !important;
    */
}
.radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1990c6;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.radio-inner.checked {
    opacity: 1;
    transform: scale(1);
}

.item-shipping-company .label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}
.item-shipping-company .label span {
    text-transform: lowercase;
    font-size: 1.4rem;
    font-weight: 500;
}

.item-shipping-company .label span::first-letter {
    text-transform: uppercase;
}
.cart_next_btn {
	margin-top: 20px;
}
.cart_content_right {
	text-align: right;
}
.cart_input_middle {
	vertical-align: middle;
	max-width: 280px !important;
}
.cart_input_middle_tree {
	max-width: 188.33px !important;
}
.cart_input_full_width {
	max-width: 100% !important;
}
.cart_stage_completed {
	position: relative;
}
/*
.cart_stage_completed:after {
  font-family: 'Material Icons';
  content: "\e92d";
  right: 0px;
  top: 13px;
  transform: translateY(-50%);
  color: green;
  display: inline;
  vertical-align: middle;
}
*/
.cart-content-input-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cart-content-input-3col {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 124px 124px;
    gap: 15px;
}

.cart-content-cp-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
}
.cart-content-cp-row.international {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    align-items: start;
}
.cart-content-cp-row #suburb {
    width: 100%;
    max-width: 100%;
}

.cart-content-city-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cart-content-input-2col .floating-field,
.cart-content-input-3col .floating-field,
.cart-content-cp-row .floating-field,
.cart-content-city-row .floating-field {
    min-width: 0;
}

.cart-content-input-2col input,
.cart-content-input-3col input,
.cart-content-cp-row input,
.cart-content-city-row input,
.cart-content-city-row select {
    width: 100%;
}
.content_stage {
    padding-top: 20px;
    padding-bottom: 40px;
}
.content_stage select {
	margin-bottom: 15px !important;
}

.register_form_cart input[type='submit'] {
	margin-top: 40px;
}
.register_form_cart .label {
    padding-left: 10px;
}
.guest_list {
	list-style: none;
}
.guest_list li {
	display: inline-grid;
	padding-right: 20px;
}
.checkout-btn {
	width: 100%;
	display: block;
	text-align: center;
}
.cart_sumary_quantity {
	padding-right: 10px;
}
.content_checkout_btn {
	margin-top: 45px;
    margin-bottom: 25px;
}
.cart_product_ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.cart_product_ul li{
	border-bottom: solid 1px #1111;
	padding: 10px;
}
.cart_container_product_row .name_product{
	text-transform: capitalize;
}
.cart_product_delete {
    width: 100%;
    max-width: 40px;
    vertical-align: middle;
    display: inline-grid;
    text-align: right;
    float: right;
}
.cart_product_delete i {
	width: 100%;
	max-width: 60px;
	cursor: pointer;
}
.cart_img_product_row {
	vertical-align: middle;
	display: inline-grid;
	align-items: center;
}
.cart_img_product_row img {
	width: 100%;
	max-width: 56px;
}
.cart_detail_product_row {
	width: 100%;
	max-width: 320px;
	vertical-align: middle;
	display: inline-grid;
}
.cart_detail_product_row span {
	display: block;
}
.cart_quantity_product_row {
	text-align: right;
	vertical-align: middle;
	display: inline-grid;
}
.cart_quantity_product_row input {
    max-width: 70px !important;
    width: 100% !important;
    height: 30px !important;
    padding: 0px !important;
    background-color: initial !important;
    margin: 0px !important;
    border: none !important;
}
.cart_quantity_product_row input::-webkit-inner-spin-button {
	opacity: 1 !important;
}
.cart_menu_li {
	position: relative;
}

#cart-products-edit h1{
    margin: 0px;
    margin-bottom: 30px;
    font-size: 18px;
}
.container_logo_cart {
	padding-top: 5px;
} 
.cart_add_product_content input[type="number"]{
	max-width: 50px;
}
.product-miniature.list .cart_add_product_content button {
    margin-top: 15px;
    padding: 5px;
}
.cart_add_product_content button {
	width: 100%;
	max-width: fit-content;
    vertical-align: middle;
}
.cart_add_product_content button i {
	vertical-align: middle;
}
.cart_add_product_content button span {
	vertical-align: middle;
}
.cart_add_product_content.add-to-cart-miniature {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.cart_add_product_content.add-to-cart-miniature .addToCartRow {
    cursor: pointer;
    color: #292929;
    border: none;
    transition: all 0.3s;
    opacity: 0;
    border-radius: 5px;
    padding: 5px;
}
.product-miniature.grid:hover .cart_add_product_content.add-to-cart-miniature .addToCartRow {
    opacity: .8;
}
.cart_message {
	padding: 5px;
}
.cart_error_message {
	color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#container_stages {
	background-color: white;
    border: none;
    border-right: solid 1px #1111;
    padding: 20px;
    padding-left: 0px;
    padding-right: 40px;
    border-bottom: solid 1px #1111;
    margin-bottom: 25px;
    padding-bottom: 50px;
}
#container_sumary {
	
}
#container_stages ul {
	padding: 0px;
    list-style: none;
}
#cart_container_resume {
	background-color: white;
	border: solid 1px #1111;
	padding-left: 20px;
	padding-right: 20px;
}
#cart_container_resume table {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}
#cart_container_resume table tr:nth-child(even){
	border-bottom: solid 1px #1111;
    background-color: transparent;
}
#cart_container_resume table tr td{
	padding-top: 15px;
	padding-bottom: 10px;
}
#stages_list {
	padding-top: 10px;
}
#stages_list li{
	display: inline;
	padding-right: 10px;
}
.cart_menu_li span[class="label"] {
	display: initial;
}
body[page="checkout"] {
    background-color: white;
}
body[page="checkout"] #header_nav {
    border-bottom: solid 1px #1111;
}
body[page="checkout"] .floating-field {
    margin-bottom: initial;
}
body[page="checkout"] .collapsible {
    border: solid 1px #e0e0e0;
    border-radius: 8px;
}
body[page="checkout"] .collapsible .acordeon-content  {
    font-size: 14px;
}
.process_cart {
	text-transform: uppercase;
}
.address-content {
    display: flex;
    gap: 25px;
}
.cart-item-addres {
    position: relative;
    max-width: 500px;
    margin-bottom: 35px;
    background: white;
    padding: 20px;
    border-radius: 3px;
    border: solid 1px #1111;
}
.dropdown_cart {
    position: absolute;
    top: 25px;
    right: 10px;
}
.dropdown_cart.stage1 {
    position: initial;
}
.cart-icon-account {
    font-size: 14px;
    display: inline-grid;
    padding: 6px;
    border-radius: 50%;
    /* width: 33px; */
    text-transform: uppercase;
    background: #d1ffff;
    border: solid 1px #c1ebec;
    color: #000000;
}
.cart-account-logged {
    font-size: 16px;
}
.cart-account-logged-content .drop_btn_cart {
    color: #666 !important;
}
#addresses-content-checkout .item-addres {
    font-weight: 300;
}
.address-content .cart-item-addres{
    font-weight: 300;
    padding-top: 45px;
}
.cart-go-to-pre-checkout {
    margin-top: 25px;
    display: block;
    color: var(--primary-color) !important;
}
.address-default {
    color: white;
    background-color: #222;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    left: 20px;
    top: 10px;
    font-size: 10px;
    text-transform: uppercase;
}

/* ========== LISTA DE PRODUCTOS ========== */
.cart_product_ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Cada fila de producto - LAYOUT FLEX */
#cart_dinamic_products_content .cart_container_product_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    background: white;
    border-bottom: 1px solid var(--cart-border);
    padding: 20px 15px;
    transition: all 0.3s ease;
}

#cart_dinamic_products_content .cart_container_product_row:hover {
    background-color: var(--cart-bg-hover);
    transform: translateX(5px);
}

/* COLUMNA 1: IMAGEN */
#cart_dinamic_products_content .cart_img_product_row {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#cart_dinamic_products_content .cart_img_product_row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#cart_dinamic_products_content .cart_img_product_row img:hover {
    transform: scale(1.05);
}

/* COLUMNA 2: DETALLES DEL PRODUCTO */
#cart_dinamic_products_content .cart_detail_product_row {
    flex: 2;
    min-width: 180px;
}

#cart_dinamic_products_content .name_product {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cart-text);
    margin-bottom: 8px;
    display: block;
    text-transform: capitalize;
    line-height: 1.4;
}

#cart_dinamic_products_content .cart_combination_content {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 !important;
}

#cart_dinamic_products_content .cart_price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--cart-primary);
    display: inline-block;
}

#cart_dinamic_products_content .cart_currency_row {
    font-weight: 400;
    font-size: 0.75rem;
    color: #777;
    display: inline-block;
}

/* COLUMNA 3: CANTIDAD */
#cart_dinamic_products_content .cart_quantity_product_row {
    flex-shrink: 0;
    min-width: 130px;
    height: 65px;
    padding-top: 15px;
}
/* COLUMNA 4: ELIMINAR */
#cart_dinamic_products_content .cart_product_delete {
    flex-shrink: 0;
    margin-left: auto;
}

#cart_dinamic_products_content .itivos-cart-product-row-del {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

#cart_dinamic_products_content .itivos-cart-product-row-del:hover {
    background-color: #fee;
    color: var(--cart-danger);
    transform: scale(1.1);
}

#cart_dinamic_products_content .itivos-cart-product-row-del i {
    font-size: 22px;
}



.save-indicator {
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
    transition: opacity 0.3s ease;
    min-width: 70px;
    
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.save-indicator.saving {
    color: #ff9800;
}

.save-indicator.saving::after {
    content: "Guardando...";
}

.save-indicator.success {
    color: #4caf50;
}

.save-indicator.success::after {
    content: "✓ Guardado";
}

.save-indicator.error {
    color: #f44336;
}

.save-indicator.error::after {
    content: "✗ Error";
}

/* Estilos para los botones */
.btn-increase, .btn-decrease {
    cursor: pointer;
    padding: 5px 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-increase:hover, .btn-decrease:hover {
    background: #e0e0e0;
}

.quantityInputView {
    width: 60px;
    text-align: center;
    margin: 0 5px;
    padding: 5px;
}
.cart-title-session {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    position: relative;
}
.cart-title-session h2, .cart-title-session h3, 
.cart-title-session h4{
    padding: 0px;
    margin: 0px;
    font-weight: 500;
}
.h2-cart {
    font-size: 2.1rem;
}
.h3-cart {
    font-size: 1.6rem;
    padding-top: 10px !important;
    padding-bottom: 15px !important;
}
.cart-title-session a {
    color: rgb(25,144,198) !important;
    font-size: 13px;
}
.cart-discount-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 55px;
    gap: 1px;
}
.cart-discount-container input{
    background-color: white !important;
    max-width: 100% !important;
}
.cart-discount-container button {
    height: 40px;
    background: white;
    border: solid 1px #cbcbcb;
    border-radius: 3px;
    cursor: pointer;
    opacity: .7;
}
.cart-discount-container button:hover {
    opacity: 1;
}
body[page="checkout"] #logo img {
    max-width: 100px;
    padding-top: 25px;
}
body[page="checkout"] .floating-form .floating-field input {
    max-width: 100%;
}
.cart-desc {
    font-size: 13px;
    color: grey;
    margin-bottom: 0px;
}
.cart-button-payment {
    width: 100%;
    height: 50px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    opacity: .8;
    transition: all 0.3s;
    font-size: 16px;
}
.cart-button-payment:hover {
    opacity: 1;
}
.cart-logged-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.cart-logged-container .dropdown .dropdown-content a:hover {
    background-color: white;
}
.cart-logged-container .dropdown > a {
    padding: 0px;
    text-decoration: none;
}
.order-summary {
    margin-top: 25px;
}

.order-summary table {
    width: 100%;
    border-collapse: collapse;
}

.order-summary thead {
    display: none;
}

.order-summary td {
    padding: 0;
    border: 0;
}

.order-summary-product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

.order-summary-product:last-child {
    border-bottom: none;
}

.order-summary-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ececec;
    flex-shrink: 0;
}

.order-summary-product__info {
    flex: 1;
}

.order-summary-product__name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.order-summary-product__meta {
    font-size: 13px;
    color: #777;
}

.order-summary-product__price {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}


/* HERE */
.order-success-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

.order-success {
    text-align: center;
    margin-bottom: 35px;
}

.order-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eaf8ef;
    color: #22a447;
    font-size: 34px;
    font-weight: 700;
    line-height: 72px;
}

.order-success h1 {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
}

.order-success-reference {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.order-success-message, .order-email-note {
    color: #777;
    max-width: 600px;
    margin: 0 auto 20px;
}

.btn-follow-order,
.btn-create-account {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    text-decoration: none;
    transition: .2s ease;
}

.btn-follow-order:hover,
.btn-create-account:hover {
    opacity: .9;
    color: #fff;
    text-decoration: none;
}

.order-card,
.order-products-card,
.order-create-account {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 24px;
    margin-bottom: 20px;
}

.order-card-title {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.order-info-list {
    display: flex;
    flex-direction: column;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.order-info-row:not(:last-child) {
    border-bottom: 1px solid #f2f2f2;
}

.order-info-row span {
    color: #666;
}

.order-info-row strong {
    color: #222;
}

.order-address p {
    margin-bottom: 8px;
}

.order-address-notes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f2f2f2;
}

.cart-product-list-content table {
    width: 100%;
    border-collapse: collapse;
}

.cart-product-list-content thead th {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #ececec;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
}

.cart-product-list-content tbody td {
    padding: 16px;
    border-bottom: 1px solid #f3f3f3;
    vertical-align: middle;
}

.cart-product-list-content tbody tr:last-child td {
    border-bottom: none;
}

.order-create-account {
    text-align: center;
}

.order-create-account h4 {
    margin-bottom: 10px;
}

.order-create-account p {
    color: #666;
    margin-bottom: 20px;
}
.order-email-note {
    margin-top: 25px;
}
#type-invoice-address-content .collapsible{
    margin-top: 15px;
}

/* Base (mobile first) */
#cartConfirmAdded {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 11;
    width: 100%;
    display: flex;
    transition: all 0.3s ease;
}

/* El padding-left será el overlay transparente en desktop */
.cart-confirm-padding-left {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.cart-confirm-content {
    width: 100%;
    max-width: 100%;
    background: white;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: all 0.3s ease;
}
.cart-confirm-content h3 {
    display: flex;
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
    gap: 10px;
    padding: 5px;
}
.cart-confirm-content .title-cart-confirm {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    position: absolute;
    z-index: 9;
    width: 100%;
    background: white;
    left: 0px;
    padding-left: 10px;
    padding-right: 20px;
}
.summary-cart-confirm {
    position: absolute;
    bottom: 20px;
    border-top: solid 1px #1111;
    width: calc(100% - 40px);
}
.summary-cart-confirm .summary-item-row {
    display: flex;
    justify-content: space-between;
}
/* Contenedor principal del listado de productos */
#cartConfirmProducts {
    background: #ffffff;
    height: calc(100vh - 290px);
    overflow-y: auto;
    margin-top: 50px;
}

/* Cada fila de producto - layout vertical siempre */
#cartConfirmProducts .cart_container_product_row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
    background-color: #f9f8f8;
}

/* Imagen - arriba */
#cartConfirmProducts .cart_img_product_row {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

#cartConfirmProducts .cart_img_product_row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Detalles del producto - debajo de la imagen */
#cartConfirmProducts .cart_detail_product_row {
    width: 100%;
    text-align: center;
    margin-left: 0px;
}

#cartConfirmProducts .cart_detail_product_row .name_product {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 4px;
    word-break: break-word;
}

#cartConfirmProducts .cart_detail_product_row .cart_combination_content {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

#cartConfirmProducts .cart_detail_product_row .cart_price {
    font-size: 16px;
    font-weight: bold;
    color: #0a7cff;
}

#cartConfirmProducts .cart_detail_product_row .cart_currency_row {
    font-size: 11px;
    color: #666;
}

/* Cantidad y eliminar - misma fila */
#cartConfirmProducts .cart_quantity_product_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

#cartConfirmProducts .input-container-quantityInputView {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 3px;
}

#cartConfirmProducts .btn-decrease,
#cartConfirmProducts .btn-increase {
    width: 26px;
    border-radius: 4px;
}

#cartConfirmProducts .quantityInputView {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    padding: 4px;
}

#cartConfirmProducts .quantityInputView:focus {
    outline: none;
}

/* Botón eliminar */
#cartConfirmProducts .cart_product_delete {
    display: flex;
    align-items: center;
}

#cartConfirmProducts .itivos-cart-product-row-del {
    border: none;
    cursor: pointer;
    color: #e74c3c;
    padding: 7px;
    border-radius: 4px;
    position: absolute;
    bottom: 22px;
    right: 25px;
}

#cartConfirmProducts .itivos-cart-product-row-del i {
    font-size: 18px;
}
.cart-confirm-currency {
    font-weight: 300;
    opacity: .5;
    font-size: 12px;
}
/* Indicador de guardado */
#cartConfirmProducts .save-indicator {
    font-size: 10px;
    color: #4caf50;
    position: absolute;
    left: 5px;
    bottom: 5px;
}

/* Scroll personalizado */
#cartConfirmProducts::-webkit-scrollbar {
    width: 4px;
}

#cartConfirmProducts::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#cartConfirmProducts::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

body.modal-open-cart {
    overflow: hidden;
    touch-action: none;
}
/* Mobile (menos de 768px) - mismo layout pero ajustando alturas */
@media (max-width: 768px) {
    .summary-cart-confirm {
        position: initial;
        width: 100%;
        padding: 20px;
        left: 0px;
        background-color: white;
    }
    #cartConfirmProducts {
        height: 250px;
    }
    
    #cartConfirmProducts .cart_container_product_row {
        padding: 10px;
    }
    
    #cartConfirmProducts .cart_img_product_row {
        width: 70px;
        height: 70px;
    }
    
    #cartConfirmProducts .btn-decrease,
    #cartConfirmProducts .btn-increase {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    #cartConfirmProducts .quantityInputView {
        width: 50px;
        font-size: 16px;
    }
}

/* Estado oculto del modal */
#cartConfirmAdded.cart-hide-modal-added {
    visibility: hidden;
    opacity: 0;
}

#cartConfirmAdded.cart-hide-modal-added .cart-confirm-padding-left {
    background: rgba(0, 0, 0, 0);
}

#cartConfirmAdded.cart-hide-modal-added .cart-confirm-content {
    transform: translateX(100%);
}

/* Estado visible del modal (override de la clase oculta) */
#cartConfirmAdded:not(.cart-hide-modal-added) .cart-confirm-content {
    transform: translateX(0);
    padding-top: 15px;
}

#cartConfirmAdded:not(.cart-hide-modal-added) .cart-confirm-padding-left {
    background: rgba(0, 0, 0, 0.5);
}

/* Desktop (> 768px) */
@media (min-width: 769px) {
    .cart-confirm-content {
        width: 100%;
        max-width: 350px;
    }
    
    /* Aseguramos que el padding-left ocupe todo el espacio restante */
    #cartConfirmAdded {
        display: flex;
    }
}

/* Mobile (< 768px) - Ocultamos el overlay */
@media (max-width: 768px) {
    .cart-confirm-padding-left {
        display: none;
    }
    
    .cart-confirm-content {
        width: 100%;
        max-width: 100%;
        margin: auto;
        border-radius: 20px 20px 0 0;
        position: absolute;
        bottom: 0;
        left: 0;
        max-height: 80vh;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    /* En mobile, el modal sube desde abajo */
    #cartConfirmAdded:not(.cart-hide-modal-added) .cart-confirm-content {
        transform: translateY(0);
    }
    
    /* Ajustamos el contenedor principal para mobile */
    #cartConfirmAdded {
        background: rgba(0, 0, 0, 0);
        display: flex;
        align-items: flex-end;
    }
    
    #cartConfirmAdded:not(.cart-hide-modal-added) {
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 768px) {

    .order-success h1 {
        font-size: 26px;
    }

    .order-card,
    .order-products-card,
    .order-create-account {
        padding: 18px;
    }

    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-product-list-content {
        overflow-x: auto;
    }
}
body[page="checkout"] .cart-item-addres {
    max-width:100%;
    margin-bottom: 20px;
    background: white;
    padding: initial;
    border-radius: initial;
    border: none;
    margin-bottom: 20px;
}
@media(min-width: 992px){
    body[page="checkout"] .container {
        width: 1050px;
    }
    body[page="checkout"] {
        overflow-x: hidden; /* Evita scroll horizontal */
    }
    
    body[page="checkout"] .row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0px;
        position: relative;
    }
    
    body[page="checkout"] .col-md-7 {
        padding-right: 0px;
    }
    
    body[page="checkout"] .col-md-5 {
        position: relative;
        background-color: #fafafa; /* Tu color gris */

        position: sticky;
        top: 0px;
        align-self: flex-start;
        height: fit-content;
        min-height: 100vh;
    }
    
    /* Truco: crear un pseudo-elemento que extienda el gris */
    body[page="checkout"] .col-md-5::before {
        content: '';
        position: absolute;
        top: 0;
        left: 100%; /* Empieza donde termina la columna */
        width: 100vw; /* Ancho de toda la ventana */
        height: 100%;
        background-color: #fafafa; /* Mismo gris */
        z-index: -1;
    }
    
    /* Alternativa más agresiva si lo anterior no funciona */
    body[page="checkout"] .container {
        position: relative;
        overflow: visible;
    }
}
.shipping-company-content .label {
    padding-left: 10px;
    text-transform: lowercase;
}
.shipping-company-content .label:first-letter {
    text-transform: uppercase;
}
#cart_container_resume .cart-discount-container.mobile{
    visibility: hidden;
}
.totals-mobile-checkout {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    visibility: hidden;
    position: absolute;
    z-index: -1;
}
.totals-mobile-checkout {
    margin-top: 25px;
    margin-bottom: 10px;
}
.summary-cart-confirm .cart_sumary_with_taxes {
    color: #343434;
}
.totals-mobile-checkout .cart_sumary_with_taxes, .summary-cart-confirm .cart_sumary_with_taxes{
    font-size: 1.9rem;
    font-weight: bold;
}
.count-articules-letter {
    color: #0000008f;
}
body[page="checkout"] .cart-discount-container.mobile {
    visibility: hidden;
    position: absolute;
    z-index: -1;
}
.checkout-links ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
    margin-bottom: 50px;
}
.checkout-links li{
    display: inline-grid;
    padding-right: 15px;
    font-size: 16px;
}
.checkout-links li a {
    color: rgb(25,144,198) !important;
}
.cart-name-content {
    margin-top: 25px;
}
.cart-name-content .floating-field {
    margin-bottom: 0px;
}
.b2b-actions-cart {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

/* Módulo itivos_cart - Badge para contadores */
.itivos_cart-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 8px;
    background-color: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;

    position: absolute;
    top: 10px;
    right: 10px;
}

/* Variante para cuando hay 0 (opcional) */
.itivos_cart-badge--zero {
    background-color: #6c757d;
    opacity: 0.6;
}

/* Variante para B2B (puedes cambiar color) */
.itivos_cart-badge--b2b {
    background-color: #ff6b35;
}

/* Animación sutil cuando cambia el número */
.itivos_cart-badge--pulse {
    animation: itivos_cart_pulse 0.3s ease-in-out;
}

@keyframes itivos_cart_pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
@media (max-width: 600px) {
    .cart-content-input-2col,
    .cart-content-input-3col,
    .cart-content-cp-row,
    .cart-content-city-row {
        grid-template-columns: 1fr;
    }
    .form-address-view form{
        padding: 10px;
    }
}
@media (max-width: 992px) {
    /*
    body[page="Carrito"] #cart-products-edit .row {
        display: grid;
    }
    body[page="Carrito"] #cart-products-edit .col-md-4 {
        order: -1;
    }
    */
    #container_stages {
        border-right: none;
        padding-right: 0px;
    }
    body[page="checkout"] .row {
        display: grid;
    }
    body[page="checkout"] .cart-discount-container.desktop {
        display: none;
    }
    body[page="checkout"] .cart-discount-container.mobile {
        visibility: visible;
        position: relative;
        z-index: 1;
    }
    body[page="checkout"] #cart_container_resume {
        display: none;
    }
    body[page="checkout"] .cart_sumary_quantity {
        padding-right: 0px;
    } 
    .totals-mobile-checkout {
        visibility: visible;
        position: relative;
        z-index: 1;
    }

}