/* Wishlist controls follow the current theme; product photography stays white. */
.nexa-wish-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--nexa-line,#d0d9ec);border-radius:12px;background:#fff;color:#191a20;cursor:pointer;line-height:1.3;transition:color .15s,background-color .15s,border-color .15s;}
.nexa-wish-toggle svg,.nexa-wish-header svg{display:block;flex:none;width:23px;height:23px;}
.nexa-wish-toggle[aria-pressed=true]{color:var(--color-primary,#214ea3);}
.nexa-wish-toggle[aria-pressed=true] svg{fill:currentColor;}
.nexa-wish-toggle:hover{background:#edf2fc;border-color:var(--color-primary,#214ea3);}
.nexa-wish-toggle:focus-visible,.nexa-wish-header:focus-visible,.nexa-wish-clear:focus-visible,.nexa-wish-retry:focus-visible{outline:2px solid var(--color-primary,#214ea3);outline-offset:3px;}
#header .nexa-wish-header{display:inline-flex;align-items:center;justify-content:center;position:relative;width:32px;height:40px;padding:4px;flex:0 0 32px;color:var(--nexa-ink,#191a20);}
.nexa-wish-count{position:absolute;top:0;right:-8px;min-width:18px;height:18px;border-radius:12px;background:var(--color-primary,#214ea3);color:#fff;padding:0 4px;font-size:10px;line-height:18px;text-align:center;}
.nexa-wish-count[hidden]{display:none;}
.nexa-has-wish>.nexa-wish-card-button{position:absolute;z-index:6;left:30px;right:auto;top:auto;visibility:hidden;transform:none!important;}
.nexa-has-wish>.nexa-wish-card-button.nexa-wish-positioned{visibility:visible;}

.nexa-wish-detail-button{margin:0 0 18px;align-self:flex-start;font-size:13px;font-weight:500;}
.nexa-wish-quick-button{margin:0 0 12px;align-self:flex-start;font-size:12px;}
.nexa-wishlist-page #content{max-width:none;}
.nexa-wishlist-page #content h1{text-align:center;margin-bottom:16px;}
.nexa-wish-intro{text-align:center;font-size:19px;margin:0 0 8px;}
.nexa-wish-device{text-align:center;color:#606978;font-size:13px;line-height:1.6;margin:0 auto 32px;max-width:760px;}
.nexa-wish-toolbar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:20px 24px;background:#fff;border:1px solid var(--nexa-line,#d0d9ec);border-radius:18px;margin-bottom:24px;}
.nexa-wish-toolbar[hidden]{display:none;}
.nexa-wish-summary{font-weight:500;margin:0 auto 0 0;}
.nexa-wish-sort{display:flex;align-items:center;gap:10px;font-size:13px;}
.nexa-wish-sort select{min-height:44px;max-width:240px;border:1px solid var(--nexa-line);border-radius:10px;padding:8px 32px 8px 12px;}
.nexa-wish-clear,.nexa-wish-retry{background:transparent;color:var(--color-primary,#214ea3);border:0;cursor:pointer;font-size:13px;min-height:44px;padding:8px 4px;text-decoration:underline;text-underline-offset:3px;}
.nexa-wish-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;}
.nexa-wish-card{position:relative;min-width:0;border:1px solid var(--nexa-line,#d0d9ec);border-radius:20px;background:#fff;padding:18px;display:flex;flex-direction:column;}
.nexa-wish-image{display:block;aspect-ratio:1;flex:none;overflow:hidden;border-radius:16px;background:#fff;}
.nexa-wish-image img{display:block;width:100%;height:100%;object-fit:contain;}
.nexa-wish-media{position:relative;}
.nexa-wish-media>.nexa-wish-card-button{position:absolute;left:12px;bottom:12px;right:auto;top:auto;z-index:2;}
.nexa-wish-card-body{padding:20px 2px 2px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:1;}
.nexa-wish-name{font-size:15px;line-height:1.5;font-weight:500;color:var(--nexa-ink,#191a20);min-height:3em;}
.nexa-wish-name:hover{text-decoration:underline;text-underline-offset:3px;}
.nexa-wish-availability{display:inline-block;background:#eef3fa;border-radius:8px;padding:6px 9px;color:#27313f;font-size:12px;margin:0;}
.nexa-wish-price{font-size:22px;line-height:1.3;color:var(--color-primary,#214ea3);}
.nexa-wish-tax{font-size:11px;color:#606978;}
.nexa-wish-description{font-size:12px;line-height:1.6;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.nexa-wish-open{margin-top:auto;min-height:44px;white-space:normal;text-align:center;width:100%;padding:12px 14px;}
.nexa-wish-loading,.nexa-wish-note{color:#606978;font-size:12px;line-height:1.6;}
.nexa-wish-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;padding:60px 24px;background:#fff;border:1px solid var(--nexa-line);border-radius:20px;}
.nexa-wish-empty p{max-width:520px;margin:0;line-height:1.7;}
.nexa-wish-empty-icon{display:grid;place-items:center;width:90px;height:90px;border-radius:50%;background:#eef3fa;color:var(--color-primary,#214ea3);}
.nexa-wish-empty-icon svg{width:38px;height:38px;}
.nexa-wish-toast{position:fixed;z-index:100050;left:50%;bottom:28px;transform:translateX(-50%);display:flex;align-items:center;gap:20px;max-width:min(600px,calc(100vw - 32px));padding:16px 22px;background:#19263d;color:#fff;border:1px solid #516079;border-radius:14px;box-shadow:0 8px 30px #0003;font-size:13px;line-height:1.5;}
.nexa-wish-toast[hidden]{display:none;}.nexa-wish-toast button{border:0;background:none;color:#fff;text-decoration:underline;white-space:nowrap;cursor:pointer;min-height:44px;}
.nexa-wish-confirm{border:1px solid var(--nexa-line);border-radius:20px;padding:30px;max-width:min(500px,calc(100vw - 32px));background:#fff;color:var(--nexa-ink);}.nexa-wish-confirm::backdrop{background:#10182799;backdrop-filter:blur(4px);}.nexa-wish-confirm h2{font-size:23px;line-height:1.5;margin:0 0 24px;}.nexa-wish-confirm-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;}
html[data-nexa-theme=dark] :is(.nexa-wish-toolbar,.nexa-wish-card,.nexa-wish-empty,.nexa-wish-confirm){background:var(--nexa-dark-surface,#1b2230);color:var(--nexa-ink);}
html[data-nexa-theme=dark] .nexa-wish-toggle{background:var(--nexa-dark-raised,#242d3d);color:#e9edf4;border-color:#40516a;}
html[data-nexa-theme=dark] .nexa-wish-toggle[aria-pressed=true],html[data-nexa-theme=dark] :is(.nexa-wish-price,.nexa-wish-clear,.nexa-wish-retry){color:var(--nexa-dark-accent,#a6bde6);}
html[data-nexa-theme=dark] .nexa-wish-toggle:hover{background:#35445e;}
html[data-nexa-theme=dark] :is(.nexa-wish-device,.nexa-wish-tax,.nexa-wish-loading,.nexa-wish-note){color:#b6c0d0;}
html[data-nexa-theme=dark] .nexa-wish-availability{background:#303d52;color:#dbe5f5;}
html[data-nexa-theme=dark] .nexa-wish-empty-icon{background:#303d52;color:#b6c8ec;}
@media(max-width:1200px){.nexa-wish-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:767px){#header>.nexa-wish-header{position:absolute;right:108px;top:24px;width:40px;height:40px;z-index:100;}.nexa-wish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.nexa-wish-card{padding:10px;border-radius:15px;}.nexa-wish-image{border-radius:12px;}.nexa-wish-card-body{padding-top:14px;gap:8px;}.nexa-wish-name{font-size:12px;min-height:4.5em;}.nexa-wish-price{font-size:18px;}.nexa-wish-tax{font-size:10px;}.nexa-wish-description{display:none;}.nexa-wish-open{font-size:11px;padding:10px 6px;}.nexa-wish-availability{font-size:10px;padding:5px 7px;}.nexa-wish-toolbar{padding:14px;gap:10px;}.nexa-wish-summary{width:100%;}.nexa-wish-sort{flex:1;flex-wrap:wrap;}.nexa-wish-sort select{min-width:0;max-width:100%;font-size:13px;}.nexa-wish-clear{font-size:12px;}.nexa-wish-intro{font-size:16px;}.nexa-wish-device{font-size:12px;margin-bottom:20px;}.nexa-wish-card-button{width:40px;min-width:40px;height:40px;min-height:40px;padding:8px;}.nexa-wish-toast{bottom:calc(105px + env(safe-area-inset-bottom,0px));padding:12px 16px;gap:12px;min-width:min(320px,calc(100vw - 32px));font-size:12px;}.nexa-wish-empty{padding:40px 20px;}.nexa-wish-confirm{padding:22px;}.nexa-wish-confirm h2{font-size:20px;}.nexa-wish-confirm-actions .btn{flex:1;white-space:normal;}}
@media(prefers-reduced-motion:reduce){.nexa-wish-toggle{transition:none;}}

.nexa-wishlist-page .pageArticleDetail{max-width:none;padding:0;border:0;background:none;box-shadow:none;}

.nexa-wish-toggle svg,.nexa-wish-toggle svg *{pointer-events:none;}

.nexa-wish-unit{font-size:12px;font-weight:400;color:var(--nexa-ink);white-space:nowrap;}
.nexa-wish-card-body{min-height:230px;}
.nexa-wish-toggle.nexa-wish-small{width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border-radius:9px;}
.nexa-wish-small svg{width:19px;height:19px;}
@media(max-width:767px){.nexa-wish-card-body{min-height:200px;}.nexa-wish-media>.nexa-wish-card-button{bottom:7px;left:7px;}.nexa-wish-unit{font-size:10px;}}

.products-top .p.nexa-has-wish{padding-right:56px;}
.products-top .p>.nexa-wish-card-button{left:auto!important;right:12px;top:50%!important;bottom:auto;transform:translateY(-50%)!important;width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border-radius:9px;}
.products-top .p>.nexa-wish-card-button svg{width:19px;height:19px;}
@media(max-width:360px){#header:has(>.nexa-wish-header) .site-name{flex-basis:128px;}#header:has(>.nexa-wish-header) .site-name img{width:128px;height:auto;}}
/* Equal desktop header hit areas keep added tools aligned with search/account/cart. */
@media(min-width:768px){
 #header .navigation-buttons{gap:20px;}
 #header .navigation-buttons>.nexa-tool,#header .navigation-buttons>.nexa-locale,#header .navigation-buttons>.cart-count{flex:0 0 32px;width:32px;}
 #header .navigation-buttons>.nexa-tool,#header .navigation-buttons>.cart-count,#header .navigation-buttons .nexa-locale-toggle{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:4px;}
 #header .navigation-buttons .nexa-locale-toggle{width:32px;}
}
/* Mobile quick view: compact favorite action beside the product detail link. */
.sqv-app:not(.sqv-desktop) .nexa-wish-quick-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;flex:none;}
.sqv-app:not(.sqv-desktop) .nexa-wish-quick-actions>.sqv-detail-link{margin:0;min-width:0;}
.sqv-app:not(.sqv-desktop) .nexa-wish-quick-actions>.nexa-wish-quick-button{flex:0 0 44px;width:44px;height:44px;margin:0;align-self:center;}
.sqv-app:not(.sqv-desktop) .nexa-wish-quick-button .nexa-wish-label{display:none;}
/* Use one anchored chevron instead of browser-dependent select arrows. */
#nexa-wishlist .nexa-wish-sort{gap:12px;flex:none;}
#nexa-wishlist .nexa-wish-select{position:relative;display:block;width:220px;max-width:100%;color:var(--nexa-ink,#191a20);}
#nexa-wishlist .nexa-wish-select::after{content:'';position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none;}
#nexa-wishlist .nexa-wish-select>select{display:block;box-sizing:border-box;appearance:none;-webkit-appearance:none;width:100%;max-width:none;height:48px;min-height:48px;padding:0 42px 0 14px;background:var(--nexa-muted,#f3f5f9);background-image:none!important;color:var(--nexa-ink,#191a20);border:1px solid var(--nexa-line,#d0d9ec);border-radius:12px;font:400 14px/1.4 var(--template-font,inherit);cursor:pointer;}
#nexa-wishlist .nexa-wish-select>select:hover{border-color:var(--color-primary,#214ea3);}
#nexa-wishlist .nexa-wish-select>select:focus-visible{outline:2px solid var(--color-primary,#214ea3);outline-offset:3px;}
@media(max-width:767px){#nexa-wishlist .nexa-wish-sort{flex:1;min-width:0;flex-direction:column;align-items:stretch;gap:8px;}#nexa-wishlist .nexa-wish-select{width:100%;}#nexa-wishlist .nexa-wish-select>select{font-size:13px;}#nexa-wishlist .nexa-wish-clear{align-self:flex-end;min-height:48px;}}
@media(max-width:767px){.p-detail .p-image>.nexa-wish-detail-button{position:absolute;right:12px;top:12px;z-index:7;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:7px;border-radius:10px;}.p-detail .p-image>.nexa-wish-detail-button .nexa-wish-label{display:none;}}

@media(max-width:767px){.p-detail .p-image>.nexa-wish-detail-button svg{width:20px;height:20px;}.p-detail .p-image>.nexa-wish-detail-button::before{content:"";position:absolute;inset:-4px;}}
@media(min-width:768px){#header .navigation-buttons>.cart-count{position:relative;}#header .navigation-buttons>.cart-count>.nexa-cart-badge{position:absolute;right:-8px;top:0;}#header .navigation-buttons>.cart-count>.nexa-icon{flex:none;}}
/* Balance the visible mobile heart/theme/flag spacing. */
@media(max-width:767px){#header>.nexa-theme-toggle{right:60px;}}
