﻿:root {
  --bg: #edf3ff;
  --surface: #ffffff;
  --ink: #152448;
  --muted: #5f7096;
  --line: #d8e2ff;
  --brand-blue: #1e2ff0;
  --brand-blue-deep: #0e196b;
  --brand-pink: #e43e8d;
  --brand-lime: #8fd92d;
  --accent: #f2f6ff;
  --success: #1ea45f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 360px at 100% -20%, rgba(228, 62, 141, 0.14), transparent 60%),
    radial-gradient(780px 300px at -10% 10%, rgba(30, 47, 240, 0.14), transparent 64%),
    linear-gradient(180deg, #f6f9ff, var(--bg));
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(1180px, 94%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, var(--brand-blue-deep), #1a2978);
  color: #ecf0ff;
  font-size: 0.85rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-links a {
  color: #ecf0ff;
  text-decoration: none;
  font-weight: 700;
}

.header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(14, 25, 107, 0.1);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 10px;
  padding: 0.12rem 0.2rem;
  box-shadow: 0 6px 16px rgba(26, 43, 255, 0.16);
}

.logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo-pink {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-pink), #c92f78);
  padding: 0.22rem 0.36rem;
}

.logo-blue {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #1422c2);
  padding: 0.22rem 0.44rem 0.22rem 0.2rem;
  position: relative;
}

.logo-blue::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #24386f;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-blue);
  background: #eef2ff;
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.46rem 0.85rem;
}

.home-main {
  padding-top: 0.7rem;
}

.hero-immersive {
  padding: 0.6rem 0 1rem;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  perspective: 1000px;
}

.hero-panel-main,
.hero-panel-side {
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: 0 14px 32px rgba(22, 36, 72, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.hero-panel-main {
  background:
    linear-gradient(130deg, rgba(14, 25, 107, 0.88), rgba(30, 47, 240, 0.8)),
    url("../images/bg-hero-main.svg");
  background-size: cover;
  background-position: center;
  color: #eef3ff;
  animation: floatSoft 7s ease-in-out infinite;
}

.hero-panel-side {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(242, 246, 255, 0.92)),
    url("../images/bg-hero-side.svg");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  animation: floatSoft 8.5s ease-in-out infinite;
  animation-delay: 0.4s;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: #bad0ff;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.hero-panel-main h1 {
  font-size: clamp(1.5rem, 3.9vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.hero-panel-main p {
  max-width: 58ch;
  color: #dee8ff;
}

.hero-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 0.62rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-blue {
  background: linear-gradient(140deg, var(--brand-blue), #2f4aff);
  color: #fff;
}

.btn-yellow {
  background: #fff59d;
  color: #29304e;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.whatsapp {
  background: var(--success);
  color: #fff;
}

.hero-panel-side h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.hero-panel-side p {
  color: var(--muted);
}

.mini-kpis {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.mini-kpis article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.56rem;
}

.mini-kpis strong {
  display: block;
  color: var(--brand-blue-deep);
  font-size: 1rem;
}

.mini-kpis span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding: 1.1rem 0 1.5rem;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.banner-card {
  border-radius: 16px;
  padding: 1.1rem;
  color: #fff;
  min-height: 140px;
  box-shadow: 0 12px 28px rgba(21, 35, 90, 0.16);
  position: relative;
  overflow: hidden;
}

.banner-card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -40%;
  width: 34%;
  height: 160%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  transform: rotate(22deg);
  animation: sweepLight 7s ease-in-out infinite;
}

.banner-card p {
  font-size: 0.86rem;
  opacity: 0.9;
}

.banner-card h3 {
  margin-top: 0.35rem;
  font-size: 1.2rem;
  max-width: 22ch;
  line-height: 1.2;
}

.banner-a {
  background:
    linear-gradient(120deg, rgba(38, 62, 242, 0.78), rgba(20, 56, 199, 0.75) 52%, rgba(79, 103, 255, 0.74)),
    url("../images/bg-banner-a.svg");
  background-size: cover;
  background-position: center;
}

.banner-b {
  background:
    linear-gradient(130deg, rgba(152, 51, 117, 0.78), rgba(204, 60, 133, 0.72) 55%, rgba(38, 71, 207, 0.7)),
    url("../images/bg-banner-b.svg");
  background-size: cover;
  background-position: center;
}

.promo-block {
  padding-top: 0.3rem;
}

.section-head {
  margin-bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section-head a {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.promo-spotlight-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 10px 24px rgba(17, 33, 77, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-spotlight-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: #eef3ff;
  padding: 0.35rem;
}

.cat {
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.promo-spotlight-card h3 {
  font-size: 1.35rem;
  margin: 0.35rem 0;
}

.promo-spotlight-card p {
  color: var(--muted);
}

.price {
  font-size: 1rem;
  font-weight: 800;
  color: #0f1e4a;
  margin-top: 0.4rem;
}

.price.big {
  font-size: 1.5rem;
}

.old {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: #b44e4e;
  font-weight: 400;
  margin-left: 0.4rem;
}

.services {
  padding-bottom: 0.95rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.service-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.84rem;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 100%;
  box-shadow: 0 10px 24px rgba(18, 35, 82, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(18, 35, 82, 0.14);
  border-color: rgba(30, 47, 240, 0.28);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  background:
    linear-gradient(145deg, rgba(30, 47, 240, 0.12), rgba(228, 62, 141, 0.08)),
    #f6f8ff;
  border: 1px solid rgba(30, 47, 240, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card > div {
  min-width: 0;
}

.service-grid h3 {
  font-size: 0.94rem;
  margin-bottom: 0.16rem;
}

.service-grid p {
  color: var(--muted);
  font-size: 0.85rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.category-preview {
  margin-bottom: 1rem;
}

.category-preview-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.category-banner-side {
  position: relative;
  min-height: 286px;
  border-radius: 20px;
  padding: 1.2rem;
  color: #fff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(14, 25, 107, 0.82), rgba(30, 47, 240, 0.56)),
    url("../images/bg-banner-a.svg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 34px rgba(17, 33, 77, 0.18);
  isolation: isolate;
}

.category-banner-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 15, 45, 0.1), rgba(7, 15, 45, 0.55));
  z-index: -1;
}

.category-banner-overlay {
  position: absolute;
  inset: auto -18% -28% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 217, 45, 0.52), rgba(143, 217, 45, 0));
  filter: blur(4px);
  animation: categoryGlow 7s ease-in-out infinite;
}

.category-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-width: 24ch;
}

.category-banner-copy span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.category-banner-copy strong {
  font-size: 1.55rem;
  line-height: 1.15;
}

.category-banner-copy em {
  font-style: normal;
  font-size: 0.82rem;
  display: inline-flex;
  width: fit-content;
  margin-top: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-banner-copy b {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.86rem;
}

.category-products-panel {
  min-width: 0;
}

.category-preview .section-head {
  margin-bottom: 0.7rem;
  padding-inline: 0.2rem;
}

.catalog-grouped {
  display: block;
}

.category-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  padding-bottom: 0.4rem;
  min-width: 0;
  scroll-snap-type: x proximity;
}

.category-carousel-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.category-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 14px;
  padding-bottom: 0.35rem;
  align-items: stretch;
}

.category-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(30, 47, 240, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue-deep);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 33, 77, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.category-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17, 33, 77, 0.18);
}

.category-arrow:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(17, 33, 77, 0.08);
  scroll-snap-align: start;
}

.mini-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.mini-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f0f4ff;
  padding: 0.32rem;
}

.mini-card-body {
  padding: 0.72rem 0.82rem 0.88rem;
}

.mini-card h4 {
  font-size: 0.87rem;
  line-height: 1.3;
  min-height: 46px;
}

.mini-card p {
  padding: 0;
  margin-top: 0.38rem;
  color: #50628f;
  font-size: 0.82rem;
  font-weight: 700;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(17, 33, 77, 0.14);
}

.categories-filter {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.filter-chip {
  text-decoration: none;
  border: 1px solid #cdd9ff;
  color: #2b3f79;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.categories-filter.vertical {
  flex-direction: column;
  align-items: stretch;
}

.categories-filter.vertical .filter-chip {
  text-align: left;
  border-radius: 10px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: start;
}

.catalog-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  position: sticky;
  top: 96px;
}

.catalog-sidebar h3 {
  margin-bottom: 0.6rem;
}

.catalog-content {
  min-width: 0;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-wrap label {
  font-size: 0.84rem;
  color: #30467f;
  font-weight: 700;
}

.sort-wrap select {
  border: 1px solid #cdd9ff;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
}

.filter-chip.active {
  background: #1e2ff0;
  color: #fff;
  border-color: #1e2ff0;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f0f4ff;
  padding: 0.32rem;
}

.card .cat {
  padding: 0.7rem 0.8rem 0.2rem;
}

.card h3 {
  font-size: 0.95rem;
  padding: 0 0.8rem;
  min-height: 54px;
}

.card p {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  flex-wrap: wrap;
}

.card-compact {
  position: relative;
}

.card-compact .cat,
.card-compact .card-actions,
.card-compact p:not(.price) {
  display: none;
}

.card-compact h3 {
  min-height: auto;
  padding: 0.9rem 0.8rem 0.35rem;
  line-height: 1.35;
}

.card-compact .price {
  padding: 0 0.8rem 0.95rem;
  color: #1b2d67;
  font-weight: 800;
}

.card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.contact-box {
  padding-top: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.reviews-grid.is-switching {
  opacity: 0.2;
  transform: translateY(10px);
}

.review-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 1));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 26px rgba(17, 33, 77, 0.08);
  position: relative;
  overflow: hidden;
}

.review-card::after {
  content: "";
  position: absolute;
  inset: auto -24% -38% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 47, 240, 0.12), rgba(30, 47, 240, 0));
  pointer-events: none;
}

.review-stars {
  display: inline-flex;
  gap: 0.2rem;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.review-star {
  color: #d3daef;
  font-size: 1rem;
  line-height: 1;
}

.review-star.filled {
  color: #ffb400;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.56rem;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 800;
}

.review-text {
  color: var(--muted);
  margin-top: 0.55rem;
  min-height: 82px;
}

.review-meta {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: #23396f;
}

.review-meta strong {
  font-size: 0.98rem;
}

.review-meta span {
  font-size: 0.84rem;
  color: var(--muted);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(22, 36, 72, 0.13);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.contact-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.devis-form {
  display: grid;
  gap: 0.55rem;
  max-width: 560px;
}

.devis-form h2 {
  margin-bottom: 0.2rem;
}

.devis-form input,
.devis-form textarea {
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.58rem 0.62rem;
  font: inherit;
}

.contact-media-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11, 22, 69, 0.98), rgba(41, 68, 204, 0.94));
  box-shadow: 0 16px 30px rgba(13, 24, 68, 0.16);
}

.contact-visual {
  min-height: 290px;
  background:
    linear-gradient(140deg, rgba(14, 25, 107, 0.18), rgba(30, 47, 240, 0.12)),
    url("../images/bg-hero-side.svg");
  background-size: cover;
  background-position: center;
}

.contact-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 34%);
  pointer-events: none;
}

.contact-media-copy {
  padding: 1rem;
  color: #fff;
}

.contact-media-copy h3 {
  font-size: 1.35rem;
  margin: 0.35rem 0;
}

.contact-media-copy p:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.newsletter-inline {
  padding-top: 0.2rem;
}

.newsletter-inline-box {
  background: linear-gradient(120deg, #ffffff, #eef3ff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.extra-home-box {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(232, 239, 255, 0.96));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 12px 26px rgba(19, 34, 77, 0.08);
}

.extra-home-box h2 {
  margin: 0.2rem 0 0.35rem;
}

.extra-home-box p:last-of-type {
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 220px;
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.58rem 0.62rem;
  font: inherit;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #25d366, #128c4a);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 3px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(12, 86, 39, 0.38);
  z-index: 70;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 2.8s ease-in-out infinite;
  overflow: visible;
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, 0.45);
  opacity: 0.85;
  animation: waRing 2.8s ease-in-out infinite;
  pointer-events: none;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
}

.wa-float svg,
.social-link.whatsapp svg {
  display: none;
}

.wa-float::before,
.social-link.whatsapp::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6C18.2 6 7 16.9 7 30.4c0 5.1 1.6 9.9 4.4 13.8L8.6 58l14.2-3.6A25.8 25.8 0 0 0 32 56c13.8 0 25-10.9 25-24.4S45.8 6 32 6Zm0 44.8c-3.1 0-6.1-.7-8.8-2.1l-1-.5-7.1 1.8 1.4-6.9-.6-1c-2.2-3.3-3.4-7.3-3.4-11.4 0-10.6 8.8-19.2 19.5-19.2s19.5 8.6 19.5 19.2S42.7 50.8 32 50.8Z'/%3E%3Cpath d='M43.5 36.5c-.6-.3-3.7-1.8-4.2-2-.6-.2-1-.3-1.4.3-.4.6-1.6 2-1.9 2.4-.4.4-.7.5-1.3.2-3.6-1.8-6-3.2-8.4-7.2-.6-1 .6-.9 1.7-3 .2-.4.1-.8 0-1.1-.2-.3-1.4-3.3-1.9-4.6-.5-1.2-1-1-1.4-1h-1.2c-.4 0-1.1.2-1.7.8-.6.6-2.2 2.1-2.2 5.2s2.3 6.1 2.6 6.5c.3.4 4.5 6.9 11 9.7 4.1 1.8 5.7 1.9 7.7 1.6 1.2-.2 3.7-1.5 4.2-3 .5-1.5.5-2.8.4-3-.2-.3-.6-.5-1.2-.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6C18.2 6 7 16.9 7 30.4c0 5.1 1.6 9.9 4.4 13.8L8.6 58l14.2-3.6A25.8 25.8 0 0 0 32 56c13.8 0 25-10.9 25-24.4S45.8 6 32 6Zm0 44.8c-3.1 0-6.1-.7-8.8-2.1l-1-.5-7.1 1.8 1.4-6.9-.6-1c-2.2-3.3-3.4-7.3-3.4-11.4 0-10.6 8.8-19.2 19.5-19.2s19.5 8.6 19.5 19.2S42.7 50.8 32 50.8Z'/%3E%3Cpath d='M43.5 36.5c-.6-.3-3.7-1.8-4.2-2-.6-.2-1-.3-1.4.3-.4.6-1.6 2-1.9 2.4-.4.4-.7.5-1.3.2-3.6-1.8-6-3.2-8.4-7.2-.6-1 .6-.9 1.7-3 .2-.4.1-.8 0-1.1-.2-.3-1.4-3.3-1.9-4.6-.5-1.2-1-1-1.4-1h-1.2c-.4 0-1.1.2-1.7.8-.6.6-2.2 2.1-2.2 5.2s2.3 6.1 2.6 6.5c.3.4 4.5 6.9 11 9.7 4.1 1.8 5.7 1.9 7.7 1.6 1.2-.2 3.7-1.5 4.2-3 .5-1.5.5-2.8.4-3-.2-.3-.6-.5-1.2-.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.social-link.whatsapp::before {
  width: 24px;
  height: 24px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 30px rgba(8, 28, 12, 0.42);
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 82px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #1e2ff0, #4f63ff);
  color: #fff;
  box-shadow: 0 12px 22px rgba(16, 30, 87, 0.3);
  display: none;
  cursor: pointer;
  z-index: 70;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.to-top svg {
  width: 20px;
  height: 20px;
  display: block;
}

.to-top.show {
  display: grid;
  place-items: center;
  animation: toTopPulse 2.2s ease-in-out infinite;
}

.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(16, 30, 87, 0.38);
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 23, 66, 0.56);
  display: grid;
  place-items: center;
  z-index: 90;
}

.newsletter-modal.hidden {
  display: none;
}

.newsletter-modal-content {
  width: min(460px, 92vw);
  background: #fff;
  border: 1px solid #d8e2ff;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
}

.newsletter-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: #eef2ff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
}

.footer {
  background: #0f1c47;
  color: #d9e4ff;
  margin-top: 1rem;
  padding-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.footer h4 {
  margin-bottom: 0.4rem;
}

.footer p,
.footer a {
  font-size: 0.84rem;
  color: #d9e4ff;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1f2f7a;
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 20px rgba(4, 12, 33, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  animation: socialFloat 4.6s ease-in-out infinite;
}

.social-links a:nth-child(2) { animation-delay: 0.14s; }
.social-links a:nth-child(3) { animation-delay: 0.28s; }
.social-links a:nth-child(4) { animation-delay: 0.42s; }

.social-links a svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 18px rgba(4, 12, 33, 0.32);
  filter: brightness(1.08);
}

.social-link.instagram {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 18%, transparent 38%),
    radial-gradient(circle at 10% 10%, #5b51d8 0 18%, transparent 42%),
    linear-gradient(135deg, #f58529 0%, #dd2a7b 44%, #8134af 72%, #515bd4 100%);
}

.social-link.facebook { background: linear-gradient(145deg, #1877f2, #0f55bf); }
.social-link.youtube { background: linear-gradient(145deg, #ff0033, #c80025); }
.social-link.whatsapp { background: linear-gradient(145deg, #25d366, #128c4a); }

@keyframes waPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.03); }
}

@keyframes waRing {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 0.18; }
}

@keyframes toTopPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes socialFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.copy {
  margin-top: 0.85rem;
  text-align: center;
  border-top: 1px solid rgba(217, 228, 255, 0.2);
  padding: 0.7rem 0 0.9rem;
  font-size: 0.82rem;
}

@keyframes floatSoft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

@keyframes sweepLight {
  0% { left: -45%; }
  55% { left: 118%; }
  100% { left: 118%; }
}

.product-detail-shell {
  display: grid;
  gap: 1.15rem;
}

.product-main-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.product-gallery-card,
.product-content-card,
.specs-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}

.product-main-media {
  border: 1px solid #dbe4ff;
  border-radius: 12px;
  background: #eff4ff;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: min(510px, 62vh);
  object-fit: contain;
  background: #eff4ff;
  padding: 0.55rem;
  border-radius: 10px;
}

.product-thumbs {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-thumb {
  border: 1px solid #dbe4ff;
  background: #f6f9ff;
  border-radius: 10px;
  padding: 0.28rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 98px;
  object-fit: contain;
  background: #eff4ff;
  border-radius: 8px;
}

.product-thumb.active {
  border-color: rgba(30, 47, 240, 0.55);
  box-shadow: 0 10px 20px rgba(20, 39, 111, 0.16);
}

.product-thumb:hover {
  transform: translateY(-2px);
}

.product-content-card h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  line-height: 1.12;
  margin-top: 0.2rem;
}

.product-short {
  color: #334c84;
  margin-top: 0.3rem;
}

.product-inline-block {
  margin-top: 0.75rem;
}

.product-inline-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.product-specs-wrap {
  padding: 0.55rem;
}

.product-order-form {
  max-width: 100%;
  gap: 0.48rem;
}

.product-order-form input,
.product-order-form textarea {
  background: #fbfdff;
}

.product-order-actions {
  padding: 0.15rem 0 0;
}

.product-similar-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.similar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.similar-card h3 {
  min-height: 66px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  border-bottom: 1px solid #e7ecff;
  text-align: left;
  padding: 0.6rem;
}

.specs-table th {
  width: 40%;
  color: #1f3376;
}

.admin-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-shell {
  display: grid;
  gap: 1rem;
}

.admin-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.admin-tab {
  border: 1px solid #d7e0ff;
  background: #f4f7ff;
  color: #20356f;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-tab::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.45rem;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-pink));
  box-shadow: 0 0 0 0 rgba(47, 74, 255, 0.35);
  animation: tabPulse 2.6s ease infinite;
}

.admin-tab.active {
  background: linear-gradient(140deg, var(--brand-blue), #2f4aff);
  color: #fff;
  border-color: var(--brand-blue);
}

.admin-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(18, 35, 91, 0.1);
}

.admin-panel {
  background: #f9fbff;
  border: 1px solid #e1e8ff;
  border-radius: 12px;
  padding: 0.9rem;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-panel h3 {
  margin-bottom: 0.6rem;
}

.admin-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.admin-card {
  background: #fff;
  border: 1px solid #e1e8ff;
  border-radius: 10px;
  padding: 0.8rem;
  box-shadow: 0 10px 24px rgba(14, 26, 77, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(14, 26, 77, 0.08);
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card h4 {
  margin-bottom: 0.55rem;
}

.design-layout {
  display: grid;
  gap: 1rem;
}

.design-group {
  border: 1px solid #e2e9ff;
  border-radius: 14px;
  padding: 0.95rem;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1));
}

.design-group-head {
  margin-bottom: 0.8rem;
}

.design-group-head h5 {
  font-size: 1rem;
  color: #14306a;
  margin-bottom: 0.12rem;
}

.design-group-head p {
  color: var(--muted);
  font-size: 0.84rem;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.catalog-tools {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.catalog-tools input,
.catalog-tools select {
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.55rem;
  font: inherit;
  background: #fff;
}

.single-column {
  grid-template-columns: 1fr;
}

.admin-card label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.admin-card select {
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.55rem;
  font: inherit;
  background: #fff;
}

.admin-grouped-list {
  display: grid;
  gap: 0.7rem;
}

.article-library-list {
  display: grid;
  gap: 0.7rem;
}

.bulk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 0.9rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #dbe5ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff, #edf3ff);
}

.bulk-checkline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--brand-blue-deep);
}

.bulk-checkline input,
.article-select-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

.ads-admin-card {
  border-color: #cfe0ff;
  background:
    radial-gradient(circle at top right, rgba(30, 47, 240, 0.1), transparent 32%),
    #fff;
}

.google-ads-preview {
  border: 1px solid #dbe5ff;
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.google-ads-preview strong {
  display: block;
  color: var(--brand-blue-deep);
  margin-bottom: 0.25rem;
}

.admin-help-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

#article-selected-count {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.library-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid #dde5ff;
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
}

.article-library-item {
  grid-template-columns: 38px 90px 1fr auto;
}

.article-select-box {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef4ff;
  border: 1px solid #dbe5ff;
}

.library-item img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #f3f6ff;
  padding: 0.2rem;
  border-radius: 8px;
}

.library-item h4 {
  margin-bottom: 0.2rem;
}

.library-item p {
  color: var(--muted);
  font-size: 0.86rem;
}

.review-library-item {
  grid-template-columns: 120px 1fr auto;
}

.review-library-rating {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: 0.2rem 0;
}

.review-library-rating strong {
  color: var(--brand-blue-deep);
  font-size: 0.9rem;
}

.btn-small {
  padding: 0.48rem 0.72rem;
  font-size: 0.84rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stats-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 217, 45, 0.15), transparent 22%),
    linear-gradient(135deg, rgba(14, 25, 107, 0.98), rgba(39, 65, 203, 0.95));
  box-shadow: 0 18px 36px rgba(14, 26, 77, 0.16);
}

.stats-hero-copy h4 {
  font-size: 1.35rem;
  margin: 0.2rem 0 0.35rem;
}

.stats-hero-copy .note {
  color: rgba(238, 243, 255, 0.82);
  margin-bottom: 0;
}

.stats-hero-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.stats-hero-mini article {
  border-radius: 16px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-hero-mini span {
  display: block;
  font-size: 0.78rem;
  color: rgba(238, 243, 255, 0.72);
}

.stats-hero-mini strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.98rem;
}

.stats-grid-enhanced {
  grid-template-columns: repeat(3, 1fr);
}

.stats-card {
  background: linear-gradient(160deg, #ffffff, #f2f6ff);
  border: 1px solid #dce5ff;
  border-radius: 12px;
  padding: 0.9rem;
}

.stats-card-icon {
  position: relative;
  overflow: hidden;
  padding-top: 1rem;
  box-shadow: 0 12px 26px rgba(17, 33, 77, 0.08);
}

.stats-card-icon::after {
  content: "";
  position: absolute;
  inset: auto -20% -46% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 47, 240, 0.1), rgba(30, 47, 240, 0));
}

.stats-card-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.55rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(30, 47, 240, 0.14), rgba(228, 62, 141, 0.12));
  color: var(--brand-blue-deep);
  font-weight: 800;
  font-size: 0.85rem;
}

.stats-card span {
  display: block;
  color: #4d6197;
  font-size: 0.84rem;
}

.stats-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.7rem;
  color: #11255f;
}

.stats-card small {
  display: block;
  margin-top: 0.4rem;
  color: #6074a5;
  font-size: 0.78rem;
  font-weight: 700;
}

.stats-radial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.radial-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 0.9rem;
}

.radial-ring {
  --value: 0;
  --ring-color: var(--brand-blue);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, #fff 70%, transparent 72% 100%),
    conic-gradient(var(--ring-color) calc(var(--value) * 1%), #e8eefc 0);
  box-shadow: inset 0 0 0 1px rgba(30, 47, 240, 0.08), 0 10px 20px rgba(17, 33, 77, 0.08);
}

.radial-ring span {
  font-size: 1.15rem;
  font-weight: 800;
  color: #13265f;
}

.graph-list {
  display: grid;
  gap: 0.7rem;
}

.graph-row {
  display: grid;
  grid-template-columns: 120px 1fr 46px;
  gap: 0.55rem;
  align-items: center;
}

.graph-row span,
.graph-row strong {
  font-size: 0.84rem;
}

.graph-bar {
  background: #edf2ff;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.graph-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink));
}

.group-card {
  background: #fff;
  border: 1px solid #e1e8ff;
  border-radius: 10px;
  padding: 0.7rem;
}

.group-card h4 {
  margin-bottom: 0.4rem;
}

.group-card ul {
  padding-left: 1rem;
  color: #324673;
  display: grid;
  gap: 0.18rem;
}

.hidden {
  display: none;
}

.note {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
}

.form-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.form-grid label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-grid input,
.form-grid textarea {
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.55rem;
  font: inherit;
}

.form-grid input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
.form-grid textarea,
.form-grid select {
  width: 100%;
}

.password-field {
  position: relative;
  display: block !important;
  width: 100%;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.48rem;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: transparent;
  user-select: none;
}

.password-field input {
  width: 100%;
  padding-right: 2.4rem;
}

.password-toggle::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  opacity: 0.92;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203870' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 12s3.9-6 10.5-6 10.5 6 10.5 6-3.9 6-10.5 6S1.5 12 1.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E");
}

.password-toggle:hover {
  background: rgba(30, 47, 240, 0.08);
}

.password-toggle.is-visible::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203870' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 12s3.9-6 10.5-6 10.5 6 10.5 6-3.9 6-10.5 6S1.5 12 1.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='m3 21 18-18'/%3E%3C/svg%3E");
}

.form-grid select {
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.55rem;
  font: inherit;
  background: #fff;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  grid-column: 1 / -1;
}

.checkbox-line input {
  width: 16px;
  height: 16px;
}

.image-picker-wrap {
  display: grid;
  gap: 0.45rem;
}

.image-picker-wrap input[type="file"] {
  border: 1px dashed #9bb0ff;
  background: #f4f7ff;
  border-radius: 10px;
  padding: 0.6rem;
}

.image-file-name {
  font-size: 0.82rem;
  color: var(--muted);
}

.image-preview {
  display: none;
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.image-preview.show {
  display: block;
}

#design-settings-form .image-preview.show,
#edit-category-form .image-preview.show,
#add-category-form .image-preview.show {
  max-width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.actions-row {
  display: flex;
  gap: 0.5rem;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.admin-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.category-admin {
  margin-top: 1rem;
  border-top: 1px solid #e3e9ff;
  padding-top: 1rem;
}

.category-admin h3 {
  margin-bottom: 0.65rem;
}

.category-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.5rem;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  background: #f9fbff;
  border: 1px solid #e0e8ff;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
}

.admin-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid #dde5ff;
  border-radius: 10px;
  padding: 0.6rem;
}

.admin-item img {
  width: 100%;
  border-radius: 8px;
}

.admin-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.admin-item p {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-actions {
  display: flex;
  gap: 0.45rem;
}

.admin-actions button {
  border: 0;
  background: #edf1ff;
  color: #1b2f70;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.admin-body {
  background:
    radial-gradient(760px 300px at 100% 0%, rgba(228, 62, 141, 0.12), transparent 60%),
    radial-gradient(860px 320px at 0% 0%, rgba(30, 47, 240, 0.12), transparent 60%),
    linear-gradient(180deg, #f8fbff, #eef3ff);
}

.header-search {
  flex: 1;
  max-width: 430px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(14, 25, 107, 0.12);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 24, 68, 0.08);
}

.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.72rem 0.95rem;
  font: inherit;
}

.header-search button {
  border: 0;
  background: transparent;
  padding: 0.72rem 1rem;
  color: var(--brand-blue-deep);
  font-weight: 800;
  cursor: pointer;
}

.showcase-slider {
  padding: 0.8rem 0 0.35rem;
}

.showcase-shell {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(18, 32, 77, 0.16);
  background: #fff;
  border: 1px solid rgba(14, 25, 107, 0.08);
}

.home-slide {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background-size: cover;
  background-position: right center;
  position: relative;
  isolation: isolate;
  animation: slidePanAcross 6s ease both;
}

.home-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%, rgba(9, 20, 60, 0.2));
  animation: ambientGlow 4.6s ease-in-out infinite;
  z-index: -1;
}

.home-slide-copy {
  max-width: 640px;
  color: #fff;
  animation: slideContentSoft 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-slide-copy h2 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.02;
  margin-bottom: 0.8rem;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.home-slide-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
  max-width: 56ch;
}

.home-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: #c7d4ff;
  cursor: pointer;
}

.slider-dot.active {
  width: 34px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink));
}

.btn-outline-dark {
  background: #1d2f6d;
  color: #fff;
}

.admin-login-box {
  max-width: 560px;
  margin-inline: auto;
}

.admin-login-intro {
  margin-bottom: 1rem;
}

.admin-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 25, 107, 0.96), rgba(39, 65, 203, 0.95));
  color: #fff;
}

.admin-dashboard-hero .note,
.admin-dashboard-hero .cat {
  color: rgba(255, 255, 255, 0.8);
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.design-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.slider-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.slider-admin-item {
  border: 1px solid #e3e9ff;
  border-radius: 12px;
  padding: 0.75rem;
  background: #fbfcff;
  display: grid;
  gap: 0.55rem;
}

.slider-admin-item h6 {
  font-size: 0.92rem;
}

.slider-admin-item input,
.slider-admin-item textarea {
  border: 1px solid #cfd9ff;
  border-radius: 8px;
  padding: 0.55rem;
  font: inherit;
}

.design-preview-card {
  position: sticky;
  top: 96px;
}

.design-live-preview {
  border: 1px solid #dde6ff;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
}

.live-preview-shell {
  padding: 0.85rem;
}

.live-preview-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.live-logo {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brand-pink);
}

.live-logo span {
  color: var(--brand-blue);
}

.live-logo-img {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

.live-search {
  flex: 1;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #fff;
  border: 1px solid #dbe4ff;
  color: #7a89af;
  font-size: 0.84rem;
}

.live-preview-slide {
  min-height: 260px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.live-preview-slide strong {
  font-size: 1.3rem;
  line-height: 1.1;
  margin: 0.2rem 0;
}

.live-preview-slide span,
.live-preview-slide p {
  max-width: 34ch;
}

.live-preview-badges {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.live-preview-badges i {
  width: 34px;
  height: 10px;
  border-radius: 999px;
  display: block;
}

.table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e5ebff;
  padding: 0.7rem 0.55rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.88rem;
}

.admin-table th {
  color: #27407a;
}

.admin-table select {
  border: 1px solid #cfdaff;
  border-radius: 8px;
  padding: 0.45rem;
  background: #fff;
}

.status-cell {
  display: grid;
  gap: 0.45rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.status-en_attente {
  background: rgba(255, 183, 0, 0.14);
  color: #a56700;
}

.status-traitee {
  background: rgba(29, 145, 255, 0.12);
  color: #0f63b6;
}

.status-en_cours {
  background: rgba(30, 47, 240, 0.1);
  color: #1a2fc9;
}

.status-validee {
  background: rgba(30, 164, 95, 0.12);
  color: #18744a;
}

.status-annulee {
  background: rgba(223, 74, 74, 0.12);
  color: #ad2f2f;
}

.user-chip {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-pink));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.role-super_admin {
  background: rgba(228, 62, 141, 0.12);
  color: #a22b6b;
}

.role-super_admin::before {
  background: #e43e8d;
}

.role-admin {
  background: rgba(30, 47, 240, 0.1);
  color: #1d34bf;
}

.role-admin::before {
  background: #1e2ff0;
}

.admin-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.pagination-btn {
  border: 1px solid #d3deff;
  background: #fff;
  color: #1d3372;
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-info {
  color: #53658f;
  font-size: 0.88rem;
  font-weight: 700;
}

.order-success-modal {
  width: min(470px, 92vw);
  text-align: center;
  padding: 1.35rem;
}

.admin-confirm-modal {
  width: min(430px, 92vw);
  text-align: center;
  padding: 1.2rem;
}

.confirm-actions {
  justify-content: center;
  margin-top: 0.9rem;
}

.order-success-modal h3 {
  margin-bottom: 0.55rem;
  color: #13265f;
}

.order-success-modal p {
  color: var(--muted);
  margin-bottom: 1rem;
}

@keyframes slideDrift {
  0% { transform: translateY(16px) scale(1.02); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes slidePanAcross {
  0% { opacity: 0; transform: scale(1.05); background-position: right center; }
  100% { opacity: 1; transform: scale(1); background-position: left center; }
}

@keyframes ambientGlow {
  0% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
  100% { opacity: 0.74; transform: scale(1); }
}

@keyframes slideContentSoft {
  0% { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes tabPulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 74, 255, 0.25); }
  70% { box-shadow: 0 0 0 8px rgba(47, 74, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 74, 255, 0); }
}

@keyframes categoryGlow {
  0%, 100% { transform: scale(0.95) translate3d(0, 0, 0); opacity: 0.72; }
  50% { transform: scale(1.08) translate3d(-10px, -8px, 0); opacity: 1; }
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .hero-wrap,
  .promo-spotlight-card,
  .product-main-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-preview-shell,
  .contact-showcase {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .mini-kpis {
    grid-template-columns: 1fr;
  }

  .form-grid.two-col,
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .admin-subgrid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-hero,
  .stats-radial-grid {
    grid-template-columns: 1fr;
  }

  .stats-hero-mini {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .stats-grid-enhanced {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-track {
    grid-auto-columns: minmax(220px, 250px);
  }

  .category-carousel-shell {
    grid-template-columns: 1fr;
  }

  .category-arrow {
    display: none;
  }

  .catalog-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-inline-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .extra-home-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle-grid {
    grid-template-columns: 1fr;
  }

  .design-admin-layout,
  .slider-admin-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 34px;
    justify-content: center;
    gap: 0.45rem;
  }

  .topbar-inner p {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.79rem;
  }

  .top-links {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.55rem;
    position: relative;
  }

  .menu-btn {
    display: inline-block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: min(320px, 94vw);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 24px rgba(14, 25, 107, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .card-grid,
  .admin-item,
  .library-item,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-library-item {
    grid-template-columns: 34px 70px 1fr;
  }

  .article-library-item .actions-row {
    grid-column: 3;
  }

  .bulk-actions {
    align-items: stretch;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-actions,
  .actions-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card {
    gap: 0.7rem;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .logo img {
    height: 36px;
    max-width: 156px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }

  .header-search {
    order: 0;
  }

  .category-banner-side {
    min-height: 220px;
  }

  .category-track {
    grid-auto-columns: 78%;
  }

  .sort-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-card {
    min-height: 112px;
    padding: 0.8rem;
  }

  .hero-panel-main,
  .hero-panel-side {
    padding: 0.95rem;
  }

  .review-top,
  .review-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-top,
  .review-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-card-head,
  .catalog-tools,
  .admin-panel-head,
  .admin-dashboard-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .graph-row {
    grid-template-columns: 1fr;
  }

  .stats-hero-mini,
  .stats-grid-enhanced,
  .stats-radial-grid,
  .radial-card {
    grid-template-columns: 1fr;
  }

  .radial-card {
    justify-items: start;
  }

  .home-slide {
    min-height: 284px;
    padding: 1rem;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    right: 14px;
    bottom: 14px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }

  .to-top {
    right: 14px;
    bottom: 74px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .topbar-inner,
  .header-inner {
    gap: 0.7rem;
  }

  .service-card {
    padding: 0.76rem;
  }

  .newsletter-inline-box,
  .contact-inner {
    width: 100%;
  }

  .promo-spotlight-card,
  .home-slide,
  .category-banner-side,
  .devis-form,
  .contact-media-card {
    border-radius: 14px;
  }

  .home-slide {
    min-height: 250px;
  }

  .mini-card h4 {
    min-height: auto;
  }
}
