/*
Theme Name:  BurntLines
Theme URI:   https://burntlines.com
Author:      BurntLines
Description: Custom dark theme for BurntLines laser-engraved artisan goods. Features a handcrafted BL monogram logo with animated ember particles on the hero.
Version:     1.2.6
Tags:        custom, dark, artisan, e-commerce, one-page
Text Domain: burntlines
*/

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
  --bg: #0d0c0b;
  --bg-2: #111009;
  --surface: #1a1815;
  --surface-2: #232018;
  --border: #2e2a24;
  --accent: #e8743a;
  --accent-hover: #f08850;
  --accent-glow: rgba(232, 116, 58, 0.15);
  --text: #f0ede8;
  --text-muted: #8a8278;
  --text-dim: #4e4a46;
  --nav-height: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  font-weight: 700;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 116, 58, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(13, 12, 11, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo — image version */
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.2s var(--ease);
}

.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav__logo:hover { opacity: 0.82; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.nav__links a:hover { color: var(--text); }

.nav__etsy {
  color: var(--accent) !important;
  font-weight: 500 !important;
}

.nav__etsy:hover { color: var(--accent-hover) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(232, 116, 58, 0.14) 0%, transparent 65%),
    linear-gradient(180deg, #090807 0%, #0d0c0b 60%, #0f0d0b 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 2rem 6rem;
  max-width: 920px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border: 1px solid rgba(232, 116, 58, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.25rem;
  animation: fadeInDown 0.7s var(--ease) 0.2s both;
}

.hero__title {
  font-size: clamp(5.5rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.75s var(--ease) 0.35s both;
  color: var(--text);
}

/* <em> inside the heading = orange accent colour, not italic.
   Works regardless of how many words or lines the heading contains. */
.hero__title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 80px rgba(232, 116, 58, 0.45), 0 0 160px rgba(232, 116, 58, 0.2);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  animation: fadeInUp 0.75s var(--ease) 0.65s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.75s var(--ease) 0.8s both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s var(--ease) 1.4s both;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(232, 116, 58, 0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ============================================
   FEATURES STRIP
============================================ */
.features {
  padding: 5rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
  text-align: center;
}

.feature-card__icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products { padding: 7rem 0; }

.products__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}

.products__header h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1.1rem;
}

.products__header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Product Category */
.product-category {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.product-category:last-child {
  border-bottom: 1px solid var(--border);
}

.product-category__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.product-category__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-category__intro {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.product-category__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.product-category__intro p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 116, 58, 0.5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 116, 58, 0.15);
}

.product-card__img {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__overlay span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__body {
  padding: 1.5rem;
}

.product-card__body h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.product-card__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.product-card__price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- PHOTO card (real product image uploaded as Featured Image) --- */
.product-card__img--photo {
  background: #1a1a1a;
  overflow: hidden;
}
/* Reset WP's base img rules that fight the card container */
.product-card__img--photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain; /* show full product — no cropping */
  display: block;
}

/* --- CERAMIC card backgrounds --- */
.product-card__img--ceramic {
  background: linear-gradient(140deg, #d4d0cb 0%, #bab4ad 45%, #9e9891 100%);
}
.product-card__img--ceramic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 22px, rgba(255,255,255,0.04) 23px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 22px, rgba(255,255,255,0.04) 23px);
}
.product-card__img--ceramic::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border: 2.5px solid rgba(50, 40, 30, 0.35);
  border-radius: 6px;
  box-shadow: inset 0 0 20px rgba(50,40,30,0.12);
}

.product-card__img--ceramic2 {
  background: linear-gradient(140deg, #c5cdd6 0%, #a2aeba 50%, #88a0b0 100%);
}
.product-card__img--ceramic2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 22px, rgba(255,255,255,0.04) 23px
  );
}
.product-card__img--ceramic2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 72px;
  height: 28px;
  border-bottom: 3px solid rgba(40,40,55,0.4);
}

.product-card__img--ceramic3 {
  background: linear-gradient(140deg, #dbd7d3 0%, #c2bdb8 50%, #aaa59e 100%);
}
.product-card__img--ceramic3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(50,40,30,0.3);
}
.product-card__img--ceramic3::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(50,40,30,0.2);
}

/* --- LEATHER card backgrounds --- */
.product-card__img--leather {
  background: linear-gradient(140deg, #8b5e3c 0%, #6b4226 50%, #4e2e18 100%);
}
.product-card__img--leather::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -40deg,
    rgba(255, 200, 100, 0.05) 0px, rgba(255, 200, 100, 0.05) 1px,
    transparent 1px, transparent 9px
  );
}
.product-card__img--leather::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 82px;
  border: 2px solid rgba(220,180,100,0.35);
  border-radius: 6px;
}

.product-card__img--leather2 {
  background: linear-gradient(140deg, #9d6a46 0%, #7c4e32 50%, #5a3420 100%);
}
.product-card__img--leather2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -40deg,
    rgba(255,200,100,0.05) 0px, rgba(255,200,100,0.05) 1px,
    transparent 1px, transparent 9px
  );
}
.product-card__img--leather2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 40px;
  border-radius: 20px;
  border: 2px solid rgba(220,180,100,0.3);
}

.product-card__img--leather3 {
  background: linear-gradient(140deg, #7c5236 0%, #5e3a22 50%, #3e2410 100%);
}
.product-card__img--leather3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -40deg,
    rgba(255,200,100,0.05) 0px, rgba(255,200,100,0.05) 1px,
    transparent 1px, transparent 9px
  );
}
.product-card__img--leather3::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 90px;
  border: 1.5px solid rgba(220,180,100,0.35);
  border-radius: 3px;
}

/* --- WOOD card backgrounds --- */
.product-card__img--wood {
  background: linear-gradient(155deg, #c8a060 0%, #a07840 45%, #7a5828 100%);
}
.product-card__img--wood::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    88deg,
    rgba(255,220,120,0.07) 0px, transparent 2px, transparent 14px,
    rgba(180,130,50,0.05) 15px, transparent 17px, transparent 28px
  );
}
.product-card__img--wood::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 56px;
  border: 2px solid rgba(50,30,10,0.4);
  border-radius: 4px;
}

.product-card__img--wood2 {
  background: linear-gradient(155deg, #bc8848 0%, #8c6030 45%, #6a4420 100%);
}
.product-card__img--wood2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    88deg,
    rgba(255,220,120,0.07) 0px, transparent 2px, transparent 14px,
    rgba(180,130,50,0.05) 15px, transparent 17px, transparent 28px
  );
}
.product-card__img--wood2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 80px;
  border: 2px solid rgba(50,30,10,0.4);
  border-radius: 3px;
}

.product-card__img--wood3 {
  background: linear-gradient(155deg, #d4b472 0%, #a88040 45%, #7e5e28 100%);
}
.product-card__img--wood3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    88deg,
    rgba(255,220,130,0.08) 0px, transparent 2px, transparent 14px,
    rgba(180,130,50,0.05) 15px, transparent 17px, transparent 28px
  );
}
.product-card__img--wood3::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 64px;
  height: 64px;
  border: 2px solid rgba(50,30,10,0.4);
}

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(232, 116, 58, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.1rem;
}

.cta-banner p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ============================================
   PAGE HERO (about, terms pages)
============================================ */
.page-hero {
  padding: calc(var(--nav-height) + 4.5rem) 2rem 4.5rem;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(232, 116, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero > * { position: relative; }

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   ABOUT PAGE
============================================ */
.about-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-grid h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.about-grid p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.about-grid p strong { color: var(--text); }

.about-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(232, 116, 58, 0.07) 0%, transparent 70%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border-right: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}

.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--surface-2); }

.process-step__num {
  font-size: 2.75rem;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   TERMS PAGE
============================================ */
.terms-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
}

.terms-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 3.5rem;
}

.terms-toc h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.terms-toc ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terms-toc a {
  color: var(--accent);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
}

.terms-toc a:hover { color: var(--accent-hover); }

.terms-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.terms-block:last-child { border-bottom: none; }

.terms-block h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.terms-block p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.terms-block p:last-child { margin-bottom: 0; }

.terms-block ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.terms-block ul li { margin-bottom: 0.4rem; }

.terms-block strong { color: var(--text); }

.terms-block a {
  color: var(--accent);
  transition: color 0.2s;
}

.terms-block a:hover { color: var(--accent-hover); }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

/* Footer logo — image version */
.footer__logo {
  margin-bottom: 0.875rem;
}

.footer__logo img {
  height: 46px;
  width: auto;
  display: block;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__bottom a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.footer__bottom a:hover { color: var(--text); }

/* ============================================
   GENERIC CARD VISUALS
   Used automatically for any material that isn't
   ceramic, leather, or wood. Cycles a → b → c.
============================================ */
.product-card__img--generic-a {
  background: linear-gradient(140deg, #3a3848 0%, #2a2838 50%, #1c1c2a 100%);
}
.product-card__img--generic-a::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.035) 0px, transparent 1px, transparent 9px
  );
}
.product-card__img--generic-a::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 6px;
}

.product-card__img--generic-b {
  background: linear-gradient(140deg, #383a28 0%, #282c1a 50%, #1c200e 100%);
}
.product-card__img--generic-b::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -30deg,
    rgba(255,255,255,0.03) 0px, transparent 1px, transparent 12px
  );
}
.product-card__img--generic-b::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 68px; height: 68px;
  border: 2px solid rgba(255,255,255,0.16);
}

.product-card__img--generic-c {
  background: linear-gradient(140deg, #2e3a3a 0%, #1e2c2c 50%, #121e1e 100%);
}
.product-card__img--generic-c::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 0px, transparent 1px, transparent 16px
  );
}
.product-card__img--generic-c::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 22px;
  border: 2px solid rgba(255,255,255,0.16);
  border-radius: 11px;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   KEYFRAMES
============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.8; }
  50%       { transform: scaleY(0.5) translateY(8px); opacity: 0.3; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid var(--border); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-bottom: none; }
  .process-step:last-child { border-right: 1px solid var(--border); border-bottom: none; }
}

@media (max-width: 900px) {
  .features__inner { grid-template-columns: 1fr; gap: 1px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 9, 8, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links li { width: 100%; }

  .nav__links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.0625rem;
  }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }

  .hero__title {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .hero__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .process-step:last-child { border-bottom: none !important; }
}

/* ============================================
   PRODUCT DETAIL PAGE  (single-bl_product.php)
============================================ */

.product-detail {
  padding: 6rem 0 5rem;
  min-height: 80vh;
}

.product-detail__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.product-detail__back {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s var(--ease);
}
.product-detail__back:hover { color: var(--accent); }

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Image */
.product-detail__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.product-detail__img {
  width: 100%;
  height: auto;      /* size from intrinsic ratio — never stretches */
  max-width: none;
  display: block;
}
.product-detail__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  font-family: var(--font-serif);
}

/* Info */
.product-detail__material {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.product-detail__info h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.product-detail__desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.product-detail__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-detail { padding: 4rem 0 3rem; }
}

/* ── Product video (self-hosted MP4/WebM) ───────────────── */
.product-detail__video {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.product-detail__video-label {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.product-video video {
  width: 100%;
  max-width: 800px;
  display: block;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ============================================
   CARD CAROUSEL  (homepage product cards)
   Transition modes: fade (default), slide, morph, none.
   Controlled by data-transition attribute on .card-carousel.
============================================ */
.card-carousel { position: relative; }

/* ── Fade (default) ── */
.card-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.card-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ── None (instant swap) ── */
.card-carousel[data-transition="none"] .card-carousel__slide {
  transition: none;
}

/* ── Slide (horizontal) ── */
.card-carousel[data-transition="slide"] .card-carousel__slide {
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-carousel[data-transition="slide"] .card-carousel__slide.is-active {
  transform: translateX(0);
}
.card-carousel[data-transition="slide"] .card-carousel__slide.is-exiting {
  transform: translateX(-100%);
}

/* ── Morph (zoom crossfade) ── */
.card-carousel[data-transition="morph"] .card-carousel__slide {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.card-carousel[data-transition="morph"] .card-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.card-carousel[data-transition="morph"] .card-carousel__slide.is-exiting {
  opacity: 0;
  transform: scale(0.92);
}
/* slide img fills the 240 px card-image container */
.card-carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
}

/* Dot strip at the bottom of the card image */
.card-carousel__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: auto;
}
.card-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.card-carousel__dot.is-active {
  background: #fff;
  border-color: #fff;
}

/* ============================================
   PRODUCT DETAIL — 3-COLUMN GALLERY LAYOUT
   [thumbs 90px | main image 1fr | info 1fr]
============================================ */
.product-detail__layout {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "thumbs media info";
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 2rem;
}

/* Thumbnail strip */
.product-detail__thumbs {
  grid-area: thumbs;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.detail-thumb {
  width: 90px;
  height: 90px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.2s var(--ease);
  flex-shrink: 0;
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.detail-thumb.is-active { border-color: var(--accent); }
.detail-thumb:hover:not(.is-active) { border-color: rgba(232,116,58,0.5); }

/* Video thumb */
.detail-thumb--video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
}
.detail-thumb__play {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

/* Main media area */
.product-detail__main-media {
  grid-area: media;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}
.product-detail__img-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.product-detail__img-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Override previous img-wrap styles for the new layout */
.product-detail__main-media .product-detail__img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
}

/* Video iframe container */
.product-detail__video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.product-detail__video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Info column */
.product-detail__info { grid-area: info; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .product-detail__layout {
    grid-template-columns: 80px 1fr;
    grid-template-areas:
      "thumbs media"
      "info   info";
  }
}
@media (max-width: 560px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "thumbs"
      "info";
  }
  .product-detail__thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    max-width: 100%;
  }
  .product-detail__main-media { position: static; }
}

/* ============================================
   LIGHTBOX
============================================ */
.bl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.bl-lightbox:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}
.bl-lightbox__img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 96px rgba(0,0,0,0.7);
  user-select: none;
}
.bl-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.bl-lightbox__close:hover { opacity: 1; }
.bl-lightbox__prev,
.bl-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.bl-lightbox__prev { left: 1.5rem; }
.bl-lightbox__next { right: 1.5rem; }
.bl-lightbox__prev:hover,
.bl-lightbox__next:hover { background: rgba(255,255,255,0.18); }
.bl-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}
/* Hide prev/next when only one image */
.bl-lightbox[data-total="1"] .bl-lightbox__prev,
.bl-lightbox[data-total="1"] .bl-lightbox__next { display: none; }

/* ============================================
   TERMS PAGE — editor-content mode
   Styles block-editor output inside the themed shell.
============================================ */
.terms-editor-content {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.terms-editor-content h1,
.terms-editor-content h2,
.terms-editor-content h3 {
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.terms-editor-content p { margin-bottom: 1rem; }
.terms-editor-content ul,
.terms-editor-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.terms-editor-content ul { list-style: disc; }
.terms-editor-content ol { list-style: decimal; }
.terms-editor-content a { color: var(--accent); }
.terms-editor-content a:hover { color: var(--accent-hover); }
.terms-editor-content strong { color: var(--text); }
