/* =================== pcard.css =================== */
/* pcard - premium product card block. The actual catalog/list card on
 * /shop, /favorites, PDP related, search results, etc. Variants:
 *   --a editorial (large media, title overlay)
 *   --b compact rail (horizontal mini)
 *   --c horizontal/grid DEFAULT (catalog grid)
 *   --d tagbar (lite with tag row)
 *   --mini cart-thumb / suggestions
 *
 * Sub-elements (BEM, all live in THIS file — pcard is one object):
 *   .pcard-shell    inner card surface (border, padding, shadow)
 *   .pcard-stage    media wrapper (aspect-ratio)
 *   .pcard-media    media link (overflow:hidden — clips images!)
 *   .pcard-media__glow
 *   .pcard-media__img / .pcard-media__img--hover / .pcard-media__placeholder
 *   .pcard-overlay  badges + actions overlay over media
 *   .pcard-badge    small pill (sale/hit/new)
 *   .pcard-body     text content
 *   .pcard-meta-row series + sku
 *   .pcard-series / .pcard-sku
 *   .pcard-title    serif clamp-2 title
 *   .pcard-caption  description body
 *   .pcard-props    chips strip
 *   .pcard-hoverband hover-revealed prop band
 *   .pcard-footer   price + cta row
 *   .pcard-pricebox / .pcard-pricebox__old / .pcard-pricebox__current
 *   .pcard-stock    stock pill (success/warn/danger)
 *   .pcard-act      tiny icon buttons (cmp/fav/qv/cart)
 *
 * The `.pcard-c__*` aliases mirror generic class names for variant-specific
 * tuning when needed but defaults work for all variants. Strictly .pcard / .pcard-*. */

/* ============ Outer wrapper ============ */
.pcard {
position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
}
.pcard a {
color: inherit; text-decoration: none;
}
.pcard a, .pcard button {
cursor: pointer;
}

/* ============ Shell (the visible card surface) ============
   overflow: VISIBLE so the absolute .pcard-hoverband (below body) can
   escape the card on hover without being clipped. Rounded-corner clipping
   moved to .pcard-stage (top corners) and .pcard-body (bottom corners). */
.pcard-shell {
position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-width: 0;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.14);
  border-radius: 18px;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(27, 20, 13, 0.03),
    0 4px 14px -6px rgba(27, 20, 13, 0.06),
    0 24px 60px -32px rgba(40, 30, 15, 0.10);
  transition:
    border-color 0.24s ease,
    box-shadow 0.32s ease;
}
.pcard-shell::before {
content: "";
  position: absolute;
  inset: 0; /* was -1px — now stays inside the card to avoid halo */
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 92% 0%, rgba(212, 184, 150, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(199, 155, 96, 0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.pcard:hover .pcard-shell, .pcard:focus-within .pcard-shell {
transform: none;
  border-color: rgba(185, 154, 111, 0.55);
  box-shadow:
    0 2px 4px rgba(27, 20, 13, 0.04),
    0 12px 30px -8px rgba(27, 20, 13, 0.10),
    0 38px 80px -28px rgba(40, 30, 15, 0.28);
}
.pcard:hover .pcard-shell::before {
opacity: 1;
}

/* ============ Stage (media wrapper) ============
   Subtle near-white gradient. Owns the TOP rounded corners since shell is
   overflow:visible (so the float hoverband can escape below the card). */
.pcard-stage {
position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--hc-paper, #ffffff) 0%, #fbf7ed 100%);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 0.5px solid rgba(141, 109, 71, 0.10);
  border-radius: 17.5px 17.5px 0 0; /* clip media to shell's top corners */
}
.pcard-stage::before {
content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(560px 320px at 80% -20%, rgba(212, 184, 150, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pcard:hover .pcard-stage::before {
opacity: 1;
}
.pcard-stage--horizontal, .pcard-c__media-wrap {
aspect-ratio: 1.05;
}
.pcard--a .pcard-stage {
aspect-ratio: 1.2;
}
.pcard--b .pcard-stage {
aspect-ratio: 1;
}

/* ============ Media link ============ */
.pcard-media, .pcard-c__media {
position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 10%;
  overflow: hidden;
  isolation: isolate;
}
.pcard-media__glow {
position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 25%, rgba(255, 252, 247, 0.55), transparent 50%);
}
.pcard-media__placeholder, .pcard-c__ph {
position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 10%;
  pointer-events: none;
}
.pcard-media__placeholder svg, .pcard-c__ph svg {
max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 4px 8px rgba(122, 101, 72, 0.16));
}
/* Inline SVG schematics inside pcard-stage rely on stroke; defeat the
   global `svg { fill: currentColor }` baseline. */
.pcard-stage svg circle:not([fill]), .pcard-stage svg rect:not([fill]), .pcard-stage svg ellipse:not([fill]), .pcard-stage svg path:not([fill]), .pcard-stage svg line:not([fill]) {
fill: none;
}
.pcard-media__img, .pcard-media picture {
position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.pcard-media__img, .pcard-media picture img {
width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, filter 0.55s ease;
}
.pcard:hover .pcard-media__img, .pcard:hover .pcard-media picture img {
transform: scale(1.06);
  filter: drop-shadow(0 18px 28px rgba(40, 29, 16, 0.16));
}
.pcard-media--has-img .pcard-media__placeholder, .pcard-media--has-img .pcard-c__ph {
  display: none;
}
.pcard-media--has-img.hc-media-fallback .pcard-media__placeholder, .pcard-media--has-img.hc-media-fallback .pcard-c__ph {
  display: grid;
}
/* If JS marks an img as broken, hide it and let the placeholder show */
.pcard-media__img.hc-img-broken {
display: none;
}

/* ============ Overlay (badges + actions over media) ============ */
.pcard-overlay {
position: absolute;
  inset: 12px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.pcard-overlay--compact {
inset: 10px;
}
.pcard-overlay__badges {
display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
/* Quick-action icon column (quickview / favorite / cart/compare).
   Lives inside the media overlay so it is independent from the price footer. */
.pcard-overlay__actions, .pcard-c__actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center; /* keep children at their natural 30x30; no stretch */
  gap: 6px;
  width: 32px; /* clamp container so flex can't widen children */
  opacity: 0.85;
  transform: translateX(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: auto;
}
.pcard:hover .pcard-overlay__actions, .pcard:focus-within .pcard-overlay__actions, .pcard:hover .pcard-c__actions, .pcard:focus-within .pcard-c__actions {
opacity: 1;
  transform: translateX(-2px);
}

/* ============ Badges ============ */
.pcard-badge, .pcard-c__chip {
display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #2a2018, #4a3d2a);
  color: var(--hc-paper, #ffffff);
  box-shadow: 0 4px 10px -2px rgba(40, 30, 15, 0.25);
  pointer-events: auto;
}
.pcard-badge--sale, .pcard-c__chip--sale {
background: linear-gradient(135deg, #8b3f32, #6f3329);
}
.pcard-badge--gold, .pcard-badge--bestseller, .pcard-badge--hit {
background: linear-gradient(135deg, #e8c896 0%, #c9a878 50%, #b89a6f 100%);
  color: #2a2018;
  border: 0.5px solid rgba(212, 184, 150, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 12px -2px rgba(212, 184, 150, 0.45),
    0 1px 2px rgba(40, 30, 15, 0.18);
  text-shadow: 0 1px 0 rgba(255, 252, 247, 0.32);
}
.pcard-badge--new {
background: linear-gradient(135deg, var(--hc-success, #3d6b4f), #2c5039);
}

/* ============ Action icon-buttons ============ */
.pcard-act, .pcard-c__sec {
flex: 0 0 30px; /* lock size — prevents flex-stretch from making them ovals */
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0.5px solid rgba(141, 109, 71, 0.22);
  border-radius: 50%;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.78));
  cursor: pointer;
  box-shadow: 0 2px 6px -2px rgba(40, 30, 15, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.pcard-act svg {
width: 14px;
  height: 14px;
}
.pcard-act:hover, .pcard-c__sec:hover {
background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border-color: var(--hc-ink, #1a1714);
  transform: scale(1.08);
}
.pcard-act--fav.is-active, .hc-atc-fav.is-active {
background: #c0392b;
  color: var(--hc-paper, #ffffff);
  border-color: #c0392b;
}

/* ============ Body ============
   Flex column so the .pcard-footer's margin-top:auto pins it to the
   bottom — guarantees identical footer-Y across all cards in a row when
   align-items:stretch is on the grid (which it is). NOT position:relative
   so absolute overlay actions resolve up to .pcard-shell. */
.pcard-body, .pcard-c__body {
isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  min-width: 0;
  background: var(--hc-paper, #ffffff);
  border-radius: 0 0 17.5px 17.5px;
}
.pcard-meta-row {
display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.pcard-series, .pcard-c__series {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard-sku, .pcard-c__sku {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.45));
  white-space: nowrap;
  flex-shrink: 0;
}

.pcard-title, .pcard-c__title {
/* Unified title clamping and flow behavior across all pcard variants. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  margin: 2px 0;
  transition: color 0.18s ease;
  /* Hard guards: break inside super-long tokens (SKUs / URLs) so the title
     never escapes its grid column. */
  min-width: 0;
  max-width: 100%;
  min-height: calc(15.5px * 1.3 * 2);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.pcard:hover .pcard-title, .pcard:hover .pcard-c__title {
color: var(--hc-accent-dark, #5d4d3a);
}
.pcard--b .pcard-title {
font-size: 14px;
}

.pcard-caption, .pcard-c__caption {
display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.62));
}

/* ============ Props chips (small spec pills) ============ */
.pcard-props, .pcard-c__props {
display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 2px 0 4px;
}
.pcard-props__chip, .pcard-c__pill {
display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(212, 184, 150, 0.16);
  border: 0.5px solid rgba(212, 184, 150, 0.32);
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hc-accent-dark, #7a6548);
  white-space: nowrap;
}

/* ============ Hover-revealed prop band ============
   ABSOLUTE float panel below the card body. Card itself keeps uniform row
   height (align-items:stretch on grids); ONLY the hovered card grows
   visually by revealing this panel — siblings stay at row height. z-index
   lifts the hovered card above neighbours. */
.pcard-hoverband {
position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 6;
  margin-top: -1px;
  padding: 0 14px;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, var(--hc-paper, #ffffff) 0%, rgba(252, 248, 240, 0.98) 100%);
  border: 0.5px solid transparent;
  border-top: 0;
  border-radius: 0 0 17.5px 17.5px;
  box-shadow: 0 24px 44px -20px rgba(40, 30, 15, 0.28);
  transition:
    max-height 0.32s cubic-bezier(0.2, 0.8, 0.3, 1),
    opacity 0.24s ease,
    padding 0.30s ease,
    border-color 0.30s ease;
}
.pcard:hover .pcard-hoverband, .pcard:focus-within .pcard-hoverband {
max-height: 280px;
  opacity: 1;
  padding: 12px 14px 14px;
  pointer-events: auto;
  border-color: rgba(141, 109, 71, 0.32);
}
.pcard {
z-index: 1;
}
.pcard:hover, .pcard:focus-within {
z-index: 8;
}
.pcard-hoverband--inline {
display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: var(--hc-ink-soft);
}
.pcard-hoverband__item {
display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 0.5px dashed rgba(141, 109, 71, 0.20);
}
.pcard-hoverband__item:last-child {
border-bottom: 0;
}
.pcard-hoverband__item span {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}
.pcard-hoverband__item strong {
font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--hc-ink, #1a1714);
  text-align: right;
  letter-spacing: -0.005em;
}

/* ============ Footer (price + CTA) ============
   Column layout: pricebox stack (old / current / stock pill) on top,
   CTA full-width below. The c_horizontal template nests .pcard-stock
   inside .pcard-pricebox — we can't grid-place a nested element, so we
   stack everything vertically and let pricebox handle the price + stock
   internally as a flex column with the stock pill aligned to the start. */
.pcard-footer, .pcard-c__bottom {
display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 0.5px dashed rgba(141, 109, 71, 0.20);
}

.pcard-pricebox, .pcard-c__price-block {
display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  align-items: flex-start;
}

.pcard-pricebox__old, .pcard-c__price-old {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  line-height: 1;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.45));
  text-decoration: line-through;
  text-decoration-color: rgba(201, 67, 58, 0.6);
}
.pcard-pricebox__current, .pcard-c__price {
font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--hc-ink, #1a1714);
}
.pcard--b .pcard-pricebox__current {
font-size: 18px;
}
.pcard-pricebox__current.is-sale, .pcard-c__price--sale {
color: #8b3f32;
}
.pcard-pricebox__current.is-request, .pcard-c__price--ask {
font-size: 15px;
  font-style: italic;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}

/* ============ Stock indicator ============ */
.pcard-stock {
display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 3px 8px;
  background: rgba(61, 107, 79, 0.10);
  border: 0.5px solid rgba(61, 107, 79, 0.28);
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hc-success, #3d6b4f);
  white-space: nowrap;
  align-self: flex-start;
}
.pcard-stock::before {
content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pcard-stock--warn {
background: rgba(166, 116, 38, 0.10);
  border-color: rgba(166, 116, 38, 0.32);
  color: var(--hc-warning, #a67426);
}
.pcard-stock--danger {
background: rgba(201, 67, 58, 0.10);
  border-color: rgba(201, 67, 58, 0.32);
  color: var(--hc-danger, #c9433a);
}

/* ============ Primary CTA ============
   Full-width pill at the bottom of the card footer. */
.pcard-c__cta, .pcard-cta {
display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0 18px;
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.pcard-c__cta:hover, .pcard-cta:hover {
background: linear-gradient(135deg, #2a2018, #3d3024);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(40, 30, 15, 0.35);
}
.pcard-c__cta--request {
background: transparent;
  color: var(--hc-ink, #1a1714);
  border: 1px solid rgba(26, 23, 20, 0.22);
}
.pcard-c__cta--request:hover {
background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border-color: var(--hc-ink, #1a1714);
}

/* ============ Variants ============ */
/* --c (default catalog grid) — vertical card with media on top */
.pcard.pcard--c .pcard-shell {
grid-template-rows: auto 1fr;
}
.pcard--a .pcard-shell {
grid-template-rows: 1fr auto;
}
.pcard--b .pcard-shell {
display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-rows: none;
}
.pcard--d .pcard-shell {
grid-template-rows: auto 1fr;
}
.pcard--c .pcard-shell--c {
grid-template-rows: auto 1fr;
}

/* --a (editorial) — large media with title overlay (kept simple here) */



/* --b (compact rail) — horizontal mini for cross-sell rails */






/* --d (tagbar) — same as c but with bigger props row */


/* --mini variant — fully owned by pcard-mini.css (separate block file).
   This file no longer styles .pcard.pcard-mini to avoid the alphabetic
   cascade overriding the dedicated mini block (pcard.css loads after
   pcard-mini.css). */

@media (max-width: 1024px) {
  .pcard-body { padding: 14px 14px 16px; gap: 5px; }
  .pcard-title { font-size: 15px; }
  .pcard-pricebox__current { font-size: 21px; }
  .pcard-overlay__actions { opacity: 1; transform: none; }
  .pcard-hoverband { display: none; }
}

.pcard.pcard-mini .pcard-mini__ph svg {
width: 100%;
  height: 100%;
  display: block;
}

/* ─── folded from pcard-body.css ─── */
.pcard--b .pcard-body {
padding: 12px 14px;
}

.pcard .pcard-overlay__actions, .pcard .pcard-c__actions {
  z-index: 60;
  pointer-events: auto;
}
.pcard .pcard-act, .pcard .qv-btn {
  position: relative;
  z-index: 61;
  pointer-events: auto;
}
.pcard .pcard-stage, .pcard .pcard-c__media-wrap {
  position: relative;
  z-index: 3;
}
.pcard .pcard-body, .pcard .pcard-c__body {
  z-index: 1;
}
/* ---- folded from 116-hc-pcard.css ---- */
/* =================== hc-pcard.css =================== */
/* hc-pcard - premium product card.
 * Scope: every selector starts with .hc-pcard or .hc-pcard__*.
 * Anything outside this scope is owned by its own block file. */

.hc-pcard {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.14);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(27, 20, 13, 0.03),
    0 4px 14px -6px rgba(27, 20, 13, 0.06),
    0 24px 60px -32px rgba(40, 30, 15, 0.10);
  transition:
    border-color 0.24s ease,
    box-shadow 0.32s ease;
  will-change: border-color, box-shadow;
}
.hc-pcard::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 92% 0%, rgba(212, 184, 150, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(199, 155, 96, 0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.hc-pcard::after {
  content: "";
  position: absolute;
  left: -55%;
  top: -90%;
  width: 42%;
  height: 240%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 250, 240, 0.55) 50%,
    transparent 70%
  );
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.hc-pcard:hover {
  transform: none;
  border-color: rgba(185, 154, 111, 0.55);
  box-shadow:
    0 2px 4px rgba(27, 20, 13, 0.04),
    0 12px 30px -8px rgba(27, 20, 13, 0.10),
    0 38px 80px -28px rgba(40, 30, 15, 0.28);
  z-index: 5;
}
.hc-pcard:hover::before { opacity: 1; }
.hc-pcard:hover::after  { opacity: 1; transform: translateX(260%); }
.hc-pcard:focus-within {
  outline: 2px solid var(--hc-accent, #8b7355);
  outline-offset: 3px;
}

.hc-pcard__media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1.08;
  padding: 10%;
  background: linear-gradient(160deg, #f7f3ea 0%, #efe8da 100%);
  border-bottom: 0.5px solid rgba(141, 109, 71, 0.10);
  overflow: hidden;
  isolation: isolate;
}
.hc-pcard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 110%, rgba(199, 155, 96, 0.18), transparent 60%);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}
.hc-pcard:hover .hc-pcard__media::before { opacity: 1; }

.hc-pcard__media picture,
.hc-pcard__media img,
.hc-pcard__svg-fallback,
.hc-pcard__svg-fallback svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}
.hc-pcard:hover .hc-pcard__media img,
.hc-pcard:hover .hc-pcard__svg-fallback svg {
  transform: scale(1.08) rotate(-1deg);
  filter: drop-shadow(0 22px 36px rgba(40, 29, 16, 0.18));
}
.hc-pcard__svg-fallback {
  display: grid;
  place-items: center;
  min-height: 100%;
}


.hc-pcard__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.hc-pcard__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-paper, #ffffff);
  background: linear-gradient(135deg, #2a2018, #4a3d2a);
  box-shadow: 0 4px 10px -2px rgba(40, 30, 15, 0.25);
}
.hc-pcard__badge--sale {
  background: linear-gradient(135deg, #8b3f32, #6f3329);
}
.hc-pcard__badge--gold,
.hc-pcard__badge--bestseller {
  background: linear-gradient(135deg, var(--hc-gold, #d4b896), #b89a6f);
  color: #2a2018;
}
.hc-pcard__badge--new {
  background: linear-gradient(135deg, var(--hc-success, #3d6b4f), #2c5039);
}

.hc-pcard__tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.hc-pcard:hover .hc-pcard__tools,
.hc-pcard:focus-within .hc-pcard__tools {
  opacity: 1;
  transform: none;
}
.hc-pcard__tool {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(141, 109, 71, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.7));
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.hc-pcard__tool:hover {
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border-color: var(--hc-ink, #1a1714);
  transform: scale(1.08);
}
.hc-pcard__tool.is-active {
  background: #c0392b;
  color: var(--hc-paper, #ffffff);
  border-color: #c0392b;
}
.hc-pcard__tool--fav.is-active {
  background: #c0392b;
}

.hc-pcard__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  flex: 1 1 auto;
}
.hc-pcard__series {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
  margin-bottom: 2px;
}
.hc-pcard__series code {
  font: inherit;
  font-weight: 500;
  background: none;
  padding: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}
.hc-pcard__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  min-height: 2.5em;
  margin: 2px 0 6px;
  transition: color 0.18s ease;
}
.hc-pcard:hover .hc-pcard__title {
  color: var(--hc-accent-dark, #5d4d3a);
}
.hc-pcard__title-link {
  color: inherit;
  text-decoration: none;
}

.hc-pcard__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.hc-pcard__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hc-pcard__price {
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--hc-ink, #1a1714);
}
.hc-pcard__price-old {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  line-height: 1;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.45));
  text-decoration: line-through;
  text-decoration-color: rgba(201, 67, 58, 0.6);
}

.hc-pcard__atc,
.hc-pcard__buy,
.hc-pcard__add,
.hc-pcard__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  background: var(--hc-ink, #1a1714);
  border: 0;
  border-radius: var(--hc-r-pill, 999px);
  color: var(--hc-paper, #ffffff);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.hc-pcard__atc:hover,
.hc-pcard__buy:hover,
.hc-pcard__add:hover,
.hc-pcard__cta:hover {
  background: linear-gradient(135deg, #2a2018, #3d3024);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(40, 30, 15, 0.35);
}
.hc-pcard__atc:active,
.hc-pcard__buy:active {
  transform: translateY(0);
}
.hc-pcard__buy--outline {
  background: transparent;
  color: var(--hc-ink, #1a1714);
  border: 1px solid rgba(26, 23, 20, 0.25);
}
.hc-pcard__buy--outline:hover {
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #ffffff);
  border-color: var(--hc-ink, #1a1714);
}

.hc-pcard__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 2px 0 6px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}
.hc-pcard__specs span + span::before {
  content: "·";
  margin-right: 10px;
  margin-left: -3px;
  color: var(--hc-accent, #8b7355);
}

.hc-pcard__gallery {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  pointer-events: none;
}
.hc-pcard__gallery-seg {
  flex: 1;
  pointer-events: auto;
}
.hc-pcard__gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  gap: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.hc-pcard:hover .hc-pcard__gallery-dots { opacity: 1; }
.hc-pcard__gallery-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 17, 14, 0.18);
  border-radius: 50%;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hc-pcard__gallery-dot.is-active {
  background: var(--hc-ink, #1a1714);
  border-color: var(--hc-ink, #1a1714);
  transform: scale(1.25);
}

.hc-pcard__media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.hc-pcard__media-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}
.hc-pcard__media-alt.is-active { opacity: 1; }

.hc-pcard__hover-props {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 12px;
  background: rgba(255, 252, 247, 0.5);
  border-radius: 12px;
  transition: max-height 0.32s ease, opacity 0.24s ease, padding 0.32s ease, margin 0.32s ease;
  font-size: 12px;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.7));
}
.hc-pcard:hover .hc-pcard__hover-props,
.hc-pcard:focus-within .hc-pcard__hover-props {
  max-height: 240px;
  opacity: 1;
  padding: 10px 12px;
  margin: 6px 0;
}
.hc-pcard__ph-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}


@media (hover: none) {
  .hc-pcard__tools,
  .hc-pcard__hover-props {
    opacity: 1;
    transform: none;
    max-height: none;
  }
  .hc-pcard__hover-props {
    padding: 10px 12px;
    margin: 6px 0;
  }
}

@media (max-width: 1024px) {
  .hc-pcard__body { padding: 14px 14px 16px; }
  .hc-pcard__title { font-size: 15px; }
  .hc-pcard__price { font-size: 22px; }
}

/* Premium SVG-fallback styling (when product has no real photo, .hc-ph
   placeholder shows). Wrap with kinetic gold background. */
.hc-pcard__media:has(.hc-ph),
.hc-pcard__media:has(.hc-pcard__svg-fallback),
.hc-pcard__ph-wrap {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 252, 247, 0.7), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(184, 154, 111, 0.20), transparent 55%),
    linear-gradient(160deg, #f7f3ea 0%, #efe8da 60%, #e3d9c4 100%);
}

.hc-pcard:hover .hc-ph {
  filter: drop-shadow(0 10px 18px rgba(122, 101, 72, 0.32));
}


/* ---- folded from 191-pcard-mini.css ---- */
/* =================== pcard-mini.css =================== */
/* pcard-mini — compact product card variant used on home bestsellers rail,
 * cart suggestions, and other tight 3-up grids. Distinct namespace from the
 * main .pcard (the parent <a> carries .pcard pcard-mini but the child
 * elements use .pcard-mini__* exclusively). Strictly .pcard-mini /
 * .pcard-mini__*. */

.pcard.pcard-mini {
display: flex;
  flex-direction: column;
  position: relative;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.16);
  border-radius: clamp(14px, 1.2vw, 18px);
  text-decoration: none;
  color: var(--hc-ink, #1a1714);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.03),
    0 14px 32px -20px rgba(40, 30, 15, 0.16);
  transition:
    transform 0.30s cubic-bezier(0.2, 0.8, 0.3, 1),
    border-color 0.22s ease,
    box-shadow 0.30s ease;
  isolation: isolate;
}
.pcard.pcard-mini:hover {
transform: translateY(-4px);
  border-color: var(--hc-gold-border, rgba(212, 184, 150, 0.55));
  box-shadow:
    0 2px 4px rgba(40, 30, 15, 0.05),
    0 28px 60px -22px rgba(184, 154, 111, 0.32);
}

.pcard-mini__frame {
display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

/* ─── media area ─── */
.pcard-mini__media {
position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #fbf8f1 0%, #f3ede0 100%);
  overflow: hidden;
}
.pcard-mini__glow {
position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(360px 240px at 80% -10%, rgba(212, 184, 150, 0.18), transparent 60%);
  opacity: 0.85;
  transition: opacity 0.30s ease;
}


.pcard-mini__ph, .pcard-mini__img {
position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.pcard-mini__img {
width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.40s cubic-bezier(0.2, 0.8, 0.3, 1);
}


.pcard-mini__ph svg {
width: 56%;
  height: 56%;
  opacity: 0.92;
}

.pcard-mini__badges {
position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: calc(100% - 56px);
}
/* .pcard-badge styling lives in its own block file */

.pcard-mini__fav-icon {
position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 0.5px solid rgba(141, 109, 71, 0.18);
  border-radius: 50%;
  color: rgba(26, 23, 20, 0.42);
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.pcard-mini__fav-icon:hover {
background: var(--hc-paper, #ffffff);
  color: #b85c5c;
  transform: scale(1.08);
}
.pcard-mini__fav-icon svg {
width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
}

/* ─── body ─── */
.pcard-mini__body {
display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 6px;
  padding: 14px 14px 14px;
  min-width: 0;
}

.pcard-mini__meta {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.5));
}
.pcard-mini__sku {
overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.pcard-mini__title {
font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--hc-ink, #1a1714);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-mini__caption {
margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.62));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-mini__props {
display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.pcard-mini__props span {
display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(212, 184, 150, 0.12);
  border: 0.5px solid rgba(141, 109, 71, 0.18);
  border-radius: 6px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  color: var(--hc-accent-dark, #7a6548);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pcard-mini__price-row {
display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 0.5px dashed rgba(141, 109, 71, 0.18);
}
.pcard-mini__price {
font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--hc-ink, #1a1714);
  font-variant-numeric: tabular-nums;
}
.pcard-mini__price.is-request {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}
.pcard-mini__old {
font-size: 13px;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.42));
  text-decoration: line-through;
  text-decoration-color: rgba(166, 162, 156, 0.55);
  font-variant-numeric: tabular-nums;
}

.pcard-mini__cta {
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  padding: 9px 14px;
  background: var(--hc-ink, #1a1714);
  border: 0;
  border-radius: 10px;
  color: var(--hc-paper, #ffffff);
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  transition: background 0.22s ease, transform 0.22s ease;
}
.pcard-mini__cta:hover {
background: #000000;
  transform: translateY(-1px);
}
.pcard-mini__cta--ghost {
background: transparent;
  color: var(--hc-ink, #1a1714);
  border: 0.5px solid rgba(141, 109, 71, 0.32);
}
.pcard-mini__cta--ghost:hover {
background: rgba(212, 184, 150, 0.16);
  border-color: var(--hc-gold-border, rgba(212, 184, 150, 0.55));
}

.pcard-mini__hoverband {
display: none;
}

.pcard.pcard-mini:hover .pcard-mini__glow {
opacity: 1;
}

.pcard.pcard-mini:hover .pcard-mini__img {
transform: scale(1.04);
}


/* ---- folded from 222-pcard-a.css ---- */
/* =================== pcard-a.css =================== */
/* Variant A owns only .pcard--a / .pcard-a__*. No shared card-variant selectors. */

.pcard--a {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(141, 109, 71, 0.14);
  border-radius: 18px;
  background: var(--hc-paper, #ffffff);
  box-shadow: 0 18px 46px -28px rgba(40, 30, 15, 0.22);
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  isolation: isolate;
}

.pcard--a:hover {
  border-color: rgba(185, 154, 111, 0.42);
  box-shadow: 0 28px 64px -30px rgba(40, 30, 15, 0.28);
}

.pcard-a__media-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #f7efe1 100%);
  border-bottom: 1px solid rgba(141, 109, 71, 0.10);
}

.pcard-a__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.pcard-a__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12%;
}

.pcard-a__media picture,
.pcard-a__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
}

.pcard-a__chips {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 58px);
  pointer-events: none;
}

.pcard-a__chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: var(--hc-r-pill, 999px);
  background: linear-gradient(135deg, #2a2018, #4a3d2a);
  color: #fff;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -10px rgba(26, 23, 20, 0.45);
}

.pcard-a__chip--sale {
  background: linear-gradient(135deg, var(--hc-danger, #c9433a), #a82e26);
}

.pcard-a__rail {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 32px;
}

.pcard-a__body {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
}

.pcard-a__series,
.pcard-a__sku {
  min-width: 0;
  overflow: hidden;
  color: rgba(26, 23, 20, 0.56);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard-a__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hc-ink, #1a1714);
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pcard-a__caption {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(26, 23, 20, 0.66);
  font-size: 14px;
  line-height: 1.48;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pcard-a__rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(141, 109, 71, 0.20), transparent);
}

.pcard-a__props {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcard-a__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.pcard-a__price {
  color: var(--hc-ink, #1a1714);
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.pcard-a__price--sale {
  color: var(--sf-red, #c7442e);
}

.pcard-a__price-old {
  color: rgba(26, 23, 20, 0.42);
  text-decoration: line-through;
}

.pcard-a__stock {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(47, 111, 76, 0.18);
  border-radius: var(--hc-r-pill, 999px);
  background: rgba(47, 111, 76, 0.08);
  color: #2f6f4c;
  font-size: 12px;
  font-weight: 600;
}

.pcard-a__stock--low {
  border-color: rgba(186, 134, 42, 0.22);
  background: rgba(186, 134, 42, 0.10);
  color: #8a641e;
}

.pcard-a__stock--out {
  border-color: rgba(141, 109, 71, 0.18);
  background: rgba(141, 109, 71, 0.08);
  color: rgba(26, 23, 20, 0.58);
}

.pcard-a__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--hc-ink, #1a1714);
  color: #fff;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 28px -18px rgba(26, 23, 20, 0.55);
}

.pcard-a__cta--ghost {
  border: 1px solid rgba(141, 109, 71, 0.22);
  background: transparent;
  color: var(--hc-ink, #1a1714);
  box-shadow: none;
}

@media (max-width: 768px) {
  .pcard-a__body {
    padding: 16px;
  }
}


/* ---- folded from 223-pcard-b.css ---- */
/* =================== pcard-b.css =================== */
/* Variant B owns only .pcard--b / .pcard-b__*. */

.pcard--b {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding-bottom: 16px;
  border: 1px solid rgba(141, 109, 71, 0.14);
  border-radius: 18px;
  background: var(--hc-paper, #ffffff);
  box-shadow: 0 18px 46px -28px rgba(40, 30, 15, 0.22);
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  isolation: isolate;
}

.pcard--b:hover {
  border-color: rgba(185, 154, 111, 0.42);
  box-shadow: 0 28px 64px -30px rgba(40, 30, 15, 0.28);
}

.pcard-b__media-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #f7efe1 100%);
  border-bottom: 1px solid rgba(141, 109, 71, 0.10);
}

.pcard-b__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.pcard-b__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12%;
}

.pcard-b__media picture,
.pcard-b__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
}

.pcard-b__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 58px);
  pointer-events: none;
}

.pcard-b__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: var(--hc-r-pill, 999px);
  background: linear-gradient(135deg, #2a2018, #4a3d2a);
  color: #fff;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -10px rgba(26, 23, 20, 0.45);
}

.pcard-b__badge--sale {
  background: linear-gradient(135deg, var(--hc-danger, #c9433a), #a82e26);
}

.pcard-b__badge--new {
  background: linear-gradient(135deg, #f6e0b7, #d4b886);
  color: #2a2018;
}

.pcard-b__rail {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 32px;
}

.pcard-b__series,
.pcard-b__title,
.pcard-b__caption,
.pcard-b__props,
.pcard-b__bottom {
  margin-left: 18px;
  margin-right: 18px;
}

.pcard-b__series {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin-top: 18px;
  overflow: hidden;
  color: rgba(26, 23, 20, 0.56);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard-b__series code {
  color: rgba(26, 23, 20, 0.52);
  font-family: inherit;
}

.pcard-b__title {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--hc-ink, #1a1714);
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pcard-b__caption {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 0;
  color: rgba(26, 23, 20, 0.66);
  font-size: 14px;
  line-height: 1.48;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pcard-b__props {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.pcard-b__prop {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px dashed rgba(141, 109, 71, 0.14);
}

.pcard-b__prop span {
  min-width: 0;
  overflow: hidden;
  color: rgba(26, 23, 20, 0.52);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pcard-b__prop b {
  min-width: 0;
  overflow: hidden;
  color: var(--hc-ink, #1a1714);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard-b__bottom {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pcard-b__price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.pcard-b__price {
  color: var(--hc-ink, #1a1714);
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.pcard-b__rating {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(47, 111, 76, 0.18);
  border-radius: var(--hc-r-pill, 999px);
  background: rgba(47, 111, 76, 0.08);
  color: #2f6f4c;
  font-size: 12px;
  font-weight: 600;
}

.pcard-b__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--hc-ink, #1a1714);
  color: #fff;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 28px -18px rgba(26, 23, 20, 0.55);
}

@media (max-width: 768px) {
  .pcard-b__series,
  .pcard-b__title,
  .pcard-b__caption,
  .pcard-b__props,
  .pcard-b__bottom {
    margin-left: 16px;
    margin-right: 16px;
  }
}


/* ---- folded from 224-pcard-d.css ---- */
/* =================== pcard-d.css =================== */
/* Variant D owns only .pcard--d / .pcard-d__*. */

.pcard--d {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(141, 109, 71, 0.14);
  border-radius: 18px;
  background: var(--hc-paper, #ffffff);
  box-shadow: 0 18px 46px -28px rgba(40, 30, 15, 0.22);
  color: var(--hc-ink, #1a1714);
  text-decoration: none;
  isolation: isolate;
}

.pcard--d:hover {
  border-color: rgba(185, 154, 111, 0.42);
  box-shadow: 0 28px 64px -30px rgba(40, 30, 15, 0.28);
}

.pcard-d__media-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #f7efe1 100%);
  border-bottom: 1px solid rgba(141, 109, 71, 0.10);
}

.pcard-d__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.pcard-d__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12%;
}

.pcard-d__media picture,
.pcard-d__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
}

.pcard-d__pill-row {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 58px);
  pointer-events: none;
}

.pcard-d__pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: var(--hc-r-pill, 999px);
  background: linear-gradient(135deg, #2a2018, #4a3d2a);
  color: #fff;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -10px rgba(26, 23, 20, 0.45);
}

.pcard-d__pill--sale {
  background: linear-gradient(135deg, var(--hc-danger, #c9433a), #a82e26);
}

.pcard-d__rail {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 32px;
}

.pcard-d__body {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
}

.pcard-d__top-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
}

.pcard-d__series,
.pcard-d__sku {
  min-width: 0;
  overflow: hidden;
  color: rgba(26, 23, 20, 0.56);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard-d__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hc-ink, #1a1714);
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pcard-d__caption {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(26, 23, 20, 0.66);
  font-size: 14px;
  line-height: 1.48;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.pcard-d__tag-bar {
  display: grid;
  gap: 6px;
}

.pcard-d__tag {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px dashed rgba(141, 109, 71, 0.14);
}

.pcard-d__tag-k {
  min-width: 0;
  overflow: hidden;
  color: rgba(26, 23, 20, 0.52);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pcard-d__tag-v {
  min-width: 0;
  overflow: hidden;
  color: var(--hc-ink, #1a1714);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard-d__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.pcard-d__price {
  color: var(--hc-ink, #1a1714);
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.pcard-d__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--hc-ink, #1a1714);
  color: #fff;
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 28px -18px rgba(26, 23, 20, 0.55);
}

@media (max-width: 768px) {
  .pcard-d__body {
    padding: 16px;
  }
}


/* ---- folded from 226-pcard-type-actions.css ---- */
/* Product-card secondary actions. Owns only .pcard-type-actions*. */

.pcard-type-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.pcard-type-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(141, 109, 71, 0.18);
  border-radius: var(--hc-r-pill, 999px);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(26, 23, 20, 0.68);
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.pcard-type-actions__btn:hover,
.pcard-type-actions__btn:focus-visible {
  border-color: rgba(26, 23, 20, 0.28);
  background: var(--hc-ink, #1a1714);
  color: #fff;
}

.pcard--b .pcard-type-actions {
  margin-left: 18px;
  margin-right: 18px;
}

.pcard--c .pcard-type-actions {
  margin-top: 2px;
}

.pcard--d .pcard-type-actions {
  margin-top: 2px;
}

/* ─── Sprint46: «Заказ в 1 клик» — alignment across cards ───
 * Pcard body is flex column. By pushing type-actions to bottom with
 * margin-top: auto, the button sits on a SAME visual line across all
 * cards in a row regardless of каплион/чипов длины. Price+cart block,
 * being the natural last-of-type, gets aligned below it consistently. */
.pcard--a .pcard-type-actions,
.pcard--b .pcard-type-actions,
.pcard--c .pcard-type-actions,
.pcard--d .pcard-type-actions {
  margin-top: auto;
  padding-top: 12px;
}
/* Reserve a min row-height for chip/props block so cards with varying
 * chip counts still anchor type-actions to the same baseline. */
.pcard-a__props,
.pcard-d__props {
  min-height: 56px;
  align-content: flex-start;
}


/* ---- folded from 227-pcard-type-modes.css ---- */
/* Product-card type profile accents. Scoped to .pcard--type-* and pcard type helpers only. */

.pcard-type-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.pcard-type-badge,
.pcard-mini__type {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(141, 109, 71, 0.16);
  border-radius: var(--hc-r-pill, 999px);
  background: rgba(246, 241, 232, 0.86);
  color: rgba(26, 23, 20, 0.64);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pcard--type-material .pcard-type-badge,
.pcard--type-material .pcard-mini__type {
  border-color: rgba(99, 126, 92, 0.24);
  background: rgba(232, 239, 226, 0.86);
  color: #4d6944;
}

.pcard--type-furniture .pcard-type-badge,
.pcard--type-furniture .pcard-mini__type {
  border-color: rgba(137, 94, 126, 0.22);
  background: rgba(244, 232, 239, 0.88);
  color: #744c68;
}

.pcard--type-lighting .pcard-type-badge,
.pcard--type-lighting .pcard-mini__type {
  border-color: rgba(189, 143, 51, 0.24);
  background: rgba(252, 244, 219, 0.9);
  color: #815f16;
}

.pcard--type-service .pcard-type-badge,
.pcard--type-service .pcard-mini__type {
  border-color: rgba(82, 105, 142, 0.22);
  background: rgba(230, 237, 246, 0.88);
  color: #455f86;
}

.pcard--b .pcard-type-badge {
  flex: 0 1 auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcard--d[class*="pcard--type-"] .pcard-d__top-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
}

.pcard-mini__type {
  justify-self: start;
  min-height: 20px;
  padding: 4px 7px;
  font-size: 9px;
}

/* v7.64.19 — компактная карточка рейла (variant C): ниже высота */
.pcard-stage--horizontal,.pcard-c__media-wrap{aspect-ratio:1.3}
.pcard-c__caption{display:none}
.pcard-c__title{-webkit-line-clamp:2;line-clamp:2}
.pcard-c__body{padding:12px 14px 13px;gap:4px}
