:root {
  --bg: #041121;
  --surface: #0b1d31;
  --surface-2: #11314a;
  --text: #f5fbff;
  --muted: #b4c9dc;
  --hero-text: #ffffff;
  --hero-muted: #e0ecf8;
  --accent: #27ddff;
  --accent-strong: #00bbff;
  --border: rgba(39, 221, 255, 0.38);
  --shadow: 0 0 0 1px rgba(39, 221, 255, 0.2), 0 16px 36px rgba(4, 38, 72, 0.52);
  --radius: 16px;
}

body.light {
  --bg: #f3faff;
  --surface: #ffffff;
  --surface-2: #eaf5ff;
  --text: #132333;
  --muted: #436176;
  --hero-text: #f9fcff;
  --hero-muted: #e6f0fb;
  --accent: #0099cc;
  --accent-strong: #006f9f;
  --border: rgba(0, 153, 204, 0.34);
  --shadow: 0 0 0 1px rgba(0, 153, 204, 0.16), 0 12px 26px rgba(38, 115, 160, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI Variable", "Trebuchet MS", "Gill Sans", "Calibri", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 255, 0.18), transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(56, 231, 255, 0.16), transparent 42%),
    radial-gradient(circle at 48% 100%, rgba(25, 95, 156, 0.22), transparent 44%),
    linear-gradient(160deg, var(--bg), color-mix(in srgb, var(--bg) 82%, #02060c 18%));
  transition: background 0.35s ease, color 0.25s ease;
}

body.light {
  background:
    radial-gradient(circle at 8% 2%, rgba(0, 153, 204, 0.16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(255, 179, 71, 0.16), transparent 38%),
    radial-gradient(circle at 44% 100%, rgba(0, 111, 159, 0.14), transparent 40%),
    linear-gradient(160deg, #f3faff, #e8f4ff 58%, #dceeff);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/brand/grafiplot-logo.png") center 56% / min(68vw, 760px) no-repeat;
  opacity: 0.055;
  filter: drop-shadow(0 0 18px rgba(56, 231, 255, 0.48)) drop-shadow(0 0 44px rgba(20, 184, 255, 0.26));
  pointer-events: none;
  z-index: 0;
  animation: watermarkPulse 5.5s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(104deg, transparent 42%, rgba(56, 231, 255, 0.26) 50%, transparent 58%);
  -webkit-mask-image: url("assets/brand/grafiplot-logo.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center 56%;
  -webkit-mask-size: min(68vw, 760px);
  mask-image: url("assets/brand/grafiplot-logo.png");
  mask-repeat: no-repeat;
  mask-position: center 56%;
  mask-size: min(68vw, 760px);
  transform: translateX(-120%);
  animation: logoScan 9s linear infinite;
}

@keyframes watermarkPulse {
  0%,
  100% {
    opacity: 0.045;
    filter: drop-shadow(0 0 14px rgba(56, 231, 255, 0.35)) drop-shadow(0 0 32px rgba(20, 184, 255, 0.2));
  }

  50% {
    opacity: 0.07;
    filter: drop-shadow(0 0 24px rgba(56, 231, 255, 0.62)) drop-shadow(0 0 54px rgba(20, 184, 255, 0.34));
  }
}

@keyframes logoScan {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  48% {
    opacity: 1;
  }

  62% {
    opacity: 0;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.site-wrap {
  width: min(1280px, 94%);
  margin: 0 auto;
  padding: 18px 0 110px;
  position: relative;
  z-index: 1;
}

.hero {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: min(74vh, 620px);
  background: #07111e;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.promo-ribbon {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--surface) 74%, var(--accent) 26%), color-mix(in srgb, var(--surface-2) 78%, var(--accent) 22%));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dev-notice {
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, #ffd08a 28%);
  border-radius: 10px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 82%, #ffca7a 18%), color-mix(in srgb, var(--surface) 92%, transparent));
  box-shadow: var(--shadow);
  padding: 7px 10px;
}

.dev-notice p {
  margin: 0;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--text) 90%, #ffefcf 10%);
  text-align: center;
}

.dev-notice strong {
  color: #ffd089;
}

.promo-ribbon-track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 8px 14px;
  color: color-mix(in srgb, var(--text) 93%, #ffffff 7%);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: ribbonFlow 22s linear infinite;
  text-shadow: 0 0 10px rgba(39, 221, 255, 0.3);
}

.promo-ribbon-track span {
  position: relative;
  white-space: nowrap;
}

.promo-ribbon-track span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 72%, #ffffff 28%);
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes ribbonFlow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.06) brightness(0.68);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(12, 21, 35, 0.08), rgba(4, 10, 18, 0.74) 62%),
    linear-gradient(180deg, rgba(7, 14, 24, 0.25), rgba(7, 14, 24, 0.82));
}

body.light .hero {
  background: linear-gradient(165deg, #eff8ff, #dbeefe);
  border-color: rgba(0, 153, 204, 0.34);
}

body.light .hero-bg {
  filter: saturate(0.88) contrast(0.84) brightness(1.08);
}

body.light .hero-overlay {
  background:
    radial-gradient(circle at 50% 34%, rgba(236, 246, 255, 0.12), rgba(221, 238, 252, 0.56) 62%),
    linear-gradient(180deg, rgba(236, 246, 255, 0.26), rgba(205, 228, 247, 0.64));
}

body.light .hero-kicker {
  color: #1d5d80;
}

body.light .hero-content h2 {
  color: #112c40;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

body.light .hero-content p,
body.light .hero-sub {
  color: #24465d;
}

body.light .hero-info {
  border-color: rgba(0, 153, 204, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(226, 242, 255, 0.62));
}

body.light .hero-info p {
  color: #173950;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 92%);
  margin: 0 auto;
  min-height: min(74vh, 620px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

body.in-store .hero {
  max-height: 0;
  opacity: 0;
  transform: translateY(-16px);
  margin-top: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

body.in-store .topbar {
  top: 0;
}

.hero-kicker {
  margin: 0;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-content h2 {
  margin: 6px 0 2px;
  font-size: clamp(1.6rem, 1.1rem + 2.7vw, 3rem);
  max-width: 22ch;
  text-wrap: balance;
  color: var(--hero-text);
}

.hero-content p {
  margin: 0;
  color: var(--hero-muted);
}

.hero-sub {
  margin: 0;
  color: var(--hero-muted);
  font-size: clamp(1rem, 0.86rem + 0.5vw, 1.18rem);
}

.hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn,
.hero-btn-alt {
  text-decoration: none;
}

.hero-btn {
  border: 1px solid var(--border);
  min-width: min(280px, 100%);
}

.hero-btn-gold {
  border-color: rgba(255, 72, 72, 0.9);
  color: #fff6f6;
  font-weight: 800;
  font-size: clamp(1.18rem, 0.96rem + 0.55vw, 1.34rem);
  min-width: min(470px, 100%);
  padding: 16px 26px;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ff3c3c, #ea0f0f 56%, #b80000);
  box-shadow:
    0 0 0 1px rgba(255, 110, 110, 0.42),
    0 0 16px rgba(255, 45, 45, 0.48),
    0 0 34px rgba(255, 22, 22, 0.32),
    0 10px 26px rgba(124, 0, 0, 0.44);
  animation: ctaPulseZoom 3s ease-in-out infinite;
}

.hero-btn-gold:hover {
  box-shadow:
    0 0 0 1px rgba(255, 136, 136, 0.62),
    0 0 22px rgba(255, 46, 46, 0.62),
    0 0 42px rgba(255, 22, 22, 0.46),
    0 14px 30px rgba(124, 0, 0, 0.54);
}

@keyframes ctaPulseZoom {
  0%,
  8%,
  100% {
    transform: scale(1);
    filter: saturate(1);
  }

  4% {
    transform: scale(1.08);
    filter: saturate(1.16);
  }
}

body.light .hero-btn-gold {
  border-color: rgba(228, 30, 30, 0.92);
  color: #ffffff;
  background: linear-gradient(180deg, #ff3c3c, #ea0f0f 56%, #b80000);
}

.hero-btn-alt {
  border-color: color-mix(in srgb, #25d366 55%, var(--border));
  background: linear-gradient(170deg, color-mix(in srgb, #25d366 35%, var(--surface)), var(--surface));
}

.hero-meta {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-info {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(6, 15, 26, 0.62), rgba(6, 15, 26, 0.38));
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  width: min(680px, 100%);
}

.hero-info p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--hero-muted);
}

.map-link {
  color: var(--accent);
  font-weight: 700;
}

.map-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 84%, var(--accent) 16%);
}

.map-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.map-btn {
  text-decoration: none;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.wallet-strip {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.wallet-strip img {
  width: 56px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 82%, #fff 18%);
  padding: 3px;
}

.hero-media {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 78%, rgba(255, 255, 255, 0.16) 22%);
  box-shadow: var(--shadow);
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 12px clamp(14px, 3.2vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body.light .topbar {
  background: color-mix(in srgb, #f7fcff 86%, #d9ecfb 14%);
}

.brand h1 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0.08em;
  font-size: clamp(1.25rem, 1rem + 2vw, 2rem);
}

.brand-mark {
  margin: 0;
  display: flex;
  align-items: center;
}

.brand-mark img {
  width: auto;
  height: clamp(30px, 2vw + 22px, 56px);
  object-fit: contain;
}

.brand p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: color-mix(in srgb, var(--text) 94%, var(--accent) 6%);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, rgba(255, 255, 255, 0.24) 20%);
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 66%, var(--accent) 34%), color-mix(in srgb, var(--surface-2) 86%, transparent));
  box-shadow: 0 0 0 1px rgba(39, 221, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 75%, #ffffff 25%);
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 54%, var(--accent) 46%), color-mix(in srgb, var(--surface-2) 72%, var(--accent) 28%));
  transform: translateY(-1px);
}

body.light .nav-link {
  color: #16374d;
  border-color: rgba(0, 153, 204, 0.3);
  background: linear-gradient(165deg, rgba(187, 233, 249, 0.92), rgba(255, 245, 221, 0.94));
  box-shadow: 0 0 0 1px rgba(0, 153, 204, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light .nav-link:hover {
  color: #0f2a3b;
  border-color: rgba(0, 153, 204, 0.52);
  background: linear-gradient(165deg, rgba(156, 223, 246, 0.98), rgba(255, 236, 197, 0.98));
}

.layout {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.business-strip {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 70%, var(--accent) 30%), color-mix(in srgb, var(--surface-2) 80%, #ffbf66 20%));
  box-shadow: var(--shadow);
  padding: 11px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-chip {
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--border) 80%, #ffffff 20%);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  line-height: 1.2;
}

.business-chip strong {
  letter-spacing: 0.05em;
}

.business-chip:nth-child(1) {
  border-color: rgba(255, 191, 102, 0.55);
  background: linear-gradient(140deg, rgba(255, 191, 102, 0.2), rgba(11, 29, 49, 0.45));
}

.business-chip:nth-child(2) {
  border-color: rgba(39, 221, 255, 0.58);
  background: linear-gradient(140deg, rgba(39, 221, 255, 0.2), rgba(11, 29, 49, 0.42));
}

.business-chip:nth-child(3) {
  border-color: rgba(130, 224, 170, 0.58);
  background: linear-gradient(140deg, rgba(130, 224, 170, 0.2), rgba(11, 29, 49, 0.42));
}

.business-chip:nth-child(4) {
  border-color: rgba(255, 138, 138, 0.55);
  background: linear-gradient(140deg, rgba(255, 138, 138, 0.2), rgba(11, 29, 49, 0.42));
}

body.light .promo-ribbon {
  background: linear-gradient(90deg, #d8f2ff, #fff2d7);
}

body.light .dev-notice {
  border-color: rgba(212, 143, 48, 0.42);
  background: linear-gradient(165deg, #fff4de, #fff9ef);
}

body.light .dev-notice p {
  color: #65431c;
}

body.light .dev-notice strong {
  color: #9f5408;
}

body.light .promo-ribbon-track {
  color: #0f344a;
  text-shadow: none;
}

body.light .business-strip {
  background: linear-gradient(145deg, #dff3ff, #fff0d4);
}

body.light .business-chip {
  color: #153247;
  background: rgba(255, 255, 255, 0.72);
}

body.light .business-chip:nth-child(1) {
  border-color: rgba(214, 150, 49, 0.5);
  background: linear-gradient(140deg, rgba(255, 211, 130, 0.45), rgba(255, 255, 255, 0.82));
}

body.light .business-chip:nth-child(2) {
  border-color: rgba(0, 153, 204, 0.5);
  background: linear-gradient(140deg, rgba(122, 218, 246, 0.4), rgba(255, 255, 255, 0.82));
}

body.light .business-chip:nth-child(3) {
  border-color: rgba(60, 173, 113, 0.48);
  background: linear-gradient(140deg, rgba(155, 231, 188, 0.35), rgba(255, 255, 255, 0.82));
}

body.light .business-chip:nth-child(4) {
  border-color: rgba(225, 102, 102, 0.48);
  background: linear-gradient(140deg, rgba(255, 174, 174, 0.35), rgba(255, 255, 255, 0.82));
}

.store-shell {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-14px);
  pointer-events: none;
  transition: max-height 0.55s ease, opacity 0.35s ease, transform 0.45s ease;
}

.store-shell.is-open {
  max-height: 20000px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.in-store .store-shell {
  margin-top: 8px;
}

.store-topbar {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(170deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--accent) 18%));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.store-topbar p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.screen-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 130;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(220, 247, 255, 0.55), rgba(56, 231, 255, 0.22) 38%, rgba(6, 13, 23, 0.1) 72%, rgba(6, 13, 23, 0.9));
}

.screen-flash.run {
  animation: screenBlink 420ms ease forwards;
}

@keyframes screenBlink {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  65% {
    opacity: 0.65;
  }

  100% {
    opacity: 0;
  }
}

.catalog-panel {
  display: grid;
  gap: 14px;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-tab-btn {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 84%, var(--accent) 16%), var(--surface));
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  opacity: 0.92;
}

.service-tab-btn.active {
  border-color: rgba(255, 90, 90, 0.8);
  background: linear-gradient(160deg, rgba(255, 66, 66, 0.25), rgba(130, 0, 0, 0.3));
  color: #fff7f7;
}

.service-tab-btn.active .tab-icon {
  filter: drop-shadow(0 0 6px rgba(255, 120, 120, 0.72)) drop-shadow(0 0 14px rgba(255, 70, 70, 0.46));
}

.service-tab-panel {
  display: none;
}

.service-tab-panel.active {
  display: block;
}

.service-tab-panel[data-tab-panel="produccion"].active {
  display: grid;
  gap: 18px;
}

.print-configurator {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--surface-2) 84%, var(--accent) 16%));
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.print-configurator h3 {
  margin: 0;
  font-size: 1rem;
}

.config-subtitle {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.config-cheer {
  margin: 0;
  min-height: 20px;
  font-size: 0.82rem;
  color: #9de8ff;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.config-cheer.show {
  opacity: 1;
  transform: translateY(0);
}

.config-step {
  border: 1px solid color-mix(in srgb, var(--border) 72%, rgba(255, 255, 255, 0.28) 28%);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 82%, var(--accent) 18%);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.production-configurator .config-step:nth-of-type(1) {
  background: linear-gradient(160deg, color-mix(in srgb, #1b6ea3 28%, var(--surface) 72%), var(--surface));
}

.production-configurator .config-step:nth-of-type(2) {
  background: linear-gradient(160deg, color-mix(in srgb, #2f8f7b 26%, var(--surface) 74%), var(--surface));
}

.production-configurator .config-step:nth-of-type(3) {
  background: linear-gradient(160deg, color-mix(in srgb, #8f6d2f 24%, var(--surface) 76%), var(--surface));
}

.production-configurator .config-step:nth-of-type(4) {
  background: linear-gradient(160deg, color-mix(in srgb, #8b3f68 20%, var(--surface) 80%), var(--surface));
}

.config-step-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.option-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.option-btn {
  border: 1px solid var(--border);
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 80%, var(--accent) 20%), var(--surface));
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.option-btn:hover {
  border-color: color-mix(in srgb, var(--accent) 78%, #ffffff 22%);
}

.option-btn.active {
  border-color: rgba(255, 90, 90, 0.85);
  background: linear-gradient(170deg, rgba(255, 58, 58, 0.24), rgba(155, 0, 0, 0.32));
  color: #fff4f4;
  box-shadow: 0 0 0 1px rgba(255, 86, 86, 0.32), 0 0 20px rgba(255, 26, 26, 0.22);
}

.option-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.config-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.config-qty-label {
  font-size: 0.82rem;
}

.config-quantity {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  min-height: 52px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.config-step .option-row {
  margin-top: 2px;
}

.binding-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.binding-toggle input {
  accent-color: #ff5a5a;
}

.config-summary {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface) 86%, var(--accent) 14%);
  display: grid;
  gap: 4px;
}

.config-summary p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.config-summary strong {
  color: var(--text);
}

.config-add-btn {
  width: 100%;
}

.config-add-btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.apa-alert {
  border: 1px solid rgba(255, 110, 110, 0.66);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(165deg, rgba(255, 84, 84, 0.16), rgba(82, 8, 8, 0.24));
}

.apa-alert p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 92%, #ffd8d8 8%);
  font-size: 0.84rem;
}

.apa-alert p + p {
  margin-top: 6px;
}

.service-bullets {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.tech-table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-table th,
.tech-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, rgba(255, 255, 255, 0.24) 30%);
}

.tech-table th {
  font-size: 0.88rem;
  color: var(--text);
}

.tech-table td {
  font-size: 0.85rem;
  color: var(--muted);
}

.tech-table td:first-child {
  color: var(--text);
  font-weight: 800;
  width: 38%;
}

body.light .print-configurator {
  background: linear-gradient(160deg, #f7fcff, #e8f4ff);
}

body.light .service-tab-btn {
  color: #16344b;
  background: linear-gradient(160deg, #edf7ff, #dff0ff);
}

body.light .service-tab-btn.active {
  color: #551919;
  border-color: rgba(201, 77, 77, 0.72);
  background: linear-gradient(160deg, rgba(255, 170, 170, 0.62), rgba(255, 226, 226, 0.92));
}

.field-error {
  border-color: rgba(255, 76, 76, 0.94) !important;
  box-shadow: 0 0 0 1px rgba(255, 76, 76, 0.38), 0 0 16px rgba(255, 57, 57, 0.28);
}

.field-shake {
  animation: invalidFieldShake 260ms ease;
}

@keyframes invalidFieldShake {
  0%,
  100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

body.light .config-step {
  background: rgba(255, 255, 255, 0.78);
}

body.light .production-configurator .config-step:nth-of-type(1) {
  background: linear-gradient(160deg, rgba(214, 239, 255, 0.95), rgba(245, 252, 255, 0.94));
}

body.light .production-configurator .config-step:nth-of-type(2) {
  background: linear-gradient(160deg, rgba(221, 247, 237, 0.95), rgba(247, 255, 251, 0.94));
}

body.light .production-configurator .config-step:nth-of-type(3) {
  background: linear-gradient(160deg, rgba(255, 244, 216, 0.95), rgba(255, 250, 238, 0.94));
}

body.light .production-configurator .config-step:nth-of-type(4) {
  background: linear-gradient(160deg, rgba(255, 232, 241, 0.95), rgba(255, 246, 251, 0.94));
}

body.light .option-btn {
  color: #17364d;
  background: linear-gradient(165deg, #ecf7ff, #ddf0ff);
}

body.light .option-btn.active {
  color: #fff7f7;
  background: linear-gradient(170deg, rgba(255, 75, 75, 0.78), rgba(184, 0, 0, 0.84));
}

body.light .config-quantity {
  color: #15354b;
  background: #ffffff;
}

body.light .config-summary {
  background: #f3faff;
}

body.light .config-cheer {
  color: #0b6f95;
}

body.light .apa-alert {
  background: linear-gradient(165deg, rgba(255, 118, 118, 0.18), rgba(255, 230, 230, 0.68));
}

body.light .apa-alert p {
  color: #4f1f1f;
}

body.light .tech-table td {
  color: #456175;
}

body.light .tech-table td:first-child {
  color: #1b3850;
}

.catalog-toolbar {
  border: 1px solid var(--border);
  background: linear-gradient(170deg, var(--surface), color-mix(in srgb, var(--surface) 86%, var(--accent) 10%));
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.search-wrap,
.filter-wrap {
  display: grid;
  gap: 4px;
}

.search-wrap span,
.filter-wrap span {
  font-size: 0.84rem;
  color: var(--muted);
}

#service-search,
#category-filter,
#customer-note {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 87%, transparent);
  padding: 9px 10px;
}

#service-search,
#category-filter {
  min-height: 40px;
}

#customer-note {
  resize: vertical;
  min-height: 70px;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.catalog-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(12px);
  opacity: 0;
  animation: reveal 0.45s ease forwards;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card[hidden] {
  display: none !important;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(125deg, rgba(56, 231, 255, 0.85), rgba(20, 184, 255, 0.15), rgba(56, 231, 255, 0.85));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 231, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(56, 231, 255, 0.32), 0 20px 38px rgba(8, 36, 62, 0.52);
}

.service-card:hover::after {
  opacity: 1;
  animation: cardGlowShift 2.2s linear infinite;
}

@keyframes cardGlowShift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(20deg);
  }
}

.service-card:nth-child(2) {
  animation-delay: 0.06s;
}

.service-card:nth-child(3) {
  animation-delay: 0.12s;
}

.service-card:nth-child(4) {
  animation-delay: 0.18s;
}

.service-card:nth-child(5) {
  animation-delay: 0.24s;
}

@keyframes reveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid var(--border);
  font-size: 1.2rem;
}

.service-card h2 {
  margin: 0;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.unit-line {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.unit-line strong {
  color: var(--text);
}

.service-category {
  color: var(--accent-strong) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-media {
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 128px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 64%, var(--accent) 36%), var(--surface));
}

.service-media img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
}

.media-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--text) 88%, #fff 12%);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-media.missing-image .media-fallback {
  display: flex;
}

.price-line {
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-line strong {
  color: var(--text);
}

.tier-status {
  margin: 0;
  min-height: 18px;
  font-size: 0.8rem;
  color: var(--muted);
}

.tier-status.is-bulk {
  color: #77d88e;
  font-weight: 700;
}

.total-preview {
  font-size: 0.85rem;
  color: var(--text);
}

.premium {
  border-color: color-mix(in srgb, #ffd96b 56%, var(--accent-strong));
  box-shadow: 0 0 0 1px rgba(255, 217, 107, 0.35), 0 10px 34px rgba(255, 217, 107, 0.14);
}

.badge {
  background: linear-gradient(160deg, #ffd96b, #f2b84d);
  color: #202020;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price {
  font-weight: 700;
  color: var(--text);
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

label {
  font-size: 0.84rem;
  color: var(--muted);
}

input[type="number"] {
  width: 100%;
  max-width: 132px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 87%, transparent);
}

.service-controls {
  display: grid;
  gap: 8px;
}

.service-controls .controls {
  gap: 10px;
}

.service-controls input[type="number"] {
  max-width: none;
}

.service-controls select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 87%, transparent);
  padding: 8px 10px;
}

.btn {
  border: 1px solid var(--border);
  background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 24%, var(--surface)), var(--surface));
  color: var(--text);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

.btn.hero-btn-gold {
  width: min(520px, 100%);
  min-width: 0;
  padding: 17px 28px;
  border-radius: 14px;
  border-color: rgba(255, 72, 72, 0.95);
  color: #fff6f6;
  font-size: clamp(1.2rem, 0.95rem + 0.62vw, 1.4rem);
  font-weight: 900;
  background: linear-gradient(180deg, #ff3f3f, #e90000 56%, #a80000);
  box-shadow:
    0 0 0 1px rgba(255, 128, 128, 0.36),
    0 0 22px rgba(255, 30, 30, 0.52),
    0 0 42px rgba(255, 16, 16, 0.35),
    0 12px 30px rgba(105, 0, 0, 0.5);
}

.btn.hero-btn-gold:hover {
  color: #ffffff;
  border-color: rgba(255, 146, 146, 0.95);
  background: linear-gradient(180deg, #ff5a5a, #ff1515 56%, #b00000);
}

body.light .btn.hero-btn-gold {
  border-color: rgba(228, 30, 30, 0.94);
  color: #ffffff;
  background: linear-gradient(180deg, #ff4c4c, #ef1010 56%, #b70000);
}

.add-btn {
  border-color: color-mix(in srgb, #19f0ff 70%, var(--border));
  background:
    linear-gradient(140deg, rgba(22, 240, 255, 0.24), rgba(11, 35, 61, 0.92)),
    linear-gradient(180deg, #0f1f31, #081322);
  box-shadow: 0 0 0 1px rgba(25, 240, 255, 0.25), 0 0 18px rgba(25, 240, 255, 0.26);
  font-weight: 700;
}

.add-btn:hover {
  box-shadow: 0 0 0 1px rgba(25, 240, 255, 0.45), 0 0 26px rgba(25, 240, 255, 0.38);
}

body.light .add-btn {
  color: #f6fbff;
  background:
    linear-gradient(140deg, rgba(0, 152, 196, 0.75), rgba(7, 70, 112, 0.94)),
    linear-gradient(180deg, #0f5b88, #093f60);
  border-color: rgba(0, 129, 176, 0.52);
  box-shadow: 0 0 0 1px rgba(0, 146, 196, 0.24), 0 0 16px rgba(0, 146, 196, 0.22);
}

body.light .add-btn:hover {
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 146, 196, 0.42), 0 0 24px rgba(0, 146, 196, 0.32);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn:active {
  transform: translateY(0);
}

.cart-fab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 130;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  height: 56px;
  border-radius: 50%;
  width: 56px;
  padding: 0;
  color: #f1f8ff;
  box-shadow: 0 8px 22px rgba(2, 15, 28, 0.45), 0 0 0 1px rgba(39, 221, 255, 0.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(39, 221, 255, 0.22);
}

.cart-fab-glyph {
  font-size: 1.3rem;
  line-height: 1;
}

.cart-fab-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4d4d, #d70000);
  color: #ffffff;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0 5px;
}

.cart-fab.bump {
  animation: cartFabBump 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-fab-count.bump {
  animation: cartBadgePop 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cartFabBump {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.14) translateY(-2px);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cartBadgePop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.28);
  }

  100% {
    transform: scale(1);
  }
}

.mobile-cart-sheet {
  position: fixed;
  top: 76px;
  right: 10px;
  width: min(360px, calc(100vw - 20px));
  max-height: min(72vh, 560px);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface), color-mix(in srgb, var(--surface-2) 82%, var(--accent) 18%));
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 121;
  display: grid;
  gap: 10px;
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.mobile-cart-head h3 {
  margin: 0;
  font-size: 0.96rem;
}

.mobile-cart-close {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
  color: var(--text);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.mobile-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: min(44vh, 330px);
  overflow: auto;
}

.mobile-cart-items li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
}

.mobile-cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}

.mobile-cart-order {
  width: 100%;
  font-weight: 800;
}

.mobile-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 14, 0.35);
  backdrop-filter: blur(1px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.mobile-cart-open .mobile-cart-sheet {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

body.mobile-cart-open .mobile-cart-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.light .cart-fab {
  background: linear-gradient(160deg, #e6f5ff, #d6ecfb);
  color: #11415c;
  border-color: rgba(0, 153, 204, 0.38);
}

body.light .mobile-cart-backdrop {
  background: rgba(112, 146, 171, 0.24);
}

.cart-panel {
  position: static;
  z-index: 30;
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--surface) 65%, var(--accent) 15%));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.cart-panel h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

#cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 170px;
  overflow: auto;
}

#cart-items li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  font-size: 0.86rem;
  display: grid;
  gap: 8px;
}

.cart-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.cart-item-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-item-actions {
  display: flex;
  gap: 6px;
}

.cart-action {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, var(--accent) 10%);
  color: var(--text);
  border-radius: 8px;
  min-width: 34px;
  min-height: 28px;
  cursor: pointer;
}

.cart-action.remove {
  border-color: color-mix(in srgb, #ea6464 60%, var(--border));
  color: #ffd5d5;
}

.cart-summary {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.quick-summary {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}

.quick-summary p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.quick-summary p + p {
  margin-top: 4px;
}

.whatsapp-btn {
  width: 100%;
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, #25d366 50%, var(--border));
  background: linear-gradient(160deg, #25d366, #1ea64f);
  color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  font-weight: 700;
}

.btn-soft {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(160deg, color-mix(in srgb, #ea6464 28%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, #ea6464 55%, var(--border));
}

.whatsapp-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-soft.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.note-wrap {
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
}

.biz-info {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}

.biz-info h4 {
  margin: 0;
  font-size: 0.88rem;
}

.info-list {
  margin: 8px 0 10px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(150deg, var(--surface), color-mix(in srgb, var(--surface) 70%, var(--accent) 20%));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.84rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-credits {
  position: relative;
  z-index: 3;
  width: min(1280px, 94%);
  margin: 18px auto 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 72%, var(--accent) 28%), color-mix(in srgb, var(--surface-2) 78%, #ffb66b 22%));
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  text-align: center;
}

.credits-main,
.credits-dev {
  margin: 0;
}

.credits-main {
  font-size: clamp(0.84rem, 0.75rem + 0.34vw, 1rem);
  color: color-mix(in srgb, var(--text) 94%, #ffffff 6%);
  letter-spacing: 0.02em;
}

.credits-main strong {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(39, 221, 255, 0.28);
}

.credits-dev {
  font-size: 0.78rem;
  color: var(--muted);
}

.credits-dev span {
  color: #ffd189;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.light .site-credits {
  background: linear-gradient(160deg, #dff3ff, #fff0d6);
}

body.light .credits-main {
  color: #17384f;
}

body.light .credits-main strong {
  color: #0f2b40;
  text-shadow: none;
}

body.light .credits-dev {
  color: #4a6476;
}

body.light .credits-dev span {
  color: #b45c0a;
}

.wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.wa-bubble {
  width: min(320px, calc(100vw - 30px));
  background: #ffffff;
  color: #1f2630;
  border-radius: 12px;
  border: 1px solid #e6e9ed;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  padding: 12px 14px;
  position: relative;
}

body:not(.in-store) .wa-bubble {
  border-color: rgba(37, 211, 102, 0.42);
  box-shadow: 0 8px 24px rgba(13, 122, 60, 0.22);
}

.wa-bubble::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-right: 1px solid #e6e9ed;
  border-bottom: 1px solid #e6e9ed;
  transform: rotate(45deg);
}

.wa-bubble.hide {
  display: none;
}

.wa-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #6a7682;
}

.wa-agent {
  margin: 0;
  font-weight: 700;
  color: #1f2630;
}

.wa-online {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #6a7682;
}

.wa-msg {
  margin: 6px 0 0;
  color: #2a3440;
  font-size: 0.92rem;
}

.wa-fab {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at 30% 30%, #63e085, #1fb554 65%);
  box-shadow: 0 12px 24px rgba(18, 181, 76, 0.42);
}

.wa-fab img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.empty {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (min-width: 601px) {
  .site-wrap {
    padding-bottom: 26px;
  }

  .topbar {
    flex-wrap: nowrap;
  }

  .layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }

  .hero-content {
    width: min(820px, 86%);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .catalog-count {
    grid-column: 1 / -1;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .business-strip {
    padding: 12px 16px;
  }

  .business-chip {
    font-size: 0.82rem;
  }

  .cart-panel {
    position: sticky;
    top: 96px;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .mobile-cart-sheet,
  .mobile-cart-backdrop {
    display: none;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 600px) {
  .service-tabs {
    grid-template-columns: 1fr;
  }

  .service-tab-btn {
    font-size: 0.8rem;
  }

  .tech-table th,
  .tech-table td {
    padding: 9px 8px;
    font-size: 0.78rem;
  }

  .promo-ribbon-track {
    font-size: 0.72rem;
    gap: 20px;
    padding: 7px 10px;
    animation-duration: 18s;
  }

  .promo-ribbon-track span + span::before {
    left: -12px;
  }

  .business-strip {
    padding: 10px;
    gap: 7px;
  }

  .business-chip {
    width: 100%;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .cart-fab {
    top: 80px;
    right: 12px;
    width: 54px;
    height: 54px;
  }

  .site-credits {
    margin: 16px auto 12px;
    padding: 10px;
  }

  .credits-main {
    font-size: 0.78rem;
  }

  .credits-dev {
    font-size: 0.72rem;
  }
}
