/* Product categories use the small term image as an inset, with text on a solid surface. */
body.tax-product_cat #main > .hero-section[data-type="type-2"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) fit-content(31%);
  align-items: center;
  justify-items: stretch;
  gap: clamp(10px, 2.5vw, 28px);
  isolation: isolate;
  width: min(var(--theme-container-width, 88vw), var(--theme-normal-container-max-width, 1290px));
  min-height: 0;
  margin: clamp(14px, 2vw, 26px) auto 0;
  padding: clamp(12px, 2.1vw, 24px);
  overflow: hidden;
  background: #261822;
  border-radius: 12px;
}
body.tax-product_cat #main > .hero-section[data-type="type-2"]:not(:has(> figure)) { grid-template-columns: minmax(0, 1fr); }
body.tax-product_cat #main > .hero-section[data-type="type-2"] > .entry-header {
  grid-column: 1;
  grid-row: 1;
  position: static;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: clamp(5px, 1.1vw, 14px) 0 clamp(5px, 1.1vw, 14px) clamp(1px, 1vw, 12px);
  text-align: start;
}
body.tax-product_cat #main > .hero-section[data-type="type-2"] .page-title {
  color: #fffafa;
  font-size: clamp(1.22rem, 3.8vw, 2.65rem);
  letter-spacing: -.032em;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
body.tax-product_cat #main > .hero-section[data-type="type-2"] .page-description {
  display: block !important;
  color: #f1dce5;
  font-size: clamp(.8rem, 1.4vw, 1.03rem);
  line-height: 1.45;
  max-width: 50ch;
  margin: .42em 0 0;
  overflow-wrap: anywhere;
}
body.tax-product_cat #main > .hero-section[data-type="type-2"] .page-description p { margin-block: 0; }
body.tax-product_cat #main > .hero-section[data-type="type-2"] > figure {
  grid-column: 2;
  grid-row: 1;
  position: relative !important;
  inset: auto !important;
  width: clamp(83px, 22vw, 252px);
  max-width: 100%;
  min-width: 0;
  height: auto !important;
  aspect-ratio: 1.53;
  overflow: hidden;
  align-self: center;
  margin: 0;
  padding: 0;
  border-radius: 8px;
}
body.tax-product_cat #main > .hero-section[data-type="type-2"] > figure::after { display: none; }
body.tax-product_cat #main > .hero-section[data-type="type-2"] > figure .ct-media-container {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
body.tax-product_cat #main > .hero-section[data-type="type-2"] > figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
}
body.tax-product_cat #main > .ct-container { --content-vertical-spacing: clamp(16px, 2.2vw, 28px); }
body.tax-product_cat #main .tdr-shop-empty {
  margin-block-start: 0;
  padding: clamp(15px, 2.4vw, 30px);
  border-radius: 13px;
}
body.tax-product_cat #main .tdr-shop-empty h2 {
  color: #2c2029;
  font-size: clamp(1.25rem, 2.6vw, 1.94rem);
  letter-spacing: -.027em;
  line-height: 1.16;
  margin: 0 0 .42em;
  text-wrap: balance;
}
body.tax-product_cat #main .tdr-shop-empty > p { max-width: 52ch; font-size: .98rem; line-height: 1.5; margin-bottom: 1.05rem; }
body.tax-product_cat #main .tdr-shop-empty__categories {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(8px, 1.1vw, 14px);
}
body.tax-product_cat #main .tdr-shop-empty__categories > a { min-width: 0; grid-template-columns: minmax(0,1fr) auto; }
body.tax-product_cat #main .tdr-shop-empty__categories > a img {
  width: 100%;
  aspect-ratio: 1.56;
  height: auto;
  object-fit: cover;
}
body.tax-product_cat #main .tdr-shop-empty__categories > a strong {
  font-size: clamp(.78rem, 1.23vw, .98rem);
  line-height: 1.24;
  overflow-wrap: anywhere;
}
body.tax-product_cat #main .tdr-shop-empty__categories > a span { align-self: center; }
@media (max-width: 820px) {
  body.tax-product_cat #main .tdr-shop-empty__categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body.tax-product_cat #main > .hero-section[data-type="type-2"] {
    width: min(var(--theme-container-width, 94vw), calc(100% - 24px));
    grid-template-columns: minmax(0,1fr) fit-content(33%);
    padding: 12px;
  }
  body.tax-product_cat #main .tdr-shop-empty { padding: 14px; }
  body.tax-product_cat #main .tdr-shop-empty__categories > a strong { padding-inline-start: 8px; }
  body.tax-product_cat #main .tdr-shop-empty__categories > a span { margin-inline-end: 8px; }
}

/* The native wishlist table has a desktop form and separate mobile shortcuts.
   Keep one set of actions visible and position that set below the details on narrow screens. */
body.tdr-favorites-page #main {
  --tdr-favorites-ink: #2c2029;
  --tdr-favorites-muted: #65525d;
  --tdr-favorites-line: #e3d8de;
  --tdr-favorites-accent: #981b3b;
  --tdr-favorites-hover: #77142e;
  --theme-link-initial-color: var(--tdr-favorites-accent);
  --theme-link-hover-color: var(--tdr-favorites-hover);
  --theme-button-background-initial-color: var(--tdr-favorites-accent);
  --theme-button-background-hover-color: var(--tdr-favorites-hover);
  --theme-form-field-border-initial-color: #d7c5cf;
  --theme-form-field-border-focus-color: var(--tdr-favorites-accent);
}
body.tdr-favorites-page.page-id-71 #main { background-color: #f6f3ef; }
body.tdr-favorites-page.page-id-71 #main > .ct-container { --content-vertical-spacing: clamp(22px, 4vw, 54px); }
body.tdr-favorites-page.page-id-71 #main article { margin-inline: auto; width: min(100%, 1030px); }
body.tdr-favorites-page.page-id-71 #main .entry-header { margin-bottom: clamp(8px,1.3vw,16px); }
body.tdr-favorites-page.page-id-71 #main .page-title {
  color: var(--tdr-favorites-ink);
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
body.tdr-favorites-page #main .tdr-favourites-home {
  color: var(--tdr-favorites-muted);
  font-size: clamp(.91rem, 1.4vw, 1.03rem);
  margin-bottom: clamp(15px, 2.25vw, 27px);
}
body.tdr-favorites-page #main .tdr-favourites-home p { margin: 0; }
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table { margin: 0; }
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table table {
  width: 100%;
  border: 0;
  margin: 0;
  background: transparent;
}
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody { display: grid; gap: 13px; }
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody > tr {
  display: grid;
  grid-template-columns: clamp(66px, 9.3vw, 112px) minmax(100px,1fr) minmax(0, auto) 44px;
  grid-template-areas: "image description actions remove";
  gap: clamp(10px, 1.5vw, 20px);
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 1.75vw, 22px);
  border: 1px solid var(--tdr-favorites-line);
  border-radius: 12px;
  background: #fffdfa;
}
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody > tr:not(:has(> .wishlist-product-remove)) {
  grid-template-columns: clamp(66px, 9.3vw, 112px) minmax(100px,1fr) minmax(0,auto);
  grid-template-areas: "image description actions";
}
body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody > tr > td {
  display: block !important;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
}
body.tdr-favorites-page #main .wishlist-product-thumbnail { grid-area: image; }
body.tdr-favorites-page #main .wishlist-product-name { grid-area: description; }
body.tdr-favorites-page #main .wishlist-product-actions { grid-area: actions; }
body.tdr-favorites-page #main .wishlist-product-remove { grid-area: remove; justify-self: end; }
body.tdr-favorites-page #main .wishlist-product-thumbnail :is(.ct-media-container,img) {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  object-fit: cover;
  border-radius: 8px;
}
body.tdr-favorites-page #main .wishlist-product-name .product-name {
  display: inline;
  color: var(--tdr-favorites-ink);
  font-size: clamp(.96rem, 1.6vw, 1.17rem);
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
body.tdr-favorites-page #main .wishlist-product-name .product-name:hover { color: var(--tdr-favorites-accent); }
body.tdr-favorites-page #main .wishlist-product-name .price {
  font-size: .95rem;
  line-height: 1.3;
  color: var(--tdr-favorites-accent);
  font-weight: 740;
  margin: 5px 0 0;
}
body.tdr-favorites-page #main .wishlist-product-name .sale-price { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 9px; }
body.tdr-favorites-page #main .wishlist-product-name .price :is(del,ins) { font-size: inherit; }
body.tdr-favorites-page #main .wishlist-product-name .price del { color: var(--tdr-favorites-muted); font-weight: 490; }
body.tdr-favorites-page #main .wishlist-product-name .product-mobile-actions { display: none !important; }
body.tdr-favorites-page #main .wishlist-product-actions :is(.stock,.cart) { margin: 0; }
body.tdr-favorites-page #main .wishlist-product-actions .stock { margin: 0 0 6px; font-size: .83rem; }
body.tdr-favorites-page #main .wishlist-product-actions .ct-cart-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity {
  display: block !important;
  flex: 0 0 106px;
  min-width: 106px;
  width: 106px;
  min-height: 44px;
  margin: 0;
  color: var(--tdr-favorites-ink);
  --quantity-height: 44px;
  --quantity-color: var(--tdr-favorites-ink);
  --quantity-border-color: #d7c5cf;
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity .qty {
  min-height: 44px;
  border-color: #d7c5cf;
  border-radius: 8px;
  color: var(--tdr-favorites-ink);
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity .qty:focus { border-color: var(--tdr-favorites-accent); }
body.tdr-favorites-page #main .wishlist-product-actions .quantity :is(.ct-increase,.ct-decrease) {
  width: 34px;
  min-height: 40px;
  color: var(--tdr-favorites-ink);
}
body.tdr-favorites-page #main :is(.wishlist-product-actions,.tdr-wishlist-empty) :is(button.single_add_to_cart_button,a.button,a.woocommerce-Button) {
  min-height: 44px;
  min-width: 44px;
  padding: 9px 14px;
  font-size: .88rem;
  border-radius: 8px;
  line-height: 1.2;
  color: #fff !important;
  background-color: var(--tdr-favorites-accent) !important;
}
body.tdr-favorites-page #main :is(.wishlist-product-actions,.tdr-wishlist-empty) :is(button.single_add_to_cart_button,a.button,a.woocommerce-Button):hover {
  background-color: var(--tdr-favorites-hover) !important;
}
body.tdr-favorites-page #main .wishlist-product-remove > .remove {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--tdr-favorites-line);
  border-radius: 8px;
  color: var(--tdr-favorites-accent) !important;
  background: #fffdfa;
  text-decoration: none;
}
body.tdr-favorites-page #main .wishlist-product-remove > .remove:hover { background: #f8eaef; border-color: #cb9ba9; }
body.tdr-favorites-page #main .wishlist-product-remove svg { width: 15px; height: 15px; fill: currentColor; }
body.tdr-favorites-page #main :is(.ct-woocommerce-wishlist-table,.tdr-wishlist-empty) :is(a,button,input):focus-visible {
  outline: 2px solid var(--tdr-favorites-accent);
  outline-offset: 2px;
}
body.tdr-favorites-page #main .tdr-wishlist-empty {
  display: grid;
  justify-items: start;
  gap: 11px;
  padding: clamp(20px, 4.2vw, 41px);
  background: #fffdfa;
  border: 1px solid var(--tdr-favorites-line);
  border-radius: 12px;
}
body.tdr-favorites-page #main .tdr-wishlist-empty h2 { margin: 0; font-size: 1.28rem; color: var(--tdr-favorites-ink); }
body.tdr-favorites-page #main .tdr-wishlist-empty p { margin: 0; color: var(--tdr-favorites-muted); }
@media (max-width: 700px) {
  body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody > tr,
  body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody > tr:not(:has(> .wishlist-product-remove)) {
    grid-template-columns: clamp(60px, 19vw, 86px) minmax(0,1fr) 44px;
    grid-template-areas: "image description remove" "actions actions actions";
  }
  body.tdr-favorites-page #main .ct-woocommerce-wishlist-table tbody > tr:not(:has(> .wishlist-product-remove)) {
    grid-template-columns: clamp(60px,19vw,86px) minmax(0,1fr);
    grid-template-areas: "image description" "actions actions";
  }
  body.tdr-favorites-page #main .wishlist-product-actions { padding-top: 9px !important; border-top: 1px solid var(--tdr-favorites-line) !important; }
  body.tdr-favorites-page #main .wishlist-product-actions .single_add_to_cart_button { width: auto !important; flex: 1 1 116px; }
  body.tdr-favorites-page #main .wishlist-product-remove { align-self: start; }
}

body.tdr-favorites-page #main .wishlist-product-actions .quantity { position: relative; }
body.tdr-favorites-page #main .wishlist-product-actions .quantity .qty {
  height: 44px;
  padding-inline: 33px;
  border-radius: 8px !important;
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity :is(.ct-increase,.ct-decrease) {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  inset-block: 1px;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  transform: none;
  border-radius: 7px;
  background: transparent;
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity .ct-decrease {
  inset-inline-start: 1px;
  inset-inline-end: auto;
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity .ct-increase {
  inset-inline-start: auto;
  inset-inline-end: 1px;
}
body.tdr-favorites-page #main .wishlist-product-actions .quantity :is(.ct-increase,.ct-decrease):is(:hover,:active) {
  background: #f7e8ed;
  color: var(--tdr-favorites-accent);
}
body.tdr-favorites-page #main .woocommerce-notices-wrapper:empty { display: none; }
