/*
 Theme Name:   Integro Child Theme
 Theme URI:    https://integro.ancorathemes.com/
 Description:  Integro Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com/
 Template:     integro
 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:  integro
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
:root{
  --color-primary: #c4a356;
  --color-text: #cccccc;
}
html {
  font-size: 16px;
}

@media (max-width: 767px) {
  html {
     font-size: 16px;
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  html {
     font-size: 18px;
  }
}
@media (min-width: 1280px) {
  html {
     font-size: 20px;
  }
}

/* Typography */
#ws_theme p:not([class]){
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}
#ws_theme li.elementor-icon-list-item{
  font-size: 1rem;
  line-height: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
#ws_theme li.elementor-icon-list-item i{
  font-size: 1rem;
}
.page_wrap{
  background-image: none!important;
  background: #000;
  background-repeat: no-repeat;
  background-position: top center;
  -webkit-background-size: cover;
  background-size: cover;
}
body.woocommerce-cart .page_wrap,
body.woocommerce-checkout .page_wrap,
body.blog .page_wrap,
body.single-post .page_wrap,
body.woocommerce-account .page_wrap,
body.page:not(.home) .page_wrap{
  background-image: url('/wp-content/themes/integro-child/img/bg-subpages.jpg')!important;
}
body.woocommerce-cart .top_panel,
body.woocommerce-cart .page_content_wrap,
body.woocommerce-checkout .top_panel,
body.woocommerce-checkout .page_content_wrap,
body.blog .page_content_wrap,
body.single-post .page_content_wrap,
body.woocommerce-account .page_content_wrap,
body.page:not(.home) .page_content_wrap{
  background: transparent;
}
#ws_theme header.top_panel{
  background: transparent;
  background-color: transparent;
}
body.home .navbar-main{
  position: absolute;
  width: 100%;
}
#ws_theme .navbar-desktop .desktop_menu nav > ul > li > a{
  color: #fff;
  font-size: 20px;
}
#ws_theme .menu_hover_zoom_line .sc_layouts_menu_nav > li.current-menu-item > a, #ws_theme .menu_hover_zoom_line .sc_layouts_menu_nav > li.current-menu-parent > a, #ws_theme .menu_hover_zoom_line .sc_layouts_menu_nav > li.current-menu-ancestor > a {
  color: var(--color-primary) !important;
}
#ws_theme .menu_hover_zoom_line .sc_layouts_menu_nav > li:not(.menu-collapse) > a:after {
  background-color: var(--color-primary);
}
#ws_theme .navbar-desktop .sc_layouts_cart .sc_layouts_item_icon{
  font-size: 30px;
  color: var(--color-primary);
}
#ws_theme .navbar-desktop .sc_layouts_cart .sc_layouts_cart_items_short{
  background-color: #fff;
  color: #000;
}
#ws_theme .navbar-desktop .sc_layouts_search .search_submit:before{
  font-size: 30px!important;
  color: var(--color-primary);
}
#ws_theme .navbar-desktop .sc_layouts_item_icon{
  font-size: 30px;
  color: var(--color-primary);
}
#ws_theme .sc_layouts_login_menu ul{
  top: 5rem;
}

/* Glass products */
.hero-text{
  -webkit-text-stroke: 0;
  color: #fff;
}
.hero_products > .e-con-inner > .e-child {
  position: relative;
}

.hero_products > .e-con-inner > .e-child::after {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: calc(100% / 3);
  transition: transform 0.5s ease;
  transform: translateX(var(--translateX, 100%));
  z-index: -1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 0;
  border-bottom: 0;
}

.products_bottom > .e-con-inner > .e-child::after{
  width: calc(100% / 4);
}
.hero_product_column::before{
  opacity: 0;
  transition: opacity 1.2s;
}
.hero_product_column.glass-effect-single::before{
  opacity: 0.06;
}
@media (max-width:1279px){
  .products_bottom > .e-con-inner > .e-child::after{
    display: none!important;
  }
  .hero_product_column::before{
    opacity: 0.06;
    background-size: contain;
  }
  .glass-effect .hero_product_column{
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
  }
  #hero_products > .e-con-inner > .e-child::after {
    display: none;
  }
}
@media (min-width:1280px){
  .glass-effect {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
  }
  .hero_product_column.glass-effect-single::before{
    opacity: 0.06;
  }
}
@media (max-width:767px){
  .hero_product_column::before{
    background-size: cover;
  }
  .glass-effect .hero_product_column{
    margin: 0;
    margin-bottom: 2rem;
  }
}


/* 4 boxes section */
.front-page__icons-section .icons-section__single{
  position: relative;
}
.front-page__icons-section .icons-section__single{
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}
.front-page__icons-section .icons-section__single::after,
.front-page__icons-section .icons-section__single::before{
  content: '';
  position: absolute;
  background: none repeat scroll 0 0 transparent;
  height: 0px;
  width: 1px;
  top: 0%;
  z-index: 999;
  background: var(--color-primary);
  background-color: var(--color-primary)!important;
  transition: height 0.5s ease 0s, top 0.5s ease 0s;
}
.front-page__icons-section .icons-section__single::after{
  right: -1px;
}
.front-page__icons-section .icons-section__single::before{
  left: -1px;
}
.front-page__icons-section .icons-section__single:hover::after,
.front-page__icons-section .icons-section__single:hover::before{
  height: 100%;
}
.front-page__icons-section .icon-bg-image{
  position: absolute;
  opacity: 0;
  transition: all 1s;
  bottom: 60px;
  right: 0;
  width: 60%;
  height: 60%;
}
.front-page__icons-section .icons-section__single:hover .icon-bg-image{
  opacity: 0.07;
  width: 70%;
  height: 70%;
}
#hero__social .social_item .social_name{
  color: #fff;
}

/* Product */
body.single-product .page_content_wrap{
  padding-top: 0!important;
}
body.single-product .top_panel,
body.single-product .page_content_wrap{
  background: #000;
}
body.single-product .content_wrap, body.single-product  .content_container{
  width: 100%;
}
body.single-product#ws_theme .product__order-section p.price{
  margin-bottom: 1.5rem;
}
body.single-product#ws_theme .product__order-section .woocommerce-Price-amount{
  color: var(--color-primary);
  font-weight: 600;
}
body.single-product#ws_theme .product__order-section .woocommerce-Price-currencySymbol{
  font-size: 2rem;
  margin-left: 4px;
}
body.single-product#ws_theme .elementor-icon-list-item::before{
  content: '';
  background: url('/wp-content/uploads/2024/11/m-gold.svg');
  background-size: 19px 15px;
  background-repeat: no-repeat;
  width: 19px;
  height: 15px;
  min-width: 19px;
  display: block;
  margin-right: 0.6rem;
}
body.single-product#ws_theme .product__order-section .quantity{
  border-bottom: 2px solid var(--color-primary);
  margin-right: 5px;
  position: relative;
  padding-right: 1rem;
}
body.single-product#ws_theme .product__order-section .quantity input[name="quantity"]{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border: none;
}
body.single-product#ws_theme .product__order-section .quantity > span{
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 1px;
  top: 1px;
  height: 50%;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  padding-left: 5px;
}
body.single-product#ws_theme .product__order-section .quantity .q_inc::before{
  content: '\e835';
  font-family: "fontello";
  font-weight: 400;
}
body.single-product#ws_theme .product__order-section .quantity .q_dec{
  top: auto;
  bottom: 1px;
  border-top: none;
}
body.single-product#ws_theme .product__order-section .quantity .q_dec::before{
  content: '\e828';
  font-family: "fontello";
  font-weight: 400;
}
body.single-product#ws_theme .product__cart-button button span.elementor-button-text::before{
  content: '\e9f4';
  font-family: "fontello";
  margin-right: 10px;
}
body.single-product#ws_theme .product__cart-button button{
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0px;
  background: none !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--color-primary) !important;
  box-shadow: inset 0 0 0 2px var(--color-primary);
}
body.single-product#ws_theme .product__cart-button button:hover{
  color: #fff!important;
  background: var(--color-primary)!important;
}
body.single-product#ws_theme .product__box-section .sc_icons_accent2 .sc_icons_item{
  background-color: rgba(0, 0, 0, 0.5);
}
body.single-product#ws_theme .product__box-section .sc_icons_accent2 .sc_icons_item:hover{
  background-color: var(--color-primary);
}
body.single-product#ws_theme .product__box-section .sc_icons_accent2 .sc_icons_item:hover .sc_icons_icon::before{
  color: #fff;
}
body.single-product#ws_theme .product__sliding-text .trx_addons_bg_text .trx_addons_bg_text_inner{
  margin: auto;
}
/* Blog */
.front-page__blog .post_item .post-more-link{
  color: var(--color-primary);
}
.sidebar_default[class*="scheme_"] .sidebar_inner{
  padding: 3em 0 4em;
}
.wc-block-product-search .wc-block-product-search__fields:after, .widget_search form.search-form:after, .woocommerce.widget_product_search form:after, .widget_display_search form:after, #bbpress-forums #bbp-search-form:after{
  left: 15px;
}
.wc-block-product-search input.wc-block-product-search__field, .widget_search .search-field, .woocommerce.widget_product_search .search_field, .widget_display_search #bbp_search, #bbpress-forums #bbp-search-form #bbp_search{
  padding-left: 4em!important;
}

/* Cart */
body.woocommerce-cart .cart-coupon-inner,
body.woocommerce-checkout .cart-coupon-inner{
  background: #000;
}
@media (max-width: 767px) {
  .menu_mobile .menu_mobile_content_wrap.content_wrap {
      padding: 20px;
  }
}
#ws_theme .menu_mobile .menu_mobile_inner{
  background-color: #000;
}

/* Second boxes */
@media (max-width:767px){
  .second-icon-boxes__single .sc_icons_item{
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* Ukryj przycisk aktualizacji na stronie koszyka */
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"] {
  display: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout.moved-inside-form{
  padding-top: 0;
}



ul.products.products_style_default { position: relative; }

.products__hover-highlight {
  position: absolute;
  pointer-events: none;
  border: 2px solid currentColor;
  color: #16a34a;              /* podmień na brand */
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.03);
  will-change: transform,width,height;
  transform: translate3d(0,0,0);
  transition:
    transform 240ms cubic-bezier(.22,.61,.36,1),
    width 240ms cubic-bezier(.22,.61,.36,1),
    height 240ms cubic-bezier(.22,.61,.36,1),
    opacity 160ms ease-in-out;
  opacity: 0;
  z-index: 5;
}
.products__hover-highlight.no-transition { transition: none !important; }

