/* Style the existing theme controls; Flatsome retains popup and cart behavior. */
#header .mobile-nav a[data-open="#main-menu"],
#header .mobile-nav .header-cart-link{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;min-height:44px;padding:0;margin:0;
  border:1px solid #eee6ff;border-radius:14px;background:#f7f3ff;
  color:#6b37e8;line-height:1;transition:background-color .15s,border-color .15s;
}
#header .mobile-nav a[data-open="#main-menu"]:hover,
#header .mobile-nav .header-cart-link:hover{background:#eee5ff;border-color:#d8c6ff;color:#6b37e8}
#header .mobile-nav a[data-open="#main-menu"]:focus-visible,
#header .mobile-nav .header-cart-link:focus-visible{outline:2px solid #6b37e8;outline-offset:3px}
#header .mobile-nav .icon-menu{display:block;width:23px;height:23px;font-size:0;line-height:1}
#header .mobile-nav .icon-menu:before{
  content:"";display:block;width:23px;height:23px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h12M4 18h16'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h12M4 18h16'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
#header .mobile-nav .cart-icon{position:static;display:block;width:24px;height:26px;margin:0}
#header .mobile-nav .cart-icon:before{
  content:"";display:block;width:24px;height:26px;background:#6b37e8;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 9h14l1 14H4L5 9ZM8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 9h14l1 14H4L5 9ZM8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
#header .mobile-nav .cart-icon strong,
#header .mobile-nav .header-cart-link:hover .cart-icon strong{
  position:absolute;top:-5px;right:-5px;display:flex;align-items:center;justify-content:center;
  width:auto;min-width:19px;height:19px;padding:0 4px;margin:0;border:2px solid #fff;
  border-radius:99px;background:#6b37e8;color:#fff;font-family:inherit;font-size:10px;
  font-weight:700;line-height:1;box-sizing:content-box;
}
#header .mobile-nav .cart-icon strong:after{display:none}
@media(prefers-reduced-motion:reduce){#header .mobile-nav a[data-open="#main-menu"],#header .mobile-nav .header-cart-link{transition:none}}

/* CalliWish cart drawer: keep WooCommerce markup and event handlers intact. */
.off-canvas .mfp-content.off-canvas-cart{background:#f8f6fc;width:min(420px,calc(100vw - 24px));box-shadow:-12px 0 48px rgba(46,25,80,.16);color:#343044}
#cart-popup .cart-popup-inner{padding:28px 20px 0}
#cart-popup .cart-popup-title{text-align:left;margin-bottom:22px;padding-right:44px}
#cart-popup .cart-popup-title .heading-font{font-size:24px;font-weight:700;letter-spacing:-.6px;color:#4e287f;text-transform:none}
#cart-popup .cart-popup-title .is-divider{width:32px;height:3px;margin:12px 0 0;border-radius:9px;background:#9e75ec}
.off-canvas-cart .mfp-close{top:16px;right:12px;width:44px;height:44px;border-radius:14px;background:#eee6fb;color:#6b37e8;opacity:1;mix-blend-mode:normal}
#cart-popup .woocommerce-mini-cart{gap:12px;margin-bottom:24px}
#cart-popup .woocommerce-mini-cart-item{position:relative;min-height:100px;margin:0;padding:16px 44px 16px 100px;border:1px solid #ebe4f5;border-radius:18px;background:#fff;box-shadow:0 3px 12px rgba(66,37,110,.03)}
#cart-popup .woocommerce-mini-cart-item a:not(.remove){display:block;color:#343044;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
#cart-popup .woocommerce-mini-cart-item img{position:absolute;left:14px;top:16px;width:72px;height:72px;object-fit:contain;border-radius:12px;background:#faf8fd;margin:0}
#cart-popup .woocommerce-mini-cart-item .quantity{display:block;margin-top:8px;color:#84798f;font-size:13px;line-height:1.5}
#cart-popup .woocommerce-mini-cart-item .quantity .amount{color:#6b37e8;font-weight:600}
#cart-popup .woocommerce-mini-cart-item a.remove{top:12px;right:8px;left:auto;width:32px;height:32px;line-height:28px;border:1px solid #e9e1f4;border-radius:50%;background:#f8f5fc;color:#8d70af!important;font-size:21px}
#cart-popup .woocommerce-mini-cart-item a.remove:hover{background:#eee5ff;border-color:#d8c6ff;color:#6b37e8!important}
#cart-popup .woocommerce-mini-cart-item .ux-mini-cart-qty{margin-left:0}
#cart-popup .ux-mini-cart-footer{margin-left:-20px;margin-right:-20px;padding:18px 20px max(24px,env(safe-area-inset-bottom));border-top:1px solid #e9e1f4;background:#fff;box-shadow:0 -8px 24px rgba(66,37,110,.04)}
#cart-popup .woocommerce-mini-cart__total{align-items:center;gap:12px;margin:0 0 16px;padding:0 0 16px;border-top:0;border-bottom:1px solid #eee7f7;color:#62566f;font-size:14px}
#cart-popup .woocommerce-mini-cart__total .amount{font-size:20px;font-weight:700;color:#4e287f}
#cart-popup .woocommerce-mini-cart__buttons{display:grid;gap:10px;margin:0}
#cart-popup .woocommerce-mini-cart__buttons .button{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 16px;border:1px solid #e2d4fa;border-radius:14px;background:#f5efff;color:#6b37e8;box-shadow:none;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none}
#cart-popup .woocommerce-mini-cart__buttons .checkout{border-color:#6b37e8;background:#6b37e8;color:#fff}
#cart-popup .woocommerce-mini-cart__buttons .button:hover{background:#ebe0ff;color:#5522c3}
#cart-popup .woocommerce-mini-cart__buttons .checkout:hover{background:#5928ce;color:#fff}
#cart-popup a:focus-visible,.off-canvas-cart .mfp-close:focus-visible{outline:2px solid #6b37e8;outline-offset:3px}
#cart-popup .ux-mini-cart-empty{color:#84798f;text-align:center}
@media(max-width:359px){#cart-popup .cart-popup-inner{padding-left:16px;padding-right:16px}#cart-popup .woocommerce-mini-cart-item{padding-left:84px}#cart-popup .woocommerce-mini-cart-item img{width:56px;height:64px}#cart-popup .ux-mini-cart-footer{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}}
