:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --indigo: #312e81;
  --purple: #7c3aed;
  --green: #16a34a;
  --green-dark: #12803b;
  --yellow: #fbbf24;
  --danger: #dc2626;
  --shadow: 0 16px 45px rgba(15, 23, 42, 0.09);
  --soft-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 320ms ease both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0.001;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav-shell,
.admin-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

.site-nav,
.admin-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.admin-nav nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  color: #334155;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active,
.admin-nav nav a:hover,
.admin-nav nav a.active {
  color: var(--primary);
  background: #eef2ff;
}

.site-nav .nav-whatsapp {
  color: #fff;
  background: var(--green);
  padding-inline: 14px;
}

.site-nav .nav-whatsapp:hover {
  color: #fff;
  background: var(--green-dark);
}

.cart-visual {
  position: relative;
  width: 42px;
  padding-inline: 0;
}

.cart-visual span {
  position: absolute;
  top: 5px;
  right: 3px;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.nav-toggle,
.nav-toggle.icon-button {
  display: none;
}

.btn,
.icon-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 14px;
}

.btn:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.btn:hover {
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.btn-whatsapp:hover {
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.24);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-whatsapp {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.22);
}

.btn-whatsapp:hover {
  background: var(--green-dark);
}

.btn-soft {
  background: #eef2ff;
  color: var(--primary-dark);
}

.btn-small {
  min-height: 34px;
  padding: 7px 10px;
}

.btn-large {
  min-height: 52px;
  font-size: 16px;
}

.full-width {
  width: 100%;
}

.icon-button {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  color: var(--primary-dark);
}

.icon-button.danger {
  background: #fee2e2;
  color: var(--danger);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(124, 58, 237, 0.15), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(22, 163, 74, 0.13), transparent 26%),
    linear-gradient(180deg, #fff 0%, #eef2ff 100%);
  border-bottom: 1px solid var(--border);
}

.hero.hero-dark {
  background:
    radial-gradient(circle at 24% 12%, rgba(124, 58, 237, 0.42), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(37, 99, 235, 0.35), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #172554 48%, #312e81 100%);
  border-bottom: 0;
}

.hero-dark .hero-copy h1,
.hero-dark .hero-copy p {
  color: #fff;
}

.hero-dark .hero-copy p {
  color: #dbeafe;
}

.eyebrow.light {
  color: #bfdbfe;
}

.hero-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.hero-search svg {
  margin-left: 8px;
  color: var(--primary);
}

.hero-search input {
  border: 0;
  padding: 12px 0;
  font-size: 16px;
}

.popular-chips,
.popular-tool-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-chips {
  margin-top: 18px;
}

.popular-chips a,
.popular-tool-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.popular-tool-row {
  margin-bottom: 18px;
}

.popular-tool-row a {
  border-color: var(--border);
  background: #fff;
  color: var(--primary-dark);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 52px;
  padding: 42px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 12px 0 16px;
  max-width: 640px;
  color: #0b1220;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #475569;
  font-size: 18px;
}

.hero-actions,
.trust-row,
.pill-row,
.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.trust-row {
  margin-top: 28px;
  color: #334155;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.trust-row svg {
  color: var(--green);
}

.hero-panel {
  position: relative;
  min-height: 420px;
}

.hero-glow {
  position: absolute;
  inset: 38px 18px 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(124, 58, 237, 0.35), rgba(22, 163, 74, 0.22));
  filter: blur(22px);
}

.hero-card,
.hero-mini-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card-main {
  inset: 32px 0 auto auto;
  width: min(420px, 100%);
  padding: 14px;
}

.hero-card-main img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.hero-card-main strong,
.hero-card-main small {
  display: block;
}

.hero-card-main small {
  color: var(--muted);
}

.hero-mini-card {
  left: 0;
  bottom: 32px;
  width: 168px;
  padding: 18px;
}

.hero-mini-card span {
  display: block;
  font-size: 32px;
  font-weight: 900;
}

.stars,
.rating {
  color: var(--yellow);
}

.hero-mini-card small {
  color: var(--muted);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.badge-purple {
  background: linear-gradient(135deg, var(--primary), var(--purple));
}

.badge-green {
  background: var(--green);
}

.quick-search {
  margin-top: -28px;
  position: relative;
  z-index: 5;
}

.search-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.search-bar svg {
  margin-left: 8px;
  color: var(--primary);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 11px 12px;
  outline: 0;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.search-bar input {
  border: 0;
  padding: 11px 0;
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 0 18px;
}

.section-heading.no-pad {
  padding-top: 0;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.section-heading h2,
.products-toolbar h2,
.filters-title h2,
.features-box h2,
.admin-title h1,
.admin-panel h2 {
  margin: 4px 0 0;
  line-height: 1.1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 900;
  white-space: nowrap;
}

.trending-section {
  padding: 64px 0 8px;
}

.slider-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-slider {
  overflow: hidden;
  margin-top: 18px;
  padding: 4px;
}

.featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, calc((100% - 54px) / 4));
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 0 12px;
}

.featured-track::-webkit-scrollbar {
  display: none;
}

.featured-slide {
  scroll-snap-align: start;
  min-width: 0;
}

.featured-slide .product-card {
  height: 100%;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots button.active {
  width: 26px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 24px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-weight: 850;
  white-space: nowrap;
}

.category-chip.active,
.category-chip:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.store-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
}

.filters-panel,
.product-card,
.buy-panel,
.features-box,
.admin-panel,
.stat-card,
.login-card,
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.filters-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.filters-title,
.products-toolbar,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filters-title a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.filters-panel form,
.form-stack {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.products-toolbar {
  margin-bottom: 16px;
}

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

.product-card {
  overflow: hidden;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  display: block;
  padding: 14px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.product-media a {
  display: block;
}

.product-image-box {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  animation: softBorderBlink 2.5s ease-in-out infinite;
}

.image-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent),
    linear-gradient(135deg, #eef2ff, #f8fafc);
  background-size: 220% 100%, 100% 100%;
  animation: imageSkeletonSweep 1.2s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.product-image-box.is-loaded .image-skeleton {
  opacity: 0;
  visibility: hidden;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 22px;
}

@keyframes softBorderBlink {
  0%,
  100% {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }

  50% {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.18);
  }
}

@keyframes imageSkeletonSweep {
  from {
    background-position: 220% 0, 0 0;
  }

  to {
    background-position: -220% 0, 0 0;
  }
}

.product-media .badge,
.detail-media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-media img {
  width: 100%;
}

.wishlist-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  cursor: default;
  box-shadow: var(--soft-shadow);
}

.product-body {
  padding: 14px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b7791f;
}

.rating svg {
  width: 15px;
  height: 15px;
  fill: var(--yellow);
  color: var(--yellow);
}

.product-card h3 {
  margin: 9px 0 6px;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-card p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}

.pill-green {
  background: #dcfce7;
  color: #166534;
}

.pill-row {
  margin-top: 12px;
}

.pill svg {
  width: 14px;
  height: 14px;
}

.product-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.product-price strong,
.price-stack strong {
  display: block;
  color: var(--primary-dark);
  font-size: 23px;
  line-height: 1;
}

.old-price {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  text-decoration: line-through;
  font-weight: 750;
}

.product-price small,
.price-stack small {
  color: var(--muted);
  font-weight: 850;
}

.card-actions {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  margin-top: 14px;
}

.product-card .card-actions {
  grid-template-columns: 1fr;
}

.flash {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 850;
}

.flash-success {
  background: #dcfce7;
  color: #166534;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs svg {
  width: 15px;
  height: 15px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  padding-bottom: 70px;
}

.detail-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #eef2ff;
  box-shadow: var(--soft-shadow);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 10px 0 8px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.detail-copy p {
  color: #475569;
}

.lead {
  font-size: 18px;
  font-weight: 750;
}

.features-box {
  margin-top: 20px;
  padding: 18px;
}

.features-box ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.features-box li,
.secure-list span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.features-box svg,
.secure-list svg {
  color: var(--green);
  margin-top: 2px;
}

.buy-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.price-stack {
  margin: 12px 0 18px;
}

.price-stack strong {
  font-size: 38px;
}

.secure-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  color: #475569;
  font-size: 14px;
  font-weight: 750;
}

.related-section {
  padding-bottom: 72px;
}

.detail-page {
  background:
    linear-gradient(180deg, rgba(238, 242, 255, 0.72), transparent 340px),
    var(--bg);
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-bottom: 38px;
}

.product-detail-main {
  min-width: 0;
}

.detail-media-large {
  margin-bottom: 16px;
}

.detail-media-large img {
  aspect-ratio: 1.45;
}

.detail-media.product-image-box,
.detail-media-large.product-image-box,
.product-detail-image-box {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border-color: rgba(99, 102, 241, 0.25);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.detail-media.product-image-box img,
.detail-media-large.product-image-box img,
.product-detail-image-box img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 24px;
}

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge-soft-dark {
  background: #0f172a;
}

.badge-gold {
  background: #d97706;
}

.badge-blue {
  background: #2563eb;
}

.detail-title-card,
.detail-section,
.plan-card,
.selected-plan-card,
.reviews-empty {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.detail-title-card {
  padding: 24px;
}

.detail-title-card h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.detail-title-card p {
  max-width: 780px;
  margin: 0;
  color: #475569;
  font-size: 17px;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #475569;
  font-weight: 850;
}

.detail-rating-row .stars {
  color: var(--yellow);
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 950;
}

.product-plan-column {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.plan-card,
.selected-plan-card {
  padding: 20px;
}

.plan-card h2 {
  margin: 6px 0 16px;
  line-height: 1.1;
}

.plan-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 2px solid #c7d2fe;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #eef2ff);
}

.plan-option strong,
.plan-option span {
  display: block;
}

.plan-option span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.plan-option > strong {
  color: var(--primary-dark);
  white-space: nowrap;
}

.plan-proof-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.plan-proof-grid span,
.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #166534;
  font-size: 13px;
  font-weight: 850;
}

.plan-proof-grid svg,
.secure-note svg {
  color: var(--green);
}

.selected-plan-card {
  display: grid;
  gap: 14px;
}

.selected-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.selected-summary span {
  color: var(--muted);
  font-weight: 800;
}

.selected-summary strong {
  text-align: right;
}

.secure-note {
  margin: 0;
  color: #475569;
}

.detail-section {
  margin-top: 18px;
  padding: 22px;
}

.detail-content-stack {
  padding-bottom: 26px;
}

.detail-content-stack .detail-section:first-child {
  margin-top: 0;
}

.compact-heading {
  margin-bottom: 16px;
}

.tool-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tool-info-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
}

.tool-info-grid span {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.tool-info-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.tool-info-grid p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
}

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

.key-feature-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
}

.key-feature-grid svg {
  color: var(--green);
}

.key-feature-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 12%, rgba(34, 197, 94, 0.22), transparent 32%),
    linear-gradient(135deg, #0f172a, #312e81);
  color: #fff;
  box-shadow: var(--shadow);
}

.help-strip h2 {
  margin: 6px 0;
  line-height: 1.1;
}

.help-strip p {
  margin: 0;
  color: #dbeafe;
}

.reviews-empty {
  padding: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: none;
}

.reviews-empty svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.reviews-empty h3 {
  margin: 12px 0 4px;
}

.reviews-empty p {
  margin: 0;
  color: var(--muted);
}

.similar-tools-section {
  padding-top: 18px;
}

.small-empty {
  padding: 36px 20px;
}

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

.empty-state,
.not-found {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 54px 24px;
}

.stats-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -34px;
}

.stats-band article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.stats-band strong {
  display: block;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 850;
}

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

.category-card,
.why-grid article,
.static-card-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.category-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.category-card svg,
.why-grid svg,
.static-card-grid svg {
  color: var(--primary);
}

.category-card strong {
  line-height: 1.2;
}

.category-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.popular-section {
  padding-bottom: 8px;
}

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

.why-grid article {
  padding: 22px;
}

.why-grid h3 {
  margin: 12px 0 4px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 197, 94, 0.22), transparent 28%),
    linear-gradient(135deg, #0f172a, #312e81);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.cta-section p {
  max-width: 650px;
  margin: 0;
  color: #dbeafe;
}

.catalog-hero,
.page-hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(circle at 20% 18%, rgba(124, 58, 237, 0.32), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #172554 55%, #312e81 100%);
  color: #fff;
}

.catalog-hero h1,
.page-hero h1 {
  margin: 8px 0 12px;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1;
}

.catalog-hero p,
.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.catalog-search {
  margin-top: 26px;
}

.catalog-count-row {
  display: flex;
  gap: 14px;
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

.catalog-count-row div {
  min-width: 170px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.catalog-count-row strong,
.catalog-count-row span {
  display: block;
}

.catalog-count-row strong {
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
}

.catalog-count-row span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 850;
}

.catalog-layout {
  padding-top: 24px;
}

.mobile-filter-wrap {
  display: none;
}

.mobile-filters {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.mobile-filters summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 900;
}

.mobile-filters .filters-form {
  padding: 0 14px 14px;
}

.filters-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.filters-form legend {
  margin-bottom: 2px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.radio-row input,
.check-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.sort-form {
  min-width: 210px;
}

.static-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 56px 0 72px;
}

.static-card-grid article {
  padding: 22px;
}

.static-card-grid p {
  margin: 12px 0 0;
  color: #475569;
  font-weight: 750;
}

.about-story-grid,
.contact-layout,
.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 20px;
  padding: 58px 0 10px;
}

.about-card,
.team-card,
.contact-card-grid article,
.faq-panel,
.policy-intro-card,
.policy-section-stack article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.about-card,
.policy-intro-card {
  padding: 28px;
}

.about-card h2,
.whatsapp-support-card h2,
.policy-intro-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.about-card p,
.policy-intro-card p {
  margin: 0;
  color: #475569;
}

.highlight-card {
  background: linear-gradient(135deg, #eef2ff, #fff);
}

.highlight-card svg {
  color: var(--primary);
}

.trust-grid,
.process-grid,
.team-grid,
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid article,
.process-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.trust-grid svg {
  color: var(--green);
}

.trust-grid h3,
.process-grid h3 {
  margin: 12px 0 6px;
}

.trust-grid p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-weight: 900;
}

.about-stats {
  margin-top: 56px;
}

.team-grid,
.contact-card-grid {
  padding: 58px 0 72px;
}

.team-card {
  padding: 22px;
}

.team-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.team-card h2 {
  margin: 10px 0 3px;
}

.team-card strong {
  color: var(--primary);
}

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

.team-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
}

.team-phone svg {
  width: 14px;
  height: 14px;
}

.team-socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.team-socials a {
  display: inline-flex;
  text-decoration: none;
}

.team-socials svg {
  padding: 8px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary-dark);
}

.team-empty-state {
  grid-column: 1 / -1;
}

.contact-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 16px;
}

.contact-card-grid article {
  padding: 22px;
}

.contact-card-grid svg {
  color: var(--green);
}

.contact-card-grid span {
  display: block;
  margin-top: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.contact-card-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.whatsapp-support-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0f172a, #312e81);
  color: #fff;
  box-shadow: var(--shadow);
}

.whatsapp-support-card p {
  color: #dbeafe;
}

.faq-panel {
  padding: 24px;
}

.faq-panel h2 {
  margin: 0 0 12px;
}

.faq-panel details {
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.faq-panel summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.policy-layout {
  align-items: start;
  padding-bottom: 72px;
}

.policy-intro-card {
  position: sticky;
  top: 92px;
}

.policy-section-stack {
  display: grid;
  gap: 14px;
}

.policy-section-stack article {
  padding: 24px;
}

.policy-section-stack h2 {
  margin: 0 0 8px;
}

.policy-section-stack p {
  margin: 0;
  color: #475569;
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  background: #07111f;
  color: #cbd5e1;
}

.admin-sidebar-brand {
  color: #fff;
  margin-bottom: 28px;
}

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

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #cbd5e1;
  font-weight: 850;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
  background: rgba(37, 99, 235, 0.18);
  color: #fff;
}

.admin-workspace {
  min-width: 0;
  padding: 20px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.admin-topbar strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}

.admin-main {
  padding: 22px 0 70px;
}

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

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.quick-links-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary-dark);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}

.quick-links-grid svg {
  color: var(--primary);
}

.empty-state svg,
.not-found svg {
  width: 52px;
  height: 52px;
  color: var(--primary);
}

.site-footer {
  background: #07111f;
  color: #cbd5e1;
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 0.75fr;
  gap: 30px;
}

.premium-footer-grid {
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(140px, 0.7fr));
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  color: #94a3b8;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
}

.footer-about {
  min-width: 0;
}

.footer-contact-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.footer-contact-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: #cbd5e1;
  font-weight: 750;
}

.footer-contact-list svg {
  color: #22c55e;
}

.footer-whatsapp {
  width: fit-content;
  margin-top: 14px;
}

.payment-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.payment-pill-row span {
  margin-top: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.admin-nav nav {
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.admin-main {
  padding: 34px 0 70px;
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 18px;
}

.stat-card svg {
  color: var(--primary);
}

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

.stat-card span {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 850;
}

.stat-card strong {
  margin-top: 5px;
  font-size: 34px;
  line-height: 1;
}

.admin-panel {
  padding: 20px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.table-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}

.table-product > img {
  width: 52px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.table-image-box {
  width: 56px;
  min-width: 56px;
  border-radius: 18px;
}

.table-image-box img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: contain;
}

.table-product small {
  display: block;
  color: var(--muted);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-actions form {
  margin: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-on {
  color: #166534;
  background: #dcfce7;
}

.status-off {
  color: #991b1b;
  background: #fee2e2;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.check-row.compact {
  min-width: 86px;
}

.category-admin-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.category-edit-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 90px 92px 40px 40px 40px;
  gap: 8px;
  align-items: center;
}

.team-editor-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.team-admin-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.team-edit-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.team-edit-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(79, 70, 229, 0.18);
}

.team-edit-fields {
  display: grid;
  gap: 12px;
}

.team-edit-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-filter-panel {
  margin-bottom: 18px;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) repeat(4, minmax(130px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.product-editor-grid,
.settings-editor-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.image-field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: end;
}

.admin-image-preview {
  width: 110px;
  min-width: 110px;
  border-radius: 22px;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: contain;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-check-grid {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.mini-pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 150px;
}

.mini-pill-stack form {
  margin: 0;
}

.mini-pill-stack span,
.feature-toggle-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 0;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.feature-toggle-pill.is-on {
  background: #dcfce7;
  color: #166534;
}

.check-row span {
  display: grid;
  gap: 2px;
}

.muted-block {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.rich-category-row {
  grid-template-columns: minmax(140px, 1fr) minmax(130px, 0.9fr) minmax(170px, 1.25fr) minmax(100px, 0.7fr) 48px 72px 92px 40px 40px 40px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(124, 58, 237, 0.17), transparent 28%),
    var(--bg);
}

.login-card {
  width: min(440px, 100%);
  padding: 28px;
}

.login-brand {
  margin-bottom: 24px;
}

.login-heading {
  margin-bottom: 18px;
}

.login-heading h1 {
  margin: 4px 0;
  font-size: 36px;
}

.login-heading p {
  color: var(--muted);
}

.not-found {
  min-height: 54vh;
}

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

  .store-layout .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .detail-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 360px;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .buy-panel {
    position: static;
  }

  .product-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-track {
    grid-auto-columns: minmax(260px, calc((100% - 18px) / 2));
  }

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

  .stats-band,
  .why-grid,
  .static-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .desktop-filters {
    display: none;
  }

  .mobile-filter-wrap {
    display: block;
    padding-top: 18px;
  }

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

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

  .product-plan-column {
    position: static;
    grid-row: 2;
  }

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

  .about-story-grid,
  .contact-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .process-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .policy-intro-card {
    position: static;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

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

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

  .filter-actions {
    align-self: stretch;
  }

  .rich-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--soft-shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a,
  .site-nav .nav-whatsapp,
  .cart-visual {
    width: 100%;
    justify-content: flex-start;
  }

  .cart-visual {
    padding-inline: 12px;
  }

  .nav-toggle,
  .nav-toggle.icon-button {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .nav-shell {
    min-height: 66px;
  }

  .hero-grid {
    gap: 24px;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-panel {
    min-height: 310px;
  }

  .hero-card-main {
    width: calc(100% - 34px);
  }

  .hero-mini-card {
    left: 10px;
    bottom: 8px;
  }

  .search-bar {
    grid-template-columns: auto 1fr;
  }

  .hero-search {
    grid-template-columns: auto 1fr;
  }

  .search-bar button,
  .hero-search button {
    grid-column: 1 / -1;
  }

  .section-heading,
  .products-toolbar,
  .footer-bottom,
  .admin-title,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .trending-section {
    padding-top: 44px;
  }

  .featured-slider {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .featured-track {
    grid-auto-columns: minmax(230px, 82vw);
    gap: 12px;
    scroll-padding-left: 10px;
  }

  .slider-actions {
    width: 100%;
    justify-content: space-between;
  }

  .slider-arrow {
    display: none;
  }

  .product-body {
    padding: 10px;
  }

  .product-meta {
    gap: 7px;
    font-size: 11px;
  }

  .product-card h3 {
    font-size: 15px;
  }

  .product-card p {
    min-height: 38px;
    font-size: 12px;
  }

  .pill-row {
    gap: 5px;
  }

  .pill {
    min-height: 24px;
    padding: 4px 6px;
    font-size: 10px;
  }

  .product-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-price strong {
    font-size: 18px;
  }

  .card-actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .card-actions .btn-soft {
    display: none;
  }

  .btn {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .detail-copy h1 {
    font-size: 36px;
  }

  .detail-title-card {
    padding: 18px;
  }

  .detail-title-card h1 {
    font-size: 34px;
  }

  .tool-info-grid,
  .key-feature-grid {
    grid-template-columns: 1fr;
  }

  .help-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-option,
  .selected-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .selected-summary strong {
    text-align: left;
  }

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

  .stats-band,
  .category-card-grid,
  .why-grid,
  .static-card-grid {
    grid-template-columns: 1fr;
  }

  .catalog-count-row {
    flex-direction: column;
  }

  .catalog-hero,
  .page-hero {
    padding: 52px 0 48px;
  }

  .cta-section {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 24px;
  }

  .admin-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .admin-nav nav {
    justify-content: flex-start;
  }

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

  .trust-grid,
  .process-grid,
  .team-grid,
  .admin-sidebar-nav,
  .admin-stats-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .admin-workspace {
    padding: 10px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-edit-row {
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  .team-editor-grid,
  .team-edit-row {
    grid-template-columns: 1fr;
  }

  .team-edit-actions {
    flex-direction: row;
  }

  .admin-filter-grid,
  .image-field-grid {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    flex-direction: column;
  }

  .filter-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 40px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .product-media img {
    aspect-ratio: 1.12;
  }

  .product-media .product-image-box img,
  .table-image-box img,
  .admin-image-preview img {
    aspect-ratio: auto;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .product-card p {
    display: none;
  }

  .product-meta span:first-child {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pill-row .pill:not(.pill-green) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body {
    animation: none;
  }
}
