/*
Theme Name: Market3

WooCommerce styles override
*/



.page-description {
    margin-top: 4.5em;
}


h1.woocommerce-products-header__title.page-title {
    margin: 0 0 1.2em;
}


ul.products {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
}

@media screen and (min-width: 893px) {
ul.products {
    column-gap: 20px;
    row-gap: 20px;
}
/*
ul.products.columns-2 { column-gap: 5%; }
ul.products.columns-2 li { width: 47.5%; }
ul.products.columns-3 { column-gap: 3.7%; }
ul.products.columns-3 li { width: 30.866%; }
ul.products.columns-4 { column-gap: 2.5%; }
ul.products.columns-4 li { width: 23.125%; }
ul.products.columns-5 { column-gap: 1.8%; }
ul.products.columns-5 li { width: 18.56%; }
ul.products.columns-6 { column-gap: 1.2%; }
ul.products.columns-6 li { width: 15.666%; }
*/

ul.products.columns-1 li { width: 100%; }
ul.products.columns-2 li { width: calc((100% - 20px) / 2); }
ul.products.columns-3 li { width: calc((100% - 40px) / 3); }
ul.products.columns-4 li { width: calc((100% - 60px) / 4); }

}


ul.products li {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
    border: 1px solid #0F1F3D1A;
    border-radius: 1em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}


figure.loop-product-image {
    width: 100%;
	height: 270px;
    margin: 0;
    border-bottom: 1px solid #0F1F3D1A;
    box-shadow: 0 0 2px -2px rgba(0, 0, 0, 0.02);
}

@media screen and (min-width: 893px) {
ul.products.columns-2 figure.loop-product-image { height: 280px; }
ul.products.columns-3 figure.loop-product-image { height: 235px; }
ul.products.columns-4 figure.loop-product-image { height: 210px; }
ul.products.columns-5 figure.loop-product-image { height: 160px; }
ul.products.columns-6 figure.loop-product-image { height: 115px; }
}

figure.loop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

ul.products li a {
    color: inherit;
	display: flex;
    flex-direction: column;
    gap: 1em;
}

.loop-product-content {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    padding: 1em 1.3em 1em;
    flex: 1 0 auto;
}

h4.woocommerce-loop-product__title {
    margin: 0;
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 800;
    line-height: 1.2;
}

p.tipo {
    color: var(--wp--preset--color--accent);
    background-color: #EFF6FF;
    font-size: var(--wp--preset--font-size--extra-small);
    font-weight: 700;
    padding: 4px 9px;
    width: fit-content;
    border-radius: 12px;
    margin: 0 0 0.55em;
}

span.pcomp {
    font-size: 12px;
    color: var(--wp--preset--color--gray-700);
    line-height: 1.4;
}

li.product span.ptag {
    position: absolute;
    top: 0.8em;
    left: 0;
    font-size: 13px;
}

span.ptag {
    background-color: var(--wp--preset--color--accent);
    color: #fff;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    line-height: 1.1;
    padding: 0.45em 1.1em 0.55em;
    display: inline-block;
}

span.prating {
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0;
}

.cta-loop-wrapper {
    display: flex;
    flex: 1 0 auto;
    align-items: flex-end;
}

a.cta-loop {
    color: #fff !important;
    background-color: var(--wp--preset--color--accent);
    font-size: var(--wp--preset--font-size--extra-small);
    border: 2px solid var(--wp--preset--color--accent);
    padding: 0.42em 1.33em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    width: fit-content;
    margin-top: 18px;
}


@media screen and (max-width: 893px) {
ul.products {
    column-gap: 8px;
    row-gap: 8px;
}
ul.products li {
    width: calc(50% - 4px);
}
figure.loop-product-image {
    height: 150px;
}
figure.loop-product-image img {
    padding: 8px;
}
h4.woocommerce-loop-product__title {
    font-size: 13px;
}
.loop-product-content {
    padding: 0.7em;
}
a.cta-loop {
    margin-top: 8px;
    width: 100%;
}
li.product span.ptag {
    top: 5px;
    left: 5px;
    font-size: 9px;
    padding: 4px 8px;
}
}



p.sku {
    color: #6A6A70;
    font-size: var(--wp--preset--font-size--extra-small);
    margin: 0;
}

ul.products li a.button.add_to_cart_button {
    color: #fff;
    background-color: var(--wp--preset--color--accent-light);
    width: 100%;
    font-size: 0.85em;
    line-height: 1.2;
    text-align: center;
    padding: 0.8em;
    border-radius: 0.9em;
    margin-top: 1.5em;
    font-weight: 700;
}

ul.products li .added_to_cart {
    font-size: var(--wp--preset--font-size--extra-small);
    width: 100%;
    text-align: center;
    /* text-decoration: underline; */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6A6A70;
}

ul.products li a.ver-opciones {
    margin-top: 2em;
    color: var(--wp--preset--color--accent);
    font-size: 0.85em;
    background-image: url(../img/arrow-right-blue.png);
    padding-right: 1.8em;
    background-size: 1.4em;
    background-repeat: no-repeat;
    background-position-x: 100%;
    line-height: 1.4;
    font-weight: 700;
}




/*--------------------------------------------------------------
# Sale price
--------------------------------------------------------------*/

.price {
    color: var(--wp--preset--color--accent);
    font-weight: 700;
}

.price ins {
    background: transparent;
}

.price del {
    color: #B4B4B7;
    font-weight: 400;
}

.single-product .price del {
    font-size: var(--wp--preset--font-size--large);
}

ul.products li .price del {
    font-size: var(--wp--preset--font-size--small);
}




/*--------------------------------------------------------------
# Productos especiales
--------------------------------------------------------------*/

.nuevos ul.products li {
    border: none;
}

.nuevos a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    display: none;
}


ul.products li.qvar-eminentes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 7%;
    border: 2px solid var(--wp--preset--color--accent);
    border-radius: 0;
}

ul.products li.qvar-eminentes a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    width: 40%;
}

ul.products li.qvar-eminentes .loop-product-content {
    width: 46%;
}

ul.products li.qvar-eminentes .onsale-coundown-wrapper {
    width: 100%;
    border-top: 1px solid #DCDCDD;
    margin-top: 1em;
    padding-top: 1em;
}

@media screen and (max-width: 971px) {
ul.products li.qvar-eminentes {
    width: 100%;
}
}


/*--------------------------------------------------------------
# Archive special sidebar
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
.m3woo-archive-wrapper {
    display: flex;
    gap: 25px;
}
.m3w-sidebar {
    width: 240px;
}
.m3w-main {
    width: calc(100% - 265px);
}
}



/*--------------------------------------------------------------
# Archive hero
--------------------------------------------------------------*/

.archive-hero {
    height: 300px;
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto 4em;
    background-size: cover;
}

.archive-hero .bg-layer {
    height: 100%;
    width: 100%;
    padding: 1em 5em;
}

.archive-hero .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.archive-hero h1 {
    margin: 0 0 0.5em;
    max-width: 570px;
    line-height: 1.1;
}

.archive-hero p {
    line-height: 1.3;
    max-width: 760px;
}

h2.loop-sec-title {
    font-size: var(--wp--preset--font-size--medium);
    margin: 0 0 0.4em;
}

@media screen and (max-width: 971px) {
.archive-hero {
    height: 270px;
    margin: 0 auto 2.8em;
}
.archive-hero .bg-layer {
    padding: 1em 25px;
}
}



/*--------------------------------------------------------------
# Archive description
--------------------------------------------------------------*/

header.woocommerce-products-header .term-description {
    margin: -2em 0 3.6em;
}




/*--------------------------------------------------------------
# Shortcode categorias
--------------------------------------------------------------*/

.categorias {
    display: flex;
    gap: 15px;
}

.categoria {
    width: calc((100% - 90px) / 7);
    border: 1px solid #DCDCDD;
    border-radius: 4px;
    overflow: hidden;
}

.categoria a {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    text-align: center;
    align-items: center;
    gap: 14px;
    padding: 24px 10px 20px;
}

.categoria figure {
    margin: 0;
    width: 90px;
    display: flex;
}

.categoria p {
    line-height: 1.2;
    font-size: 13px;
    font-weight: 500;
}

@media screen and (max-width: 971px) {
.categorias {
    gap: 8px;
    flex-wrap: wrap;
}
.categoria {
    width: calc(50% - 4px);
}
}


/*--------------------------------------------------------------
# Result count & catalog ordering
--------------------------------------------------------------*/

.rcco-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7em;
}

p.woocommerce-result-count {
    margin: 0;
    /* font-size: var(--wp--preset--font-size--small); */
    color: var(--wp--preset--color--gray-400);
}

form.woocommerce-ordering select {
    /* font-size: var(--wp--preset--font-size--small); */
    color: var(--wp--preset--color--gray-400);
    padding: 0.4em 0.9em;
    background-color: #fff;
    border: 1px solid #0F1F3D1A;
    border-radius: 0.5em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}


@media screen and (max-width: 971px) {
.rcco-wrapper {
    flex-wrap: wrap;
}
#mobile-toggle-filters {
    color: #fff;
    background-color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background-image: url(../img/icons/icon-sliders-horizontal.png);
    background-repeat: no-repeat;
    background-size: 1.15em;
    background-position: 0.8em 50%;
    padding: 0.6em 0.8em 0.68em 2.6em;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    order: 1;
}
.site-content.left-sidebar.filtros-visibles #mobile-toggle-filters {
    position: absolute;
    top: 0;
}
.rcco-wrapper form.woocommerce-ordering {
    order: 2;
}
.rcco-wrapper p.woocommerce-result-count {
    order: 3;
    border-top: 1px solid var(--wp--preset--color--gray-900);
    border-bottom: 1px solid var(--wp--preset--color--gray-900);
    width: calc(100% + 50px);
    margin-left: -25px;
    margin-right: -25px;
    margin-top: 1em;
    padding: 8px 25px;
    font-size: 13px;
}
form.woocommerce-ordering select.orderby {
    font-size: 13px;
    padding: 0.5em 0.55em;
}

/* PROVISORIO */
.site-content:not(.left-sidebar) #mobile-toggle-filters {
    display: none;
}

}


@media screen and (max-width: 370px) {
#mobile-toggle-filters {
	font-size: 12px;
    line-height: 1;
	background-size: 1em;
	padding: 0.75em 0.6em 0.6em 2.6em;
}
form.woocommerce-ordering select.orderby {
	font-size: 12px;
	padding: 0.45em 0.5em;
}
}


@media screen and (min-width: 971px) {
#mobile-toggle-filters {
    display: none;
}
}



/*--------------------------------------------------------------
# Woocommerce Layered Nav
--------------------------------------------------------------*/

.filtros-atributos {
    margin-top: 1em;
}

h4.heading-atributo {
    margin: 0 0 0.7em;
}

.woocommerce ul.woocommerce-widget-layered-nav-list {
    padding: 0;
}

.woocommerce-widget-layered-nav-list span.count {
    font-size: 0.6em;
    color: var(--wp--preset--color--gray-400);
}

.woocommerce-widget-layered-nav-list > li {
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
	line-height: 1.2em;
}

.woocommerce-widget-layered-nav-list > li a {
    color: var(--wp--preset--color--gray-400);
    display: flex;
    align-items: center;
    flex-grow: 1;
    text-align: left;
    background: rgba(0,0,0,0);
    border: none;
    padding: 0;
	margin-left: 0;
    outline: none;
	line-height: 1;
}

.woocommerce-widget-layered-nav-list > li a:before {
    position: relative;
    border-radius: 0;
    background-color: rgba(255, 255, 255, .75);
    /* box-shadow: inset 0 0 0 1px; */
    transition: box-shadow .2s cubic-bezier(.15,0,.15,0);
    margin-right: .8rem !important;
    /* top: .07rem; */
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    content: '' !important;
    display: block;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #ddd;
	background-origin: padding-box;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
	content: '' !important;
}

.woocommerce-widget-layered-nav-list > li.chosen a:before {
    background-color: var(--wp--preset--color--accent);
	background-image: url(../img/check-white.png);
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--accent);
}

/*
.woocommerce-widget-layered-nav-list > li:hover a:before {
	background-image: url(../img/check-white.png);
	background-color: var(--wp--preset--color--contrast);
}
*/

/*
.woocommerce-widget-layered-nav-list > li.chosen:hover a:before {
	background-image: url(../img/cancel-white.png);
	background-color: var(--wp--preset--color--accent);
}
*/

li.wc-block-product-categories-list-item > a, li.wc-block-product-categories-list-item > span {
    display: none;
}

li.wc-block-product-categories-list-item > ul a {
    display: contents;
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--gray-400);
}

li.wc-block-product-categories-list-item > ul span {
    display: inline-block;
}

li.wc-block-product-categories-list-item > ul span.wc-block-product-categories-list-item-count {
    display: block;
    font-size: var(--wp--preset--font-size--extra-small);
    padding-left: 0.6em;
    color: var(--wp--preset--color--gray-400);
}




/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/

nav.woocommerce-pagination {
    margin-top: 4em;
}

ul.page-numbers {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.5em;
}

ul.page-numbers .page-numbers {
	color: var(--wp--preset--color--accent-dark);
    border: 2px solid var(--wp--preset--color--accent-dark);
    height: 1.8em;
    width: 1.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border-radius: 0.3em;
    font-weight: 600;
}

ul.page-numbers .page-numbers.current, ul.page-numbers .page-numbers:hover {
	color: #fff;
    background-color: var(--wp--preset--color--accent-dark);
}


@media screen and (max-width: 893px) {
nav.woocommerce-pagination {
    margin-top: 2.8em;
}
ul.page-numbers .page-numbers {
    font-size: 13px;
}
}





/*--------------------------------------------------------------
# Single
--------------------------------------------------------------*/

.single-product #page {
    background-color: var(--wp--preset--color--gray-900);
}

.single-product span.onsale {
    position: absolute;
    left: 0;
    top: 15px;
}

.product-summary-container {
    position: relative;
}

@media screen and (min-width: 893px) {
.product-summary-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
	margin-top: 2.3em;
}
.product-summary-container > .product-images {
    width: 630px;
}
.product-summary-container > .summary {
    width: 570px;
}
}

.woocommerce-product-gallery__wrapper {
    background-color: #fff;
    border: 1px solid #0F1F3D1A;
    border-radius: 1.1em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
}

@media screen and (max-width: 893px) {
.single-product main#primary {
    margin-left: 25px;
    margin-right: 25px;
}
.product-summary-container {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 2em;
    gap: 1.5em;
}
}


.product-summary-container > .product-images .woocommerce-product-gallery {
    width: 100%;
}

.product-summary-container > .product-images img.wp-post-image {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
}



/*--------------------------------------------------------------
# Single - product-gallery
--------------------------------------------------------------*/

.product-images {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-gallery {
    display: flex;
    gap: 10px;
}

.product-gallery figure {
    width: calc((100% - 30px) / 4);
	height: 120px;
    margin: 0;
	background-color: #fff;
    border: 1px solid #0F1F3D1A;
    border-radius: 0.75em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.product-gallery figure figcaption {
    width: 100%;
    text-align: center;
    font-family: "Cousine", sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    color: #94A3B8;
}

.product-gallery a {
    display: flex;
    width: 100%;
    height: 100%;
}

figure.pg-thumb.w-caption a {
    height: 98px;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media screen and (min-width: 893px) {
a.gallery-trigger {
    display: none;
}
}

@media screen and (max-width: 893px) {
.product-summary-container > .product-images img.wp-post-image {
    max-height: 220px;
}
a.gallery-trigger {
    color: #fff;
    background-color: var(--wp--preset--color--contrast);
    padding: 0.7em 1.3em;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    border-radius: 3px;
}
.product-gallery {
    display: none;
}
}

.pg-wrapper figure.mmb-nav {
    display: flex;
    margin: 0;
    justify-content: center;
    height: 26px;
}

.pg-wrapper figure.mmb-nav.mmb-nav-left {
    align-items: flex-start;
}

.pg-wrapper figure.mmb-nav.mmb-nav-right {
    align-items: flex-end;
}

.pg-wrapper figure.mmb-nav img {
    width: 20px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}




/*--------------------------------------------------------------
# Single - images on mobile
--------------------------------------------------------------*/

@media screen and (max-width: 893px) {
.product-images.has-gallery {
    gap: 8px;
	margin-bottom: 20px;
}
.product-gallery {
    gap: 5px;
    width: 69px;
    height: 260px;
}
.product-gallery figure {
    width: 60px;
    height: 60px;
}
.product-main-image figure {
    height: 260px;
}
.product-gallery::-webkit-scrollbar-track {
	border-radius: 5px;
}
.product-gallery::-webkit-scrollbar {
	width: 5px;
}
.product-gallery::-webkit-scrollbar-thumb {
	border-radius: 5px;
}
.product-main-image {
    width: 100%;
    border-radius: 4px;
    height: 320px;
}
.product-images.has-gallery .product-main-image {
    width: calc(100% - 77px);
	height: 260px !important;
}
a.gallery-trigger {
    padding: 0.3em 1em;
    font-size: 10px;
    letter-spacing: 1px;
    position: absolute;
    font-weight: 500;
}
.pg-wrapper.mslides {
    display: none;
}

}




/*--------------------------------------------------------------
# Single - summary
--------------------------------------------------------------*/

span.pcat {
    color: var(--wp--preset--color--accent);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin: 0 0 1.2em;
    font-family: "Cousine", sans-serif;
}

h1.product_title.entry-title {
    color: var(--wp--preset--color--gray-100);
    font-size: var(--wp--preset--font-size--x-large);
    line-height: 1.1;
    margin: 0 0 0.5em;
    letter-spacing: -1px;
    text-transform: uppercase;
    font-weight: 800;
    font-family: "Inter", sans-serif;
}

.single-product p.price {
    font-size: var(--wp--preset--font-size--x-large);
}

.single-product p.price:empty {
    display: none;
}

.woocommerce-product-details__short-description {
    margin: 0;
}

.woocommerce-product-details__short-description p {
    color: var(--wp--preset--color--gray-400);
    font-size: var(--wp--preset--font-size--normal-plus);
}

p.product-meta {
    color: var(--wp--preset--color--gray-400);
    font-weight: 400;
}

p.product-meta strong {
    color: var(--wp--preset--color--contrast);
    font-weight: 500;
}

/*
.product_meta {
    display: flex;
    flex-direction: column;
    color: var(--wp--preset--color--gray-400);
    margin-top: 2em;
}
*/

.product_meta {
    display: none;
}

@media screen and (max-width: 893px) {
span.pcat {
    font-size: var(--wp--preset--font-size--extra-small);
    margin: 0 0 0.8em;
}
}



/*--------------------------------------------------------------
# Single - Product attrib
--------------------------------------------------------------*/

.p-att {
    display: flex;
    align-items: center;
    width: 100%;
}

.p-att figure {
    width: 20px;
    height: 20px;
    margin: 0;
    display: flex;
    margin-right: 12px;
}

.p-att figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-att strong {
    width: calc(100% - 213px);
    font-weight: 500;
}

.p-att span {
    color: var(--wp--preset--color--gray-400);
}


@media screen and (max-width: 893px) {
.p-att {
    line-height: 1.1;
    padding: 0.7em 0;
}
.p-att:not(:last-child) {
    border-bottom: 1px solid var(--wp--preset--color--gray-400);
}
.p-att strong {
    width: 50%;
}
.p-att span {
    color: var(--wp--preset--color--contrast);
    font-weight: 700;
    text-align: right;
    width: 60%;
}
}




/*--------------------------------------------------------------
# Single - Product rating
--------------------------------------------------------------*/

.single-product .woocommerce-product-rating {
    display: none;
}

span.fa.fa-star {
    color: var(--wp--preset--color--gray-900);
}

span.fa.fa-star.star-checked {
    color: var(--wp--preset--color--accent);
}



/*--------------------------------------------------------------
# Single - CTA
--------------------------------------------------------------*/

.single-product-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.7em;
}

.single-product-cta a {
    font-size: var(--wp--preset--font-size--small);
    width: 100%;
    border: 2px solid var(--wp--preset--color--accent);
    padding: 0.89em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.single-product-cta a.cta-main {
    color: #fff;
    background-color: var(--wp--preset--color--accent);
}

.single-product-cta a.cta-sec {
    color: var(--wp--preset--color--accent);
    background-color: #fff;
}



/*--------------------------------------------------------------
# Single - tabs
--------------------------------------------------------------*/

section.product-tabs {
    margin-top: 3.6em;
    margin-bottom: 3.6em;
}

ul.tab-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    border-bottom: 1px solid #0F1F3D1A;
    box-shadow: 0 0 2px -2px rgba(0, 0, 0, 0.02);
}

ul.tab-links li {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--normal-plus);
    border-bottom: 2px solid;
    padding: 1.3em 2.5em;
    line-height: 1;
}

ul.tab-links li.current-tab-link {
    color: var(--wp--preset--color--accent);
}

ul.tab-links li:not(.current-tab-link) {
    color: var(--wp--preset--color--gray-400);
    border-color: transparent;
    cursor: pointer;
}


.tab-panels > div:not(.current-tab-panel) {
    display: none;
}

.tab-panel {
    margin-top: 2em;
}

.tab-panel h2 {
    margin: 0 0 0.5em;
}

.tab-panel p {
    color: var(--wp--preset--color--gray-400);
}

.tab-panel table {
    border-collapse: collapse;
}

.tab-panel table tr > * {
    font-weight: 400;
    text-align: left;
    border-bottom: 1px solid #0F1F3D0F;
    line-height: 1.3;
    padding: 0.7em 0;
}

.tab-panel table th {
    font-size: 0.9em;
    text-transform: uppercase;
    color: var(--wp--preset--color--gray-700);
    font-weight: 600;
    letter-spacing: 1px;
}

.tab-panel table tr td {
    font-size: var(--wp--preset--font-size--normal-plus);
    color: var(--wp--preset--color--gray-300);
    padding: 0.9em 0;
}

.tab-panel table tr td:first-child {
    font-family: "Cousine", sans-serif;
    color: var(--wp--preset--color--gray-200);
    font-weight: 700;
}


section.product-files {
    background-color: var(--wp--preset--color--gray-900);
    padding: 4em 0;
}

.pfiles {
    display: flex;
    gap: 18px;
}

.pfile {
    display: flex;
    background-color: #fff;
    border: 2px solid var(--wp--preset--color--gray-400);
    width: calc((100% - 54px) / 4);
    padding: 1em;
    gap: 0.5em;
}

.pfile figure {
    width: 38px;
    height: 38px;
    margin: 0;
}

figure.download-icon {
    margin-left: 11%;
}

.pfile p {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    width: 50%;
}

.pfile p span {
    display: block;
    font-size: var(--wp--preset--font-size--extra-small);
    font-weight: 300;
    color: var(--wp--preset--color--gray-400);
    margin-top: 0.8em;
}




section.product-files.destacados {
    background-color: transparent;
    background-image: linear-gradient(#E6E8EB 50%, #FFFFFF 50%);
}

section.product-files.destacados .wp-block-media-text.alignfull {
    margin-top: 80px !important;
}


@media screen and (max-width: 893px) {
ul.tab-links {
    flex-direction: column;
    padding-bottom: 1.5em;
}
ul.tab-links li {
    font-size: 13px;
    padding: 0.8em 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.tab-panel {
    overflow-x: auto;
    width: 100%;
}
.tab-panel table th, .tab-panel table td {
    white-space: nowrap;
}
section.product-files {
    margin-left: -25px;
    margin-right: -25px;
    padding-left: 25px;
    padding-right: 25px;
}
section.product-files.destacados .wp-block-media-text.alignfull {
    margin-top: 40px !important;
}
.pfiles {
    gap: 12px;
    flex-wrap: wrap;
}
.pfile {
    width: calc(50% - 6px);
    padding: 0.7em;
    gap: 0.2em;
}
.pfile p {
    font-size: 12px;
}
.pfile figure {
    width: 32px;
    height: 32px;
}
}




.mi-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mi-box {
    background-color: #fff;
    border: 1px solid #0F1F3D1A;
    border-radius: 1.1em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
}

@media screen and (min-width: 893px) {
.mi-box {
    width: calc(50% - 10px);
}
}

.mi-box header {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9em 1.7em;
}

.mi-box header i {
    font-style: normal;
    font-weight: 700;
    color: #fff;
    background-color: var(--wp--preset--color--accent);
    border-radius: 2em;
    height: 1.9em;
    width: 1.9em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mi-box header h4 {
    font-size: var(--wp--preset--font-size--normal-plus);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.mi-box header span {
    color: var(--wp--preset--color--gray-700);
}

.mi-box figure {
    width: 100%;
    height: 260px;
    margin: 0;
}

.mi-box figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.mi-box > div {
    padding: 2.2em 1.7em;
}

.mi-box > div ol {
    margin: 0 0 0 2.5em;
    padding: 0;
    list-style-type: none;
    counter-reset: item-count;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mi-box > div ol li {
    counter-increment: item-count;
    position: relative;
    line-height: 1.5;
    color: var(--wp--preset--color--gray-300);
}

.mi-box > div ol li::before {
    content: counter(item-count);
    position: absolute;
    left: -3.5em;
    top: 0.2em;
    font-size: 11px;
    color: #fff;
    background-color: var(--wp--preset--color--accent);
    line-height: 1;
    border-radius: 1em;
    height: 2.1em;
    width: 2.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}




.docs-cont {
    display: flex;
    gap: 1.2em;
    align-items: center;
}

.docs-cont figure {
    background-color: #fff;
    border: 1px solid #0F1F3D1A;
    border-radius: 1.1em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5em 1.7em;
    line-height: 1;
    gap: 0.8em;
}

.docs-cont figure {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--normal-plus);
    color: var(--wp--preset--color--gray-200);
}

.docs-cont figure img {
    height: 22px;
    width: auto;
}

.docs-cont a {
    color: #fff;
    background-color: var(--wp--preset--color--accent);
    line-height: 1;
    border-radius: 1em;
    padding: 1.2em 2.2em;
    font-size: var(--wp--preset--font-size--normal-plus);
    font-weight: 700;
    display: flex;
    align-items: center;
}






/*--------------------------------------------------------------
# Single - variable attribute selector
--------------------------------------------------------------*/

.woocommerce-variation-price span.price {
    font-size: var(--wp--preset--font-size--x-large);
}

.hidden-variations-form table.variations {
    display: none;
}

.hidden-variations-form .reset_variations_alert {
    display: none;
}

.att-option.not-available {
    display: none;
}

.summary:not(.selection-ok) .hidden-variations-form, .summary:not(.selection-ok) span.sku_wrapper {
    display: none;
}


.cta-container {
    border: 1px solid #0F1F3D1A;
    border-radius: 1.1em;
    overflow: hidden;
    margin-top: 1.5em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
}

#avx {
    display: flex;
    flex-direction: column;
    padding: 1.8em;
    gap: 1.6em;
    border-bottom: 1px solid #0F1F3D1A;
    background-color: #fff;
}

.cta-block {
    padding: 1.8em;
}





/*--------------------------------------------------------------
# Single - variable attribute selector - Type: LIST
--------------------------------------------------------------*/

.type-list .selector-custom {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.type-list .selector-custom .att-option {
    cursor: pointer;
	position: relative;
	padding-left: 1.4em;
	font-size: var(--wp--preset--font-size--intermedia);
}

.type-list .selector-custom .att-option:before {
	position: absolute;
	content: '';
	left: 0;
	top: 0.4em;
    width: 0.9em;
    height: 0.9em;
    border: 2px solid var(--wp--preset--color--gray-400);
    border-radius: 1em;
}

.type-list .selector-custom .att-option.current:before {
	background-color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

.type-list  p.chosen-attr {
    background-color: var(--wp--preset--color--gray-400);
    margin: 1.3em 0;
    padding: 0.4em 1em;
    line-height: 1.3;
}



/*--------------------------------------------------------------
# Single - variable attribute selector - Type: BUTTON
--------------------------------------------------------------*/

.type-button .selector-custom {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.type-button .selector-custom .att-option {
    cursor: pointer;
    font-size: var(--wp--preset--font-size--normal-plus);
    padding: 0.75em 1em;
    color: var(--wp--preset--color--gray-200);
    border: 1px solid #0F1F3D1F;
    border-radius: 0.8em;
    line-height: 1.1;
    user-select: none;
    font-weight: 600;
}

.type-button .selector-custom .att-option.current {
	color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
    background-color: #EFF6FF;
    box-shadow: 0 0 0 1px #1D4ED84D;
}

.type-button  p.chosen-attr {
    display: none;
}

.att-option.with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
    font-size: var(--wp--preset--font-size--normal) !important;
    min-width: 7em;
}

.att-option.with-icon img {
    width: 22px;
    height: auto;
    filter: invert(75%) sepia(17%) saturate(227%) hue-rotate(180deg) brightness(84%) contrast(87%);
}

.att-option.with-icon.current img {
    width: 22px;
    height: auto;
    filter: invert(15%) sepia(86%) saturate(4869%) hue-rotate(229deg) brightness(92%) contrast(82%);
}

.custom-attr-selector h4 {
    margin: 0 0 0.5em;
    text-transform: uppercase;
    font-size: 0.8em;
    color: #99A1AF;
    letter-spacing: 1px;
    font-weight: 600;
}



.cta-box {
    display: flex;
    justify-content: space-between;
    color: var(--wp--preset--color--gray-700);
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: 1.9em;
}

.cta-box * {
    margin: 0;
}

.cta-box label {
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cta-box > * {
    width: 45%;
}

span.v-sku {
    display: block;
    color: var(--wp--preset--color--gray-200);
    font-weight: 700;
    font-size: 1.8em;
    font-family: "Cousine", sans-serif;
}

.pv-right {
    text-align: right;
}

.woocommerce-variation-price {
    line-height: 1;
    margin-top: 0.5em;
}

.single-product .cta-block > form.cart, .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.single-product form.cart button, .woocommerce-variation-add-to-cart button {
    border-radius: 0.8em;
    line-height: 1;
    background-color: var(--wp--preset--color--accent);
    flex-grow: 1;
    font-weight: 700;
    font-size: var(--wp--preset--font-size--normal-plus);
}



/*--------------------------------------------------------------
# Single - variable attribute selector - Type: COLOR
--------------------------------------------------------------*/

.custom-attr-selector.type-color {
    margin: 1.2em 0 2.2em;
}

.custom-attr-selector.type-color h4 {
    margin: 0 0 0.7em;
}

.type-color .selector-custom {
	display: flex;
    flex-direction: row;
	gap: 10px;
}

.type-color .selector-custom .att-option {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    cursor: pointer;
    position: relative;
    border: 4px solid #eee;
}

.type-color .selector-custom .att-option.current {
    border-color: #fafafa;
}

.type-color .selector-custom .att-option.current:before {
    position: absolute;
    content: '';
    top: -5px;
    left: -5px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--wp--preset--color--contrast);
    border-radius: 44px;
}




/*--------------------------------------------------------------
# Single - brand specific stuff - Especificaciones Samsung
--------------------------------------------------------------*/

.pdd32-product-spec__list {
    display: flex;
    flex-direction: column;
}

.pdd32-product-spec__item {
    margin-bottom: 2em;
}

h3.pdd32-product-spec__title {
    line-height: 1;
    margin: 0 0 0.7em;
    padding: 0;
    font-size: var(--wp--preset--font-size--normal);
}

h3.pdd32-product-spec__title button {
    color: inherit;
    padding: 0;
    line-height: 0;
    font-weight: 700;
    letter-spacing: 1px;
	width: 100%;
    text-align: left;
}

.pdd32-product-spec__content-wrap {
    max-height: 100% !important;
}

ul.pdd32-product-spec__content-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 0;
}

ul.pdd32-product-spec__content-list li {
    display: flex;
    align-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

ul.pdd32-product-spec__content-list li p {
    margin: 0;
    display: flex;
	max-width: 70%;
}

p.pdd32-product-spec__content-item-title {
    width: 30%;
}

.pdd32-product-spec__list svg.icon {
    display: none;
}



/*--------------------------------------------------------------
# Single - brand specific stuff - Especificaciones Motorola
--------------------------------------------------------------*/

h3.datasheet-group__name--text {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: var(--wp--preset--font-size--normal);
    text-transform: uppercase;
	margin: 2em 0 1em;
}

.datasheet-group__values {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.datasheet-group__values--value {
    display: flex;
    gap: 1em;
}

.datasheet-group__values--value > * {
    margin: 0;
    padding: 0;
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 400;
    line-height: 1.2;
}

.datasheet-group__values--value h4 {
    width: 30%;
}



/*--------------------------------------------------------------
# Single - brand specific stuff - Especificaciones Xiaomi
--------------------------------------------------------------*/

.brand-xiaomi #especificaciones > div.lazy {
    display: flex !important;
    flex-direction: column;
	font-size: var(--wp--preset--font-size--normal) !important;
}

.brand-xiaomi #especificaciones > div.lazy > div.lazy {
    width: 100% !important;
    position: relative !important;
    padding: 0 !important;
    border: none ! important;
    display: flex;
    justify-content: space-between;
	font-size: var(--wp--preset--font-size--normal) !important;
}

.brand-xiaomi #especificaciones > div.lazy > div.lazy span {
    font-size: var(--wp--preset--font-size--normal) !important;
	margin: 0 0 0.9em !important;
    line-height: 1.2 !important;
}

.brand-xiaomi #especificaciones > div.lazy > div.lazy > div:last-child {
    width: 75% !important;
}

.brand-xiaomi #especificaciones > div.lazy > div.lazy > div:first-child {
    font-weight: 600;
    width: 25% !important;
    margin: 0 !important;
}







/*--------------------------------------------------------------
# Woocommerce Layered Nav
--------------------------------------------------------------*/

aside#secondary h2.widget-title {
    font-size: 1em;
    font-weight: 700;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.6em;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wp--preset--color--accent-dark);
}

.woocommerce ul.wc-brand-list-layered-nav-product_brand, ul.product-categories {
    margin: 0 0 1.8em;
    padding: 0;
}

.wc-brand-list-layered-nav-product_brand span.count, ul.product-categories span.count {
    font-size: 0.85em;
    color: #bbb;
    font-weight: 400;
}

.wc-brand-list-layered-nav-product_brand > li, ul.product-categories > li {
    padding: 0.6em 0;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1.2em;
    border-bottom: 2px solid #ddd;
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-dark);
    font-weight: 600;
}

.wc-brand-list-layered-nav-product_brand > li a, ul.product-categories > li a {
    color: inherit;
    display: flex;
    align-items: center;
    flex-grow: 1;
    text-align: left;
    background: rgba(0,0,0,0);
    border: none;
    padding: 0;
	margin-left: 0;
    outline: none;
}

.wc-brand-list-layered-nav-product_brand > li a:before, ul.product-categories > li a:before {
    position: relative;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .75);
    /* box-shadow: inset 0 0 0 1px; */
    transition: box-shadow .2s cubic-bezier(.15,0,.15,0);
    margin-right: .8rem !important;
    /* top: .07rem; */
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    content: '' !important;
    display: block;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #ddd;
	background-origin: padding-box;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
	content: '' !important;
}

.wc-brand-list-layered-nav-product_brand > li.chosen a:before, ul.product-categories > li.current-cat a:before, ul.product-categories > li.current-cat-parent a:before      {
    background-color: var(--wp--preset--color--accent);
	background-image: url(../img/check-white.png);
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--accent);
}

.wc-brand-list-layered-nav-product_brand > li:hover a:before, ul.product-categories > li:hover a:before {
    /* box-shadow: 0 0 0 3px; */
	background-image: url(../img/check-white.png);
	background-color: var(--wp--preset--color--contrast);
}

.wc-brand-list-layered-nav-product_brand > li.chosen:hover a:before, ul.product-categories > li.current-cat:hover a:before, ul.product-categories > li.current-cat-parent:hover a:before {
	background-image: url(../img/cancel-white.png);
	background-color: var(--wp--preset--color--accent);
	/*
    background-image: url(../img/check-green.png);
    box-shadow: 0 0 0 3px var(--wp--preset--color--accent);
	*/
}



.widget_layered_nav_filters h2.widget-title {
    border-color: var(--wp--preset--color--contrast) !important;
}

.woocommerce .widget_layered_nav_filters ul {
    display: flex;
    margin: 0 0 2.7em;
    gap: 7px;
    list-style-type: none;
    padding: 0;
	flex-wrap: wrap;
}

.woocommerce .widget_layered_nav_filters ul li a {
    color: #fff;
    background-color: var(--wp--preset--color--contrast);
    font-size: 0.75em;
    padding: 0.3em 0.6em 0.37em 1.6em;
    border-radius: 0.4em;
    background-image: url(../img/cancel-white.png);
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: 0.45em 47%;
}




/*--------------------------------------------------------------
# Shop all categories
--------------------------------------------------------------*/

@media only screen and (min-width: 981px) {
.all-categories {
    column-count: 3;
	column-gap: 3.5%;
}
.prod-category {
    -webkit-column-break-inside: avoid;
}
}

.prod-category {
    margin-bottom: 2.2em;
}

.all-categories a {
    color: inherit;
}

.prod-category h3 {
    font-size: 1em;
    font-weight: 600;
	color: #fff;
    background-color: var(--wp--preset--color--accent);
    padding: 0.4em 0.6em 0.45em;
    line-height: 1.2;
    margin: 0 0 0.6em;
}

.prod-category ul {
    list-style-type: none;
    margin: 0 0 0 0.6em;
	padding: 0;
    line-height: 1.7;
}

.prod-category ul li:last-child a {
    text-decoration: underline;
}



/*--------------------------------------------------------------
# Woocommerce quantity-buttons
--------------------------------------------------------------*/

.q-special {
    display: grid;
    grid-template-columns: 4fr 5fr 4fr;
    width: 10em;
    height: 3.2em;
    border: 1px solid #0F1F3D1A;
    font-size: 1em;
    border-radius: 0.8em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.02);
}

.q-special input {
    border: none;
    font-weight: 700;
    text-align: right;
	/* border-left: 1px solid var(--wp--preset--color--gray-400); */
    /* border-right: 1px solid var(--wp--preset--color--gray-400); */
	outline: none;
	text-align: center;
    padding: 0.3em;
    width: 60px;
    color: #1E2939;
    font-size: var(--wp--preset--font-size--normal-plus);
}

.q-special input::-webkit-outer-spin-button, .q-special input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	-moz-appearance: textfield;
}

.q-special span {
    position: relative;
    cursor: pointer;
}

.q-special span::before, .q-special span::after {
    position: absolute;
    content: '';
    transform: translate(-50%, -50%) rotate(-90deg);
    background-color: var(--wp--preset--color--gray-400);
	top: 50%;
    left: 50%;
}

.q-special span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.q-special span.btn-plus::before {
    width: 0.8em;
    height: 2.5px;
}
.q-special span::after {
    width: 2.5px;
    height: 0.8em;
}




/*--------------------------------------------------------------
# Mini cart
--------------------------------------------------------------*/

.site-header-cart {
    position: absolute;
    top: 148px;
    right: -440px;
    background-color: #fff;
    z-index: 99;
    width: 440px;
    padding: 20px;
    box-shadow: 5px 5px 7px 7px rgba(0, 0, 0, 0.07);
    transition: all 0.25s ease-in-out;
}

.site-header-cart.cart-visible {
    right: 0;
}

.mini-cart-close {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.7em;
}

.mini-cart-close svg {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.mini_cart_item {
    display: flex;
    margin-bottom: 1em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #DCDCDD;
    gap: 12px
}

.mini_cart_item figure {
    width: 75px;
    height: 75px;
    margin: 0;
    border: 1px solid #DCDCDD;
    border-radius: 4px;
    overflow: hidden;
}

.mini_cart_item figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-content {
    width: 216px;
}

.mini_cart_item p.name {
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.3;
}

.mini_cart_item p.sku {
    font-size: var(--wp--preset--font-size--small);
}

.mini_cart_item .actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 10px;
}

.mini_cart_item .cart-item-data {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--gray-400);
    line-height: 1.25;
    margin: 0;
}




.mini_cart_item a.remove_from_cart_button {
    display: flex;
    width: 18px;
    height: 18px;
}

.mini_cart_item a.remove_from_cart_button svg {
    width: 18px;
    height: 18px;
}

.mini_cart_item .quantity.q-special {
    height: 2.6em;
    font-size: 0.82em;
}

.mini_cart_item .q-special input {
    width: 44px;
    text-align: right;
    font-size: var(--wp--preset--font-size--normal);
}

.mini_cart_item .q-special span.btn-plus::before {
    width: 0.75em;
    height: 2.3px;
}

.mini_cart_item .q-special span::after {
    width: 2.3px;
    height: 0.75em;
}

.cart-item-subtotal {
    width: 85px;
    font-size: var(--wp--preset--font-size--normal);
    text-align: right;
}

span.mini-cart-continue-shopping {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1em;
    cursor: pointer;
    color: #6A6A70;
}


.woocommerce-checkout .woocommerce-mini-cart__buttons {
    display: none;
}

.woocommerce-checkout span.mini-cart-continue-shopping {
    display: none;
}


@media screen and (max-width: 971px) {
.site-header-cart {
    top: 108px;
    right: -800px;
    width: 100%;
    padding: 20px;
	display: none;
}
.site-header-cart.cart-visible {
	display: block;
}
}



/*--------------------------------------------------------------
# Checkout
--------------------------------------------------------------*/

.checkout-frame {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checkout-nav {
    display: flex;
    justify-content: center;
    gap: 2em;
}

.checkout-nav .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 200px;
    position: relative;
}

.checkout-nav .step span.step-num {
    width: 40px;
    height: 40px;
    background-color: #DCDCDD;
    border-radius: 40px;
    font-weight: 600;
    color: #6A6A70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-nav .step.step-active span.step-num {
    background-color: var(--wp--preset--color--accent-light);
    color: #fff;
}

.checkout-nav .step.step-done span.step-num {
    background-color: var(--wp--preset--color--accent);
    color: transparent;
    background-image: url(../img/icons/icon-check-white.png);
    background-size: 0.92em;
    background-repeat: no-repeat;
    background-position: center;
}

.checkout-nav .step:before {
    position: absolute;
    content: '';
    width: 172px;
    height: 2px;
    left: -102px;
    top: 19px;
    background-color: #DCDCDD;
}

.checkout-nav .step.step-active:before {
    background-color: var(--wp--preset--color--accent-light);
}

.checkout-nav .step.step-done:before {
    background-color: var(--wp--preset--color--accent);
}

.checkout-nav .step:first-child:before {
    display: none !important;
}

.checkout-nav .step span.step-label {
    font-size: 0.85em;
    font-weight: 600;
    color: #6A6A70;
}

.checkout-nav .step.step-active span.step-label {
    color: var(--wp--preset--color--accent);
}

.checkout-cols {
    display: flex;
    gap: 36px;
    margin-top: 30px;
    max-width: 1020px;
}

.checkout-col-1 {
    width: calc(100% - 352px);
}

.checkout-col-2 {
    width: 316px;
}

.m3checkout-section {
    border: 1px solid #DCDCDD;
    border-radius: 12px;
    padding: 2.2em 1.6em;
    display: none;
}

.m3checkout-section.active {
    display: block;
}

.m3checkout-section h3 {
    font-size: 20px;
    margin: 0 0 1.5em;
}

.m3checkout-section fieldset {
    padding: 0;
    border: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
}

p.form-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    width: 100%;
}

p.form-row-first, p.form-row-last {
    width: calc(50% - 10px);
}

p.form-row label {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    color: #6A6A70;
    letter-spacing: 1px;
}

p.form-row label span.required {
    display: none;
}

span.woocommerce-input-wrapper > * {
    border: 1px solid #DCDCDD;
    border-radius: 5px;
    line-height: 1.3;
    width: 100%;
    color: #6A6A70;
    background-color: #fff;
    padding: 0.7em 0.9em;
}

.steps-nav {
    display: flex;
    gap: 15px;
    margin-top: 2em;
}

.steps-nav span {
    line-height: 1.3;
    padding: 0.75em 1.7em;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #DCDCDD;
    color: #6A6A70;
    font-weight: 600;
    display: inline-block;
}

.steps-nav span.next-step, button#place_order {
    background-color: var(--wp--preset--color--accent);
    border-color: var(--wp--preset--color--accent);
    color: #fff;
}

button#place_order {
    padding-left: 1.7em;
    padding-right: 1.7em;
}



.m3shipping {
    width: 100%;
}

.m3shipping h4 {
    margin: 0 0 0.6em;
}

.m3shipping table {
    margin: 0;
}

.m3shipping table th {
    display: none;
}

.special-checkout-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.special-checkout-list ul li {
    border: 1px solid #DCDCDD;
    border-radius: 5px;
    line-height: 1.3;
    padding: 0.8em 2.8em;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.special-checkout-list ul li.selec {
    border-color: #0057D8;
    background-color: #EEF2FB;
}

.special-checkout-list ul input {
    display: none;
}

span.meth-desc {
    display: block;
    font-size: var(--wp--preset--font-size--small);
    color: #6A6A70;
    margin-top: 2px;
}

.gateway-descriptions {
    border: 1px solid #DCDCDD;
    border-radius: 5px;
    background-color: #F5F7FA;
    padding: 1.5em 1.7em;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.4;
    color: #6A6A70;
    margin: 1em 0 2em;
}



.checkout-resumen {
    border: 1px solid #DCDCDD;
    border-radius: 12px;
    padding: 1.5em 1.2em;
}

.checkout-resumen h4 {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 1em;
}

.resumen-block {
    margin-bottom: 0.7em;
    padding-bottom: 0.7em;
    border-bottom: 1px solid #DCDCDD;
}

.resumen-block.r-total {
    margin: 0;
    padding: 0;
    border: none;
}

.p-item {
    display: flex;
    justify-content: space-between;
    line-height: 1;
    gap: 10px;
    padding: 5px 0;
}

.p-item > span:first-child {
    color: #6A6A70;
}

.p-item > span:last-child {
    font-weight: 600;
}

span.eliminar-cupones {
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--accent);
    padding: 0 0 0 0.4em;
    cursor: pointer;
    letter-spacing: 1px;
}



.woocommerce-form-coupon-toggle {
    margin-top: 1em;
    font-size: var(--wp--preset--font-size--small);
}

.woocommerce-form-coupon {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.woocommerce-form-coupon p.form-row {
    width: auto !important;
}

input#coupon_code {
    padding: 7px 8px;
    outline: none;
    border-radius: 4px;
}




.resultado-pedido {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 170px);
    max-width: 440px;
    margin: auto;
    text-align: center;
}

figure.order-result {
    width: 90px;
    height: 90px;
    margin: 0;
}

.resultado-pedido p {
    color: #6A6A70;
}

.resultado-pedido p span.order-id {
    color: var(--wp--preset--color--contrast);
    font-weight: 700;
}

.resultado-pedido h2 {
    font-weight: 800;
    font-size: var(--wp--preset--font-size--xx-large);
}

a.back-home {
    display: block;
    color: #fff;
    background-color: var(--wp--preset--color--accent-light);
    line-height: 1;
    font-weight: 700;
    padding: 1.2em 2.7em;
    border-radius: 4px;
    margin-top: 1.6em;
}



.woocommerce-message {
    background-color: #DCDCDD;
    margin-top: 2em;
    padding: 0.5em 1em;
    border-radius: 4px;
}



@media screen and (max-width: 893px) {
.checkout-nav {
    gap: 1em;
    width: 310px;
    justify-content: space-between;
}
.checkout-nav .step {
    width: 30px;
}
.checkout-nav .step span.step-num {
    width: 30px;
    height: 30px;
    border-radius: 30px;
}
.checkout-nav .step span.step-label {
    font-size: 9px;
}
.checkout-nav .step:before {
    width: 50px;
    height: 2px;
    left: -56px;
    top: 14px;
}
.checkout-cols {
    flex-direction: column;
    gap: 25px;
}
.checkout-col-1, .checkout-col-2 {
    width: 100%;
}
p.form-row-first, p.form-row-last {
    width: 100%;
}
.resultado-pedido {
    min-height: 50vh;
}
figure.order-result {
    width: 60px;
    height: 60px;
    margin: 0;
}
.resultado-pedido h2 {
    font-size: var(--wp--preset--font-size--large);
}

}








