:root {
  --navy: #1c3d6b;
  --navy-deep: #0f2340;
  --teal: #17b897;
  --teal-deep: #0f9a7e;
  --ink: #1c3d6b;
  --ink-dark: #0f2340;
  --accent: #17b897;
  --accent-dark: #0f9a7e;
  --paper: #eef3f8;
  --paper-warm: #e4ebf4;
  --text: #152033;
  --muted: #5c6b82;
  --line: rgba(28, 61, 107, 0.12);
  --white: #ffffff;
  --maroon: var(--ink);
  --maroon-dark: var(--ink-dark);
  --cream: var(--paper);
  --cream-warm: var(--paper-warm);
  --pad: clamp(1.5rem, 5vw, 3.75rem);
  --display: "Syne", "Segoe UI", sans-serif;
  --serif: var(--display);
  --sans: Figtree, "Segoe UI", sans-serif;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(15, 35, 64, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
main:focus { outline: none; }
main:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, .logo, .tagline, .hero-brand, .price {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; margin: 0.15em 0 0.4em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); line-height: 1.15; margin: 0 0 0.55em; }
h3 { font-size: 1.2rem; margin: 0.15em 0; font-weight: 700; }
p { margin: 0 0 0.9em; }
.kicker, th, .label, .footer-heading, .credit, .sold {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
}
.kicker { color: var(--muted); margin-bottom: 0.7rem; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--navy-deep); color: #fff; padding: 0.7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(238, 243, 248, 0.9);
  backdrop-filter: blur(14px);
}
.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 0;
}
.logo img {
  display: block;
  height: 2.05rem;
  width: auto;
}
.footer-brand .logo img {
  height: 1.9rem;
}
.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 0.2rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.tool-link[aria-current="page"] { color: var(--ink); }
.header-tools { display: flex; gap: 0.9rem; align-items: center; }
.tool-link, .cart-link {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}
.cart-link .count {
  display: inline-grid; place-items: center;
  min-width: 1.35rem; height: 1.35rem; margin-left: 0.2rem;
  border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.7rem;
}
.menu-btn { display: none; }

main { padding: 2.2rem var(--pad) 4.5rem; min-height: 60vh; max-width: 72rem; margin: 0 auto; }
.btn, button.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #04352c;
  border: 1px solid var(--teal);
  text-decoration: none;
  padding: 0 1.35rem;
  height: 3rem;
  cursor: pointer;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
  box-shadow: 0 8px 20px rgba(23, 184, 151, 0.22);
}
.btn:hover, button.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-line {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-line:hover {
  background: rgba(28, 61, 107, 0.05);
  border-color: var(--navy);
  color: var(--navy);
}
.btn-small { height: 2.45rem; padding: 0 1rem; font-size: 0.88rem; box-shadow: none; }
.btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; flex: 0 0 auto; }
.btn-whatsapp { background: var(--teal); border-color: var(--teal); color: #04352c; }
.btn-whatsapp:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-line.btn-whatsapp { background: transparent; color: var(--teal-deep); border-color: var(--teal); box-shadow: none; }
.btn-line.btn-whatsapp:hover { background: rgba(23, 184, 151, 0.08); }
.about-cta { display: flex; flex-direction: column; gap: 0.8rem; justify-content: center; }
.contact-form { max-width: 32rem; }
.contact-actions { margin-top: 1.2rem; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 720px);
  margin: -2.2rem calc(50% - 50vw) 2.8rem;
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad);
  color: #F7F4EE;
  overflow: hidden;
  background: var(--ink-dark);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6.5s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 35, 64, 0.55) 0%, rgba(15, 35, 64, 0.72) 45%, rgba(15, 35, 64, 0.92) 100%),
    linear-gradient(105deg, rgba(28, 61, 107, 0.75) 0%, rgba(15, 35, 64, 0.35) 55%, rgba(15, 35, 64, 0.15) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero-controls {
  position: absolute;
  right: var(--pad);
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(15, 35, 64, 0.45);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-nav:hover { background: rgba(15, 35, 64, 0.7); border-color: rgba(255,255,255,0.7); }
.hero-dots { display: flex; gap: 0.4rem; align-items: center; }
.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-dot.is-active {
  width: 1.35rem;
  background: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.2s ease; transform: none; }
  .hero-slide.is-active { transform: none; }
}
.hero-brand {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.hero .lede {
  max-width: 30rem;
  margin: 0.55rem 0 0;
  font-size: 1.08rem;
  color: rgba(238, 243, 248, 0.86);
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.35rem; }
.hero .btn {
  background: var(--teal);
  color: #04352c;
  border-color: var(--teal);
}
.hero .btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.hero .btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  box-shadow: none;
}
.hero .btn-line:hover { background: rgba(255,255,255,0.1); color: #fff; }

.band {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem;
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.how-it-works h2 { margin-bottom: 1.35rem; }
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  counter-reset: how-step;
}
.how-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  opacity: 0;
  transform: translateY(0.55rem);
  animation: how-step-in 0.55s ease forwards;
}
.how-steps li:nth-child(1) { animation-delay: 0.05s; }
.how-steps li:nth-child(2) { animation-delay: 0.14s; }
.how-steps li:nth-child(3) { animation-delay: 0.23s; }
.how-steps li:nth-child(4) { animation-delay: 0.32s; }
.how-step-num {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.how-steps h3 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.05rem;
}
.how-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
@keyframes how-step-in {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .how-steps li {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}
.catalogue-toolbar {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
  max-width: none;
  width: 100%;
}
.catalogue-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}
.catalogue-search input[type="search"] {
  margin: 0;
  width: 100%;
}
.catalogue-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.catalogue-filters select {
  margin: 0;
  width: 100%;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.chip:hover { color: var(--navy); border-color: rgba(28, 61, 107, 0.28); }
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.catalogue-count {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.catalogue-count a { font-weight: 600; }
.catalogue-more {
  margin: 1.5rem 0 0;
}
@media (max-width: 720px) {
  .catalogue-filters { grid-template-columns: 1fr; }
  .catalogue-search { grid-template-columns: 1fr; }
}
.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-warm); }
.card-media picture,
.card-media img { width: 100%; height: 100%; display: block; }
.card-media img { object-fit: cover; }
.how-it-works,
.catalogue-band {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}
.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
}
.card-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card .kicker { letter-spacing: 0.08em; text-transform: none; font-size: 0.82rem; font-weight: 500; }
.price { font-family: var(--serif); font-size: 1.3rem; margin: 0.15rem 0; }
.downloads-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-top: auto; padding-top: 0.55rem; }
.wish-form { margin: 0; max-width: none; }
.wish-form .btn-wish,
.wish-form button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  padding: 0 1.15rem;
  height: 2.45rem;
  cursor: pointer;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  vertical-align: middle;
}
.wish-form .btn-wish:hover { border-color: var(--navy); }
.wish-form .btn-wish[aria-pressed="true"],
.wish-form button[aria-pressed="true"] {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(23, 184, 151, 0.1);
}
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
  padding: 1rem 0 2rem;
}
.product .gallery {
  padding: 1rem;
  background: var(--paper-warm);
  border-radius: calc(var(--radius) + 6px);
}
.product .gallery img,
.product #hero-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}
.product .thumbs,
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.product .thumbs button,
.gallery-thumbs button {
  border: 1px solid var(--line);
  padding: 0;
  background: #fff;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
}
.product .thumbs img,
.gallery-thumbs img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
}
.product > div:last-child {
  padding: 0.35rem 0.15rem 0.5rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: flex-end; margin-top: 1rem; }
.product .buy-form { max-width: 16rem; }
.pdf-preview-section {
  margin: 2.5rem 0 2rem;
}
.pdf-preview {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.pdf-preview-status {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.pdf-preview-pages {
  display: grid;
  gap: 1.1rem;
}
.pdf-preview-page {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-warm);
}
.pdf-preview-label {
  margin: 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
}
.pdf-preview-page canvas {
  display: block;
  width: 100%;
  height: auto;
}
.pdf-preview-page.is-blurred canvas {
  filter: blur(7px) saturate(0.85);
  transform: scale(1.02);
  user-select: none;
  pointer-events: none;
}
.pdf-preview-veil {
  position: absolute;
  inset: 2.1rem 0 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(238,243,248,0.2) 0%, rgba(15,35,64,0.55) 55%, rgba(15,35,64,0.78) 100%);
}
.pdf-preview-lock {
  max-width: 22rem;
  text-align: center;
  color: #fff;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}
.pdf-preview-lock p { margin: 0; line-height: 1.45; }
.pdf-preview-lock .btn { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.pdf-preview-more-body {
  min-height: 12rem;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    repeating-linear-gradient(0deg, rgba(28,61,107,0.04) 0 28px, rgba(255,255,255,0.5) 28px 56px),
    var(--paper-warm);
}
.pdf-preview-page.is-more .pdf-preview-veil { inset: 0; }
@media (max-width: 640px) {
  .pdf-preview { padding: 0.75rem; }
  .pdf-preview-page.is-blurred canvas { filter: blur(5px); }
}
.product .buy-form .btn-cart {
  margin-top: 0.9rem;
  width: auto;
  min-width: 10.5rem;
  padding: 0 1.4rem;
  height: 3rem;
}
.product .buy-form .btn-cart span {
  display: inline-block;
  line-height: 1;
}
.product .actions .btn-wish {
  padding: 0 1.15rem;
  height: 3rem;
}
form { max-width: 32rem; }
label { display: block; margin: 1rem 0 0.35rem; font-size: 0.9rem; color: var(--muted); font-weight: 500; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
textarea { min-height: 7rem; resize: vertical; }
.check,
.choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.75rem 0;
  padding: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.check input[type="checkbox"],
.choice input[type="checkbox"],
.choice input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--teal);
  cursor: pointer;
}
.choices { border: 0; padding: 0; margin: 1rem 0; max-width: 32rem; }
.choices .choice { width: 100%; align-items: flex-start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.totals { max-width: 24rem; margin-top: 1.2rem; }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.totals .grand { font-weight: 700; border-bottom: 0; margin-top: 0.35rem; }
.cart-page { width: 100%; max-width: none; }
.cart-page .cart-form,
.cart-page .cart-coupon,
.cart-page .cart-coupon-clear {
  max-width: none;
  width: 100%;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 0.5rem;
}
.cart-main .table-wrap { width: 100%; }
.cart-table th:nth-child(2),
.cart-table td:nth-child(2),
.cart-table th:nth-child(3),
.cart-table td:nth-child(3),
.cart-table th:nth-child(4),
.cart-table td:nth-child(4) {
  white-space: nowrap;
  width: 1%;
}
.cart-table th:last-child,
.cart-table td:last-child { width: 1%; text-align: right; }
.cart-paper {
  display: grid;
  gap: 0.2rem;
  min-width: 12rem;
}
.cart-qty {
  width: 4.5rem !important;
  min-width: 4.5rem;
  text-align: center;
}
.cart-actions { margin: 1rem 0 0; }
.cart-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
}
.cart-aside .totals {
  max-width: none;
  margin-top: 1rem;
}
.cart-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}
.cart-coupon-row .btn { white-space: nowrap; }
.cart-note { font-size: 0.9rem; margin: 0.85rem 0 1rem; }
.cart-checkout { width: 100%; text-align: center; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-aside { position: static; }
}
.muted { color: var(--muted); }
.sold { color: var(--teal-deep); }
.notice { margin: 0 0 1rem; padding: 0.85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.notice-error { border-color: #d35a5a; }
.text-button {
  background: none; border: 0; color: var(--navy); cursor: pointer; padding: 0;
  font-weight: 600; font-size: 0.92rem;
}

.site-footer {
  border-top: 0;
  background: var(--navy-deep);
  color: rgba(238, 243, 248, 0.88);
  padding: 3rem var(--pad) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 2rem;
}
.footer-brand p { max-width: 18rem; color: rgba(238, 243, 248, 0.7); }
.footer-meta { font-size: 0.95rem; }
.footer-heading { color: rgba(238, 243, 248, 0.55); margin: 0 0 0.9rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer nav a,
.site-footer a { color: rgba(238, 243, 248, 0.9); text-decoration: none; }
.site-footer nav a:hover,
.site-footer a:hover { color: var(--teal); }
.footer-brand .logo img { filter: brightness(0) invert(1); }
.footer-social {
  display: flex; gap: 0.55rem; list-style: none; margin: 1rem 0 0; padding: 0;
}
.footer-social a {
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; color: #fff;
}
.footer-social svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer-base {
  max-width: 72rem; margin: 0 auto;
  padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: rgba(238, 243, 248, 0.55); font-size: 0.92rem;
}
.credit { opacity: 1; letter-spacing: 0.08em; }

.toast-stack {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  display: flex; flex-direction: column; gap: 0.5rem;
  max-width: min(24rem, calc(100% - 2rem));
}
.notice.toast { margin: 0; box-shadow: var(--shadow); }
.toast-close {
  display: block; margin-top: 0.4rem; background: none; border: 0;
  color: var(--navy); cursor: pointer; font-weight: 600; font-size: 0.85rem;
}
.stars { color: var(--teal-deep); letter-spacing: 0.12em; }
.tabs { display: flex; gap: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.tabs a {
  text-decoration: none; color: var(--muted); padding-bottom: 0.5rem;
  font-weight: 600; font-size: 0.92rem;
}
.tabs a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--teal); }
.pager { display: flex; gap: 0.6rem; margin-top: 1rem; }
.pager a, .pager span { text-decoration: none; }
.downloads { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }

@media (max-width: 900px) {
  .header-bar { grid-template-columns: 1fr auto; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    padding: 0.85rem 0 0.35rem;
    border-top: 1px solid var(--line);
    margin-top: 0.55rem;
  }
  body.nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a {
    display: block;
    padding: 0.75rem 0.15rem;
    min-height: 2.75rem;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
  }
  .header-tools { gap: 0.55rem; }
  .cart-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.35rem;
  }
  .split, .product, .footer-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .grid, .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .hero {
    min-height: min(70vh, 560px);
    align-items: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .hero-copy { max-width: 36rem; }
  .hero .actions { flex-wrap: wrap; }
  .hero .btn, .hero .btn-line { width: 100%; max-width: 18rem; }
  .product { gap: 1.5rem; padding: 0.5rem 0 1.25rem; }
  .product .gallery { padding: 0.75rem; }
  .product > div:last-child { padding: 0.25rem 0.1rem 0.75rem; }
  .band { padding: 1.4rem 1.15rem; }
  .footer-social a {
    display: inline-grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
  .table-wrap { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 640px) {
  .grid, .product-grid { grid-template-columns: 1fr; }
  .tool-link { display: none; }
  body.nav-open .site-nav .mobile-account {
    display: block;
  }
  main { padding: 1.5rem var(--pad) 3.25rem; }
  .card-actions { flex-wrap: wrap; }
  .card-actions .btn, .card-actions .btn-wish { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .invoice-actions { flex-direction: column; align-items: stretch; }
  img, video, iframe { max-width: 100%; height: auto; }
}
@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;
  }
}
.invoice-stage {
  max-width: 48rem;
  margin: 0 auto;
}
.invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  justify-content: space-between;
  align-items: center;
}
.invoice-actions-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-left: auto;
}
.invoice-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 50px rgba(15, 35, 64, 0.12),
    0 4px 14px rgba(15, 35, 64, 0.06);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  position: relative;
  transform: translateY(-2px);
}
.invoice-sheet::before {
  content: "";
  position: absolute;
  inset: 10px -8px -14px 8px;
  border-radius: 18px;
  background: rgba(28, 61, 107, 0.05);
  z-index: -1;
}
.invoice-layout-header {
  margin: 0 0 1.35rem;
}
.invoice-layout-header h1 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0.35rem 0 0;
}
.invoice-layout-footer {
  margin-top: 1.75rem;
}
.invoice-layout-footer img {
  max-width: 140px;
  height: auto;
}
.invoice-sheet-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.invoice-sheet-head h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.invoice-brand {
  text-align: right;
  line-height: 1.45;
  max-width: 16rem;
}
.invoice-brand strong {
  color: var(--navy);
  font-size: 1rem;
}
.invoice-parties {
  margin-bottom: 1.35rem;
}
.invoice-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.invoice-sheet .table-wrap {
  box-shadow: none;
}
.invoice-sheet .totals {
  margin-left: auto;
}
.invoice-meta { margin-top: 1rem; }
.invoice-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.invoice-sheet .downloads ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
@media (max-width: 640px) {
  .invoice-actions { justify-content: stretch; }
  .invoice-actions-primary { width: 100%; margin-left: 0; }
  .invoice-actions .btn { flex: 1 1 auto; justify-content: center; }
  .invoice-brand { text-align: left; max-width: none; }
}
@media print {
  .site-header, .site-footer, .toast-stack, .skip-link, .no-print, .invoice-actions { display: none !important; }
  body { background: #fff; }
  .invoice-stage { max-width: none; }
  .invoice-sheet {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    transform: none;
  }
  .invoice-sheet::before { display: none; }
}
