/**
* Theme Name: Blonwe Child
* Description: This is a child theme of Blonwe, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: blonwe
* Version: 1.3.11
*/

/* Nariz Feliz — mobile off-canvas navigation */
@media (max-width: 991.98px) {
  .site-drawer {
    width: min(340px, 100vw);
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .site-drawer .drawer-menu > ul > li {
    position: relative;
  }

  .site-drawer .drawer-menu > ul > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  .site-drawer .drawer-primary > ul > li.menu-item-has-children > a {
    padding-right: 52px;
  }

  .site-drawer .drawer-primary .sub-menu {
    overflow: hidden !important;
    transition: height 0.25s ease;
  }

  .site-drawer .drawer-primary .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .site-drawer .nf-submenu-toggle {
    position: absolute;
    z-index: 2;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #F9F5EC !important;
    color: #1E1208;
    cursor: pointer;
  }

  .site-drawer .nf-submenu-toggle::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .site-drawer .menu-item-has-children.is-open > .nf-submenu-toggle::before {
    transform: translateY(2px) rotate(225deg);
  }

  .site-drawer .nf-submenu-toggle:hover,
  .site-drawer .nf-submenu-toggle:focus-visible {
    color: #E8722A;
  }

  .site-drawer .nf-submenu-toggle:focus-visible {
    outline: 2px solid #E8722A;
    outline-offset: -4px;
  }
}

@media (max-width: 360px) {
  .site-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}


/* Nariz Feliz — wishlist primary CTA */
.klbwl-list .klbwl-item--addtocart .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #E8722A !important;
  background: #E8722A !important;
  color: #FFFFFF !important;
  font-family: Inter, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.klbwl-list .klbwl-item--addtocart .add_to_cart_button:hover,
.klbwl-list .klbwl-item--addtocart .add_to_cart_button:focus {
  border-color: #E8722A !important;
  background: #FFFFFF !important;
  color: #E8722A !important;
}

.klbwl-list .klbwl-item--addtocart .add_to_cart_button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 114, 42, 0.22);
}

.klbwl-list .klbwl-item--addtocart .add_to_cart_button i {
  color: currentColor;
}


/* Nariz Feliz — compact wishlist table on extra-narrow screens */
@media (max-width: 359px) {
  .klbwl-list table.shop_table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
  }

  .klbwl-list th.product-thumbnail,
  .klbwl-list td.klbwl-item--image {
    width: 68px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .klbwl-list th.product-addtocart,
  .klbwl-list td.klbwl-item--addtocart {
    width: 112px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .klbwl-list th.product-remove,
  .klbwl-list td.klbwl-item--remove {
    width: 30px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .klbwl-list td.klbwl-item--name {
    padding-left: 6px;
    padding-right: 6px;
    overflow-wrap: anywhere;
  }

  .klbwl-list .klbwl-item--addtocart .add_to_cart_button {
    width: 100%;
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 13px;
  }
}

/**
 * Nariz Feliz: icon for the localized My Account wishlist endpoint.
 */
.my-account-wrapper
.woocommerce-MyAccount-navigation-menu
.woocommerce-MyAccount-navigation-link--deseos
a::before {
	content: "\eb35";
}

/**
 * Nariz Feliz: icon for the localized Compare account endpoint.
 */
.my-account-wrapper
.woocommerce-MyAccount-navigation-menu
.woocommerce-MyAccount-navigation-link--comparar
a::before {
	content: "\ec85";
}
