/*
Theme Name:   Bacola Child
Theme URI:    http://klbtheme.com/bacola/
Description:  Bacola Child Theme - AuriaBR app-like refinements
Author:       KlbTheme / AuriaBR
Author URI:   http://themeforest.net/user/klbtheme
Template:     bacola
Version:      1.5.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  bacola-child
*/

:root {
  --auria-red: #ea1d2c;
  --auria-pink: #ff4d79;
  --auria-soft: #ffedf2;
  --auria-soft-strong: #ffe2ea;
  --auria-ink: #202435;
  --auria-radius-pill: 999px;
  --auria-shadow-soft: 0 10px 22px rgba(234, 29, 44, 0.16);
  --auria-shadow-soft-hover: 0 14px 28px rgba(234, 29, 44, 0.22);
}

/* Home/listing CTA */
.products .product .product-button-group.cart-with-quantity {
  width: 100%;
  margin-top: .75rem;
}

.products .product .product-button-group.cart-with-quantity > a.button,
.products .product .product-button-group.cart-with-quantity > a.add_to_cart_button,
.products .product .product-button-group.cart-with-quantity > a.added_to_cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.9rem;
  padding: .8rem 1rem;
  border: 0 !important;
  border-radius: var(--auria-radius-pill) !important;
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%) !important;
  box-shadow: var(--auria-shadow-soft);
  color: #fff !important;
  text-transform: none !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.products .product .product-button-group.cart-with-quantity > a.button:hover,
.products .product .product-button-group.cart-with-quantity > a.add_to_cart_button:hover,
.products .product .product-button-group.cart-with-quantity > a.added_to_cart:hover {
  transform: translateY(-1px);
  box-shadow: var(--auria-shadow-soft-hover);
  filter: saturate(1.04);
}

.products .product .product-button-group.cart-with-quantity > a.button::before,
.products .product .product-button-group.cart-with-quantity > a.add_to_cart_button::before,
.products .product .product-button-group.cart-with-quantity > a.added_to_cart::before,
.products .product .product-button-group.cart-with-quantity > a.button::after,
.products .product .product-button-group.cart-with-quantity > a.add_to_cart_button::after,
.products .product .product-button-group.cart-with-quantity > a.added_to_cart::after {
  content: none !important;
}

.products .product .product-button-group.cart-with-quantity > a.added_to_cart {
  display: none !important;
}

.products .product .product-button-group.cart-with-quantity .auria-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .46rem;
}

.products .product .product-button-group.cart-with-quantity .auria-btn-icon {
  display: inline-block;
  width: .95rem;
  height: .95rem;
  background: currentColor;
  color: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 2 1.6H18a2 2 0 0 0 2-1.5L21 7H7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 2 1.6H18a2 2 0 0 0 2-1.5L21 7H7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.products .product .product-button-group.cart-with-quantity .auria-btn-label {
  font-size: .82rem;
  line-height: 1;
  color: #fff;
}

/* quick action buttons */
.products .product .product-buttons {
  top: .75rem;
  right: .75rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.products .product .product-buttons > * {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(32,36,53,.07) !important;
  box-shadow: 0 8px 18px rgba(32,36,53,.1);
}

/* quantity stepper in cards */
.products .product .product-button-group.cart-with-quantity .quantity.ajax-quantity {
  border: 1px solid rgba(234, 29, 44, .12);
  border-radius: var(--auria-radius-pill);
  background: linear-gradient(180deg, #fff 0%, var(--auria-soft) 100%);
  box-shadow: 0 10px 22px rgba(32,36,53,.08);
  padding: .22rem;
  gap: .28rem;
}

.products .product .product-button-group.cart-with-quantity .quantity.ajax-quantity .qty {
  background: rgba(255,255,255,.82);
  border: 0;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 800;
  color: var(--auria-ink);
}

.products .product .product-button-group.cart-with-quantity .quantity.ajax-quantity .quantity-button {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 29, 44, .12);
  background: #fff;
  color: var(--auria-red);
  box-shadow: 0 8px 16px rgba(234, 29, 44, .08);
}

.products .product .product-button-group.cart-with-quantity .quantity.ajax-quantity .quantity-button.plus {
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%);
  color: #fff;
  border-color: transparent;
}

/* Single product CTA */
.single-product div.product form.cart .single_add_to_cart_button,
.single-product .single_add_to_cart_button.button.alt {
  min-height: 3rem;
  padding: .85rem 1.35rem;
  border-radius: var(--auria-radius-pill) !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%) !important;
  box-shadow: var(--auria-shadow-soft);
  text-transform: none !important;
  font-weight: 800 !important;
}

.single-product div.product form.cart .quantity,
.woocommerce-cart .quantity,
.woocommerce-checkout .quantity {
  border-radius: var(--auria-radius-pill);
}

.single-product div.product form.cart .quantity .qty,
.woocommerce-cart .quantity .qty,
.woocommerce-checkout .quantity .qty {
  border-radius: 999px;
}

/* Hot product fixed horizontal */
.module-counter-product .counter-product .products .product,
.module-counter-product .counter-product .products .product .product-wrapper {
  display: block;
}

@media screen and (min-width: 62rem) {
  .module-counter-product .counter-product .products .product .product-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .module-counter-product .counter-product .products .product .thumbnail-wrapper {
    flex: 0 0 8.5rem;
    max-width: 8.5rem;
    margin-right: 1.5rem;
  }

  .module-counter-product .counter-product .products .product .content-wrapper {
    flex: 1 1 auto;
    display: block;
    height: auto;
    padding: 0;
  }

  .module-counter-product .counter-product .products .product .product-fade-block {
    position: static;
    margin-top: 1rem;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Cart notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.klb-notice-ajax .woocommerce-message,
.klb-notice-ajax .woocommerce-error {
  position: relative;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 1rem 1.1rem 1rem 3rem !important;
  background: linear-gradient(180deg, #fff 0%, #fff7f9 100%) !important;
  box-shadow: 0 14px 28px rgba(32,36,53,.08);
  color: var(--auria-ink) !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.klb-notice-ajax .woocommerce-message::before,
.klb-notice-ajax .woocommerce-error::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(234, 29, 44, .18);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.klb-notice-ajax .woocommerce-message .button,
.klb-notice-ajax .woocommerce-error .button {
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--auria-shadow-soft);
}

/* Small screens */
@media (max-width: 575px) {
  .products .product .product-button-group.cart-with-quantity > a.button,
  .products .product .product-button-group.cart-with-quantity > a.add_to_cart_button,
  .products .product .product-button-group.cart-with-quantity > a.added_to_cart {
    min-height: 2.75rem;
    padding: .75rem .9rem;
  }

  .products .product .product-button-group.cart-with-quantity .auria-btn-label {
    font-size: .78rem;
  }
}

/* v6 fixes: keep CTA area always visible, but never show button and quantity together */
.products .product .product-content-fade {
  display: none !important;
}

.products .product .product-fade-block {
  position: static !important;
  left: auto !important;
  right: auto !important;
  padding: 0 !important;
  margin-top: .8rem;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.products .product .product-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.products .product .content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.products .product .product-fade-block {
  margin-top: auto;
}

.products .product .product-buttons > * {
  opacity: 1 !important;
  transform: none !important;
}

.products .product .product-button-group.cart-with-quantity:not(.product-in-cart) .quantity.ajax-quantity {
  display: none !important;
}

.products .product .product-button-group.cart-with-quantity.product-in-cart .quantity.ajax-quantity {
  display: flex !important;
}

.products .product .product-button-group.cart-with-quantity.product-in-cart > a.button,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.add_to_cart_button,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.auria-loop-cta,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.ajax_add_to_cart {
  display: none !important;
}

.products .product .product-button-group.cart-with-quantity.product-in-cart > a.added_to_cart {
  display: none !important;
}

/* keep the hot product horizontal even after the global visibility fix */
.module-counter-product .counter-product .products,
.module-counter-product .counter-product .products::before {
  height: 100%;
}

.module-counter-product .counter-product .products .product,
.module-counter-product .counter-product .products .product .product-wrapper {
  height: 100%;
}

@media screen and (min-width: 62rem) {
  .module-counter-product .counter-product .products .product .product-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .module-counter-product .counter-product .products .product .thumbnail-wrapper {
    flex: 0 0 8.5rem;
    max-width: 8.5rem;
    margin-right: 1.5rem;
    padding: 0;
  }

  .module-counter-product .counter-product .products .product .content-wrapper {
    display: block !important;
    flex: 1 1 auto;
    padding: 0 1.875rem 1.875rem 0 !important;
  }

  .module-counter-product .counter-product .products .product .product-fade-block {
    margin-top: 1rem;
  }
}

/* app-like cart notice */
.klb-cart-notice {
  bottom: 20px !important;
  right: 20px !important;
  min-width: 320px;
  max-width: 380px;
  padding: 1rem 1rem 1rem 1rem !important;
  border: 1px solid rgba(234,29,44,.08);
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f9 100%) !important;
  box-shadow: 0 18px 36px rgba(32,36,53,.14) !important;
  overflow: hidden;
}

.klb-cart-notice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--auria-red) 0%, var(--auria-pink) 100%);
}

.klb-cart-notice h2 {
  font-size: .9rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: var(--auria-ink);
  margin-bottom: .35rem;
  padding-right: 1.5rem;
}

.klb-cart-notice h3.product-title {
  font-size: .92rem;
  line-height: 1.45;
  margin-bottom: .9rem;
  color: #4c566a;
}

.klb-cart-notice .button {
  min-height: 2.6rem;
  border-radius: 999px !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  text-transform: none !important;
  padding: .7rem 1rem !important;
}

.klb-cart-notice a.button.go-cart {
  border: 1px solid rgba(234,29,44,.14) !important;
  background: #fff !important;
  color: var(--auria-red) !important;
}

.klb-cart-notice a.button.checkout {
  border: 0 !important;
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%) !important;
  color: #fff !important;
  box-shadow: var(--auria-shadow-soft);
}

.klb-cart-notice button.cart-notice-close {
  top: .8rem;
  right: .9rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(32,36,53,.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .klb-cart-notice {
    left: 12px;
    right: 12px !important;
    bottom: 78px !important;
    min-width: 0;
    max-width: none;
  }
}

/* v9 fixes: keep hot product horizontal and move cart notice to chat-style toast */
.products .product .product-fade-block {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.products .product .product-content-fade {
  opacity: 1;
}
.products .product .product-buttons > * {
  opacity: 1;
  transform: translateX(0);
}

/* Restore Bacola hot product layout */
.module-hot-product .hot-product .product,
.module-hot-product .hot-product .product .product-wrapper {
  display: block !important;
}

@media screen and (min-width: 64rem) {
  .module-hot-product .hot-product .product .product-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
  }

  .module-hot-product .hot-product .product .thumbnail-wrapper {
    flex: 0 0 10.5rem !important;
    max-width: 10.5rem !important;
    margin-right: 1.5rem !important;
    margin-bottom: 0 !important;
  }

  .module-hot-product .hot-product .product .content-wrapper {
    flex: 1 1 auto !important;
    display: block !important;
    width: auto !important;
    padding: 0 !important;
  }
}

.module-hot-product .hot-product .product .product-fade-block,
.module-hot-product .hot-product .product .product-content-fade,
.module-hot-product .hot-product .product .product-buttons,
.module-counter-product .counter-product .products .product .product-content-fade {
  display: none !important;
}

.module-hot-product .hot-product .product .product-title {
  max-width: 38rem;
}

.module-hot-product .hot-product .product .product-count,
.module-counter-product .counter-product .products .product .product-count {
  margin-top: 1rem !important;
}

/* WhatsApp-like cart toast */
.klb-notice-ajax {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  right: 18px;
  z-index: 100000;
  pointer-events: none;
}

body.admin-bar .klb-notice-ajax {
  top: calc(env(safe-area-inset-top, 0px) + 50px);
}

@media (max-width: 782px) {
  body.admin-bar .klb-notice-ajax {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
  }
}

.klb-notice-ajax .auria-chat-toast,
.klb-cart-notice.auria-chat-toast,
.quickview-product .auria-chat-toast {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  width: min(32rem, calc(100vw - 2rem));
  min-height: 7rem;
  margin: 0 0 .75rem;
  padding: 1.25rem 5.6rem 1.25rem 6.1rem !important;
  border: 0 !important;
  border-radius: 1.9rem !important;
  background: #ececec !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.24) !important;
  color: #202124 !important;
  overflow: hidden;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .klb-notice-ajax {
    left: 12px;
    right: 12px;
  }

  .klb-notice-ajax .auria-chat-toast,
  .klb-cart-notice.auria-chat-toast,
  .quickview-product .auria-chat-toast {
    width: auto;
    padding: 1rem 4.6rem 1rem 5.35rem !important;
    min-height: 6.5rem;
    border-radius: 1.5rem !important;
  }
}

.klb-notice-ajax .auria-chat-toast::before,
.klb-cart-notice.auria-chat-toast::before,
.quickview-product .auria-chat-toast::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  width: 3.55rem;
  height: 3.55rem;
  transform: translateY(-50%);
  border-radius: 1rem;
  background: linear-gradient(180deg, #60ea6a 0%, #17c34a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 18px rgba(23,195,74,.28);
}

.klb-notice-ajax .auria-chat-toast::after,
.klb-cart-notice.auria-chat-toast::after,
.quickview-product .auria-chat-toast::after {
  content: "";
  position: absolute;
  left: 1.92rem;
  top: 50%;
  width: 2.18rem;
  height: 2.18rem;
  transform: translateY(-50%);
  background: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M27.3 4.6A14.8 14.8 0 0 0 3.9 22.4L2 30l7.8-2a14.8 14.8 0 0 0 7 1.8h.1c8.2 0 14.9-6.7 14.9-14.9c0-4-1.6-7.7-4.5-10.3ZM16.9 27.3h-.1a12.3 12.3 0 0 1-6.3-1.7l-.5-.3l-4.6 1.2l1.2-4.5l-.3-.5a12.4 12.4 0 1 1 10.6 5.8Zm6.8-9.3c-.4-.2-2.4-1.2-2.8-1.3c-.4-.2-.7-.2-1 .2s-1.1 1.3-1.4 1.5c-.2.3-.5.3-.9 0c-.4-.2-1.8-.7-3.3-2.1c-1.2-1.1-2-2.4-2.2-2.8c-.2-.4 0-.6.2-.8l.6-.7c.2-.2.2-.4.4-.7c.1-.2.1-.5 0-.7c-.1-.2-1-2.6-1.4-3.5c-.3-.9-.7-.8-1-.8h-.8c-.3 0-.7.1-1 .5c-.4.4-1.5 1.5-1.5 3.6s1.6 4.1 1.8 4.4c.2.3 3.1 4.8 7.6 6.7c1 .5 1.8.8 2.4 1c1 .3 1.9.3 2.6.2c.8-.1 2.4-1 2.7-1.9c.3-1 .3-1.8.2-2s-.4-.2-.8-.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M27.3 4.6A14.8 14.8 0 0 0 3.9 22.4L2 30l7.8-2a14.8 14.8 0 0 0 7 1.8h.1c8.2 0 14.9-6.7 14.9-14.9c0-4-1.6-7.7-4.5-10.3ZM16.9 27.3h-.1a12.3 12.3 0 0 1-6.3-1.7l-.5-.3l-4.6 1.2l1.2-4.5l-.3-.5a12.4 12.4 0 1 1 10.6 5.8Zm6.8-9.3c-.4-.2-2.4-1.2-2.8-1.3c-.4-.2-.7-.2-1 .2s-1.1 1.3-1.4 1.5c-.2.3-.5.3-.9 0c-.4-.2-1.8-.7-3.3-2.1c-1.2-1.1-2-2.4-2.2-2.8c-.2-.4 0-.6.2-.8l.6-.7c.2-.2.2-.4.4-.7c.1-.2.1-.5 0-.7c-.1-.2-1-2.6-1.4-3.5c-.3-.9-.7-.8-1-.8h-.8c-.3 0-.7.1-1 .5c-.4.4-1.5 1.5-1.5 3.6s1.6 4.1 1.8 4.4c.2.3 3.1 4.8 7.6 6.7c1 .5 1.8.8 2.4 1c1 .3 1.9.3 2.6.2c.8-.1 2.4-1 2.7-1.9c.3-1 .3-1.8.2-2s-.4-.2-.8-.4Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.auria-chat-toast .auria-toast-content {
  display: block;
}

.auria-chat-toast .auria-toast-title {
  font-size: .95rem;
  line-height: 1.05;
  font-weight: 800;
  color: #202124;
  margin-bottom: .2rem;
}

.auria-chat-toast .auria-toast-text {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 500;
  color: #202124;
  padding-right: .75rem;
}

.auria-chat-toast .auria-toast-actions {
  margin-top: .55rem;
}

.auria-chat-toast .auria-toast-actions .button,
.auria-chat-toast .auria-toast-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: .2rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #128c7e !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

.auria-chat-toast .auria-toast-avatar {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 3.1rem;
  height: 3.1rem;
  transform: translateY(-50%);
  border-radius: .9rem;
  background: linear-gradient(180deg, #555 0%, #292929 100%);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.auria-chat-toast:not(.has-thumb) .auria-toast-avatar {
  background-image: linear-gradient(180deg, #5f5f5f 0%, #262626 100%);
}

.auria-chat-toast:not(.has-thumb) .auria-toast-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.4rem;
  height: 1.4rem;
  top: 0;
  bottom: 0;
  background: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 2 1.6H18a2 2 0 0 0 2-1.5L21 7H7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 2 1.6H18a2 2 0 0 0 2-1.5L21 7H7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.auria-chat-toast .auria-toast-close {
  position: absolute;
  top: .85rem;
  right: .95rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0,0,0,.55);
  font-size: 1.25rem;
  line-height: 1;
}

.auria-chat-toast .auria-toast-close:hover {
  background: rgba(0,0,0,.06);
}

.auria-chat-toast .klb-notice-close,
.auria-chat-toast > .button,
.auria-chat-toast > .wc-forward,
.auria-chat-toast > p {
  display: none !important;
}

/* v11 - keep last good visual, but restore button -> quantity behavior without regressing quick view */
.products .product .product-button-group.cart-with-quantity > a.ajax_add_to_cart,
.products .product .product-button-group.cart-with-quantity > a.auria-loop-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.products .product .product-button-group.cart-with-quantity .quantity.ajax-quantity {
  display: none;
}

.products .product .product-button-group.cart-with-quantity.product-in-cart .quantity.ajax-quantity,
.products .product .product-button-group.cart-with-quantity.auria-force-qty .quantity.ajax-quantity {
  display: flex !important;
}

.products .product .product-button-group.cart-with-quantity.product-in-cart > a.button,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.add_to_cart_button,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.ajax_add_to_cart,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.auria-loop-cta,
.products .product .product-button-group.cart-with-quantity.auria-force-qty > a.button,
.products .product .product-button-group.cart-with-quantity.auria-force-qty > a.add_to_cart_button,
.products .product .product-button-group.cart-with-quantity.auria-force-qty > a.ajax_add_to_cart,
.products .product .product-button-group.cart-with-quantity.auria-force-qty > a.auria-loop-cta {
  display: none !important;
}

.products .product .product-button-group.cart-with-quantity:not(.product-in-cart):not(.auria-force-qty) > a.button,
.products .product .product-button-group.cart-with-quantity:not(.product-in-cart):not(.auria-force-qty) > a.add_to_cart_button,
.products .product .product-button-group.cart-with-quantity:not(.product-in-cart):not(.auria-force-qty) > a.ajax_add_to_cart,
.products .product .product-button-group.cart-with-quantity:not(.product-in-cart):not(.auria-force-qty) > a.auria-loop-cta {
  display: inline-flex !important;
}

.products .product .product-button-group.cart-with-quantity:not(.product-in-cart):not(.auria-force-qty) > a.added_to_cart,
.products .product .product-button-group.cart-with-quantity.product-in-cart > a.added_to_cart,
.products .product .product-button-group.cart-with-quantity.auria-force-qty > a.added_to_cart {
  display: none !important;
}

/* Keep quick view button in the styled app-like version that the user approved */
.quickview-product .product-detail form.cart,
.mfp-content .quickview-product .product-detail form.cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
}

.quickview-product .product-detail form.cart .quantity,
.mfp-content .quickview-product .product-detail form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(234, 29, 44, .12) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fff 0%, var(--auria-soft) 100%) !important;
  box-shadow: 0 10px 22px rgba(32,36,53,.08);
  padding: .22rem !important;
  gap: .28rem;
}

.quickview-product .product-detail form.cart .quantity .qty,
.mfp-content .quickview-product .product-detail form.cart .quantity .qty {
  border: 0 !important;
  background: rgba(255,255,255,.85) !important;
  border-radius: 999px !important;
  font-size: .96rem;
  font-weight: 800;
  color: var(--auria-ink) !important;
}

.quickview-product .product-detail form.cart .quantity .quantity-button,
.mfp-content .quickview-product .product-detail form.cart .quantity .quantity-button {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px !important;
  border: 1px solid rgba(234, 29, 44, .12) !important;
  background: #fff !important;
  color: var(--auria-red) !important;
  box-shadow: 0 8px 16px rgba(234, 29, 44, .08);
}

.quickview-product .product-detail form.cart .quantity .quantity-button.plus,
.mfp-content .quickview-product .product-detail form.cart .quantity .quantity-button.plus {
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.quickview-product .product-detail form.cart .single_add_to_cart_button,
.quickview-product .product-detail form.cart .single_add_to_cart_button.button.alt,
.quickview-product .product-detail form.cart button.single_add_to_cart_button,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button.button.alt,
.mfp-content .quickview-product .product-detail form.cart button.single_add_to_cart_button {
  min-width: 13.5rem;
  min-height: 3rem;
  padding: .9rem 1.35rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--auria-red) 0%, var(--auria-pink) 100%) !important;
  box-shadow: var(--auria-shadow-soft) !important;
  color: #fff !important;
  text-transform: none !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}

.quickview-product .product-detail form.cart .single_add_to_cart_button::before,
.quickview-product .product-detail form.cart .single_add_to_cart_button::after,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button::before,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button::after {
  content: none !important;
}

.quickview-product .product-detail form.cart .single_add_to_cart_button .auria-btn-inner,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button .auria-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .46rem;
}

.quickview-product .product-detail form.cart .single_add_to_cart_button .auria-btn-icon,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button .auria-btn-icon {
  display: inline-block;
  width: .95rem;
  height: .95rem;
  background: currentColor;
  color: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 2 1.6H18a2 2 0 0 0 2-1.5L21 7H7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='17' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.3 10.1a2 2 0 0 0 2 1.6H18a2 2 0 0 0 2-1.5L21 7H7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.quickview-product .product-detail form.cart .single_add_to_cart_button .auria-btn-label,
.mfp-content .quickview-product .product-detail form.cart .single_add_to_cart_button .auria-btn-label {
  font-size: .9rem;
  line-height: 1;
  color: #fff;
}
