﻿/*
Theme Name:     shoprrcomputing
Text Domain:    shoprrcomputing
Version:        1.0.0
Tested up to:   6.9
Requires at least: 4.7
Requires PHP:   5.6
Author:         RR Computing
Description:    Tema principal de RR Computing. Compatible con WooCommerce y fable-extra.
License:        GPLv3 or later
License URI:    https://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/**
swiper
*/

.swiper-container {
    width: 100%;
    margin-top: 20px;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}


        .product-thumbnails-carousel {
            max-width: 100%; /* Asegura que no se desborde */
            margin: 0 auto; /* Centra el carrusel */
            overflow: hidden; /* Evita que se desborde */
        }

        /* Estilo para las diapositivas */
        .product-thumbnails-carousel .swiper-slide {
            width: auto; /* Ajusta el ancho automáticamente */
            height: auto; /* Ajusta la altura automáticamente */
            max-height: 100px; /* Limita la altura de las miniaturas */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Asegura que las imágenes no se desborden */
        .product-thumbnails-carousel .swiper-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* Ajusta la imagen dentro del contenedor */
        }
/*

*/
:root {
    --wf-main-rgb: 180, 180, 180;
    --wf-secondary-color: #01325b;
    --wf-main-color: #006b91;
 
}

.wf_navbar-list-right .wf_navbar-search-form {
    width: 100%;
}


.product-categories.active .wf_navbar-nav {
    overflow: auto;
    max-height: 500px;
}

.product-categories.active .wf_navbar-nav .menu-item .nav-link{
    padding: 0px;
}

.wf_footer_copyright {
    color:white;
}


button.wf_uptop{
    bottom: 7rem;
    z-index: 5;
}
.wf_footer-top{
     color:white;
}

.wf_footer-top i {
    color: white;
}

.wf_navbar-wrapper.sticky-activa {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Header--four */

.header--four .wf_mobilenav-topbar-content,
.header--four .wf_header-topbar,
.header--four .wf_navbar-wrapper {
    color: #fff;
    background-color: var(--wf-secondary-color);
}

.header--four .wf_mobilenav > .wf-container {
    border-bottom: 1px solid rgba(189, 189, 189, 0.4);
}

.header--four .wf_header-topbar {
    position: relative;
    border-bottom: 1px solid rgba(189, 189, 189, 0.4);
    z-index: 1;
}

.header--four .product-categories .wf_navbar-nav {
    color: var(--wf-secondary-color);
}

.header--four.wf_header .widget.widget_nav_menu a:not(:hover, :focus),
.header--four .woo-multi-currency.wmc-shortcode .wmc-currency.wmc-active,
.header--four .woo-multi-currency.wmc-shortcode .wmc-current-currency {
    color: currentColor;
}

.header--four .product-categories .product-categories-btn {
    padding: 1.3rem 2rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.header--four .product-categories.active .product-categories-btn {
    border-radius: 6px 6px 0 0;
}

.header--four .product-categories .product-categories-btn::after {
    top: 44%;
    right: 2rem;
}

.product-categories .wf_navbar-nav .wf_navbar-mainmenu>li a {
    line-height: 4.5rem;
}

.header--four .wf_navbar-wrapper {
    transition: all 0.2s ease-in-out;
}

.header--four .wf_navbar-wrapper.is--sticky.on {
    background-color: var(--wf-secondary-color);
}

.header--four .wf_navbar-menu {
    min-height: 6rem;
    padding-left: 1.6rem;
    justify-content: space-between;
}

.header--four button.wf_navbar-sidebar-toggle,
.header--four .wf_navbar-info-contact .contact__list i {
    width: 4.2rem;
    height: 4.2rem;
    line-height: 4.2rem;
    padding: 0.9rem;
    outline: none;
    border-radius: 6px;
}

.header--four button.wf_navbar-sidebar-toggle {
    border: 1px solid rgba(189, 189, 189, 0.4);
}

.header--four .wf_navbar-info-contact .contact__list i {
    font-size: 2rem;
    background-color: rgba(var(--wf-main-rgb), 0.2);
    color: var(--wf-main-color);
}

.header--four .wf_navbar-wrapper button.wf_navbar-sidebar-toggle,
.header--four .wf_navbar-wrapper .wf_navbar-info-contact .contact__list i {
    background-color: rgba(255, 255, 255, 0.15);
    --wf-secondary-color: #fff;
}

.header--four button.wf_navbar-sidebar-toggle .lines {
    transform: translateY(-1px);
}

.header--four .wf_navbar-menu .wf_navbar-nav .wf_navbar-mainmenu > .menu-item-has-children>a:after {
    border-color: currentColor;
}

.header--four .wf_navbar-list-right>li:not(:last-child) {
    margin-right: 1.8rem;
}

.header--four .wf_navbar-wrapper .wf_navbar-compare-item .wf_compare_btn,
.header--four .wf_navbar-wrapper .wf_navbar-favourite-item .wf_favourite_btn,
.header--four .wf_navbar-wrapper .wf_navbar-user-item .wf_user_btn,
.header--four .wf_navbar-wrapper .wf_navbar-cart-item .wf_navbar-cart-icon {
    width: 2.2rem;
    height: 2.2rem;
    outline: none;
    line-height: 1.3;
    color: #fff;
    font-size: 2rem;
}

.header--four .wf_navbar-wrapper .wf_navbar-compare-item .wf_compare_btn:after,
.header--four .wf_navbar-wrapper .wf_navbar-favourite-item .wf_favourite_btn:after,
.header--four .wf_navbar-wrapper .wf_navbar-user-item .wf_user_btn:after,
.header--four .wf_navbar-wrapper .wf_navbar-cart-item .wf_navbar-cart-icon:after,
.header--four .wf_navbar-wrapper .wf_navbar-search-item button.wf_navbar-search-toggle:after {
    display: none;
}

.header--four .header-search-form .header-search-button:focus {
    outline: 1px solid #fff;
    outline-offset: -3px;
}

.header--four .wf_navbar-compare-item .wf_compare_btn:focus,
.header--four .wf_navbar-favourite-item .wf_favourite_btn:focus,
.header--four .wf_navbar-user-item .wf_user_btn:focus,
.header--four .wf_navbar-cart-item .wf_navbar-cart-icon:focus {
    outline: 1px solid #fff;
    outline-offset: 3px;
}

.header--four .wf_navbar-right .shopire-wcwl-items-count,
.header--four .wf_navbar-right .cart_count {
    top: -12px;
    right: -10px;
    width: 2.1rem;
    height: 2.1rem;
    line-height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.header--four .wf_navbar-wrapper .wf_navbar-menu .wf_navbar-right .wf_navbar-cart-item:after,
.header--four .wf_navbar-nav .wf_navbar-mainmenu>li:after {
    content: "";
    display: block;
    width: 100%;
    height: 1.7rem;
    position: absolute;
}

.header--four .wf_mobilenav .wf_navbar-cart-item a .cart_count {
    top: -11px;
    right: -9px;
}

.header--four .header-search-form {
    background-color: transparent;
    padding-right: 0;
}

.header--four .header-search-form .header-search-select-wrapper {
    float: left;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
    border-right: none;
}

.header--four .header-search-form input.header-search-input {
    float: right;
    border-radius: 0 6px 6px 0;
	padding-right: 38px;
}

.header--four .header-search-form input.header-search-input:focus {
    border: none;
    outline-offset: -2px;
    outline: 1px solid;
}

.header--four .header-search-form .header-search-select {
    border-right: none;
    min-height: 4rem;
    height: 4rem;
}

.header--four .header-search-form .header-search-button {
    width: 3.8rem;
    height: 3.8rem;
    top: 2px;
    right: 3px;
    border-radius: 6px;
}

.header--four .header-search-form .search-wrapper svg {
    left: 88%;
}

@media (min-width: 62em) {
    .header--four .wf_header-widget .widget:not(:last-child):after {
        height: 2.5rem;
        margin-top: 0.4rem;
        background: rgba(189, 189, 189, 0.4);
    }
}

/* Slider Ten */

.wf_slider--ten .slider {
    border-radius: 1.5rem;
    overflow: hidden;
}

.wf_slider--ten.wf_slider_banner .wf_slider-content {
    padding: 1.8rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .wf_slider--ten.wf_slider_banner .wf_slider-content {
        padding: 6.5rem;
    }
}

.wf_slider--ten .banner-wrapper .banner-wrapper-item .wf-image img {
    height: 25.3rem;
}

.wf_slider--ten .wf_slider-content .subtitle {
    color: #fff;
    background-color: var(--wf-main-color);
    padding: 6px 26px;
    clip-path: polygon(100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%, 0 0);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.wf_slider--ten .banner-wrapper .banner-wrapper-item {
    border-radius: 8px;
}

.wf_slider--ten .banner-wrapper .banner-wrapper-item .wf-btn {
    border-radius: 6px;
    box-shadow: 0 4px 4px rgba(0,0,0,.25);
}

.wf_slider_banner {
    margin-top: 2.4rem;
}

.wf_slider_banner .last {
    display: none;
}

.wf_slider_banner .wf_owl_carousel,
.wf_slider_banner .wf_slider-item,
.wf_slider_banner .wf_slider-innercell,
.wf_slider_banner .wf_slider-item>img {
    max-height: 51rem;
    min-height: 51rem;
}

.wf_slider_banner .wf_slider-content {
    padding: 1.2rem;
    margin-bottom: 3rem;
}

.wf_slider_banner .wf_slider-content .title {
    font-size: 3.8rem;
}

.wf_slider_banner .wf_slider-content .subtitle {
    color: #fff;
    font-size: 1.8rem;
}

.banner-wrapper:not(.wf-row) {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 2.4rem;
}

.banner-wrapper .banner-wrapper-item .wf-image,
.banner-wrapper .banner-wrapper-item .wf-image a,
.banner-wrapper .banner-wrapper-item .wf-image img {
    height: 100%;
}

.banner-wrapper .banner-wrapper-item .wf-image img {
    object-fit: cover;
}

.banner-wrapper .banner-wrapper-item,
.wf-image {
    position: relative;
    overflow: hidden;
}

.banner-wrapper .banner-wrapper-item .wf-image a,
.banner-wrapper .banner-wrapper-item .wf-image img {
    width: 100%;
    display: inline-block;
}

.effect_1 .wf-image img {
    backface-visibility: hidden;
    filter: alpha(opacity = 100);
    transition: opacity 1s ease 0s, transform 1s ease 0s;
}

.effect_1:focus-within .wf-image img,
.effect_1:hover .wf-image img {
    filter: alpha(opacity = 80);
    transform: scale3d(1.1, 1.1, 1);
}

.banner-wrapper .banner-wrapper-item .banner-wrapper-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    transform: translateY(0);
    width: 100%;
    display: flex;
    text-align: left;
    justify-content: flex-start;
}

.banner-wrapper .banner-wrapper-item:nth-child(3) .banner-wrapper-inner {
    text-align: center;
    justify-content: center;
}

.banner-wrapper .banner-wrapper-item .banner-wrapper-inner .info {
    padding: 2.6rem 2.4rem 0;
}

.banner-wrapper .banner-wrapper-item .banner-wrapper-inner .info .subtitle {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1.2rem;
}

.banner-wrapper .banner-wrapper-item .banner-wrapper-inner .info .title {
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 2.4rem;
}

.banner-wrapper .banner-wrapper-item .banner-wrapper-inner .info .title a {
    color: #fff;
    text-decoration: none;
}

.wc-block-grid__products .wc-block-components-product-button__button {
    border-radius: 0;
    text-decoration: none;
}

.wp-block-page-list {
    list-style: none;
    padding: 0;
}

.wp-block-page-list a {
    color: var(--wf-secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.wc-block-components-product-title a.wc-block-components-product-name:hover, 
.wc-block-components-product-title a.wc-block-components-product-name:focus {
    color: var(--wf-main-color);
}

.wp-block-page-list a:hover,
.wp-block-page-list a:focus {
    color: var(--wf-main-color);
}

.wp-block-list {
    padding: 0;
}

.wc-block-components-product-name {
    color: var(--wf-secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.wp-block-list.has-background {
    padding: 1.25em 2.375em;
}

.wp-block-details.has-background {
    padding: 1.25em 2.375em;
}

.wp-block-verse.has-background {
    padding: 1.25em 2.375em;
}

.wp-block-preformatted.has-background {
    padding: 1em;
}

.wp-block-archives {
    list-style: none;
    padding: 0;
}

.wp-block-archives-list a {
    font-weight: 600;
    color: var(--wf-secondary-color);
}

.wp-block-archives-list a:hover, 
.wp-block-archives-list a:focus {
    color: var(--wf-main-color);
}

.wp-block-page-list.has-background {
    padding: 1rem;
}

a.wp-block-button__link:hover, 
a.wp-block-button__link:focus {
    color: #fff;
    text-decoration: none;
}

.wp-block-button.is-style-outline a.wp-block-button__link {
    color: var(--wf-main-color);
}

.wp-block-latest-comments {
    padding-left: 0;
}

.wp-block-latest-comments li a:not(:hover, :focus) {
    color: var(--wf-secondary-color);
}

.wp-block-latest-comments li a {
    text-decoration:none;
}

.wf_footer ul.product_list_widget li .woocommerce-Price-amount {
    color: var(--wf-main-color);
}

.wf_footer ul.product_list_widget li {
    border-bottom: none;
}

.wf_footer .widget_shopping_cart .button:not(.checkout):not(.add_to_cart_button) {
    background-color: var(--wf-secondary-color);
}

.wf_footer .widget_shopping_cart .button:not(.checkout):not(.add_to_cart_button):hover,
.wf_footer .widget_shopping_cart .button:not(.checkout):not(.add_to_cart_button):focus {
    background-color: var(--wf-secondary-color) !important;
}

.wf_footer .widget_shopping_cart a.checkout:hover, 
.wf_footer .widget_shopping_cart a.checkout:focus {
        background-color: var(--wf-main-color) !important;
}

.wf_footer .widget_shopping_cart span.amount {
    color: var(--wf-main-color);
}

.wf_footer .widget_shopping_cart li img {
   object-fit: contain !important;
   padding-right: 10px;
}

.wc-block-mini-cart__footer .wc-block-components-button {
    text-decoration: none;
}

.wf_footer .widget .wc-block-cart-link {
    color:#fff;
    background: var(--wf-main-color);
}

.wf_footer .widget .wc-block-cart-link:hover, 
.wf_footer .widget .wc-block-cart-link:focus {
    text-decoration: none;
}

.woocommerce-account .woocommerce-Address-title h2 {
    font-size: 4rem;
}

.wp-block-button.is-style-outline a.wp-block-button__link {
    border-color: inherit;
    background: transparent
}

.wp-block-categories-list.has-background {
    padding: 1rem;
}

.wp-block-latest-comments.has-background {
    padding: 1rem;
}


.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

i.fas{
 color: white !important;
 outline-color:white !important;
}

.search-results{
    overflow-y: scroll;
    height: 300px;
}

/* Altura fija (ej. 60px). Muestra degradado al final en lugar de '...' multlínea */
.product-content {
  max-height: 160px; /* ajustar la altura deseada */
  overflow: hidden;
  position: relative;
  line-height: 1.4;
}

/* degradado para indicar recorte */
.product-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px; /* area del degradado */
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)); /* ajustar color de fondo */
  pointer-events: none;
}


.quickview-product .product-content {
  max-height: none; /* eliminar altura fija en quickview */
  position: unset;
}

/* Asegurar que Related Products quede debajo de la imagen/summary */
.related.products {
  clear: both;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 2rem; /* ajustar espacio */
}

/* Opcional: asegurar que el summary tenga al menos 1px para evitar colapsos */
.entry-summary {
  min-height: 1px;
}

/* Alternativa: clearfix en el wrapper del producto, si existe */
.product:after {
  content: "";
  display: table;
  clear: both;
}


.form-contacto input,
.form-contacto textarea {
  border: 1px solid #ccc;
  border-radius: 10px;       /* esquinas redondeadas */
  padding: 12px;
  width: 100%;
  margin-bottom: 15px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: #0073e6;     /* azul institucional */
  outline: none;
  box-shadow: 0 0 6px rgba(0,115,230,0.4);
}

.form-contacto button {
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-contacto button:hover {
  background-color: #005bb5;
}

.garantias{
    padding-left: 1.25rem; /* ajustar según prefieras (ej. 1rem, 20px) */
    list-style-position: outside;
}

/* Asegurar espaciado y mantener marcadores en UL/OL dentro de wp-block-list */
.garantias .wp-block-list ul,
.garantias .wp-block-list ol {
    margin: 0 0 1rem 1.25rem;
    padding-left: 1.25rem;
}

.garantias .wp-block-list li{
    margin: 0.25rem 0;
}


.privacidad{
    padding-left: 1.25rem; /* ajustar según prefieras (ej. 1rem, 20px) */
    list-style-position: outside;
}

/* Asegurar espaciado y mantener marcadores en UL/OL dentro de wp-block-list */
.privacidad ul,
.privacidad  ol {
    margin: 0 0 1rem 1.25rem;
    padding-left: 1.25rem;
}

.privacidad  li{
    margin: 0.25rem 0;
}

.cky-btn-revisit-wrapper{
    bottom: 7rem !important;
    z-index: 5;
}