/* - - - - -  - - - - - - - - - OVERRIDE - - - - -  - - - - - - - - - - - -*/
:root {
    --theme-color: #162c63;
    --theme-black: #000000;
    --theme-white: #fff;
    --theme-yellow: #f2ae2c;
}
.elementor-heading-title {
    line-height: inherit;
}
.site-content li {
    margin-bottom: 12px;
}
.site-content li,
.woocommerce-js div.product div.summary .woocommerce-product-details__short-description li:last-child {
    margin-bottom: 0;
}
.site-content {
    padding: 30px 0 45px;
}
.home .site-content {
    padding: 0;
}
.woocommerce-js .widget_shopping_cart .woocommerce-mini-cart__buttons .checkout.wc-forward {
    margin-left: 0;
    margin-right: 0;
}
.ast-desktop .ast-builder-menu-1 .main-header-menu .menu-item.menu-item-heading > .menu-link {
    color: var(--theme-black);
}
.ast-desktop .ast-builder-menu-1 .main-header-menu .astra-megamenu-li .menu-item.menu-item-heading > .menu-link:hover, 
.ast-desktop .ast-builder-menu-1 .main-header-menu .astra-megamenu-li .menu-item.menu-item-heading:hover > .menu-link {
    color: var(--theme-black);
}
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    padding: 0 10px;
}
/* - - - - -  - - - - - - - - - HEADER - - - - -  - - - - - - - - - - - -*/
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu {
    padding: 0;
}
.ast-desktop .ast-above-header-menu .astra-megamenu-li .sub-menu .menu-item-heading > .menu-link .menu-text, 
.ast-desktop .ast-below-header-menu .astra-megamenu-li .sub-menu .menu-item-heading > .menu-link .menu-text, 
.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .menu-item-heading > .menu-link .menu-text {
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Open Sans';
    font-weight: normal;
    text-shadow: 0 0 BLACK;
}
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu>.menu-item {
    border-left: 2px solid var(--theme-white);
} 
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu>.menu-item:first-child {
    border: 0;
}
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu.sub-menu>.menu-item .sub-menu {
    padding-left: 0;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 82px !important;
}
.ast-sticky-main-shrink .ast-sticky-shrunk .site-logo-img img {
    width: 100% !important;
    height: 100%;
}
.ast-logo-title-inline .ast-site-identity {
    padding: 0.5em 0;
}
#header {
    margin:auto;
    width:auto;
    font-family:Arial, Helvetica, sans-serif;
}	
#header ul,#header ol {
    list-style:none;
    display:flex;
    align-items:center;
}		
.nav li a {
    background-color:#162c63;
    color:#fff;
    text-decoration:none;
    padding:10px 12px;
    display:block;
}	
.nav li a:hover {
background-color:#162c63;
color:#F2AE2C;
}
			
.nav li ul {
    display:none;
    position:absolute !important;
    min-width:140px;
}
		
.nav li:hover > ul {
    display:block;
}
			
.nav li ul li {
    position:relative;
}
		
.nav li ul li ul {
    right:-140px;
    top:0px;
}
.woocommerce-mini-cart .quantity input[type=number] {
    display: none;
}

.list-inline {
    display: flex;
    margin: 0;
    list-style: none;
    gap: 20px;
    
}
.top-info {
    font-size: 16px;
    font-family: inherit;
}
.top-info a {
    color: #e7e7e7;
}
.top-info a:hover {
    color: #fff;
    text-shadow: 0 0 #fff;
}
.top-info a img {
    margin-right: 3px;
}
.top-info a:hover img {
    transform: scale(0.97);
}
/* - - - - -  - - - - - - - - - Footer - - - - -  - - - - - - - - - - - -*/
.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] .widget-title {
    font-size: 26px;
    font-size: 1.625rem;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] .footer-widget-area-inner a:hover {
    transform: scale(0.9);
    color: var(--theme-yellow);
}
footer .list-inline {
    margin: 0 0 10px;
    list-style: none;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}
footer .top-info a img {
    margin-right: 3px;
    height: 90px;
    width: auto !important;
}
footer,
footer p,
footer a {
    font-size: 15px !important;
}
footer a.menu-link {
    position: relative;
    padding-left: 20px;
}
footer a.menu-link:before {
    content: "\e901";
    font-family: Astra;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}
footer .widget_nav_menu li {
    margin-bottom: 12px;
}
footer .astra-widget-list-icons ul {
    gap: 20px;
    display: flex;
    align-items: center;
}
footer .widget-title {
    text-transform: uppercase;
}
.widget_media_gallery {
    max-width:550px;
    margin: 0 auto;    
}
footer .gallery {
    margin-bottom: -28px;
    padding: 0;
    float: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: center;
}
footer .gallery-icon {
    border: 0;
}
footer .gallery img{
    height: 30px;
    width: auto;
}
footer .gallery-columns-9 .gallery-item {
    max-width: 100%;
}
footer .gallery-item {
    padding: 5px;
}
@media (max-width:767px) {
    footer .gallery-columns-9 .gallery-item {
        width: 20%;
    }
    footer .gallery {
        flex-wrap: wrap;
    }
}
/* - - - - -  - - - - - - - - - CSS BODY - - - - -  - - - - - - - - - - - -*/
.home .wp-block-columns .wp-block-group {
        padding: 0;
}
.text-center {
	text-align:center;
}
.text-center .wc-block-grid .wc-block-grid__products .wc-block-grid__product {
	text-align:center;
}
.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 1em;
}
.wc-block-grid__product .wc-block-grid__product-image, .wc-block-grid__product .wc-block-grid__product-link {
    display: block;
    position: relative;
}
@media (min-width:992px) {
    .img-pt-3 img {
        padding-top: 14px;
    }
}
/* - - - - -  - - - - - - - - - CSS PRODUCT - - - - -  - - - - - - - - - - - -*/
.woocommerce-js .quantity .qty {
    width: 4em;
    text-align: center;
    min-height: 40px;
    background-color: white !important;
    color: #2F3A80 !important;
    border: 2px solid #2F3A80 !important;
    border-radius: 999px !important;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}
div.product.ast-product-tabs-layout-accordion .ast-woocommerce-accordion .ast-accordion-header {
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 0 0 var(--ast-global-color-0);
}
.single-product.woocommerce-js div.product form.cart {
    display: flex;
    flex-wrap: wrap;
}
.woocommerce-js div.product form.cart div.quantity {
    float: none;
    margin: 0;
    width: 15%;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    width: 85%;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button.buynow {
    width: 100%;
}

/* === ESTILOS GENERALES COMPARTIDOS === */
.wc-block-grid {
	font-size: 25px;
}

.products {
	font-size: 20px;
}

.woocommerce a.button {
	font-size: 75%;
	width: 100%;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
	color: #2F3A80;
	min-height: 50px;
}

.wc-block-grid .wc-block-grid__products .wc-block-grid__product {
	color: #162c63;
}

.woocommerce .star-rating,
.woocommerce .comment-form-rating .stars a,
.woocommerce .star-rating:before {
	color: #F2AE2D;
}

.menu-toggle,
button,
.ast-button,
.ast-custom-button,
.button,
input#submit,
input[type=button],
input[type=submit],
input[type=reset] {
	width: 30%;
	border-radius: 7px;
}


.tabla,
.lineas {
	border: hidden;
}
.tabla {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	color: #333;
}
.tabla td {
    vertical-align: top;
    padding: 11px 10px;
    border: 0;
    border-bottom: 1px solid #eee;
}

.tabla .lineas:first-child {
	font-weight: bold;
	width: 130px;
	white-space: nowrap;
}

.tabla .lineas:last-child {
	width: auto;
}

.woocommerce .widget_shopping_cart .woocommerce-mini-cart__buttons a {
	display: inline-block;
	width: calc(100% - 10px);
	margin: 0 5px 5px;
	text-align: center;
}

.product_meta {
	display: none;
}

.woocommerce-page input[type=search],
.woocommerce-page textarea {
	border-radius: 7px;
	background-color: #e6e8fa;
}

.form-row-last button {
	width: 100%;
	height: 47px;
}

/* === VARIACIONES === */
.ast-variation-button-group .ast-single-variation {
	background-color: #DDDDDD;
}

form.variations_form table.variations tr {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

form.variations_form table.variations .label {
	width: 100% !important;
	margin-bottom: 5px;
	text-align: left;
}

form.variations_form table.variations .value {
	width: 100% !important;
}

.reset_variations {
	display: none !important;
}

/* === TRUSTPILOT === */
.tp-widget-wrapper {
	font-size: 0;
	text-align: left;
}

@media only screen and (min-width: 600px) {
	a.trustlise {
		padding-left: 15%;
	}

	.trustp {
		margin-top: 15%;
	}

	.trust-score {
		width: 50%;
		height: auto;
	}
}

/* === IDEALO SELLOS === */
@media screen and (min-width: 768px) {
	.idealo-siegel img,
	.idealo-siegel-payp img {
		max-width: 50%;
		height: auto;
		padding-bottom: 15px;
	}
}

/* === RESPONSIVE === */
@media only screen and (max-width: 600px) {
	.flex-control-thumbs,
	.widget_block,
	.idealow {
		display: none !important;
	}
}

/* === Contenedor del formulario de cupón === */
.coupon-form {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

/* Estructura interna del formulario */
.coupon-form p {
  margin-bottom: 10px;
}

.coupon-form input[type="text"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 15px;
  min-width: 0;
}

/* Botón del cupón */
.coupon-form button[name="apply_coupon"] {
  display: inline-block;
  max-width: 400px;
  padding: 12px 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
}

/* Efecto hover */
.coupon-form button[name="apply_coupon"]:hover {
  background-color: #444;
}

/* === Ajustes móviles solo para contenedor del resumen === */
@media (max-width: 768px) {
  .ast-modern-checkout .ast-two-column-checkout .woocommerce-checkout #ast-order-review-wrapper {
    width: 100% !important;
  }

  .coupon-form {
    padding: 16px;
    margin-top: 20px;
  }
}
.coupon-result-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    display: none;
}

.coupon-result-message.success {
    background-color: #e1f8e6;
    color: #227443;
    border: 1px solid #72c089;
}

.coupon-result-message.error {
    background-color: #fdecea;
    color: #a71d2a;
    border: 1px solid #f5c6cb;
}

body.woocommerce-checkout {
    background-color: #f5f5f5; /* gris claro */
}

.woocommerce-checkout button#place_order,
.woocommerce-checkout button#place_order.alt {
    background-color: #000 !important;  /* Fondo negro */
    color: #fff !important;             /* Texto blanco */
    border: none !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.woocommerce-checkout button#place_order:hover {
    background-color: #222 !important;  /* Color más claro al hacer hover */
}
.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wp-block-button__link{
	margin:0 !important;
}