/* Structural controllers stay intact; the visible elements use GitHub classes. */
#chanand-native-wishlist table.chanand-wishlist-controller { display: block; width: 100%; max-width: none; margin: 0; border: 0; background: transparent; }
#chanand-native-wishlist table.chanand-wishlist-controller > tbody.wishlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 4px; width: 100%; }
#chanand-native-wishlist .chanand-wishlist-controller .chanand-wishlist-row,
#chanand-native-wishlist .chanand-wishlist-controller .chanand-wishlist-card-cell {
  display: contents;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
#chanand-native-wishlist .wishlist-card { min-width: 0; font: inherit; }
#chanand-native-wishlist .wishlist-image { position: relative; padding: 0; margin: 0; background: #eeede7; }
#chanand-native-wishlist .wishlist-image > a.ct-media-container { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 5; }
#chanand-native-wishlist .wishlist-image > a.ct-media-container img { display: block; position: static; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 5; object-fit: contain; mix-blend-mode: multiply; }
#chanand-native-wishlist .wishlist-card-copy { padding: 20px; }
#chanand-native-wishlist .wishlist-card-copy h2 { margin: 0; font-size: 17px; line-height: inherit; letter-spacing: inherit; font-weight: 400; }
#chanand-native-wishlist .chanand-wishlist-attributes { padding: 0; margin: 0; font: inherit; }
#chanand-native-wishlist .chanand-wishlist-attributes:empty { display: none; }
#chanand-native-wishlist .chanand-wishlist-attributes .variation { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 12px 0 0; font-size: 14px; }
#chanand-native-wishlist .chanand-wishlist-attributes .variation :is(dt, dd, p) { margin: 0; font: inherit; }
#chanand-native-wishlist .chanand-wishlist-price { margin: 12px 0 20px; font-size: 14px; }
#chanand-native-wishlist .chanand-wishlist-price :is(.price, .amount) { font: inherit; }
#chanand-native-wishlist .chanand-wishlist-price ins { text-decoration: none; }
#chanand-native-wishlist .chanand-wishlist-remove > .wishlist-compact { position: static; inset: auto; }
#chanand-native-wishlist .chanand-wishlist-remove > .remove { font-size: 0; }
#chanand-native-wishlist .chanand-wishlist-remove > .remove svg { width: 20px; height: 20px; }
#chanand-native-wishlist .chanand-wishlist-remove > .remove:not([data-button-state*="loading"]) .ct-button-loader { display: none; }
#chanand-native-wishlist .chanand-wishlist-remove > .remove[data-button-state*="loading"] svg:not(.ct-button-loader) { display: none; }
#chanand-native-wishlist .chanand-wishlist-actions { display: block; margin: 0; padding: 0; text-align: start; }
#chanand-native-wishlist .chanand-wishlist-extension { margin-top: 12px; }
#chanand-native-wishlist .chanand-wishlist-extension:empty { display: none; }
#chanand-native-wishlist .wishlist-empty { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; }
#chanand-native-wishlist .wishlist-empty::before { display: none; }
#chanand-native-wishlist .wishlist-empty p { margin: 0; font-size: 15px; }
#chanand-native-wishlist .wishlist-empty > .button { float: none; display: inline-flex; margin-top: 24px; }

/* Woo's selected products become the original four/two-column ProductCard grid. */
#chanand-native-recommendations { font: inherit; }
#chanand-native-recommendations .chanand-original-recommendations { display: block; width: 100%; max-width: none; margin: 0 0 64px; padding: 0; border: 0; background: transparent; }
#chanand-native-recommendations .chanand-original-recommendations:last-child { margin-bottom: 0; }
#chanand-native-recommendations .chanand-original-recommendations > .section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
#chanand-native-recommendations .chanand-original-recommendations > .section-heading h2 { margin: 0; font-family: inherit; font-weight: 300; font-size: clamp(2.5rem, 4.5vw, 4.75rem); line-height: 1.1; letter-spacing: -.055em; }
#chanand-native-recommendations .section-heading > .text-link { flex-shrink: 0; }
#chanand-native-recommendations .chanand-original-recommendations :is(.flexy-container, .flexy, .flexy-view, .flexy-item) { display: contents; width: auto; max-width: none; height: auto; overflow: visible; transform: none; }
#chanand-native-recommendations .chanand-original-recommendations .ct-slider-arrows { display: none; }
#chanand-native-recommendations .chanand-recommendation-grid { transform: none !important; width: 100% !important; max-width: none; height: auto; overflow: visible; margin: 0; padding: 0; list-style: none; }
#chanand-native-recommendations .chanand-recommendation-card { display: flex; flex-direction: column; float: none; width: auto; max-width: none; margin: 0; }
#chanand-native-recommendations .chanand-recommendation-card > .chanand-recommendation-figure { position: relative; margin: 0; }
#chanand-native-recommendations .chanand-recommendation-card .product-image > .ct-swap { display: none; }
#chanand-native-recommendations .chanand-recommendation-card .product-image > img { position: static; inset: auto; opacity: 1; }
#chanand-native-recommendations .chanand-recommendation-card .product-meta > .price { display: block; margin: 0; color: inherit; font: inherit; }
#chanand-native-recommendations .chanand-recommendation-card .product-meta ins { text-decoration: none; }
#chanand-native-recommendations .chanand-recommendation-card .product-meta > .price { text-align: right; }
#chanand-native-recommendations .chanand-recommendation-card .product-meta .sale-price { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 6px; }
#chanand-native-recommendations .chanand-recommendation-card > h3 { margin: 0; font-weight: 400; letter-spacing: inherit; }
#chanand-native-recommendations .chanand-recommendation-card > p { margin-bottom: 0; }
#chanand-native-recommendations .chanand-recommendation-controls:empty { display: none; }
#chanand-native-recommendations .chanand-recommendation-controls { margin-top: 16px; }
#chanand-native-recommendations .ct-woo-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
#chanand-native-recommendations .ct-woo-card-actions .button { display: inline-flex; width: 100%; min-height: 44px; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font: 400 12px/1.5 Manrope, Arial, sans-serif; }
#chanand-native-recommendations .ct-woo-card-actions .button:not(.loading):not(.added)::after { content: "↗"; position: static; font-size: 18px; }
#chanand-native-recommendations .ct-woo-card-actions .button:hover { text-decoration: underline; text-underline-offset: 4px; }
#chanand-native-recommendations .ct-variation-swatches { gap: 6px; }
#chanand-native-recommendations .ct-swatch-container.chanand-recommendation-option { width: auto; height: auto; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); font: 400 11px/1.5 Manrope, Arial, sans-serif; }
#chanand-native-recommendations .chanand-recommendation-option > .ct-swatch { display: none; }
#chanand-native-recommendations .chanand-recommendation-option::before,
#chanand-native-recommendations .chanand-recommendation-option::after { content: none; }
#chanand-native-recommendations .chanand-recommendation-option[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
#chanand-native-recommendations .chanand-recommendation-option[disabled],
#chanand-native-recommendations .chanand-recommendation-option[aria-disabled="true"] { opacity: .45; }
#chanand-native-recommendations .chanand-recommendation-option.ct-out-of-stock > .chanand-recommendation-option-label { opacity: .4; }
#chanand-native-recommendations [data-variations-out-of-stock="crossed"] .chanand-recommendation-option.ct-out-of-stock > .chanand-recommendation-option-label { text-decoration: line-through; text-decoration-color: #943e30; }
#chanand-native-recommendations .ct-swatch-container.ct-hidden,
#chanand-native-recommendations .ct-swatch-container.ct-limited { display: none; }
#chanand-native-recommendations .ct-wishlist-button-archive { width: 44px; min-height: 44px; border-radius: 0; }
#chanand-native-recommendations .ct-woo-badges { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; max-width: calc(100% - 48px); }
#chanand-native-recommendations .ct-woo-badges > span { min-width: 0; min-height: 0; padding: 2px 4px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font: 400 10px/1.5 Manrope, Arial, sans-serif; letter-spacing: 0; }

/* Same ProductCard declarations as globals.css, scoped above native theme skins. */
#chanand-native-recommendations .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
#chanand-native-recommendations .product-card { min-width: 0; background: var(--paper); padding: 1.25rem 1.25rem 1.75rem; }
#chanand-native-recommendations .product-image { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
#chanand-native-recommendations .product-image > img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
#chanand-native-recommendations .product-image:hover > img { transform: scale(1.06); }
#chanand-native-recommendations .product-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: 12px; margin: 1.25rem 0 .5rem; color: var(--muted); }
#chanand-native-recommendations .product-card h3 { font-size: 15px; line-height: 1.5; max-width: 95%; }
#chanand-native-recommendations .product-card > p { font-size: 11px; color: var(--muted); margin-top: .5rem; line-height: 1.8; }
@media (max-width: 1100px) {
  #chanand-native-recommendations .product-card { padding: 1rem 1rem 1.5rem; }
}
@media (max-width: 767px) {
  #chanand-native-wishlist table.chanand-wishlist-controller > tbody.wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #chanand-native-wishlist .wishlist-card-copy { padding: 12px; }
  #chanand-native-wishlist .wishlist-card-copy h2 { font-size: 14px; }
  #chanand-native-recommendations .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #chanand-native-recommendations .chanand-original-recommendations > .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
  #chanand-native-recommendations .chanand-original-recommendations > .section-heading h2 { font-size: 2rem; }
  #chanand-native-recommendations .product-meta { flex-wrap: wrap; }
  #chanand-native-recommendations .ct-woo-badges > span { font-size: 9px; }
  #chanand-native-recommendations .ct-swatch-container.chanand-recommendation-option { padding-inline: 8px; }
  #chanand-native-recommendations .product-card { padding: .75rem .75rem 1rem; }
  #chanand-native-recommendations .product-image { aspect-ratio: 3 / 4; }
  #chanand-native-recommendations .product-meta { margin: 1rem 0 .5rem; gap: .25rem; font-size: 10px; }
  #chanand-native-recommendations .product-card h3 { font-size: 12px; max-width: 100%; }
  #chanand-native-recommendations .product-card > p { font-size: 10px; }
}
@media (max-width: 400px) {
  #chanand-native-wishlist table.chanand-wishlist-controller > tbody.wishlist-grid { grid-template-columns: minmax(0, 1fr); }
}
