/* Helvinda — static ceramics collection pages and hubs (built by catalogue/build_pages.py).
   Loaded after style.css; also used by /ceramics for the static collection index,
   where the main tokens are absent — hence the fallbacks. */

.crumbs { background: var(--paper-off, #f8f4ed); border-bottom: 1px solid var(--line, #e7dfd5); font-size: .875rem; }
.crumbs .container { padding-top: .7rem; padding-bottom: .7rem; color: var(--ink-500, #7b7168); }
.crumbs a { color: var(--ink-700, #453f3a); text-decoration: none; }
.crumbs a:hover { color: var(--crimson-600, #8f1f24); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 .35rem; }

.page-hero--tight .container { padding-top: clamp(2.25rem, 5vw, 3.5rem); padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.coll-facts { margin-top: 1rem; font-size: .9375rem; color: var(--rose-300, #e8c9c0); }
.page-hero .cta-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.page-hero .btn--outline { border-color: rgba(246,239,230,.45); color: var(--cream-100, #f6efe6); }

.size-note { font-size: .875rem; color: var(--ink-500, #7b7168); margin-bottom: 1.25rem; }

/* ---- product grid ---- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; }
.pcard { background: var(--paper, #fff); border: 1px solid var(--line, #e7dfd5); border-radius: var(--radius, 6px); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.pcard:target { outline: 2px solid var(--crimson-600, #8f1f24); outline-offset: 2px; }
.pcard-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--paper-off, #f8f4ed); }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.pcard-more { position: absolute; right: .5rem; bottom: .5rem; font-size: .75rem; background: rgba(38,35,34,.78); color: #fff; padding: .15rem .45rem; border-radius: 3px; }
.pcard-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.pcard-code { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500, #7b7168); }
.pcard h3 { font-family: var(--font, sans-serif); font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--ink-900, #211e1c); }
.pcard-size { font-size: .875rem; color: var(--ink-700, #453f3a); }
.pcard-in { color: var(--ink-500, #7b7168); }
.pcard-add {
  margin-top: auto; align-self: flex-start; font: inherit; font-size: .8125rem; font-weight: 600;
  padding: .45rem .75rem; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--crimson-600, #8f1f24); color: var(--crimson-600, #8f1f24); background: transparent;
}
.pcard-add:hover { background: var(--rose-100, #f7e9e4); }
.pcard-add[aria-pressed="true"] { background: var(--crimson-600, #8f1f24); color: #fff; }
.pcard-add[aria-pressed="true"]::before { content: "✓ "; }
.pcard-add:focus-visible { outline: 2px solid var(--coal-900, #262322); outline-offset: 2px; }

/* ---- info blocks ---- */
.coll-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.coll-info h2 { margin-bottom: 1rem; }
.howto { padding-left: 1.2rem; display: grid; gap: .8rem; color: var(--ink-700, #453f3a); }
.coll-info details { border-bottom: 1px solid var(--line, #e7dfd5); padding: .8rem 0; }
.coll-info summary { cursor: pointer; font-weight: 600; color: var(--ink-900, #211e1c); }
.coll-info details p { margin-top: .5rem; color: var(--ink-700, #453f3a); font-size: .9375rem; }
@media (max-width: 820px) { .coll-info { grid-template-columns: 1fr; } }

.coll-links { list-style: none; padding: 0; margin-top: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .5rem 1.5rem; }
.coll-links li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line, #e7dfd5); }
.coll-links a { color: var(--crimson-600, #8f1f24); text-decoration: none; font-weight: 500; }
.coll-links a:hover { text-decoration: underline; }
.coll-links span { color: var(--ink-500, #7b7168); font-size: .875rem; }

/* ---- hub tiles ---- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.hub-tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line, #e7dfd5); border-radius: var(--radius, 6px); overflow: hidden; background: var(--paper, #fff); transition: box-shadow .2s ease, border-color .2s ease; }
.hub-tile:hover { border-color: var(--crimson-600, #8f1f24); box-shadow: var(--shadow-md); }
.hub-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--paper-off, #f8f4ed); }
.hub-tile-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.hub-tile-body strong { font-size: 1.05rem; }
.hub-tile-body span { font-size: .875rem; color: var(--ink-500, #7b7168); }

/* ---- /ceramics static index ---- */
.static-index { max-width: 1160px; margin: 0 auto; padding: 1.5rem clamp(16px, 4vw, 40px) 0; }
.static-index h2 { font-size: 1.25rem; }
.static-index-lang { margin-top: .9rem; font-size: .9rem; }
.static-index-lang a { color: #8f1f24; }

/* ---- sticky enquiry bar ---- */
.enq-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 1rem; width: min(560px, calc(100% - 32px));
  justify-content: space-between; padding: .7rem .8rem .7rem 1.1rem; border-radius: 8px;
  background: var(--coal-900, #262322); color: var(--cream-100, #f6efe6); box-shadow: var(--shadow-md);
}
.enq-bar[hidden] { display: none; }
.enq-bar p { font-size: .9375rem; }
.enq-bar .btn { white-space: nowrap; }
body.has-enq-bar { padding-bottom: 84px; }

/* ---- Ratgeber articles ---- */
.article-meta { margin-top: .9rem; font-size: .875rem; color: var(--rose-300, #e8c9c0); }
.article-body { max-width: 46rem; }
.article-body h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.article-body p, .article-body li { color: var(--ink-700, #453f3a); }
.article-body p + p { margin-top: .9rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; display: grid; gap: .5rem; margin-top: .6rem; }
.article-body a { color: var(--crimson-600, #8f1f24); }
.article-body .table-scroll { margin-top: 1.4rem; }
.article-answer { background: var(--paper-off, #f8f4ed); border-left: 3px solid var(--crimson-600, #8f1f24); padding: 1rem 1.2rem; font-size: 1.05rem; }
.table-note { font-size: .875rem; color: var(--ink-500, #7b7168) !important; margin-top: .8rem; }
.sources li { font-size: .9375rem; }
.lead-dark { font-size: 1.1rem; color: var(--ink-700, #453f3a); margin-bottom: 1.5rem; }
.guide-card { border-top: 1px solid var(--line, #e7dfd5); padding: 1.4rem 0; }
.guide-card h2 { font-size: 1.45rem; margin: 0 0 .4rem; }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { text-decoration: underline; }
