/*
Theme Name: Planner Lovers Block Based
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planner-lovers-block-based
Tags: 
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
 a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* Login/Signup Popup */
.xoo-el-section{
	padding-left: 0;
}

.xoo-aff-group,
.xoo-el-form-container button.button.btn.xoo-el-action-btn{
	width: 100%;
}

.xoo-aff-group {
	margin-bottom: 9px;
  }

.xoo-aff-group label{
	font-weight: normal;
}

.xoo-el-form-container button.btn.button.xoo-el-action-btn{
	font-weight: 800;
	text-transform: uppercase;
	border: 3px solid #d69d9f;
	border-radius: 5px;
}

.xoo-aff-group input[type="text"], .xoo-aff-group input[type="password"], .xoo-aff-group input[type="email"], .xoo-aff-group input[type="number"], .xoo-aff-group select, .xoo-aff-group select + .select2, .xoo-aff-group input[type="tel"], .xoo-aff-group input[type="file"]{
	height: 40px;
}

.xoo-el-action-form a.xoo-el-lostpw-tgr{
	text-transform: none;
	float: none;
	font-size: 14px;
	margin-top: 0;
	text-decoration: none;
}

.xoo-aff-pw-toggle > *{
  margin-top: 22.5px;
  color: #777;
}

/* Main Menu */
#main-menu,
#main-menu .main-menu-list .uagb-icon-list__source-wrap svg,
#main-menu .main-menu-list .uagb-icon-list__label{
  transition: opacity 0.3s;
}


/* Responsive Menus */
.offcanvas {
  position: fixed;
  top: 0;
  bottom: 0;
  transition: transform 0.3s ease;
  z-index: 999;
  width: 100vw;
  background-color: #f2ebf0;
  padding: 20px;
}

.offcanvas.left {
  left: 0;
  transform: translateX(-100%);
}
.offcanvas.right {
  right: 0;
  transform: translateX(100%);
}

.offcanvas.active.left {
  transform: translateX(0);
}
.offcanvas.active.right {
  transform: translateX(0);
}

@media (min-width: 769px) {
  .offcanvas{
      position: initial;
      padding: 0;
      width: auto;
  }
  
  .offcanvas.left{
      transform: none;
  }
}

/* Collapsed Menu */
#main-menu.collapsed .greeting-user,
#main-menu.collapsed .main-menu-list .uagb-icon-list__label{
  opacity: 0;
  pointer-events: none;
  width: 0;
  display: inline-block; /* evita quebra */
  overflow: hidden;
  white-space: nowrap;
}

#main-menu.collapsed .main-menu-list .uagb-icon-list__wrap{
  align-items: center;
}

#main-menu.collapsed .main-menu-list .wp-block-uagb-icon-list-child .uagb-icon-list__source-wrap{
  margin-right: 0;
}

/* Backgrounds */
.vidro {
  background:rgb(255 255 255 / .29);
  border-radius:16px;
  box-shadow:0 4px 30px rgb(0 0 0 / .1);
  backdrop-filter:blur(5.8px);
  -webkit-backdrop-filter:blur(5.8px)
}

/* Woocommerce My Account */
.woocommerce form.checkout_coupon, 
.woocommerce form.login, 
.woocommerce form.register{
  border: none;
  padding: 0;
  margin: 0;
}

.woocommerce form .form-row{
  margin-bottom: 10px;
  padding: 0;
}

.woocommerce-page form .form-row label{
  line-height: inherit;
  margin-bottom: 5px;
}

.woocommerce-page form .form-row label.woocommerce-form-login__rememberme{
  margin-bottom: 0;
}

.woocommerce form .lost_password{
  margin-top: 0;
  margin-bottom: 0;
}

.woocommerce-page form .form-row input.input-text, 
.woocommerce-page form .form-row select, 
.woocommerce-page form .form-row textarea.input-text{
  padding: .75rem 1rem;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce .woocommerce-ResetPassword .woocommerce-Button{
  width: 100%;
}

.woocommerce .woocommerce-Button[name="save_account_details"]{
  font-size: .985rem;
}

/* Woocommerce - Thank You */
.woocommerce-order-details .order-again{
  display: none;
}

/* Carousel Block */
@media screen and (max-width: 767px){
  .wp-block-cb-carousel-v2 .wp-block-image{
    text-align: center;
  }

  .wp-block-cb-carousel-v2 .cb-button-prev, .wp-block-cb-carousel-v2 .cb-button-next{
    z-index: 1;
  }

  .wp-block-cb-carousel-v2 .cb-button-prev, .wp-block-cb-carousel-v2.cb-rtl .cb-button-next{
    left: 0;
  }

  .wp-block-cb-carousel-v2 .cb-button-next, .wp-block-cb-carousel-v2.cb-rtl .cb-button-prev{
    right: 0;
  }
}

/* CartFlows Checkout Funil */
#payment .place-order #place_order{
  border-radius: 7px;
}