/* ===================================================================
   TAZRIRT Custom Rugs page - full custom stylesheet
   Loaded ONLY on the custom-rugs page. Root: .tz-cr
   =================================================================== */

.tz-cr {
  --cream: #FAF7F2;
  --sand: #EFE3D3;
  --forest: #303B32;
  --blush: #F3E2D8;
  --terracotta: #98452F;
  --dark: #241F1A;
  --muted: #5A5045;
  --muted-on-dark: rgba(250,247,242,0.82);
  --gold: #D9A56A;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  max-width: 100%;
  overflow-x: hidden;
}
.tz-cr *, .tz-cr *::before, .tz-cr *::after { box-sizing: border-box; }
.tz-cr img { max-width: 100%; }

/* ---------- Typography baseline for this page ---------- */
.tz-cr h1, .tz-cr h2, .tz-cr h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 18px; color: var(--dark); }
.tz-cr h1 { font-size: clamp(38px, 5vw, 58px); }
.tz-cr h2 { font-size: clamp(30px, 4vw, 40px); }
.tz-cr h3 { font-size: 22px; font-weight: 700; }
.tz-cr p, .tz-cr li { font-family: var(--font-body); font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; }
.tz-cr .tz-eyebrow { font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.3px; text-transform: none; color: var(--terracotta); margin: 0 0 12px; }
.tz-cr .tz-on-dark h1, .tz-cr .tz-on-dark h2, .tz-cr .tz-on-dark h3 { color: var(--cream); }
.tz-cr .tz-on-dark p, .tz-cr .tz-on-dark li { color: var(--muted-on-dark); }
.tz-cr .tz-on-dark .tz-eyebrow { color: var(--gold); }
@media (max-width: 767px) {
  .tz-cr p, .tz-cr li { font-size: 17px; }
}

/* ---------- Section shell ---------- */
.tz-section { padding: 96px 32px; display: flex; justify-content: center; }
.tz-section-inner { width: 100%; max-width: 1180px; }
.tz-section--cream { background: var(--cream); }
.tz-section--sand { background: var(--sand); }
.tz-section--forest { background: var(--forest); }
.tz-section--blush { background: var(--blush); }
.tz-section--terracotta { background: var(--terracotta); }
@media (max-width: 767px) { .tz-section { padding: 56px 20px; } }

.tz-row { display: flex; gap: 40px; align-items: center; }
.tz-row--top { align-items: flex-start; }
@media (max-width: 900px) { .tz-row { flex-direction: column; } }

/* ---------- Buttons ----------
   Rest: soft coloured shadow. Hover: the button lifts, the shadow deepens,
   a band of light sweeps across and the arrow slides forward. Press: it sinks. */
.tz-cr .tz-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0.2px;
  min-height: 56px; padding: 0 32px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, background-color 260ms ease, color 260ms ease, border-color 260ms ease;
}
.tz-cr .tz-btn::before {
  content: ''; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -70%; width: 50%;
  transform: skewX(-22deg); pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.38), rgba(255,255,255,0));
}

.tz-cr .tz-btn--solid { background-color: var(--terracotta); color: var(--cream); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 1px 2px rgba(36,31,26,0.2), 0 10px 22px -10px rgba(152,69,47,0.6); }
.tz-cr .tz-btn--solid:focus { color: var(--cream); }
.tz-cr .tz-btn--inverse { background-color: var(--cream); color: var(--terracotta); box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 10px 22px -10px rgba(0,0,0,0.45); }
.tz-cr .tz-btn--inverse:focus { color: var(--terracotta); }
.tz-cr .tz-btn--inverse::before, .tz-cr .tz-btn--outline::before { background: linear-gradient(90deg, rgba(152,69,47,0), rgba(152,69,47,0.16), rgba(152,69,47,0)); }
.tz-cr .tz-btn--outline { background-color: transparent; color: var(--cream); border-color: rgba(250,247,242,0.65); box-shadow: none; }
.tz-cr .tz-btn--outline:focus { color: var(--cream); }

@media (hover: hover) {
  .tz-cr .tz-btn:hover::before { left: 130%; transition: left 750ms cubic-bezier(0.22, 1, 0.36, 1); }
  .tz-cr .tz-btn--solid:hover { background-color: #8a3d29; color: var(--cream); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 2px 4px rgba(36,31,26,0.2), 0 20px 34px -12px rgba(152,69,47,0.72); }
  .tz-cr .tz-btn--inverse:hover { background-color: #fff; color: #7d3a26; transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 20px 34px -12px rgba(0,0,0,0.55); }
  .tz-cr .tz-btn--outline:hover { background-color: var(--cream); color: var(--terracotta); border-color: var(--cream); transform: translateY(-3px); box-shadow: 0 20px 34px -12px rgba(0,0,0,0.5); }
  .tz-cr .tz-btn:hover .tz-btn__arrow { transform: rotate(45deg) translate(3px, -3px); }
}
.tz-cr .tz-btn:active { transform: translateY(0) scale(0.98); transition-duration: 90ms; }
.tz-cr .tz-btn--solid:active { box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 1px 2px rgba(36,31,26,0.25), 0 6px 12px -8px rgba(152,69,47,0.6); }
.tz-cr .tz-btn--inverse:active, .tz-cr .tz-btn--outline:active { box-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 6px 12px -8px rgba(0,0,0,0.45); }
.tz-cr .tz-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tz-btn__arrow { display: inline-block; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1); }
/* No destination set yet: looks and hovers like any button, the click does nothing.
   Logged-in editors still get the note underneath. */
.tz-btn[data-unconfigured="true"] { cursor: pointer; }
.tz-note { font-family: var(--font-body); font-size: 12.5px; font-style: italic; opacity: 0.65; margin-top: 8px; }
@media (max-width: 600px) { .tz-btn--full-mobile { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  .tz-cr .tz-btn, .tz-btn__arrow { transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
  .tz-cr .tz-btn:hover, .tz-cr .tz-btn:active { transform: none; }
  .tz-cr .tz-btn::before { display: none; }
}

/* ---------- Tick list ---------- */
.tz-ticks { list-style: none; margin: 0 0 16px; padding: 0; }
.tz-ticks li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 17px; }
.tz-ticks li::before { content: ''; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; background: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22><path d=%22M4 10.5L8 14.5L16 5.5%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22><path d=%22M4 10.5L8 14.5L16 5.5%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/></svg>') center/contain no-repeat; color: var(--terracotta); }
.tz-on-dark .tz-ticks li::before { color: var(--gold); }
.tz-ticks--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
@media (max-width: 600px) { .tz-ticks--2col { grid-template-columns: 1fr; } }

/* HERO */
.tz-hero__media { position: relative; width: 100%; aspect-ratio: 16/9; background: #1c1815; border-radius: 6px; overflow: hidden; }
.tz-hero__media iframe, .tz-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tz-hero__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,17,14,0.35); cursor: pointer; border: none; }
.tz-hero__play-circle { width: 76px; height: 76px; border-radius: 50%; background: rgba(250,247,242,0.95); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.3); transition: transform 160ms ease; }
.tz-hero__play:hover .tz-hero__play-circle { transform: scale(1.08); }
.tz-hero__play-triangle { width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid var(--terracotta); margin-left: 6px; }

/* HERO layout: text | film, then the three promises as a strip across the full width.
   The film uses the shared .tz-film poster styles (see THE MAKING). */
.tz-hero-row { flex-wrap: wrap; gap: 44px 56px; }
.tz-hero-row > .tz-hero__text { flex: 1 1 0; min-width: 0; }
.tz-hero-row > .tz-hero { flex: 1.12 1 0; min-width: 0; position: relative; }
.tz-cr .tz-hero__lead { font-size: 19px; max-width: 520px; }
.tz-cr .tz-hero__sub { max-width: 480px; margin-bottom: 26px; }
.tz-hero-row .tz-film::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid rgba(152,69,47,0.4); border-radius: 14px; pointer-events: none; }
.tz-hero-row .tz-film .tz-hero__media { position: relative; z-index: 1; }
.tz-cr .tz-hero-row > .tz-ticks { margin: 28px 0 0; padding: 0; }
@media (min-width: 768px) {
  .tz-cr .tz-hero-row > .tz-ticks { flex: 0 0 100%; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 44px; margin: 0; padding: 26px 0 0; border-top: 1px solid rgba(36,31,26,0.1); }
  .tz-cr .tz-hero-row > .tz-ticks li { margin: 0; font-size: 16px; }
}
@media (max-width: 900px) {
  .tz-hero-row > .tz-hero__text, .tz-hero-row > .tz-hero { flex: 0 0 auto; width: 100%; }
  .tz-cr .tz-hero-row > .tz-ticks { flex: 0 0 auto; }
}

/* Entrance: text lines rise in one after another, then the film, then the strip.
   fill-mode is backwards so hover transforms keep working afterwards. */
@keyframes tz-hero-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes tz-hero-film-in { from { opacity: 0; transform: translateY(26px) scale(0.97); } }
.tz-hero-row .tz-hero__text > * { animation: tz-hero-in 800ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.tz-hero-row .tz-hero__text > :nth-child(1) { animation-delay: 60ms; }
.tz-hero-row .tz-hero__text > :nth-child(2) { animation-delay: 140ms; }
.tz-hero-row .tz-hero__text > :nth-child(3) { animation-delay: 240ms; }
.tz-hero-row .tz-hero__text > :nth-child(4) { animation-delay: 320ms; }
.tz-hero-row .tz-hero__text > :nth-child(5) { animation-delay: 420ms; }
.tz-hero-row .tz-hero__text > :nth-child(6) { animation-delay: 480ms; }
.tz-hero-row > .tz-hero { animation: tz-hero-film-in 1000ms cubic-bezier(0.22, 1, 0.36, 1) 260ms backwards; }
.tz-hero-row > .tz-ticks { animation: tz-hero-in 800ms cubic-bezier(0.22, 1, 0.36, 1) 620ms backwards; }
@media (prefers-reduced-motion: reduce) {
  .tz-hero-row .tz-hero__text > *, .tz-hero-row > .tz-hero, .tz-hero-row > .tz-ticks { animation: none; }
}

/* HERO on phones: text, then film, then CTA, then ticks, all centered.
   The text column is dissolved (display: contents) so the film can sit
   between the intro text and the button without duplicating markup. */
@media (max-width: 767px) {
  .tz-hero-row { flex-wrap: nowrap; gap: 0; align-items: center; text-align: center; }
  .tz-hero-row > .tz-hero__text { display: contents; }
  .tz-hero-row > .tz-hero { order: 1; width: 100%; margin: 8px 0 36px; }
  .tz-hero-row .tz-film::before { inset: 10px -8px -10px 8px; border-radius: 12px; }
  .tz-hero-row .tz-btn,
  .tz-hero-row .tz-note,
  .tz-hero-row > .tz-ticks { order: 2; }
  .tz-hero-row .tz-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.3; padding: 12px 18px; }
  .tz-cr .tz-hero__sub { margin-bottom: 16px; }
  .tz-cr .tz-hero-row > .tz-ticks { width: 100%; margin: 28px 0 0; }
  .tz-hero-row > .tz-ticks li { justify-content: center; }
  .tz-hero-row > .tz-ticks li:last-child { margin-bottom: 0; }
}

/* CAROUSEL */
.tz-carousel { position: relative; }
.tz-carousel__viewport { overflow: hidden; border-radius: 6px; width: 100%; }
.tz-carousel__track { display: flex; touch-action: pan-y; }
.tz-carousel__slide { flex: 0 0 100%; width: 100%; aspect-ratio: 5/3; }
.tz-carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Carousel arrows: small, perfectly round, crisp chevron.
   padding/min-size/appearance are reset so the theme's default button
   styles cannot stretch the circle or squash the icon. */
.tz-cr .tz-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; min-width: 0; min-height: 0; padding: 0; margin: 0;
  border-radius: 50%; border: 1px solid rgba(36,31,26,0.08);
  background: rgba(250,247,242,0.94); color: var(--terracotta);
  -webkit-appearance: none; appearance: none; line-height: 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 2px 8px rgba(36,31,26,0.16);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.tz-cr .tz-carousel__viewport { position: relative; } /* arrows centre on the image, not on image + dots */
.tz-cr .tz-carousel__arrow::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; }
.tz-cr .tz-carousel__arrow:focus { background: rgba(250,247,242,0.94); color: var(--terracotta); outline: none; }
.tz-cr .tz-carousel__arrow:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.tz-cr .tz-carousel__arrow:active { transform: translateY(-50%) scale(0.94); }
@media (hover: hover) {
  .tz-cr .tz-carousel__arrow:hover { background: #fff; color: var(--terracotta); box-shadow: 0 4px 14px rgba(36,31,26,0.22); transform: translateY(-50%) scale(1.05); }
}
.tz-cr .tz-carousel__arrow--prev { left: 14px; }
.tz-cr .tz-carousel__arrow--next { right: 14px; }
.tz-cr .tz-carousel__arrow-icon {
  display: block; flex: 0 0 16px; width: 16px; height: 16px; margin: 0; border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5L10.5 8L6 12.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5L10.5 8L6 12.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tz-cr .tz-carousel__arrow--prev .tz-carousel__arrow-icon { transform: scaleX(-1); }
@media (max-width: 767px) {
  .tz-cr .tz-carousel__arrow { width: 32px; height: 32px; }
  .tz-cr .tz-carousel__arrow::after { inset: -7px; }
  .tz-cr .tz-carousel__arrow--prev { left: 10px; }
  .tz-cr .tz-carousel__arrow--next { right: 10px; }
  .tz-cr .tz-carousel__arrow-icon { flex-basis: 14px; width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) { .tz-cr .tz-carousel__arrow { transition: none; } }
.tz-carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.tz-carousel__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(48,59,50,0.25); border: none; padding: 0; cursor: pointer; min-width: 10px; }
.tz-carousel__dot::after { content: ''; display: block; width: 44px; height: 44px; transform: translate(-17px,-17px); }
.tz-carousel__dot[aria-current="true"] { background: var(--terracotta); }
.tz-carousel__counter { font-family: var(--font-body); font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

/* SECTION 02 */
.tz-s2__text { flex: 0 0 40%; }
.tz-s2__gallery { flex: 1 1 60%; min-width: 0; }
@media (max-width: 900px) { .tz-s2__text, .tz-s2__gallery { flex: 1 1 100%; } }

/* SECTION 03 */
.tz-benefits { display: flex; gap: 48px; align-items: flex-start; margin-top: 32px; }
.tz-benefits__mosaic { flex: 0 0 42%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tz-benefits__mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.tz-mosaic-cell { aspect-ratio: var(--ar, 4/3); }
.tz-benefits__list { flex: 1 1 58%; }
.tz-benefit { display: flex; gap: 16px; margin-bottom: 24px; }
.tz-benefit__num { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--terracotta); flex: 0 0 30px; }
.tz-benefit h3 { margin-bottom: 4px; }
.tz-benefit p { margin-bottom: 0; }
@media (max-width: 900px) {
  .tz-benefits { flex-direction: column; }
  .tz-benefits__mosaic, .tz-benefits__list { flex: 1 1 100%; width: 100%; }
}

/* SECTION 04 journey */
.tz-journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; margin-top: 32px; position: relative; }
.tz-journey-step { position: relative; }
.tz-journey-step__num { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--gold); margin-bottom: 6px; }
.tz-journey-step h3 { font-size: 19px; margin-bottom: 6px; }
.tz-journey-step p { font-size: 15px; margin-bottom: 0; }
@media (max-width: 1023px) and (min-width: 768px) {
  .tz-journey-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .tz-journey-grid { grid-template-columns: 1fr; gap: 0; padding-left: 24px; position: relative; }
  .tz-journey-grid::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: rgba(217,165,106,0.35); }
  .tz-journey-step { padding-bottom: 28px; padding-left: 20px; }
  .tz-journey-step::before { content: ''; position: absolute; left: -24px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
}

/* Pricing factors */
.tz-factors { display: flex; gap: 24px; margin: 20px 0 36px; }
.tz-factor { flex: 1; padding: 20px; background: rgba(152,69,47,0.06); border-radius: 8px; border-left: 3px solid var(--terracotta); }
.tz-factor__icon { width: 28px; height: 28px; margin-bottom: 10px; color: var(--terracotta); }
.tz-factor .tz-factor__label { font-size: 12px; letter-spacing: 0.3px; color: var(--terracotta); font-weight: 600; margin-bottom: 4px; }
.tz-factor h3 { margin-bottom: 0; font-size: 20px; }
@media (max-width: 700px) { .tz-factors { flex-direction: column; } }

/* Timeline stages: two cards (production, then shipping) joined by an arrow */
.tz-stages { display: flex; align-items: stretch; gap: 18px; margin-top: 28px; }
.tz-stage {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  padding: 32px; background: rgba(255,255,255,0.5);
  border: 1px solid rgba(152,69,47,0.14); border-radius: 12px;
  box-shadow: 0 18px 36px -26px rgba(36,31,26,0.35);
}
.tz-stage__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(152,69,47,0.14); }
.tz-cr .tz-stage__head .tz-eyebrow { margin: 0; }
.tz-stage__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(152,69,47,0.1); color: var(--terracotta); }
.tz-stage__icon svg { display: block; width: 26px; height: 26px; }
.tz-cr .tz-stage__lead { color: var(--dark); }
.tz-cr .tz-stage__lead strong { color: var(--terracotta); font-weight: 600; white-space: nowrap; }
.tz-cr .tz-stage > p:last-child { margin-bottom: 0; }
.tz-stages__link { flex: 0 0 36px; align-self: center; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--terracotta); border: 1px solid rgba(152,69,47,0.3); }
.tz-stages__link svg { display: block; width: 16px; height: 16px; }

/* Shipping route: Morocco, truck on the road, your home (decorative) */
.tz-route { display: flex; align-items: flex-start; gap: 12px; margin-top: auto; padding-top: 28px; }
.tz-route__end { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 12.5px; line-height: 1.3; letter-spacing: 0.2px; color: var(--muted); }
.tz-route__dot { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--terracotta); background: rgba(255,255,255,0.7); border: 1px solid rgba(152,69,47,0.3); }
.tz-route__dot svg { display: block; width: 18px; height: 18px; }
.tz-route__line { position: relative; flex: 1 1 auto; height: 38px; }
.tz-route__line::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; margin-top: -1px; border-top: 2px dashed rgba(152,69,47,0.35); }
.tz-route__truck { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--terracotta); color: var(--cream); box-shadow: 0 4px 10px rgba(152,69,47,0.3); animation: tz-route-drive 7s ease-in-out infinite; }
.tz-route__truck svg { display: block; width: 19px; height: 19px; }
@keyframes tz-route-drive {
  0% { left: 10%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 90%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .tz-route__truck { animation: none; } }
@media (max-width: 900px) {
  .tz-stages { flex-direction: column; gap: 14px; }
  .tz-stages__link { transform: rotate(90deg); }
}
@media (max-width: 767px) {
  .tz-stage { padding: 24px 20px; }
  .tz-stage__icon { flex-basis: 46px; width: 46px; height: 46px; }
  .tz-stage__icon svg { width: 23px; height: 23px; }
}

/* Returns section: readable text column + forest reassurance panel */
.tz-returns { display: flex; gap: 56px; align-items: flex-start; margin-top: 12px; }
.tz-returns__text { flex: 1.25 1 0; min-width: 0; }
.tz-cr .tz-returns__lead { font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1.25; color: var(--dark); margin: 0 0 14px; }
.tz-cr .tz-returns__text > p { color: #4A4138; }
.tz-cr .tz-returns__text > p.tz-returns__lead { color: var(--dark); }
.tz-cr .tz-returns__text > p.tz-returns__label { font-weight: 600; color: var(--dark); margin: 26px 0 14px; }
.tz-cr .tz-returns__text > p:last-child { margin-bottom: 0; }

.tz-cr .tz-options { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tz-cr .tz-options li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; padding: 18px 16px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--dark); background: #fff; border: 1px solid rgba(152,69,47,0.16); border-radius: 10px; }
.tz-options__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(152,69,47,0.1); color: var(--terracotta); }
.tz-options__icon svg { display: block; width: 20px; height: 20px; }

.tz-callout { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 18px 20px; background: rgba(152,69,47,0.07); border-left: 3px solid var(--terracotta); border-radius: 0 10px 10px 0; }
.tz-callout__icon { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--terracotta); }
.tz-callout__icon svg { display: block; width: 22px; height: 22px; }
.tz-cr .tz-callout p { margin: 0; font-size: 17px; color: var(--dark); }

.tz-returns__panel { flex: 1 1 0; min-width: 0; background: var(--forest); color: var(--cream); border-radius: 12px; padding: 36px 34px; box-shadow: 0 24px 48px -28px rgba(36,31,26,0.6); }
.tz-returns__badge { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); border: 1px solid rgba(217,165,106,0.5); }
.tz-returns__badge svg { display: block; width: 24px; height: 24px; }
.tz-cr .tz-returns__panel p { color: var(--muted-on-dark); font-size: 17px; }
.tz-cr .tz-returns__panel p.tz-returns__panel-lead { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.3; color: var(--cream); }
.tz-cr .tz-returns__panel .tz-ticks { margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(250,247,242,0.18); }
.tz-cr .tz-returns__panel .tz-ticks li { color: var(--cream); font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
.tz-cr .tz-returns__panel .tz-ticks li:last-child { margin-bottom: 0; }
.tz-returns__panel .tz-ticks li::before { color: var(--gold); }

@media (max-width: 1023px) {
  .tz-returns { flex-direction: column; gap: 32px; }
  .tz-returns__text, .tz-returns__panel { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .tz-cr .tz-returns__lead { font-size: 23px; }
  .tz-cr .tz-options { grid-template-columns: 1fr; gap: 10px; }
  .tz-cr .tz-options li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; font-size: 16.5px; }
  .tz-callout { padding: 16px; gap: 12px; }
  .tz-returns__panel { padding: 28px 22px; }
  .tz-cr .tz-returns__panel p.tz-returns__panel-lead { font-size: 22px; }
}

/* Empty media frames */
.tz-frame {
  position: relative; width: 100%; background: var(--sand);
  border: 1px dashed rgba(48,59,50,0.25); border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tz-frame__label { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.4px; color: #8a7a63; text-align: center; padding: 12px; }
.tz-frame--16x9 { aspect-ratio: 16/9; }
.tz-frame--3x4 { aspect-ratio: 3/4; }
.tz-frame--1x1 { aspect-ratio: 1/1; }
.tz-cr:not(.tz-cr--editor) .tz-frame__label--editor-only { display: none; }

/* HERITAGE story: one panoramic picture, four stages.
   Desktop: the whole picture shows and gently leans toward the active stage.
   Phone: the frame is taller than the picture is wide, so the picture pans
   sideways from stage to stage (tz-cr.js sets the transform). */
.tz-story { margin-top: 36px; }
.tz-story__frame { position: relative; width: 100%; aspect-ratio: 1680 / 936; overflow: hidden; border-radius: 14px; background: #2a211b; box-shadow: 0 30px 60px -34px rgba(36,31,26,0.6); }
.tz-story__frame::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(20,15,10,0.28), rgba(20,15,10,0) 38%); }
.tz-story__canvas { position: absolute; top: 0; left: 0; height: 100%; aspect-ratio: 1680 / 936; transform-origin: 50% 50%; transition: transform 1500ms cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.tz-cr .tz-story__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }

.tz-cr .tz-story__pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 18px; height: 18px; min-width: 0; min-height: 0; margin: -9px 0 0 -9px; padding: 0;
  border: 2px solid var(--cream); border-radius: 50%; background: rgba(250,247,242,0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4); -webkit-appearance: none; appearance: none;
  cursor: pointer; line-height: 0; transition: background 300ms ease, transform 300ms ease, opacity 600ms ease;
}
.tz-cr .tz-story__pin:hover, .tz-cr .tz-story__pin:focus { background: rgba(250,247,242,0.65); border-color: var(--cream); outline: none; }
.tz-cr .tz-story__pin:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.tz-cr .tz-story__pin.is-active { background: var(--terracotta); transform: scale(1.15); }
.tz-story__pin::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cream); opacity: 0; pointer-events: none; }
.tz-story__pin.is-active::before { animation: tz-story-pulse 1.9s ease-out infinite; }
.tz-story__pin::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; }
@keyframes tz-story-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.9); opacity: 0; } }
.tz-story__tag {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px);
  padding: 7px 14px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1.2;
  color: var(--dark); background: var(--cream); box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  opacity: 0; transition: opacity 400ms ease, transform 400ms ease;
}
.tz-story__pin.is-active .tz-story__tag { opacity: 1; transform: translate(-50%, 0); transition-delay: 500ms; }

.tz-cr .tz-story__steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tz-cr .tz-story__steps li { display: block; margin: 0; }
.tz-cr .tz-story__step {
  position: relative; display: block; width: 100%; min-height: 0; margin: 0; padding: 16px 0 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-appearance: none; appearance: none;
  text-align: left; white-space: normal; line-height: 1.25; cursor: pointer; color: var(--muted);
}
.tz-cr .tz-story__step:hover, .tz-cr .tz-story__step:focus { background: transparent; color: var(--dark); outline: none; }
.tz-cr .tz-story__step:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.tz-story__bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(48,59,50,0.18); }
.tz-story__bar::after { content: ''; position: absolute; inset: 0; background: var(--terracotta); transform: scaleX(0); transform-origin: left center; }
.tz-story__step.is-done .tz-story__bar::after, .tz-story__step.is-active .tz-story__bar::after { transform: scaleX(1); }
.tz-story.is-playing .tz-story__step.is-active .tz-story__bar::after { animation: tz-story-fill 4200ms linear both; }
@keyframes tz-story-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tz-story__num { display: block; margin-bottom: 4px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 1px; color: var(--terracotta); }
.tz-story__name { display: block; font-family: var(--font-display); font-size: 23px; font-weight: 700; color: #8a7a63; transition: color 300ms ease; }
.tz-story__step.is-active .tz-story__name, .tz-story__step:hover .tz-story__name { color: var(--dark); }

/* Entrance (only once the script is running, so the picture is never hidden without it):
   a sand curtain slides off from left to right, then the pins fade in. */
.tz-story--js .tz-story__frame::before { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: var(--sand); transition: transform 1500ms cubic-bezier(0.65, 0, 0.35, 1); }
.tz-story--js.is-in .tz-story__frame::before { transform: translateX(101%); }
.tz-story--js .tz-story__frame { box-shadow: none; transition: box-shadow 900ms ease 700ms; }
.tz-story--js.is-in .tz-story__frame { box-shadow: 0 30px 60px -34px rgba(36,31,26,0.6); }
.tz-story--js .tz-story__pin { opacity: 0; }
.tz-story--js.is-in .tz-story__pin { opacity: 1; transition-delay: 0ms, 0ms, 1200ms; }

@media (max-width: 767px) {
  .tz-story { margin-top: 28px; }
  .tz-story__frame { aspect-ratio: 4 / 5; border-radius: 12px; }
  .tz-cr .tz-story__steps { gap: 8px; margin-top: 18px; }
  .tz-cr .tz-story__step { padding-top: 12px; }
  .tz-story__num { font-size: 11.5px; }
  .tz-story__name { font-size: clamp(15px, 4.3vw, 17px); }
}
@media (prefers-reduced-motion: reduce) {
  .tz-story__canvas { transition: none; }
  .tz-story__pin.is-active::before { animation: none; }
  .tz-story--js .tz-story__frame::before { display: none; }
  .tz-story.is-playing .tz-story__step.is-active .tz-story__bar::after { animation: none; }
}

/* THE MAKING: film on the left, the five stages as a numbered line on the right */
.tz-making__row { display: flex; gap: 52px; align-items: center; margin-top: 12px; }
.tz-making__media { flex: 1.35 1 0; min-width: 0; }
.tz-making__text { flex: 1 1 0; min-width: 0; }

/* Film poster. Shares the hero player's click-to-play script (.tz-hero classes). */
.tz-film .tz-hero__media { border-radius: 14px; background: #1c1815; box-shadow: 0 0 0 1px rgba(217,165,106,0.4), 0 34px 60px -30px rgba(0,0,0,0.75); }
.tz-cr .tz-film__poster { max-width: none; transform-origin: 60% 40%; animation: tz-film-drift 16s ease-in-out infinite alternate; }
@keyframes tz-film-drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.tz-cr .tz-film .tz-hero__play {
  width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
  flex-direction: column; gap: 18px; box-shadow: none; -webkit-appearance: none; appearance: none; color: var(--cream);
  background: linear-gradient(to top, rgba(20,17,14,0.62), rgba(20,17,14,0.2) 55%, rgba(20,17,14,0.32));
  transition: background 300ms ease;
}
.tz-cr .tz-film .tz-hero__play:hover, .tz-cr .tz-film .tz-hero__play:focus { color: var(--cream); outline: none; background: linear-gradient(to top, rgba(20,17,14,0.5), rgba(20,17,14,0.08) 55%, rgba(20,17,14,0.2)); }
.tz-film .tz-hero__play-circle { position: relative; width: 84px; height: 84px; }
.tz-film .tz-hero__play-circle::before, .tz-film .tz-hero__play-circle::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(250,247,242,0.85); pointer-events: none; animation: tz-film-ring 2.6s ease-out infinite; }
.tz-film .tz-hero__play-circle::after { animation-delay: 1.3s; }
@keyframes tz-film-ring { 0% { transform: scale(1); opacity: 0.85; } 100% { transform: scale(2.1); opacity: 0; } }
.tz-cr .tz-film .tz-hero__play:focus-visible .tz-hero__play-circle { outline: 3px solid var(--gold); outline-offset: 4px; }
.tz-film__label { padding: 8px 18px; border-radius: 999px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; line-height: 1.2; letter-spacing: 0.3px; color: var(--cream); background: rgba(20,17,14,0.5); border: 1px solid rgba(250,247,242,0.32); transition: background 300ms ease, color 300ms ease, border-color 300ms ease; }
.tz-film .tz-hero__play:hover .tz-film__label { background: var(--cream); color: var(--dark); border-color: var(--cream); }

/* The five stages */
.tz-cr .tz-process { list-style: none; margin: 0 0 28px; padding: 0; }
.tz-cr .tz-process li { position: relative; display: flex; align-items: flex-start; gap: 16px; margin: 0; padding: 0 0 18px; font-size: 17.5px; line-height: 1.4; color: var(--cream); }
.tz-cr .tz-process li:last-child { padding-bottom: 0; }
.tz-process li:not(:last-child)::before { content: ''; position: absolute; left: 17.5px; top: 36px; bottom: 0; width: 1px; background: rgba(217,165,106,0.35); }
.tz-process__num { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; color: var(--gold); border: 1px solid rgba(217,165,106,0.6); }
.tz-process__text { padding-top: 5px; }
.tz-cr .tz-making__text .tz-making__claim { margin: 0 0 10px; padding-top: 26px; border-top: 1px solid rgba(250,247,242,0.16); font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.3; color: var(--cream); }
.tz-cr .tz-making__text > p:last-child { margin-bottom: 0; }

@media (max-width: 1023px) {
  .tz-making__row { flex-direction: column; align-items: stretch; gap: 32px; }
  .tz-making__media, .tz-making__text { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .tz-film .tz-hero__media { border-radius: 12px; }
  .tz-cr .tz-film .tz-hero__play { gap: 12px; }
  .tz-film .tz-hero__play-circle { width: 64px; height: 64px; }
  .tz-film .tz-hero__play-triangle { border-top-width: 11px; border-bottom-width: 11px; border-left-width: 18px; margin-left: 5px; }
  .tz-film__label { padding: 6px 14px; font-size: 13.5px; }
  .tz-cr .tz-making__text .tz-making__claim { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .tz-cr .tz-film__poster { animation: none; }
  .tz-film .tz-hero__play-circle::before, .tz-film .tz-hero__play-circle::after { animation: none; opacity: 0; }
}

/* Reveal animation: VISIBLE BY DEFAULT. See tz-cr.js. */
.tz-reveal.tz-pending { opacity: 0; transform: translateY(20px); }
.tz-reveal.tz-anim-ready.tz-pending { transition: opacity 650ms ease, transform 650ms ease; }
.tz-reveal.is-visible { opacity: 1; transform: translateY(0); }
.tz-stagger.tz-pending { opacity: 0; transform: translateY(14px); }
.tz-stagger.tz-anim-ready.tz-pending { transition: opacity 500ms ease, transform 500ms ease; }
.tz-stagger.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .tz-reveal.tz-pending, .tz-stagger.tz-pending { opacity: 1; transform: none; transition: none; }
}

/* Subtle image hover zoom */
.tz-zoom { overflow: hidden; }
.tz-zoom img { transition: transform 500ms ease; }
.tz-zoom:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tz-zoom img { transition: none; } .tz-zoom:hover img { transform: none; } }

/* ---------- HOW TO ORDER (2026-10-04): three steps + the made-to-order rugs ---------- */
.tz-cr .tz-order__steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tz-cr .tz-order__step { margin: 0; padding: 26px 26px 22px; background: #FFFFFF; border: 1px solid #E4D8C8; border-radius: 14px; }
.tz-cr .tz-order__num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--terracotta, #98452F); color: #FAF7F2; font-family: var(--font-display, 'Cormorant Garamond', serif); font-weight: 700; font-size: 22px; line-height: 1; }
.tz-cr .tz-order__step h3 { margin: 0 0 8px; }
.tz-cr .tz-order__step p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.tz-cr .tz-order__sub { margin: 44px 0 0; }
.tz-cr ul.tz-pg-products { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); gap: 24px; }
.tz-cr .tz-pg-product { margin: 0; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E4D8C8; border-radius: 14px; overflow: hidden; }
.tz-cr .tz-pg-product__media { display: block; aspect-ratio: 4 / 3; background: #EFE3D3; overflow: hidden; }
.tz-cr .tz-pg-product__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tz-cr .tz-pg-product__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; padding: 20px 22px 24px; }
.tz-cr .tz-pg-product__title { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.tz-cr .tz-pg-product__title a, .tz-cr .tz-pg-product__title a:hover { color: #241F1A; text-decoration: none !important; }
.tz-cr .tz-pg-product__price { margin: 0 0 16px; font-size: 16px; color: #5A5045; }
.tz-cr a.tz-pg-btn, .tz-cr a.tz-pg-btn:hover, .tz-cr a.tz-pg-btn:focus { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 22px; border-radius: 8px; border: 1px solid rgba(36,31,26,0.45); background: transparent; color: #241F1A; font-family: var(--font-body, 'Lora', serif); font-size: 15.5px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none !important; transition: background-color 200ms ease, color 200ms ease; }
.tz-cr a.tz-pg-btn:hover { background: #241F1A; color: #FAF7F2; }
.tz-cr .tz-order__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 900px) {
  .tz-cr .tz-order__steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tz-cr a.tz-pg-btn { width: 100%; }
}
.tz-cr .tz-order a.tz-btn--outline, .tz-cr .tz-order a.tz-btn--outline:focus { background: transparent; color: #241F1A; border-color: rgba(36,31,26,0.5); box-shadow: none; }
.tz-cr .tz-order a.tz-btn--outline:hover { background: #241F1A; border-color: #241F1A; color: #FAF7F2; }
