/*
 Theme Name:   Greeny Child Theme
 Theme URI:    https://greeny.axiomthemes.com
 Description:  Greeny Child Theme
 Author:       AxiomThemes
 Author URI:   https://axiomthemes.com
 Template:     greeny
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  greeny
*/

/* =Child-Theme customization starts here
------------------------------------------------------------ */

/*
 * Remove hover buttons on product list
*/
@font-face {
  font-family: "codec_coldbold_italic";
  src: url("/wp-content/webfont/codec-cold-bold-italic-trial-webfont.woff2")
      format("woff2"),
    url("/wp-content/webfont/codec-cold-bold-italic-trial-webfont.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "codec_cold";
  src: url("/wp-content/webfont/Codec-Cold-Regular-trial.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.table-contacto {
  display: inline-block;
  width: 100%;
}
.table-contacto div {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  margin-top: 20px;
  padding: 0 10px;
}
.table-contacto div strong {
  width: 100%;
  display: inline-block;
}

/** background white **/
.page_content_wrap {
  background-color: #fff;
  padding-top: 0;
  padding-bottom: 3.4rem;
}
#page_preloader,
.page_content_wrap,
.custom-background .content_wrap > .content,
.background_banner_wrap ~ .content_wrap > .content {
  background-color: #fff !important;
}
/** aplicaciones **/
.cont-aplicaciones h4 {
  min-height: 56px;
}

.post_meta_item.post_meta_comments.icon-comment-light {
  display: none;
}
.post_layout_classic .post_title {
  font-size: 22px;
}

/** ocultar literales productos **/
.woocommerce-result-count {
  display: none;
}
.woocommerce-ordering {
  display: none;
}

.tinvwl_add_to_wishlist_button,
.shop_link,
.icon-anim {
  display: none !important;
}
.text-shadow {
  position: relative;
}
.text-shadow h2 {
  position: absolute;
  top: 34px;
  max-width: 80%;
  font-family: "codec_cold";
  font-size: 20px;
  line-height: 22px;
}
.text-black p,
.text-black a {
  color: #000 !important;
}
.text-black a:hover {
  color: #e22319 !important;
}
.elementor-cta__bg-overlay {
  background-color: rgba(0, 0, 0, 0.1);
}
.post_featured:not(.post_featured_bg)[class*="hover_"] {
  width: 100%;
}
.text-shadow .elementor-cta__button-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  padding-right: 20px;
  padding-bottom: 20px;
}

/***
* class: .sticky-header
*/

.elementor-sticky--active {
  background-color: rgba(244, 245, 248, 0.8) !important;
  box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, 0.07);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  height: 80px;
  padding-top: 0 !important;
}
.elementor-sticky--active > .elementor-container {
  height: 78px;
  transition: height 0.3s ease-in;
}
.elementor-sticky--active .logo img {
  transform: scale(0.8);
}

.menu-pral ul.sc_layouts_menu_nav > li:nth-last-child(2) a {
  background-color: #0080c8;
  border-radius: 20px;
  padding: 7px 14px;
  margin-top: 8px;
  text-decoration: none !important;
  color: #fff !important;
}

.menu-pral ul.sc_layouts_menu_nav > li:nth-last-child(2) a:hover {
  background-color: #e22319;
  border-radius: 20px;
  padding: 7px 14px;
  margin-top: 8px;
  text-decoration: none !important;
  color: #fff !important;
}
.menu-pral ul.sc_layouts_menu_nav > li:nth-last-child(2) a:hover::after {
  width: 0 !important;
}

.menu-pral ul.sc_layouts_menu_nav > li:nth-last-child(1) .sub-menu {
  width: 80px !important;
  left: -1px !important;
}
table thead tr {
  border-bottom: solid 1px #fff;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav,
.sc_layouts_menu_popup .sc_layouts_menu_nav > li > ul,
.sc_layouts_menu_nav > li > ul ul,
.sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs) {
  background-color: #0080c8;
}

.logo div a img {
  width: auto !important;
}
.hidden {
  display: none;
}

.elementor-widget-nav-menu
  .elementor-widget-container
  .elementor-nav-menu__container
  .elementor-nav-menu
  .menu-item
  .elementor-item-anchor {
  font-weight: 500 !important;
}
.elementor-widget-nav-menu
  .elementor-widget-container
  .elementor-nav-menu__container
  .elementor-nav-menu
  .menu-item
  .elementor-item:hover {
  color: #e22319;
}
.elementor-widget-nav-menu
  .elementor-widget-container
  .elementor-nav-menu__container
  .elementor-nav-menu
  .menu-item
  .elementor-item:after {
  background-color: #e22319;
}
.elementor-widget-container .elementor-nav-menu .menu-item .sub-menu {
  padding: 8px 16px 16px 16px;
}
.elementor-widget-container
  .elementor-nav-menu
  .menu-item
  .sub-menu
  .menu-item
  .elementor-sub-item,
.elementor-widget-container
  .elementor-nav-menu
  .menu-item
  .sub-menu
  .menu-item
  .elementor-sub-item:hover {
  color: #fff;
  border: none;
}
.elementor-widget-container
  .elementor-nav-menu
  .menu-item
  .sub-menu
  .menu-item
  .elementor-sub-item:after {
  content: "";
  height: 3px;
  z-index: 2;
  width: 0%;
  transform: scale(0);
  background-color: #fff;
  display: block;
  bottom: 0;
  left: 0;
  position: absolute;
  transition: transform 0.2s ease;
}
.elementor-widget-container
  .elementor-nav-menu
  .menu-item
  .sub-menu
  .menu-item
  .elementor-sub-item:hover:after {
  width: 100%;
  transform: scale(100%);
  transition: transform 0.2s ease;
}

body.single-product .woocommerce-product-details__short-description ul li a {
  text-decoration: underline;
  color: #e22319;
  font-weight: 700;
}
body.single-product .woocommerce-product-details__short-description img {
  margin-bottom: 24px;
}
body.single-product .button.pdf-download {
  color: #e22319;
  border: 2px solid #e22319 !important;
  background: transparent;
  height: 39px;
  border-radius: 4px;
  text-transform: uppercase;
}
body.single-product .button.pdf-download:hover {
  color: #fff;
  border-color: #1b80c4 !important;
  background: #1b80c4;
}
body.single-product .button.pdf-download:after {
  content: "\e959";
  font-family: "fontello";
  font-weight: 400;
  margin-left: 5px;
}
.elementor-widget-nav-menu
  .elementor-widget-container
  .elementor-nav-menu__container
  .elementor-nav-menu
  .menu-item.ecommerce-menu
  a.elementor-item {
  background: #e22319;
  color: #fff;
  font-weight: 700;
  padding: 8px 20px;
  margin: auto;
  height: fit-content;
}
.elementor-widget-nav-menu
  .elementor-widget-container
  .elementor-nav-menu__container
  .elementor-nav-menu
  .menu-item.ecommerce-menu
  a.elementor-item:hover {
  color: #fff;
  opacity: 0.8;
}
.elementor-nav-menu .menu-item .sub-menu.elementor-nav-menu--dropdown,
.elementor-nav-menu .menu-item .sub-menu.elementor-nav-menu--dropdown a:hover {
  background-color: #313131;
}
.elementor-nav-menu .menu-item .sub-menu.elementor-nav-menu--dropdown a {
  padding: 12px 5px;
}
p,
ul,
ol,
dl,
blockquote,
address,
.wp-block-button,
.wp-block-cover,
.wp-block-image,
.wp-block-video,
.wp-block-search,
.wp-block-archives,
.wp-block-archives-dropdown,
.wp-block-categories,
.wp-block-calendar,
.wp-block-media-text {
  margin-bottom: 1em;
}
.custom-background .content_wrap > .content,
.background_banner_wrap ~ .content_wrap > .content {
  padding-top: 1rem;
}
.product {
  display: flex;
  flex-direction: column;
}
.product.type-product.product-type-simple .woocommerce-product-gallery.images {
  width: 100%;
  max-height: 550px;
  margin: 0 auto 32px auto;
}
.woocommerce-page.sidebar_hide div.product div.summary.entry-summary {
  padding-left: 0;
  width: 100%;
  margin-bottom: 0;
}
.woocommerce-page.sidebar_hide
  div.product
  div.summary.entry-summary
  .custom-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.woocommerce-page.sidebar_hide
  div.product
  div.summary.entry-summary
  .custom-columns
  .col-12 {
  width: 100%;
}
ul.product-list {
  list-style: none;
  padding: 0;
}
ul.product-list li {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  align-items: center;
  font-weight: 600;
  flex-wrap: nowrap;
}
ul.product-list li span {
  flex: 1;
}
ul.product-list li a {
  flex: 0 0 36px;
  width: 36px;
}
ul.product-list li a img {
  transition: content 0.3s ease;
  width: 36px;
  height: 36px;
}
ul.product-list li a:hover .catalogo-img {
  transition: content 0.3s ease;
  content: url("https://caff.es/wp-content/uploads/2025/10/catalogo.png");
}
ul.product-list li a:hover .shop-img {
  transition: 0.3s ease;
  content: url("https://caff.es/wp-content/uploads/2025/10/shop.png");
}
@media only screen and (max-width: 1450px) {
  .text-shadow h2 {
    font-size: 20px;
    top: 7px;
  }
}
@media only screen and (max-width: 1250px) {
  .text-shadow h2 {
    font-size: 22px;
    top: 7px;
  }
}
@media only screen and (max-width: 1080px) {
  .text-shadow h2 {
    font-size: 20px;
    top: 20px;
  }
}
@media only screen and (max-width: 1024px) {
  .text-shadow h2 {
    line-height: 20px;
  }
}
@media (min-width: 981px) {
  .woocommerce-page.sidebar_hide
    div.product
    div.summary.entry-summary
    .custom-columns
    .col-12.col-md-6 {
    width: 49%;
  }
}
