/* =================== hc-pdp-articles.css =================== */
/* hc-pdp-articles — premium cross-link card grid for editorial articles
 * related to the current product / series. 3-col grid on desktop with
 * thumbnail (SVG illustration), category eyebrow, title, reading-time and
 * read-more chip. Strict isolation: .hc-pdp-articles / .hc-pdp-articles__*. */

.hc-pdp-articles {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.hc-pdp-articles__card {
position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.18);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.03),
    0 14px 32px -22px rgba(40, 30, 15, 0.14);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.84, 0.3, 1),
    border-color 0.22s ease,
    box-shadow 0.32s ease;
}
.hc-pdp-articles__card:hover {
transform: translateY(-5px);
  border-color: var(--hc-gold-border, rgba(212, 184, 150, 0.55));
  box-shadow:
    0 2px 4px rgba(40, 30, 15, 0.04),
    0 26px 56px -20px rgba(184, 154, 111, 0.32);
}

.hc-pdp-articles__art {
position: relative;
  width: 100%;
  aspect-ratio: 1.7;
  background: linear-gradient(160deg, #faf3e8 0%, #f0e6d3 100%);
  overflow: hidden;
}
.hc-pdp-articles__art svg {
width: 100%; height: 100%;
  transition: transform 0.55s cubic-bezier(0.2, 0.84, 0.3, 1);
}
/* Defeat the global `svg { fill: currentColor }` rule from _misc.css —
   illustrations rely on stroke and explicit per-element fills. */
.hc-pdp-articles__art svg [fill="none"], .hc-pdp-articles__art svg circle:not([fill]), .hc-pdp-articles__art svg rect:not([fill]), .hc-pdp-articles__art svg ellipse:not([fill]), .hc-pdp-articles__art svg path:not([fill]), .hc-pdp-articles__art svg line:not([fill]) {
fill: none;
}

.hc-pdp-articles__art-cat {
position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 0.5px solid rgba(141, 109, 71, 0.20);
  border-radius: 999px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
}
.hc-pdp-articles__art::after {
content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 280px at 85% -10%, rgba(212, 184, 150, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.32s ease;
}


.hc-pdp-articles__body {
display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}
.hc-pdp-articles__title {
font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--hc-ink, #1a1714);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-pdp-articles__sub {
margin: 0;
  font-size: 13px;
  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;
}
.hc-pdp-articles__meta {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 0.5px dashed rgba(141, 109, 71, 0.22);
}
.hc-pdp-articles__time {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.5));
}
.hc-pdp-articles__more {
display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
  transition: color 0.18s ease, transform 0.18s ease;
}


@media (max-width: 1024px) {
  .hc-pdp-articles { grid-template-columns: 1fr; }
}


/* ─── Recently-viewed rail ─── */
.hc-pdp-recently {
display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(10px, 1.2vw, 14px);
  margin-top: var(--hc-sp-6);
}
.hc-pdp-recently__card {
display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 6px;
  padding: 12px;
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.16);
  border-radius: 12px;
  text-decoration: none;
  color: var(--hc-ink, #1a1714);
  transition: transform 0.28s cubic-bezier(0.2, 0.84, 0.3, 1), border-color 0.22s ease, box-shadow 0.28s ease;
}
.hc-pdp-recently__card:hover {
transform: translateY(-3px);
  border-color: var(--hc-gold-border, rgba(212, 184, 150, 0.55));
  box-shadow: 0 16px 32px -18px rgba(184, 154, 111, 0.32);
}
.hc-pdp-recently__art {
width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--hc-paper, #ffffff), #fbf7ed);
  border: 0.5px solid rgba(141, 109, 71, 0.10);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(141, 109, 71, 0.5);
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
}
.hc-pdp-recently__art svg {
width: 60%; height: 60%; opacity: 0.8;
}
.hc-pdp-recently__art svg circle:not([fill]), .hc-pdp-recently__art svg rect:not([fill]), .hc-pdp-recently__art svg path:not([fill]), .hc-pdp-recently__art svg line:not([fill]) {
fill: none;
}
.hc-pdp-recently__sku {
font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.5));
}
.hc-pdp-recently__name {
font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--hc-ink, #1a1714);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-pdp-recently__price {
font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--hc-ink, #1a1714);
  margin-top: auto;
}

.hc-pdp-articles__card:hover .hc-pdp-articles__art svg {
transform: scale(1.05);
}

.hc-pdp-articles__card:hover .hc-pdp-articles__art::after {
opacity: 1;
}

.hc-pdp-articles__card:hover .hc-pdp-articles__more {
color: var(--hc-ink, #1a1714);
  transform: translateX(2px);
}
