/* Blackout — black and gold. One stylesheet for every page. */

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("/fonts/thmanyah-serif-display-bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --card: #121212;
  --card-2: #171717;
  --gold: #c6a87c;
  --gold-soft: rgba(198, 168, 124, 0.1);
  --gold-line: rgba(198, 168, 124, 0.25);
  --sand: #e8dfd8;
  --ink-on-gold: #1f1810;
  --white: #fff;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.05);
  --green: #25d366;
  --danger: #ef4444;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --header-h: 76px;
  --gutter: 20px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --header-h: 96px; --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #000; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.solid { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.gold { color: var(--gold); }
.font-display { font-family: "Thmanyah Serif Display", "Cairo", serif; font-weight: normal; }
.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Type ---------- */

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding-block: 88px; }
.section-title { font-size: 32px; font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; }
.section-lead { color: var(--gray-400); font-size: 17px; line-height: 1.8; max-width: 38rem; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { gap: 24px; }
@media (min-width: 768px) {
  .section { padding-block: 120px; }
  .section-title { font-size: 44px; }
  .section-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@media (min-width: 1280px) { .section-title { font-size: 52px; } }

.page-hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 40px; text-align: center; }
.page-hero h1 { font-size: 40px; font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.page-hero p { margin: 14px auto 0; max-width: 38rem; color: var(--gray-400); font-size: 17px; line-height: 1.8; }
@media (min-width: 768px) { .page-hero { padding-top: calc(var(--header-h) + 64px); } .page-hero h1 { font-size: 58px; } .page-hero p { font-size: 18px; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding-inline: 28px; border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn svg { font-size: 20px; }
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--ink-on-gold); box-shadow: 0 10px 30px -10px rgba(198, 168, 124, 0.5); }
.btn-gold:hover { background: var(--white); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: var(--green); color: #04210f; font-weight: 800; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5); }
.btn-wa:hover { background: #3ee07a; transform: translateY(-2px); }
.btn-lg { height: 58px; padding-inline: 34px; font-size: 17px; }
.btn-block { width: 100%; height: 58px; font-size: 17px; }
.btn:disabled { opacity: 0.6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; padding-bottom: 6px; border-bottom: 2px solid var(--gold); transition: color 0.3s; }
.link-arrow svg { font-size: 20px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover svg { transform: translateX(-6px); }

/* ---------- Header ---------- */

.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: padding 0.5s var(--ease); }
.site-header .bar {
  margin-inline: auto; max-width: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0));
  border: 1px solid transparent; border-radius: 0;
  transition: all 0.5s var(--ease);
}
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); transition: height 0.5s var(--ease), padding 0.5s var(--ease); }
.site-header .logo { display: flex; flex-shrink: 0; }
.site-header .logo img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; transition: height 0.5s var(--ease); }
.site-header nav { display: none; align-items: center; gap: 34px; }
.site-header nav a { position: relative; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.65); transition: color 0.3s; padding-block: 6px; }
.site-header nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.site-header nav a:hover, .site-header nav a.active { color: var(--white); }
.site-header nav a.active::after { transform: scaleX(1); }
.site-header .tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: rgba(255, 255, 255, 0.8); font-size: 20px; transition: background 0.3s, color 0.3s; }
.icon-btn svg { stroke-width: 1.6; }
.icon-btn:hover { background: var(--glass); color: var(--white); }
.icon-btn .count { position: absolute; top: 4px; left: 4px; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 9px; background: var(--gold); color: #000; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.site-header .cta { display: none; height: 44px; padding-inline: 22px; font-size: 14px; margin-inline-start: 8px; }

.site-header.scrolled { padding: 10px 12px 0; }
.site-header.scrolled .bar { max-width: 1240px; border-radius: 999px; background: rgba(18, 18, 18, 0.75); border-color: rgba(255, 255, 255, 0.08); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }
.site-header.scrolled .row { height: 58px; padding-inline: 20px 8px; }
.site-header.scrolled .logo img { height: 26px; }
@media (min-width: 1024px) {
  .site-header nav { display: flex; }
  .site-header .cta { display: inline-flex; }
  .site-header .logo img { height: 42px; }
  .site-header.scrolled { padding: 12px var(--gutter) 0; }
  .site-header.scrolled .row { height: 64px; padding-inline: 28px 10px; }
  .site-header.scrolled .logo img { height: 30px; }
}

/* Phone: the sections open from the menu button as a full-screen sheet. */
.menu-btn { display: flex; }
.menu-btn svg { font-size: 24px; }
.cta-mini { height: 38px; padding-inline: 16px; font-size: 13px; margin-inline-end: 4px; box-shadow: none; }
@media (max-width: 359px) { .cta-mini { display: none; } }
.menu-sheet {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  animation: fade 0.25s;
}
.menu-sheet nav { display: flex; flex-direction: column; }
.menu-sheet nav a { padding: 16px 4px; border-bottom: 1px solid var(--line-soft); font-size: 24px; font-weight: 800; color: var(--gray-300); opacity: 0; animation: rise 0.5s var(--ease) forwards; }
.menu-sheet nav a:nth-child(2) { animation-delay: 0.04s; }
.menu-sheet nav a:nth-child(3) { animation-delay: 0.08s; }
.menu-sheet nav a:nth-child(4) { animation-delay: 0.12s; }
.menu-sheet nav a:nth-child(5) { animation-delay: 0.16s; }
.menu-sheet nav a.active { color: var(--gold); }
.menu-foot { display: flex; flex-direction: column; gap: 10px; opacity: 0; animation: rise 0.5s var(--ease) 0.2s forwards; }
body.menu-open { overflow: hidden; }
body.menu-open .wa-fab { display: none; }
@media (min-width: 1024px) { .menu-btn, .cta-mini, .menu-sheet { display: none !important; } }

/* A floating WhatsApp button on every page. */
.wa-fab { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; display: flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: #fff; font-size: 28px; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform 0.4s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.buybar-on .wa-fab { transform: translateY(-80px); }
@media (min-width: 1024px) { .wa-fab { left: 28px; bottom: 28px; width: 60px; height: 60px; font-size: 30px; } }

/* ---------- Home: hero ---------- */

.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 50% at 25% 40%, rgba(198, 168, 124, 0.13), transparent 70%), radial-gradient(40% 40% at 90% 90%, rgba(198, 168, 124, 0.06), transparent 70%); }
.hero-inner { position: static; width: 100%; display: grid; grid-template-columns: 1fr; align-items: center; gap: 48px; padding-block: 40px 56px; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero-mark { height: 80px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.hero h1 { font-size: 40px; line-height: 1.45; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.hero h1 .accent { color: var(--gold); }
.hero-sub { max-width: 32rem; color: var(--gray-200); font-size: 17px; font-weight: 500; line-height: 1.85; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 8px; }
.hero-ctas .btn { width: 100%; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 6px; color: var(--gray-300); font-size: 13px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--gold); font-size: 16px; }

/* The photo: behind the text on a phone, framed beside it on a computer. */
.hero-visual { position: absolute; inset: 0; z-index: 1; }
.hero-visual .photo { position: absolute; inset: 0; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-2%); } }
.hero-visual .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 4%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.72)); }
.hero-badge { display: none; }

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; justify-content: center; width: auto; }
  .hero-ctas .btn { width: auto; }
}
@media (min-width: 768px) { .hero h1 { font-size: 54px; } .hero-sub { font-size: 19px; } }
@media (min-width: 1024px) {
  .hero-inner { position: relative; z-index: 2; grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding-block: 48px; }
  .hero-copy { align-items: flex-start; text-align: start; }
  .hero-mark { height: 92px; }
  .hero h1 { font-size: 60px; line-height: 1.5; }
  .hero-ctas { justify-content: flex-start; }
  .trust { justify-content: flex-start; }
  .hero-visual { position: relative; inset: auto; justify-self: center; width: min(100%, 430px); }
  .hero-visual .photo { position: relative; aspect-ratio: 9 / 14; border-radius: 2.5rem; border: 1px solid var(--gold-line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 10px rgba(255, 255, 255, 0.02); }
  .hero-visual .photo::after { background: linear-gradient(to top, rgba(10, 10, 10, 0.5), transparent 45%); }
  .hero-badge {
    position: absolute; right: -44px; bottom: 52px; z-index: 2; display: flex; align-items: center; gap: 14px;
    padding: 12px 18px 12px 20px; border-radius: 20px; background: rgba(18, 18, 18, 0.85); border: 1px solid var(--line);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow); animation: pop 0.8s var(--ease) 0.6s both;
  }
  .hero-badge .qr { width: 52px; height: 52px; padding: 5px; border-radius: 10px; background: #fff; }
  .hero-badge b { display: block; font-size: 15px; }
  .hero-badge small { color: var(--gray-400); font-size: 12px; font-weight: 600; }
}
@media (min-width: 1280px) { .hero h1 { font-size: 68px; } }

/* ---------- Home: marquee ---------- */

.marquee { display: flex; overflow: hidden; padding-block: 16px; background: var(--gold); color: #0b0b0b; direction: ltr; transform: rotate(-1.2deg); margin-block: 8px 24px; box-shadow: var(--shadow); }
.marquee-track { display: flex; flex-wrap: nowrap; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { flex-shrink: 0; margin: 2px 22px 0; font-size: 21px; font-weight: 900; white-space: nowrap; }
.marquee-track img { flex-shrink: 0; height: 26px; width: auto; opacity: 0.75; filter: brightness(0.1); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .marquee-track span { margin-inline: 34px; font-size: 26px; } .marquee-track img { height: 34px; } }

/* ---------- Home: steps ---------- */

.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step { position: relative; padding: 28px; border-radius: 1.75rem; background: var(--card); border: 1px solid var(--line-soft); transition: border-color 0.4s, opacity 0.8s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s); }
.step.in:hover { border-color: var(--gold-line); transform: translateY(-4px); transition-delay: 0s; }
.step .n { position: absolute; top: 20px; left: 24px; font-size: 52px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198, 168, 124, 0.35); direction: ltr; }
.step .ic { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 18px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-size: 25px; }
.step .ic svg { stroke-width: 1.6; }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--gray-400); font-size: 15px; line-height: 1.8; }
.step a { display: inline-flex; margin-top: 12px; color: var(--gold); font-size: 14px; font-weight: 700; gap: 6px; align-items: center; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Products ---------- */

.chips { display: flex; gap: 6px; overflow-x: auto; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); width: max-content; max-width: 100%; }
.chips button { white-space: nowrap; height: 44px; padding-inline: 22px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--gray-400); transition: all 0.3s; }
.chips button:hover { color: var(--white); background: var(--glass); }
.chips button[aria-pressed="true"] { background: var(--gold); color: #000; }

.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.product-card { display: flex; flex-direction: column; padding: 12px; border-radius: 2rem; background: var(--card); border: 1px solid var(--line-soft); transition: border-color 0.3s, opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s); }
.product-card.in:hover { border-color: rgba(198, 168, 124, 0.45); transform: translateY(-8px); transition-delay: 0s; }
.product-card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.5rem; background: #1a1a1a; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.07); }
.product-card__img .tag { position: absolute; top: 14px; right: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(10, 10, 10, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--gold); font-size: 12px; font-weight: 700; }
.product-card__body { padding: 18px 10px 8px; }
.product-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.swatches { display: flex; align-items: center; gap: 8px; color: var(--gray-500); font-size: 13px; font-weight: 600; }
.swatches .dots { display: flex; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--card); margin-inline-start: -7px; background: #333 center/cover; box-shadow: 0 0 0 1px var(--line); }
.swatches i:first-child { margin-inline-start: 0; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.price-from small { display: block; color: var(--gray-500); font-size: 12px; font-weight: 600; }
.price-from b { font-size: 19px; font-weight: 800; }
.price-from b em { font-style: normal; color: var(--gray-400); font-size: 13px; font-weight: 600; }
.round { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--glass); font-size: 20px; transition: background 0.3s, color 0.3s; }
.product-card:hover .round { background: var(--gold); color: #000; }
.skeleton .product-card__img, .skeleton-line { background: linear-gradient(90deg, #161616, #1e1e1e, #161616); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton-line { height: 18px; border-radius: 8px; margin: 16px 10px 0; }
.skeleton-line.short { width: 40%; }
.state { grid-column: 1 / -1; padding: 88px 24px; text-align: center; color: var(--gray-500); font-size: 17px; font-weight: 700; background: var(--card); border: 1px solid var(--line-soft); border-radius: 2rem; }
.state a { color: var(--gold); }

/* ---------- Home: about ---------- */

.why-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.why-copy { display: flex; flex-direction: column; gap: 20px; }
.why-copy h2 { white-space: pre-line; }
.why-copy .text { display: flex; flex-direction: column; gap: 14px; color: var(--gray-300); font-size: 17px; line-height: 1.95; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 1.5rem; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft); }
.fact .ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); font-size: 22px; }
.fact .ic svg { stroke-width: 1.6; }
.fact b { font-size: 16px; font-weight: 800; }
.fact span { color: var(--gray-400); font-size: 14px; line-height: 1.7; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .fact { padding: 28px 24px; } }

/* ---------- Home: warranty ---------- */

.warranty-band { position: relative; overflow: hidden; border-radius: 2.5rem; background: radial-gradient(80% 120% at 0% 0%, rgba(198, 168, 124, 0.15), transparent 60%), var(--card); border: 1px solid var(--gold-line); padding: 40px 24px; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.warranty-band .copy { display: flex; flex-direction: column; gap: 18px; }
.warranty-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--gray-300); font-size: 15px; font-weight: 600; }
.warranty-band li { display: flex; gap: 10px; align-items: flex-start; }
.warranty-band li svg { color: var(--gold); font-size: 18px; margin-top: 4px; }
.warranty-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.label-stage { position: relative; justify-self: center; width: min(100%, 440px); padding-bottom: 64px; }
.printer { position: relative; z-index: 2; height: 38px; border-radius: 16px; background: linear-gradient(#2b2b2b, #151515); border: 1px solid var(--line); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.8); }
.printer .slot { position: absolute; inset-inline: 18px; bottom: 9px; height: 5px; border-radius: 3px; background: #030303; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9); }
.printer .led { position: absolute; top: 9px; left: 16px; width: 6px; height: 6px; border-radius: 50%; background: #3a3a3a; }
.label-feed { margin: -14px 26px 0; clip-path: inset(14px -60px -200px -60px); }
.label-card { position: relative; padding: 4%; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9); transform: translateY(-104%); transform-origin: 50% 0; }
.label-card img { width: 100%; height: auto; }
.label-img { position: relative; }
.label-card .scan { position: absolute; opacity: 0; }
.label-card .scan::before { content: ""; position: absolute; inset: -8%; border: 2px solid var(--gold); border-radius: 8px; -webkit-mask: linear-gradient(#000 0 0) top left / 22% 22% no-repeat, linear-gradient(#000 0 0) top right / 22% 22% no-repeat, linear-gradient(#000 0 0) bottom left / 22% 22% no-repeat, linear-gradient(#000 0 0) bottom right / 22% 22% no-repeat; mask: linear-gradient(#000 0 0) top left / 22% 22% no-repeat, linear-gradient(#000 0 0) top right / 22% 22% no-repeat, linear-gradient(#000 0 0) bottom left / 22% 22% no-repeat, linear-gradient(#000 0 0) bottom right / 22% 22% no-repeat; }
.label-card .scan i { position: absolute; inset-inline: -6%; top: 0; height: 3px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 14px 3px rgba(198, 168, 124, 0.7); }
.scan-ok { position: absolute; left: 50%; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(18, 18, 18, 0.9); border: 1px solid var(--gold-line); color: var(--gold); font-size: 14px; font-weight: 800; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 10px) scale(0.9); }
.scan-ok svg { font-size: 16px; stroke-width: 3; }

/* Played once the band scrolls into view: print, settle, scan, confirm; then the scan keeps sweeping. */
.warranty-band.in .printer .led { animation: led 0.35s steps(2) 0.3s 6, ledOn 0.1s 2.4s forwards; }
.warranty-band.in .label-card { animation: print 2s cubic-bezier(0.45, 0.05, 0.4, 1) 0.3s forwards, settle 0.9s var(--ease) 2.35s forwards; }
.warranty-band.in .label-card .scan { animation: fade-in 0.4s 3.1s forwards; }
.warranty-band.in .label-card .scan i { animation: sweep 1.8s ease-in-out 3.1s infinite alternate; }
.warranty-band.in .scan-ok { animation: pop-in 0.6s var(--ease) 4.3s forwards; }
@keyframes print { to { transform: translateY(0); } }
@keyframes settle { from { transform: translateY(0); } to { transform: translateY(6px) rotate(-3deg); } }
@keyframes sweep { from { top: 0; } to { top: calc(100% - 3px); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pop-in { to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes led { 50% { background: #25d366; box-shadow: 0 0 8px #25d366; } }
@keyframes ledOn { to { background: #25d366; box-shadow: 0 0 8px #25d366; } }
.label-stage:hover .label-card { transition: transform 0.5s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .label-card { transform: rotate(-3deg); }
  .label-card .scan, .scan-ok { opacity: 1; }
  .scan-ok { transform: translate(-50%, 0); }
}
@media (min-width: 900px) { .warranty-band { grid-template-columns: 1fr 1fr; padding: 60px; } }

/* ---------- Home: gallery teaser ---------- */

.teaser { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.teaser a { position: relative; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 1; background: var(--card); }
.teaser a:first-child { grid-row: span 2; aspect-ratio: auto; }
.teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.teaser a:hover img { transform: scale(1.06); }
@media (min-width: 900px) { .teaser { grid-template-columns: 2fr 1fr 1fr; gap: 16px; } }

/* ---------- FAQ ---------- */

.faq { max-width: 52rem; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 1.25rem; background: var(--card); border: 1px solid var(--line-soft); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--gold-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { font-size: 20px; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--gray-400); font-size: 15px; line-height: 1.9; }
.faq details p a { color: var(--gold); font-weight: 700; }

/* ---------- Home: visit ---------- */

.visit { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.visit .copy { display: flex; flex-direction: column; gap: 18px; }
.contact-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 1.25rem; background: var(--card); border: 1px solid var(--line-soft); transition: border-color 0.3s; }
a.contact-row:hover { border-color: var(--gold-line); }
.icon-circle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: 21px; }
.contact-row small { display: block; color: var(--gray-500); font-size: 13px; font-weight: 700; }
.contact-row strong { display: block; font-size: 16px; font-weight: 800; }
.map-frame { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2.5rem; border: 1px solid var(--line); box-shadow: var(--shadow); background: #1a1a1a; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); transition: filter 0.7s; }
.map-frame:hover iframe { filter: none; }
@media (min-width: 768px) { .map-frame { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } .map-frame { aspect-ratio: 1; } }

/* ---------- Shop ---------- */

.shop-bar { display: flex; justify-content: center; margin-bottom: 36px; }
.shop-page { padding-bottom: 96px; }

/* ---------- Product ---------- */

.product-page { padding-top: calc(var(--header-h) + 20px); padding-bottom: 96px; }
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--gray-400); font-weight: 700; transition: color 0.3s; }
.back svg { font-size: 20px; transition: transform 0.3s; }
.back:hover { color: var(--gold); }
.back:hover svg { transform: translateX(4px); }
.product-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2rem; background: var(--card); border: 1px solid var(--line-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fade 0.5s; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-block: 6px; margin-top: 12px; }
.thumbs button { flex-shrink: 0; width: 72px; height: 72px; overflow: hidden; border-radius: 16px; border: 2px solid transparent; opacity: 0.5; transition: all 0.3s; }
.thumbs button:hover, .thumbs button[aria-pressed="true"] { opacity: 1; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 26px; }
.chip { display: inline-flex; align-items: center; padding: 4px 14px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-size: 12px; font-weight: 800; }
.product-info h1 { margin-top: 12px; font-size: 36px; font-weight: 900; line-height: 1.25; }
.product-info .desc { margin-top: 10px; color: var(--gray-400); font-size: 16px; line-height: 1.9; white-space: pre-line; }
.block-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--gray-300); font-size: 14px; font-weight: 800; }
.block-label a { color: var(--gold); font-size: 13px; }
.block-label .picked { color: var(--gold); font-weight: 700; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.colors button { width: 52px; height: 52px; border-radius: 50%; padding: 3px; border: 2px solid transparent; transition: border-color 0.3s, transform 0.3s var(--ease); }
.colors button span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #333 center/cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.colors button:hover { transform: scale(1.06); }
.colors button[aria-pressed="true"] { border-color: var(--gold); }
.panel { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line-soft); border-radius: 2rem; }
.calc { display: flex; flex-direction: column; gap: 22px; padding: 22px; }
.calc .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.muted { color: var(--gray-400); font-size: 14px; font-weight: 700; }
.price-big { font-size: 26px; font-weight: 900; color: var(--gold); }
.price-big small, .total small { font-size: 14px; font-weight: 600; color: var(--gray-400); }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .lbl { color: var(--gray-400); font-size: 13px; font-weight: 700; }
.field .opt { color: var(--gray-500); font-weight: 600; }
.input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 16px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); color: var(--white);
  font-size: 16px; font-weight: 700; transition: border-color 0.3s, background 0.3s;
}
.input::placeholder { color: #4b5563; font-weight: 600; }
.input:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, 0.6); }
.with-unit { position: relative; }
.with-unit .input { padding-inline-end: 48px; font-size: 18px; }
.with-unit em { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-500); font-style: normal; font-size: 14px; font-weight: 700; pointer-events: none; }
.input[type="number"] { -moz-appearance: textfield; }
.input::-webkit-outer-spin-button, .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.segmented button { min-height: 44px; padding-inline: 6px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--gray-400); transition: all 0.3s; }
.segmented button[aria-pressed="true"] { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-line); }
.note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gray-300); font-size: 13px; font-weight: 600; line-height: 1.8; animation: rise 0.4s var(--ease); }
.note svg { color: var(--gold); font-size: 17px; margin-top: 3px; }
.stepper { display: flex; align-items: center; gap: 12px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.stepper button { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gray-300); font-size: 16px; transition: background 0.3s; }
.stepper button:hover { background: var(--line); }
.stepper output { min-width: 24px; text-align: center; font-size: 19px; font-weight: 800; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.divider { height: 1px; background: var(--line); }
.total { font-size: 30px; font-weight: 900; }
.form-error { color: #f87171; font-size: 14px; font-weight: 700; text-align: center; }
/* On a phone the total and the add button stay in reach while the form scrolls. */
.buybar { position: fixed; inset-inline: 0; bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter); background: rgba(14, 14, 14, 0.95); border-top: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transform: translateY(130%); transition: transform 0.4s var(--ease); }
.buybar.show { transform: none; }
.buybar .t { flex: 1; min-width: 0; }
.buybar .t small { display: block; color: var(--gray-500); font-size: 12px; font-weight: 700; }
.buybar .t b { font-size: 20px; font-weight: 900; white-space: nowrap; }
.buybar .btn { height: 48px; padding-inline: 20px; }
@media (min-width: 768px) { .product-info h1 { font-size: 48px; } .calc { padding: 30px; } }
@media (min-width: 1024px) {
  .product-layout { grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
  .product-layout .media { position: sticky; top: calc(var(--header-h) + 8px); }
  .gallery-main { aspect-ratio: 1; }
  .buybar { display: none; }
}

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--gold); color: #000; font-weight: 800; box-shadow: var(--shadow); transform: translate(-50%, 40px) scale(0.92); opacity: 0; pointer-events: none; transition: all 0.4s var(--ease); white-space: nowrap; }
.toast svg { font-size: 20px; }
.toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }

/* ---------- Cart ---------- */

.cart-page { padding-top: calc(var(--header-h) + 36px); padding-bottom: 96px; }
.cart-page .inner { max-width: 64rem; margin-inline: auto; }
.cart-page h1 { font-size: 36px; font-weight: 900; margin-bottom: 6px; }
.cart-page .lead { color: var(--gray-400); margin-bottom: 28px; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 14px; padding: 14px; border-radius: 1.5rem; background: var(--card); border: 1px solid var(--line-soft); animation: rise 0.5s var(--ease) both; }
.cart-item .thumb { flex-shrink: 0; width: 80px; height: 80px; border-radius: 1rem; background: #1a1a1a center/cover; }
.cart-item .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cart-item h3 { font-size: 17px; font-weight: 800; line-height: 1.4; }
.cart-item h3 small { color: var(--gold); font-size: 14px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 3px 10px; border-radius: 8px; background: var(--glass); color: var(--gray-300); font-size: 12px; font-weight: 700; }
.cart-item .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.cart-item .cost { font-size: 18px; font-weight: 900; }
.cart-item .cost small { color: var(--gray-400); font-size: 13px; font-weight: 600; }
.remove { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(239, 68, 68, 0.1); color: var(--danger); font-size: 18px; transition: all 0.3s; }
.remove:hover { background: var(--danger); color: var(--white); }
.summary { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.summary h2 { font-size: 19px; font-weight: 800; }
.grand { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.grand strong { color: var(--gold); font-size: 28px; font-weight: 900; }
.grand strong small { color: var(--gray-400); font-size: 14px; }
.fine { color: var(--gray-500); font-size: 13px; font-weight: 600; line-height: 1.8; text-align: center; }
.add-more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 1.5rem; border: 1px dashed var(--line); color: var(--gray-400); font-weight: 700; transition: all 0.3s; }
.add-more:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.4fr 1fr; } .summary { position: sticky; top: calc(var(--header-h) + 12px); } .cart-page h1 { font-size: 46px; } }

.empty { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--header-h) + 40px) 24px 80px; text-align: center; }
.empty .ring { display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; margin-bottom: 26px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-soft); color: rgba(198, 168, 124, 0.6); font-size: 54px; box-shadow: 0 0 60px rgba(198, 168, 124, 0.08); animation: pop 0.6s var(--ease) both; }
.empty .ring svg { stroke-width: 1.2; }
.empty h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.empty p { max-width: 28rem; margin-bottom: 28px; color: var(--gray-400); font-size: 17px; }
.empty .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Measure ---------- */

.measure-page { padding-top: calc(var(--header-h) + 36px); padding-bottom: 96px; }
.measure-page .inner { max-width: 44rem; margin-inline: auto; display: flex; flex-direction: column; gap: 32px; }
.measure-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.badge-ring { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-size: 34px; box-shadow: 0 0 40px rgba(198, 168, 124, 0.15); }
.badge-ring svg { stroke-width: 1.5; }
.measure-head h1 { font-size: 36px; font-weight: 900; }
.measure-head p { color: var(--gray-400); font-size: 17px; line-height: 1.8; }
.measure-box { padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.warn { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); animation: pop 0.3s var(--ease); }
.warn svg { font-size: 22px; margin-top: 2px; }
.warn h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.warn p { color: var(--gray-400); font-size: 14px; line-height: 1.8; }
.fee { padding: 18px 20px; border-radius: 18px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.fee .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fee .top span { color: var(--gray-300); font-weight: 700; }
.fee .amount { color: var(--gold); font-size: 26px; font-weight: 900; }
.fee .amount.small { font-size: 18px; }
.fee .why { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--gray-400); font-size: 14px; font-weight: 600; line-height: 1.8; }
.fee .offer { color: var(--gold); font-weight: 800; display: flex; gap: 6px; align-items: center; }
.fee .deposit { color: #34d399; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.locate-row { display: flex; gap: 10px; }
.locate-row .input { direction: ltr; text-align: left; font-size: 15px; }
.locate-btn { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; height: 54px; padding-inline: 16px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-size: 14px; font-weight: 800; transition: all 0.3s; }
.locate-btn svg { font-size: 20px; stroke-width: 1.7; }
.locate-btn:hover { background: var(--gold); color: #000; }
.locate-btn:disabled { opacity: 0.6; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; border-bottom-color: currentColor; animation: spin 1s linear infinite; }
.mini-map { height: 220px; margin-top: 12px; overflow: hidden; border-radius: 16px; border: 1px solid var(--gold-line); animation: rise 0.4s var(--ease); }
.mini-map iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) { .measure-head h1 { font-size: 50px; } .measure-box { padding: 36px; } }

/* ---------- Guide ---------- */

.guide { max-width: 64rem; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; padding-bottom: 96px; }
.guide-step { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 24px; }
.guide-step .n { color: var(--gold); font-size: 14px; font-weight: 800; }
.guide-step h2 { margin: 6px 0 12px; font-size: 24px; font-weight: 900; }
.guide-step p, .guide-step li { color: var(--gray-300); font-size: 16px; line-height: 1.9; }
.guide-step ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; }
.guide-step p + p, .guide-step ul + p { margin-top: 12px; }
.guide-eg { padding: 10px 14px; border-radius: 12px; background: var(--glass); color: var(--gray-300); font-size: 15px; }
.guide-eg b { color: var(--gold); }
.guide-step figure { margin: 0; }

/* The measuring drawings. Parts marked data-at appear at their step; the figure carries p1…pN and done. */
.scene svg { width: 100%; height: auto; display: block; font-family: "Cairo", sans-serif; stroke: none; }
.scene svg text { stroke: none; }
.scene .wall { fill: #0d0d0d; stroke: var(--line-soft); }
.scene .opening { fill: #080808; stroke: #6b7280; stroke-width: 2; }
.scene .glass { stroke: #262626; stroke-width: 2; fill: none; }
.scene .tape { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 0.9s var(--ease); }
.scene .tape.on { stroke-dashoffset: 0; }
.scene .pop { opacity: 0; transform: scale(0.7); transform-box: fill-box; transform-origin: center; transition: opacity 0.4s, transform 0.6s var(--ease); }
.scene .pop.on { opacity: 1; transform: none; }
.scene .fade { opacity: 0; transition: opacity 0.5s; }
.scene .fade.on { opacity: 1; }
.scene .chip rect { fill: #1b1b1b; stroke: var(--gold-line); transition: fill 0.5s; }
.scene .chip text, .scene .badge text { fill: #fff; font-size: 12px; font-weight: 800; text-anchor: middle; direction: rtl; }
.scene .chip text { transition: fill 0.5s; }
.scene.done .chip.dim.on { opacity: 0.3; }
.scene.done .chip.min rect { fill: var(--gold); stroke: var(--gold); }
.scene.done .chip.min text { fill: #000; }
.scene .badge rect { fill: var(--gold); }
.scene .badge text { fill: #1f1810; font-size: 12.5px; }
.scene .dim-label { fill: #6b7280; font-size: 12px; font-weight: 700; text-anchor: middle; direction: ltr; }
.scene .blind { fill: rgba(198, 168, 124, 0.16); stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: opacity 0.5s, transform 0.9s var(--ease); }
.scene .blind.one { transform-origin: right center; }
.scene.p2 .blind { transform: scaleX(1.2); }
.scene.p3 .blind { transform: scale(1.2, 1.3); }
.scene.p2 .blind.one { transform: scaleX(1.1); }
.scene.p3 .blind.one { transform: scale(1.1, 1.3); }
.scene .arrow { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scene .plus { fill: var(--gold); font-size: 13px; font-weight: 900; text-anchor: middle; direction: ltr; }
.scene .muted-plus { fill: #6b7280; }
.scene.instant, .scene.instant * { transition: none !important; }

/* The suggested-size calculator. */
.size-calc { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px; }
.size-calc__head { display: flex; flex-direction: column; gap: 8px; }
.size-calc__head h2 { font-size: 26px; font-weight: 900; }
.size-calc__form { display: flex; flex-direction: column; gap: 18px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three .input { padding-inline: 12px 36px; font-size: 16px; }
.three .with-unit em { left: 10px; font-size: 12px; }
.size-result { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 1.5rem; background: var(--bg); border: 1px solid var(--line-soft); transition: border-color 0.4s; }
.size-result.ready { border-color: var(--gold-line); }
.size-result__nums { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.size-result__nums div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.size-result__nums small { color: var(--gray-500); font-size: 13px; font-weight: 700; }
.size-result__nums b { font-size: 34px; font-weight: 900; color: var(--gold); transition: color 0.3s; }
.size-result:not(.ready) .size-result__nums b { color: var(--gray-500); }
.size-result__nums .x { padding-bottom: 8px; color: var(--gray-500); font-size: 22px; font-weight: 700; }
.size-result p { text-align: center; color: var(--gray-400); font-size: 14px; line-height: 1.8; }
@media (min-width: 900px) {
  .size-calc { grid-template-columns: 1.1fr 0.9fr; padding: 40px; gap: 32px 48px; align-items: start; }
  .size-calc__head { grid-column: 1 / -1; }
  .size-calc__head h2 { font-size: 32px; }
  .size-result { position: sticky; top: calc(var(--header-h) + 12px); }
}
.guide-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 24px; text-align: center; }
.guide-cta h2 { font-size: 24px; font-weight: 900; }
.guide-cta p { color: var(--gray-400); }
.guide-cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 900px) { .guide-step { grid-template-columns: 1.1fr 0.9fr; padding: 40px; gap: 48px; } .guide-step h2 { font-size: 30px; } }

/* ---------- Gallery ---------- */

.masonry { columns: 2; column-gap: 12px; padding-bottom: 96px; }
.masonry .work { display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; position: relative; overflow: hidden; border-radius: 1.5rem; background: var(--card); cursor: zoom-in; padding: 0; border: 0; }
.masonry .work img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.masonry .work:hover img { transform: scale(1.05); }
.masonry .work .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent); color: var(--gold); font-size: 15px; font-weight: 800; text-align: start; }
.masonry .state { column-span: all; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 20px; } .masonry .work { margin-bottom: 20px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }

.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 72px 16px; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); animation: fade 0.3s; }
.lightbox figure { width: 100%; max-width: 72rem; display: flex; flex-direction: column; align-items: center; animation: pop 0.4s var(--ease); }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 1.5rem; }
.lightbox figcaption { margin-top: 14px; color: var(--gold); font-weight: 800; font-size: 17px; }
.lightbox .x, .lightbox .nav { position: fixed; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); font-size: 24px; transition: all 0.3s; }
.lightbox .x { top: 16px; left: 16px; }
.lightbox .nav { top: 50%; transform: translateY(-50%); }
.lightbox .nav.prev { right: 16px; }
.lightbox .nav.next { left: 16px; }
.lightbox .x:hover, .lightbox .nav:hover { background: var(--gold); color: #000; }

/* ---------- Footer ---------- */

.site-footer { position: relative; overflow: hidden; padding: 68px 0 32px; background: var(--bg); border-top: 1px solid var(--line-soft); }
.site-footer::before { content: ""; position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 800px; max-width: 100%; height: 300px; border-radius: 50%; background: var(--gold); filter: blur(150px); opacity: 0.05; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { max-width: 320px; color: var(--gray-400); font-size: 14px; line-height: 1.9; }
.site-footer h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer li { display: flex; align-items: flex-start; gap: 10px; color: var(--gray-400); font-size: 14px; }
.site-footer li svg { color: var(--gold); font-size: 17px; margin-top: 3px; }
.site-footer li a { transition: color 0.3s; }
.site-footer li a:hover { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--glass); border: 1px solid var(--line); color: rgba(255, 255, 255, 0.75); font-size: 19px; transition: all 0.3s; }
.socials a:hover { color: #000; background: var(--gold); border-color: var(--gold); }
.footer-bottom { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 10px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--gray-500); font-size: 12px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-bottom { flex-direction: row; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Installation ---------- */


.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.step-list li { position: relative; padding-inline-start: 40px; color: var(--gray-500); font-size: 15px; line-height: 1.8; transition: color 0.4s; counter-increment: s; }
.step-list li::before { content: counter(s); position: absolute; right: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); color: var(--gray-400); font-size: 13px; font-weight: 800; transition: all 0.4s; }
.step-list li.on { color: var(--gray-200); }
.step-list li.on::before { background: var(--gold); border-color: var(--gold); color: #000; }


.kit { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.kit-head { display: flex; flex-direction: column; gap: 18px; }
.kit-head h2 { margin-top: 8px; font-size: 26px; font-weight: 900; }
.qty { min-width: 40px; padding: 2px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 15px; font-weight: 900; }
.qty.bump { animation: pop 0.45s var(--ease); }
.kit-sub { font-size: 17px; font-weight: 800; color: var(--gray-300); }
.tools-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -10px; }
.tool { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 1rem; background: var(--glass); color: var(--gray-300); font-size: 14px; font-weight: 700; }
.tool svg { width: 30px; height: 30px; color: var(--gold); stroke-width: 2.2; }
@media (min-width: 900px) {
  .kit { padding: 40px; }
  .kit-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .kit-head h2 { font-size: 32px; }
  .tools-row { grid-template-columns: repeat(5, 1fr); }
}

.warning { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 1.5rem; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.4); }
.warning > svg { flex-shrink: 0; font-size: 30px; color: #f59e0b; margin-top: 2px; }
.warning h3 { color: #fbbf24; font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.warning p { color: var(--gray-300); font-size: 15px; line-height: 1.9; }



/* Installation: the kit and the step-by-step photos. */
.kit-body { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 1rem; background: var(--bg); border: 1px solid var(--line-soft); }
.kit-list b { font-size: 15px; font-weight: 800; }
.ps-photo { position: relative; overflow: hidden; border-radius: 1.25rem; background: #151515; aspect-ratio: 4 / 3; }
.ps-photo img { width: 100%; height: 100%; object-fit: cover; }
.ps-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--line); border-radius: inherit; color: var(--gray-500); background: repeating-linear-gradient(135deg, #131313 0 14px, #161616 14px 28px); }
.ps-empty span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: 22px; font-weight: 900; }
.ps-empty span:empty { display: none; }
.ps-empty p { font-size: 14px; font-weight: 700; }
.steps-show { padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.show-head { display: flex; flex-direction: column; gap: 14px; }
.show-head h2 { font-size: 26px; font-weight: 900; }
.show-body { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.show-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 1.25rem; overflow: hidden; background: #111; }
.ps-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.7s var(--ease); pointer-events: none; }
.ps-slide.active { opacity: 1; pointer-events: auto; }
.ps-slide .ps-photo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.ps-slide.active .ps-photo img { animation: kenburns calc(var(--hold, 5000ms) + 800ms) ease-out both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.ps-bar { position: absolute; inset-inline: 14px; bottom: 12px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.ps-slide.active .ps-bar i { animation: bar var(--hold, 5000ms) linear forwards; }
.show-stage.paused .ps-bar i { animation: none; transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.ps-mark { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 0; transform: scale(0.6); }
.ps-slide.active .ps-mark { animation: markIn 0.6s var(--ease) 0.6s forwards; }
.ps-mark.ring { border: 3px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.25), 0 0 20px rgba(198, 168, 124, 0.6); }
.ps-mark.arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 5px; margin: -2.5px 0 0 -28px; border-radius: 3px; background: var(--gold); transform: rotate(var(--turn)); box-shadow: 0 0 12px rgba(198, 168, 124, 0.7); }
.ps-mark.arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 5px solid var(--gold); border-width: 5px 5px 0 0; transform: rotate(var(--turn)) translateX(22px) rotate(45deg); }
@keyframes markIn { to { opacity: 1; transform: scale(1); } }
.show-side { display: flex; flex-direction: column; gap: 16px; }
.show-side .step-list li { cursor: pointer; }
.show-side .step-list li.now { color: var(--white); font-weight: 700; }
.show-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.show-count { color: var(--gray-300); font-weight: 800; font-size: 14px; direction: ltr; }
@media (min-width: 900px) {
  .kit-body { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-show { padding: 40px; }
  .show-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .show-head h2 { font-size: 32px; }
  .show-body { grid-template-columns: 1.35fr 1fr; gap: 32px; }
}

/* The 3D installation stage. */
.show-stage.three { aspect-ratio: 4 / 3; background: #e9e2d6; }
.show-stage.three canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s; }
.show-stage.three.ready canvas { opacity: 1; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #8b7a60; }
.show-stage.ready .stage-loading, .show-stage.no-3d .stage-loading { display: none; }
.stage-fallback { display: none; position: absolute; inset: 0; place-items: center; padding: 24px; text-align: center; color: #5b5b5b; font-weight: 700; }
.show-stage.no-3d .stage-fallback { display: grid; }
.click-tag { position: absolute; z-index: 2; transform: translate(-50%, -50%) scale(0.6); padding: 6px 14px; border-radius: 999px; background: var(--gold); color: #1f1810; font-size: 15px; font-weight: 900; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
.click-tag.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage-caption { position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2; margin: 0; padding: 10px 14px; border-radius: 14px; background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: center; }
.stage-caption:empty { display: none; }
.stage-caption.in { animation: rise 0.45s var(--ease); }
.show-nav .play .i-play { display: none; }
.show-nav .play.paused .i-play { display: block; }
.show-nav .play.paused .i-pause { display: none; }
@media (min-width: 900px) { .show-stage.three { aspect-ratio: 16 / 11; } .stage-caption { display: none; } }

/* ---------- Printed blinds for businesses ---------- */

.print-hero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.print-copy { display: flex; flex-direction: column; gap: 18px; }
.print-copy h1 { font-size: 40px; font-weight: 900; line-height: 1.2; }
.print-copy p { color: var(--gray-300); font-size: 17px; line-height: 1.9; max-width: 34rem; }
.print-copy .hero-ctas { justify-content: flex-start; }
.print-note { margin-top: 10px; text-align: center; color: var(--gray-500); font-size: 12px; font-weight: 700; }
@media (min-width: 768px) { .print-copy h1 { font-size: 56px; } }
@media (min-width: 1024px) { .print-hero { grid-template-columns: 1.05fr 0.95fr; gap: 64px; padding-top: calc(var(--header-h) + 64px); } }

/* A shopfront whose blind unrolls to show a logo. */
.shopfront { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 14px; border-radius: 1.5rem; background: linear-gradient(#1c1c1c, #141414); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sf-sign { margin-bottom: 12px; padding: 10px; border-radius: 10px; background: #0d0d0d; border: 1px solid var(--gold-line); color: var(--gold); text-align: center; font-size: 18px; font-weight: 900; letter-spacing: 0.04em; }
.sf-window { position: relative; aspect-ratio: 4 / 3.3; border-radius: 8px; overflow: hidden; border: 6px solid #cfd2d6; background: linear-gradient(160deg, #9fb7c6, #c9dae4 45%, #8ea7b6); }
.sf-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.25) 38%, transparent 46%); pointer-events: none; }
.pb { position: absolute; inset: 0; }
.pb-rail { position: absolute; inset-inline: 0; top: 0; height: 16px; background: linear-gradient(#fafafa, #d6d6d6); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); z-index: 2; }
.pb-fabric { position: absolute; inset-inline: 4px; top: 12px; bottom: 10%; display: grid; place-items: center; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 5px), linear-gradient(#232323, #1a1a1a); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); clip-path: inset(0 0 100% 0); animation: unrollBlind 1.9s var(--ease) 0.5s forwards; }
.pb-fabric::after { content: ""; position: absolute; inset-inline: -2px; bottom: -6px; height: 8px; border-radius: 3px; background: linear-gradient(#eeeeee, #bdbdbd); }
@keyframes unrollBlind { to { clip-path: inset(0 0 -12px 0); } }
.pb-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; transform: translateY(8px); animation: rise 0.8s var(--ease) 2.3s forwards; }
.pb-mark { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; }
.pb-mark::before { content: ""; width: 24px; height: 24px; border-radius: 6px; background: var(--gold); transform: rotate(45deg); }
.pb-logo b { color: var(--gold); font-size: 20px; font-weight: 900; }
.pb-logo small { color: var(--gray-500); font-size: 12px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .pb-fabric { clip-path: none; } .pb-logo { opacity: 1; transform: none; } }

.print-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .print-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .print-steps { grid-template-columns: repeat(3, 1fr); } }

.quote { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px; }
.quote-head { display: flex; flex-direction: column; gap: 10px; }
.quote-head h2 { font-size: 28px; font-weight: 900; }
.quote-head p { color: var(--gray-400); line-height: 1.8; }
.quote-form { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .quote { grid-template-columns: 0.8fr 1.2fr; padding: 40px; gap: 48px; } .quote-head h2 { font-size: 34px; } }

/* The same idea as a band on the home page. */
.print-band { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding: 28px; border-radius: 2.5rem; background: radial-gradient(90% 120% at 100% 0%, rgba(198, 168, 124, 0.12), transparent 60%), var(--card); border: 1px solid var(--line-soft); }
.print-band .copy { display: flex; flex-direction: column; gap: 16px; }
.print-band .copy p { color: var(--gray-300); font-size: 17px; line-height: 1.9; }
.print-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.print-band .shopfront { width: min(100%, 400px); }
.print-band:not(.in) .pb-fabric, .print-band:not(.in) .pb-logo { animation-play-state: paused; }
@media (min-width: 900px) { .print-band { grid-template-columns: 1fr 1fr; padding: 56px; } }
.kit-note { margin-top: -6px; padding: 12px 16px; border-radius: 1rem; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gray-300); font-size: 14px; line-height: 1.9; }
.muted-note { color: var(--gray-500); font-size: 12px; font-weight: 600; }

/* ---------- Motion ---------- */

/* Smooth cross-fade between pages (browsers that support it); the header stays put. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
/* On the bar itself: a name on the header would make it a backdrop root and turn off the glass blur. */
.site-header .bar { view-transition-name: site-header; }
.wa-fab { view-transition-name: wa-fab; }

/* The reading-progress line. */
.read-progress { position: fixed; inset-inline: 0; top: 0; z-index: 70; height: 2px; background: linear-gradient(to left, var(--gold), var(--sand)); transform: scaleX(0); transform-origin: right; pointer-events: none; }

/* Headings rise word by word; section labels draw their line. */
.split .wi { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(4px); transition: opacity 0.6s ease, transform 0.9s var(--ease), filter 0.7s ease; transition-delay: calc(var(--i) * 60ms + 0.05s); }
.split.seen .wi { opacity: 1; transform: none; filter: none; }
.eyebrow::before { transform: scaleX(0); transform-origin: right; transition: transform 0.9s var(--ease) 0.15s; }
.eyebrow.seen::before { transform: scaleX(1); }

/* Buttons: the leaning is set by script; a shine crosses the gold button. */
.btn, .icon-btn, .wa-fab { transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.3s; }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 45%, transparent 60%); transform: translateX(120%); animation: shine 6s ease-in-out 2s infinite; }
.btn-gold:hover::after { animation-duration: 1.4s; }
@keyframes shine { 0%, 70% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }

/* Product cards: a tilt set by script, a glint that follows the pointer, photos that settle in. */
.product-card { position: relative; transform-style: preserve-3d; }
.product-card.tilting { transition: border-color 0.3s, transform 0.25s ease-out; }
.product-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.08), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.product-card.tilting::after { opacity: 1; }
.product-card.reveal .product-card__img img { transform: scale(1.14); }
.product-card.reveal.in .product-card__img img { transform: scale(1); transition: transform 1.4s var(--ease) calc(var(--d, 0s) + 0.1s); }
.product-card.reveal.in:hover .product-card__img img { transform: scale(1.07); transition-duration: 0.8s; transition-delay: 0s; }

/* A soft gold spotlight follows the pointer across panels. */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgba(198, 168, 124, 0.09), transparent 65%); opacity: 0; transition: opacity 0.45s; }
.spot:hover::before { opacity: 1; }
.step.spot, .fact.spot, .contact-row.spot { overflow: hidden; }

/* The home page: a slow light across the photo, dust in the air, a little depth. */
.hero-visual .photo { transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px + var(--sy, 0) * 0.08px), 0); transition: transform 0.6s var(--ease); }
.hero-copy { transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 6px - var(--sy, 0) * 0.06px), 0); transition: transform 0.6s var(--ease); }
.hero-visual .photo::before { content: ""; position: absolute; inset: -20%; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 236, 200, 0.22) 47%, rgba(255, 236, 200, 0.05) 52%, transparent 58%); transform: translateX(-60%); animation: beam 9s ease-in-out 1.2s infinite; mix-blend-mode: screen; }
@keyframes beam { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
.dust { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.dust i { position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: rgba(232, 211, 170, 0.75); box-shadow: 0 0 8px rgba(232, 211, 170, 0.8); animation: float var(--t) linear var(--d) infinite; opacity: 0; }
@keyframes float { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 0.8; } 85% { opacity: 0.5; } 100% { transform: translate(var(--x), -105vh); opacity: 0; } }
.trust span { animation: rise 0.8s var(--ease) both; }
.trust span:nth-child(2) { animation-delay: 0.55s; }
.trust span:nth-child(3) { animation-delay: 0.65s; }
.trust span:nth-child(1) { animation-delay: 0.45s; }

/* The marquee slows on hover. */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* FAQ answers slide in. */
.faq details[open] p { animation: rise 0.45s var(--ease); }

/* WhatsApp: a pulse, and a short hint once a visit. */
.wa-fab.pulse::before, .wa-fab.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.6); animation: ring 3.2s ease-out infinite; pointer-events: none; }
.wa-fab.pulse::after { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.wa-hint { position: fixed; left: 84px; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 46; padding: 10px 16px; border-radius: 14px 14px 14px 4px; background: #fff; color: #0b3d20; font-size: 14px; font-weight: 800; box-shadow: var(--shadow); opacity: 0; transform: translateX(-10px) scale(0.95); transition: all 0.5s var(--ease); pointer-events: none; }
.wa-hint.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1024px) { .wa-hint { left: 100px; bottom: 36px; } }

/* The cart count bounces when it changes. */
.icon-btn .count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.5); } }

@media (prefers-reduced-motion: reduce) {
  .split .wi { opacity: 1; transform: none; filter: none; }
  .eyebrow::before { transform: none; }
  .hero-visual .photo::before, .dust, .btn-gold::after { display: none; }
}
