/* Shop8 - CSS consolidado. Orden de cascada preservado del tema anterior.
   Mantener reglas aquí para evitar colisiones entre hojas de estilos dispersas. */


/* ===== SECCIÓN DE ORIGEN: assets/css/custom.css ===== */
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    font-weight: 700;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

@media screen and (max-width: 767px) {

    #add_payment_method #payment ul.payment_methods li img,
    .woocommerce-cart #payment ul.payment_methods li img,
    .woocommerce-checkout #payment ul.payment_methods li img {
        float: none !important;
    }

    body .left-div {
        padding-left: 0 !important;
        padding: 0 !important;
    }

    .woocommerce .cart div.quantity {
        width: auto;
        margin: 5px 0px 5px 0;
    }

    .woocommerce table.shop_table .product-remove {
        padding: 10px 20px !important;
        text-align: left !important;
    }

    .woocommerce table.shop_table .product-subtotal>span,
    .woocommerce-page table.shop_table_responsive tr td a {
        font-size: 14px;
        text-decoration: none;
    }

    .woocommerce-page table.shop_table_responsive tr td.product-remove a {
        color: red;
        font-weight: bold;
        text-shadow: 0 0 1px red;
        font-size: 10px;
    }

    .woocommerce table.shop_table td {
        border-bottom: 0;
    }

    .woocommerce table.shop_table {
        border: 1px solid rgba(0, 0, 0, .1);
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: block;
        text-align: right !important;
    }

    .woocommerce table.shop_table_responsive thead,
    .woocommerce-page table.shop_table_responsive thead {
        display: none;
    }

    .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
    .woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
        border-top: 0;
    }

    .woocommerce table.shop_table_responsive tbody th,
    .woocommerce-page table.shop_table_responsive tbody th {
        display: none;
    }

    .woocommerce table.shop_table_responsive tr,
    .woocommerce-page table.shop_table_responsive tr {
        display: block;
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        width: 100% !important;
        display: block;
        text-align: right !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-width: 0 1px 1px 0;
        height: auto;
    }

    .woocommerce table.shop_table_responsive tr td.order-actions,
    .woocommerce-page table.shop_table_responsive tr td.order-actions {
        text-align: left !important;
    }

    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        float: left;
        font-size: 12px;
        text-transform: uppercase;
    }

    .woocommerce table.shop_table_responsive tr td.actions::before,
    .woocommerce table.shop_table_responsive tr td.product-remove::before,
    .woocommerce-page table.shop_table_responsive tr td.actions::before,
    .woocommerce-page table.shop_table_responsive tr td.product-remove::before {
        display: none;
    }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background-color: rgba(0, 0, 0, 0.025);
    }

    .woocommerce table.my_account_orders tr td.order-actions,
    .woocommerce-page table.my_account_orders tr td.order-actions {
        text-align: left;
    }

    .woocommerce table.my_account_orders tr td.order-actions::before,
    .woocommerce-page table.my_account_orders tr td.order-actions::before {
        display: none;
    }

    .woocommerce table.my_account_orders tr td.order-actions .button,
    .woocommerce-page table.my_account_orders tr td.order-actions .button {
        float: none;
        margin: 0.125em 0.25em 0.125em 0;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-1,
    .woocommerce-page .col2-set .col-2 {
        float: none;
        width: 100%;
    }

    .woocommerce ul.products[class*="columns-"] li.product,
    .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 48%;
        float: left;
        clear: both;
        margin: 0 0 2.992em;
    }

    .woocommerce ul.products[class*="columns-"] li.product:nth-child(2n),
    .woocommerce-page ul.products[class*="columns-"] li.product:nth-child(2n) {
        float: right;
        clear: none !important;
    }

    .woocommerce #content div.product div.images,
    .woocommerce #content div.product div.summary,
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page #content div.product div.summary,
    .woocommerce-page div.product div.images,
    .woocommerce-page div.product div.summary {
        float: none;
        width: 100%;
    }

    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail,
    .woocommerce-page #content table.cart .product-thumbnail,
    .woocommerce-page table.cart .product-thumbnail {
        display: none;
    }

    .woocommerce #content table.cart td.actions,
    .woocommerce table.cart td.actions,
    .woocommerce-page #content table.cart td.actions,
    .woocommerce-page table.cart td.actions {
        text-align: left;
    }

    .woocommerce #content table.cart td.actions .coupon,
    .woocommerce table.cart td.actions .coupon,
    .woocommerce-page #content table.cart td.actions .coupon,
    .woocommerce-page table.cart td.actions .coupon {
        float: none;
        padding-bottom: 0.5em;
    }

    .woocommerce #content table.cart td.actions .coupon::after,
    .woocommerce #content table.cart td.actions .coupon::before,
    .woocommerce table.cart td.actions .coupon::after,
    .woocommerce table.cart td.actions .coupon::before,
    .woocommerce-page #content table.cart td.actions .coupon::after,
    .woocommerce-page #content table.cart td.actions .coupon::before,
    .woocommerce-page table.cart td.actions .coupon::after,
    .woocommerce-page table.cart td.actions .coupon::before {
        content: " ";
        display: table;
    }

    .woocommerce #content table.cart td.actions .coupon::after,
    .woocommerce table.cart td.actions .coupon::after,
    .woocommerce-page #content table.cart td.actions .coupon::after,
    .woocommerce-page table.cart td.actions .coupon::after {
        clear: both;
    }

    .woocommerce #content table.cart td.actions .coupon .button,
    .woocommerce #content table.cart td.actions .coupon .input-text,
    .woocommerce #content table.cart td.actions .coupon input,
    .woocommerce table.cart td.actions .coupon .button,
    .woocommerce table.cart td.actions .coupon .input-text,
    .woocommerce table.cart td.actions .coupon input,
    .woocommerce-page #content table.cart td.actions .coupon .button,
    .woocommerce-page #content table.cart td.actions .coupon .input-text,
    .woocommerce-page #content table.cart td.actions .coupon input,
    .woocommerce-page table.cart td.actions .coupon .button,
    .woocommerce-page table.cart td.actions .coupon .input-text,
    .woocommerce-page table.cart td.actions .coupon input {
        width: 48%;
        box-sizing: border-box;
    }

    .woocommerce #content table.cart td.actions .coupon .button.alt,
    .woocommerce #content table.cart td.actions .coupon .input-text+.button,
    .woocommerce table.cart td.actions .coupon .button.alt,
    .woocommerce table.cart td.actions .coupon .input-text+.button,
    .woocommerce-page #content table.cart td.actions .coupon .button.alt,
    .woocommerce-page #content table.cart td.actions .coupon .input-text+.button,
    .woocommerce-page table.cart td.actions .coupon .button.alt,
    .woocommerce-page table.cart td.actions .coupon .input-text+.button {
        float: right;
    }

    .woocommerce #content table.cart td.actions .button,
    .woocommerce table.cart td.actions .button,
    .woocommerce-page #content table.cart td.actions .button,
    .woocommerce-page table.cart td.actions .button {
        display: block;
        width: 100%;
    }

    .woocommerce .cart-collaterals .cart_totals,
    .woocommerce .cart-collaterals .cross-sells,
    .woocommerce .cart-collaterals .shipping_calculator,
    .woocommerce-page .cart-collaterals .cart_totals,
    .woocommerce-page .cart-collaterals .cross-sells,
    .woocommerce-page .cart-collaterals .shipping_calculator {
        width: 100%;
        float: none;
        text-align: left;
    }

    .woocommerce-page.woocommerce-checkout form.login .form-row,
    .woocommerce.woocommerce-checkout form.login .form-row {
        width: 100%;
        float: none;
    }

    .woocommerce #payment .terms,
    .woocommerce-page #payment .terms {
        text-align: left;
        padding: 0;
    }

    .woocommerce #payment #place_order,
    .woocommerce-page #payment #place_order {
        float: none;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1em;
    }

    .woocommerce .lost_reset_password .form-row-first,
    .woocommerce .lost_reset_password .form-row-last,
    .woocommerce-page .lost_reset_password .form-row-first,
    .woocommerce-page .lost_reset_password .form-row-last {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-content,
    .woocommerce-account .woocommerce-MyAccount-navigation {
        float: none;
        width: 100%;
    }

    .single-product .twentythirteen .panel {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .woocommerce .cart-collaterals table.shop_table td.product-name {
        text-align: left;
        font-size: 13px;
    }

    .woocommerce .cart-collaterals table.shop_table.woocommerce-checkout-review-order-table td .amount {
        color: #de4593;
        font-weight: 500;
        font-size: 15px;
    }

    .woocommerce .cart-collaterals table.shop_table.woocommerce-checkout-review-order-table .order-total td .amount,
    .woocommerce .cart-collaterals table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal td .amount {
        font-size: 15px;
    }

    .woocommerce table.shop_table .product-name .image {
        display: none;
    }
}



.tablekeys thead tr th {
    color: #fff;
}

.tablekeys thead tr {
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    background-color: #113161 !important;
}

.message-content {
    font-size: inherit !important;
}

.alert-message,
.alert {
    background-color: #fff !important;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.11);
    position: relative;
    color: #404040 !important;
    background-image: linear-gradient(to bottom, #FFFFFF, #F9F9F9);
    border-top-color: #d8d8d8;
    border-bottom-color: #bdbdbd;
    border-left-color: #cacaca;
    border-right-color: #cacaca;
    padding-left: 61px !important;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    width: 100% !important;
}

.alert-message .payment-method-icon,
.alert-white .icon {
    text-align: center;
    width: 45px;
    height: 102%;
    position: absolute;
    top: -1px;
    left: -1px;
    border: 1px solid #bdbdbd;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    fill: white;
}

.alert-message .payment-method-icon,
.alert-white.rounded .icon {
    border-radius: 3px 0 0 3px;
    -webkit-border-radius: 3px 0 0 3px;
}

.alert-white.alert-warning .icon,
.alert-white.alert-warning .icon:after {
    border-color: #d68000;
    background: #fc9700;
}

.alert-white.rounded .icon svg {
    width: 25px;
}

.alert-message .payment-method-icon:after,
.alert-white .icon:after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid #bdbdbd;
    position: absolute;
    border-left: 0;
    border-bottom: 0;
    top: 50%;
    right: -6px;
    margin-top: -5px;
    background: #fff;
}

.alert-white.alert-warning .icon,
.alert-white.alert-warning .icon:after {
    border-color: #d68000;
    background: #fc9700;
}

.alert-message .payment-method-icon,
.alert-message .payment-method-icon:after {
    border-color: #3a8ace;
    background: #4d90fd;
}

.payment-method-icon i {
    font-size: 25px !important;
    color: #fff !important;
}



@media(max-width: 768px) {
    tr.plink td p {
        height: auto !important;
    }

    .alert-message,
    .alert {
        font-size: 13px !important;
    }

    .home-box .vc_column-inner .vc_inner {
        padding-right: 145px !important;
        background-size: contain !important;
        background-position: 50px center !important;
    }

    .home-box .wpb_column:last-child .vc_column-inner .vc_inner {
        background-size: auto 96% !important;
        background-position: 55% 0 !important;
    }

    body .woocommerce ul.order_details {
        padding: 0;
    }

    body .woocommerce ul.order_details li {
        float: none;
        border-right: 0;
        padding-right: 0;
        margin-left: 0;
        padding-left: 0;
        list-style-type: none;
        margin: 0 0 10px 0;
    }

    body.woocommerce form .form-row-first,
    body.woocommerce form .form-row-last,
    body.woocommerce-page form .form-row-first,
    body.woocommerce-page form .form-row-last {
        width: 100%;
    }

    .woocommerce table.shop_table td {
        font-size: 15px !important;
    }

    .btn-default,
    input[type="submit"],
    input#submit,
    button,
    a.comment-reply-link,
    body.woocommerce #respond input#submit,
    body.woocommerce a.button,
    body.woocommerce button.button,
    body.woocommerce input.button,
    body.woocommerce #respond input#submit.alt,
    body.woocommerce a.button.alt,
    body.woocommerce button.button.alt,
    body.woocommerce input.button.alt {
        font-size: 15px !important;
    }

    .woocommerce table.shop_table th {
        font-size: 15px !important;
    }

    .right-div {
        padding: 0 !important;
    }

    #add_payment_method #payment ul.payment_methods,
    body.woocommerce-cart #payment ul.payment_methods,
    body.woocommerce-checkout #payment ul.payment_methods {

        padding: 0 !important;
    }

}




/* custom google pay*/
.woocommerce-checkout #payment ul.payment_methods li label img {
    max-height: 20px;
}

.woocommerce #payment #place_order:disabled,
.woocommerce-page #payment #place_order:disabled {
    background-color: #b7b7b7;
    border-color: #b7b7b7;
    color: #e9e1e1;
}
/* tarjeta */
.container-card{
	padding:15px !important;
	position:relative;
    overflow: hidden;
}
.container-card::before{
	content:"";
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;

}
.container-card h2 , .container-card .content, .container-card p {
	position:relative;
	z-index:2;
}

.documento-legal {
  background: #fff;
  border: 1px solid #ccc;
  padding: 30px;
  margin: 30px auto;
  max-width: 800px;
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-size: 16px;
  color: #333;
  border-left: 6px solid #2c3e50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.documento-legal h2 {
  margin-top: 0;
  font-size: 22px;
  color: #2c3e50;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}



/* ===== SECCIÓN DE ORIGEN: assets/css/woocommerce-gallery.css ===== */
.woocommerce div.product div.images {
    margin-bottom: 2em;
}
.woocommerce div.product div.images img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: none;
}
.woocommerce div.product div.images div.thumbnails {
    padding-top: 1em;
}
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    transition: all cubic-bezier(0.795, -0.035, 0, 1) 0.5s;
    margin: 0;
    padding: 0;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
    background-color: #fff;
    opacity: 0;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
    border: 1px solid #f2f2f2;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n + 2) {
    width: 25%;
    display: inline-block;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #fff;
    border: none;
    box-sizing: content-box;
    border-radius: 100%;
    cursor: pointer;
    font-size: 2em;
    height: 36px;
    padding: 0;
    position: absolute;
    right: 0.5em;
    text-indent: -9999px;
    top: 0.5em;
    width: 36px;
    z-index: 99;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
    border: 2px solid #000;
    border-radius: 100%;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 10px;
    left: 9px;
    top: 9px;
    position: absolute;
    width: 10px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    background: #000;
    border-radius: 6px;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 8px;
    left: 22px;
    position: absolute;
    top: 19px;
    transform: rotate(-45deg);
    width: 2px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger span[aria-hidden="true"] {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    left: 50%;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    width: 1px;
}
.woocommerce div.product div.images .flex-control-thumbs {
    overflow: hidden;
    zoom: 1;
    margin: 0;
    padding: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
    list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    cursor: pointer;
    opacity: 0.5;
    margin: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1;
}
.woocommerce div.product .woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n + 1) {
    clear: left;
}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n + 1) {
    clear: left;
}
.woocommerce div.product .woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n + 1) {
    clear: left;
}



.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 5px;
    margin-top: 10px;
    justify-content: center
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100%
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    opacity: .3
}

.woocommerce div.product div.images .flex-control-thumbs li {
    border: 1px solid #0000007d
}
.woocommerce-product-gallery__wrapper div[id*="trustpilot-widget-trustbox"] {
    display: none;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    display: flex;
    flex-wrap: wrap;
}
.after-product-gallery {
    order:10;
}


/* ===== SECCIÓN DE ORIGEN: custom.css ===== */

.wc-stripe-product-checkout-container ul.wc_stripe_product_payment_methods li[class*=payment_method_stripe_]:last-child {
    max-width: 227px !important;
    margin: 0 auto !important;
}
 
.woocommerce-page form .form-row-custom-left{
    width: 47%;
    overflow: visible;
    float:left;
}
.woocommerce-page form .form-row-custom-last{
    width: 47%;
    overflow: visible;
    float:right;
    clear: none;
}
@media (max-width: 767px) {
    .woocommerce form .form-row-first, 
    .woocommerce form .form-row-last, 
    .woocommerce-page form .form-row-first, 
    .woocommerce-page form .form-row-last {
        width: 100%;
        overflow: visible;
        float:none;
    }
    .woocommerce-page form .form-row-custom-left{
        width: 100%;
        overflow: visible;
    }
}


/*REORDER CHECKOUT*/
.entry-summary {
    display: flex;
    flex-direction: column;
}
.entry-summary > h1{
    order: 1;
}
.entry-summary > .price {
    order: 2;
}
.entry-summary > .features-product {
    order: 4;
}
.entry-summary p[data-trp-gettext] {
    order: 3;
}
.entry-summary > #units-sold {
    order: 5;
}
.entry-summary > #prod-lang {
    order: 6;
}
.entry-summary > .cart {
    order: 7;
}
.entry-summary > .button-wrap {
    order: 8;
}
.entry-summary > .promo-box-container {
    order: 9;
}
.entry-summary > .container-card {
    order: 10;
    width: 100%;
    margin-top: 10px;
}
.entry-summary > #pay_with_amazon_product {
    order: 11;
}
.entry-summary > .product_meta {
    order: 12;
}
.entry-summary > .woocommerce-product-details__short-description {
    order: 13;
}
/* Compatibilidad: DOM después del extracto (hook 55), orden visual después del extracto. */
.single-product .entry-summary > .wao-compat-compact {
    order: 14;
}
/*/REORDER CHECKOUT*/   

.button-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    flex-direction: row;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}
.button-wrap.button-wrap-3 {
    grid-template-columns: repeat(3, 1fr);
}
.button-wrap a {
    position: relative;
    width: 100%;
    background-color: black;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    max-width: 48%;
}
.button-wrap a img{
    background-color: black;
    border-radius: 0;
    overflow: hidden;
    height: 50px;
    width: auto;
}
.button-wrap.items-4 a img {
    height: 36px;
}
@media (max-width: 767px) {
    .button-wrap a {
        width: 48%;
    }
    .button-wrap {
        gap: 3%;
        row-gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.button-wrap a.yellow {
    position: relative;
    width: 100%;
    background-color: black;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    max-width: 100%;
    background: #ffc439;
    color: #111;
    border: none;
    border-radius: 6px;
    padding: 14px 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
    box-shadow: 0 4px 12px rgba(255, 196, 57, 0.25);
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    text-decoration: none;
}
.button-wrap a.yellow:hover {
    background: #f5b800;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 196, 57, 0.35);
}
.button-wrap a.yellow img{
    overflow: hidden;
    max-width: 98px;
    background-color: transparent;
    height: auto;
}
.button-wrap.items-4 a img {
    height: 36px;
}
@media (max-width: 767px) {
    .button-wrap a.yellow {
        width: 100%;
        font-size: 12px;
    }
    .button-wrap a.yellow img{
        max-width: 55px;
    }
    .button-wrap {
        gap: 3%;
        row-gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }
}
.woocommerce-page form .form-row-custom-left{
    width: 47%;
    overflow: visible;
    float:left;
}
@media (min-width: 769px) {
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        width: 42% !important;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width: 54% !important;
    }
}

@media (max-width: 767px) {
    .woocommerce form .form-row-first, 
    .woocommerce form .form-row-last, 
    .woocommerce-page form .form-row-first, 
    .woocommerce-page form .form-row-last {
        width: 100%;
        overflow: visible;
        float:none;
    }
    .woocommerce-page form .form-row-custom-left{
        width: 100%;
        overflow: visible;
    }
}




/*--------PROMO BOX--------*/
.promo-box-container {
    border: 2px dashed #fe19172b;
    position: relative;
    margin: auto;
    display: block;
    margin-top: 3%;
    margin-bottom: 3%;
    max-width: 760px;
    width: 100%;
    min-height: 118px;
    background: #fff;
    z-index: 1;
    -webkit-box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.2);
}
  
.promo-box-container .right-triangle {
    position: absolute;
    bottom: -2px;
    right: -2px;
    height: 118px;
    width: 125px;
    background: linear-gradient(rgb(254 25 23), rgb(254 25 23)), no-repeat 100%;
    -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
  
.promo-box-container .linkspanner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
  
.promo-box-container .title {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    position: absolute;
    top: 50%;
    left: 35%;
    margin-right: 10px;
    margin-top: 0;
    transform: translate(-45%, -50%);
    z-index: 99;
}
.promo-box-container .title span{
    color: red;
}
.promo-box-container .title a {
    text-decoration: none;
    color: #000;
}
  
.promo-box-container .title span.lighter {
    font-weight: 300;
}
  
.promo-box-container .cta-button {
    background: transparent;
    position: absolute;
    bottom: 23px;
    right: -2px;
    padding: 0;
    float: right;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    z-index: 99;
    transform: rotate(-38deg);
}
.promo-box-container .cta-button img{
    max-width: 90px;
}
  
/*.promo-box-container .cta-button:hover {
    color: #000;
    background-color: #F3A32F;
}*/
  
@media all and (max-width: 600px) {
    .promo-box-container {

      width: 100%;
      height: 120px;
    }
}



/* ===== SECCIÓN DE ORIGEN: custom-italy.css ===== */
/**GRAL**/
a:focus {
    outline: none;
}
a img.alignnone{
	margin:0;
}
h1, .h1 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.3;
    font-weight: 400;
}
h2, .h2 {
    font-size: clamp(20px, 3vw, 25px);
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product a img {
	margin-top:0;
}
.page-template-page-template-full .page-area {
    padding-top: 0;
}
.wpcf7-form {
	text-align: left;
}
.wpcf7 textarea {
    max-height:100px;
}
.wpcf7 input{width:100%}
.wpcf7 textarea{width:100%}
.wpcf7 label {
	width:100%;
}
.wpcf7 input.wpcf7-file{width:700px;margin:auto}
.wpcf7 input.wpcf7-submit{width:100px; color:#D3D3D3;font-size:18px}

@media screen and (max-width: 600px) {
	
	.product .features-product {
		grid-template-columns: auto !important;
	}
}

.wpcf7 input{width:100%}
.wpcf7 textarea{width:100%}
.wpcf7 input.wpcf7-submit{width:50%; color:#030202;font-size:12px}}

#content-footer-section a, #content-footer-section a:active, #content-footer-section a:focus,
#woocommerce_product_categories-6 a{
    text-decoration: none;
    color: #fff;
}
#woocommerce_product_categories-6 a:hover,
#content-footer-section a:hover{
	text-decoration:underline;
	text-underline-offset: 4px;
}
.woocommerce span.onsale {
	background-color: #113161;
  color: #fff; 
}
.amount-cart {
	color: #fff;
	}
.cart-contents span.count {
    color: #fff;
}

.footer-credits-text {
  padding: 20px 0;
  color: #fff;
  display: none;
}
/*el widget de ausgezeichnet*/
#auorgWidgetWrapper._ausgezeichnet_org_auorgWidgetWrapper._ausgezeichnet_org_vertical ._ausgezeichnet_org_widgetContent {
    top: 100px;
   
}


/* Cupón en línea (campo + botón) */
.woocommerce-cart .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce-cart .coupon input#coupon_code {
    width: 220px;
    max-width: 100%;
}

.grecaptcha-badge { 
    visibility: hidden;
}
.page-id-48 .grecaptcha-badge {
    visibility: visible !important;
}
/* Centrar el título del producto */
.single-product .product_title {
    text-align: center!important;
    margin-bottom: 20px; /* Ajusta el margen según lo necesites */
	
	
}

@media (min-width: 1400px) {
    .container {
        width: 1300px;
    }
}

.site-branding-logo img {
    width: 250px;
}
.site-header {
    padding: 20px 0; 
}
.heading-row .search-heading{
	display:flex;
	align-items:center;
}
.dropdown-menu > li > a {
    border-bottom: 0;
    padding: 7px 30px 7px 20px;
    text-transform: uppercase;
}
.elementor-heading-title {
    line-height: 1.3;
}
#content-footer-section {
    background-color: #012C61;
    margin-top: 30px;
    font-size: 15px;
}
#content-footer-section .widget-title h3 {
    background-color: #012C61; 
}
input.header-search-input {
    width: 100%;
}

.elementor-column .elementor-widget-wrap{
  position: relative;
}

.elementor-column .elementor-widget-wrap > .icon-hover{
  position: absolute;
  top: 9;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none; 
}

.elementor-column .elementor-widget-wrap > .icon-default{
  opacity: 1;
  transition: opacity .25s ease;
}

.elementor-column:hover .elementor-widget-wrap > .icon-default{
  opacity: 0;
}
.elementor-column:hover .elementor-widget-wrap > .icon-hover{
  opacity: 1;
}

.accordion .helpie-faq-col ul{
	padding-left:0;
}
.helpie-faq.accordions.custom-styles .accordion .accordion__item{
	border-color:#e6e6e6;
}
.helpie-faq.accordions .search__input{
	font-size:15px;
}


/**HEADER**/
.main-menu {
    width: 100%;
    background: #fff;
    transition: box-shadow .3s ease;
}

.main-menu.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.main-menu.is-fixed .navbar {
    padding: 6px 0;
}

.fixed-menu-logo {
    display: none;
}

.fixed-menu-logo img {
    height: 48px;
    width: auto;
}

.main-menu.is-fixed .fixed-menu-logo {
    display: block;
}

@media (min-width: 768px) {

    .navbar-default .navbar-nav>.active>a {
        font-weight: 600;
        color: white;
    }

    #site-navigation {
        background-color: #012C61;
        border-bottom: none;
        border-top: none;
    }

    .navbar-default {
        border-color: transparent;
    }

    .navbar-default .navbar-nav>li>a {
        color: #fff;
    }
    .navbar-default .navbar-nav > .active > a, 
    .navbar-default .navbar-nav > .active > a:hover, 
    .navbar-default .navbar-nav > .open > a,
    .navbar-default .navbar-nav > .open > a:hover,
    .navbar-default .navbar-nav > .open > a:focus,
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > .active > a:focus {
        color: #9cc9ff;
    }

    .dropdown-menu {
        background-color: #012C61;
    }

    .dropdown-menu>li>a {
        color: #fff;
    }
    .nav .open > a,
    .dropdown-menu>li>a:hover,
    .dropdown-menu>li>a:focus {
        text-decoration: none;
        color: #fff;
        background-color: rgba(255, 255, 255, 0.12)!important;
    }

    button.header-search-button {
        background-color: #012C61;
    }

    button.header-search-button .fa-search:before {
        font-size: 20px;
        color: white;
    }

    .nav>li.active>a:after {
        background-color: white;
        bottom: 1px;
    }

    .woocommerce ul.cart_list li a,
    .woocommerce ul.product_list_widget li a {
        font-weight: 400;
        line-height: 1.3;
    }

    .main-menu.is-fixed .fixed-menu-logo {
        filter: brightness(0) invert(1);        
    }

    .main-menu nav .container {
        display: flex;
        align-items: center;
    }

    .fixed-menu-logo {
        margin-right: 25px;
    }
}

@media (max-width: 767px) {
    .fixed-menu-logo {
        display: none;
        position: absolute;
        top: 4px;
    }

    #my-menu .navbar-nav>li>a,
    #my-menu .dropdown-menu>li>a {
        color: #012C61;
    }

    #my-menu .dropdown-menu>li.active>a {
        background-color: #e7e7e7;
    }
}

@media (max-width: 385px) {
    .fixed-menu-logo img {
        height: 35px!important;
    }
}


.woocommerce .wc-tabs{
	display:none;
}
.home-products .elementor-column {
    padding-left: 10px;
    padding-right: 10px;
}

.home-card {
    height: 100%;
}

.home-card > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-card .elementor-widget-button {
    margin-top: auto !important;
}

.home-card .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1em;
}
.idealo-wg a img {
	height: 90px !important;
}



/**WC**/

.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 43, 100, 0.08);
}
.woocommerce ul.products.columns-4 li.product p,
.woocommerce-page ul.products.columns-4 li.product p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}
.woocommerce.columns-4{
    padding: 0 15px;
}
/*
@media (max-width: 1024px) {
    
    .woocommerce ul.products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
*/
@media (max-width: 767px) {
    .woocommerce ul.products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.woocommerce ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product {
    float: none !important;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column;
}

.woocommerce ul.products.columns-3 li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.woocommerce ul.products.columns-3 li.product .button {
    margin-top: auto !important;
    align-self: stretch;
    text-align: center;
}

.woocommerce ul.products.columns-3 li.product p {
    margin: 12px 0 0;
    text-align: center;
}
.woocommerce ul.products.columns-3 li.product p,
.woocommerce-page ul.products.columns-3 li.product p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}
.woocommerce.columns-3{
    padding: 0 15px;
}
@media (max-width: 767px) {
    .woocommerce ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after {
    content: none !important;
    display: none !important;
}
.woocommerce ul.products li.product {
    border-radius: 5px;
    padding: 16px 16px 20px;
    border: 1px solid #e6e6e6;
    background: #ffffff;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.woocommerce ul.products li.product img {
    border-radius: 10px;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    color: #0b1f3a;        
    letter-spacing: 0.1px;
}
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.woocommerce ul.products li.product .button {
    margin-top: auto !important;
    align-self: stretch;
    text-align: center;
}
.woocommerce ul.products li.product p {
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
}
.home-category {
    margin-top: -50px;
}

.home-category .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    min-height: 165px;
}

.woocommerce ul.products li.product .price {
    margin-bottom: 14px;
    font-size: inherit;
    margin-top: auto;
}

.woocommerce ul.products li.product .price ins {
    font-weight: 700;
    color: #012C61;
    font-size: 20px;
}

.woocommerce ul.products li.product .price del {
    color: #9aa0a6;
    font-size: 14px;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    margin: 0;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    background: #012C61;
    color: #fff;
    border: 1px solid #012C61;
    box-shadow: 0 6px 14px rgba(11, 94, 215, 0.15);
    transition: all 0.25s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: #fff;
    color: #012C61;    
}


/*SINGLE PRODUCT**/
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woocommerce .quantity input[type="number"] {
    -moz-appearance: textfield;
}
.woocommerce .tabs-row {
    margin-left: 0;
    margin-right: 0;
}

.woocommerce .woocommerce-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
}

.woocommerce .wc-tabs {
    display: flex;
    gap: 10px;    
    margin-bottom: 0;
    padding-left: 0;
}

.woocommerce .wc-tabs li {
    list-style: none;
    margin: 0;
}

.woocommerce .wc-tabs li a {
    display: inline-block;
    padding: 8px 20px;
    background: #f5f7fa;
    color: #333;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e1e1e1;
    border-bottom: none;
}

.woocommerce .wc-tabs li a:hover {
    background: #ffffff;
    color: #0a3cff;
}

.woocommerce .wc-tabs li.active a {
    background: #ffffff;
    color: #66afab;
    border-color: #66afab;
    border-bottom: 2px solid #ffffff;
}

.woocommerce .woocommerce-Tabs-panel--description {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e1e1e1;
    border-radius: 0 6px 6px 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
#woocommerce_product_categories-5 {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    padding: 16px;
}

#woocommerce_product_categories-5 .widget-title h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
	  line-height:1.2;
		padding:8px;
}

#woocommerce_product_categories-5 ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

#woocommerce_product_categories-5 li.cat-item {
    padding: 5px;    
}

#woocommerce_product_categories-5 li a {
    font-size: 16px;
    font-weight: 600;
    color: #012C61;
    text-decoration: none;
	  text-transform:uppercase;
}

#woocommerce_product_categories-5 .count {
    font-size: 12px;
    color: #6c757d;
}

#woocommerce_product_categories-5 .current-cat > a,
#woocommerce_product_categories-5 .current-cat-parent > a {
    font-weight: 600;
    color: #084298;
}
#woocommerce_product_categories-5 ul.children {
    margin-top: 6px;
    margin-left: 8px;
    padding-left: 10px;    
}

#woocommerce_product_categories-5 ul.children li {
    padding: 5px;
}

#woocommerce_product_categories-5 ul.children a {
    font-size: 14px;
    color: #012C61;
}
.woocommerce .quantity .qty{
	margin-left:auto;
}

.woocommerce div.product form.cart{
	    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.woocommerce div.product form.cart .button{
	min-width: 290px;
    padding: 14px 28px;
    margin-left: 20px;
	color: #fff;
	background: #012C61;
    border: 1px solid #012C61;    
    transition: all 0.3s ease;
	text-transform:uppercase;
}
.woocommerce div.product form.cart .button:hover{
	background: transparent;
    color: #012C61;	
}
.single-product div.product form.cart .plus, .single-product div.product form.cart .minus{
	color:#999;
}
.woocommerce .quantity .qty{
	border:1px solid #999;
}
#gallery-1{
    padding-left: 20px;
    padding-right: 20px;
}
#gallery-1 .gallery-item{
    margin-bottom: 10px;
}
.entry-summary > .woocommerce-product-details__short-description ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
.entry-summary > .woocommerce-product-details__short-description ul li{
	position: relative;
    padding-left:35px;
    margin-bottom: 8px;
}
.entry-summary > .woocommerce-product-details__short-description ul li::before {
    content: "✔";
    position: absolute;
    left: 10px;
    top: 2px;
    font-size: 15px;
    font-weight: 700;
    color: #012C61; 
}
.woocommerce-Tabs-panel ul{
    padding-left: 25px;
}
.product .features-product {
    display: flex;    
    text-align: center;
    margin-top: 10px;
    gap: 15px;
    text-transform: uppercase;
    max-width: 100%;
}

.product .product-badge {
    flex: 1;
    background: #f5f5f5;
    color: #0b2a4a;
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* pill */
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    align-items: center;
    
}
#gallery-1 img{
	border:none!important;
}
.related .features-product{
    display: none;
}
@media (max-width: 767px) {
    .woocommerce .wc-tabs {
        flex-wrap: wrap;
    }

    .woocommerce .wc-tabs li a {
        padding: 10px 16px;
        font-size: 14px;
    }
    #woocommerce_product_categories-5{
        padding: 14px;
    }

    #woocommerce_product_categories-5 li.cat-item {
        padding: 10px 6px;
    }
    .helpie-faq.accordions .accordion__header:before,
    .helpie-faq.accordions .accordion__header:after{
        margin-right: 20px;
    }

}

@media (min-width: 768px) {
    .single-product .content-single-wrapper {
        display: flex;
        gap: 40px;
    }

    .woocommerce div.product div.images.woocommerce-product-gallery {
        position: sticky;
        top: 120px;
        align-self: flex-start;
        z-index: 5;
    }

    .header-cart.float-cart a.cart-contents {
        padding-top: 30px;
    }
        
}
@media (max-width: 991px) {
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
@media (max-width: 415px){
	.woocommerce-info #pay_with_amazon{
		float:none;
	}
}
@media (min-width: 400px) and (max-width: 767px) {    

	.category-images .elementor-container{
        display: flex !important;       
      	justify-content:center;
        gap: 12px;
    }
	.category-images .elementor-column {
        flex: 0 0 auto;
        width: 90px !important; 
  }
}
/**trustime paper**/
.doc-wrapper {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	overflow: hidden;
	margin-bottom:40px;
}
.doc-wrapper .note {
	width: 800px;	
	background-color: #FEFDF8;
	border: 0.6rem solid #1A6EB4;
	z-index: 1;
}

.doc-wrapper .note .spiral-part {
	height: 3rem;
	background-color: #A1C5DE;
	display: flex;
	justify-content: center;
	align-items: center;
}

.doc-wrapper .note .spiral-part .spiral .hole {
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	background-color: #1A6EB4;
	margin: 0 0.6rem;
}

.doc-wrapper .note .spiral-part .spiral .wire {
	width: 0.3rem;
	height: 2.5rem;
	background-color: #DFE6F1;
	margin-top: -30px;
	margin-left: 9px;
	border-radius: 2px;
}
.doc-wrapper .note .note-lines {
	padding: 30px;
}
.doc-wrapper .note .note-lines img {
    display: block;
    margin: 0 auto;
}
.doc-wrapper .note .note-lines .line {
	height: 2rem;
	border-bottom: 0.2rem solid #E7E6E2;
}

.doc-wrapper .shadow {
	position: absolute;
	width: 46.2rem;
	height: 70rem;
	background-color: #7BACD5;
	transform: rotate(-59deg);
	top: 133px;
	right: -8px;
}
@media (max-width: 768px) {

    .doc-wrapper {
        padding: 15px;
        margin-bottom: 20px;
    }

    .doc-wrapper .note {
        width: 100%;
        border-width: 0.4rem;
    }

    /* Espiral más compacta */
    .doc-wrapper .note .spiral-part {
        height: 2rem;
        padding: 0 8px;
        overflow-x: hidden;
    }

    .doc-wrapper .note .spiral-part .spiral .hole {
        width: 1rem;
        height: 1rem;
        margin: 0 0.35rem;
    }

    .doc-wrapper .note .spiral-part .spiral .wire {
        height: 2rem;
        width: 0.32rem;
        margin-top: -25px;
        margin-left: 6px;
    }

    /* Contenido */
    .doc-wrapper .note .note-lines {
        padding: 20px 16px;
    }

    .doc-wrapper .note .note-lines p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Imágenes responsivas */
    .doc-wrapper .note .note-lines img {
        max-width: 100%;
        height: auto;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {

    .doc-wrapper {
        padding: 20px;
    }

    .doc-wrapper .note {
        width: 105%;
        border-width: 0.5rem;
    }

    .doc-wrapper .note .note-lines {
        padding: 24px;
    }
}


@media (max-width: 1399px) {
	.woocommerce div.product form.cart .button{
		margin-left:0px;
	}
}


/**pages*/
.page-id-3 h1.single-title,
.page-id-48 h1.single-title,
.page-id-5104 h1.single-title,
.page-id-5170 h1.single-title,
.page-id-5178 h1.single-title,
.page-id-5183 h1.single-title,
.page-id-5188 h1.single-title,
.page-id-5565 h1.single-title,
.page-id-5567 h1.single-title{
	font-family: 'Roboto Slab', serif;
	margin-top: 20px;
}

.products .product.product_cat-bestseller:before, .products .product.product_cat-combos:before, .products .product.product_cat-mac:before, .products .product.product_cat-msoffice:before, .products .product.product_cat-project:before, .products .product.product_cat-visio:before, .products .product.product_cat-office-2019:before, .products .product.product_cat-office-2021:before, .products .product.product_cat-2024:before, .products .product.product_cat-popular:before, .products .product.product_cat-project-msoffice:before, .products .product.product_cat-visio-msoffice:before, .products .product.product_cat-windows-10:before, .products .product.product_cat-windows-11:before, .products .product.product_cat-windows-desktop:before, .products .product.product_cat-windows-server:before, .products .product.product_cat-windows-server-2012-r2:before, .products .product.product_cat-windows-server-2016:before, .products .product.product_cat-windows-server-2019:before, .products .product.product_cat-windows-server-2022:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .products .product.product_cat-187:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-bestseller.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-combos.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-mac.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-msoffice.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-project.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-visio.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-office-2019.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-office-2021.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-2024.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-popular.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-project-msoffice.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-visio-msoffice.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-10.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-11.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-desktop.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-server.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-server-2012-r2.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-server-2016.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-server-2019.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-windows-server-2022.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before, .product-widget-wrap .shoppingcart-grid-widget-wrap .product.product_cat-187.shoppingcart-grid-product:before{
    top: -20px!important;
    right: -20px!important;
}
.woocommerce .wc-tabs li.additional_information_tab,
.woocommerce .wc-tabs li.reviews_tab{
    display: none;
}
.news-item h2 a{
    font-size: clamp(18px, 2.5vw, 23px);
    font-weight: 400;
}
@media (max-width: 473px) {
    .woocommerce div.product form.cart .button {        
        width: 100%;
    }
}

.main-container ul{
    padding-left: 25px;
}
.main-container ul li{
    margin-bottom: 8px;
}
.main-container ul ul{
    padding-left: 20px;
}
/* Producto: redistribuir 30px de cada lateral al bloque central.
   Solo escritorio; no altera el apilado móvil ni los componentes de la galería. */
@media (min-width: 992px) {
    body.single-product .row > article.col-md-9 {
        width: calc(75% + 30px);
    }

    body.single-product .row > aside#sidebar.col-md-3 {
        width: calc(25% - 30px);
    }

    body.single-product .content-single-wrapper > div.images.woocommerce-product-gallery {
        width: calc(42% - 43px) !important;
        flex: 0 0 calc(42% - 43px);
        min-width: 0;
    }

    body.single-product .content-single-wrapper > .summary.entry-summary {
        width: auto !important;
        flex: 1 1 0;
        min-width: 0;
    }
}



/* Shop8: tarjetas informativas del producto. Estilos en CSS, no inyectados en PHP. */
.wao-support-card{width:100%;max-width:100%;min-width:0;margin:20px 0 0;padding:18px;background:#fff;border:1px solid #e0dcd5;border-radius:16px;box-sizing:border-box;font-family:inherit;color:#182333;text-align:left;line-height:1.45;font-weight:400}
.wao-support-card *{box-sizing:border-box}
.wao-support-card .wao-sc-header{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.wao-support-card .wao-sc-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#f6f5f2;color:#657584}
.wao-support-card .wao-sc-title{margin:0!important;padding:0!important;border:0!important;color:#182333!important;font-size:16px!important;line-height:1.3!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
.wao-support-card .wao-sc-subtitle{margin:3px 0 0!important;padding:0!important;color:#84909e;font-size:11px;line-height:1.4}
.wao-support-card .wao-sc-languages{margin:0!important;padding:0!important;color:#657584;font-size:12px;line-height:1.65;font-weight:400}
.wao-support-card .wao-sc-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 12px;border-top:1px solid #eeece7;padding-top:12px;margin-top:14px}
.wao-support-card .wao-sc-flags{display:flex;align-items:center;gap:4px;flex-shrink:0}
.wao-support-card .wao-sc-flag{display:block;width:21px;height:21px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px #e8e8e5}
.wao-support-card .wao-sc-flag svg{display:block;width:100%;height:100%}
.wao-support-card .wao-sc-response{display:inline-flex;align-items:center;gap:5px;color:#466c5b;background:#eff6f1;border-radius:20px;padding:6px 9px;font-size:10px;line-height:1.3;font-weight:500}
.wao-support-card .wao-sc-response svg{flex-shrink:0}
@media(max-width:480px){.wao-support-card{padding:15px;margin-top:16px}.wao-support-card .wao-sc-title{font-size:15px!important}.wao-support-card .wao-sc-flag{width:19px;height:19px}}
.single-product .entry-summary #units-sold.wao-sales-card{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0 0 16px!important;padding:8px 4px!important;background:#fff!important;border:1px solid #e0dcd5!important;border-radius:16px!important;box-shadow:none!important;clip-path:none!important;animation:none!important;line-height:1.45!important;box-sizing:border-box!important;color:#182333!important}
#units-sold.wao-sales-card .wao-sales-item{display:flex;align-items:center;gap:7px;min-width:0;text-align:left;justify-content:center;padding:0 6px;box-sizing:border-box}
#units-sold.wao-sales-card .wao-sales-item + .wao-sales-item{border-left:1px solid #eeece7;padding-left:6px}
#units-sold.wao-sales-card .wao-sales-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#f6f5f2;color:#71808f}
#units-sold.wao-sales-card .wao-sales-text{font-size:11px!important;font-weight:500!important;line-height:1.5!important;white-space:nowrap!important;overflow-wrap:normal}
#units-sold.wao-sales-card .wao-sales-stock .wao-sales-icon,#units-sold.wao-sales-card .wao-sales-tax .wao-sales-icon{background:#eff6f1;color:#466c5b}
#units-sold.wao-sales-card .wao-sales-tax .wao-sales-text{white-space:normal!important;text-wrap:balance}
@media(max-width:480px){.single-product .entry-summary #units-sold.wao-sales-card{padding:7px 3px!important;gap:0!important}#units-sold.wao-sales-card .wao-sales-item{gap:5px;padding:0 4px}#units-sold.wao-sales-card .wao-sales-item + .wao-sales-item{padding-left:4px}#units-sold.wao-sales-card .wao-sales-text{font-size:10px!important}#units-sold.wao-sales-card .wao-sales-icon{width:25px;height:25px;flex-basis:25px}}
@media(max-width:380px){#units-sold.wao-sales-card .wao-sales-icon{width:20px;height:24px;flex-basis:20px}#units-sold.wao-sales-card .wao-sales-item{gap:3px;padding:0 2px}#units-sold.wao-sales-card .wao-sales-item + .wao-sales-item{padding-left:2px}#units-sold.wao-sales-card .wao-sales-text{font-size:9px!important}}
@media(max-width:600px){.single-product .entry-summary #units-sold.wao-sales-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:8px!important}#units-sold.wao-sales-card .wao-sales-item{justify-content:flex-start;padding:0 8px}#units-sold.wao-sales-card .wao-sales-item:nth-child(3){border-left:0;padding-left:8px}#units-sold.wao-sales-card .wao-sales-item:nth-child(n+3){border-top:1px solid #eeece7;padding-top:8px}}

/* Shop8: metadatos de producto en tarjeta (SKU, categorías y etiquetas). */
.single-product .entry-summary > .product_meta.wao-product-meta {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 15px;
    border: 1px solid #e0dcd5;
    border-radius: 13px;
    background: #fff;
    color: #24364c;
    font-size: 12px;
    line-height: 1.6;
    box-sizing: border-box;
}
.single-product .wao-product-meta .wao-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 9px 0;
}
.single-product .wao-product-meta .wao-meta-row + .wao-meta-row {
    border-top: 1px solid #eeece7;
}
.single-product .wao-product-meta .wao-meta-icon {
    display: inline-flex;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    margin-top: 0;
    border-radius: 7px;
    background: #f6f5f2;
    color: #8b9ba9;
}
.single-product .wao-product-meta .wao-meta-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}
.single-product .wao-product-meta .wao-meta-content {
    min-width: 0;
    flex: 1 1 auto;
    padding-top: 2px;
    overflow-wrap: anywhere;
}
.single-product .wao-product-meta .wao-meta-label {
    color: #51667c;
    font-weight: 400;
}
.single-product .wao-product-meta .wao-meta-sku {
    font-weight: 600;
    color: #24364c;
}
.single-product .wao-product-meta a {
    color: #24364c;
    text-decoration: none;
}
.single-product .wao-product-meta a:hover,
.single-product .wao-product-meta a:focus-visible {
    color: #087a9c;
    text-decoration: underline;
}
@media (max-width: 480px) {
    .single-product .entry-summary > .product_meta.wao-product-meta { padding: 4px 12px; }
    .single-product .wao-product-meta .wao-meta-row { gap: 9px; }
}

/* SHOP8 - Precio y valoración: misma fila, HTML nativo desde PHP. */
.single-product .entry-summary > .wao-price-rating-row {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.single-product .entry-summary .wao-price-rating-row .wao-price-column {
    min-width: 0;
    flex: 1 1 auto;
}
.single-product .entry-summary .wao-price-rating-row .wao-price-column > .price {
    margin: 0;
}
.single-product .entry-summary .wao-price-rating-row .wao-rating-column {
    min-width: 0;
    flex: 0 1 auto;
    text-align: right;
}
.single-product .entry-summary .wao-price-rating-row .woocommerce-product-rating {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0;
}
.single-product .entry-summary .wao-price-rating-row .star-rating {
    margin: 0;
    float: none;
    flex-shrink: 0;
}
.single-product .entry-summary .wao-price-rating-row .woocommerce-review-link {
    white-space: nowrap;
}
@media (max-width: 480px) {
    .single-product .entry-summary > .wao-price-rating-row { gap: 8px; }
    .single-product .entry-summary .wao-price-rating-row .woocommerce-product-rating { gap: 3px 5px; }
    .single-product .entry-summary .wao-price-rating-row .woocommerce-review-link { font-size: 11px; }
}

/* SHOP8 - Galería: el marco recubre el viewport, nunca el slide de FlexSlider.
   El slider gestiona las anchuras de sus slides; no imponerles padding ni width.
   La galería, las miniaturas y el soporte comparten ancho y separación de 20px. */
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    min-width: 0;
    box-sizing: border-box;
}
/* Estado antes y después de que WooCommerce inicialice FlexSlider. */
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .flex-viewport,
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .flex-control-nav,
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .after-product-gallery {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
    margin: 0;
}
/* El marco no altera las dimensiones que el slider calcula para cada imagen. */
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .flex-viewport,
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    border: 1px solid #e0dcd5;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
/* Evita el segundo marco en cuanto FlexSlider envuelve el wrapper. */
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .flex-viewport > .woocommerce-product-gallery__wrapper {
    border: 0;
    border-radius: 0;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .woocommerce-product-gallery__image {
    box-sizing: border-box;
    border: 0;
    padding: 0;
    overflow: hidden;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .woocommerce-product-gallery__image > a {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 16px;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .woocommerce-product-gallery__image > a > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
/* Miniaturas: cuatro columnas con anchos iguales y tarjetas individuales. */
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 0;
    overflow: visible;
    list-style: none;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs li {
    float: none;
    clear: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px;
    border: 1px solid #e0dcd5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs li img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .75;
    border-radius: 7px;
    transition: opacity .15s ease-in-out;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) {
    border-color: #718d9d;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
}
/* Soporte: inmediatamente después de miniaturas; mismo ancho, sin márgenes extra. */
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .after-product-gallery {
    order: 10;
}
body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .after-product-gallery .wao-support-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
@media (max-width: 480px) {
    body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .flex-viewport,
    body.single-product .content-single-wrapper > .images.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
        border-radius: 14px;
    }
    body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .woocommerce-product-gallery__image > a { padding: 10px; }
    body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs { gap: 6px; }
    body.single-product .content-single-wrapper > .images.woocommerce-product-gallery .flex-control-thumbs li { padding: 3px; border-radius: 9px; }
}


/* Shop8: formulario principal de compra. Tamaños naturales desde CSS inicial. */
body.single-product .entry-summary > form.cart:not(.grouped_form) {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 0 12px;
}
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity {
    display: inline-flex;
    align-items: stretch;
    flex: 0 0 auto;
    margin: 0 !important;
    white-space: nowrap;
}
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .qty,
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .plus,
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .minus {
    height: 44px;
    min-height: 44px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #e0dcd5;
    background: #fff;
    color: #182333;
    border-radius: 9px;
    box-shadow: none;
}
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .qty {
    width: 48px;
    max-width: 48px;
    text-align: center;
}
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .plus,
body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .minus {
    width: 32px;
    min-width: 32px;
    padding: 0;
    cursor: pointer;
}
body.single-product .entry-summary > form.cart:not(.grouped_form) > .single_add_to_cart_button {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0 !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #012c61 !important;
    border-radius: 12px !important;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.25;
}
/* Variaciones: los selects mantienen su propia fila, solo el botón se estira. */
body.single-product .entry-summary > form.cart.variations_form { flex-wrap: wrap; }
body.single-product .entry-summary > form.cart.variations_form > .variations,
body.single-product .entry-summary > form.cart.variations_form > .single_variation_wrap { width: 100%; }
body.single-product .entry-summary > form.cart.variations_form .woocommerce-variation-add-to-cart {
    display: flex; align-items: stretch; gap: 12px; min-width: 0; width: 100%;
}
body.single-product .entry-summary > form.cart.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1 1 0; min-width: 0 !important; margin: 0 !important;
    border-radius: 12px !important;
}
@media (max-width: 480px) {
    body.single-product .entry-summary > form.cart:not(.grouped_form) { gap: 8px; }
    body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .qty { width: 38px; max-width: 38px; }
    body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .plus,
    body.single-product .entry-summary > form.cart:not(.grouped_form) > .quantity .minus { width: 28px; min-width: 28px; }
}

/* Shop8: barra de compra flotante nativa; JS solo cambia la visibilidad. */
.wao8-sticky-cart {
    position: fixed; z-index: 10001;
    left: 50%; bottom: calc(var(--wao-fixed-footer-height, 96px) + 5px);
    transform: translateX(-50%);
    display: none;
    width: min(1140px, calc(100% - 32px));
    max-width: 1140px;
    padding: 10px 12px;
    border: 1px solid #e0dcd5;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(24,35,51,.14);
    background: #fff;
    box-sizing: border-box;
    color: #182333;
}
.wao8-sticky-cart.wao8-sticky-visible { display: block; }
.wao8-sticky-cart__inner { display: flex; gap: 12px; align-items: center; min-width: 0; }
.wao8-sticky-cart__image { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 9px; object-fit: contain; }
.wao8-sticky-cart__title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.wao8-sticky-cart__price { flex: 0 0 auto; font-weight: 700; white-space: nowrap; font-size: 14px; }
.wao8-sticky-cart__price del { color: #84909e; font-weight: 400; font-size: 11px; }
.wao8-sticky-cart__qty { flex: 0 0 60px; width: 60px; height: 40px; border: 1px solid #e0dcd5; border-radius: 10px; box-sizing: border-box; text-align: center; color: #182333; background: #fff; }
.wao8-sticky-cart__button {
    flex: 0 1 205px; min-width: 120px; height: 42px; padding: 8px 10px;
    border: 1px solid #012c61; border-radius: 11px;
    background: #012c61; color: #fff; font-weight: 600; cursor: pointer;
}
.wao8-sticky-cart__button:hover { background: #fff; color: #012c61; }
.wao8-sticky-cart__button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 700px) {
    .wao8-sticky-cart { width: calc(100% - 16px); padding: 8px; border-radius: 12px; }
    .wao8-sticky-cart__inner { gap: 7px; }
    .wao8-sticky-cart__image { width: 36px; height: 36px; flex-basis: 36px; }
    .wao8-sticky-cart__title { font-size: 11px; }
    .wao8-sticky-cart__price { font-size: 12px; }
    .wao8-sticky-cart__qty { flex-basis: 45px; width: 45px; height: 38px; }
    .wao8-sticky-cart__button { flex: 0 0 auto; min-width: 92px; max-width: 37%; height: 39px; font-size: 11px; }
}
@media (max-width: 380px) {
    .wao8-sticky-cart__image { display: none; }
    .wao8-sticky-cart__price del { display: none; }
    .wao8-sticky-cart__button { min-width: 80px; }
}

/* Shop8: pestañas y descripción confinadas a la columna principal WooCommerce. */
body.single-product article > .wao8-product-details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.single-product article > .wao8-product-details .woocommerce-tabs,
body.single-product article > .wao8-product-details .woocommerce-Tabs-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
body.single-product article > .wao8-product-details .woocommerce-Tabs-panel {
    overflow-wrap: anywhere;
}
/* En móviles footer_div.php no queda fijo: mantener solo margen de seguridad. */
@media (max-width: 767px) {
    body.single-product .wao8-sticky-cart {
        bottom: calc(5px + env(safe-area-inset-bottom, 0px));
    }
}

/* Shop8: barra flotante alineada con la columna del producto (galería + resumen).
   Misma rejilla Bootstrap del contenido; no modifica la descripción larga. */
@media (min-width: 768px) {
    body.single-product .wao8-sticky-cart {
        left: calc((100% - var(--wao8-page-container)) / 2 + 15px);
        transform: none;
        width: calc(var(--wao8-page-container) * .75);
        max-width: none;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    body.single-product .wao8-sticky-cart { --wao8-page-container: 750px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    body.single-product .wao8-sticky-cart { --wao8-page-container: 970px; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    body.single-product .wao8-sticky-cart { --wao8-page-container: 1170px; }
}
@media (min-width: 1400px) {
    body.single-product .wao8-sticky-cart { --wao8-page-container: 1300px; }
}
@media (max-width: 767.98px) {
    body.single-product .wao8-sticky-cart {
        left: 50%; transform: translateX(-50%);
        width: calc(100% - 16px); max-width: none;
    }
}

/* Barra externa a las columnas: fixed relativo al viewport, sin recorte por ancestors. */
body.single-product #wao8-sticky-cart { display: none; }
body.single-product #wao8-sticky-cart.wao8-sticky-visible { display: block; }


/* Shop8 · Widgets del contenido: misma tarjeta que la galería y metadatos.
   Se excluyen intencionadamente el footer, la cabecera, menú y widgets de Elementor
   para no transformar controles de navegación ni composiciones de página. */
#sidebar > .widget {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e0dcd5;
    border-radius: 16px;
    box-shadow: none;
    overflow-wrap: break-word;
}

/* El contenido incrustado conserva sus propios estilos y su escala. */
#sidebar > .widget img {
    max-width: 100%;
    height: auto;
}

/* El widget de categorías ya tenía tarjeta propia: evitar dos marcos. */
#sidebar > #woocommerce_product_categories-5 {
    border: 1px solid #e0dcd5;
    border-radius: 16px;
    padding: 16px;
}

/* Soporte para widgets sin ID de categoría o bloques WordPress. */
#sidebar > .widget:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    #sidebar > .widget {
        padding: 14px;
        border-radius: 14px;
        margin-bottom: 20px;
    }
}

/* Shop8 · Espacio superior uniforme y títulos compactos de widgets.
   El margen original de .widget-title añadía 10px adicionales al padding. */
#sidebar > .widget {
    padding-top: 18px;
}
#sidebar > .widget > .widget-title {
    margin-top: 0;
    margin-bottom: 12px;
}
#sidebar > .widget > .widget-title h3 {
    font-size: 13px;
    line-height: 1.35;
    padding: 3px 5px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
    max-width: 100%;
}
/* Respeta los anchos muy pequeños sin desbordamiento. */
@media (max-width: 320px) {
    #sidebar > .widget > .widget-title h3 {
        white-space: normal;
        overflow-wrap: break-word;
    }
}

/* ============================================================
   SHOP8 / CART + CLASSIC CHECKOUT — visual only (2026-11-25)
   Scope restricted to WooCommerce cart and checkout pages.
   No changes to checkout flow, gateway markup, or layout hooks.
   ============================================================ */
body.woocommerce-cart,
body.woocommerce-checkout {
    --wao8-card-border: #e0dcd5;
    --wao8-card-radius: 16px;
    --wao8-card-gap: 20px;
    --wao8-primary: #082e60;
}

/* Cart table, totals and optional cross-sells. */
body.woocommerce-cart .woocommerce-cart-form > .shop_table,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cross-sells,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info {
    background: #fff;
    border: 1px solid var(--wao8-card-border);
    border-radius: var(--wao8-card-radius);
    box-shadow: none;
    box-sizing: border-box;
}
body.woocommerce-cart .woocommerce-cart-form > .shop_table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    width: 100%;
}
body.woocommerce-cart .woocommerce-cart-form > .shop_table th,
body.woocommerce-cart .woocommerce-cart-form > .shop_table td {
    padding: 14px 12px;
    vertical-align: middle;
    border-top-color: #eeece7;
}
body.woocommerce-cart .woocommerce-cart-form > .shop_table th {
    background: #f8f9fa;
    color: #182333;
    font-weight: 600;
}
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cross-sells {
    padding: 18px;
    min-width: 0;
    margin-bottom: var(--wao8-card-gap);
}
body.woocommerce-cart .cart-collaterals .cart_totals h2,
body.woocommerce-cart .cart-collaterals .cross-sells h2 {
    font-size: 18px;
    margin: 0 0 15px;
    color: #182333;
}
body.woocommerce-cart .cart-collaterals .cart_totals table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
body.woocommerce-cart .cart-collaterals .cart_totals th,
body.woocommerce-cart .cart-collaterals .cart_totals td {
    padding: 11px 8px;
    border-color: #eeece7;
}

/* Checkout: leave the existing two Bootstrap columns in place.
   Cards are created around existing semantic sections only. */
body.woocommerce-checkout form.checkout > .container > .row > .col-md-6 {
    min-width: 0;
}
body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout form.checkout #order_review,
body.woocommerce-checkout form.checkout > .container > .row > .col-md-6 > #payment,
body.woocommerce-checkout form.checkout > .container > .row > .col-md-6 > .woocommerce-checkout-payment {
    background: #fff !important;
    border: 1px solid var(--wao8-card-border);
    border-radius: var(--wao8-card-radius);
    box-sizing: border-box;
    padding: 18px;
    margin-bottom: var(--wao8-card-gap);
    box-shadow: none;
    max-width: 100%;
}
body.woocommerce-checkout form.checkout #customer_details .col-1,
body.woocommerce-checkout form.checkout #customer_details .col-2 {
    width: 100%;
    float: none;
    max-width: 100%;
    padding: 0;
}
body.woocommerce-checkout form.checkout #order_review_heading,
body.woocommerce-checkout form.checkout #customer_details h3,
body.woocommerce-checkout form.checkout #payment h3 {
    color: #182333;
    font-size: 18px;
    line-height: 1.4;
}
body.woocommerce-checkout form.checkout #order_review table.shop_table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
}
body.woocommerce-checkout form.checkout #order_review table.shop_table th,
body.woocommerce-checkout form.checkout #order_review table.shop_table td {
    padding: 12px 8px;
    border-color: #eeece7;
}

/* Shared form controls within these two pages only. */
body.woocommerce-cart .woocommerce input.input-text,
body.woocommerce-cart .woocommerce input.qty,
body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce input.qty,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .woocommerce .select2-container .select2-selection--single {
    background: #fff;
    border: 1px solid #d9dde1;
    border-radius: 10px;
    box-sizing: border-box;
    min-height: 42px;
    max-width: 100%;
}
body.woocommerce-checkout .woocommerce textarea { padding: 10px 12px; }
body.woocommerce-checkout .woocommerce .select2-container .select2-selection--single { height: 42px; }
body.woocommerce-checkout .woocommerce .select2-container .select2-selection__rendered { line-height: 40px; }
body.woocommerce-checkout .woocommerce .select2-container .select2-selection__arrow { height: 40px; }
body.woocommerce-cart .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .woocommerce select:focus {
    border-color: #7c9eb5;
    outline: 2px solid rgba(8,46,96,.10);
    outline-offset: 0;
}
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-checkout .woocommerce #place_order {
    border-radius: 12px;
    min-height: 42px;
    box-sizing: border-box;
    transition: background-color .15s ease, border-color .15s ease;
}
body.woocommerce-cart .woocommerce .checkout-button,
body.woocommerce-checkout .woocommerce #place_order {
    background: var(--wao8-primary);
    border: 1px solid var(--wao8-primary);
    color: #fff;
    width: 100%;
    text-align: center;
}
body.woocommerce-cart .woocommerce .checkout-button:hover,
body.woocommerce-checkout .woocommerce #place_order:hover { background: #114777; }
body.woocommerce-cart .woocommerce .coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
body.woocommerce-cart .woocommerce .coupon #coupon_code {
    flex: 1 1 160px;
    min-width: 0;
    width: auto;
    max-width: 280px;
}

/* Payment gateway list: preserve the plugins' controls and logos. */
body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li {
    border: 1px solid var(--wao8-card-border);
    border-radius: 12px;
    background: #fff;
    margin: 0 0 10px;
    padding: 12px;
    box-sizing: border-box;
    min-width: 0;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li:last-child { margin-bottom: 0; }
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li > label {
    max-width: 100%;
    overflow-wrap: anywhere;
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li img {
    max-width: 100%;
    height: auto;
}
body.woocommerce-checkout .woocommerce #payment div.payment_box {
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
}
body.woocommerce-checkout .woocommerce #payment .place-order { width: 100%; }

@media (max-width: 767.98px) {
    body.woocommerce-cart .cart-collaterals .cart_totals,
    body.woocommerce-cart .cart-collaterals .cross-sells,
    body.woocommerce-checkout form.checkout #customer_details,
    body.woocommerce-checkout form.checkout #order_review,
    body.woocommerce-checkout form.checkout > .container > .row > .col-md-6 > #payment,
    body.woocommerce-checkout form.checkout > .container > .row > .col-md-6 > .woocommerce-checkout-payment {
        padding: 14px;
        border-radius: 14px;
    }
    body.woocommerce-cart .woocommerce-cart-form > .shop_table td,
    body.woocommerce-cart .woocommerce-cart-form > .shop_table th { padding: 10px; }
    body.woocommerce-cart .woocommerce .coupon #coupon_code { max-width: 100%; }
}


/* ================================================================
   Shop8 checkout visual: tarjetas escalonadas al estilo Shop1.
   Scope exclusivo de checkout; no afecta widgets, footer ni cart.
   ================================================================ */
body.woocommerce-checkout { background: #f5f6fa; }
body.woocommerce-checkout .wao8-checkout-layout { width:100%; margin:0 auto 26px; }
body.woocommerce-checkout .wao8-checkout-columns {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,0.92fr);
  gap:22px; align-items:start; width:100%; box-sizing:border-box;
}
body.woocommerce-checkout .wao8-checkout-left,
body.woocommerce-checkout .wao8-checkout-right { min-width:0; }
body.woocommerce-checkout .wao8-checkout-panel {
  background:#fff; border:1px solid #e2e8f0; border-radius:13px;
  padding:22px; margin:0 0 20px; box-sizing:border-box;
  box-shadow:0 6px 22px rgba(20,43,73,.025); min-width:0;
}
body.woocommerce-checkout .wao8-checkout-panel-header {
  display:flex; align-items:center; gap:12px; margin:0 0 24px;
}
body.woocommerce-checkout .wao8-checkout-step {
  flex:0 0 34px; width:34px; height:34px; display:flex;
  align-items:center; justify-content:center; border-radius:10px;
  background:#eaf1f8; color:#0b3766; font-size:15px; font-weight:700;
}
body.woocommerce-checkout .wao8-checkout-panel-header h2 {
  margin:0!important; padding:0!important; font-size:17px!important;
  line-height:1.3!important; font-weight:700; color:#082e60!important;
  border:0!important; text-transform:none!important;
}
body.woocommerce-checkout .wao8-checkout-panel-header p {
  margin:4px 0 0; font-size:11px; line-height:1.45; color:#526889;
}
body.woocommerce-checkout .wao8-billing-panel #customer_details,
body.woocommerce-checkout .wao8-order-panel #order_review,
body.woocommerce-checkout .wao8-payment-panel #payment {
  border:0!important; border-radius:0!important; background:transparent!important;
  padding:0!important; margin:0!important; box-shadow:none!important;
  max-width:100%; width:100%;
}
body.woocommerce-checkout .wao8-billing-panel #customer_details .col-1 {
  width:100%!important; max-width:none!important; float:none!important; padding:0!important;
}
body.woocommerce-checkout .wao8-billing-panel .woocommerce-billing-fields > h3 {
  display:none; /* encabezado semántico propio de la tarjeta */
}
body.woocommerce-checkout .wao8-billing-panel .form-row { margin:0 0 12px!important; padding:0!important; }
body.woocommerce-checkout .wao8-billing-panel .form-row label {
  display:block; margin:0 0 6px!important; color:#0c2e5a; font-size:12px; font-weight:500;
}
body.woocommerce-checkout .wao8-billing-panel input.input-text,
body.woocommerce-checkout .wao8-billing-panel select,
body.woocommerce-checkout .wao8-billing-panel .select2-selection--single {
  min-height:40px; border:1px solid #d9dee7; border-radius:5px; background:#fafafa;
}
body.woocommerce-checkout .wao8-billing-panel .form-row-first,
body.woocommerce-checkout .wao8-billing-panel .form-row-last { width:48%; }
body.woocommerce-checkout .wao8-order-panel table.shop_table {
  border:0!important; padding:0; margin:0!important; width:100%; border-collapse:collapse;
}
body.woocommerce-checkout .wao8-order-panel table.shop_table tr th,
body.woocommerce-checkout .wao8-order-panel table.shop_table tr td {
  padding:13px 6px; border:0; border-bottom:1px solid #e2e8f0;
  font-size:12px; line-height:1.45; color:#092950; vertical-align:middle;
}
body.woocommerce-checkout .wao8-order-panel table.shop_table thead th {
  text-transform:uppercase; font-size:12px; font-weight:700;
}
body.woocommerce-checkout .wao8-order-panel table.shop_table tr > :last-child { text-align:right; }
body.woocommerce-checkout .wao8-order-panel table.shop_table tfoot tr:last-child th,
body.woocommerce-checkout .wao8-order-panel table.shop_table tfoot tr:last-child td { border-bottom:0; font-size:15px; font-weight:700; }
body.woocommerce-checkout .wao8-order-panel table.shop_table .order-total .amount,
body.woocommerce-checkout .wao8-order-panel table.shop_table .cart-subtotal .amount,
body.woocommerce-checkout .wao8-order-panel table.shop_table .product-total .amount { color:#0b3766; font-size:17px; }
body.woocommerce-checkout .wao8-payment-panel #payment ul.payment_methods { padding:0!important; background:transparent; border:0; }
body.woocommerce-checkout .wao8-payment-panel #payment ul.payment_methods > li {
  margin:0 0 9px!important; padding:13px!important;
  border:1px solid #dce3ed!important; border-radius:9px!important;
  background:#fff!important;
}
body.woocommerce-checkout .wao8-payment-panel #payment ul.payment_methods > li:has(input[type=radio]:checked) {
  border-color:#acc1df!important; background:#f8fafc!important;
}
body.woocommerce-checkout .wao8-payment-panel #payment ul.payment_methods > li label { font-size:13px; color:#082e60; }
body.woocommerce-checkout .wao8-payment-panel #payment ul.payment_methods > li img { max-height:28px; width:auto; vertical-align:middle; }
body.woocommerce-checkout .wao8-payment-panel #payment div.payment_box {
  background:#f1f5f9; color:#102c50; border:0; padding:13px; border-radius:8px;
  margin:12px 0 0; font-size:12px;
}
body.woocommerce-checkout .wao8-payment-panel #payment div.payment_box:before { display:none; }
body.woocommerce-checkout .wao8-payment-panel #payment .place-order { width:100%; padding:0!important; }
body.woocommerce-checkout .wao8-payment-panel #place_order {
  display:block; float:none; width:100%; min-height:48px; border-radius:9px;
  background:#082f62; border-color:#082f62; font-weight:700; margin:10px 0 0;
}
body.woocommerce-checkout .wao8-payment-panel #place_order:hover { background:#114777; }
body.woocommerce-checkout .wao8-checkout-layout .wc_payment_method > input[type=radio] { vertical-align:middle; }
body.woocommerce-checkout .wao8-checkout-layout .woocommerce-terms-and-conditions-wrapper { font-size:12px; }
@media (max-width: 991px) {
  body.woocommerce-checkout .wao8-checkout-columns { grid-template-columns:minmax(0,1fr); gap:0; }
  body.woocommerce-checkout .wao8-checkout-panel { padding:18px; }
}
@media (max-width: 480px) {
  body.woocommerce-checkout .wao8-checkout-panel { padding:15px; border-radius:12px; }
  body.woocommerce-checkout .wao8-billing-panel .form-row-first,
  body.woocommerce-checkout .wao8-billing-panel .form-row-last { width:100%; float:none; }
  body.woocommerce-checkout .wao8-checkout-panel-header h2 { font-size:15px!important; }
}

/* Shop8 checkout: cupón desplegable y garantías, transferidos de la estructura Shop1. */
body.woocommerce-checkout .wao8-payment-panel #payment .wao8-coupon-wrapper{margin:13px 0 14px;width:100%}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-toggle{display:flex;align-items:center;gap:11px;width:100%;padding:13px 14px;min-height:46px;background:#f4f7fa;color:#0a315e;border:1px solid #dce3ed;border-radius:10px;text-align:left;font-size:13px;font-weight:500;cursor:pointer;box-shadow:none;text-transform:none}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-toggle:hover{background:#edf3f9}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-symbol{font-size:15px;color:#627b98;flex:none}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-toggle>span:nth-child(2){flex:1;min-width:0}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-chevron{width:9px;height:9px;border-right:1.5px solid #64748b;border-bottom:1.5px solid #64748b;transform:rotate(45deg);margin-right:4px;transition:transform .15s ease;flex:none}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-toggle[aria-expanded="true"] .wao8-coupon-chevron{transform:rotate(225deg)}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-fields[hidden]{display:none!important}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-fields{padding:14px;background:#fff;border:1px solid #dce3ed;border-radius:10px;margin-top:8px}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-fields label{display:block;margin:0 0 8px;font-size:12px;color:#4f6680}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:stretch}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-code{width:100%;min-width:0;max-width:none;padding:9px 11px;min-height:42px;border:1px solid #dce3ed;border-radius:8px;background:#fff}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-apply{margin:0!important;min-height:42px;padding:9px 13px!important;background:#082f62!important;border:1px solid #082f62!important;color:#fff!important;border-radius:8px!important;white-space:nowrap}
body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-messages .woocommerce-message,body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-messages .woocommerce-error{margin:9px 0 0;padding:10px 12px;font-size:12px;border-radius:8px}
body.woocommerce-checkout .wao8-payment-panel .wao8-trust-box{margin-top:15px;padding:14px 15px;background:#fff;border:1px solid #dce3ed;border-radius:12px;display:grid;gap:11px}
body.woocommerce-checkout .wao8-payment-panel .wao8-trust-row{display:flex;align-items:center;gap:11px;font-size:12px;line-height:1.4;color:#49647f}
body.woocommerce-checkout .wao8-payment-panel .wao8-trust-icon{display:flex;align-items:center;justify-content:center;flex:0 0 17px;color:#7b94b3}
body.woocommerce-checkout .wao8-checkout-step{background:#eaf1f8!important;color:#0b3766!important}
body.woocommerce-checkout .wao8-order-panel .amount{color:#0b3766!important}
body.woocommerce-checkout .wao8-payment-panel #place_order{background:#082f62!important;border-color:#082f62!important;color:#fff!important}
body.woocommerce-checkout .wao8-payment-panel #place_order:hover{background:#114777!important;border-color:#114777!important}
/* Shop8: el cupón nativo sigue en el DOM como respaldo del AJAX de WooCommerce,
   pero no se muestra en la cabecera del checkout (ni durante la carga inicial). */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.woocommerce-form-coupon {
    display: none !important;
}
/* Amazon Pay añade un aviso de cuenta antes del checkout. Ocultar SOLO ese
   aviso (identificado por #pay_with_amazon), no las demás notificaciones WC,
   ni el método Amazon Pay dentro del panel de pagos. */
body.woocommerce-checkout .woocommerce-info:has(#pay_with_amazon),
body.woocommerce-checkout .woocommerce-message:has(#pay_with_amazon) {
    display: none !important;
}
@media(max-width:480px){body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-input-row{grid-template-columns:minmax(0,1fr)}body.woocommerce-checkout .wao8-payment-panel .wao8-coupon-apply{width:100%!important}}

/* Shop8 SpicePay: tres opciones visuales vinculadas al gateway real. */
body.woocommerce-checkout #payment .wao8-spice-option{display:none!important;}
body.woocommerce-checkout.wao8-spice-ready #payment .wao8-spice-option{display:block!important;}
body.woocommerce-checkout.wao8-spice-ready #payment .wao8-spice-original{
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;
  margin:0!important;border:0!important;opacity:0!important;
}
body.woocommerce-checkout #payment .wao8-spice-option > label{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;cursor:pointer;}
body.woocommerce-checkout #payment .wao8-spice-icon{height:24px;width:auto;max-width:56px;display:inline-block;flex-shrink:0;vertical-align:middle;}
body.woocommerce-checkout #payment .wao8-spice-option .wao8-spice-description{margin-top:10px;}
