/* Brandtoday wishlist (class-bt-wishlist.php). !important beats the theme's button styles. */

/* ---------- hearts ---------- */
body.btw ul.products li.product{position:relative}
body.btw button.btw-heart{position:absolute;top:10px;right:10px;z-index:4;width:34px;height:34px;min-height:0;margin:0;padding:0!important;border-radius:50%!important;border:1px solid #EBD3D3!important;background:#fff!important;color:#7E1414!important;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(17,17,17,.08)!important;transition:background .2s,border-color .2s,transform .15s;line-height:1}
body.btw button.btw-heart:hover{transform:scale(1.08);border-color:#7E1414!important}
body.btw button.btw-heart svg{width:17px;height:17px;display:block}
body.btw button.btw-heart.is-on{background:#7E1414!important;border-color:#7E1414!important;color:#fff!important}
body.btw button.btw-heart.is-on svg{fill:#fff}
body.btw button.btw-heart.is-pop svg{animation:btwPop .45s ease}
body.btw button.btw-heart.is-big{width:44px;height:44px;top:14px;right:14px}
body.btw button.btw-heart.is-big svg{width:21px;height:21px}
@keyframes btwPop{0%{transform:scale(1)}35%{transform:scale(1.5)}70%{transform:scale(.9)}100%{transform:scale(1)}}
@media (max-width:767px){body.btw button.btw-heart{width:30px;height:30px;top:8px;right:8px}body.btw button.btw-heart svg{width:15px;height:15px}}

/* "Save to wishlist" under Order now / Inquire via WhatsApp */
body.btw button.btw-save{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:10px 0 0;padding:11px 14px!important;border-radius:8px!important;border:1px solid #EBD3D3!important;background:#fff!important;color:#7E1414!important;font:600 13px/1.2 Inter,sans-serif!important;letter-spacing:.02em;cursor:pointer;box-shadow:none!important;transition:background .15s,border-color .15s}
body.btw button.btw-save:hover{border-color:#7E1414!important;background:#FBF3F3!important}
body.btw button.btw-save svg{width:17px;height:17px}
body.btw button.btw-save.is-on{background:#FBF3F3!important;border-color:#7E1414!important}
body.btw button.btw-save.is-on svg{fill:#7E1414}

/* header heart with the visitor's own saved number */
body.btw ul.btw-hul{display:flex!important;align-items:center;gap:18px;flex-wrap:nowrap}
body.btw ul.btw-hul > li{margin:0!important;padding:0!important}
body.btw ul.btw-hul > li::after{display:none!important}
body.btw ul.btw-hul .elementor-icon-list-text{white-space:nowrap}
body.btw .elementor-widget:has(> .elementor-widget-container > ul.btw-hul),body.btw .elementor-widget:has(> ul.btw-hul){width:auto!important;max-width:none!important}
body.btw .btw-hli a{display:inline-flex;align-items:center;color:inherit}
body.btw a.btw-mhead{display:none;align-items:center;align-self:center;margin:0 14px 0 0;text-decoration:none!important}
@media (max-width:767px){
	body.btw a.btw-mhead{display:inline-flex}
	body.btw .elementor-location-header :has(> a.btw-mhead){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important}
}
body.btw .btw-hicon{position:relative;display:inline-flex;color:#7E1414}
body.btw .btw-hicon svg{width:22px;height:22px}
body.btw .btw-count{position:absolute;top:-7px;right:-10px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#7E1414;color:#fff;font:600 10px/17px Inter,sans-serif;text-align:center;display:none}
body.btw .btw-count.is-on{display:block}

/* Saved: the product photo flies into the header heart (owner's pick, option C) */
.btw-fly{position:fixed;z-index:100001;width:56px;height:56px;border-radius:50%;background:#fff;border:2px solid #7E1414;box-shadow:0 8px 22px rgba(126,20,20,.3);display:flex;align-items:center;justify-content:center;overflow:hidden;pointer-events:none;will-change:transform}
.btw-fly img{width:82%!important;height:82%!important;object-fit:contain;mix-blend-mode:multiply;margin:0!important}
body.btw .btw-hicon.is-beat svg{animation:btwHeart .65s ease}
body.btw .btw-hicon.is-beat .btw-count{animation:btwBump .55s ease}
@keyframes btwHeart{0%{transform:scale(1)}30%{transform:scale(1.4);fill:#7E1414}60%{transform:scale(.9);fill:#7E1414}100%{transform:scale(1)}}
@keyframes btwBump{0%{transform:scale(1)}40%{transform:scale(1.6)}100%{transform:scale(1)}}
/* the speech-bubble note under the heart */
.btw-tip{position:fixed;z-index:100002;display:flex;align-items:center;gap:10px;background:#fff;color:#1d1d1f;border:1px solid #EBD3D3;font:500 13px/1.3 Inter,sans-serif;padding:8px 8px 8px 12px;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.22);opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .25s,transform .25s;white-space:nowrap}
.btw-tip::before{content:"";position:absolute;top:-6px;right:20px;border:6px solid transparent;border-top:0;border-bottom-color:#fff;filter:drop-shadow(0 -1px 0 #EBD3D3)}
.btw-tip > span:first-child{display:inline-flex;align-items:center;gap:8px}
.btw-tip > span:first-child::before{content:"";width:16px;height:16px;flex:0 0 16px;background:#7E1414;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.5 12.572l-7.5 7.428l-7.5-7.428a5 5 0 1 1 7.5-6.566a5 5 0 1 1 7.5 6.572'/%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%3Cpath d='M19.5 12.572l-7.5 7.428l-7.5-7.428a5 5 0 1 1 7.5-6.566a5 5 0 1 1 7.5 6.572'/%3E%3C/svg%3E") center/contain no-repeat}
.btw-tip.is-show{opacity:1;transform:translateY(0);pointer-events:auto}
.btw-tip.is-free{top:auto!important;bottom:22px;left:50%;right:auto!important;transform:translate(-50%,10px)}
.btw-tip.is-free.is-show{transform:translate(-50%,0)}
.btw-tip.is-free::before{display:none}
.btw-tip a{background:#7E1414;color:#fff!important;font-weight:600;border-radius:20px;padding:6px 12px;text-decoration:none!important;white-space:nowrap;transition:background .15s}
.btw-tip a:hover{background:#651010}
.btw-tip:not(:has(a)){padding-right:14px}
/* the header is scrolled away: a floating heart catches the photo for a moment */
.btw-dock{position:fixed;z-index:100000;top:calc(14px + var(--wp-admin--admin-bar--height, 0px));right:14px;width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid #EBD3D3;box-shadow:0 8px 22px rgba(17,17,17,.14);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.4);pointer-events:none;transition:opacity .25s,transform .3s cubic-bezier(.2,1.4,.4,1);text-decoration:none!important}
.btw-dock.is-show{opacity:1;transform:scale(1);pointer-events:auto}
@media (prefers-reduced-motion:reduce){body.btw .btw-hicon.is-beat svg,body.btw .btw-hicon.is-beat .btw-count{animation:none}}

/* general messages (cart, list full): brand pill */
.btw-toast{position:fixed;left:50%;bottom:22px;z-index:100000;transform:translate(-50%,24px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:10px;background:#7E1414;color:#fff;font:500 13px/1.3 Inter,sans-serif;padding:8px 8px 8px 10px;border-radius:40px;box-shadow:0 10px 30px rgba(126,20,20,.35);transition:opacity .25s,transform .35s cubic-bezier(.2,1.4,.4,1);white-space:nowrap}
.btw-toast.is-show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.btw-toast svg{width:30px;height:30px;padding:7px;border-radius:50%;background:#fff;fill:#7E1414;stroke:#7E1414;box-sizing:border-box;flex:0 0 30px}
.btw-toast span{padding-right:6px}
.btw-toast a{background:#fff;color:#7E1414!important;font-weight:600;border-radius:30px;padding:7px 14px;text-decoration:none!important}

/* ---------- the wishlist page ---------- */
body.btw-page-on .page-header,body.btw-page-on .entry-title{display:none}
.btw-page{max-width:900px;margin:10px auto 40px;font-family:Inter,sans-serif;color:#1d1d1f}
.btw-loading{color:#6e6e73;padding:40px 0;text-align:center}
.btw-hero{display:flex;align-items:center;gap:18px;background:#FBF3F3;border-radius:18px;padding:22px 24px;margin-bottom:16px}
.btw-hero-i{flex:0 0 58px;width:58px;height:58px;border-radius:50%;background:#7E1414;color:#fff;display:flex;align-items:center;justify-content:center;animation:btwBeat 2.4s ease-in-out infinite}
.btw-hero-i svg{width:28px;height:28px;fill:#fff}
@keyframes btwBeat{0%,60%,100%{transform:scale(1)}20%{transform:scale(1.08)}40%{transform:scale(.97)}}
.btw-eye{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7E1414}
.btw-page h1.btw-title{font-size:26px;font-weight:600;color:#7E1414;margin:2px 0 0;line-height:1.2}
.btw-sub{margin:4px 0 0;color:#5f5f64;font-size:14px}
.btw-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.btw-cnt{flex:1;font-size:14px;color:#5f5f64}
.btw-page button.btw-ghost{display:inline-flex;align-items:center;gap:6px;background:#fff!important;color:#7E1414!important;border:1px solid #EBD3D3!important;border-radius:9px!important;padding:8px 13px!important;font:500 13px/1.2 Inter,sans-serif!important;cursor:pointer;box-shadow:none!important}
.btw-page button.btw-ghost:hover{border-color:#7E1414!important}
.btw-page button.btw-ghost svg{width:15px;height:15px}
.btw-list{display:flex;flex-direction:column;gap:10px}
.btw-item{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px;border:1px solid #eeeef0;border-radius:14px;background:#fff;transition:opacity .22s,transform .22s,border-color .2s}
.btw-item:hover{border-color:#EBD3D3}
.btw-item.is-gone{opacity:0;transform:translateX(40px)}
.btw-img{display:block;aspect-ratio:1/1;background:#f5f5f7;border-radius:10px;overflow:hidden}
.btw-img img.is-swap{animation:btwSwap .35s ease}
@keyframes btwSwap{0%{opacity:.2;transform:scale(.94)}100%{opacity:1;transform:scale(1)}}
.btw-img img{width:100%!important;height:100%!important;object-fit:contain;padding:8%;mix-blend-mode:multiply;margin:0!important}
.btw-name{display:block;font-size:15px;font-weight:500;color:#1d1d1f!important;text-decoration:none!important;line-height:1.35}
.btw-name:hover{color:#7E1414!important}
.btw-sku{font-size:11px;color:#8a8a90;margin-top:1px}
.btw-page select.btw-var{display:block;width:100%;max-width:280px;margin:6px 0 2px;padding:7px 30px 7px 10px!important;border:1px solid #e3e3e6!important;border-radius:9px!important;background-color:#fff!important;font:500 13px/1.3 Inter,sans-serif!important;color:#1d1d1f!important;cursor:pointer;height:auto!important}
.btw-page select.btw-var:focus{border-color:#7E1414!important;outline:none;box-shadow:0 0 0 3px rgba(126,20,20,.12)!important}
.btw-page select.btw-var.is-need{border-color:#A32D2D!important;box-shadow:0 0 0 3px rgba(163,45,45,.12)!important}
.btw-price{font-size:14px;font-weight:600;color:#7E1414;margin-top:4px}
.btw-price span{font-weight:400;color:#8a8a90;font-size:12px}
.btw-stock{display:flex;width:max-content;align-items:center;gap:6px;margin-top:4px;font-size:12px;font-weight:500;color:#2E7D32}
.btw-stock::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.btw-stock.is-out{color:#8a8a90}
.btw-stock.is-over{color:#A32D2D}
.btw-price em{font-style:normal;font-size:11px;font-weight:500;color:#633806;background:#FAEEDA;border-radius:10px;padding:2px 8px;margin-left:6px}
.btw-step{display:flex;width:max-content;align-items:center;margin-top:8px;border:1px solid #e3e3e6;border-radius:9px;overflow:hidden}
.btw-page .btw-step button{width:32px;height:32px;min-height:0;padding:0!important;margin:0;border:0!important;border-radius:0!important;background:#fff!important;color:#7E1414!important;font-size:17px!important;line-height:1;cursor:pointer;box-shadow:none!important}
.btw-page .btw-step button:hover{background:#FBF3F3!important}
.btw-page .btw-step input{width:64px;height:32px;border:0!important;border-left:1px solid #eeeef0!important;border-right:1px solid #eeeef0!important;border-radius:0!important;text-align:center;font:500 14px Inter,sans-serif;padding:0!important;margin:0;-moz-appearance:textfield;box-shadow:none!important}
.btw-page .btw-step input::-webkit-outer-spin-button,.btw-page .btw-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.btw-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;align-self:stretch;gap:10px}
.btw-page button.btw-x{width:30px;height:30px;min-height:0;padding:0!important;margin:0;border:0!important;border-radius:50%!important;background:transparent!important;color:#8a8a90!important;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none!important}
.btw-page button.btw-x:hover{background:#FBF3F3!important;color:#7E1414!important}
.btw-page button.btw-x svg{width:16px;height:16px}
.btw-line{font-size:15px;font-weight:600;white-space:nowrap}
.btw-page button.btw-cart,.btw-page a.btw-cart{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:0;margin:0;padding:8px 14px!important;border-radius:9px!important;border:1px solid #7E1414!important;background:#fff!important;color:#7E1414!important;font:600 13px/1.2 Inter,sans-serif!important;cursor:pointer;white-space:nowrap;text-decoration:none!important;box-shadow:none!important;transition:background .15s,color .15s}
.btw-page button.btw-cart:hover,.btw-page a.btw-cart:hover{background:#7E1414!important;color:#fff!important}
.btw-page .btw-cart svg{width:16px;height:16px}
.btw-page [aria-busy="true"]{opacity:.65;cursor:wait}
.btw-msg{font-size:12px;margin-top:6px;min-height:0}
.btw-msg:empty{display:none}
.btw-msg.is-ok{color:#2E7D32}
.btw-msg.is-ok::before{content:"✓ "}
.btw-msg.is-err{color:#A32D2D}
.btw-page button.btw-btn{display:inline-flex;align-items:center;gap:8px;background:#7E1414!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:12px 20px!important;font:600 14px/1.2 Inter,sans-serif!important;cursor:pointer;box-shadow:none!important;transition:filter .15s}
.btw-page button.btw-btn:hover{filter:brightness(.9)}
.btw-page button.btw-btn svg{width:19px;height:19px}
.btw-note{margin:10px 0 0;font-size:12px;color:#6e6e73;text-align:right}
.btw-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;padding:16px 0 0;border-top:1px dashed #EBD3D3}
.btw-tot-box{flex:1;min-width:180px}
.btw-tot-box small{display:block;font-size:12px;color:#6e6e73}
.btw-tot{font-size:24px;font-weight:600;color:#7E1414}
.btw-page a.btw-btn{display:inline-flex;align-items:center;gap:8px;background:#7E1414;color:#fff!important;border-radius:10px;padding:12px 20px;font:600 14px/1.2 Inter,sans-serif;text-decoration:none!important;transition:filter .15s}
.btw-page a.btw-btn:hover{filter:brightness(.92)}
.btw-page a.btw-btn svg{width:19px;height:19px}
.btw-page a.btw-wa{background:#25D366}
.btw-empty{text-align:center;padding:40px 16px 20px}
.btw-empty-i{width:80px;height:80px;border-radius:50%;background:#FBF3F3;color:#7E1414;display:inline-flex;align-items:center;justify-content:center;animation:btwBeat 2.4s ease-in-out infinite}
.btw-empty-i svg{width:36px;height:36px}
.btw-empty h2{font-size:20px;font-weight:600;margin:14px 0 4px;color:#1d1d1f}
.btw-empty p{color:#6e6e73;margin:0 0 16px}
@media (max-width:767px){
	.btw-hero{padding:16px;gap:12px;border-radius:14px}
	.btw-hero-i{flex-basis:46px;width:46px;height:46px}
	.btw-hero-i svg{width:22px;height:22px}
	.btw-page h1.btw-title{font-size:21px}
	.btw-item{grid-template-columns:72px minmax(0,1fr);gap:12px}
	.btw-right{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;align-self:auto}
	.btw-foot{flex-direction:column;align-items:stretch}
	.btw-page a.btw-btn,.btw-page button.btw-btn{justify-content:center}
	.btw-note{text-align:left}
}
@media (prefers-reduced-motion:reduce){.btw-hero-i,.btw-empty-i{animation:none}body.btw button.btw-heart.is-pop svg{animation:none}}
