/* ==========================================================================
   Treasurenest storefront
   Hand-authored, no build step - matches this project's existing convention
   of shipping pre-built CSS in public/.
   ========================================================================== */

:root {
  /* Sampled from the Treasurenest assets themselves:
     --brand       the ink of the logo wordmark (logo4.png)
     --brand-bright  the theme red used on the announcement bar and CTAs
     --accent      the orange on the newsletter SIGN UP button              */
  --brand:        #b70000;
  --brand-bright: #e80b00;
  --brand-dark:   #8a0000;
  --brand-tint:   #fdf2f2;
  --accent:       #d36115;

  --ink:          #111111;
  --ink-soft:     #4a5059;
  --ink-faint:    #878d97;

  --surface:      #ffffff;
  --surface-alt:  #f7f6f4;
  --line:         #e6e3df;

  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 1px 2px rgba(16,18,22,.05), 0 8px 24px -12px rgba(16,18,22,.18);
  --shadow-lift:  0 2px 6px rgba(16,18,22,.07), 0 18px 40px -18px rgba(16,18,22,.28);

  --wrap:         1280px;
  --font:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display:      "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* An element with the `hidden` attribute must stay hidden even when a rule
   below gives it a display value. Without this, .tn-modal's `display: grid`
   beats the user-agent [hidden] rule and the close button appears to do
   nothing. Toggle visibility with el.hidden, never with inline display. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body.tn {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.tn-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.tn-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.tn-skip:focus { left: 8px; top: 8px; }

/* ---------- announcement bar ---------- */
.tn-announce {
  background: var(--brand-bright);
  color: #fff;
  font-size: 13px;
  letter-spacing: .01em;
}
.tn-announce .tn-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.tn-announce a { opacity: .92; }
.tn-announce a:hover { opacity: 1; text-decoration: underline; }
.tn-announce-links { display: flex; gap: 20px; }

/* ---------- header ---------- */
.tn-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.tn-header .tn-wrap {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center; gap: 28px; min-height: 76px;
}

.tn-logo {
  font-family: var(--display);
  font-size: 30px; font-weight: 700; letter-spacing: -.02em;
  color: var(--brand); white-space: nowrap;
}
.tn-logo span { font-style: italic; }

.tn-search { position: relative; display: flex; }
.tn-search input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 52px 12px 20px;
  font-size: 15px; background: var(--surface-alt); color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.tn-search input:focus {
  outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(179,18,27,.10);
}
.tn-search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--brand); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.tn-search button:hover { background: var(--brand-dark); }

.tn-actions { display: flex; align-items: center; gap: 22px; }
.tn-action { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.tn-action:hover { color: var(--brand); }
.tn-cart-badge {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-alt);
}
.tn-cart-badge b {
  position: absolute; top: -3px; right: -3px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.tn-cart-total { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------- primary nav ---------- */
.tn-nav { border-bottom: 1px solid var(--line); background: #fff; }
.tn-nav .tn-wrap { display: flex; align-items: center; gap: 30px; min-height: 52px; flex-wrap: wrap; }
.tn-nav a {
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent;
}
.tn-nav a:hover, .tn-nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.tn-nav .tn-nav-offer { margin-left: auto; color: var(--accent); }

/* ---------- hero ---------- */
.tn-hero {
  background: linear-gradient(120deg, #1b1d22 0%, #2a2d34 55%, #3a2022 100%);
  color: #fff; padding: 84px 0;
}
.tn-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.tn-hero .eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: 12px;
  color: rgba(255,255,255,.62); margin: 0 0 18px;
}
.tn-hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 0 0 20px; font-weight: 700;
}
.tn-hero p { font-size: 17px; color: rgba(255,255,255,.78); margin: 0 0 32px; max-width: 46ch; }
.tn-hero-stats { display: flex; gap: 40px; margin-top: 44px; }
.tn-hero-stats div strong { display: block; font-size: 26px; font-family: var(--display); }
.tn-hero-stats div span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- buttons ---------- */
.tn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.tn-btn:active { transform: translateY(1px); }
.tn-btn-primary { background: var(--brand); color: #fff; }
.tn-btn-primary:hover { background: var(--brand-dark); }
.tn-btn-accent { background: var(--accent); color: #fff; }
.tn-btn-accent:hover { filter: brightness(.93); }
.tn-btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.tn-btn-ghost:hover { background: rgba(255,255,255,.12); }
.tn-btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.tn-btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.tn-btn-block { width: 100%; }
.tn-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- sections ---------- */
.tn-section { padding-block: 72px; }
.tn-section-alt { background: var(--surface-alt); }
.tn-section-head { text-align: center; margin-bottom: 44px; }
.tn-section-head .eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: 12px;
  color: var(--ink-faint); margin: 0 0 10px;
}
.tn-section-head h2 { font-family: var(--display); font-size: clamp(26px,3.2vw,38px); margin: 0 0 10px; }
.tn-section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- a category row on the home page ---------- */
/* Left-aligned, with the "view all" link sitting on the baseline of the
   heading, so each row reads as a shelf rather than another centred banner. */
.tn-section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; text-align: left;
}
.tn-section-head-row > div { min-width: 0; }
.tn-section-head-row h2 { margin-bottom: 6px; }
.tn-section-head-row p { max-width: 52ch; }

.tn-section-link {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  font-weight: 600; font-size: 14px; color: var(--ink);
  text-decoration: none; padding-bottom: 4px;
  border-bottom: 2px solid transparent; transition: border-color .18s, color .18s;
}
.tn-section-link:hover { color: var(--brand, #c1281d); border-bottom-color: currentColor; }
.tn-section-link-count {
  font-size: 12px; font-weight: 700; line-height: 1;
  padding: 4px 8px; border-radius: 999px;
  background: var(--surface-alt); color: var(--ink-soft);
}
.tn-section-link svg { transition: transform .18s; }
.tn-section-link:hover svg { transform: translateX(3px); }

.tn-section-action { margin-top: 34px; text-align: center; }

@media (max-width: 720px) {
  .tn-section-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- product grid ---------- */
.tn-grid { display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); }
.tn-grid-3 { grid-template-columns: repeat(3, 1fr); }

.tn-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.tn-card:hover { box-shadow: var(--shadow-lift); border-color: transparent; transform: translateY(-3px); }
.tn-card-media { position: relative; aspect-ratio: 1/1; background: var(--surface-alt); overflow: hidden; }
.tn-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tn-card:hover .tn-card-media img { transform: scale(1.04); }
.tn-card-media .tn-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--ink-faint); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.tn-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tn-card-cat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.tn-card-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0; }
.tn-card-title a:hover { color: var(--brand); }
.tn-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.tn-price { font-size: 17px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.tn-price del { color: var(--ink-faint); font-weight: 400; font-size: 14px; margin-right: 7px; }

.tn-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tn-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--brand);
}
.tn-badge-new { background: #1f7a4d; }
.tn-badge-out { background: var(--ink-faint); }

.tn-stock { font-size: 12px; color: var(--ink-faint); }
.tn-stock-low { color: var(--accent); font-weight: 600; }
.tn-stock-out { color: var(--ink-faint); }

/* ---------- category tiles ---------- */
.tn-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tn-cat {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 230px; display: flex; align-items: flex-end;
  background: var(--surface-alt); border: 1px solid var(--line);
}
.tn-cat:first-child { grid-column: span 2; }
.tn-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.tn-cat:hover img { transform: scale(1.05); }
.tn-cat-label {
  position: relative; z-index: 2; width: 100%; padding: 24px;
  background: linear-gradient(to top, rgba(12,13,16,.82), rgba(12,13,16,0));
  color: #fff;
}
.tn-cat-label strong { display: block; font-family: var(--display); font-size: 21px; }
.tn-cat-label span { font-size: 13px; opacity: .8; }

/* ---------- listing layout ---------- */
.tn-listing { display: grid; grid-template-columns: 258px minmax(0,1fr); gap: 40px; align-items: start; }
.tn-filters {
  position: sticky; top: 100px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff;
}
.tn-filter-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tn-filter-group:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.tn-filter-group h3 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-faint); margin: 0 0 12px;
}
.tn-filter-group label { display: flex; align-items: center; gap: 9px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.tn-filter-group select, .tn-filter-group input {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink);
}
.tn-price-row { display: flex; gap: 10px; align-items: center; }

.tn-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
}
.tn-toolbar p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- product detail ---------- */
.tn-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tn-pdp-media {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface-alt); aspect-ratio: 1/1;
}
.tn-pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.tn-pdp h1 { font-family: var(--display); font-size: clamp(27px,3.4vw,40px); margin: 8px 0 14px; line-height: 1.15; }
.tn-pdp-price { font-size: 30px; font-weight: 700; color: var(--brand); margin-bottom: 18px; }
.tn-pdp-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 22px 0; font-size: 14px; color: var(--ink-soft); }
.tn-pdp-meta b { color: var(--ink); font-weight: 600; }
.tn-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.tn-qty button { width: 42px; height: 46px; border: 0; background: #fff; cursor: pointer; font-size: 19px; color: var(--ink-soft); }
.tn-qty button:hover { background: var(--surface-alt); color: var(--brand); }
.tn-qty input { width: 54px; height: 46px; border: 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.tn-qty input::-webkit-outer-spin-button, .tn-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tn-qty input { -moz-appearance: textfield; }
.tn-buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.tn-prose { color: var(--ink-soft); line-height: 1.75; }
.tn-prose h2 { font-family: var(--display); font-size: 21px; color: var(--ink); margin: 0 0 12px; }

/* ---------- cart ---------- */
.tn-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 40px; align-items: start; }
.tn-cart-line {
  display: grid; grid-template-columns: 92px minmax(0,1fr) auto;
  gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.tn-cart-line img, .tn-cart-line .tn-placeholder {
  width: 92px; height: 92px; border-radius: var(--radius); object-fit: cover;
  background: var(--surface-alt); display: grid; place-items: center;
  font-size: 11px; color: var(--ink-faint);
}
.tn-summary {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; background: #fff; position: sticky; top: 100px;
}
.tn-summary h2 { font-family: var(--display); font-size: 20px; margin: 0 0 18px; }
.tn-summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; color: var(--ink-soft); }
.tn-summary-total {
  display: flex; justify-content: space-between; padding-top: 16px; margin-top: 10px;
  border-top: 1px solid var(--line); font-size: 19px; font-weight: 700; color: var(--ink);
}

/* ---------- alerts / empty ---------- */
.tn-alert { padding: 13px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 18px; }
.tn-alert-ok { background: #edf7f1; color: #1c6b43; border: 1px solid #cfe8da; }
.tn-alert-warn { background: var(--brand-tint); color: var(--brand-dark); border: 1px solid #f2d5d7; }

.tn-empty { text-align: center; padding: 70px 20px; }
.tn-empty h2 { font-family: var(--display); font-size: 25px; margin: 0 0 10px; }
.tn-empty p { color: var(--ink-soft); margin: 0 0 24px; }

/* ---------- trust strip ----------
   Each item stacks: icon, then heading, then supporting line. The heading and
   its text used to sit side by side, which wrapped into two cramped columns. */
.tn-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tn-trust-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s, box-shadow .18s;
}
.tn-trust-item:hover { border-color: transparent; box-shadow: var(--shadow-lift); }
.tn-trust-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); flex: none;
}
.tn-trust-item strong {
  display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.tn-trust-item span {
  display: block; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
  text-wrap: pretty;
}
.tn-trust-item a { color: var(--ink-soft); }
.tn-trust-item a:hover { color: var(--brand); }

/* ---------- newsletter ---------- */
.tn-news { background: var(--ink); color: #fff; padding: 62px 0; text-align: center; }
.tn-news h2 { font-family: var(--display); font-size: clamp(24px,3vw,34px); margin: 0 0 10px; }
.tn-news p { color: rgba(255,255,255,.66); margin: 0 0 26px; }
.tn-news form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.tn-news input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; font-size: 15px;
}
.tn-news input::placeholder { color: rgba(255,255,255,.45); }
.tn-news input:focus { outline: none; border-color: var(--accent); }

/* ---------- footer ---------- */
.tn-footer { background: var(--surface-alt); border-top: 1px solid var(--line); padding: 58px 0 0; }
.tn-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.tn-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin: 0 0 16px; }
.tn-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tn-footer a { font-size: 14px; color: var(--ink-soft); }
.tn-footer a:hover { color: var(--brand); }
.tn-footer-about p { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; max-width: 34ch; }
.tn-footer-bar {
  margin-top: 46px; padding: 20px 0; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-faint);
}

/* ---------- pagination ---------- */
.tn-pagination { margin-top: 40px; display: flex; justify-content: center; }
.tn-pagination nav > div:first-child { display: none; }        /* mobile duplicate */
.tn-pagination svg { width: 16px; height: 16px; }
.tn-pagination span[aria-current="page"] span,
.tn-pagination a {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; margin: 0 3px;
  font-size: 14px; background: #fff; color: var(--ink-soft);
}
.tn-pagination a:hover { border-color: var(--brand); color: var(--brand); }
.tn-pagination span[aria-current="page"] span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tn-grid, .tn-cats { grid-template-columns: repeat(3, 1fr); }
  .tn-trust { grid-template-columns: repeat(2, 1fr); }
  .tn-cat:first-child { grid-column: span 3; }
}
@media (max-width: 900px) {
  .tn-header .tn-wrap { grid-template-columns: auto auto; row-gap: 14px; padding-top: 14px; padding-bottom: 14px; }
  .tn-search { grid-column: 1 / -1; order: 3; }
  .tn-hero-grid, .tn-pdp, .tn-cart-layout, .tn-listing { grid-template-columns: 1fr; gap: 32px; }
  .tn-filters, .tn-summary { position: static; }
  .tn-hero { padding: 56px 0; }
}
@media (max-width: 760px) {
  .tn-grid, .tn-cats, .tn-trust, .tn-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tn-cat:first-child { grid-column: span 2; }
  .tn-section { padding-block: 52px; }
  .tn-announce-links { display: none; }
  .tn-cart-total, .tn-action span { display: none; }
}
@media (max-width: 520px) {
  /* Two products to a row: one full-width card per screen means a shopper
     scrolls past four products to see four products. Category tiles and the
     footer still stack, where a single column reads better. */
  .tn-cats, .tn-trust, .tn-footer-grid { grid-template-columns: 1fr; }
  .tn-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tn-card-body { padding: 11px; gap: 5px; }
  .tn-card-cat { font-size: 10.5px; letter-spacing: .06em; }
  .tn-card-title { font-size: 13.5px; line-height: 1.32; }
  .tn-card-foot { padding-top: 4px; gap: 6px; flex-wrap: wrap; }
  .tn-cat:first-child { grid-column: span 1; }
  .tn-cart-line { grid-template-columns: 70px minmax(0,1fr); }
  .tn-cart-line img, .tn-cart-line .tn-placeholder { width: 70px; height: 70px; }
  .tn-news form { flex-direction: column; border-radius: var(--radius); }
  .tn-news input, .tn-news .tn-btn { width: 100%; }
  .tn-hero-stats { gap: 24px; }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.tn-slider { position: relative; overflow: hidden; background: #14161a; }
.tn-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .6s ease;
  display: flex; align-items: center;
}
.tn-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.tn-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,11,13,.94) 0%, rgba(10,11,13,.80) 45%, rgba(10,11,13,.35) 100%);
}
.tn-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-slide-inner { position: relative; z-index: 2; padding: 92px 0; width: 100%; }
.tn-slide-copy { max-width: 620px; color: #fff; }
.tn-slide-copy .eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: 12px;
  color: rgba(255,255,255,.66); margin: 0 0 16px;
}
.tn-slide-copy h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4.8vw, 56px); line-height: 1.08; margin: 0 0 18px;
}
.tn-slide-copy p { font-size: 17px; color: rgba(255,255,255,.8); margin: 0 0 30px; max-width: 48ch; }
.tn-slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.tn-slide-price {
  display: inline-flex; align-items: baseline; gap: 9px; margin-bottom: 22px;
  font-size: 15px; color: rgba(255,255,255,.7);
}
.tn-slide-price b { font-size: 26px; color: #fff; font-weight: 700; }

.tn-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: rgba(10,11,13,.4);
  color: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.tn-slider-arrow:hover { background: var(--brand); border-color: var(--brand); }
.tn-slider-prev { left: 22px; }
.tn-slider-next { right: 22px; }

.tn-slider-dots {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5;
  display: flex; gap: 9px; justify-content: center;
}
.tn-slider-dots button {
  width: 30px; height: 4px; border: 0; border-radius: 999px; padding: 0;
  background: rgba(255,255,255,.34); cursor: pointer; transition: background .2s, width .2s;
}
.tn-slider-dots button.is-active { background: var(--brand-bright); width: 46px; }

/* ==========================================================================
   Browse categories dropdown
   ========================================================================== */
.tn-browse { position: relative; }
.tn-browse-toggle {
  display: flex; align-items: center; gap: 12px;
  background: var(--brand); color: #fff; border: 0; cursor: pointer;
  padding: 15px 20px; min-width: 286px; font-size: 13.5px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: background .16s;
}
.tn-browse-toggle:hover { background: var(--brand-dark); }
.tn-browse-toggle .tn-browse-caret { margin-left: auto; transition: transform .22s ease; opacity: .85; }
.tn-browse-toggle[aria-expanded="true"] .tn-browse-caret { transform: rotate(180deg); }

/* An invisible bridge across the 1px seam between button and panel, so a
   pointer moving down does not leave .tn-browse for an instant. */
.tn-browse-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px;
}

.tn-browse-panel {
  position: absolute; top: 100%; left: 0; z-index: 90;
  width: 286px; background: #fff; padding: 6px;
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 44px -16px rgba(16,18,22,.26);
}
.tn-browse-item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 13px; border-radius: 8px;
  font-size: 14.5px; color: var(--ink); line-height: 1.3;
  transition: background .14s, color .14s;
}
.tn-browse-item:hover { background: var(--surface-alt); color: var(--brand); }
.tn-browse-thumb {
  width: 38px; height: 38px; border-radius: 8px; flex: none;
  object-fit: cover; background: var(--surface-alt);
  display: grid; place-items: center; color: var(--ink-faint);
}
.tn-browse-item-text { flex: 1; min-width: 0; }
.tn-browse-item-text b { display: block; font-weight: 500; }
.tn-browse-item-text em {
  display: block; font-style: normal; font-size: 12px; color: var(--ink-faint); margin-top: 1px;
}
.tn-browse-item .tn-browse-chev { color: var(--ink-faint); opacity: 0; transition: opacity .14s, transform .14s; }
.tn-browse-item:hover .tn-browse-chev { opacity: 1; transform: translateX(2px); }
.tn-browse-all {
  margin: 6px 5px 3px; padding-top: 11px;
  border-top: 1px solid var(--line);
}
.tn-browse-all a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 8px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--brand);
}
.tn-browse-all a:hover { background: var(--brand-tint); }

/* The nav row that holds the dropdown plus the page links. */
.tn-navbar { border-bottom: 1px solid var(--line); background: #fff; }
.tn-navbar .tn-wrap { display: flex; align-items: flex-end; gap: 34px; flex-wrap: wrap; }
.tn-navbar-links { display: flex; align-items: center; gap: 30px; padding-bottom: 15px; flex-wrap: wrap; }
.tn-navbar-links a {
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); padding: 5px 0; border-bottom: 2px solid transparent;
}
.tn-navbar-links a:hover, .tn-navbar-links a.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.tn-navbar-links .tn-nav-offer { color: var(--accent); }

/* ==========================================================================
   Newsletter modal
   ========================================================================== */
.tn-modal {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; padding: 20px;
  background: rgba(12,13,16,.62); backdrop-filter: blur(2px);
  animation: tn-fade .25s ease;
}
@keyframes tn-fade { from { opacity: 0 } to { opacity: 1 } }
.tn-modal-box {
  position: relative; width: min(760px, 100%);
  background: #131417; color: #fff; padding: 22px;
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  animation: tn-rise .3s cubic-bezier(.2,.8,.3,1);
}
@keyframes tn-rise { from { transform: translateY(14px); opacity: 0 } to { transform: none; opacity: 1 } }
.tn-modal-inner {
  border: 1px solid rgba(255,255,255,.22);
  padding: 54px 40px; text-align: center;
}
.tn-modal h2 {
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.16; margin: 0 0 16px;
  font-weight: 700; letter-spacing: -.01em; text-transform: uppercase;
}
.tn-modal p { color: rgba(255,255,255,.72); margin: 0 0 28px; font-size: 15px; }
.tn-modal form { display: flex; max-width: 440px; margin: 0 auto; }
.tn-modal input {
  flex: 1; min-width: 0; padding: 14px 18px; font-size: 15px;
  border: 1px solid rgba(255,255,255,.28); border-right: 0; background: transparent; color: #fff;
}
.tn-modal input::placeholder { color: rgba(255,255,255,.45); }
.tn-modal input:focus { outline: none; border-color: var(--accent); }
.tn-modal button[type="submit"] {
  border: 0; background: var(--accent); color: #fff; cursor: pointer;
  padding: 14px 30px; font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.tn-modal button[type="submit"]:hover { filter: brightness(.92); }
.tn-modal-fine { margin: 24px 0 0; font-size: 13px; color: rgba(255,255,255,.55); }
.tn-modal-fine a { color: #fff; font-weight: 600; text-decoration: underline; }
.tn-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(255,255,255,.1); color: #fff;
  font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.tn-modal-close:hover { background: rgba(255,255,255,.2); }

@media (max-width: 900px) {
  .tn-browse { width: 100%; }
  .tn-browse-toggle { width: 100%; border-radius: var(--radius); }
  .tn-browse-panel { width: 100%; }
  .tn-navbar .tn-wrap { padding-top: 14px; padding-bottom: 6px; }
  .tn-navbar-links { gap: 20px; }
  .tn-slide-inner { padding: 64px 0; }
  .tn-slider-arrow { display: none; }
}
@media (max-width: 520px) {
  .tn-modal-inner { padding: 38px 20px; }
  .tn-modal form { flex-direction: column; gap: 10px; }
  .tn-modal input { border-right: 1px solid rgba(255,255,255,.28); }
}

/* ==========================================================================
   Content pages (About, Contact) and customer account
   ========================================================================== */
.tn-pagehead { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 54px 0; }
.tn-pagehead .eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: 12px;
  color: var(--ink-faint); margin: 0 0 10px;
}
.tn-pagehead h1 { font-family: var(--display); font-size: clamp(30px,4vw,46px); margin: 0 0 12px; }
.tn-pagehead p { color: var(--ink-soft); margin: 0; max-width: 62ch; font-size: 17px; }

.tn-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.tn-split .tn-prose p { margin: 0 0 18px; font-size: 16px; }
.tn-split .tn-prose h2 { margin-top: 32px; }

.tn-statline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0; }
.tn-statline div {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; background: #fff; text-align: center;
}
.tn-statline strong { display: block; font-family: var(--display); font-size: 30px; color: var(--brand); }
.tn-statline span { font-size: 13px; color: var(--ink-soft); }

.tn-infocard {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; background: #fff;
}
.tn-infocard h3 { font-family: var(--display); font-size: 20px; margin: 0 0 18px; }
.tn-infocard dl { margin: 0; display: grid; gap: 16px; }
.tn-infocard dt {
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-faint); margin-bottom: 3px;
}
.tn-infocard dd { margin: 0; font-size: 15px; color: var(--ink); }
.tn-infocard dd a:hover { color: var(--brand); }

/* ---------- forms ---------- */
.tn-form { display: grid; gap: 18px; }
.tn-field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 7px; color: var(--ink);
}
.tn-field input, .tn-field textarea, .tn-field select {
  width: 100%; padding: 12px 15px; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.tn-field input:focus, .tn-field textarea:focus, .tn-field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(179,0,0,.10);
}
.tn-field textarea { min-height: 150px; resize: vertical; }
.tn-field-error { color: var(--brand); font-size: 13px; margin-top: 6px; }
.tn-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- auth cards ---------- */
.tn-auth { display: grid; place-items: center; padding: 64px 20px; background: var(--surface-alt); min-height: 70vh; }
.tn-auth-card {
  width: min(460px, 100%); background: #fff; padding: 38px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.tn-auth-card h1 { font-family: var(--display); font-size: 28px; margin: 0 0 8px; text-align: center; }
.tn-auth-card .tn-auth-sub { text-align: center; color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; }
.tn-auth-alt { text-align: center; margin: 22px 0 0; font-size: 14px; color: var(--ink-soft); }
.tn-auth-alt a { color: var(--brand); font-weight: 600; }
.tn-auth-note {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  text-align: center; font-size: 13px; color: var(--ink-faint);
}

/* ---------- account dashboard ---------- */
.tn-account { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 40px; align-items: start; }
.tn-account-side {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff;
}
.tn-account-side strong { display: block; font-size: 16px; margin-bottom: 4px; }
.tn-account-side span { font-size: 13px; color: var(--ink-faint); word-break: break-all; }
.tn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tn-table th {
  text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-faint); border-bottom: 1px solid var(--line);
}
.tn-table td { padding: 14px; border-bottom: 1px solid var(--line); }
.tn-table tr:last-child td { border-bottom: 0; }
.tn-pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--surface-alt); color: var(--ink-soft);
}
.tn-pill-paid { background: #e8f5ee; color: #1c6b43; }
.tn-pill-due { background: var(--brand-tint); color: var(--brand-dark); }

@media (max-width: 900px) {
  .tn-split, .tn-account { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .tn-statline { grid-template-columns: 1fr; }
  .tn-field-row { grid-template-columns: 1fr; }
  .tn-auth-card { padding: 28px 22px; }
  .tn-table thead { display: none; }
  .tn-table td { display: block; border: 0; padding: 6px 0; }
  .tn-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Product card hover summary
   A short description slides over the lower part of the image on hover, so a
   shopper can judge a piece without opening the product page. Touch devices
   get no hover, so the summary is shown inline there instead.
   ========================================================================== */
.tn-card-hover {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 44px 16px 16px;
  background: linear-gradient(to top, rgba(12,13,16,.94) 34%, rgba(12,13,16,0));
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.8,.3,1), opacity .22s ease;
  pointer-events: none;
}
.tn-card:hover .tn-card-hover,
.tn-card:focus-within .tn-card-hover { transform: translateY(0); opacity: 1; }

.tn-card-hover p {
  margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.88);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.tn-card-hover .tn-card-hover-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

/* No hover on touch: show the summary under the title instead of over the image. */
.tn-card-summary { display: none; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@media (hover: none) {
  .tn-card-hover { display: none; }
  .tn-card-summary {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tn-card-hover { transition: opacity .2s ease; transform: none; }
}

/* ---------- checkout ---------- */
.tn-pay { display: grid; gap: 12px; }
.tn-pay-option {
  display: flex; gap: 13px; align-items: flex-start; cursor: pointer;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.tn-pay-option:hover { border-color: var(--ink-faint); }
.tn-pay-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(183,0,0,.08); }
.tn-pay-option input { margin-top: 3px; accent-color: var(--brand); flex: none; }
.tn-pay-option b { display: block; font-size: 15px; font-weight: 600; }
.tn-pay-option em {
  display: block; font-style: normal; font-size: 13.5px;
  color: var(--ink-soft); margin-top: 3px; line-height: 1.55;
}

/* ---------- order confirmation ---------- */
.tn-order-done { text-align: center; max-width: 620px; margin: 0 auto; }
.tn-order-tick {
  display: grid; place-items: center; width: 68px; height: 68px;
  margin: 0 auto 20px; border-radius: 50%;
  background: #e8f5ee; color: #1c6b43;
}
.tn-order-done h1 { font-family: var(--display); font-size: clamp(26px,3.4vw,38px); margin: 0 0 12px; }
.tn-order-done p { color: var(--ink-soft); font-size: 16px; margin: 0; line-height: 1.7; }

/* ==========================================================================
   Account modal (sign in / register without leaving the page)
   ========================================================================== */
.tn-authmodal {
  position: fixed; inset: 0; z-index: 998;
  display: grid; place-items: center; padding: 20px;
  background: rgba(12,13,16,.6); backdrop-filter: blur(3px);
  animation: tn-fade .22s ease;
  overflow-y: auto;
}
.tn-authmodal-box {
  position: relative; width: min(460px, 100%);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  padding: 34px 32px 30px;
  animation: tn-rise .26s cubic-bezier(.2,.8,.3,1);
  margin: auto;
}
.tn-authmodal-box h2 {
  font-family: var(--display); font-size: 25px; margin: 0 0 6px; text-align: center;
}
.tn-authmodal-sub { text-align: center; color: var(--ink-soft); font-size: 14.5px; margin: 0 0 24px; }

/* Tabs */
.tn-authtabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--surface-alt); border-radius: 999px; padding: 4px; margin-bottom: 24px;
}
.tn-authtabs button {
  border: 0; background: transparent; cursor: pointer;
  padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: background .16s, color .16s;
}
.tn-authtabs button.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow); }

.tn-authmodal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--surface-alt); color: var(--ink-soft);
  font-size: 19px; line-height: 1; display: grid; place-items: center;
}
.tn-authmodal-close:hover { background: var(--line); color: var(--ink); }

.tn-authmodal .tn-form { gap: 14px; }
.tn-authmodal-actions { display: grid; gap: 10px; margin-top: 4px; }
.tn-authmodal-foot { text-align: center; font-size: 13.5px; color: var(--ink-faint); margin: 18px 0 0; }

@media (max-width: 520px) {
  .tn-authmodal-box { padding: 28px 20px 24px; }
}

/* ---------- content pages ---------- */
.tn-page-body { max-width: 72ch; font-size: 16px; line-height: 1.85; }
.tn-page-body br + br { display: block; content: ""; margin-top: 12px; }

/* ==========================================================================
   WhatsApp ordering
   ========================================================================== */
.tn-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  background: #25D366; color: #fff; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 8px 26px -8px rgba(37,211,102,.7);
  transition: transform .16s, box-shadow .16s;
}
.tn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(37,211,102,.8); color: #fff; }
.tn-wa svg { flex: none; }

.tn-btn-wa {
  background: #25D366; color: #fff; border-color: #25D366;
}
.tn-btn-wa:hover { background: #1db456; border-color: #1db456; color: #fff; }

@media (max-width: 600px) {
  .tn-wa { right: 14px; bottom: 14px; padding: 13px; }
  .tn-wa span { display: none; }
}

/* ==========================================================================
   Phones
   --------------------------------------------------------------------------
   At 390px the header alone stood 355px tall before a single product showed:
   an announce bar, a logo row, a search row, a full-width category button and
   a navigation that wrapped onto two lines. These reclaim that space and stop
   the hero's headline and price from fighting each other.
   ========================================================================== */
@media (max-width: 600px) {
  .tn-wrap { padding: 0 16px; }

  .tn-announce .tn-wrap { font-size: 12.5px; padding-top: 7px; padding-bottom: 7px; }

  /* Logo and account on one line, search under it. */
  .tn-header .tn-wrap { row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .tn-logo img { width: 168px; height: auto; }
  .tn-search input { padding-top: 11px; padding-bottom: 11px; font-size: 15px; }

  /* The category button was 286px wide by declaration and 52px tall. */
  .tn-browse-toggle {
    min-width: 0; width: 100%; padding: 11px 14px;
    font-size: 12.5px; letter-spacing: .05em; gap: 9px;
    border-radius: var(--radius);
  }
  .tn-browse-panel {
    width: 100%; left: 0; right: 0;
    border-top: 1px solid var(--line); border-radius: var(--radius);
    margin-top: 6px;
  }
  .tn-browse-item { padding: 10px 11px; font-size: 14px; }
  .tn-browse-thumb { width: 32px; height: 32px; }

  /* One scrolling line rather than two stacked rows. Momentum scrolling keeps
     it usable with a thumb, and the bar itself is hidden so it reads as a row
     of links, not a scroller. */
  .tn-navbar .tn-wrap { gap: 0; align-items: stretch; }
  .tn-navbar-links {
    flex-wrap: nowrap; gap: 20px; width: 100%;
    padding-bottom: 10px; padding-top: 4px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .tn-navbar-links::-webkit-scrollbar { display: none; }
  .tn-navbar-links a { white-space: nowrap; font-size: 13px; }

  /* A link clipped at the edge reads as a fault. Fade the last few pixels so
     it reads as "there is more this way" instead, and leave room to scroll
     the final item fully into view. */
  .tn-nav-scroll { position: relative; width: 100%; }
  .tn-nav-scroll::after {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 30px;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 72%);
    pointer-events: none;
  }
  .tn-navbar-links::after { content: ""; flex: none; width: 14px; }

  /* The hero: shorter, and sized for a 350px column. */
  .tn-slide-inner { padding: 44px 0 40px; }
  .tn-slide-copy .eyebrow { font-size: 11px; letter-spacing: .16em; margin-bottom: 10px; }
  .tn-slide-copy h2 { font-size: clamp(25px, 7.2vw, 32px); line-height: 1.14; margin-bottom: 12px; }
  .tn-slide-copy p { font-size: 15px; line-height: 1.55; margin-bottom: 22px; }

  /* Product name and price were sitting side by side in 350px and colliding.
     Stack them: the name reads as a caption above its own price. */
  .tn-slide-price {
    flex-direction: column; align-items: flex-start; gap: 2px;
    margin-bottom: 18px; font-size: 13.5px;
  }
  .tn-slide-price b { font-size: 23px; line-height: 1.2; }

  /* Clear of the floating WhatsApp button. */
  .tn-slide-actions { gap: 10px; padding-right: 62px; }
  .tn-slide-actions .tn-btn { padding: 12px 18px; font-size: 14px; }

  .tn-slider-arrow { display: none; }
  .tn-slider-dots { bottom: 16px; }

  .tn-section { padding-block: 42px; }
  .tn-section-head { margin-bottom: 28px; }
  .tn-section-head h2 { font-size: clamp(22px, 6.4vw, 28px); }
  .tn-section-action { margin-top: 24px; }

  .tn-grid { gap: 18px; }
  .tn-card-body { padding: 14px; }
}

/* Very small phones. */
@media (max-width: 380px) {
  .tn-logo img { width: 150px; }
  .tn-slide-copy h2 { font-size: 23px; }
  .tn-navbar-links { gap: 16px; }
}

/* ---------- collapsible filters ---------- */
/* Open and chrome-free on a desktop, a tap-to-open panel on a phone. */
.tn-filters-wrap > summary { display: none; }
.tn-filters-wrap[open] > summary { display: none; }

@media (max-width: 900px) {
  .tn-filters-wrap > summary,
  .tn-filters-wrap[open] > summary {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; cursor: pointer; list-style: none;
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 13px 16px; background: #fff;
    font-size: 14.5px; font-weight: 600; color: var(--ink);
  }
  .tn-filters-wrap > summary::-webkit-details-marker { display: none; }
  .tn-filters-wrap > summary svg { transition: transform .2s ease; flex: none; }
  .tn-filters-wrap[open] > summary svg { transform: rotate(180deg); }
  .tn-filters-wrap[open] > summary { border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
  .tn-filters-wrap[open] .tn-filters { border-radius: 0 0 var(--radius) var(--radius); border-top: 0; }
  .tn-filters { padding: 18px; }

  /* Hide the panel explicitly rather than leaning on the browser's own
     handling of a closed <details>: the sticky positioning on .tn-filters
     kept it laid out and visible regardless. */
  .tn-filters-wrap:not([open]) .tn-filters { display: none; }
}

/* Above the breakpoint the panel is always shown, open attribute or not. */
@media (min-width: 901px) {
  .tn-filters-wrap .tn-filters { display: block; }
}

/* Checkout section headings — editable text, consistent type. */
.tn-checkout-heading {
  font-family: var(--display);
  font-size: 20px;
  margin: 34px 0 16px;
}
@media (max-width: 600px) {
  .tn-checkout-heading { font-size: 18px; margin: 26px 0 12px; }
}
