/* Thibault Studio — atelier.css
 * Editorial / serif design system. Class prefix: tb-
 * Variables come from inline <style> in head.php (config-driven).
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--tb-paper);
  color: var(--tb-ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
a:hover { color: var(--tb-accent); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 .6em;
  color: var(--tb-ink);
}
h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p  { margin: 0 0 1rem; }

.tb-skip {
  position: absolute; top: -100px; left: 0;
  background: var(--tb-ink); color: var(--tb-paper);
  padding: .6rem 1rem; z-index: 999;
}
.tb-skip:focus { top: 0; }

.tb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tb-mute { color: var(--tb-mute); font-size: .92em; }

/* Buttons */
.tb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border: 1px solid transparent;
  font: 500 .95rem/1 'Inter', sans-serif; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  border-radius: 0;
}
.tb-btn--ink   { background: var(--tb-ink); color: var(--tb-paper); }
.tb-btn--ink:hover  { background: var(--tb-accent); color: #fff; }
.tb-btn--ghost { background: transparent; color: var(--tb-ink); border-color: var(--tb-ink); }
.tb-btn--ghost:hover { background: var(--tb-ink); color: var(--tb-paper); }
.tb-btn--lg    { padding: 1.05rem 1.7rem; font-size: 1rem; }
.tb-btn--full  { width: 100%; }

.tb-link { color: var(--tb-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--tb-accent-alt); }
.tb-link:hover { color: var(--tb-accent); }

/* Masthead */
.tb-masthead { background: var(--tb-paper); border-bottom: 1px solid var(--tb-rule); position: sticky; top: 0; z-index: 50; }
.tb-masthead__top { padding: .55rem 24px; text-align: center; border-bottom: 1px dotted var(--tb-rule); }
.tb-eyebrow { margin: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-mute); }
.tb-masthead__main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.1rem 24px; gap: 1rem;
}
.tb-masthead__left { display: flex; align-items: center; gap: 1rem; }
.tb-masthead__right { display: flex; align-items: center; gap: .8rem; justify-content: flex-end; }

.tb-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.tb-burger span { display: block; width: 22px; height: 1.5px; background: var(--tb-ink); margin: 4px 0; transition: transform .2s; }

.tb-nav--inline { display: flex; gap: 1.4rem; }
.tb-nav--inline a {
  text-decoration: none; font-size: .92rem; letter-spacing: .04em;
  position: relative; padding: 4px 0;
}
.tb-nav--inline a:hover { color: var(--tb-accent); }

.tb-wordmark {
  display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit;
}
.tb-wordmark__serif {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600;
  font-size: 1.85rem; line-height: 1;
}
.tb-wordmark__rule { display: block; width: 80px; height: 1px; background: var(--tb-accent-alt); margin: 6px 0; }
.tb-wordmark__sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--tb-mute); }

.tb-iconlink {
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none; padding: 6px; position: relative; color: inherit;
}
.tb-iconlink:hover { color: var(--tb-accent); }
.tb-iconlink--basket { padding-right: 14px; }
.tb-basketcount {
  position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--tb-accent); color: #fff; border-radius: 9px; font-size: .68rem;
  display: inline-flex; align-items: center; justify-content: center;
}

.tb-nav--drawer { display: none; padding: 1rem 24px; border-top: 1px solid var(--tb-rule); flex-direction: column; gap: .8rem; }
.tb-nav--drawer a { text-decoration: none; padding: .4rem 0; font-size: 1.05rem; border-bottom: 1px dotted var(--tb-rule); }
.tb-nav--drawer.is-open { display: flex; }

/* Hero */
.tb-hero { padding: clamp(3rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--tb-rule); }
.tb-hero__inner { max-width: 760px; }
.tb-hero__eyebrow { color: var(--tb-mute); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin: 0 0 1rem; }
.tb-hero__title { font-style: italic; }
.tb-hero__lede { font-size: 1.15rem; color: var(--tb-mute); max-width: 56ch; margin-bottom: 2rem; }
.tb-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Strip — feature cells */
.tb-strip { padding: 3rem 0; background: var(--tb-card); border-bottom: 1px solid var(--tb-rule); }
.tb-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.tb-strip__cell { padding-right: 1rem; border-right: 1px solid var(--tb-rule); }
.tb-strip__cell:last-child { border-right: 0; }
.tb-strip__num {
  display: inline-block; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.2rem; color: var(--tb-accent-alt); margin-bottom: .8rem;
}
.tb-strip__cell h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.tb-strip__cell p  { font-size: .92rem; color: var(--tb-mute); margin: 0; }

/* Block sections */
.tb-block { padding: clamp(3rem, 7vw, 5rem) 0; }
.tb-block--coll { background: var(--tb-card); border-top: 1px solid var(--tb-rule); border-bottom: 1px solid var(--tb-rule); }
.tb-block--editorial { padding-bottom: 6rem; }
.tb-block__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--tb-rule);
}

/* Card grid */
.tb-grid { display: grid; gap: 2rem; }
.tb-grid--four  { grid-template-columns: repeat(4, 1fr); }
.tb-grid--three { grid-template-columns: repeat(3, 1fr); }

.tb-card {
  background: var(--tb-card); border: 1px solid var(--tb-rule);
  display: flex; flex-direction: column;
  transition: border-color .2s;
}
.tb-card:hover { border-color: var(--tb-ink); }
.tb-card__media { display: block; aspect-ratio: 1/1; overflow: hidden; position: relative; background: var(--tb-paper); }
.tb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tb-card:hover .tb-card__media img { transform: scale(1.04); }
.tb-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.tb-card__title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.2;
  color: var(--tb-ink); text-decoration: none;
}
.tb-card__title:hover { color: var(--tb-accent); }
.tb-card__short { font-size: .88rem; color: var(--tb-mute); margin: 0; }
.tb-card__meta { font-size: .85rem; color: var(--tb-mute); display: flex; align-items: center; gap: .4rem; }
.tb-card__row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .6rem; border-top: 1px dotted var(--tb-rule); margin-top: auto;
}

/* Stars */
.tb-stars { display: inline-flex; gap: 2px; color: var(--tb-accent-alt); }
.tb-st { width: 14px; height: 14px; display: inline-block; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.tb-st--full  { background: var(--tb-accent-alt); }
.tb-st--half  { background: linear-gradient(to right, var(--tb-accent-alt) 50%, var(--tb-rule) 50%); }
.tb-st--empty { background: var(--tb-rule); }

/* Tag pills */
.tb-tag {
  position: absolute; top: 12px; left: 12px;
  padding: .25rem .6rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--tb-paper); color: var(--tb-ink); border: 1px solid var(--tb-ink);
}
.tb-tag--sale { background: #B23A3A; color: #fff; border-color: #B23A3A; }
.tb-tag--best { background: var(--tb-ink); color: var(--tb-paper); }
.tb-tag--new  { background: var(--tb-accent); color: #fff; border-color: var(--tb-accent); }

/* Price */
.tb-price { display: flex; align-items: baseline; gap: .55rem; }
.tb-price__now { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--tb-ink); }
.tb-price__was { font-size: .85rem; color: var(--tb-mute); text-decoration: line-through; }
.tb-price--lg .tb-price__now { font-size: 2rem; }
.tb-price--lg .tb-price__was { font-size: 1rem; }

/* Collection list */
.tb-coll { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--tb-rule); border: 1px solid var(--tb-rule); }
.tb-coll li { background: var(--tb-paper); }
.tb-coll a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; text-decoration: none;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  transition: background .2s, color .2s;
}
.tb-coll a:hover { background: var(--tb-ink); color: var(--tb-paper); }
.tb-coll em { font-style: normal; color: var(--tb-accent-alt); transition: transform .2s; }
.tb-coll a:hover em { transform: translateX(4px); color: var(--tb-paper); }

/* Editorial quotes */
.tb-editorial__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2rem; }
.tb-quote { margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--tb-ink); }
.tb-quote blockquote { margin: 0 0 1rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; line-height: 1.4; }
.tb-quote figcaption { font-size: .85rem; display: flex; flex-direction: column; gap: 2px; }
.tb-quote__name { font-weight: 600; }

/* Page heads */
.tb-pagehead { padding: 3rem 0 2rem; border-bottom: 1px solid var(--tb-rule); }
.tb-pagehead--centered { text-align: center; }
.tb-pagehead--centered .tb-pagehead__lede { margin-left: auto; margin-right: auto; }
.tb-pagehead__crumbs { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-mute); margin: 0 0 1rem; }
.tb-pagehead__crumbs span { margin: 0 .4rem; opacity: .6; }
.tb-pagehead__crumbs a { text-decoration: none; }
.tb-pagehead__title { margin: 0 0 .8rem; }
.tb-pagehead__lede { font-size: 1.1rem; color: var(--tb-mute); max-width: 60ch; margin: 0; }

/* Catalog */
.tb-catalog { padding: 3rem 0 5rem; }
.tb-catalog__inner { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; }
.tb-catalog__h { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tb-mute); margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--tb-rule); font-family: 'Inter', sans-serif; font-weight: 600; }
.tb-pills { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-direction: column; gap: 4px; }
.tb-pill { display: block; padding: .5rem 0; font-size: .95rem; text-decoration: none; color: var(--tb-mute); border-bottom: 1px dotted transparent; }
.tb-pill:hover { color: var(--tb-ink); }
.tb-pill--on { color: var(--tb-ink); border-bottom-color: var(--tb-accent-alt); }
.tb-facts { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.tb-facts li { padding: .5rem 0; border-bottom: 1px dotted var(--tb-rule); display: flex; justify-content: space-between; }
.tb-facts span { color: var(--tb-ink); font-weight: 600; }
.tb-catalog__bar { padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--tb-rule); }
.tb-empty { text-align: center; padding: 3rem; color: var(--tb-mute); }

/* Product page */
.tb-prod { padding: 2rem 0 5rem; }
.tb-prod__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; margin-top: 2rem; }
.tb-prod__hero { position: relative; aspect-ratio: 1/1; background: var(--tb-card); border: 1px solid var(--tb-rule); overflow: hidden; }
.tb-prod__hero img { width: 100%; height: 100%; object-fit: cover; }
.tb-prod__thumbs { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tb-prod__thumbs button { padding: 0; border: 1px solid var(--tb-rule); background: var(--tb-card); cursor: pointer; aspect-ratio: 1/1; overflow: hidden; }
.tb-prod__thumbs button:hover { border-color: var(--tb-ink); }
.tb-prod__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tb-prod__sku { margin: 0 0 .6rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.tb-prod__title { font-style: italic; margin-bottom: .8rem; }
.tb-prod__rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.tb-prod__short { font-size: 1.05rem; color: var(--tb-mute); margin-bottom: 2rem; line-height: 1.55; }
.tb-prod__priceblock { padding: 1.2rem 0; border-top: 1px solid var(--tb-rule); border-bottom: 1px solid var(--tb-rule); margin-bottom: 1.5rem; }
.tb-prod__taxnote { margin: .6rem 0 0; font-size: .85rem; }

.tb-prod__form { display: flex; gap: 1rem; align-items: flex-end; margin-bottom: 1.5rem; }
.tb-qty { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: var(--tb-mute); }
.tb-qty > div { display: inline-flex; border: 1px solid var(--tb-ink); }
.tb-qty button { padding: 0 .8rem; background: var(--tb-paper); border: 0; cursor: pointer; font-size: 1.2rem; color: var(--tb-ink); }
.tb-qty button:hover { background: var(--tb-ink); color: var(--tb-paper); }
.tb-qty input { width: 50px; text-align: center; border: 0; border-left: 1px solid var(--tb-ink); border-right: 1px solid var(--tb-ink); padding: .7rem 0; background: var(--tb-paper); font: inherit; color: var(--tb-ink); }
.tb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tb-prod__assurances { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px dotted var(--tb-rule); display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: var(--tb-mute); }
.tb-prod__assurances li::before { content: '·'; color: var(--tb-accent-alt); margin-right: .5rem; font-weight: 700; }

.tb-prod__longgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--tb-rule); }
.tb-prod__long h2 { font-style: italic; }
.tb-prod__long h3 { font-family: 'Inter', sans-serif; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-mute); margin: 1.5rem 0 .8rem; }
.tb-prod__bullets { padding-left: 0; list-style: none; }
.tb-prod__bullets li { padding-left: 1.2rem; position: relative; margin-bottom: .5rem; }
.tb-prod__bullets li::before { content: '–'; position: absolute; left: 0; color: var(--tb-accent-alt); }
.tb-prod__specs { background: var(--tb-card); padding: 1.5rem; border: 1px solid var(--tb-rule); align-self: start; position: sticky; top: 200px; }
.tb-prod__specs h3 { font-family: 'Inter', sans-serif; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-mute); margin: 0 0 1rem; }
.tb-prod__specs table { width: 100%; border-collapse: collapse; }
.tb-prod__specs th, .tb-prod__specs td { text-align: left; padding: .55rem 0; border-bottom: 1px dotted var(--tb-rule); font-size: .9rem; vertical-align: top; }
.tb-prod__specs th { font-weight: 500; color: var(--tb-mute); padding-right: 1rem; width: 40%; }

/* Cart & Checkout */
.tb-cart, .tb-checkout { padding: 3rem 0 5rem; }
.tb-cart__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; }
.tb-checkout__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.tb-cart__list, .tb-checkout__lines { display: flex; flex-direction: column; gap: 1rem; }
.tb-cartrow {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.2rem; background: var(--tb-card); border: 1px solid var(--tb-rule);
}
.tb-cartrow img { width: 80px; height: 80px; object-fit: cover; }
.tb-cartrow__title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; margin: 0 0 .3rem; }
.tb-cartrow__line { font-size: .85rem; color: var(--tb-mute); margin: 0; }
.tb-cartrow__ctrl { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.tb-cartrow__ctrl button { width: 26px; height: 26px; border: 1px solid var(--tb-rule); background: var(--tb-paper); cursor: pointer; }
.tb-cartrow__ctrl button:hover { background: var(--tb-ink); color: var(--tb-paper); }
.tb-cartrow__remove { background: none; border: 0; color: var(--tb-mute); cursor: pointer; font-size: .8rem; padding: 0; }
.tb-cartrow__remove:hover { color: #B23A3A; }
.tb-cartrow__price { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; }

.tb-cart__summary, .tb-checkout__summary { background: var(--tb-card); padding: 1.8rem; border: 1px solid var(--tb-ink); align-self: start; position: sticky; top: 200px; }
.tb-cart__summary h2, .tb-checkout__summary h2 { font-style: italic; margin-bottom: 1.2rem; }

.tb-summary { margin: 0 0 1.5rem; padding: 0; }
.tb-summary > div { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px dotted var(--tb-rule); margin: 0; }
.tb-summary dt { color: var(--tb-mute); margin: 0; }
.tb-summary dd { margin: 0; color: var(--tb-ink); font-weight: 500; }
.tb-summary__total { padding-top: 1rem; border-top: 1px solid var(--tb-ink); border-bottom: 0; }
.tb-summary__total dt, .tb-summary__total dd { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--tb-ink); }

.tb-cart__note { margin-top: 1rem; font-size: .82rem; }

/* Checkout form */
.tb-fset { border: 0; padding: 0; margin: 0 0 2.5rem; }
.tb-fset legend { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; padding: 0; margin-bottom: 1rem; }
.tb-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tb-fgrid__wide { grid-column: 1 / -1; }
.tb-fgrid label { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: var(--tb-mute); }
.tb-fgrid input, .tb-fgrid select, .tb-fgrid textarea {
  font: inherit; padding: .8rem .9rem; background: var(--tb-paper);
  border: 1px solid var(--tb-rule); border-radius: 0; color: var(--tb-ink);
}
.tb-fgrid input:focus, .tb-fgrid select:focus, .tb-fgrid textarea:focus {
  outline: none; border-color: var(--tb-ink);
}
.tb-fhint { font-size: .78rem; }
.tb-radio { display: flex; gap: .8rem; padding: .9rem 1rem; border: 1px solid var(--tb-rule); margin-bottom: .6rem; cursor: pointer; }
.tb-radio:has(input:checked) { border-color: var(--tb-ink); background: var(--tb-card); }
.tb-radio input { margin-top: 4px; accent-color: var(--tb-ink); }
.tb-radio strong { display: block; margin-bottom: .2rem; }
.tb-radio em { font-style: normal; font-size: .85rem; color: var(--tb-mute); }
.tb-consent { display: flex; gap: .6rem; font-size: .9rem; align-items: flex-start; margin: 1.5rem 0; }
.tb-consent input { margin-top: 4px; accent-color: var(--tb-ink); }
.tb-secure { font-size: .8rem; color: var(--tb-mute); margin-top: 1rem; display: flex; align-items: center; gap: .4rem; }

/* Contact */
.tb-contact { padding: 3rem 0 5rem; }
.tb-contact__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.tb-contact__form { display: flex; flex-direction: column; }

/* Prose pages */
.tb-prose { padding: 3rem 0 5rem; }
.tb-prose__inner { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem; }
.tb-prose article { font-size: 1.02rem; line-height: 1.7; max-width: 68ch; }
.tb-prose article h2 { font-style: italic; margin-top: 2.2rem; }
.tb-prose article h3 { margin-top: 1.6rem; }
.tb-prose__side { display: flex; flex-direction: column; gap: 1rem; align-self: start; position: sticky; top: 200px; }
.tb-card-flat { background: var(--tb-card); padding: 1.4rem 1.5rem; border-left: 2px solid var(--tb-accent-alt); }
.tb-card-flat h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-mute); margin: 0 0 .6rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.tb-card-flat p, .tb-card-flat address { margin: 0; font-style: normal; font-size: .92rem; line-height: 1.55; }

.tb-prose--legal .tb-wrap { max-width: 780px; }
.tb-prose--legal h2 { margin-top: 2rem; }
.tb-prose--legal table.tb-shiptable { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.tb-shiptable th, .tb-shiptable td { padding: .8rem .6rem; text-align: left; border-bottom: 1px solid var(--tb-rule); vertical-align: top; }
.tb-shiptable th { font-weight: 600; background: var(--tb-card); }

/* Empty page (404 etc) */
.tb-empty-page { padding: 6rem 0; text-align: center; }
.tb-empty-page h1 { font-style: italic; margin: .8rem 0 1rem; }
.tb-empty-page .tb-pagehead__lede { margin: 0 auto 2rem; }

/* Footer */
.tb-foot { background: var(--tb-ink); color: var(--tb-paper); padding: 4rem 0 1.5rem; margin-top: 4rem; }
.tb-foot a { color: var(--tb-paper); }
.tb-foot a:hover { color: var(--tb-accent); }
.tb-foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px dotted rgba(244,239,230,.18); }
.tb-foot__brand { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.6rem; margin: 0 0 1rem; }
.tb-foot__line { font-size: .9rem; color: rgba(244,239,230,.7); margin-bottom: 1rem; }
.tb-foot__col h4 { font-family: 'Inter', sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; color: rgba(244,239,230,.7); font-weight: 600; }
.tb-foot__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.tb-foot__links a { text-decoration: none; font-size: .92rem; }
.tb-foot__addr { font-style: normal; margin: 0 0 .8rem; font-size: .92rem; line-height: 1.55; color: rgba(244,239,230,.85); }
.tb-foot__addr a { text-decoration: none; }
.tb-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.2rem; }
.tb-social a { text-decoration: none; font-size: .85rem; letter-spacing: .08em; }
.tb-foot__bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; flex-wrap: wrap; align-items: center; }
.tb-foot__legal { font-size: .82rem; color: rgba(244,239,230,.6); margin: 0; line-height: 1.6; }
.tb-pay { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.tb-pay__chip { padding: .35rem .7rem; border: 1px solid rgba(244,239,230,.25); font-size: .75rem; letter-spacing: .08em; }

/* Cookie banner */
.tb-cookies {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 540px;
  background: var(--tb-paper); color: var(--tb-ink);
  padding: 1.3rem 1.5rem; border: 1px solid var(--tb-ink);
  z-index: 100; box-shadow: 0 16px 40px rgba(27,26,23,.18);
  display: none;
}
.tb-cookies.is-on { display: block; }
.tb-cookies p { font-size: .9rem; margin: 0 0 1rem; }
.tb-cookies__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.tb-cookies__row button { padding: .55rem 1rem; font: 500 .85rem 'Inter', sans-serif; cursor: pointer; border: 1px solid var(--tb-ink); }
.tb-cookies__row button.tb-pri { background: var(--tb-ink); color: var(--tb-paper); }
.tb-cookies__row button.tb-sec { background: var(--tb-paper); color: var(--tb-ink); }

/* Responsive */
@media (max-width: 1024px) {
  .tb-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .tb-strip__cell:nth-child(2n) { border-right: 0; }
  .tb-grid--four { grid-template-columns: repeat(2, 1fr); }
  .tb-grid--three { grid-template-columns: repeat(2, 1fr); }
  .tb-prod__grid { grid-template-columns: 1fr; }
  .tb-prod__longgrid { grid-template-columns: 1fr; }
  .tb-prod__specs { position: static; }
  .tb-cart__inner, .tb-checkout__inner, .tb-contact__inner, .tb-prose__inner { grid-template-columns: 1fr; }
  .tb-cart__summary, .tb-checkout__summary, .tb-prose__side { position: static; }
  .tb-foot__top { grid-template-columns: 1fr 1fr; }
  .tb-editorial__grid { grid-template-columns: 1fr; }
  .tb-coll { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tb-masthead__main { grid-template-columns: 1fr auto 1fr; }
  .tb-nav--inline { display: none; }
  .tb-burger { display: block; }
  .tb-wordmark__serif { font-size: 1.5rem; }
  .tb-strip__grid { grid-template-columns: 1fr; }
  .tb-strip__cell { border-right: 0; border-bottom: 1px dotted var(--tb-rule); padding-bottom: 1rem; }
  .tb-strip__cell:last-child { border-bottom: 0; }
  .tb-grid--four, .tb-grid--three { grid-template-columns: 1fr; }
  .tb-fgrid { grid-template-columns: 1fr; }
  .tb-foot__top { grid-template-columns: 1fr; gap: 2rem; }
  .tb-catalog__inner { grid-template-columns: 1fr; }
  .tb-prod__form { flex-direction: column; align-items: stretch; }
  .tb-cookies { left: 10px; right: 10px; bottom: 10px; }
}
