/* NORDAN 1.2.21 — premium WoodMart-native wishlist & comparison. */
body:is(.nd-wishlist-page,.nd-compare-page){--ndc-surface:var(--nd-surface,#fff);--ndc-muted:var(--nd-text-secondary,#63758a);--ndc-text:var(--nd-text,#122b48);--ndc-border:var(--nd-border,#dbe5ef);--ndc-soft:var(--nd-bg-alt,#f3f7fb);--ndc-primary:var(--nd-primary,#1c4a7a);--ndc-shadow:0 16px 44px rgba(15,48,85,.065)}
body:is(.nd-wishlist-page,.nd-compare-page) :is(.site-content,.entry-content,.nd-collection-native){min-width:0}
body:is(.nd-wishlist-page,.nd-compare-page) .entry-content{max-width:1280px;margin-inline:auto;padding-block:16px 70px;color:var(--ndc-text)}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-intro{display:none!important}
.nd-collection-hero{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:end;gap:22px;min-width:0;padding:clamp(25px,4.4vw,52px);margin:0 0 27px;border:1px solid var(--ndc-border);border-radius:26px;overflow:hidden;background:linear-gradient(126deg,var(--ndc-soft) 0%,var(--ndc-surface) 76%);box-shadow:var(--ndc-shadow);color:var(--ndc-text)}
.nd-collection-hero:before{content:'';position:absolute;z-index:-1;width:360px;height:360px;border:1px solid color-mix(in srgb,var(--ndc-primary) 13%,transparent);border-radius:50%;inset-inline-end:-145px;top:-155px;box-shadow:0 0 0 33px color-mix(in srgb,var(--ndc-primary) 4%,transparent),0 0 0 76px color-mix(in srgb,var(--ndc-primary) 3%,transparent);pointer-events:none}
.nd-collection-hero__content{max-width:700px;min-width:0}.nd-collection-hero__eyebrow{display:inline-block;color:var(--ndc-primary);font-size:11px;letter-spacing:.18em;font-weight:850;margin-bottom:11px}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero h1{color:var(--ndc-text)!important;font-size:clamp(25px,3.4vw,42px)!important;font-weight:950!important;line-height:1.45;margin:0 0 12px!important}
.nd-collection-hero p{color:var(--ndc-muted);font-size:14px;line-height:2.1;margin:0 0 21px}
.nd-collection-switch{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%;padding:5px;border-radius:14px;border:1px solid var(--ndc-border);background:var(--ndc-surface)}
.nd-collection-switch :is(a,span){display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:10px 17px;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none!important}
.nd-collection-switch__active{color:#fff!important;background:var(--ndc-primary)}.nd-collection-switch a{color:var(--ndc-text)!important}.nd-collection-switch a:hover{background:var(--ndc-soft)}
.nd-collection-hero__actions{flex:0 0 auto}.nd-collection-back{display:inline-flex;align-items:center;gap:12px;text-decoration:none!important;padding:12px 19px;border-radius:12px;border:1px solid var(--ndc-border);background:var(--ndc-surface);color:var(--ndc-primary)!important;font-weight:850;font-size:12px;transition:transform .18s,border-color .18s}.nd-collection-back:hover{transform:translateY(-2px);border-color:var(--ndc-primary)}
.nd-collection-native{min-width:0}
/* Empty states — native buttons and state/JS remain in place. */
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;box-sizing:border-box;margin:0 auto;padding:clamp(32px,5vw,66px) 20px!important;min-height:310px;max-width:900px;border:1px dashed var(--ndc-border)!important;border-radius:25px!important;background:var(--ndc-surface)!important;color:var(--ndc-text)!important;box-shadow:var(--ndc-shadow);text-align:center}
body.nd-wishlist-page .wd-empty-block:before{content:'♡'}body.nd-compare-page .wd-empty-block:before{content:'⇄'}
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block:before{display:grid;place-items:center;width:83px;height:83px;background:var(--ndc-soft);border:1px solid var(--ndc-border);border-radius:26px;color:var(--ndc-primary);font-size:51px;font-family:inherit;line-height:1;}
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block-title{font-size:clamp(20px,2.5vw,26px)!important;line-height:1.6;margin:0!important;font-weight:850!important;color:var(--ndc-text)!important}
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block-text{margin:0!important;max-width:560px;font-size:13px;line-height:2.1;color:var(--ndc-muted)!important}
body:is(.nd-wishlist-page,.nd-compare-page) :is(.wd-empty-block-btn,.btn-accent,.button.btn-accent){display:inline-flex!important;justify-content:center;align-items:center;min-height:46px;padding:11px 23px!important;border-radius:12px!important;background:var(--ndc-primary)!important;color:white!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;box-shadow:none!important;transition:opacity .2s,transform .2s}
body:is(.nd-wishlist-page,.nd-compare-page) :is(.wd-empty-block-btn,.btn-accent):hover{transform:translateY(-2px);opacity:.93}
/* Wishlist: editorial product cards; original WoodMart actions, checkboxes & data persist. */
body.nd-wishlist-page :is(.wd-wishlist-content,.wd-wishlist-page,.wd-wishlist-group){color:var(--ndc-text);max-width:100%;min-width:0}
body.nd-wishlist-page :is(.wd-wishlist-head,.wd-wishlist-header,.wd-wishlist-controls){border:1px solid var(--ndc-border);border-radius:16px;padding:14px 19px;background:var(--ndc-surface);margin-bottom:16px}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-products,.products){gap:clamp(12px,2vw,22px)!important}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item){background:var(--ndc-surface)!important;border:1px solid var(--ndc-border)!important;box-shadow:0 9px 29px rgba(14,43,77,.065)!important;border-radius:19px!important;overflow:hidden;transition:box-shadow .2s,border-color .2s,transform .2s}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item):hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--ndc-primary) 35%,var(--ndc-border))!important;box-shadow:0 15px 34px rgba(14,43,77,.13)!important}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item) :is(.product-element-top,.wd-product-thumb){margin:0!important;background:var(--ndc-soft);border-radius:17px 17px 0 0;overflow:hidden}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item) img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0!important}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item) :is(.wd-product-info,.product-element-bottom,.wd-product-content){padding:16px 17px 19px}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-entities-title,.product-title,h3){color:var(--ndc-text)!important;font-weight:850!important;line-height:1.9;font-size:14px}
body.nd-wishlist-page .wd-wishlist-content :is(.price,.amount,.woocommerce-Price-amount){font-weight:850;color:var(--ndc-primary)}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-wishlist-remove,.wd-remove-btn,.wd-action-btn){z-index:2}
body.nd-wishlist-page .wd-wishlist-content :is(.wd-add-to-cart-btn,.add_to_cart_button,.single_add_to_cart_button){border-radius:11px!important}
/* Comparison: reliable horizontal surface with sticky feature label and independent product columns. */
.nd-compare-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;background:var(--ndc-surface);border:1px solid var(--ndc-border);border-radius:17px;margin:0 0 15px;color:var(--ndc-text)}.nd-compare-tools[hidden]{display:none!important}
.nd-compare-tools__copy{display:flex;flex-direction:column;gap:5px;min-width:0}.nd-compare-tools__copy strong{font-size:14px;font-weight:850}.nd-compare-tools__copy small{font-size:12px;color:var(--ndc-muted);line-height:1.7}
.nd-compare-diff-control{display:flex;align-items:center;gap:12px;flex:0 0 auto;cursor:pointer;font-size:12px;font-weight:850;color:var(--ndc-text);margin:0}
.nd-compare-diff-control input{position:absolute;width:1px;height:1px;opacity:0}.nd-compare-diff-control__track{width:43px;height:25px;border-radius:20px;background:var(--ndc-border);position:relative;transition:background .2s;flex:0 0 43px}.nd-compare-diff-control__track:after{content:'';position:absolute;width:19px;height:19px;right:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #101e2f33;transition:transform .2s}.nd-compare-diff-control input:checked+.nd-compare-diff-control__track{background:var(--ndc-primary)}.nd-compare-diff-control input:checked+.nd-compare-diff-control__track:after{transform:translateX(-18px)}.nd-compare-diff-control:has(input:focus-visible){outline:2px solid var(--ndc-primary);outline-offset:5px;border-radius:8px}
body.nd-compare-page .nd-compare-scroll{display:block;max-width:100%;overflow-x:auto;overflow-y:visible;border-radius:20px;border:1px solid var(--ndc-border);background:var(--ndc-surface);box-shadow:var(--ndc-shadow);scrollbar-width:thin;scrollbar-color:var(--ndc-border) transparent;overscroll-behavior-x:contain;}
body.nd-compare-page table.wd-compare-table{width:100%!important;min-width:720px!important;max-width:none!important;overflow:visible!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:var(--ndc-surface)!important;table-layout:auto;color:var(--ndc-text)}
body.nd-compare-page table.wd-compare-table :is(th.compare-field,td.compare-value){padding:22px 19px!important;line-height:1.9;vertical-align:top;border-bottom:1px solid var(--ndc-border)!important;border-left:1px solid var(--ndc-border)!important;color:var(--ndc-text);background:var(--ndc-surface)}
body.nd-compare-page table.wd-compare-table th.compare-field{width:175px;min-width:145px;max-width:210px;position:sticky;right:0;z-index:3;background:var(--ndc-soft)!important;color:var(--ndc-text)!important;font-weight:850;font-size:12px;box-shadow:-6px 0 14px rgba(26,52,84,.04)}
body.nd-compare-page table.wd-compare-table td.compare-value{min-width:210px;max-width:280px;width:240px;overflow-wrap:anywhere;font-size:13px}
body.nd-compare-page table.wd-compare-table tr:last-child :is(th,td){border-bottom:0!important}
body.nd-compare-page table.wd-compare-table tr.nd-compare-different :is(th.compare-field,td.compare-value){background:color-mix(in srgb,var(--ndc-primary) 4%,var(--ndc-surface))!important}
body.nd-compare-page table.wd-compare-table tr.nd-compare-different th.compare-field{background:color-mix(in srgb,var(--ndc-primary) 8%,var(--ndc-soft))!important}
body.nd-compare-page .nd-compare-only-differences .wd-compare-table tr.nd-compare-same{display:none!important}
body.nd-compare-page .wd-compare-table tr.compare-basic td.compare-value{min-width:220px;max-width:320px;background:var(--ndc-surface)!important;padding:17px!important}
body.nd-compare-page .wd-compare-table .product-image{display:block;background:var(--ndc-soft);border:1px solid var(--ndc-border);border-radius:14px;overflow:hidden;margin-bottom:12px}
body.nd-compare-page .wd-compare-table .product-image img{display:block;width:100%;max-width:260px;aspect-ratio:1;object-fit:cover;border-radius:13px!important}
body.nd-compare-page .wd-compare-table .wd-entities-title{display:block;color:var(--ndc-text)!important;font-size:14px!important;font-weight:850!important;line-height:1.9;margin-bottom:10px;text-decoration:none!important}
body.nd-compare-page .wd-compare-table .price{color:var(--ndc-primary)!important;font-weight:900;font-size:16px;margin:8px 0 14px}
body.nd-compare-page .wd-compare-table .wd-compare-remove-action{display:flex;justify-content:flex-end;margin-bottom:8px}
body.nd-compare-page .wd-compare-table .wd-compare-remove{color:var(--ndc-muted)!important;font-size:12px;text-decoration:none!important}
body.nd-compare-page .wd-compare-table :is(.add_to_cart_button,.button,.single_add_to_cart_button){border-radius:10px!important;background:var(--ndc-primary)!important;color:white!important;font-size:12px!important;padding:10px!important;max-width:100%}
body.nd-compare-page .wd-compare-header{margin:0 0 16px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid var(--ndc-border);background:var(--ndc-surface);border-radius:15px;padding:15px 17px}
body.nd-compare-page .wd-compare-select{background:var(--ndc-soft);color:var(--ndc-text);border-radius:10px}
body.nd-compare-page .wd-compare-content{max-width:100%;min-width:0}
body:is(.nd-wishlist-page,.nd-compare-page) :is(a,button,input,select):focus-visible{outline:2px solid var(--ndc-primary);outline-offset:3px}
html[data-theme='dark'] body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero{box-shadow:0 14px 38px #0004}
html[data-theme='dark'] body.nd-compare-page .nd-compare-scroll{box-shadow:0 12px 36px #0005}
@media(max-width:850px){.nd-collection-hero{flex-direction:column;align-items:stretch;border-radius:20px}.nd-collection-hero__actions{align-self:flex-start}.nd-compare-tools{flex-direction:column;align-items:stretch}.nd-compare-diff-control{align-self:flex-start}}
@media(max-width:640px){body:is(.nd-wishlist-page,.nd-compare-page) .entry-content{padding-block:10px 35px}.nd-collection-hero{padding:24px 19px;margin-bottom:19px}.nd-collection-hero p{font-size:12px}.nd-collection-switch{width:100%}.nd-collection-switch :is(a,span){flex:1;padding:10px 8px}.nd-collection-back{min-height:44px}.nd-compare-tools{padding:14px}.nd-compare-tools__copy small{font-size:11px}body.nd-compare-page table.wd-compare-table{min-width:610px!important}body.nd-compare-page table.wd-compare-table :is(th.compare-field,td.compare-value){padding:14px 11px!important}body.nd-compare-page table.wd-compare-table th.compare-field{min-width:116px;width:116px;font-size:11px}body.nd-compare-page table.wd-compare-table td.compare-value{min-width:175px;width:190px;font-size:12px}body.nd-compare-page .nd-compare-scroll{scrollbar-width:none}body.nd-compare-page .nd-compare-scroll::-webkit-scrollbar{display:none}body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block{padding:38px 17px!important;min-height:270px}}
@media(prefers-reduced-motion:reduce){.nd-collection-back,.nd-collection-hero a,.nd-compare-diff-control__track,.nd-compare-diff-control__track:after{transition:none}}

/* === NORDAN 1.2.22 — restrained, commerce-first collection design ===
 * Scope is limited to the dedicated /wishlist/ and /compare/ pages.
 * All native WoodMart storage, remove, add-to-cart and AJAX events are intact.
 */
body:is(.nd-wishlist-page,.nd-compare-page) {
  --ndc-on-primary:var(--nd-on-primary,#fff);
  --ndc-shadow:0 5px 20px rgba(15,36,63,.045);
}
body:is(.nd-wishlist-page,.nd-compare-page) .entry-content {max-width:1340px;padding:12px 0 66px;}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-native {min-width:0;max-width:100%;}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero {
  background:transparent!important;border:0!important;border-bottom:1px solid var(--ndc-border)!important;
  border-radius:0!important;box-shadow:none!important;overflow:visible;
  padding:10px 0 25px!important;margin:0 0 28px!important;gap:24px;align-items:center;
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero:before {display:none!important;content:none;}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero__eyebrow {
  font-size:10px;letter-spacing:.10em;color:var(--ndc-muted);margin:0 0 4px;font-weight:750;
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero h1 {
  font-size:clamp(23px,2.5vw,32px)!important;line-height:1.5!important;
  margin:0 0 5px!important;letter-spacing:0;font-weight:850!important;
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero p {
  font-size:13px!important;line-height:1.85;margin:0 0 17px;color:var(--ndc-muted);
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-switch {
  padding:3px;gap:2px;background:var(--ndc-soft);border:1px solid var(--ndc-border);border-radius:10px;
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-switch :is(a,span) {
  padding:8px 19px;font-size:12px;min-height:39px;border-radius:7px;
  color:var(--ndc-muted)!important;background:transparent;box-shadow:none;
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-switch .nd-collection-switch__active {
  color:var(--ndc-text)!important;background:var(--ndc-surface)!important;
  box-shadow:0 1px 5px rgba(17,35,60,.09);
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-back {
  background:transparent!important;border:1px solid var(--ndc-border)!important;
  border-radius:10px;box-shadow:none!important;font-size:12px;font-weight:700;
  color:var(--ndc-text)!important;padding:11px 15px;min-height:44px;
}
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-back:hover {background:var(--ndc-soft)!important;transform:none;}
/* Favorited products: legible two-column catalog cards. Works with WoodMart's
   new product wrapper and older product-element-top/bottom loop variants. */
body.nd-wishlist-page .nd-collection-native :is(.wd-wishlist-content,.wd-wishlist-page,.wd-wishlist-group) {
  background:transparent;border:0;box-shadow:none;
}
body.nd-wishlist-page .nd-collection-native :is(.wd-products,.products) {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;min-width:0;align-items:stretch;
}
body.nd-wishlist-page .nd-collection-native :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item) {
  position:relative;min-width:0;min-height:165px;margin:0!important;
  border:1px solid var(--ndc-border)!important;border-radius:14px!important;
  background:var(--ndc-surface)!important;box-shadow:none!important;transform:none!important;
  padding:0;overflow:hidden;
}
body.nd-wishlist-page .nd-collection-native :is(.wd-product,.wd-wishlist-product,.wd-wishlist-item,.product-grid-item):hover {
  transform:none!important;box-shadow:0 6px 20px rgba(15,38,62,.055)!important;
  border-color:var(--ndc-primary)!important;
}
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper,
body.nd-wishlist-page .products .product-grid-item > .product-wrapper,
body.nd-wishlist-page .products .product-grid-item > .wd-product-wrapper {
  display:grid!important;grid-template-columns:minmax(0,138px) minmax(0,1fr)!important;
  grid-template-rows:auto auto 1fr auto;align-items:start;column-gap:15px;row-gap:7px;
  min-width:0;min-height:164px;padding:14px!important;background:transparent!important;
}
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > :is(.wd-product-thumb,.product-element-top),
body.nd-wishlist-page .products .product-grid-item > :is(.product-element-top,.wd-product-thumb) {
  grid-column:1;grid-row:1 / span 4;position:relative!important;
  width:100%;max-width:138px;align-self:start;border:0;border-radius:10px!important;
  background:var(--ndc-soft)!important;overflow:hidden;margin:0!important;
}
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > :is(.wd-entities-title,.product-title),
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > .price {
  grid-column:2;min-width:0;text-align:right;padding:0!important;margin:0!important;
}
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > :is(.wd-entities-title,.product-title) {grid-row:1;}
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > .price {grid-row:2;align-self:end;}
body.nd-wishlist-page .products .product-element-bottom {
  grid-column:2;grid-row:1/span 4;display:flex;flex-direction:column;align-items:flex-start;
  gap:12px;padding:3px 0 0!important;min-width:0;text-align:right;
}
body.nd-wishlist-page .nd-collection-native .wd-product img {
  width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important;
  background:var(--ndc-soft);border:0!important;border-radius:10px!important;
}
body.nd-wishlist-page .nd-collection-native .wd-product :is(.wd-entities-title,.product-title,.wd-entities-title a,.product-title a) {
  font-weight:750!important;font-size:13px!important;line-height:1.95!important;
  color:var(--ndc-text)!important;text-decoration:none;overflow-wrap:anywhere;
}
body.nd-wishlist-page .nd-collection-native .wd-product .price {
  color:var(--ndc-primary)!important;font-weight:850!important;font-size:14px!important;white-space:normal;
}
body.nd-wishlist-page .nd-collection-native .wd-product :is(.wd-product-stock,.stock) {font-size:11px;color:var(--ndc-muted);}
/* Native remove and cart controls stay clickable and distinguishable. */
body.nd-wishlist-page .nd-collection-native :is(.wd-wishlist-remove,.wd-remove-btn,.wd-wishlist-remove-btn) {
  color:var(--ndc-muted)!important;border-radius:8px;z-index:5;
}
body.nd-wishlist-page .nd-collection-native :is(.add_to_cart_button,.wd-add-to-cart-btn) {
  background:var(--ndc-primary)!important;color:var(--ndc-on-primary)!important;
  border:0!important;border-radius:9px!important;padding:9px 13px!important;
  min-height:38px;font-size:11px!important;box-shadow:none!important;
}
body.nd-wishlist-page .nd-collection-native :is(.wd-wishlist-head,.wd-wishlist-header,.wd-wishlist-controls) {
  background:var(--ndc-surface);padding:12px 16px;border:1px solid var(--ndc-border);
  border-radius:12px;margin-bottom:16px;color:var(--ndc-text);
}
/* Theme versions that use an actual wishlist table retain native table semantics. */
body.nd-wishlist-page .nd-collection-native table.wd-wishlist-table {
  max-width:100%;width:100%;border:1px solid var(--ndc-border);
  border-radius:13px;border-collapse:separate;border-spacing:0;background:var(--ndc-surface);
}
body.nd-wishlist-page .nd-collection-native table.wd-wishlist-table :is(th,td) {
  padding:15px 13px;border-bottom:1px solid var(--ndc-border);vertical-align:middle;
  color:var(--ndc-text);background:transparent;
}
body.nd-wishlist-page .nd-collection-native table.wd-wishlist-table tr:last-child :is(th,td) {border-bottom:0;}
body.nd-wishlist-page .nd-collection-native table.wd-wishlist-table img {max-width:94px;height:auto;border-radius:8px;}
/* Comparison: readable spreadsheet styling with a subtle shaded feature rail. */
body.nd-compare-page .nd-compare-tools {
  padding:13px 17px;margin-bottom:14px;box-shadow:none;
  border-radius:12px;background:var(--ndc-soft);
}
body.nd-compare-page .nd-compare-tools__copy strong {font-size:13px;color:var(--ndc-text);}
body.nd-compare-page .nd-compare-scroll {
  border-radius:14px;border:1px solid var(--ndc-border);
  background:var(--ndc-surface);box-shadow:none;
}
body.nd-compare-page table.wd-compare-table {
  border-collapse:separate!important;border-spacing:0!important;table-layout:auto;
  background:var(--ndc-surface)!important;
}
body.nd-compare-page table.wd-compare-table :is(th.compare-field,td.compare-value) {
  padding:17px 15px!important;vertical-align:middle;
  border-left:0!important;border-inline-start:1px solid var(--ndc-border)!important;
  border-bottom:1px solid var(--ndc-border)!important;
}
body.nd-compare-page table.wd-compare-table th.compare-field {
  right:0;min-width:155px;width:165px;background:var(--ndc-soft)!important;
  box-shadow:-3px 0 12px rgba(24,44,67,.035);font-weight:750;
}
body.nd-compare-page table.wd-compare-table td.compare-value {min-width:210px;width:250px;text-align:center;}
body.nd-compare-page table.wd-compare-table .product-image {
  background:var(--ndc-soft);border:0;border-radius:10px;margin:0 auto 12px;
  max-width:160px;
}
body.nd-compare-page table.wd-compare-table .product-image img {width:100%;aspect-ratio:1;object-fit:contain;}
body.nd-compare-page table.wd-compare-table .wd-entities-title {font-size:13px!important;}
body.nd-compare-page .wd-compare-table :is(.add_to_cart_button,.button,.single_add_to_cart_button),
body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-native :is(.wd-empty-block-btn,.btn-accent) {
  color:var(--ndc-on-primary)!important;background:var(--ndc-primary)!important;
  border-radius:9px!important;box-shadow:none!important;
}
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block {
  min-height:275px!important;max-width:none;
  background:var(--ndc-surface)!important;box-shadow:none;
  border:1px dashed var(--ndc-border)!important;border-radius:14px!important;
  padding:42px 18px!important;
}
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block:before {
  width:66px;height:66px;border-radius:50%;font-size:40px;
}
body:is(.nd-wishlist-page,.nd-compare-page) .wd-empty-block-title {font-size:20px!important;}
/* Notifications spawned by WoodMart are outside the collection wrapper.
   Do not apply collection buttons or image rules to their DOM. */
@media(max-width:1000px) {
  body.nd-wishlist-page .nd-collection-native :is(.wd-products,.products) {grid-template-columns:1fr!important;}
}
@media(max-width:640px) {
  body:is(.nd-wishlist-page,.nd-compare-page) .entry-content {padding:0 0 35px;}
  body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero {padding:5px 0 18px!important;margin-bottom:19px!important;gap:12px;}
  body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero h1 {font-size:23px!important;}
  body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero p {font-size:12px!important;margin-bottom:12px;}
  body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-hero__actions {align-self:auto;}
  body:is(.nd-wishlist-page,.nd-compare-page) .nd-collection-back {font-size:11px;min-height:39px;}
  body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper,
  body.nd-wishlist-page .products .product-grid-item > .wd-product-wrapper {
    grid-template-columns:106px minmax(0,1fr)!important;gap:6px 12px;padding:11px!important;min-height:140px;
  }
  body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > :is(.wd-product-thumb,.product-element-top) {max-width:106px;}
  body.nd-compare-page table.wd-compare-table th.compare-field {min-width:108px;width:108px;}
  body.nd-compare-page table.wd-compare-table td.compare-value {min-width:172px;width:185px;}
  body.nd-compare-page .nd-compare-tools {padding:13px;}
}

/* Native loop actions can appear as a direct child rather than inside a footer. */
body.nd-wishlist-page .wd-products .wd-product > .wd-product-wrapper > :is(.add_to_cart_button,.wd-add-to-cart-btn,.wd-product-footer,.wd-bottom-actions){
  grid-column:2;grid-row:3 / span 2;justify-self:start;align-self:end;position:static;margin:0;
}
