/* ============================================================
   Shared styles for interior pages (catalog, product, printing,
   how-to-order, faq, portfolio, contact).
   ============================================================ */

/* ---- Page hero ---- */
.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); position: relative; }
.page-hero::before { display: none; }
.page-hero .eyebrow { margin-bottom: var(--sp-3); }
.page-hero h1 { font-size: var(--fs-900); letter-spacing: -.035em; margin: var(--sp-3) 0 var(--sp-4); line-height: 1.02; }
.page-hero .lede { font-size: var(--fs-500); }

/* ---- Toolbar / filters ---- */
.toolbar { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; justify-content: flex-start; margin-bottom: var(--sp-4); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-300);
  padding: .5rem .9rem; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all var(--dur);
}
.filter:hover { border-color: var(--line-strong); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { position: relative; }
.search-box input { border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: .6rem 1rem .6rem 2.4rem; font-size: var(--fs-400); background: var(--surface); width: min(340px, 100%); transition: border-color var(--dur), box-shadow var(--dur); }
.search-box input:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); }
.search-box svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.result-count { font-size: var(--fs-300); color: var(--ink-3); }

/* ---- Catalog: search-by-chat ---- */
.catalog-chat { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-6); align-items: stretch; margin-bottom: var(--sp-7); }
@media (max-width: 860px) { .catalog-chat { grid-template-columns: 1fr; } }
.catalog-chat__intro { align-self: center; }
.catalog-chat__intro h2 { margin: var(--sp-2) 0 var(--sp-3); }
.catalog-chat__tips, .assistant-tips { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: .5rem; }
.catalog-chat__tips li, .assistant-tips li { position: relative; padding-left: 1.6rem; color: var(--ink-2); font-size: var(--fs-400); }
.catalog-chat__tips li::before, .assistant-tips li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-deep); font-weight: 700; }

/* ---- Product grid + card ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .product-grid { grid-template-columns: 1fr; } }

.p-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card__media { position: relative; aspect-ratio: 1/1; background: var(--paper-2); overflow: hidden; }
/* Extra top padding leaves a clear band for the category label + New/Popular
   badges that sit over the image, so the garment never tucks under them. */
.p-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 1.75rem .5rem .5rem; background: var(--surface); transition: transform var(--dur-slow) var(--ease-out); }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); }
.p-card__media .ph svg { width: 46px; height: 46px; }
/* Category badge. Long names ("HONEYCOMB COTTON POLO") in caps with tracking
   dominated the card, especially at the 1-column mobile breakpoint where a card
   fills the width. 10px with tighter tracking keeps it a label, not a heading. */
.p-card__cat { position: absolute; top: .6rem; left: .6rem; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; background: rgba(255,255,255,.92); color: var(--ink-3); padding: .2rem .45rem; border-radius: 5px; backdrop-filter: blur(4px); }
/* Merchandising badges, top-right on the SAME line as the category label — in a
   row (not stacked), and sized to match that label so the top band reads as one
   row. New = brand blue; Popular = warm gold. */
.p-card__badges { position: absolute; top: .6rem; right: .6rem; display: flex; flex-direction: row; align-items: center; gap: .3rem; }
.p-card__badge { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: .18rem .45rem; border-radius: var(--r-pill); color: #fff; line-height: 1; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.p-card__badge.is-new { background: var(--accent); }
.p-card__badge.is-popular { background: #E08A00; }
.p-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: .25rem; flex: 1; }
/* Product names are long ("HC01 - Plain Cotton Polo T-Shirt (Unisex)") and wrap
   to two or three lines on a card, which made the grid read heading-heavy.
   14px, not the 13px of --fs-300: dropping to the material line's exact size
   flattened the two into one block. This stays a step above it. */
.p-card__body h3 { font-size: .875rem; font-family: var(--font-display); line-height: 1.3; }
.p-card__body .mat { font-size: var(--fs-300); color: var(--ink-3); }
/* Material as chips: "60% Polyester,40%Cotton" reads as two parts, not one run.
   Smaller than a normal .pill — several can sit on a card without shouting.
   Brand blue, reusing the same tint/deep pair as .pill--accent so it stays in
   step if the palette moves; the deep blue keeps contrast on the pale wash. */
.mat-pills { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .1rem; }
.mat-pills .pill {
  font-size: 11px; padding: .12rem .45rem; line-height: 1.5;
  background: var(--accent-tint); color: var(--accent-deep); border-color: transparent;
}
.p-card__foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; justify-content: space-between; }
.p-card__foot .view { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300); color: var(--ink); display: inline-flex; align-items: center; gap: .3rem; }
.p-card__foot .arrow { transition: transform var(--dur); }
.p-card:hover .arrow { transform: translateX(3px); }

.cat-group-title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .6rem; margin-top: var(--sp-5); scroll-margin-top: 90px; }
.cat-group-title h2 { font-size: var(--fs-600); }
.cat-group-title span { font-size: var(--fs-300); color: var(--ink-3); }

.empty { grid-column: 1/-1; text-align: center; padding: var(--sp-8); color: var(--ink-3); }

/* ---- Audience-page "top picks" groups ---- */
.pick-group { margin-bottom: var(--sp-6); }
.pick-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: var(--sp-4); padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.pick-group__head h3 { font-size: var(--fs-500); font-family: var(--font-display); }
.pick-group__head .accent-text { white-space: nowrap; font-size: var(--fs-300); }

/* ---- Product detail ---- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: start; }
@media (max-width: 820px) { .pd { grid-template-columns: 1fr; } }
.pd__gallery { position: sticky; top: 90px; }
.pd__media { aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); position: relative; }
.pd__media img.is-zoomable { cursor: zoom-in; }

/* Thumbnail strip — only rendered when a product has more than one image. */
.pd__thumbs { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-3); }
.pd__thumb { width: 72px; height: 72px; padding: 0; flex: none; cursor: pointer;
  border-radius: var(--r-md); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); transition: border-color var(--dur), transform var(--dur); }
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
.pd__thumb:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.pd__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pd__thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 820px) { .pd__gallery { position: static; } .pd__thumb { width: 60px; height: 60px; } }
.pd__media img { width: 100%; height: 100%; object-fit: contain; padding: var(--sp-4); background: var(--surface); }
.pd__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); }
.pd__media .ph svg { width: 90px; height: 90px; }
.pd h1 { font-size: var(--fs-800); margin: var(--sp-2) 0 var(--sp-3); }
.pd .meta-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.pd .desc { font-size: var(--fs-500); color: var(--ink-2); margin-bottom: var(--sp-5); }
.pd .spec { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; padding: var(--sp-5); background: var(--paper-2); border-radius: var(--r-lg); margin-bottom: var(--sp-5); font-size: var(--fs-400); }
.pd .spec dt { color: var(--ink-3); font-weight: 500; }
.pd .spec dd { color: var(--ink); font-weight: 600; }
.pd .cta-stack { display: flex; flex-direction: column; gap: .6rem; }
@media (min-width: 560px) { .pd .cta-stack { flex-direction: row; flex-wrap: wrap; } }

/* ---- Product: size/quantity request ---- */
.pd-request { margin-top: var(--sp-5); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); }
.pd-request h3 { font-size: var(--fs-500); margin-bottom: .3rem; }
.pd-request > p { margin-bottom: var(--sp-4); font-size: var(--fs-300); }
.pd-sizes { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; margin-bottom: var(--sp-4); }
@media (max-width: 560px) { .pd-sizes { grid-template-columns: repeat(4, 1fr); } }
.pd-size { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.pd-size span { font-size: var(--fs-300); font-weight: 600; color: var(--ink-2); }
.pd-size input { width: 100%; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .5rem .25rem; font-family: var(--font-display); font-weight: 600; background: var(--surface); -moz-appearance: textfield; }
.pd-size input:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); }
.pd-total { font-size: var(--fs-400); color: var(--ink-2); margin-bottom: var(--sp-4); }
.pd-total strong { font-family: var(--font-display); font-size: var(--fs-600); color: var(--ink); }
.pd-minwarn { font-size: var(--fs-300); margin-left: .5rem; }
.pd-minwarn.is-ok { color: var(--accent-deep); }
.pd-minwarn.is-low { color: #b4791f; }
.btn.is-disabled { opacity: .5; }

/* ---- Section heading (generic) ---- */
.lead-block { max-width: 60ch; }
.lead-block .eyebrow { margin-bottom: var(--sp-3); }

/* ---- Method (printing) cards ---- */
.method { display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-4); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform var(--dur), box-shadow var(--dur); }
.method:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.method .ico-tile { width: 56px; height: 56px; border-radius: 14px; background: var(--ink-dark); color: var(--accent); display: grid; place-items: center; }
.method .ico-tile svg { width: 28px; height: 28px; }
.method h3 { font-size: var(--fs-500); margin-bottom: .35rem; }
.method p { font-size: var(--fs-400); color: var(--ink-2); }
.method .tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: var(--sp-3); }
/* Method cards link to their own page. */
a.method { text-decoration: none; color: inherit; }
a.method h3 { color: var(--ink); }
.method__go { display: inline-block; margin-top: var(--sp-3); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300); color: var(--accent-deep); }
a.method:hover .method__go { text-decoration: underline; }

/* ---- Steps (numbered, vertical timeline) ---- */
.timeline { display: grid; gap: var(--sp-4); }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-4); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); transition: transform var(--dur), box-shadow var(--dur); }
.tl-step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.tl-step .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-600); }
.tl-step h3 { font-size: var(--fs-500); margin-bottom: .35rem; }
.tl-step p { color: var(--ink-2); }

/* ---- FAQ accordion ---- */
.faq-list { display: grid; gap: var(--sp-3); max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--dur), box-shadow var(--dur); }
.faq-item.is-open { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: var(--sp-4) var(--sp-5); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); color: var(--ink); }
.faq-q .chev { flex: none; width: 22px; height: 22px; transition: transform var(--dur); color: var(--ink-3); }
.faq-item.is-open .chev { transform: rotate(180deg); color: var(--accent-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a__inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-2); }

/* ---- Portfolio gallery ---- */
.gallery { columns: 3 260px; column-gap: var(--sp-4); }
.tile { break-inside: avoid; margin-bottom: var(--sp-4); border-radius: var(--r-lg); overflow: hidden; position: relative; border: 1px solid var(--line); }
.tile__art { display: grid; place-items: center; color: rgba(255,255,255,.9); }
.tile__art svg { width: 64px; height: 64px; opacity: .9; }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: var(--sp-4); background: linear-gradient(transparent, rgba(8,10,6,.78)); color: #fff; }
.tile__cap strong { font-family: var(--font-display); display: block; }
.tile__cap span { font-size: var(--fs-300); color: rgba(255,255,255,.8); }

/* ---- Contact / forms ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-7); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); margin-bottom: var(--sp-4); }
.info-card h3 { font-size: var(--fs-400); font-family: var(--font-display); margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.info-card h3 svg { width: 18px; height: 18px; color: var(--accent-deep); }
.info-card p, .info-card a { color: var(--ink-2); font-size: var(--fs-400); }
.info-card a:hover { color: var(--accent-deep); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: var(--fs-300); font-weight: 600; color: var(--ink-2); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: .75rem .9rem;
  background: var(--paper); font-size: var(--fs-400); transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); background: var(--surface); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-300); color: var(--ink-3); margin-top: var(--sp-3); }
.form-success { display: none; text-align: center; padding: var(--sp-7) var(--sp-5); }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto var(--sp-4); }
.form-success .check svg { width: 32px; height: 32px; }

/* ---- Price calculator ---- */
.calc { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--sp-5); align-items: start; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc__controls { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.calc__field { margin-bottom: var(--sp-5); }
.calc__field:last-child { margin-bottom: 0; }
.calc__label { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400); color: var(--ink); margin-bottom: var(--sp-3); }
.calc__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 460px) { .calc__row2 { grid-template-columns: 1fr; } }

.pg-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pg-pill { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-300); padding: .55rem .9rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; transition: all var(--dur); }
.pg-pill:hover { border-color: var(--line-strong); }
.pg-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.pg-qty-row { display: flex; align-items: center; gap: var(--sp-4); }
.pg-num { width: 96px; flex: none; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: .6rem .7rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); text-align: center; background: var(--paper); }
.pg-num:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); }
.pg-range { flex: 1; accent-color: var(--accent-strong); height: 6px; }
.pg-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--sp-3); }
.pg-chip { font-size: var(--fs-300); padding: .4rem .75rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all var(--dur); }
.pg-chip:hover { border-color: var(--accent-strong); background: var(--accent-tint); color: var(--accent-deep); }
.pg-minnote { font-size: var(--fs-300); color: var(--accent-deep); margin-top: var(--sp-2); }

.pg-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.pg-stepper button { width: 42px; height: 42px; border: 0; background: var(--paper); font-size: 1.3rem; cursor: pointer; color: var(--ink); transition: background var(--dur); }
.pg-stepper button:hover { background: var(--accent-tint); color: var(--accent-deep); }
.pg-stepper span { min-width: 48px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); }

.calc__result { position: sticky; top: 90px; background: var(--ink-dark); color: #fff; border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-lg); }
@media (max-width: 820px) { .calc__result { position: static; } }
.calc__est-label { font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .1em; color: #aebb98; }
.calc__perpiece { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 7vw, 3.25rem); line-height: 1; color: var(--accent); margin-top: .35rem; letter-spacing: -.02em; }
.calc__perpiece-unit { font-size: var(--fs-400); color: #c9cdbc; }
.calc__total-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.12); }
.calc__total-row span { color: #c9cdbc; font-size: var(--fs-400); }
.calc__total-row strong { font-family: var(--font-display); font-size: var(--fs-700); color: #fff; }
.calc__breakdown { font-size: var(--fs-300); color: #aebb98; margin: var(--sp-3) 0 var(--sp-5); line-height: 1.5; }
.calc__disclaimer { font-size: 11px; color: #8f9a7e; margin-top: var(--sp-4); line-height: 1.5; }

.calc__tiers-wrap { margin-top: var(--sp-7); }
.calc__tiers { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.calc__tiers th, .calc__tiers td { text-align: left; padding: .85rem 1.1rem; font-size: var(--fs-400); }
.calc__tiers thead th { background: var(--paper-2); font-family: var(--font-display); font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.calc__tiers tbody tr { border-top: 1px solid var(--line); transition: background var(--dur); }
.calc__tiers tbody tr.is-active { background: var(--accent-tint); }
.calc__tiers tbody tr.is-active td { color: var(--accent-deep); font-weight: 600; }

/* ---- Blog list ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card__media { aspect-ratio: 16/9; background: var(--paper-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__media .ph { color: var(--line-strong); }
.blog-card__media .ph svg { width: 54px; height: 54px; }
.blog-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.blog-card__meta { font-size: var(--fs-300); color: var(--ink-3); }
.blog-card__body h2 { font-size: var(--fs-600); line-height: 1.25; }
.blog-card__body p { font-size: var(--fs-400); color: var(--ink-3); }
.blog-card__foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.blog-card__foot .read { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300); color: var(--accent-deep); display: inline-flex; align-items: center; gap: .3rem; }
.blog-card:hover .read .arrow { transform: translateX(3px); }
.blog-card .read .arrow { transition: transform var(--dur); }

/* ---- Blog article ---- */
.post-head { margin-bottom: var(--sp-5); }
.post-meta { font-size: var(--fs-300); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.post-head h1 { font-size: var(--fs-800); margin: var(--sp-2) 0 var(--sp-3); letter-spacing: -.03em; }
.post-cover { width: 100%; border-radius: var(--r-lg); margin-bottom: var(--sp-5); border: 1px solid var(--line); }
.post-body { font-size: var(--fs-500); line-height: 1.75; color: var(--ink-2); }
.post-body h1 { font-size: var(--fs-700); margin: var(--sp-6) 0 var(--sp-3); color: var(--ink); }
.post-body h2 { font-size: var(--fs-600); margin: var(--sp-6) 0 var(--sp-3); color: var(--ink); }
.post-body h3 { font-size: var(--fs-500); margin: var(--sp-5) 0 var(--sp-2); color: var(--ink); }
.post-body p { margin-bottom: var(--sp-4); }
.post-body ul, .post-body ol { margin: 0 0 var(--sp-4) 1.4rem; display: grid; gap: .4rem; }
.post-body li { padding-left: .2rem; }
.post-body a { color: var(--accent-deep); text-decoration: underline; }
.post-body img { max-width: 100%; border-radius: var(--r-md); margin: var(--sp-4) 0; }
.post-body blockquote { border-left: 3px solid var(--accent); background: var(--accent-tint); padding: var(--sp-3) var(--sp-4); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 0 0 var(--sp-4); color: var(--ink-2); }
.post-body code { background: var(--paper-2); padding: .1rem .35rem; border-radius: 5px; font-size: .9em; }
.post-body pre { background: var(--ink-dark); color: #e6edf2; padding: var(--sp-4); border-radius: var(--r-md); overflow-x: auto; margin-bottom: var(--sp-4); }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

/* ---- Share this article ---- */
.post-share { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.post-share__label { display: block; font-weight: 700; color: var(--ink); margin-bottom: var(--sp-3); }
.post-share__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .85rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font: inherit; font-size: var(--fs-300); font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur);
}
.share-btn:hover { transform: translateY(-1px); color: #fff; }
/* Brand colours only on hover, so the row stays calm until you reach for it. */
.share-btn.is-wa:hover   { background: #25d366; border-color: #25d366; }
.share-btn.is-fb:hover   { background: #1877f2; border-color: #1877f2; }
.share-btn.is-li:hover   { background: #0a66c2; border-color: #0a66c2; }
.share-btn.is-x:hover    { background: #000;    border-color: #000; }
.share-btn.is-copy:hover,
.share-btn.is-more:hover { background: var(--accent); border-color: var(--accent); }
.share-btn.is-done { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-deep); }
.share-btn.is-done:hover { transform: none; }
.share-btn svg { flex: none; }
@media (max-width: 480px) {
  /* Icon-only on the narrowest screens so five buttons never wrap awkwardly. */
  .share-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .share-btn { padding: .6rem .7rem; }
}

/* ---- Generic info band ---- */
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 640px) { .facts-row { grid-template-columns: 1fr; } }
.fact { padding: var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.fact .k { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-600); color: var(--accent-deep); }
.fact .v { color: var(--ink-2); margin-top: .25rem; }

/* portfolio: real uploaded photos (admin-managed) */
.tile__photo { width: 100%; display: block; object-fit: cover; max-height: 420px; background: var(--paper); }

/* ---- Editorial rollout (2026-07-07): shared section heads ---- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--line); padding-bottom: var(--sp-4); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; }
.section-head .eyebrow { margin-bottom: var(--sp-3); }
@media (max-width: 560px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ---- Lightbox (Recent Printing gallery) ------------------------------ */
.tile--zoom { cursor: zoom-in; }
.tile--zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile--zoom .tile__photo { transition: transform .35s ease; }
@media (hover: hover) { .tile--zoom:hover .tile__photo { transform: scale(1.03); } }

/* Above .site-header (z-index 100) — it is sticky and would paint over this. */
.lbx { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(8,10,6,.92); backdrop-filter: blur(4px); }
.lbx[hidden] { display: none; }
.lbx__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); color: rgba(255,255,255,.7); font-size: var(--fs-300); }
.lbx__stage { position: relative; display: grid; place-items: center; padding: 0 var(--sp-5); min-height: 0; }
.lbx__img { max-width: min(1100px, 92vw); max-height: 100%; min-height: 0; width: auto; height: auto;
  object-fit: contain; display: block; border-radius: var(--r-md); background: rgba(255,255,255,.04); }
.lbx__cap { padding: var(--sp-4) var(--sp-5) var(--sp-6); color: #fff; text-align: center; }
.lbx__cap strong { font-family: var(--font-display); display: block; font-size: var(--fs-500); }
.lbx__cap span { color: rgba(255,255,255,.72); font-size: var(--fs-300); }

.lbx__btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1);
  color: #fff; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.lbx__btn:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); }
.lbx__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lbx__btn svg { width: 20px; height: 20px; }
.lbx__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lbx__nav--prev { left: var(--sp-3); }
.lbx__nav--next { right: var(--sp-3); }
@media (max-width: 560px) {
  .lbx__stage { padding: 0 var(--sp-3); }
  .lbx__nav--prev { left: 2px; } .lbx__nav--next { right: 2px; }
}

/* Clickable feature cards (printing-method services grid). */
a.feature { text-decoration: none; color: inherit; display: block; }
a.feature h3 { color: var(--ink); }
.feature__go { display: inline-block; margin-top: var(--sp-3); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300); color: var(--accent-deep); }
a.feature:hover .feature__go { text-decoration: underline; }

/* ---- Product colour swatches ---- */
.pd-colors { margin: var(--sp-4) 0 var(--sp-2); }
.pd-colors__label { font-weight: 700; font-size: var(--fs-300); color: var(--ink); margin-bottom: .5rem; }
.pd-colors__label span { color: var(--ink-3); font-weight: 500; }
.pd-colors__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pd-sw {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .6rem .3rem .3rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); cursor: pointer; font: inherit; font-size: var(--fs-300); color: var(--ink-2);
  transition: border-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.pd-sw:hover { border-color: var(--accent); color: var(--ink); }
.pd-sw.is-active { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 2px var(--accent-tint); font-weight: 600; }
.pd-sw img, .pd-sw__dot { width: 26px; height: 26px; border-radius: 50%; flex: none; object-fit: cover; background: var(--paper-2); }
.pd-sw__dot { border: 1px solid var(--line-strong, #d8cdb6); }
/* Colours with no photo mapped still show — they just don't swap the picture. */
.pd-sw.is-plain { cursor: default; }
.pd-sw.is-plain:hover { border-color: var(--line); color: var(--ink-2); }

/* While a search is running the chips describe where you'll return to, not what
   you're looking at — dim them so a highlighted "T-Shirts" can't appear to
   contradict a polo in the results. */
.filters.is-muted { opacity: .5; }
