/* =========================================================
   SOLVEMADE — BASE STYLESHEET
   Design tokens: blueprint navy + marigold + teal accents, warm paper bg.
   Fonts: Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (utility, labels).
   Signature language: bracket [ ] motif (nav hover, section tags, code icon)
   + colour-blocked icon circles + a scrolling capability marquee
   + a real stepper/timeline for the process section.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color tokens */
  --ink: #1B2A4A;
  --ink-soft: #2A3C61;
  --marigold: #E8A33D;
  --marigold-deep: #C97F1F;
  --teal: #2F8F7E;
  --teal-deep: #226358;
  --paper: #FAF6EF;
  --paper-dim: #F1EBDD;
  --charcoal: #2B2B2B;
  --slate: #756F62;
  --line: #DDD5C2;
  --white: #FFFFFF;

  /* Type tokens */
  --font-display: 'Archivo', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout tokens */
  --container-width: 1180px;
  --radius: 10px;
  --shadow-sm: 0 2px 8px -2px rgba(27, 42, 74, 0.10);
  --shadow-md: 0 16px 32px -12px rgba(27, 42, 74, 0.20);
}


/* ============================================================
   PRELOADER — Two-ring spinner (creative circle, on-brand)
   Outer ring: marigold, clockwise
   Inner ring: teal, counter-clockwise (opposite direction)
   Center dot: marigold pulse
   Frosted glass bg — website content subtly visible behind
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(250, 246, 239, 0.45);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  display: none;
  align-items: center;
  justify-content: center;
}
#preloader.pre-visible { display: flex; }
#preloader.pre-out { animation: pre-exit 0.38s ease forwards; }
@keyframes pre-exit { to { opacity: 0; } }

.pre-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* ── Spinner container ── */
.pre-spinner {
  position: relative;
  width: 58px;
  height: 58px;
}

/* Outer ring — marigold arc, rotates clockwise */
.pre-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid transparent;
  border-top-color: var(--marigold-deep);
  border-right-color: var(--marigold);
  animation: pre-cw 1.1s cubic-bezier(0.4, 0.1, 0.6, 0.9) infinite;
}

/* Inner ring — teal arc, rotates COUNTER-clockwise, offset position */
.pre-ring-inner {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-bottom-color: var(--teal);
  border-left-color: rgba(47, 143, 126, 0.45);
  animation: pre-ccw 0.75s linear infinite;
}

/* Center dot — marigold, soft pulse */
.pre-ring-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marigold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px 2px rgba(232, 163, 61, 0.5);
  animation: pre-dot-pulse 1.1s ease-in-out infinite;
}

@keyframes pre-cw  { to { transform: rotate(360deg);  } }
@keyframes pre-ccw { to { transform: rotate(-360deg); } }
@keyframes pre-dot-pulse {
  0%, 100% { opacity: 1;   transform: translate(-50%, -50%) scale(1);   }
  50%       { opacity: 0.5; transform: translate(-50%, -50%) scale(0.6); }
}

/* ── Brand label below spinner ── */
.pre-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}


/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
svg { display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--marigold-deep) 0%, var(--marigold) 40%, var(--teal) 100%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; max-width: 1380px; }
.logo img { height: 38px; width: auto; }

.main-nav { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; }
.main-nav a:not(.nav-cta-mobile) { position: relative; padding: 4px 2px; color: var(--ink); transition: color 0.2s ease; white-space: nowrap; }
.main-nav a:not(.nav-cta-mobile)::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: -4px; height: 2px; background: var(--marigold-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.main-nav a:not(.nav-cta-mobile):hover, .main-nav a.active { color: var(--marigold-deep); }
.main-nav a:not(.nav-cta-mobile):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { white-space: nowrap; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.login-btn { display: inline-flex; align-items: center; gap: 8px; }
.login-btn svg { width: 16px; height: 16px; }.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-toggle-bar { display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Main wrapper ---------- */
main { min-height: 50vh; }

/* ---------- Section system ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--paper-dim); }
.section-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marigold-deep);
  background: rgba(201, 127, 31, 0.1);
  border: 1px solid rgba(201, 127, 31, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--marigold-deep);
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.16), rgba(232, 163, 61, 0.05));
  border: 1px solid rgba(201, 127, 31, 0.3);
  border-radius: 999px;
  padding: 5px 12px 5px 9px;
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tag::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--marigold-deep);
  box-shadow: 0 0 0 2px rgba(232, 163, 61, 0.25);
}
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 40px; max-width: 600px; }

/* Scroll-reveal — main.js toggles .is-visible via IntersectionObserver */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); will-change: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 15px 32px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.btn-sm { padding: 10px 18px; font-size: 0.78rem; }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 4px 16px -6px rgba(27, 42, 74, 0.45); border: 2px solid #edb265b5; }
.btn-primary:hover { background: var(--marigold-deep); border-color: var(--marigold-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(201, 127, 31, 0.45); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease; z-index: 0; }
.btn-outline:hover::before { transform: scaleX(1); }
.btn-outline:hover { color: var(--ink); transform: translateY(-2px); }
.btn-outline span, .btn-outline > * { position: relative; z-index: 1; }
.btn-outline { color: var(--ink); z-index: 1; }
.btn-outline:hover { color: var(--paper); }
.btn:active { transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 64px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.hero-glow-1 { width: 380px; height: 380px; background: rgba(232, 163, 61, 0.35); top: -130px; right: 6%; }
.hero-glow-2 { width: 320px; height: 320px; background: rgba(47, 143, 126, 0.30); bottom: -150px; left: 2%; }
.hero-inner { max-width: 720px; position: relative; z-index: 1; }
.hero-inner.hero-inner--with-media { max-width: 1380px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 6px solid var(--marigold);
  box-shadow: 0 20px 40px -16px rgba(27, 42, 74, 0.35), 0 0 0 1px var(--marigold-deep);
}
@media (max-width: 900px) {
  .hero-inner.hero-inner--with-media { grid-template-columns: 1fr; gap: 36px; }
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marigold-deep);
  margin-bottom: 18px;
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
  animation-delay: 0.05s;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
  animation-delay: 0.15s;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 560px;
  margin-bottom: 34px;
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
  animation-delay: 0.28s;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
  animation-delay: 0.4s;
}
.trust-chips {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
  animation-delay: 0.52s;
}
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); }
.chip svg { width: 16px; height: 16px; color: var(--marigold-deep); flex-shrink: 0; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--marigold); padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: marquee-scroll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 28px;
  border-right: 1px solid rgba(27, 42, 74, 0.3);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Trust stats ---------- */
.stats-strip { background: var(--ink); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 0 12px; }
.stat + .stat { border-left: 1px solid rgba(250, 246, 239, 0.12); }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--marigold); }
.stat-label { display: block; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--paper-dim); margin-top: 6px; }

/* ---------- Card grids (services / products) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px -6px rgba(27, 42, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 5px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon-navy { background: linear-gradient(155deg, #2D4068, #18243F); color: var(--paper); }
.card-icon-marigold { background: linear-gradient(155deg, #F0B962, #DB9530); color: var(--ink); }
.card-icon-teal { background: linear-gradient(155deg, #3FA593, #267567); color: var(--white); }
.service-card:hover .card-icon, .product-card:hover .card-icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 12px 22px -6px rgba(27, 42, 74, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 5px rgba(0, 0, 0, 0.12);
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin: 14px 0 10px; font-size: 1.12rem; }
.service-card p { color: var(--slate); font-size: 0.92rem; }

/* ---------- Product cards ---------- */
/* Equal-height cards: flex-column so price+cart always stays at bottom */
.product-card {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(27, 42, 74, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(96 93 88 / 30%);
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 36px -12px rgba(27, 42, 74, 0.22); }
.product-card-inner { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.product-card-img {
  background: var(--paper-dim);
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img-placeholder { width: 100%; height: 100%; background: var(--paper-dim); border-radius: 8px; }
/* card-body grows to fill — forces footer to bottom regardless of content length */
.product-card-body { padding: 16px 18px 12px; flex: 1; }
.product-card-body .tag { margin-bottom: 8px; }
/* 2-line clamp on title keeps all cards consistent height */
.product-card-body h3 {
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.product-card-body p { color: var(--slate); font-size: 0.83rem; margin-bottom: 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Footer always pinned at bottom via margin-top: auto */
.product-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 16px; gap: 12px; border-top: 1px solid var(--line); flex-shrink: 0; }
.product-card-footer .price { font-family: var(--font-mono); display: flex; align-items: center; gap: 8px; }
.pc-cart-btn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px -3px rgba(27, 42, 74, 0.4);
}
.pc-cart-btn:hover { background: var(--marigold-deep); transform: scale(1.1); }
.pc-cart-btn svg { width: 17px; height: 17px; }
.pc-cart-btn:disabled { cursor: default; }
.pc-cart-btn.is-adding { opacity: 0.6; transform: scale(0.94); }
.pc-cart-btn.is-added { background: var(--teal-deep); }
.pc-cart-btn.is-added svg { display: none; }
.pc-cart-btn.is-added::after {
  content: '';
  position: absolute;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--white);
  border-bottom: 2.5px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
}
.pc-cart-btn.is-error { background: #C0392B; }
/* ---------- Portfolio cards (homepage "Recent work" + work.php) ----------
   Deliberately independent from .product-card — edit these freely without
   touching the shop/product card styles, and vice versa. */
.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px -6px rgba(27, 42, 74, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 20px 36px -12px rgba(27, 42, 74, 0.22); }
.portfolio-card img {
  width: 100%;
  height: 210px;
  object-fit: fill;
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-card-body { padding: 18px 18px 20px; flex: 1; }
.portfolio-card-body .tag { margin-bottom: 10px; }
.portfolio-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.portfolio-card-client { font-size: 0.82rem; color: var(--slate); margin-bottom: 6px; }
.portfolio-card-body p:not(.portfolio-card-client) { color: var(--slate); font-size: 0.86rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.portfolio-teaser-more { margin-top: 28px; text-align: center; font-family: var(--font-mono); }
.portfolio-teaser-more a { color: var(--marigold-deep); font-weight: 600; }
.featured-products-more { margin-top: 28px; text-align: center; font-family: var(--font-mono); }
.featured-products-more a { color: var(--marigold-deep); font-weight: 600; }
.price-old { text-decoration: line-through; color: var(--slate); margin-right: 4px; font-size: 0.82rem; }
.price-now { color: var(--ink); font-weight: 700; font-size: 1.02rem; }

/* ---------- Shop filter bar (shop.php) ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pills-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
/* Fade hint at right edge to signal scrollability */
.filter-pills-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--paper));
  pointer-events: none;
  z-index: 2;
}
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--slate);
  background: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(27,42,74,0.06);
}
.filter-pill:hover { border-color: var(--marigold-deep); color: var(--marigold-deep); background: rgba(201,127,31,0.06); }
.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 12px -4px rgba(27,42,74,0.35);
}
.sort-select {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 10px 36px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23756F62' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* ---------- Breadcrumb (product.php) ---------- */
.breadcrumb-bar { padding: 18px 0; border-bottom: 1px solid var(--line); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.8rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--marigold-deep); }
.breadcrumb span { color: var(--line); }
.breadcrumb-current { color: var(--ink); }

/* ---------- Product layout ---------- */
.product-grid-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; margin-bottom: 56px; }
.gallery-main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.gallery-main img { width: 100%; height: 380px; object-fit: cover; cursor: zoom-in; }
.gallery-placeholder { height: 380px; display: flex; align-items: center; justify-content: center; color: var(--slate); font-family: var(--font-mono); font-size: 0.85rem; background: var(--paper-dim); }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 56px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; transition: border-color 0.2s ease; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--marigold-deep); }

.product-info .tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--marigold-deep); text-transform: uppercase; }
.product-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); margin: 10px 0 18px; }
.portfolio-detail-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.portfolio-detail-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.portfolio-detail-info .tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--marigold-deep); text-transform: uppercase; }
.portfolio-detail-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); margin: 10px 0 8px; }
.portfolio-detail-client { color: var(--slate); font-size: 0.92rem; margin-bottom: 18px; }
.portfolio-detail-desc { margin-bottom: 28px; line-height: 1.7; }
@media (max-width: 860px) {
  .portfolio-detail-layout { grid-template-columns: 1fr; gap: 28px; }
}
.price-box { margin-bottom: 22px; }
.price-now-lg { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.buybox-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-block { flex: 1; justify-content: center; }
.add-to-cart-form { flex: 1; display: flex; }
.add-to-cart-form .btn { width: 100%; justify-content: center; }
.demo-link { display: inline-block; font-family: var(--font-mono); font-size: 0.85rem; color: var(--teal-deep); margin-bottom: 28px; }
.demo-link:hover { color: var(--teal); }
.meta-info-list { list-style: none; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 22px; }

/* ---------- CMS page content (page.php) ---------- */
.page-content { max-width: 760px; line-height: 1.7; color: var(--charcoal); }
.page-content h1, .page-content h2, .page-content h3 { font-family: var(--font-display); color: var(--ink); margin: 32px 0 14px; }
.page-content h2 { font-size: 1.5rem; }
.page-content h3 { font-size: 1.2rem; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 22px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--marigold-deep); font-weight: 600; }
.page-content strong { color: var(--ink); }
.page-content blockquote { border-left: 3px solid var(--marigold); padding-left: 18px; color: var(--slate); margin: 20px 0; }
.meta-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.92rem;
  padding: 6px 0;
  color: var(--slate);
  word-break: break-all;
  overflow-wrap: break-word;
  text-align: right;
}
.meta-info-list li strong { color: var(--ink); font-weight: 600; flex-shrink: 0; text-align: left; }
@media (max-width: 480px) {
  .meta-info-list li { flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
}
.product-trust-chips { gap: 16px; }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 18px;
  border: none;
  background: none;
  color: var(--slate);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-color: var(--marigold-deep); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-empty, .tab-note { color: var(--slate); font-size: 0.92rem; }
.changelog-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.changelog-list li { border-left: 2px solid var(--line); padding-left: 18px; }
.changelog-version { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.changelog-date { font-weight: 400; color: var(--slate); margin-left: 8px; }
.changelog-list p { color: var(--slate); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(27, 42, 74, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Cart feedback (product.php add-to-cart) ---------- */
.cart-feedback {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal-deep);
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cart-feedback.is-visible { opacity: 1; }
.cart-feedback.is-error { color: #C0392B; }

/* ---------- Cart page ---------- */
.cart-breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.8rem; margin-bottom: 36px; flex-wrap: wrap; }
.cart-breadcrumb-step { color: var(--slate); }
.cart-breadcrumb-step.active { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cart-breadcrumb-sep { color: var(--line); }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.cart-table-head {
  display: grid;
  grid-template-columns: 2fr 120px 140px 110px 40px;
  gap: 16px;
  align-items: center;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}
.cart-items { display: flex; flex-direction: column; }
.cart-row {
  display: grid;
  grid-template-columns: 2fr 120px 140px 110px 40px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row-product { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cart-row-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--paper-dim); border: 1px solid var(--line); }
.cart-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-thumb-placeholder { width: 100%; height: 100%; background: var(--paper-dim); }
.cart-row-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cart-row-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; transition: color 0.2s ease; }
.cart-row-name:hover { color: var(--marigold-deep); }
.cart-row-unit-price { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); }
.cart-row-price-cell { font-family: var(--font-mono); font-size: 0.95rem; color: var(--ink); }
.cart-row-qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; width: fit-content; }
.qty-btn { width: 34px; height: 38px; border: none; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); transition: background 0.15s ease; }
.qty-btn:hover { background: var(--paper-dim); color: var(--marigold-deep); }
.qty-input { width: 42px; height: 38px; text-align: center; border: none; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); font-family: var(--font-mono); font-size: 0.95rem; background: transparent; -moz-appearance: textfield; }
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cart-row-subtotal { font-family: var(--font-mono); font-weight: 700; color: var(--marigold-deep); font-size: 1rem; }
.cart-row-remove { background: none; border: 1.5px solid var(--line); border-radius: 8px; color: var(--slate); cursor: pointer; padding: 6px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease; }
.cart-row-remove:hover { border-color: #C0392B; color: #C0392B; }
.cart-row-remove svg { width: 16px; height: 16px; }

.cart-summary { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.cart-summary h2 { font-size: 1.15rem; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-summary-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.9rem; margin-bottom: 10px; }
.cart-summary-row.total { font-size: 1.15rem; font-weight: 700; color: var(--marigold-deep); border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 8px; margin-bottom: 20px; }
.cart-summary .btn-block { border-radius: 10px; padding: 14px; font-size: 0.95rem; }

/* ---------- Checkout ---------- */
.alert-banner { background: #FDEDEC; border: 1px solid #E6B0AA; color: #943126; padding: 14px 20px; border-radius: var(--radius); margin-bottom: 24px; font-size: 0.92rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.checkout-left-panel { display: flex; flex-direction: column; gap: 0; }
.checkout-payment-section { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-sm); }
.checkout-payment-section h2 { font-size: 1.1rem; margin-bottom: 20px; }

.checkout-order-panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.checkout-order-panel h2 { font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.checkout-order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checkout-order-item:last-child { border-bottom: none; }
.checkout-order-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--paper-dim); border: 1px solid var(--line); flex-shrink: 0; }
.checkout-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-order-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.checkout-order-qty { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); margin-top: 2px; }
.checkout-order-price { font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
.checkout-totals { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.checkout-totals-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.88rem; color: var(--slate); }
.checkout-totals-row.total { font-size: 1.1rem; font-weight: 700; color: var(--marigold-deep); border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 4px; }

.checkout-warning { font-size: 0.88rem; color: var(--slate); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.checkout-warning a { color: var(--marigold-deep); font-weight: 600; }
.checkout-gateway-note { font-size: 0.88rem; color: var(--slate); margin: 16px 0; }
.checkout-edit-link { display: inline-block; margin-top: 18px; font-size: 0.88rem; color: var(--slate); }
.checkout-edit-link:hover { color: var(--marigold-deep); }
.order-success-box { max-width: 480px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 48px 40px; }
.order-success-icon { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: rgba(47, 143, 126, 0.12); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; }
.order-success-icon svg { width: 28px; height: 28px; }
.order-success-box h2 { font-size: 1.3rem; margin-bottom: 10px; }
.order-success-box p { color: var(--slate); margin-bottom: 24px; }

/* ---------- Order history (account.php) + license display ---------- */
.order-history { display: flex; flex-direction: column; gap: 16px; }
.order-history-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.order-history-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.order-history-id { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.order-history-meta { font-size: 0.85rem; color: var(--slate); margin-bottom: 0; }
.order-history-note { font-size: 0.85rem; color: var(--slate); margin-top: 10px; font-style: italic; }
.order-status-badge { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; }
.order-status-pending { background: rgba(232, 163, 61, 0.15); color: var(--marigold-deep); }
.order-status-paid, .order-status-delivered { background: rgba(47, 143, 126, 0.15); color: var(--teal-deep); }
.order-status-failed, .order-status-cancelled { background: #FDEDEC; color: #943126; }
.license-status-badge { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.license-status-badge.is-active { background: rgba(47, 143, 126, 0.15); color: var(--teal-deep); }
.license-status-badge.is-revoked { background: #FDEDEC; color: #943126; }
.license-status-badge.is-expired { background: rgba(232, 163, 61, 0.15); color: var(--marigold-deep); }
.admin-renew-form { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; }
.admin-renew-form input[type="date"] { font-family: var(--font-mono); font-size: 0.82rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.license-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.license-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--paper-dim); border-radius: var(--radius); padding: 10px 14px; }
.license-product { font-size: 0.88rem; color: var(--charcoal); }
.license-key { font-family: var(--font-mono); font-size: 0.85rem; background: var(--white); border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; color: var(--ink); }
.license-expiry-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--slate);
  padding: 8px 14px 14px;
  margin-top: -6px;
}
.license-expiry-banner.is-expiring { background: rgba(232, 163, 61, 0.1); color: var(--marigold-deep); border-radius: var(--radius); padding: 10px 14px; margin-top: 4px; }
.license-expiry-banner.is-expired { background: #FDEDEC; color: #943126; border-radius: var(--radius); padding: 10px 14px; margin-top: 4px; }
.license-renew-link { font-family: var(--font-mono); font-size: 0.78rem; color: var(--marigold-deep); font-weight: 600; white-space: nowrap; }
.license-renew-link:hover { text-decoration: underline; }
.checkout-gateway-note code { background: var(--paper-dim); padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; }

/* ---------- License validity + duration selector (product.php) ---------- */
/* ---------- SaaS pricing toggle (product.php — software type only) ---------- */
/* ---------- Pricing toggle (product page — software) ---------- */
.pricing-toggle-wrap { margin-bottom: 24px; }

.pricing-toggle {
  display: inline-flex;
  position: relative;
  background: var(--paper-dim);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 20px;
  /* Gradient border matching the site's accent bar */
  border: 1.5px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1.5px rgba(201, 127, 31, 0.25), 0 2px 8px -4px rgba(27, 42, 74, 0.12);
}

.pricing-toggle-btn {
  position: relative;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.22s ease;
  white-space: nowrap;
  z-index: 1;
}

/* Active pill — marigold gradient, matches btn-primary feel */
.pricing-toggle-btn.is-active {
  background: linear-gradient(135deg, var(--marigold-deep) 0%, var(--marigold) 100%);
  color: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(201, 127, 31, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.pricing-toggle-btn:not(.is-active):hover { color: var(--marigold-deep); }

/* Save badge — teal pill inside the Yearly button */
.pricing-save-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 2px 9px;
  box-shadow: 0 2px 6px -2px rgba(47, 143, 126, 0.5);
}

/* The big price number */
.price-box { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-period {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
}
.pricing-yearly-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 16px;
  padding: 6px 10px;
  background: rgba(47, 143, 126, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  display: inline-block;
}
.price-period-sm {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  margin-left: 1px;
}
.price-save-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(47, 143, 126, 0.12);
  color: var(--teal-deep);
  border-radius: 6px;
  padding: 3px 8px;
}

.license-validity-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal-deep);
  background: rgba(47, 143, 126, 0.08);
  border: 1px solid rgba(47, 143, 126, 0.2);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 20px;
}
.license-validity-note svg { width: 16px; height: 16px; flex-shrink: 0; }
.duration-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.duration-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.duration-option:hover { border-color: rgba(201, 127, 31, 0.5); }
.duration-option.is-selected { border-color: var(--marigold-deep); background: rgba(232, 163, 61, 0.07); box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.12); }
.duration-option-left { display: flex; align-items: center; gap: 12px; }
.duration-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--marigold-deep); cursor: pointer; flex-shrink: 0; }
.duration-option-label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.duration-option-badge { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--teal-deep); background: rgba(47, 143, 126, 0.12); border-radius: 999px; padding: 2px 9px; margin-left: 8px; }
.duration-option-price { font-family: var(--font-mono); font-weight: 700; color: var(--ink); white-space: nowrap; }
.duration-option-price .price-old { display: block; text-align: right; font-weight: 400; }

/* ---------- Manual UPI payment display (checkout.php) ---------- */
.manual-upi-box { background: var(--paper-dim); border-radius: var(--radius); padding: 18px; margin: 16px 0; text-align: center; }
.upi-id-display { font-size: 1rem; color: var(--ink); margin-bottom: 12px; }
.upi-qr-code { display: block; max-width: 200px; margin: 0 auto 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.checkout-hint { font-size: 0.85rem; color: var(--slate); margin: 0; }

/* ---------- Honeypot field — hidden from real visitors, catches basic spam bots ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Cookie consent banner (footer.php) ---------- */
.cookie-consent-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: var(--white); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; z-index: 999; font-size: 0.88rem; }
.cookie-consent-banner p { margin: 0; }
.cookie-consent-banner a { color: var(--marigold); text-decoration: underline; }
.cookie-consent-banner .btn { flex-shrink: 0; }

/* ---------- Terms agreement checkbox (checkout.php) ---------- */
.terms-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--slate); margin: 14px 0; cursor: pointer; }
.terms-check input { margin-top: 3px; flex-shrink: 0; }
.terms-check a { color: var(--marigold-deep); font-weight: 600; }
.g-recaptcha { margin: 4px 0 14px; max-width: 100%; overflow: hidden; }
@media (max-width: 340px) {
  .g-recaptcha { transform: scale(0.87); transform-origin: left top; }
}
#razorpay-status.is-error { color: #943126; }

/* ---------- Auth pages (login.php / register.php) ---------- */
.auth-section { display: flex; justify-content: center; }
.auth-card { max-width: 420px; width: 100%; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-sub { color: var(--slate); font-size: 0.92rem; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-form input:focus { border-color: var(--marigold-deep); outline: none; box-shadow: 0 0 0 3px rgba(201, 127, 31, 0.15); }
.auth-form button { margin-top: 8px; }
.auth-errors { background: #FDEDEC; border: 1px solid #E6B0AA; color: #943126; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.88rem; }
.auth-errors ul { margin: 0; padding-left: 18px; }
.auth-footer-link { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--slate); }
.auth-footer-link a { color: var(--marigold-deep); font-weight: 600; }
.auth-forgot-link { text-align: right; margin: -4px 0 0; font-size: 0.84rem; }
.auth-forgot-link a { color: var(--slate); transition: color 0.2s ease; }
.auth-forgot-link a:hover { color: var(--marigold-deep); }
.auth-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(47, 143, 126, 0.12);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.auth-success-icon svg { width: 28px; height: 28px; }
.auth-card .auth-success-icon + h1 { text-align: center; }
.auth-card .auth-success-icon ~ .auth-sub { text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--slate); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--white); border: 1px solid var(--line); color: var(--charcoal); }
.btn-google:hover { background: var(--paper-dim); }
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Account page ---------- */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.account-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.account-card h2 { font-size: 1.15rem; margin-bottom: 18px; }
.account-card .meta-info-list { margin-bottom: 24px; }

/* ---------- Empty states ---------- */
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px; text-align: center; color: var(--slate); background: var(--white); }
.empty-state a { color: var(--marigold-deep); font-weight: 600; }
.shatter-text { display: inline-block; }
.shatter-text .letter { display: inline-block; will-change: transform; animation: letterBounce 3s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes letterBounce {
  0%, 30%, 100% { transform: translateY(0); }
  15% { transform: translateY(calc(-1 * var(--amp, 8px))); }
}
@media (prefers-reduced-motion: reduce) {
  .shatter-text .letter { animation: none; }
}

/* ---------- Process (real sequence, so a stepper + connecting line is justified) ---------- */
/* ---------- Process / How We Work ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.process-connector {
  display: none;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.process-step.step-visible { opacity: 1; transform: translateY(0); }
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.15s; }
.process-step:nth-child(3) { transition-delay: 0.30s; }
.process-step:nth-child(4) { transition-delay: 0.45s; }
/* Animated connector line between steps */
.process-step::after {
  content: '';
  display: block;
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: -50%;
  height: 2px;
  background: linear-gradient(90deg, var(--marigold) 0%, var(--marigold) 50%, transparent 100%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s ease 0.6s;
  z-index: 0;
}
.process-step.step-visible::after { transform: scaleX(1); }
.process-step:last-child::after { display: none; }

.step-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 20px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(155deg, #2D4068, #18243F);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--marigold);
  box-shadow: 0 8px 20px -6px rgba(27, 42, 74, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover .step-number {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 28px -8px rgba(27, 42, 74, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.step-number::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: rgba(232, 163, 61, 0.12);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.process-step:hover .step-number::before { opacity: 1; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--ink); }
.process-step p { color: var(--slate); font-size: 0.9rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.testimonial-carousel-wrap { position: relative; }
.testimonial-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(360px, 86vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 20px -8px rgba(27, 42, 74, 0.12);
  position: relative;
  overflow: hidden;
}
@media (max-width: 540px) {
  /* Fade hint on the right edge signals there's more to swipe to */
  .testimonial-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 12px;
    width: 36px;
    background: linear-gradient(to right, transparent, var(--paper));
    pointer-events: none;
  }
  .section-alt .testimonial-carousel-wrap::after { background: linear-gradient(to right, transparent, var(--paper-dim)); }
  .testimonial-card { flex-basis: 84vw; padding: 26px 22px 22px; }
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--marigold);
  opacity: 0.15;
  pointer-events: none;
}
.testimonial-rating { color: var(--marigold); font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-rating .is-filled { color: var(--marigold); }
.testimonial-quote { font-size: 1.0rem; line-height: 1.65; margin-bottom: 24px; color: var(--ink); font-style: italic; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--marigold); }
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { display: block; font-size: 0.78rem; color: var(--slate); margin-top: 2px; }

.faq-list { max-width: 740px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  background: var(--white);
}
/* Left accent bar — hidden by default, slides in when open */
.faq-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--marigold-deep), var(--marigold));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.faq-item:hover { border-color: rgba(201, 127, 31, 0.45); }
.faq-item summary:hover { background: var(--paper-dim); }
.faq-item[open] { border-color: var(--marigold-deep); box-shadow: 0 8px 24px -10px rgba(201, 127, 31, 0.3); }
.faq-item[open]::before { transform: scaleY(1); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  transition: background 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--marigold-deep);
  background: rgba(201, 127, 31, 0.1);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-item summary > span:not(.faq-icon):not(.faq-q-num) { flex: 1; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-dim);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--marigold-deep);
  font-size: 1.1rem;
  font-weight: 400;
  transition: background 0.25s ease, transform 0.3s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item summary:hover .faq-icon { box-shadow: 0 0 0 4px rgba(201, 127, 31, 0.1); }
.faq-item[open] .faq-icon { background: var(--marigold-deep); color: var(--white); transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px 66px;
  margin: 0;
  color: var(--slate);
  max-width: 640px;
  line-height: 1.7;
  animation: faq-fade-in 0.35s ease;
}
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 540px) {
  .faq-item p { padding-left: 24px; }
}


/* ---------- Final CTA / contact ---------- */
.final-cta {
  background:
    radial-gradient(ellipse 60% 60% at 90% 20%, rgba(232, 163, 61, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(47, 143, 126, 0.1) 0%, transparent 70%),
    var(--ink);
  position: relative;
}
/* Remove border-top that .section class adds */
section.section.final-cta { border-top: none; }
.final-cta .section-tag { color: var(--marigold); background: rgba(232, 163, 61, 0.15); border-color: rgba(232, 163, 61, 0.3); }
.final-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.final-cta-text h2 { margin-bottom: 14px; color: var(--paper); }
.final-cta-text p { color: rgba(250, 246, 239, 0.65); }
/* ---------- Contact form — base (light) theme, used standalone on contact.php ---------- */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--slate); opacity: 0.7; }
.contact-form select { color: var(--charcoal); }
.contact-form select option { background: var(--white); color: var(--charcoal); }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23756F62' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--marigold-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 127, 31, 0.15);
}
.contact-form button { align-self: flex-start; }

/* ---------- Contact form — dark theme override, ONLY inside the homepage's
   dark final-cta section (NOT the standalone contact.php page) ---------- */
.final-cta .contact-form { background: rgba(255,255,255,0.07); padding: 32px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.14); }
.final-cta .contact-form input,
.final-cta .contact-form select,
.final-cta .contact-form textarea {
  border: 1px solid rgba(255,255,255,0.15);
  background-color: rgba(255,255,255,0.08);
  color: var(--paper);
}
.final-cta .contact-form input::placeholder,
.final-cta .contact-form textarea::placeholder { color: rgba(250, 246, 239, 0.45); opacity: 1; }
.final-cta .contact-form select { color: var(--paper); }
.final-cta .contact-form select option { background: var(--ink); color: var(--paper); }
.final-cta .contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FAF6EF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.final-cta .contact-form input:focus,
.final-cta .contact-form select:focus,
.final-cta .contact-form textarea:focus { border-color: var(--marigold); box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.2); }
.final-cta .contact-form .btn-primary { background: var(--marigold-deep); border-color: var(--marigold-deep); color: var(--white); }
.final-cta .contact-form .btn-primary:hover { background: var(--marigold); border-color: var(--marigold); }
/* reCAPTCHA's own iframe has a white background regardless of theme — wrap
   it in a light card so it doesn't look like a broken/floating box on dark bg */
.final-cta .contact-form .g-recaptcha { background: var(--white); border-radius: 8px; padding: 2px; display: inline-block; }


/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper-dim); position: relative; }
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--marigold-deep), var(--marigold), var(--teal));
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 64px 24px 44px; }
.footer-col h4 { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--marigold); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: rgba(250,246,239,0.6); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--marigold); }
.footer-about img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-about p { max-width: 280px; }
.social-links { display: flex; flex-direction: column; }
.footer-bottom { border-top: 1px solid rgba(250, 246, 239, 0.08); text-align: center; padding: 20px 24px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: rgb(250 246 239); }

/* ---------- Inner-page hero (about / services / work) ---------- */
.page-hero {
  padding: 80px 0 64px;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.page-hero-inner { position: relative; }
.page-back-btn {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.page-back-btn:hover { border-color: var(--marigold-deep); color: var(--marigold-deep); }
.page-back-btn svg { width: 18px; height: 18px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 18px; max-width: 760px; }
.page-hero-sub { color: var(--slate); font-size: 1.05rem; max-width: 640px; }

/* ---------- Prose block (narrative copy sections) ---------- */
.prose-block { max-width: 720px; }
.prose-block p { color: var(--slate); font-size: 1rem; margin-bottom: 18px; }
.prose-block p:last-child { margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--ink); }
.cta-banner-inner { text-align: center; }
.cta-banner h2 { color: var(--paper); margin-bottom: 24px; }

/* ---------- Founder section (about.php) ---------- */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.founder-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 6px solid var(--marigold);
  box-shadow: 0 20px 40px -16px rgba(27, 42, 74, 0.35), 0 0 0 1px var(--marigold-deep);
}
.founder-media-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 6px solid var(--line);
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
}
.founder-media-placeholder svg { width: 30%; height: 30%; }
.founder-info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 12px 0 18px; }
.founder-bio { color: var(--slate); font-size: 1.02rem; line-height: 1.75; margin-bottom: 24px; }
.founder-signoff {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 3px solid var(--marigold);
  margin-bottom: 20px;
}
.founder-signoff strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.founder-signoff span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--marigold-deep); text-transform: uppercase; letter-spacing: 0.04em; }
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.founder-linkedin svg { width: 16px; height: 16px; flex-shrink: 0; }
.founder-linkedin:hover { border-color: #0A66C2; color: #0A66C2; background: rgba(10, 102, 194, 0.06); }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-media { max-width: 280px; margin: 0 auto; }
}

/* ---------- Service detail blocks (services.php) ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.service-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 22px;
}
.service-detail-icon svg { width: 28px; height: 28px; }
.service-detail-text h2 { margin-bottom: 16px; max-width: none; }
.service-detail-text p { color: var(--slate); font-size: 1.02rem; max-width: 520px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--charcoal); }
.feature-list li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- Shop bridge note ---------- */
.shop-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
  background: var(--white);
}
.shop-note p { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; }

/* ---------- Portfolio placeholder grid (work.php, until Phase 9) ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.placeholder-card { border: 1px dashed var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.placeholder-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line);
  background-image: repeating-linear-gradient(45deg, var(--paper-dim) 0, var(--paper-dim) 10px, var(--paper) 10px, var(--paper) 20px);
}
.placeholder-thumb svg { width: 32px; height: 32px; }
.placeholder-card p { padding: 16px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--slate); text-align: center; letter-spacing: 0.02em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  /* "How we work" switches from a horizontal 4-up row to a vertical
     timeline below desktop — icon pinned top-left, title sits beside it,
     and the description flows below at FULL width (not squeezed into a
     narrow column next to the icon) — with a connecting line that draws
     DOWN instead of across as each step scrolls into view. */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 480px;
    margin: 48px auto 0;
  }
  .process-step {
    position: relative;
    text-align: left;
    padding: 0 0 36px 76px;
    min-height: 56px;
  }
  .process-step:last-child { padding-bottom: 0; }
  .step-icon-wrap { position: absolute; top: 0; left: 0; margin: 0; }
  .process-step h3 {
    text-align: left;
    padding-top: 14px;
    margin-bottom: 8px;
  }
  .process-step p { text-align: left; margin: 0; }
  .process-step::after {
    top: 56px;
    left: 27px;
    right: auto;
    bottom: -8px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--marigold) 0%, var(--marigold) 60%, transparent 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease 0.6s;
  }
  .process-step.step-visible::after { transform: scaleY(1); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .header-cta { display: none; }
  .header-inner { flex-wrap: wrap; }
  .logo { order: 1; }
  .header-actions { order: 2; margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    order: 3;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 14px;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-cta-mobile { display: inline-flex; margin-top: 4px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-grid-layout { grid-template-columns: 1fr; gap: 36px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .stat { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(250, 246, 239, 0.12); padding-top: 20px; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-glow { opacity: 0.6; }
  .hero { padding: 90px 0 60px; }
  .page-back-btn { display: inline-flex; }
  .page-hero { padding: 70px 0 50px; }
  .page-hero .page-hero-inner { padding-top: 52px; }
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .filter-pills::-webkit-scrollbar { display: none; }
  /* On section-alt background, update the fade hint colour */
  .section-alt .filter-pills-wrap::after { background: linear-gradient(to right, transparent, var(--paper-dim)); }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .card-grid, .stats-grid { grid-template-columns: 1fr; }
  /* Shop page: single column on mobile for full card visibility */
  .product-grid { grid-template-columns: 1fr; }
  /* Homepage featured products: horizontal swipe slider on mobile */
  .product-grid.featured-slider {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-left: 0px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .product-grid.featured-slider::-webkit-scrollbar { display: none; }
  .product-grid.featured-slider .product-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
  /* Restore slider image height */
  .product-grid.featured-slider .product-card-img { height: 200px; padding: 0px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stat:nth-child(n+3) { border-top: none; padding-top: 0; }
  .stat + .stat { border-top: 1px solid rgba(250, 246, 239, 0.12); padding-top: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .section h2 { font-size: 1.5rem; }
  .login-btn .login-text { display: none; }
  .login-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; justify-content: center; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .sort-select { width: 100%; }
  .buybox-actions { flex-direction: column; }
  .tabs-nav { gap: 0; }
  .tab-btn { padding: 10px 12px; font-size: 0.75rem; }
  .cart-table-head { display: none; }
  .cart-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 0; grid-template-columns: none; }
  .cart-row-product { flex: 1 1 100%; }
  .cart-row-price-cell { order: 2; font-size: 0.9rem; }
  .cart-row-qty { order: 3; }
  .cart-row-subtotal { order: 4; }
  .cart-row-remove { order: 5; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-order-panel { position: static; }
  .cookie-consent-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 14px 16px; }
  .cookie-consent-banner .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .header-inner { padding: 12px 16px; gap: 10px; }
  .logo img { height: 30px; }
  .header-actions { gap: 8px; }
  .icon-btn { width: 36px; height: 36px; }
  .nav-toggle { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.98rem; }
  .section { padding: 56px 0; }
  .hero-glow { display: none; }
}

/* ---------- Accessibility / quality floor ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--marigold-deep);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, html { scroll-behavior: auto; transition: none !important; animation: none !important; }
  .eyebrow, .hero h1, .hero-sub, .hero-actions, .trust-chips { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   Bottom-right corner. Pulse rings radiate outward to draw
   attention. Tooltip slides in from right on hover.
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Button ── */
.wa-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40), 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  flex-shrink: 0;
  /* Gentle float bob */
  animation: wa-bob 3s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.52), 0 3px 10px rgba(0,0,0,0.14);
}
@keyframes wa-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
/* Don't fight bob + hover — reset on hover */
.wa-btn:hover { animation: none; }

.wa-icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

/* ── Pulse rings ── */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: wa-pulse-ring 2.4s ease-out infinite;
}
.wa-pulse-2 {
  background: rgba(37, 211, 102, 0.20);
  animation-delay: 0.8s;
}
@keyframes wa-pulse-ring {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0;   }
}

/* ── Tooltip ── */
.wa-tooltip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px -6px rgba(27, 42, 74, 0.16);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.wa-tooltip-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.wa-tooltip-sub {
  font-size: 0.76rem;
  color: var(--slate);
  font-family: var(--font-mono);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .wa-float  { bottom: 18px; right: 18px; }
  .wa-btn    { width: 52px; height: 52px; }
  .wa-icon   { width: 26px; height: 26px; }
  .wa-tooltip { display: none; } /* tooltip takes too much space on mobile */
}
