/*
 * EpoxyMart 2026 · resin section design layer (Claude, visual pilot).
 *
 * CSS only. Loads after resin.css. It restyles the resin category, the resin
 * sub-categories and the resin product page. It does not change markup, text,
 * URLs, headings, prices, variations, cart logic or any PHP behaviour.
 *
 * Reading order of the layer:
 *   1. tokens        2. foundation        3. category hero
 *   4. route cards   5. category tiles    6. product cards + sale flag
 *   7. editorial     8. product page      9. states, motion, mobile
 *
 * Items that need Codex are marked CODEX-REVIEW and are disabled here.
 */

:root {
  --em26r-turq-d: #0b6e6e;
  --em26r-sunk: #efebe1;
  --em26r-shadow: 0 1px 2px rgba(22, 53, 61, 0.06), 0 8px 24px rgba(22, 53, 61, 0.07);
  --em26r-shadow-up: 0 2px 4px rgba(22, 53, 61, 0.08), 0 14px 32px rgba(22, 53, 61, 0.12);
  --em26r-gutter: clamp(1rem, 4vw, 2.5rem);
  --em26r-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. foundation: container, gutters, breadcrumb ---------- */

.em26-category--resin .em26-woo-surface--category,
.em26-product--resin-technical.em26-woo-surface--product,
.em26-product--resin-technical .em26-woo-surface--product {
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: var(--em26r-gutter);
  padding-block-end: clamp(3rem, 6vw, 5rem);
}

.em26-category--resin .em26-woo-surface--category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: center;
}

.em26-category--resin .em26-woo-surface--category > * {
  grid-column: 1 / -1;
  min-width: 0;
}

.em26-category--resin .em26-woocommerce-breadcrumb,
.em26-product--resin-technical .em26-woocommerce-breadcrumb {
  margin: 0;
  padding: 1.25rem 0 1.5rem;
  color: var(--em26-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.em26-category--resin .em26-woocommerce-breadcrumb a,
.em26-product--resin-technical .em26-woocommerce-breadcrumb a {
  color: var(--em26-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.em26-category--resin .em26-woocommerce-breadcrumb a:hover,
.em26-product--resin-technical .em26-woocommerce-breadcrumb a:hover {
  color: var(--em26-cobalt);
}

.em26-category--resin :focus-visible,
.em26-product--resin-technical :focus-visible {
  outline: 3px solid var(--em26-cobalt);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. category hero ---------- */

.em26-category--resin .em26-category-hero--resin {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 4px solid var(--em26-cobalt);
}

/* The three ribbons are gone (owner, 22 Oct): the resin root hero has the
   «Налий шар» game instead (assets/css/claude/resin-pour.css). */
.em26-category--resin .em26-category-hero--resin::before {
  content: none;
}


.em26-category--resin .em26-category-hero__content {
  max-width: 44rem;
}

.em26-category--resin .em26-category-hero .em26-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  color: var(--em26r-turq-d);
  font-family: var(--em26-font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.em26-category--resin .em26-category-hero .em26-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 4px;
  border-radius: 2px;
  background: var(--em26-turquoise);
}

.em26-category--resin .em26-category-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

.em26-category--resin .em26-category-hero__lead {
  max-width: 50ch;
  margin: 1.1rem 0 0;
  color: var(--em26-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
}

.em26-category--resin .em26-category-hero__trust {
  max-width: 56ch;
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--em26-border);
  border-left: 4px solid var(--em26-turquoise);
  border-radius: var(--em26-radius-control);
  background: color-mix(in srgb, var(--em26-surface) 92%, transparent);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.em26-category--resin .em26-resin-pro-mark {
  align-self: end;
  width: clamp(10rem, 15vw, 13rem);
  padding: 1.1rem 1.25rem;
  border-radius: var(--em26-radius-card);
  box-shadow: var(--em26r-shadow);
}

/* ---------- 4. route cards: "which work do you plan?" ---------- */

.em26-category--resin .em26-category-routes {
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.em26-category--resin .em26-section-heading {
  margin-bottom: 1.5rem;
}

.em26-category--resin .em26-section-heading .em26-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--em26r-turq-d);
  font-family: var(--em26-font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.em26-category--resin .em26-section-heading h2 {
  margin: 0;
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.em26-category--resin .em26-category-routes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1rem;
  border: 0;
  background: transparent;
}

.em26-category--resin .em26-category-route {
  --c: var(--em26-cobalt);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0 0 1.1rem;
  overflow: hidden;
  border: 1px solid var(--em26-border);
  border-top: 4px solid var(--c);
  border-radius: var(--em26-radius-card);
  background: var(--em26-surface);
  box-shadow: var(--em26r-shadow);
  color: var(--em26-ink);
  text-decoration: none;
  transition: transform 0.2s var(--em26r-ease), box-shadow 0.2s var(--em26r-ease), border-color 0.2s;
}

.em26-category--resin .em26-category-route:hover {
  transform: translateY(-3px);
  border-top-width: 4px;
  border-color: var(--c);
  background: var(--em26-surface);
  box-shadow: var(--em26r-shadow-up);
}

/* icon plate: drawn in CSS from the icon set, markup untouched */
.em26-category--resin .em26-category-route::before {
  content: "";
  order: -1;
  height: 7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--em26-border);
  background:
    var(--ic, none) center / 5rem no-repeat,
    radial-gradient(ellipse 46% 62% at 50% 52%, rgba(255, 254, 250, 0.96) 0%, rgba(255, 254, 250, 0.7) 55%, rgba(255, 254, 250, 0) 100%),
    linear-gradient(128deg, color-mix(in srgb, var(--c) 15%, #fffefa) 0%, color-mix(in srgb, var(--c) 4%, #fffefa) 52%, color-mix(in srgb, var(--c) 11%, #fffefa) 100%);
  box-shadow: inset 0 -1px 0 rgba(22, 53, 61, 0.04);
  transition: background-size 0.3s var(--em26r-ease);
}

.em26-category--resin .em26-category-route:hover::before {
  background-size: 5.4rem, auto, auto;
}

.em26-category--resin .em26-category-route__number {
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--em26-surface) 88%, transparent);
  color: var(--em26-muted);
  font-family: var(--em26-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.em26-category--resin .em26-category-route strong {
  max-width: none;
  padding-inline: 1.15rem 3rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.em26-category--resin .em26-category-route small {
  max-width: none;
  margin-top: 0.4rem;
  padding-inline: 1.15rem 1.15rem;
  color: var(--em26-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
}

.em26-category--resin .em26-category-route b {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 12%, var(--em26-surface));
  color: var(--c);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--em26r-ease);
}

.em26-category--resin .em26-category-route:hover b {
  background: var(--c);
  color: #fff;
  transform: translate(2px, -2px);
}

/* first and last route are wide rows, so the 9 cards between fill 3 columns */
.em26-category--resin .em26-category-route:first-child,
.em26-category--resin .em26-category-route:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 0;
  padding: 0 4rem 0 0;
  min-height: 6.5rem;
}

.em26-category--resin .em26-category-route:first-child::before,
.em26-category--resin .em26-category-route:last-child::before {
  grid-row: 1 / 3;
  align-self: stretch;
  height: auto;
  margin: 0;
  border-bottom: 0;
  border-right: 1px solid var(--em26-border);
}

.em26-category--resin .em26-category-route:first-child strong,
.em26-category--resin .em26-category-route:last-child strong {
  align-self: end;
  padding-top: 0.9rem;
}

.em26-category--resin .em26-category-route:first-child small,
.em26-category--resin .em26-category-route:last-child small {
  align-self: start;
  padding-bottom: 0.9rem;
}

.em26-category--resin .em26-category-route:first-child b,
.em26-category--resin .em26-category-route:last-child b {
  top: 50%;
  bottom: auto;
  margin-top: -1.125rem;
}

/* ---------- 5. photo tiles of the sub-categories ---------- */

.em26-category--resin ul.products:has(> li.product-category) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem !important;
  margin-top: 0.5rem !important;
}

.em26-category--resin li.product-category {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--em26-border);
  border-top: 4px solid var(--em26-turquoise);
  border-radius: var(--em26-radius-card);
  background: var(--em26-surface);
  box-shadow: var(--em26r-shadow);
  transition: transform 0.2s var(--em26r-ease), box-shadow 0.2s var(--em26r-ease);
}

.em26-category--resin li.product-category:nth-child(3n + 2) { border-top-color: var(--em26-cobalt); }
.em26-category--resin li.product-category:nth-child(3n) { border-top-color: var(--em26-magenta); }

.em26-category--resin li.product-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--em26r-shadow-up);
}

.em26-category--resin li.product-category > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: var(--em26-ink);
  text-decoration: none;
}

/* four tiles per row on wide screens: 11 sub-categories no longer read as giant blocks */
@media (min-width: 62.01rem) {
  body.em26-category--resin ul.products:has(> li.product-category) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.875rem !important;
  }

  body.em26-category--resin ul.products li.product.product-category .woocommerce-loop-category__title {
    padding: 0.85rem 3.25rem 1rem 1rem;
    font-size: 1rem;
  }
}

.em26-category--resin li.product-category img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
  border-bottom: 1px solid var(--em26-border);
  background: #fff;
  transition: transform 0.35s var(--em26r-ease);
}

.em26-category--resin li.product-category:hover img {
  transform: scale(1.03);
}

.em26-category--resin li.product-category > a {
  overflow: hidden;
}

.em26-category--resin ul.products li.product.product-category .woocommerce-loop-category__title {
  margin: 0;
  padding: 1rem 3.5rem 1.15rem 1.15rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.em26-category--resin li.product-category > a::after {
  content: "→";
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--em26-cobalt) 12%, var(--em26-surface));
  color: var(--em26-cobalt);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--em26r-ease);
}

.em26-category--resin li.product-category:hover > a::after {
  background: var(--em26-cobalt);
  color: #fff;
  transform: translate(2px, -2px);
}

/* ---------- 6. product cards in sub-categories + sale flag ---------- */

.em26-category--resin .woocommerce-result-count {
  grid-column: 1 !important;
  margin: 0 0 1rem;
  color: var(--em26-muted);
  font-family: var(--em26-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
}

.em26-category--resin .woocommerce-ordering {
  grid-column: 2 !important;
  margin: 0 0 1rem;
}

.em26-category--resin .woocommerce-ordering select {
  min-height: 2.75rem;
  padding-inline: 0.85rem 2rem;
  border: 1.5px solid var(--em26-border);
  border-radius: var(--em26-radius-control);
  background-color: var(--em26-surface);
  color: var(--em26-ink);
  font: 600 0.9375rem var(--em26-font-sans);
}

.em26-category--resin ul.products:not(:has(> li.product-category)) {
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem !important;
  margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

.em26-category--resin li.product:not(.product-category) {
  position: relative;
  display: flex !important;
  flex-direction: column;
  padding: 0.75rem !important;
  border: 1px solid var(--em26-border);
  border-top: 4px solid var(--em26-cobalt);
  border-radius: var(--em26-radius-card);
  background: var(--em26-surface);
  box-shadow: var(--em26r-shadow);
  overflow: visible;
  transition: transform 0.2s var(--em26r-ease), box-shadow 0.2s var(--em26r-ease);
}

.em26-category--resin li.product:not(.product-category):hover {
  transform: translateY(-3px);
  box-shadow: var(--em26r-shadow-up);
}

.em26-category--resin li.product:not(.product-category) > a.woocommerce-LoopProduct-link {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, var(--em26-surface), var(--em26r-sunk));
}

.em26-category--resin li.product:not(.product-category) img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0.5rem;
  object-fit: contain;
  background: transparent;
  transition: transform 0.35s var(--em26r-ease);
}

.em26-category--resin li.product:not(.product-category):hover img {
  transform: scale(1.04);
}

.em26-category--resin li.product:not(.product-category) .woocommerce-loop-product__title {
  min-height: 3.9em;
  margin: 0.9rem 0.25rem 0.5rem;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.em26-category--resin li.product:not(.product-category) .woocommerce-loop-product__title a {
  color: var(--em26-ink);
  text-decoration: none;
}

.em26-category--resin li.product:not(.product-category) .price {
  margin: auto 0.25rem 0;
  color: var(--em26-ink) !important;
  font-size: 1.375rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.em26-category--resin li.product:not(.product-category) .price ins {
  background: transparent;
  text-decoration: none;
}

.em26-category--resin li.product:not(.product-category) .price del {
  color: var(--em26-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* actions: one primary style, a quiet outline for "notify me" */
.em26-category--resin li.product:not(.product-category) a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin: 1rem 0 0;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--em26-radius-control);
  background: var(--em26-magenta);
  color: #fff;
  font: 800 1rem/1.2 var(--em26-font-sans);
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.em26-category--resin li.product:not(.product-category) a.button:hover {
  background: var(--em26-ink);
  color: #fff;
  transform: translateY(-1px);
}

.em26-category--resin li.product:not(.product-category) a.button.product_type_variable:not(.add_to_cart_button) {
  background: transparent;
  color: var(--em26-ink);
  box-shadow: inset 0 0 0 1.5px var(--em26-ink);
}

.em26-category--resin li.product:not(.product-category) a.button.product_type_variable:not(.add_to_cart_button):hover {
  background: var(--em26-ink);
  color: #fff;
}

/* sale flag: a small magenta tag inside the card, top-left (one rule set for
 * cards and the product page; the word itself comes from WooCommerce) */
body.em26-category--resin .onsale,
body .em26-product--resin-technical .onsale {
  position: absolute !important;
  top: 1.15rem !important;
  left: 1.15rem !important;
  right: auto !important;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: calc(100% - 2.3rem);
  margin: 0 !important;
  padding: 0.45rem 0.65rem !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--em26-magenta) !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 700 0.8125rem/1 var(--em26-font-sans) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow: hidden;
}

body.em26-category--resin .onsale::before,
body .em26-product--resin-technical .onsale::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--em26-saffron);
}

/* one glint when the card appears, no loop */
body.em26-category--resin .onsale::after,
body .em26-product--resin-technical .onsale::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: em26r-glint 1.2s 0.6s 1 ease-out forwards;
}

@keyframes em26r-glint {
  to { transform: translateX(120%); }
}

/* ---------- 7. editorial text under the products ---------- */

.em26-category--resin .em26-category-editorial {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  border-top: 4px solid var(--em26-turquoise);
  background: transparent;
}

.em26-category--resin .em26-category-editorial__inner {
  max-width: 46rem;
  margin: 0;
  padding: 0;
}

.em26-category--resin .em26-category-editorial__inner :where(p, li) {
  font-size: 1.0625rem;
  line-height: 1.62;
}

.em26-category--resin .em26-category-editorial__inner :where(p) {
  margin: 0 0 0.9rem;
}

.em26-category--resin .em26-category-editorial__inner :where(h2) {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem;
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.em26-category--resin .em26-category-editorial__inner > :first-child :where(h2),
.em26-category--resin .em26-category-editorial__inner :where(h2):first-child {
  margin-top: 0;
}

.em26-category--resin .em26-category-editorial__inner :where(h3, h4) {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.em26-category--resin .em26-category-editorial__inner :where(ul, ol) {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.em26-category--resin .em26-category-editorial__inner :where(li) {
  margin-bottom: 0.35rem;
}

.em26-category--resin .em26-category-editorial__inner :where(li)::marker {
  color: var(--em26-cobalt);
}

.em26-category--resin .em26-category-editorial__inner :where(a) {
  color: var(--em26-cobalt);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.em26-category--resin .em26-category-editorial__inner :where(table) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

/* ---------- 8. product page ---------- */

.em26-product--resin-technical div.product {
  position: relative;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* the gallery follows the reader while the right column is long */
.em26-product--resin-technical div.product > .images,
.em26-product--resin-technical .em26-pdp-top > .images {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}

.em26-product--resin-technical div.product > .em26-resin-sections,
.em26-product--resin-technical div.product > .related,
.em26-product--resin-technical div.product > .upsells {
  grid-column: 1 / -1;
}

/* A sticky grid item is bounded by the whole grid, not by its row, so the
   gallery used to ride over the description. Full-width blocks below the
   buy area now sit above it on an opaque paper layer and cover it. */
body .em26-product--resin-technical div.product > .em26-resin-sections,
body .em26-product--resin-technical div.product > .related,
body .em26-product--resin-technical div.product > .upsells {
  position: relative;
  z-index: 3;
  background: var(--em26-paper, #f7f4ec);
}

.em26-product--resin-technical .summary.entry-summary {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--em26-border);
  border-top: 4px solid var(--em26-magenta);
  box-shadow: var(--em26r-shadow);
}

/* order in the purchase column: what it is, what it costs, buy, proof, details */
.em26-product--resin-technical .summary > .product_title { order: 1; }
.em26-product--resin-technical .summary > p.price { order: 2; }
.em26-product--resin-technical .summary > form.cart { order: 3; }
.em26-product--resin-technical .summary > .commercekit-wishlist { order: 4; }
.em26-product--resin-technical .summary > .em26-product-documents { order: 5; }
.em26-product--resin-technical .summary > .woocommerce-product-details__short-description { order: 6; }
.em26-product--resin-technical .summary > .product_meta { order: 7; }

.em26-product--resin-technical .summary .product_title {
  max-width: none;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.em26-product--resin-technical .summary .price,
.em26-product--resin-technical .summary .price .amount,
.em26-product--resin-technical .summary .price ins,
.em26-product--resin-technical .summary .woocommerce-variation-price .price,
.em26-product--resin-technical .summary .woocommerce-variation-price .amount {
  color: var(--em26-ink) !important;
  font-weight: 800;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.em26-product--resin-technical .summary > p.price {
  margin-block: 0.75rem 1.25rem;
  font-size: 1.125rem;
  color: var(--em26-muted) !important;
}

.em26-product--resin-technical .summary > p.price .amount {
  color: var(--em26-ink) !important;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.02em;
}

.em26-product--resin-technical .summary form.cart {
  margin-top: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--em26-border);
  border-top: 4px solid var(--em26-cobalt);
  border-radius: var(--em26-radius-card);
  background: var(--em26-paper);
}

.em26-product--resin-technical .em26-resin-variation-group__label {
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 800;
}

.em26-product--resin-technical .em26-resin-variation-group__choices {
  gap: 0.5rem;
}

.em26-product--resin-technical .em26-resin-variation-chip {
  min-width: 4.75rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1.5px solid var(--em26-border-strong);
  border-radius: var(--em26-radius-control);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.em26-product--resin-technical .em26-resin-variation-chip[aria-checked="true"] {
  border-color: var(--em26-cobalt);
  background: var(--em26-cobalt);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--em26-cobalt) 22%, transparent);
}

.em26-product--resin-technical .em26-resin-variation-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0.9rem;
  color: var(--em26r-turq-d);
  font-weight: 700;
}

.em26-product--resin-technical .em26-resin-variation-status::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--em26-turquoise);
}

.em26-product--resin-technical .single_variation_wrap .price,
.em26-product--resin-technical .woocommerce-variation-price {
  margin: 0 0 0.9rem;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.125rem);
  letter-spacing: -0.02em;
}

.em26-product--resin-technical .woocommerce-variation-add-to-cart,
.em26-product--resin-technical form.cart:not(.variations_form) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

.em26-product--resin-technical .quantity {
  margin: 0;
}

.em26-product--resin-technical .quantity input.qty {
  width: 4.5rem;
  min-height: 3rem;
  border: 1.5px solid var(--em26-border-strong);
  border-radius: var(--em26-radius-control);
  background: var(--em26-surface);
  color: var(--em26-ink);
  font: 700 1rem var(--em26-font-sans);
  text-align: center;
}

body .em26-product--resin-technical .single_add_to_cart_button {
  flex: 1 1 11rem;
  min-height: 3rem;
  padding-inline: 1.5rem;
  border: 0 !important;
  border-radius: var(--em26-radius-control) !important;
  background: var(--em26-magenta) !important;
  color: #fff !important;
  font: 800 1rem/1.2 var(--em26-font-sans) !important;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s, transform 0.15s;
}

body .em26-product--resin-technical .single_add_to_cart_button:hover:not(:disabled) {
  background: var(--em26-ink) !important;
  transform: translateY(-1px);
}

body .em26-product--resin-technical .single_add_to_cart_button.disabled,
body .em26-product--resin-technical .single_add_to_cart_button:disabled {
  background: color-mix(in srgb, var(--em26-ink) 12%, var(--em26-surface)) !important;
  color: var(--em26-muted) !important;
}

.em26-product--resin-technical .commercekit-wishlist {
  margin: 0.5rem 0 0;
}

/* proof under the buy button: documents as a clean list */
.em26-product--resin-technical .em26-product-documents {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--em26-border);
}

.em26-product--resin-technical .em26-product-documents .em26-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--em26r-turq-d);
  font-family: var(--em26-font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.em26-product--resin-technical .em26-product-documents__label {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.em26-product--resin-technical .em26-product-documents__grid {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.em26-product--resin-technical .em26-product-document {
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  min-height: 3.75rem;
  padding: 0.55rem 0.85rem 0.55rem 0.7rem;
  border-radius: var(--em26-radius-control);
  background: var(--em26-surface);
  transition: border-color 0.2s, transform 0.2s var(--em26r-ease), background 0.2s;
}

.em26-product--resin-technical .em26-product-document::after {
  content: "↗︎";
  color: var(--em26-muted);
  font-weight: 700;
  transition: color 0.2s, transform 0.2s var(--em26r-ease);
}

.em26-product--resin-technical .em26-product-document:hover {
  transform: translateY(-1px);
}

.em26-product--resin-technical .em26-product-document:hover::after {
  color: var(--em26-cobalt);
  transform: translate(2px, -2px);
}

.em26-product--resin-technical .em26-product-document--food .em26-product-document__icon {
  background: color-mix(in srgb, var(--em26-turquoise) 16%, var(--em26-surface));
  color: var(--em26r-turq-d);
}

/* details after the proof */
.em26-product--resin-technical .summary > .woocommerce-product-details__short-description {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--em26-border);
  font-size: 1rem;
  line-height: 1.6;
}

.em26-product--resin-technical .summary > .woocommerce-product-details__short-description ul {
  padding-left: 1.2rem;
}

.em26-product--resin-technical .summary > .woocommerce-product-details__short-description li::marker {
  color: var(--em26-cobalt);
}

.em26-product--resin-technical .summary > .woocommerce-product-details__short-description a {
  color: var(--em26-cobalt);
  text-underline-offset: 3px;
}

.em26-product--resin-technical .product_meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--em26-border);
  color: var(--em26-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.em26-product--resin-technical .product_meta .posted_in a {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--em26r-sunk);
  color: var(--em26-ink);
  font-weight: 600;
  text-decoration: none;
}

.em26-product--resin-technical .product_meta .posted_in a:hover {
  background: var(--em26-ink);
  color: #fff;
}

/* section headings of the long description */
.em26-product--resin-technical .em26-resin-section h2,
.em26-product--resin-technical .em26-resin-videos h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.em26-product--resin-technical .em26-resin-section__body a,
.em26-product--resin-technical .em26-resin-sections a:not([class]) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- 9. motion preference + narrow screens ---------- */

@media (prefers-reduced-motion: reduce) {
  body.em26-category--resin .onsale::after,
  body .em26-product--resin-technical .onsale::after {
    animation: none;
  }
  .em26-category--resin .em26-category-route,
  .em26-category--resin li.product,
  .em26-product--resin-technical .em26-product-document {
    transition: none;
  }
}

@media (max-width: 62rem) {
  .em26-category--resin .em26-category-routes__grid,
  .em26-category--resin ul.products:has(> li.product-category) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em26-product--resin-technical div.product {
    grid-template-columns: minmax(0, 1fr);
  }

  .em26-product--resin-technical div.product > .images,
  .em26-product--resin-technical .em26-pdp-top > .images {
    position: relative;
    top: auto;
  }
}

@media (max-width: 40rem) {
  .em26-category--resin .em26-category-hero--resin {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .em26-category--resin .em26-resin-pro-mark {
    order: -1;
    width: 8.5rem;
    padding: 0.8rem 1rem;
  }

  .em26-category--resin .em26-category-routes__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .em26-category--resin .em26-category-route,
  .em26-category--resin .em26-category-route:first-child,
  .em26-category--resin .em26-category-route:last-child {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    min-height: 5.75rem;
    padding: 0 3.25rem 0 0;
    border-top-width: 1px;
    border-left: 4px solid var(--c);
  }

  .em26-category--resin .em26-category-route::before,
  .em26-category--resin .em26-category-route:first-child::before,
  .em26-category--resin .em26-category-route:last-child::before {
    grid-row: 1 / 3;
    align-self: stretch;
    height: auto;
    margin: 0;
    border-bottom: 0;
    border-right: 1px solid var(--em26-border);
    background-size: 3rem, auto, auto;
  }

  .em26-category--resin .em26-category-route__number {
    display: none;
  }

  .em26-category--resin .em26-category-route strong,
  .em26-category--resin .em26-category-route:first-child strong,
  .em26-category--resin .em26-category-route:last-child strong {
    align-self: end;
    padding: 0.7rem 0 0 0.9rem;
    font-size: 1.0625rem;
  }

  .em26-category--resin .em26-category-route small,
  .em26-category--resin .em26-category-route:first-child small,
  .em26-category--resin .em26-category-route:last-child small {
    align-self: start;
    margin-top: 0.2rem;
    padding: 0 0 0.7rem 0.9rem;
    font-size: 0.875rem;
  }

  .em26-category--resin .em26-category-route b,
  .em26-category--resin .em26-category-route:first-child b,
  .em26-category--resin .em26-category-route:last-child b {
    top: 50%;
    bottom: auto;
    right: 0.7rem;
    margin-top: -1.125rem;
  }

  .em26-category--resin .em26-category-route:hover::before {
    background-size: 3rem, auto, auto;
  }

  .em26-category--resin ul.products:has(> li.product-category) {
    grid-template-columns: minmax(0, 1fr);
  }

  .em26-category--resin ul.products:not(:has(> li.product-category)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem !important;
  }

  .em26-category--resin li.product:not(.product-category) {
    padding: 0.5rem !important;
  }

  .em26-category--resin li.product:not(.product-category) .woocommerce-loop-product__title {
    font-size: 0.9375rem;
  }

  .em26-category--resin li.product:not(.product-category) .price {
    font-size: 1.125rem;
  }

  .em26-category--resin li.product:not(.product-category) a.button {
    min-height: 2.75rem;
    padding-inline: 0.5rem;
    font-size: 0.9375rem;
  }

  body.em26-category--resin .onsale,
  body .em26-product--resin-technical .onsale {
    top: 0.85rem !important;
    left: 0.85rem !important;
  }

  .em26-product--resin-technical .em26-resin-variation-chip {
    min-width: calc(33.333% - 0.35rem);
    flex: 1 1 calc(33.333% - 0.35rem);
  }

  .em26-product--resin-technical .summary.entry-summary {
    padding: 1rem;
  }
}

/* CODEX-REVIEW (disabled): the CommerceKit swatch row duplicates the theme's
 * own packaging chips. Hiding it visually, not from the DOM, would leave a
 * single choice. It touches variation UI, so it needs Codex approval.
 *
 * .em26-product--resin-technical .cgkit-attribute-swatches,
 * .em26-product--resin-technical .cgkit-swatch-title {
 *   position: absolute !important; width: 1px !important; height: 1px !important;
 *   overflow: hidden !important; clip-path: inset(50%) !important;
 * }
 */

/* ---------- route icons (generated from the approved icon set) ---------- */
.em26-category--resin .em26-category-route:nth-child(1){--c:#1D5DBB;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20fill='%231D5DBB'%20fill-opacity='.2'%20stroke='none'%20d='M7.5%2040h14v14h-14zM25.5%2038h12v16h-12zM40%2042h18v12H40z'/%3E%3Cpath%20d='M11.5%2012h6v7l4%206v29h-14V25l4-6z'/%3E%3Cpath%20d='M28.5%2022h6v6l3%205v21h-12V33l3-5z'/%3E%3Cpath%20d='M43%2030h12v3l3%203v18H40V36l3-3z'/%3E%3Cpath%20stroke='%231D5DBB'%20d='M11.5%2012h6M28.5%2022h6M43%2030h12M7.5%2040h14M25.5%2038h12M40%2042h18'/%3E%3Cpath%20stroke-width='1.5'%20opacity='.6'%20d='M4%2054h56'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(2){--c:#129A9A;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20fill='%23129A9A'%20fill-opacity='.2'%20stroke='none'%20d='M12%2038c5-3%208%203%2013%200s8%203%2013%200%208%203%2012%200v4a4%204%200%2001-4%204H16a4%204%200%2001-4-4z'/%3E%3Cpath%20d='M12%2032v10a4%204%200%20004%204h30a4%204%200%20004-4V32'/%3E%3Cpath%20stroke='%23129A9A'%20d='M12%2038c5-3%208%203%2013%200s8%203%2013%200%208%203%2012%200'/%3E%3Cpath%20d='M31%2010c3%204%205%207%205%2010a5%205%200%2001-10%200c0-3%202-6%205-10z'/%3E%3Cpath%20stroke='%23129A9A'%20d='M57%2038v8M54.5%2038h5M54.5%2046h5'/%3E%3Cpath%20stroke-width='1.5'%20opacity='.6'%20d='M8%2052h42'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(3){--c:#1D5DBB;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20fill='%231D5DBB'%20fill-opacity='.2'%20stroke='none'%20d='M12%2026c5-3%208%203%2013%200s8%203%2013%200%208%203%2012%200v22a4%204%200%2001-4%204H16a4%204%200%2001-4-4z'/%3E%3Cpath%20d='M12%2012v36a4%204%200%20004%204h30a4%204%200%20004-4V12'/%3E%3Cpath%20stroke='%231D5DBB'%20d='M12%2026c5-3%208%203%2013%200s8%203%2013%200%208%203%2012%200'/%3E%3Ccircle%20stroke='%231D5DBB'%20cx='24'%20cy='38'%20r='2.2'/%3E%3Ccircle%20stroke='%231D5DBB'%20cx='37'%20cy='34'%20r='1.6'/%3E%3Ccircle%20stroke='%231D5DBB'%20cx='30'%20cy='45'%20r='1.4'/%3E%3Cpath%20stroke='%231D5DBB'%20d='M57%2026v26M54.5%2026h5M54.5%2052h5'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(4){--c:#B31368;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2316353D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate%28-14 32 40%29'%3E%3Cpath fill='%23B31368' fill-opacity='.16' stroke='none' fill-rule='evenodd' d='M32 32a14 14 0 1 0 .01 0zm0 4.2a9.8 9.8 0 1 1-.01 0z'/%3E%3Ccircle cx='32' cy='46' r='14'/%3E%3Ccircle cx='32' cy='46' r='9.8' stroke-width='1.5' opacity='.5'/%3E%3Cpath fill='%23B31368' fill-opacity='.22' d='M22 6h20l6 11-16 16-16-16z'/%3E%3Cpath stroke='%23B31368' stroke-width='2' d='M16 17h32M27 17l5 16 5-16M27 17l-2-11M37 17l2-11'/%3E%3C/g%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(5){--c:#129A9A;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20fill='%23129A9A'%20fill-opacity='.2'%20stroke='none'%20d='M13%2031c6-6%2010%206%2016%200s10%206%2016%200%206%200%206%200v10a2%202%200%2001-2%202H15a2%202%200%2001-2-2z'/%3E%3Crect%20x='8'%20y='10'%20width='48'%20height='38'%20rx='4'/%3E%3Cpath%20stroke='%23129A9A'%20d='M13%2031c6-6%2010%206%2016%200s10%206%2016%200%206%200%206%200'/%3E%3Cpath%20stroke='%23FFFEFA'%20stroke-width='2'%20d='M41%2015l-8%2013'/%3E%3Cpath%20d='M20%2048l-4%2010M44%2048l4%2010'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(6){--c:#1D5DBB;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='14'%20y='8'%20width='36'%20height='46'%20rx='3'/%3E%3Cpath%20fill='%231D5DBB'%20fill-opacity='.2'%20stroke='none'%20d='M18%2014h28v6H18z'/%3E%3Cpath%20stroke='%231D5DBB'%20d='M18%2014h28v6H18z'/%3E%3Cpath%20fill='%231D5DBB'%20fill-opacity='.2'%20stroke='none'%20d='M23%2020v8a2.5%202.5%200%20005%200v-8zM33%2020v12a2.5%202.5%200%20005%200V20zM41%2020v6a2%202%200%20004%200v-6z'/%3E%3Cpath%20stroke='%231D5DBB'%20d='M23%2020v8a2.5%202.5%200%20005%200v-8M33%2020v12a2.5%202.5%200%20005%200V20M41%2020v6a2%202%200%20004%200v-6'/%3E%3Cpath%20stroke-width='1.5'%20opacity='.6'%20d='M20%2042h24M20%2047h14'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(7){--c:#C58A10;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2316353D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23C58A10' fill-opacity='.24' stroke='none' d='M8 50l14-22 9 11 8-16 17 27z'/%3E%3Cpath d='M8 50l14-22 9 11 8-16 17 27z'/%3E%3Cpath d='M17 46l5-8 9 11 8-13 7 10' stroke-width='2'/%3E%3Cpath stroke-width='1.5' opacity='.55' d='M6 54h52'/%3E%3Cpath stroke='%23C58A10' d='M50 10l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(8){--c:#E05D49;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2316353D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23E05D49' fill-opacity='.2' stroke='none' d='M6 37h50l6-4-6 14q-2 4-7 4H15q-4 0-6-4z'/%3E%3Cpath d='M6 37h50l6-4-6 14q-2 4-7 4H15q-4 0-6-4z'/%3E%3Cpath stroke-width='1.5' opacity='.5' d='M11 43h42M13 47h37'/%3E%3Cpath d='M20 37V26q0-2 2-2h16q2 0 2 2v11'/%3E%3Cpath d='M18 24h24'/%3E%3Crect x='24' y='28' width='5' height='5' rx='1' stroke='%23E05D49' stroke-width='2'/%3E%3Crect x='32' y='28' width='5' height='5' rx='1' stroke='%23E05D49' stroke-width='2'/%3E%3Cpath d='M25 24v-9h7v9M23.5 15h10'/%3E%3Cpath stroke-width='1.5' opacity='.55' d='M4 56h56'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(9){--c:#B31368;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M22%208h20l-4%2010H26z'/%3E%3Cpath%20stroke='%23B31368'%20d='M32%2022v5M24%2021l-3%204M40%2021l3%204'/%3E%3Cpath%20fill='%23B31368'%20fill-opacity='.2'%20stroke='none'%20d='M16.7%2048h30.6l-2.3%208H19z'/%3E%3Cpath%20d='M16%2044h32l-3%2012H19z'/%3E%3Cpath%20d='M32%2030v5'/%3E%3Ccircle%20cx='32'%20cy='41'%20r='5'/%3E%3Cpath%20stroke='%23B31368'%20d='M30%2039.5a2.5%202.5%200%20012-1.5'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(10){--c:#0B6E6E;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2316353D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='1.5' opacity='.45' stroke-dasharray='3 3' d='M8 20h48v9H8z'/%3E%3Cpath fill='%230B6E6E' fill-opacity='.2' d='M8 20C14 46 50 46 56 20v9C50 55 14 55 8 29z'/%3E%3Cpath d='M8 20C14 46 50 46 56 20v9C50 55 14 55 8 29z'/%3E%3Cpath d='M8 12v24M56 12v24'/%3E%3Cpath stroke='%230B6E6E' d='M32 4v31M25.5 28.5 32 35l6.5-6.5'/%3E%3C/svg%3E")}
.em26-category--resin .em26-category-route:nth-child(11){--c:#1D5DBB;--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%2316353D'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20fill='%231D5DBB'%20fill-opacity='.2'%20stroke='none'%20d='M11%2040h10v10H11zM27%2033h10v17H27zM43%2026h10v24H43z'/%3E%3Cpath%20d='M14%2014h4v5l3%204v27H11V23l3-4z'/%3E%3Cpath%20d='M30%2014h4v5l3%204v27H27V23l3-4z'/%3E%3Cpath%20d='M46%2014h4v5l3%204v27H43V23l3-4z'/%3E%3Cpath%20stroke='%231D5DBB'%20d='M14%2014h4M30%2014h4M46%2014h4M11%2040h10M27%2033h10M43%2026h10'/%3E%3Cpath%20d='M6%2054h52'/%3E%3C/svg%3E")}

/* ── Product-card corrections found on live stage (Product Image Flipper + woocommerce.css overrides) ── */
.em26-category--resin li.product:not(.product-category) > a.woocommerce-LoopProduct-link { position: relative; }
body.em26-category--resin li.product:not(.product-category) > a.woocommerce-LoopProduct-link { display: block !important; flex: none !important; height: auto !important; }
.em26-category--resin li.product:not(.product-category) img { box-sizing: border-box; margin: 0 !important; }
.em26-category--resin li.product:not(.product-category) img.secondary-image {
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important; aspect-ratio: auto;
  background: var(--em26-surface); opacity: 0;
  transition: opacity 0.3s, transform 0.35s var(--em26r-ease);
}
.em26-category--resin li.product:not(.product-category):hover img.secondary-image { opacity: 1; }
.em26-category--resin li.product:not(.product-category) .price { align-self: stretch !important; float: none !important; width: auto !important; margin: auto 0.25rem 0 !important; text-align: left !important; }
body.em26-category--resin li.product:not(.product-category) span.price,
body.em26-category--resin li.product:not(.product-category) span.price .amount { font-size: 1.375rem !important; font-weight: 750 !important; line-height: 1.2; }
body.em26-category--resin li.product:not(.product-category) span.price { padding: 0 !important; }
.em26-category--resin li.product:not(.product-category) a.button { height: auto !important; min-height: 3rem; padding-block: 0.6rem; white-space: normal; line-height: 1.2; }
html body.em26-category--resin ul.products li.product:not(.product-category) .onsale { left: 0.9rem !important; right: auto !important; top: 0.9rem !important; }

/* =====================================================================
   Enhancements that need assets/js/resin-enhance.js (proposed, see
   docs/claude-handoff/resin-enhance-patch.md). Without the script none of
   these selectors match, so this block is inert and safe to ship early.
   ===================================================================== */

/* consistency scale: one continuous line, light = liquid, dark = thick; the marker sits at the product's rank.
   Layout: label and word on one line, the line below, one plain sentence under it. */
.em26-density {
  display: grid;
  gap: 0.6rem;
  max-width: 32rem;
  margin: 0.9rem 0 0.35rem;
  font-family: var(--em26-font-sans);
}

.em26-density__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.em26-density__label {
  color: var(--em26-muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.em26-density__value {
  color: var(--em26-ink);
  font-size: 1rem;
  font-weight: 800;
  text-align: right;
}

.em26-density__scale {
  position: relative;
  display: block;
  width: 100%;
  height: 0.625rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7eeee 0%, #9ed8d8 28%, #129a9a 58%, #0b6e6e 80%, #16353d 100%);
  box-shadow: inset 0 0 0 1px rgba(22, 53, 61, 0.2);
}

.em26-density__ends {
  display: flex;
  justify-content: space-between;
  margin-top: -0.2rem;
  color: var(--em26-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.em26-density__why {
  margin: 0;
  color: var(--em26-ink);
  font-size: 0.875rem;
  line-height: 1.4;
}

.em26-density__mark {
  position: absolute;
  top: 50%;
  width: 0.375rem;
  height: 1.375rem;
  border-radius: 3px;
  background: var(--em26-surface, #fffefa);
  box-shadow: 0 0 0 2px var(--em26-ink, #16353d);
  transform: translate(-50%, -50%);
}

.em26-product--resin-technical .summary > .em26-density { order: 1; }

/* density chip in listing cards */
.em26-density-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.25rem 0.5rem;
  color: var(--em26-muted);
  font: 650 0.8125rem/1.2 var(--em26-font-sans);
}

.em26-density-chip .em26-density__scale { display: inline-block; width: 5.5rem; height: 0.5rem; }
.em26-density-chip .em26-density__mark { width: 0.3125rem; height: 1rem; }

/* key facts under the price */
.em26-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  margin: 0.85rem 0 0;
  overflow: hidden;
  border: 1px solid var(--em26-border);
  border-radius: var(--em26-radius-control, 8px);
  background: var(--em26-surface);
}

.em26-specs > div { padding: 0.7rem 0.9rem; border-right: 1px solid var(--em26-border); }
.em26-specs > div:last-child { border-right: 0; }
.em26-specs dt { margin: 0; color: var(--em26-muted); font: 650 0.8125rem/1.3 var(--em26-font-sans); }
.em26-specs dd { margin: 0.1rem 0 0; color: var(--em26-ink); font: 800 1.0625rem/1.25 var(--em26-font-sans); font-variant-numeric: tabular-nums; }
.em26-product--resin-technical .summary > .em26-specs { order: 2; }

/* quantity stepper */
.em26-product--resin-technical .quantity[data-em26-stepper] {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1.5px solid var(--em26-border-strong);
  border-radius: var(--em26-radius-control, 8px);
  background: var(--em26-surface);
}

.em26-product--resin-technical .quantity[data-em26-stepper] input.qty {
  width: 3.25rem;
  border: 0;
  border-radius: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.em26-product--resin-technical .quantity[data-em26-stepper] input.qty::-webkit-outer-spin-button,
.em26-product--resin-technical .quantity[data-em26-stepper] input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.em26-qty__btn {
  width: 2.75rem;
  min-height: 3rem;
  border: 0;
  background: transparent;
  color: var(--em26-ink);
  font: 700 1.25rem/1 var(--em26-font-sans);
  cursor: pointer;
}

.em26-qty__btn:hover { background: var(--em26r-sunk); }
.em26-qty__btn:focus-visible { outline: 3px solid var(--em26-cobalt); outline-offset: -3px; }

/* sticky buy bar: phones and tablets only, appears once the buy form has scrolled away */
.em26-buybar { display: none; }

@media (max-width: 62rem) {
  .em26-buybar:not([hidden]) {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem max(1rem, env(safe-area-inset-right, 0px)) calc(0.65rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--em26-border);
    background: var(--em26-surface);
    box-shadow: 0 -8px 24px rgba(22, 53, 61, 0.1);
  }

  .em26-buybar__info { flex: 1 1 auto; min-width: 0; line-height: 1.15; }
  .em26-buybar__name { display: block; overflow: hidden; color: var(--em26-muted); font: 600 0.75rem/1.3 var(--em26-font-sans); text-overflow: ellipsis; white-space: nowrap; }
  .em26-buybar__price { display: block; color: var(--em26-ink); font: 800 1.25rem/1.2 var(--em26-font-sans); font-variant-numeric: tabular-nums; }

  .em26-buybar__btn {
    flex: 0 0 auto;
    min-height: 3rem;
    padding: 0 1.25rem;
    border: 0;
    border-radius: var(--em26-radius-control, 8px);
    background: var(--em26-magenta);
    color: #fff;
    font: 800 1rem/1.2 var(--em26-font-sans);
    cursor: pointer;
  }

  .em26-buybar__btn:focus-visible { outline: 3px solid var(--em26-cobalt); outline-offset: 3px; }
  body.em26-product--resin-technical { padding-bottom: 4.5rem; }
}

/* section menu: current section is marked, anchors stop below the sticky menu */
.em26-product--resin-technical .em26-resin-sections [id] { scroll-margin-top: 8rem; }

.em26-product--resin-technical .em26-resin-sections__nav a[aria-current="true"] {
  background: var(--em26-ink);
  border-color: var(--em26-ink);
  color: #fff;
}

/* thickness picker on the category page */
.em26-thick {
  scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 6rem);
  margin: 0 0 1.25rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  /* One frame level only: the resin cards inside carry the frame, the panel is a flat band (owner: no frame-in-frame). */
  border: 0;
  border-radius: var(--em26-radius-card, 12px);
  background: var(--em26-surface);
  box-shadow: none;
}

.em26-thick__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; }
.em26-thick__title { margin: 0; font: 750 clamp(1.375rem, 2.6vw, 1.875rem)/1.15 var(--em26-font-sans); letter-spacing: -0.03em; }
.em26-thick__value { margin: 0; color: var(--em26-muted); font: 700 1.25rem var(--em26-font-sans); }
.em26-thick__value b { color: var(--em26-ink); font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }

.em26-thick__range {
  --p: 12%;
  display: block;
  width: 100%;
  height: 3rem;
  margin: 0.75rem 0 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.em26-thick__range::-webkit-slider-runnable-track { height: 0.75rem; border-radius: 6px; background: linear-gradient(90deg, #129a9a var(--p), var(--em26r-sunk) var(--p)); box-shadow: inset 0 0 0 1px var(--em26-border); }
.em26-thick__range::-moz-range-track { height: 0.75rem; border-radius: 6px; background: linear-gradient(90deg, #129a9a var(--p), var(--em26r-sunk) var(--p)); box-shadow: inset 0 0 0 1px var(--em26-border); }
.em26-thick__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2rem; height: 2rem; margin-top: -0.625rem; border: 4px solid var(--em26-cobalt); border-radius: 50%; background: var(--em26-surface); box-shadow: 0 3px 10px rgba(22, 53, 61, 0.3); }
.em26-thick__range::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border: 4px solid var(--em26-cobalt); border-radius: 50%; background: var(--em26-surface); box-shadow: 0 3px 10px rgba(22, 53, 61, 0.3); }
.em26-thick__range:focus-visible { outline: none; }
.em26-thick__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--em26-cobalt) 35%, transparent), 0 3px 10px rgba(22, 53, 61, 0.3); }

.em26-thick__quick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0.25rem; }
.em26-thick__quick-btn {
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border: 1.5px solid var(--em26-border);
  border-radius: 12px;
  background: var(--em26-surface);
  color: var(--em26-ink);
  font: 700 0.95rem/1 var(--em26-font-sans);
  cursor: pointer;
}
.em26-thick__quick-btn:hover { border-color: var(--em26-cobalt); }
.em26-thick__quick-btn[aria-pressed="true"] { border-color: var(--em26-ink); background: var(--em26-ink); color: var(--em26-surface); }
.em26-thick__quick-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--em26-cobalt) 45%, transparent); outline-offset: 2px; }
.em26-thick__ends { display: flex; justify-content: space-between; margin: -0.25rem 0.25rem 0; color: var(--em26-muted); font: 600 0.75rem var(--em26-font-mono, monospace); }
.em26-thick__result { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; min-height: 2.5rem; font-weight: 700; }
.em26-thick__lead { color: var(--em26-muted); font-weight: 650; }

.em26-thick__chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, #129a9a 14%, var(--em26-surface));
  box-shadow: inset 0 0 0 1.5px #129a9a;
  color: var(--em26-ink);
  font-size: 0.875rem;
  text-decoration: none;
}

.em26-thick__chip:hover { background: var(--em26r-turq-d); color: #fff; }

.em26-thick__heading { min-width: min(100%, 28rem); }
.em26-thick__hint { max-width: 58ch; margin: 0.45rem 0 0; color: var(--em26-muted); font-size: 0.95rem; }
.em26-thick__result { display: block; min-height: 2.5rem; }
.em26-thick__result-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin: 1rem 0 0.875rem; }
.em26-thick__result-bar p { margin: 0; }
.em26-thick__more { color: var(--em26-muted); font-size: 0.9rem; font-weight: 600; }
.em26-thick__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.em26-thick-card {
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--em26-border);
  border-top: 4px solid #129a9a;
  border-radius: var(--em26-radius-card, 12px);
  background: var(--em26-surface);
  box-shadow: 0 1px 2px rgba(22, 53, 61, 0.05), 0 7px 20px rgba(22, 53, 61, 0.06);
  overflow-wrap: break-word;
}
.em26-thick-card--conditional { border-top-color: var(--em26-saffron); }
.em26-thick-card__top { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; }
.em26-thick-card__media { flex: 0 0 4.5rem; display: block; border-radius: 8px; overflow: hidden; background: var(--em26r-sunk); }
.em26-thick-card__media img { display: block; width: 4.5rem; height: 4.5rem; object-fit: cover; }
.em26-thick-card__identity { min-width: 0; }
.em26-thick-card__name { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.28; letter-spacing: -0.015em; }
.em26-thick-card__name a { color: var(--em26-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.em26-thick-card__price { margin: 0.35rem 0 0; color: var(--em26-muted); font-size: 0.84rem; font-weight: 700; }
.em26-thick-card__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 1.75rem; padding: 0.15rem 0.65rem; border: 1px solid; border-radius: 999px; font-size: 0.77rem; font-weight: 800; line-height: 1.25; }
.em26-thick-card__badge i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.em26-thick-card__badge--match { color: #0b6e6e; border-color: #129a9a; background: color-mix(in srgb, #129a9a 12%, var(--em26-surface)); }
.em26-thick-card__badge--conditional { color: #795600; border-color: var(--em26-saffron); background: color-mix(in srgb, var(--em26-saffron) 18%, var(--em26-surface)); }
.em26-thick-card__range { position: relative; height: 0.5rem; margin-top: 0.25rem; border-radius: 4px; background: var(--em26r-sunk); box-shadow: inset 0 0 0 1px var(--em26-border); }
.em26-thick-card__range i { position: absolute; top: 0; bottom: 0; display: block; }
.em26-thick-card__range-main { border-radius: 4px; background: #129a9a; }
.em26-thick-card__range-extended { border-radius: 4px; background: repeating-linear-gradient(135deg, var(--em26-saffron) 0 4px, transparent 4px 7px); }
.em26-thick-card__range-marker { width: 3px; margin-left: -1.5px; inset-block: -5px !important; border-radius: 2px; background: var(--em26-cobalt); }
.em26-thick-card__range-labels { position: relative; height: 0.9rem; margin-top: 0.2rem; color: var(--em26-muted); font: 600 0.68rem/1 var(--em26-font-mono, monospace); }
.em26-thick-card__range-label { position: absolute; top: 0; white-space: nowrap; }
.em26-thick-card__range-label--mid { transform: translateX(-50%); }
.em26-thick-card__range-label--end { transform: translateX(-100%); }
.em26-thick-card__comment { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.em26-thick-card__condition { margin: 0; color: #795600; font-size: 0.83rem; font-weight: 750; }
.em26-thick-card .em26-density { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.em26-thick-card__go { margin-top: auto; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--em26-cobalt); font-size: 0.88rem; font-weight: 800; text-underline-offset: 0.2em; }
.em26-thick__misses { max-width: none; margin: 0.875rem 0 0; color: var(--em26-muted); font-size: 0.82rem; line-height: 1.5; }

/* same picker under a sub-section's product grid: quieter type, room above and below */
.em26-thick--sub { margin: clamp(2rem, 5vw, 3rem) 0; }
.em26-thick--sub .em26-thick__title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.em26-thick--sub .em26-thick__value b { font-size: clamp(2rem, 5vw, 2.75rem); }
.em26-thick--sub .em26-thick__result-bar { margin-top: 0.75rem; }

@media (max-width: 920px) {
  .em26-thick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .em26-thick { padding: 1rem; }
  .em26-thick__head { align-items: flex-start; }
  .em26-thick__value { width: 100%; }
  .em26-thick__grid { grid-template-columns: minmax(0, 1fr); }
  .em26-thick-card { padding: 0.9rem; }
}

body.em26-category--resin li.product-category.em26-is-dim { opacity: 0.45; }
body.em26-category--resin li.product-category.em26-is-match { box-shadow: 0 0 0 2px #129a9a, var(--em26r-shadow); }

@media (prefers-reduced-motion: reduce) {
  body.em26-category--resin li.product-category.em26-is-dim { transition: none; }
}

/* ---------- phones: count and sorting get a full row; very narrow route cards keep words whole ---------- */

/* the two-column surface (1fr auto) let the full-width select take the whole auto column and squeezed the count to 0 px */
@media (max-width: 47.99rem) {
  .em26-category--resin .em26-woo-surface--category {
    grid-template-columns: minmax(0, 1fr);
  }

  .em26-category--resin .woocommerce-result-count,
  .em26-category--resin .woocommerce-ordering {
    grid-column: 1 / -1 !important;
  }
}

/* 320 px: smaller icon column and arrow reserve, so «вертикального» and «Поліуретанові» fit on one line */
@media (max-width: 22.5rem) {
  .em26-category--resin .em26-category-route,
  .em26-category--resin .em26-category-route:first-child,
  .em26-category--resin .em26-category-route:last-child {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    padding-right: 2.75rem;
  }
}
