/* Scoped to YITH wishlist, never cart/checkout/product tables. */
.yith-wcwl-form { --ng-wish-green:#104b3e; --ng-wish-gold:#efc43c; }
.yith-wcwl-form .wishlist-title-container { margin:0 0 16px!important; }
.yith-wcwl-form .wishlist-title { margin:0!important; padding:0!important; }
.yith-wcwl-form .wishlist-title h2 { color:var(--ng-wish-green); font-size:clamp(23px,2.2vw,30px); line-height:1.4; margin:0; }
.yith-wcwl-form .ng-wishlist-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 24px; margin:0 0 24px; background:#f3f7f3; border:1px solid #dce7df; border-radius:16px; }
.yith-wcwl-form .ng-wishlist-count { color:var(--ng-wish-green); font-size:19px; font-weight:700; }
.yith-wcwl-form .ng-wishlist-toolbar p { color:#596b63; font-size:15px; line-height:1.65; margin:5px 0 0; }
.yith-wcwl-form .ng-wishlist-toolbar nav { display:flex; gap:10px; flex-shrink:0; }
.yith-wcwl-form .ng-wishlist-toolbar a { display:flex; align-items:center; justify-content:center; min-height:46px; padding:10px 17px; border-radius:10px; text-decoration:none; font-size:16px; font-weight:700; color:var(--ng-wish-green); }
.yith-wcwl-form .ng-wishlist-browse { background:var(--ng-wish-gold); border:1px solid #dcb531; }
.yith-wcwl-form .ng-wishlist-cart { background:#fff; border:1px solid #bbcec2; }
.yith-wcwl-form table.ng-wishlist-cards { display:block; border:0!important; margin:0!important; width:100%; background:transparent; }
.yith-wcwl-form table.ng-wishlist-cards thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.yith-wcwl-form table.ng-wishlist-cards tbody { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.yith-wcwl-form table.ng-wishlist-cards tr[data-row-id] { display:flex; flex-direction:column; min-width:0; background:#fff!important; border:1px solid #dce5df; border-radius:16px; overflow:hidden; box-shadow:0 4px 16px #104b3e08; }
.yith-wcwl-form table.ng-wishlist-cards td { display:block; width:auto!important; max-width:none!important; border:0!important; text-align:left!important; padding:0!important; background:transparent!important; }
.yith-wcwl-form table.ng-wishlist-cards td:before { display:none!important; }
.yith-wcwl-form table.ng-wishlist-cards td.product-thumbnail { order:0; position:relative; margin:0!important; }
.yith-wcwl-form table.ng-wishlist-cards .product-thumbnail > a { display:block; width:100%!important; max-width:none!important; background:#f4f7f4; }
.yith-wcwl-form table.ng-wishlist-cards .product-thumbnail img { display:block; width:100%!important; max-width:none!important; height:205px!important; object-fit:contain; margin:0!important; }
.yith-wcwl-form .ng-wishlist-stock { position:absolute; top:14px; left:14px; padding:6px 11px; color:#104b3e; background:#e6f2e9; border:1px solid #bbd3c2; border-radius:30px; font-size:14px; font-weight:700; }
.yith-wcwl-form .ng-wishlist-stock.is-waiting { background:#fff6df; color:#725719; border-color:#e4d3a7; }
.yith-wcwl-form table.ng-wishlist-cards td.product-name { order:1; padding:16px 16px 12px!important; }
.yith-wcwl-form table.ng-wishlist-cards .product-name > a { display:block; color:var(--ng-wish-green); font-size:17px; line-height:1.65; font-weight:700; text-decoration:none; overflow-wrap:anywhere; }
.yith-wcwl-form table.ng-wishlist-cards td.product-price { order:2; padding:0 16px!important; margin-top:auto; color:var(--ng-wish-green); font-weight:700; font-size:23px; }
.yith-wcwl-form table.ng-wishlist-cards .product-price del { display:block; font-size:14px; color:#7c837f; font-weight:400; }
.yith-wcwl-form table.ng-wishlist-cards .product-price ins { background:none; text-decoration:none; color:var(--ng-wish-green); }
.yith-wcwl-form table.ng-wishlist-cards .product-price .amount { color:inherit!important; font-size:inherit!important; }
.yith-wcwl-form .ng-wishlist-price-note { display:block; font-size:12px; font-weight:400; color:#6f7b74; margin:4px 0 14px; }
.yith-wcwl-form .ng-wishlist-detail { display:flex; align-items:center; justify-content:space-between; min-height:46px; padding:10px 16px; border-radius:10px; background:var(--ng-wish-gold); color:var(--ng-wish-green)!important; text-decoration:none; font-size:16px; font-weight:700; border:1px solid #dcb531; }
.yith-wcwl-form table.ng-wishlist-cards td.product-remove { order:3; padding:9px 16px 14px!important; }
.yith-wcwl-form table.ng-wishlist-cards .product-remove a.remove { display:flex!important; justify-content:center; align-items:center; width:100%!important; height:auto!important; min-height:44px; margin:0!important; color:#66736b!important; background:transparent!important; border-radius:8px!important; font-size:14px!important; font-weight:400; text-decoration:none; line-height:1.5!important; }
.yith-wcwl-form table.ng-wishlist-cards .product-remove a.remove:hover { background:#f8eee9!important; color:#8f3929!important; }
.yith-wcwl-form .ng-wishlist-detail:hover,.yith-wcwl-form .ng-wishlist-browse:hover { background:#f8d662; }
.yith-wcwl-form a:focus-visible { outline:3px solid #b3830c; outline-offset:3px; }
.yith-wcwl-form table.ng-wishlist-cards tr:not([data-row-id]) { grid-column:1/-1; }
.yith-wcwl-form table.ng-wishlist-cards .wishlist-empty { display:block; padding:55px 24px!important; text-align:center!important; border:1px dashed #c9d8ce!important; background:#f7faf7!important; border-radius:16px; color:#5b6c62; font-size:18px; }
@media(max-width:1000px) {
 .yith-wcwl-form .ng-wishlist-toolbar { flex-wrap:wrap; }
 .yith-wcwl-form table.ng-wishlist-cards tbody { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .woocommerce-wishlist .entry-content-wrap { padding:20px 14px!important; }
 .yith-wcwl-form .wishlist-title h2 { font-size:23px; }
 .yith-wcwl-form .ng-wishlist-toolbar { padding:16px; gap:14px; margin-bottom:18px; }
 .yith-wcwl-form .ng-wishlist-toolbar p { font-size:14px; }
 .yith-wcwl-form .ng-wishlist-toolbar nav { width:100%; }
 .yith-wcwl-form .ng-wishlist-toolbar nav a { flex:1; padding:9px 10px; font-size:15px; }
 .yith-wcwl-form table.ng-wishlist-cards tbody { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .yith-wcwl-form table.ng-wishlist-cards tr[data-row-id] { border-radius:12px; }
 .yith-wcwl-form table.ng-wishlist-cards .product-thumbnail img { height:auto!important; aspect-ratio:1; }
 .yith-wcwl-form .ng-wishlist-stock { top:7px; left:7px; font-size:11px; padding:4px 7px; }
 .yith-wcwl-form table.ng-wishlist-cards td.product-name { padding:12px 10px 9px!important; }
 .yith-wcwl-form table.ng-wishlist-cards .product-name > a { font-size:14px; line-height:1.6; }
 .yith-wcwl-form table.ng-wishlist-cards td.product-price { padding:0 10px!important; font-size:20px; }
 .yith-wcwl-form table.ng-wishlist-cards .product-price del { font-size:12px; }
 .yith-wcwl-form table.ng-wishlist-cards td.product-remove { padding:5px 10px 8px!important; }
 .yith-wcwl-form .ng-wishlist-price-note { font-size:11px; margin:2px 0 10px; }
 .yith-wcwl-form .ng-wishlist-detail { min-height:46px; padding:8px 10px; font-size:13px; gap:4px; }
 .yith-wcwl-form table.ng-wishlist-cards .product-remove a.remove { font-size:13px!important; }
}
