/* ---- tannery (Welt — Boots & leather 47) ------------------------------------
   THE STRUCTURAL MOVE: the catalogue runs three times in three geometries, and
   the FIRST pass is a gapless conveyor. .sc-strip gives up its container, its
   gaps and its tile borders and becomes six full-bleed 3:4 photographs with the
   label lying on the picture, sitting flush against the bottom edge of a 100vh
   hero — so merchandise arrives before a single word of story does. Pass two is
   the contained three-across grid, pass three the six-across buy grid.
   Ground is unlit workshop timber, one oxblood ink, and --radius: 0 squares
   every card, input and button in one line instead of a dozen rules.
   (Chrome selectors are .sf-header / .sf-footer — .sf-head / .sf-foot, used in
   some older theme blocks, match nothing in the markup.) */

/* DAY — the shop with the roller door up */
body.t-tannery {
  background: #191512;
  color: var(--text);
  --bg-flat: #191512;
  --header-bg: rgba(25, 21, 18, 0.92);
  --surface: #211a15;
  --surface-2: #2a221b;
  --line: #352b22;
  --line-strong: #4a3c2f;
  --heading: #f0e9df;
  --text: #cfc3b4;
  --muted: #9a8b7c;
  --radius: 0;
  --shadow: none;
}
body.t-tannery .sf-name { text-transform: uppercase; letter-spacing: 0.3em; font-weight: 800; font-size: 14px; }

/* the cart is a till, not a menu item — the one solid slab in the chrome.
   .sf-cart is also the class on the nav links, hence the :not() */
body.t-tannery a.sf-cart:not(.sf-navlink) { background: #b8442e; color: #f7efe6; padding: 8px 15px;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 700; }
body.t-tannery a.sf-cart:not(.sf-navlink) .badge { background: transparent; color: #f7efe6; box-shadow: none; padding: 0; margin-left: 7px; }

body.t-tannery .btn.brand { background: #b8442e; color: #f7efe6;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; font-weight: 700; padding: 15px 30px; }
body.t-tannery .btn.brand:hover { background: #9c3524; }
body.t-tannery .sc-h2 { text-transform: uppercase; letter-spacing: 0.22em; font-weight: 800;
  font-size: clamp(12px, 1.5vw, 15px); color: #f0e9df; text-align: left; }

/* full-viewport opener with nothing under it — the conveyor starts on its edge */
body.t-tannery .sc-hero { min-height: 100vh; }
body.t-tannery .sc-hero h1 { text-transform: uppercase; letter-spacing: 0.03em; font-weight: 800;
  font-size: clamp(30px, 6vw, 72px); line-height: 1.02; }
body.t-tannery .sc-hero p { text-transform: uppercase; letter-spacing: 0.2em; font-size: 11.5px; font-weight: 600; }

/* PASS ONE — the gapless conveyor: no container, no gaps, label on the picture */
body.t-tannery .sc-strip { max-width: 100vw; width: 100vw; margin: 0 calc(50% - 50vw); padding: 0; }
body.t-tannery .sc-strip-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
body.t-tannery .sc-strip-card { position: relative; }
body.t-tannery .sc-strip-img { aspect-ratio: 3 / 4; border: 0; }
body.t-tannery .sc-strip-label { position: absolute; inset: auto 0 0 0; margin: 0; padding: 34px 12px 11px;
  background: linear-gradient(rgba(13, 11, 9, 0), rgba(13, 11, 9, 0.82));
  color: #f0e9df; text-align: left; text-transform: uppercase; letter-spacing: 0.16em; font-size: 10px; font-weight: 700; }

/* PASS TWO — contained and strictly gapped, three across so six fills two rows */
body.t-tannery .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
body.t-tannery .product-card, body.t-tannery .product-card:hover { background: transparent; border: 0; transform: none; box-shadow: none; }
body.t-tannery .product-card .ph { aspect-ratio: 3 / 4; }
body.t-tannery .product-card .meta { padding: 13px 0 0; }

/* the wordless interruption — a photograph and a place name low in the frame */
body.t-tannery .sc-banner { min-height: 56vh; margin: 0 calc(50% - 50vw); padding: 0 20px 42px;
  display: flex; align-items: flex-end; justify-content: center; }
body.t-tannery .sc-banner h2 { margin: 0; font-size: clamp(13px, 1.6vw, 16px); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.42em; }

/* PASS THREE — the same shelf again, six across and closest to the till */
body.t-tannery .sc-buy-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 12px; }
body.t-tannery .sc-buy-card { align-items: flex-start; text-align: left; }

@media (max-width: 900px) {
  body.t-tannery .sc-strip-row, body.t-tannery .sc-buy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.t-tannery .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body.t-tannery .sc-strip-row, body.t-tannery .sc-buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* NIGHT — the same room after the lights go off: deeper timber, hotter oxblood */
html[data-theme="dark"] body.t-tannery {
  background: #0d0b09;
  --bg-flat: #0d0b09;
  --header-bg: rgba(13, 11, 9, 0.94);
  --surface: #161210;
  --surface-2: #1c1714;
  --line: #2a221c;
  --line-strong: #3d322a;
  --heading: #f5efe6;
  --text: #b9ad9e;
  --muted: #857868;
  --radius: 0;
  --shadow: none;
}
html[data-theme="dark"] body.t-tannery a.sf-cart:not(.sf-navlink),
html[data-theme="dark"] body.t-tannery .btn.brand { background: #c94f37; }
html[data-theme="dark"] body.t-tannery .sc-strip-label { background: linear-gradient(rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.88)); }
