:root {
  --blue: #0d61b5;
  --blue-dark: #072b72;
  --ink: #071635;
  --muted: #65718a;
  --line: #dbe5f3;
  --soft: #f5f9ff;
  --white: #fff;
  --green: #0fb96a;
  --shadow: 0 18px 50px rgba(7, 22, 53, .1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  background:
    radial-gradient(circle at 7% 27%, rgba(13, 97, 181, .08) 0 1px, transparent 2px) 0 0 / 16px 16px,
    linear-gradient(140deg, rgba(126, 182, 230, .15), transparent 28%),
    #fff;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 84px auto auto 0;
  width: 290px;
  height: 210px;
  pointer-events: none;
  opacity: .35;
  background:
    linear-gradient(90deg, transparent 0 18%, #7eb6e6 18% 19%, transparent 19%),
    linear-gradient(0deg, transparent 0 42%, #7eb6e6 42% 43%, transparent 43%);
  clip-path: polygon(0 18%, 74% 18%, 90% 34%, 100% 34%, 100% 39%, 87% 39%, 71% 23%, 0 23%);
  z-index: -1;
}

body::after {
  inset: 120px 0 auto auto;
  transform: scaleX(-1);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 84px;
  padding: 10px clamp(18px, 6vw, 96px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
  height: 68px;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 58px);
  font-weight: 600;
  color: #27334d;
}

.nav a {
  position: relative;
  padding: 18px 0;
}

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

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  background: var(--blue);
  border-radius: 99px;
}

.header-actions,
.hero-actions,
.product-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
}

.primary-button,
.secondary-button,
.ghost-button,
.tabs button,
.admin-tabs button {
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0 18px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(13, 97, 181, .18);
}

.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--blue);
}

.ghost-button {
  border-color: var(--line);
}

.admin-only {
  display: none !important;
}

body.admin-mode .admin-only {
  display: inline-flex !important;
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 42px;
  min-height: 530px;
  padding: 42px 0 26px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.hero-copy > p:not(.eyebrow),
.split-head p,
.products-head p,
.feature-copy p,
.admin-head p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero-visual {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 470px;
}

.hero-devices {
  width: min(840px, 112%);
  max-width: none;
  margin-left: -4%;
  object-fit: contain;
  filter: drop-shadow(0 26px 38px rgba(7, 22, 53, .12));
}

.trust-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  justify-self: end;
}

.trust-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(126, 182, 230, .45);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 36px rgba(7, 22, 53, .16);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  grid-row: 1 / span 2;
}

.trust-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card strong,
.trust-card span {
  display: block;
}

.trust-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  line-height: 1.35;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 0 34px;
}

.service-strip article,
.product-card,
.work-card,
.filters,
.whatsapp-card,
.proof-band,
.admin-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(7, 22, 53, .05);
}

.service-strip article {
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: auto 1fr;
  gap: 10px 18px;
  min-height: 160px;
  padding: 24px;
  align-items: start;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f0f7ff);
  grid-row: 1 / span 2;
}

.line-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-strip h2 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.service-strip p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
}

.service-strip p,
.work-card p,
.product-card p,
.filters label,
.whatsapp-card p,
.proof-band span,
.site-footer p {
  color: var(--muted);
  line-height: 1.45;
}

.split-head,
.products-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 42px 0 16px;
}

.catalog-head {
  padding-top: clamp(34px, 7vw, 76px);
}

.split-head h2,
.products-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, .9fr);
  align-items: center;
  gap: 30px;
  padding-bottom: 24px;
}

.placeholder-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 210px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #08162f, #0d61b5);
}

.placeholder-media {
  display: grid;
  place-items: center;
  color: var(--white);
}

.placeholder-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .12) 36% 45%, transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 18px);
  opacity: .5;
}

.placeholder-media span {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--white);
  font-size: 2.2rem;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
}

.feature-copy h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.tabs button,
.admin-tabs button {
  background: transparent;
  color: #2f3b52;
  border-color: transparent;
}

.tabs button.active,
.admin-tabs button.active {
  background: var(--blue);
  color: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 32px;
}

.work-card,
.product-card {
  overflow: hidden;
}

.product-card {
  position: relative;
  min-height: 510px;
  height: auto;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.work-card {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 97, 181, .28);
  box-shadow: 0 20px 45px rgba(7, 22, 53, .12);
}

.product-card:focus-visible {
  outline: 3px solid rgba(13, 97, 181, .35);
  outline-offset: 4px;
}

.work-card:focus-visible {
  outline: 3px solid rgba(13, 97, 181, .35);
  outline-offset: 4px;
}

.product-card:hover {
  z-index: 3;
  transform: translateY(-6px);
  border-color: rgba(13, 97, 181, .28);
  box-shadow: 0 24px 55px rgba(7, 22, 53, .14);
}

.work-card .placeholder-media,
.product-card .placeholder-media {
  min-height: 150px;
  border-radius: 0;
}

.product-media-shell {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: linear-gradient(145deg, #f8fbff, #fff);
}

.product-carousel,
.uploaded-carousel {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 18%, rgba(126, 182, 230, .28), transparent 30%),
    linear-gradient(145deg, #f8fbff, #fff);
}

.featured-media .uploaded-carousel {
  height: 320px;
  border-radius: var(--radius);
}

.work-card .uploaded-carousel {
  height: 150px;
  border-radius: 0;
}

.product-track {
  display: flex;
  height: 100%;
  transform: translateX(0);
}

.uploaded-track {
  display: flex;
  height: 100%;
  transform: translateX(0);
}

.uploaded-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.uploaded-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .uploaded-carousel {
  background: linear-gradient(145deg, #f8fbff, #fff);
}

.product-card .uploaded-slide img {
  object-fit: cover;
  background: #f8fbff;
}

.product-card:hover .product-track {
  animation: productCarousel 3.4s ease-in-out infinite;
}

.featured-media .uploaded-track {
  animation: uploadedCarousel var(--carousel-duration, 3.2s) ease-in-out infinite;
}

.featured-media .product-track {
  animation: productCarousel 3.4s ease-in-out infinite;
}

.product-card:hover .uploaded-track,
.work-card:hover .uploaded-track {
  animation: uploadedCarousel var(--carousel-duration, 3.2s) ease-in-out infinite;
}

.product-card:hover .uploaded-track {
  animation: none;
}

.external-preview-slide,
.native-preview-slide {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071635;
}

.external-preview-slide iframe,
.native-preview-slide video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}

.preview-play-badge {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: 1rem;
}

.facebook-preview-slide {
  background: #1877f2;
}

.facebook-preview-mark {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 5rem;
  font-weight: 700;
}

.product-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  min-width: 100%;
}

.product-slide::before {
  content: "";
  position: absolute;
  inset: 28px 26px;
  border-radius: 999px;
  background: rgba(13, 97, 181, .07);
  filter: blur(14px);
}

.product-art {
  position: relative;
  display: block;
  width: 132px;
  height: 92px;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  display: block;
}

.product-carousel.laptop .product-art::before,
.product-carousel.laptop-light .product-art::before {
  left: 14px;
  top: 8px;
  width: 104px;
  height: 64px;
  border: 5px solid #2b3446;
  border-radius: 6px;
  background: linear-gradient(135deg, #05275f, #0d61b5 58%, #7eb6e6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.product-carousel.laptop .product-art::after,
.product-carousel.laptop-light .product-art::after {
  left: 0;
  bottom: 8px;
  width: 132px;
  height: 13px;
  border-radius: 3px 3px 12px 12px;
  background: linear-gradient(90deg, #aab5c6, #eef3fa, #9aa6b8);
  box-shadow: 0 7px 14px rgba(7, 22, 53, .16);
}

.product-carousel.monitor .product-art::before,
.product-carousel.device .product-art::before {
  left: 13px;
  top: 4px;
  width: 106px;
  height: 62px;
  border: 6px solid #242b38;
  border-radius: 4px;
  background: linear-gradient(135deg, #051f4f, #0d61b5 65%, #7eb6e6);
}

.product-carousel.monitor .product-art::after,
.product-carousel.device .product-art::after {
  left: 42px;
  bottom: 6px;
  width: 48px;
  height: 24px;
  border-bottom: 9px solid #242b38;
  background: linear-gradient(90deg, transparent 17px, #242b38 17px 31px, transparent 31px);
}

.product-carousel.ssd .product-art {
  width: 122px;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(135deg, #12305f, #0d61b5);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 10px 20px rgba(7, 22, 53, .14);
}

.product-carousel.ssd .product-art::before {
  inset: 12px 16px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #dce8f7 0 8px, transparent 8px 15px);
}

.product-carousel.ssd .product-art::after {
  right: 10px;
  top: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .85);
}

.product-carousel.keyboard .product-art {
  width: 132px;
  height: 48px;
  border-radius: 7px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .72) 0 8px, transparent 8px 13px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(255, 255, 255, .28) 10px 12px),
    linear-gradient(135deg, #1d2432, #0d61b5 60%, #7eb6e6);
  box-shadow: 0 12px 22px rgba(7, 22, 53, .18);
}

.product-carousel.mouse .product-art {
  width: 72px;
  height: 96px;
  border-radius: 42px;
  background: linear-gradient(135deg, #1f2633, #424d62);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), 0 12px 22px rgba(7, 22, 53, .18);
}

.product-carousel.mouse .product-art::before {
  top: 9px;
  left: 33px;
  width: 5px;
  height: 18px;
  border-radius: 4px;
  background: var(--blue);
}

.product-carousel.mouse .product-art::after {
  left: 35px;
  top: 0;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .25);
}

.slide-angle .product-art {
  transform: perspective(420px) rotateY(-12deg) rotateX(2deg);
}

.slide-detail .product-art {
  transform: scale(1.12);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(13, 97, 181, .28);
}

.carousel-dots span:first-child {
  background: var(--blue);
}

.product-card:hover .carousel-dots span {
  animation: productDot 3.4s ease-in-out infinite;
}

.product-card:hover .carousel-dots span:nth-child(2) {
  animation-delay: 1.12s;
}

.product-card:hover .carousel-dots span:nth-child(3) {
  animation-delay: 2.24s;
}

.work-card-body,
.product-card-body {
  padding: 16px;
}

.product-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 132px;
  padding: 18px;
}

.work-card h3,
.product-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.3;
}

.product-card h3 {
  margin-bottom: 0;
}

.product-card p {
  margin-bottom: 0;
  font-size: .9rem;
}

.product-meta {
  display: grid;
  gap: 8px;
}

.product-stock {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(7, 22, 53, .82);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
}

.product-share-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--blue);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(7, 22, 53, .16);
  cursor: pointer;
}

.product-share-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-share-menu {
  position: absolute;
  top: 58px;
  right: 12px;
  z-index: 8;
  width: 190px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 22, 53, .2);
}

.product-share-menu button,
.product-share-menu a {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: var(--ink);
  border: 0;
  border-radius: 5px;
  background: transparent;
  font: inherit;
  font-size: .76rem;
  text-align: left;
  cursor: pointer;
}

.product-share-menu button:hover,
.product-share-menu a:hover { background: var(--soft); }

.product-category {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-summary {
  display: -webkit-box;
  min-height: 63px;
  color: var(--muted);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-card-actions .secondary-button,
.product-quote-button {
  min-height: 40px;
  padding: 0 8px;
  font-size: .76rem;
}

.product-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #087d49;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}
.product-quote-button svg { width: 19px; height: 19px; margin-right: 6px; fill: currentColor; }

.catalog-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 0 22px;
}
.catalog-sort label { color: var(--muted); font-size: .86rem; font-weight: 700; }
.catalog-sort select {
  min-width: 245px;
  min-height: 44px;
  padding: 0 38px 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
}

.catalog-banner {
  position: relative;
  margin-top: 6px;
  margin-bottom: 30px;
  aspect-ratio: 32 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 14px 36px rgba(7, 22, 53, .08);
}

.catalog-banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .65s ease;
}

.catalog-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.catalog-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: var(--desktop-x, 50%) var(--desktop-y, 50%);
  transform: scale(var(--desktop-zoom, 1));
  transition: transform .25s ease;
}

.catalog-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.catalog-banner-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 1px rgba(7, 22, 53, .2);
}

.catalog-banner-dots span.active { background: var(--blue); }

.banner-viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 12, 29, .96);
}
.banner-viewer::backdrop { background: rgba(3, 12, 29, .88); }
.banner-viewer-stage { display: grid; width: 100%; height: 100%; place-items: center; padding: 60px; }
.banner-viewer-stage img { width: min(1500px, 100%); max-height: 100%; object-fit: contain; }
.banner-viewer-close { position: fixed; top: 18px; right: 18px; z-index: 4; color: #fff; border-color: rgba(255,255,255,.5); background: rgba(7,22,53,.75); }

.admin-banner-manager {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.admin-banner-upload { cursor: pointer; }
.admin-banner-upload input { display: none; }
.admin-banner-list { display: grid; gap: 10px; margin-top: 16px; }
.admin-banner-item {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.admin-banner-preview,
.admin-banner-crop-frame {
  width: 100%;
  aspect-ratio: 32 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eaf2fc;
}
.admin-banner-mobile-preview {
  width: min(210px, 100%);
  aspect-ratio: 32 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eaf2fc;
}
.admin-banner-item img,
.admin-banner-crop-frame img,
.admin-banner-mobile-preview img { width: 100%; height: 100%; object-fit: contain; }
.admin-banner-device-previews { display: grid; grid-template-columns: 1fr minmax(120px, .48fr); gap: 10px; align-items: end; }
.admin-banner-device-previews small { display: block; margin-bottom: 5px; color: var(--muted); font-weight: 700; }
.admin-banner-item strong, .admin-banner-item small { display: block; }
.admin-banner-item small { color: var(--muted); }
.admin-banner-settings { display: grid; gap: 7px; }
.admin-banner-settings label { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px; color: var(--muted); font-size: .76rem; }
.admin-banner-settings select { min-height: 34px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.admin-banner-settings input[type="range"] { width: 100%; accent-color: var(--blue); }
.admin-banner-pending { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.admin-banner-drafts { display: grid; gap: 14px; margin: 14px 0; }
.admin-banner-draft { display: grid; grid-template-columns: minmax(300px, 1.5fr) minmax(230px, .7fr); gap: 16px; align-items: center; }
.admin-banner-status { min-height: 24px; margin: 12px 0; color: var(--green); font-size: .86rem; font-weight: 700; }
.admin-banner-status.is-error { color: #b42318; }
.mobile-settings-title { margin-top: 7px; color: var(--blue); font-size: .76rem; }
.banner-reset-button { min-height: 36px; padding: 0 10px; font-size: .72rem; }

.product-card.is-sold-out .product-media-shell {
  filter: grayscale(.75);
}

.product-card.is-sold-out .status,
.product-card.is-sold-out .product-stock {
  color: var(--white);
  background: #4a4a4a;
}

.product-detail-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  min-height: 138px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(155deg, rgba(7, 22, 53, .96), rgba(13, 97, 181, .94));
  transform: translateY(calc(100% - 7px));
  transition: transform .24s ease;
}

.product-card:hover .product-detail-panel {
  transform: translateY(0);
}

.product-detail-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.product-detail-panel p {
  display: -webkit-box;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: .88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.badge,
.price,
.status {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: .86rem;
}

.badge,
.price {
  color: var(--blue);
}

.status {
  gap: 6px;
  color: var(--green);
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 50%;
}

.product-tools input {
  width: min(520px, 100%);
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.product-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 22px;
  padding-bottom: 46px;
}

.filters,
.whatsapp-card {
  align-self: start;
  padding: 22px;
}

.filters h3 {
  margin: 0 0 16px;
}

.filters label {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.product-layout .product-grid {
  grid-column: 1 / -1;
}

@keyframes productCarousel {
  0%, 8% {
    transform: translateX(0);
  }

  20%, 42% {
    transform: translateX(-100%);
  }

  54%, 82% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes uploadedCarousel {
  0%, 8% {
    transform: translateX(0);
  }

  58%, 88% {
    transform: translateX(var(--last-slide, 0%));
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes productDot {
  0%, 30%, 100% {
    transform: scale(1);
    background: rgba(13, 97, 181, .28);
  }

  12%, 22% {
    transform: scale(1.35);
    background: var(--blue);
  }
}

.whatsapp-card {
  text-align: center;
}

.whatsapp-mark,
.float-whatsapp {
  display: grid;
  place-items: center;
  color: var(--white);
  background: #13c36b;
  border-radius: 50%;
}

.whatsapp-mark svg,
.float-whatsapp svg {
  width: 64%;
  height: 64%;
  fill: currentColor;
}

.whatsapp-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  font-size: 2rem;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 34px;
  padding: 24px 30px;
  background: linear-gradient(90deg, #f8fbff, #fff);
}

.proof-band article {
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.proof-band article:last-child {
  border-right: 0;
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band span {
  margin-top: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  gap: 30px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 30px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  object-position: center;
}

.site-footer h3 {
  font-size: .95rem;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payments span {
  padding: 7px 11px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 800;
}

.float-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 90;
  width: 66px;
  height: 66px;
  border: 5px solid var(--white);
  box-shadow: 0 18px 38px rgba(7, 22, 53, .22), 0 0 0 1px rgba(37, 211, 102, .18);
  font-size: 2rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.float-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 24px 44px rgba(7, 22, 53, .24), 0 0 0 1px rgba(37, 211, 102, .22);
}

.modal-float-whatsapp {
  z-index: 4;
}

.product-modal {
  width: min(1120px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.product-modal::backdrop {
  background: rgba(7, 22, 53, .62);
}

.product-modal-shell {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(126, 182, 230, .35);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(7, 22, 53, .24);
}

.product-detail-view {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr);
  gap: 30px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 16px;
  align-self: start;
}

.product-gallery-main {
  display: grid;
  place-items: center;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 18%, rgba(126, 182, 230, .2), transparent 32%),
    linear-gradient(145deg, #f7fbff, #fff);
}

.product-gallery-main img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-gallery-main video,
.product-gallery-main .external-video-player {
  width: 100%;
  height: 440px;
  border: 0;
  background: #000;
}

.external-video-thumb {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.external-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external-video-thumb b,
.external-video-thumb small {
  position: relative;
  z-index: 1;
}

.external-video-thumb b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .72);
}

.external-video-thumb small {
  align-self: end;
  width: 100%;
  padding: 3px 6px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: .65rem;
  text-align: center;
}

.facebook-thumb {
  grid-template-rows: 1fr auto;
  background: #1877f2;
}

.facebook-thumb b {
  width: auto;
  height: auto;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 2.25rem;
}

.product-gallery-main .product-carousel {
  width: 100%;
  height: 440px;
  border-bottom: 0;
}

.product-gallery-main .product-track {
  animation: productCarousel 5.6s ease-in-out infinite;
}

.product-gallery-main .product-art {
  transform: scale(1.55);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
}

.product-thumb {
  display: grid;
  place-items: center;
  height: 74px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  cursor: pointer;
}

.product-thumb.active {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(13, 97, 181, .18);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb span {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
}

.product-detail-info {
  display: grid;
  gap: 18px;
  max-height: calc(100dvh - 96px);
  overflow: auto;
  padding: 8px 4px;
  scrollbar-width: thin;
}

.product-detail-info h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.product-detail-meta strong,
.product-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
}

.product-detail-meta strong {
  color: var(--white);
  background: var(--blue);
}

.product-detail-meta span {
  color: var(--green);
  background: rgba(15, 185, 106, .1);
}

.product-detail-info p[data-product-detail-description] {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-line;
}

.detail-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 68px;
  width: 100%;
  padding: 14px 22px;
  color: var(--white);
  background: #25D366;
  border: 1px solid rgba(18, 140, 126, .22);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .28);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.detail-whatsapp:hover {
  transform: translateY(-2px);
  background: #20bd5a;
  box-shadow: 0 22px 48px rgba(37, 211, 102, .34);
}

.detail-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
}

.detail-whatsapp-icon svg {
  width: 32px;
  height: 32px;
  fill: #25D366;
}

.admin-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20px 20px, rgba(13, 97, 181, .08) 1.4px, transparent 1.5px) 0 0 / 24px 24px,
    #f5f8fc;
}

.admin-page-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 28px;
  min-height: 100vh;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 18px 0 45px rgba(7, 22, 53, .05);
}

.admin-sidebar-brand img {
  display: block;
  width: 150px;
  height: auto;
}

.admin-sidebar-nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
}

.admin-sidebar-nav a:hover {
  color: var(--blue);
  background: rgba(13, 97, 181, .08);
}

.admin-sidebar-nav a.active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(13, 97, 181, .22);
}

.admin-page-main {
  display: grid;
  gap: 22px;
  width: min(1480px, 100%);
  padding: 34px;
}

.admin-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.admin-page-top h1 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .95;
}

.admin-page-top p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
}

.admin-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-dashboard-grid {
  display: grid;
  gap: 22px;
}

.admin-view {
  display: none;
}

.admin-view:not(.active) {
  display: none !important;
}

.admin-view.active {
  display: grid;
}

.admin-panel-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(7, 22, 53, .06);
}

.admin-page .admin-usage,
.admin-page .admin-traffic {
  margin-top: 0;
  padding: 22px;
  background: rgba(255, 255, 255, .94);
}

.admin-section-head h2,
.admin-section-head h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.admin-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.interaction-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.interaction-controls select,
.interaction-controls input {
  min-height: 44px;
  min-width: 160px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(13, 97, 181, .2);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.interaction-controls input {
  padding-right: 14px;
}

.custom-date-range {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-date-range[hidden] {
  display: none;
}

.product-interactions {
  display: grid;
  gap: 10px;
}

.interaction-highlight {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--navy);
  background: rgba(13, 97, 181, .09);
}

.interaction-highlight strong {
  color: var(--blue);
}

.interaction-bars {
  display: grid;
  gap: 7px;
  max-height: min(48vh, 520px);
  overflow: auto;
  padding-right: 4px;
}

.interaction-row {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(220px, 1.7fr) auto;
  gap: 10px;
  align-items: center;
}

.interaction-row > span {
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interaction-track {
  position: relative;
  overflow: hidden;
  height: 24px;
  border-radius: 8px;
  background: rgba(13, 97, 181, .1);
}

.interaction-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #7eb6e6);
}

.interaction-track b {
  position: absolute;
  inset: 0 12px 0 auto;
  display: grid;
  align-items: center;
  color: var(--white);
  font-size: .86rem;
}

.interaction-row > strong {
  color: var(--blue);
  font-size: 1rem;
}

.interaction-note {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  background: #f8fbff;
}

.interaction-note strong {
  color: var(--blue);
}

.compact-tabs {
  margin: 0;
}

.admin-page .admin-form {
  padding-top: 4px;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.overview-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(13, 97, 181, .14);
  border-radius: var(--radius);
  background: #fff;
}

.overview-card.wide {
  grid-column: span 2;
}

.overview-card span {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.overview-card strong {
  color: var(--navy);
  font-size: clamp(1.55rem, 2vw, 2.35rem);
  line-height: 1.1;
}

.overview-card small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-catalog-list {
  display: grid;
  gap: 14px;
}

.admin-catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.admin-catalog-head h3 {
  margin: 0;
  color: var(--navy);
}

.admin-catalog-head span {
  color: var(--muted);
  font-weight: 800;
}

.admin-product-table {
  display: grid;
  gap: 12px;
}

.admin-product-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-product-thumb {
  overflow: hidden;
  width: 112px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #f8fbff;
}

.admin-product-thumb img,
.admin-product-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.admin-product-thumb .product-carousel {
  height: 100%;
}

.admin-product-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-product-copy strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-copy small {
  color: var(--muted);
  font-weight: 700;
}

.admin-product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-product-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
}

.admin-product-actions .danger-button {
  border-color: #c74343;
  color: #c74343;
}

.admin-product-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.admin-product-dialog::backdrop {
  background: rgba(7, 22, 53, .58);
}

.admin-product-shell {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-login-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.admin-login-dialog::backdrop {
  background: rgba(7, 22, 53, .62);
  backdrop-filter: blur(5px);
}

.admin-login-dialog .admin-login {
  margin: 0;
  grid-template-columns: 1fr;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-modal {
  width: min(860px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.admin-modal::backdrop {
  background: rgba(7, 22, 53, .55);
}

.admin-shell {
  position: relative;
  display: block;
  padding: 28px;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
}

.admin-head h2 {
  font-size: 2rem;
}

.admin-traffic {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.admin-section-head h3 {
  margin: 4px 0 0;
  font-size: 1.1rem;
}

.traffic-analytics {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, .25fr)) minmax(260px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.traffic-card {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(13, 97, 181, .14);
  border-radius: var(--radius);
  background: var(--white);
}

.traffic-card span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.traffic-card strong {
  color: var(--blue);
  font-size: 2.3rem;
  line-height: 1;
}

.traffic-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(28px, 1fr));
  gap: 10px;
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(13, 97, 181, .14);
  border-radius: var(--radius);
  background: var(--white);
}

.traffic-bar-item {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.traffic-bar {
  align-self: end;
  display: grid;
  place-items: start center;
  min-height: 8px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #0d61b5, #7eb6e6);
}

.traffic-bar span {
  margin-top: -24px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
}

.traffic-bar-item small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.product-views-panel {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(13, 97, 181, .14);
  border-radius: var(--radius);
  background: var(--white);
}

.product-views-panel h4 {
  margin: 0;
  font-size: .95rem;
}

.product-view-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(110px, .45fr);
  gap: 10px;
  align-items: center;
}

.product-view-row span {
  overflow: hidden;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-view-row strong {
  color: var(--blue);
  font-size: .92rem;
}

.product-view-meter {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(13, 97, 181, .12);
}

.product-view-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #7eb6e6);
}

.admin-usage {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.usage-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.usage-card,
.usage-warnings {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.usage-card {
  display: grid;
  gap: 8px;
}

.usage-card span {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.usage-card strong {
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}

.usage-card small {
  min-height: 36px;
  color: var(--muted);
  line-height: 1.35;
}

.quota-meter {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(13, 97, 181, .12);
}

.quota-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #17b978;
}

.quota-meter.warning i {
  background: #d49a12;
}

.quota-meter.danger i {
  background: #c74343;
}

.usage-card a {
  justify-self: start;
  color: var(--blue);
  font-weight: 800;
}

.usage-warnings {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  background: #f8fbff;
}

.usage-warnings h4,
.usage-warnings p {
  margin: 0;
}

.usage-warnings p {
  color: var(--muted);
  line-height: 1.4;
}

.admin-tabs {
  display: flex;
  gap: 12px;
  margin: 22px 0;
}

.admin-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.admin-login[hidden],
[data-admin-content][hidden] {
  display: none;
}

.admin-login label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-login input {
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.admin-login p,
.admin-login-actions {
  grid-column: 1 / -1;
}

.admin-login p {
  margin: 0;
  color: var(--muted);
}

.admin-login-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-form {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-form.active {
  display: grid;
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-form label:has(textarea),
.admin-form label:has(input[type="file"]),
.admin-form-actions,
.category-manager,
.admin-current-media,
.admin-form button,
.upload-note {
  grid-column: 1 / -1;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
}

.category-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.upload-note {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.admin-form textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-list {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-list h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.admin-current-media {
  display: grid;
  gap: 10px;
}

.admin-upload-preview {
  display: grid;
  gap: 12px;
}

.admin-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--navy);
}

.admin-preview-head span {
  color: var(--muted);
  font-size: .82rem;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.admin-media-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.media-order-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 22, 53, .84);
  font-size: .72rem;
  font-weight: 800;
}

.admin-media-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f8fbff;
}

.admin-media-item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #071635;
}

.media-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
}

.admin-media-item button {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
}

.admin-media-item button:disabled {
  color: #94a3b8;
  border-color: #dbe5f2;
  cursor: not-allowed;
}

.admin-media-item .danger-button {
  border-color: #c74343;
  color: #c74343;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.admin-row span,
.admin-row small {
  display: block;
}

.admin-row strong {
  line-height: 1.25;
}

.admin-row small {
  margin-top: 4px;
  color: var(--muted);
}

.admin-row button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
}

.admin-row .danger-button {
  border-color: #c74343;
  color: #c74343;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 1420px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .admin-banner-item,
  .admin-banner-draft {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 18px 22px;
  }

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

  .admin-page-main {
    padding: 22px;
  }

  .admin-page-top,
  .admin-section-head.split-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .admin-product-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .interaction-controls {
    justify-content: flex-start;
  }

  .site-header {
    grid-template-columns: 130px auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions {
    display: flex;
  }

  .site-header.menu-open .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .work-feature,
  .product-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-devices {
    width: 100%;
    margin-left: 0;
    height: auto;
  }

  .trust-stack {
    justify-self: stretch;
  }

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

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

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

  .product-detail-view {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .product-detail-info {
    max-height: none;
    overflow: visible;
  }

  .product-gallery-main {
    min-height: 340px;
  }

  .product-gallery-main .product-carousel {
    height: 340px;
  }
}

@media (max-width: 680px) {
  .catalog-sort { align-items: stretch; flex-direction: column; }
  .catalog-sort select { width: 100%; min-width: 0; }
  .catalog-banner {
    width: calc(100% - 24px);
    aspect-ratio: 32 / 9;
    margin-top: 12px;
    margin-bottom: 18px;
  }

  .catalog-banner-slide img {
    object-position: var(--mobile-x, 50%) var(--mobile-y, 50%);
    transform: scale(var(--mobile-zoom, 1));
  }

  .banner-viewer-stage { padding: 54px 12px 12px; }

  @media (orientation: portrait) {
    .banner-viewer-stage img {
      width: 88vh;
      max-width: none;
      height: 92vw;
      max-height: none;
      object-fit: contain;
      transform: rotate(90deg);
    }
  }

  .site-header {
    padding-inline: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .product-tools,
  .split-head,
  .products-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-devices {
    position: relative;
    width: 108%;
    height: auto;
    margin-left: -4%;
  }

  .trust-card {
    display: none;
  }

  .service-strip,
  .media-grid,
  .product-grid,
  .proof-band,
  .usage-dashboard,
  .traffic-analytics,
  .admin-login,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .traffic-chart {
    min-height: 145px;
  }

  .product-view-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .product-view-meter {
    grid-column: 1 / -1;
  }

  .admin-page-main {
    padding: 16px;
  }

  .admin-sidebar-nav,
  .interaction-row {
    grid-template-columns: 1fr;
  }

  .admin-overview,
  .admin-product-item {
    grid-template-columns: 1fr;
  }

  .overview-card.wide {
    grid-column: auto;
  }

  .admin-product-thumb {
    width: 100%;
    max-width: 220px;
  }

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

  .admin-page-top h1 {
    font-size: 2.35rem;
  }

  .admin-panel-card {
    padding: 16px;
  }

  .interaction-track b {
    color: var(--navy);
  }

  .service-strip article {
    grid-template-columns: 64px 1fr;
    padding: 20px;
  }

  .line-icon {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }

  .proof-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
  }

  .proof-band article:last-child {
    border-bottom: 0;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .product-modal-shell {
    padding: 18px;
  }

  .product-gallery-main {
    min-height: 260px;
  }

  .product-gallery-main .product-carousel {
    height: 260px;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}
