.lang-switcher .dropdown-heading .dropdown-icon {
	background-position-y: 5%;
	padding-bottom: 5px;
	width: 30px;
}

/* Cabecera: franja superior de ayuda, bienvenida y moneda */
.header-top-container {
    border-bottom: 1px solid #e4e8e5;
    background: #f7f8f7;
}

.header-top-container .header-top {
    min-height: 36px;
}

.header-top-container .links-wrapper-separators .links {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-top-container .links-wrapper-separators .links > li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 11px;
    border-left: 1px solid #dfe3e0;
}

.header-top-container .links-wrapper-separators .links > li:first-child {
    padding-left: 0;
    border-left: 0;
}

.header-top-container .links-wrapper-separators .links > li:last-child {
    padding-right: 11px;
}

.header-top-container .links-wrapper-separators a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0;
    color: #3f4541;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.header-top-container .links-wrapper-separators a:hover,
.header-top-container .links-wrapper-separators a:focus,
.header-top-container .currency-switcher .dropdown-heading:hover,
.header-top-container .currency-switcher .dropdown-heading:focus {
    color: #07813d;
}

.header-top-container .links-wrapper-separators .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.header-top-container .links-wrapper-separators .icon img {
    display: block;
    width: auto;
    max-width: 18px;
    height: auto;
    max-height: 18px;
}

.header-top-container .welcome-msg {
    min-height: 36px;
    margin: 0;
    color: #626963;
    font-size: 12px;
    line-height: 36px;
}

.header-top-container .currency-switcher .dropdown-heading {
    min-height: 36px;
    color: #3f4541;
    font-size: 12px;
    font-weight: 600;
    line-height: 36px;
}

@media only screen and (max-width: 767px) {
    .header-top-container .links-wrapper-separators .links > li {
        padding-right: 9px;
        padding-left: 9px;
    }

    .header-top-container .links-wrapper-separators .links > li:first-child {
        padding-left: 0;
    }

    .header-top-container .links-wrapper-separators .icon {
        margin-right: 5px;
    }
}

/* Cabecera: legibilidad y controles del minicarrito en todas las tiendas */
#header-cart #cart-sidebar > li {
    box-sizing: border-box;
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

#header-cart #cart-sidebar > li:first-child {
    padding-top: 4px;
}

#header-cart #cart-sidebar > li:last-child {
    padding-bottom: 4px;
    border-bottom: 0;
}

#header-cart .mini-products-list .btn-remove,
#header-cart .mini-products-list .btn-edit {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    margin-left: 4px;
    line-height: 28px;
    text-align: center;
}

#header-cart .mini-products-list .btn-remove::before,
#header-cart .mini-products-list .btn-edit::before {
    line-height: 28px;
}

/* Cabecera: icono vectorial y contador moderno del carrito */
#mini-cart .mini-cart-heading > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

#mini-cart .mini-cart-heading .ic-cart {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 8H6'/%3E%3Ccircle cx='10' cy='20' r='1.25' fill='%23333333' stroke='none'/%3E%3Ccircle cx='18' cy='20' r='1.25' fill='%23333333' stroke='none'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
}

#mini-cart .mini-cart-heading .ic-cart::before {
    content: none;
}

#mini-cart .mini-cart-heading .count {
    position: absolute;
    z-index: 1;
    top: -3px;
    left: 17px;
    display: inline-block;
    box-sizing: border-box;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #07813d;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

#mini-cart .mini-cart-heading .summary {
    margin-left: 6px;
    font-weight: 600;
}

#mini-cart .mini-cart-heading .summary::before {
    content: "\00b7";
    margin-right: 6px;
    color: #999;
}

/* Cabecera móvil: carrito integrado en la barra y desplegable bien anclado */
@media only screen and (max-width: 959px) {
    .header-mobile .hp-blocks-holder {
        position: relative;
    }

    .header-mobile #mini-cart-wrapper-mobile {
        position: relative;
        display: block;
        float: left;
        width: 25%;
        height: 50px;
    }

    .header-mobile #mini-cart-wrapper-regular {
        position: absolute;
        z-index: 4100;
        right: 0;
        bottom: 0;
        width: 25%;
        height: 50px;
    }

    .header-mobile #mini-cart {
        position: relative;
        width: 100%;
        height: 50px;
    }

    .header-mobile #mini-cart .mini-cart-heading {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        height: 50px;
        min-height: 50px;
        padding: 0;
        background: #fafafa;
        box-shadow: none;
        line-height: 50px;
    }

    .header-mobile #mini-cart .mini-cart-heading > span {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 50px;
    }

    .header-mobile #mini-cart .mini-cart-heading .ic-cart {
        margin-right: 0;
    }

    .header-mobile #mini-cart .mini-cart-heading .count {
        top: 1px;
        left: 50%;
        box-sizing: border-box;
        min-width: 22px;
        height: 22px;
        margin-left: 3px;
        padding: 0 4px;
        font-size: 11px;
        line-height: 18px;
    }

    .header-mobile #mini-cart .mini-cart-heading .label,
    .header-mobile #mini-cart .mini-cart-heading .summary,
    .header-mobile #mini-cart .mini-cart-heading .caret {
        display: none;
    }

    .header-mobile #header-cart {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        box-sizing: border-box;
        width: 400% !important;
        max-width: none !important;
        max-height: calc(100vh - 120px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}
.lang-switcher .dropdown-content .dropdown-icon {
	background-position: left top;
	padding: 5px 0;
	width: 30px;
}
.ib, .feature > span.icon, .icon.i-telephone {
	display: inline-block;
}
.icon.i-telephone {
	height: 27px;
	vertical-align: -15%;
	width: 35px;
}
.the-slideshow-wrapper .item.slide {
	position: relative;
}
.store-icons {
	list-style: none;
	display: inline-block;
	margin: 0 0 0 15px;
	padding: 0;
	width:250px;
	vertical-align: middle;
}
.store-icons li {
	display: inline-block;
	margin-left: 10px;
	width: 45px;
	text-align: center;
}
.store-icons a {
	color: #8c8d8e;
	display: inline-block;
	text-align: center;
}
.header .logo-wrapper .logo {
	vertical-align: middle;
}
.header-mobile .logo-wrapper--mobile {
	width: 95%;
}
.header-mobile .logo-wrapper--mobile .logo {
	display: inline-block;
	vertical-align: middle;
}
.caption.bottom-full {
	left: 0;
	margin: 6% 0 8% 0;
	text-align: center;
	width: 100%;
}
.caption.bottom-full > br {
	display: none;
}
#cc_type_auto_row .payment-type-image {
	display: inline-block;
	margin-right: 2px;
}
.quote-preorder-note {
	font-weight: bold;
	color: red;
	padding: 15px 15px 0 15px;
}
@media only screen and (max-width: 767px) {
	.caption > div.aw_countdown_timer_container_merca {
		display: inline-block !important;
	}
}
@media only screen and (max-width: 580px) {
	.aw_countdown_timer_container_merca div.aw_countdown_seconds,.aw_countdown_timer_container_merca div.aw_countdown_hours,.aw_countdown_timer_container_merca div.aw_countdown_minutes, .aw_countdown_timer_container_merca div.aw_countdown_days{
		padding: 3px 0;
		width: 35px;
	}
}
@media only screen and (max-width: 380px) {
	.aw_countdown_timer_container_merca div.aw_countdown_seconds,.aw_countdown_timer_container_merca div.aw_countdown_hours,.aw_countdown_timer_container_merca div.aw_countdown_minutes, .aw_countdown_timer_container_merca div.aw_countdown_days{
		padding: 3px 0;
		width: 35px;
	}
	.caption.bottom-full {
		margin-bottom: 4%;
	}
}

/* =========================================================
   CARRITO: BOTÓN PRINCIPAL "FINALIZAR COMPRA"
   ========================================================= */

.cart .totals .checkout-types {
    display: block;
    width: 100%;
    text-align: center;
}

.cart .totals .checkout-types li {
    display: block;
    width: 100%;
}

.cart .totals .checkout-types .btn-checkout,
.cart .totals .checkout-types .btn-proceed-checkout {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 8px 0 10px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: #087536;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

/* Elimina los estilos antiguos de los dos span interiores */
.cart .totals .checkout-types .btn-checkout span,
.cart .totals .checkout-types .btn-proceed-checkout span {
    display: block;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    line-height: inherit;
    text-align: center;
    text-transform: none;
}

/* Efecto al pasar el cursor */
.cart .totals .checkout-types .btn-checkout:hover,
.cart .totals .checkout-types .btn-proceed-checkout:hover {
    background: #065c2a;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.18);
}

/* Efecto al pulsar */
.cart .totals .checkout-types .btn-checkout:active,
.cart .totals .checkout-types .btn-proceed-checkout:active {
    background: #054c23;
    box-shadow: none;
    transform: translateY(1px);
}

/* Navegación mediante teclado */
.cart .totals .checkout-types .btn-checkout:focus,
.cart .totals .checkout-types .btn-proceed-checkout:focus {
    outline: 3px solid rgba(8, 117, 54, 0.28);
    outline-offset: 3px;
}

/* Ajuste para móvil */
@media only screen and (max-width: 767px) {
    .cart .totals .checkout-types .btn-checkout,
    .cart .totals .checkout-types .btn-proceed-checkout {
        min-height: 54px;
        padding: 0 16px;
        font-size: 16px;
    }
}

.cart .totals .cart-summary-label {
    font-weight: 600;
}

/* =========================================================
   CABECERA: CAMPO DE BÚSQUEDA
   ========================================================= */

#search_mini_form .form-search {
    height: 44px;
}

#search_mini_form .form-search input#search {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 0 56px 0 14px;
    border: 1px solid #8a8a8a;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    font-family: inherit;
    font-size: 14px;
    line-height: 44px;
}

#search_mini_form .form-search input#search::placeholder {
    color: #666666;
    opacity: 1;
}

#search_mini_form .form-search input#search:focus {
    border-color: #087536;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(8, 117, 54, 0.22);
}

#search_mini_form .form-search button.button {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #087536 !important;
    color: #ffffff;
    line-height: 44px;
}

#search_mini_form .form-search button.button::before {
    color: #ffffff;
    font-size: 18px;
    line-height: 44px;
}

#search_mini_form .form-search button.button:hover {
    background: #065c2a !important;
}

#search_mini_form .form-search button.button:focus {
    outline: 2px solid #087536;
    outline-offset: 2px;
}

#search_mini_form .search-autocomplete {
    top: 44px;
}

/* =========================================================
   CARRITO: DISTRIBUCIÓN DE ENVÍO, MÉTODOS, TOTAL Y CUPÓN
   ========================================================= */

.ms-cart-collaterals {
    clear: both;
}

.ms-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
    width: 100%;
}

.ms-cart-shipping-area,
.ms-cart-summary-area {
    min-width: 0;
}

.ms-cart-shipping-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.ms-shipping-estimator,
.ms-shipping-methods {
    min-width: 0;
}

.ms-shipping-estimator {
    padding-right: 25px;
    border-right: 1px solid #e1e1e1;
}

.ms-cart-shipping .form-list,
.ms-cart-shipping .input-box,
.ms-cart-shipping select,
.ms-cart-shipping input.input-text {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

.ms-cart-shipping .buttons-set {
    margin-top: 14px;
}

.ms-cart-summary-area .totals {
    float: none;
    width: 100%;
}

.ms-cart-summary-area .totals-inner {
    padding-bottom: 0;
}

.ms-cart-summary-area .checkout-types {
    margin-bottom: 0;
}

.ms-cart-coupon {
    margin: 14px -20px 0;
    border-top: 1px solid #dedede;
}

.ms-coupon-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    background: transparent;
    color: #274e79;
    font: inherit;
    cursor: pointer;
}

.ms-coupon-toggle:hover,
.ms-coupon-toggle:focus {
    color: #07813d;
    outline: none;
}

.ms-coupon-arrow {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ms-cart-coupon.is-open .ms-coupon-arrow {
    transform: rotate(180deg);
}

.ms-coupon-content {
    padding: 0 20px 20px;
}

.ms-coupon-content[hidden] {
    display: none !important;
}

.ms-coupon-content label {
    display: block;
    margin-bottom: 8px;
}

.ms-coupon-content .input-box,
.ms-coupon-content .input-text {
    box-sizing: border-box;
    width: 100%;
}

.ms-coupon-content .buttons-set {
    margin-top: 10px;
}

.ms-cart-crosssell {
    margin-top: 30px;
}

@media only screen and (max-width: 767px) {
    .ms-cart-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .ms-cart-summary-area {
        order: 1;
        width: 100%;
    }

    .ms-cart-shipping-area {
        order: 2;
        width: 100%;
    }

    .ms-cart-shipping-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ms-shipping-estimator {
        padding-right: 0;
        border-right: 0;
    }

    .ms-cart-summary-area .totals,
    .ms-cart-summary-area .button,
    .ms-cart-shipping .button {
        width: 100%;
    }

    .ms-cart-summary-area .button span,
    .ms-cart-summary-area .button span span,
    .ms-cart-shipping .button span,
    .ms-cart-shipping .button span span {
        display: block;
        box-sizing: border-box;
        width: 100%;
    }
}

