/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*** Menu styling */
#menu-primary li{
    padding-right:var(--wp--style--block-gap,0.6em);
}

/*** Product category archive styles */
/* Keep archive title styled */
.archive-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* WPGB: 3 products per row (force with CSS in case grid config doesn't enforce it) */
.wpgb-grid .wpgb-card {
  width: calc(33.333% - 1rem);
  margin: 0.5rem;
  box-sizing: border-box;
}

.wpgb-grid {
  display: flex;
  flex-wrap: wrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .wpgb-archive-grid-layout {
    flex-direction: column;
  }

  .wpgb-grid .wpgb-card {
    width: 100%;
  }

  .wpgb-facets {
    margin-bottom: 2rem;
  }
}
.archive-hero{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  height:auto;  
  background-color:var(--contrast-2);
  padding:24px 24px;
  border-radius:12px;
  margin-bottom:48px;
}
.archive-hero h1{
  margin-bottom:0px;
  color:#fff;
}



/*** Hirlevélr form #3 fix */
.ff-el-group.ff-text-left.top_merged.ff_submit_btn_wrapper{
  top:0;
  right:0;
}

.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style{
  padding: 10px 20px 9px 20px!important;
  background-color:#97ae50;
}

/*** Hirlevél feliratkozás style Fluent Forms #3*/
@media(min-width:1024px){
#fluentform_3 fieldset{
  display:flex;
  flex-direction:row;
  justify-content: center;
  gap:12px;
}

#fluentform_3 fieldset .ff-field_container.ff-name-field-wrapper, #fluentform_3 fieldset .hirlevel-email-field{
  width:35%;
}
}
/* Success */
#fluentform_3_success p{
  color:#ffffff;
  text-align:center;
  font-size:16px;
  font-weight:600;
  margin-bottom:0px;
}

/*** WP Grid Builder slider dots */
.wpgb-area.wpgb-area-bottom-1{
  margin: 20px 0px 0px 0px!important;
  justify-content: center;
}

/*--------------------------- Product page ------------------------*/

/*** Product page style */
.product .product_title{
  margin-bottom:48px;
}
.product .posted_in a{
  font-size: 12px;
}

.product .related.products{
  padding-top:96px;
}


/*** Hide Variation description */
.woocommerce-variation-description{
  display:none;
}

/*** Woo breadcrumbs */
.woocommerce-breadcrumb{
  margin-bottom:4em!important;
}


/*** Product page container */
.type-product .inside-article{
  padding-top:0px!important;
}


/*** Product right side */
.type-product .summary.entry-summary{
  padding:48px;
  background-color:var(--base);
  border-radius:8px;
}

/*** Product tabs */
.woocommerce-tabs.wc-tabs-wrapper{
  padding:48px;
  background-color:#fafafa;
  border-radius:8px;  
}

.tabs.wc-tabs .description_tab, .tabs.wc-tabs .additional_information_tab{
  border:unset!important;
}

/*** Product gallery */
.woocommerce-product-gallery{
  margin-bottom:96px!important;
}