:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --line: #dedede;
  --green: #d80000;
  --green-dark: #060606;
  --blue: #a60000;
  --gold: #f1f1f1;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(12px, 3vw, 30px);
  background: #121212;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.category-menu-bar {
  position: sticky;
  top: 53px;
  z-index: 19;
  background: #121212;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

.brand,
.nav-links,
.hero-actions,
.category-tabs {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--green);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand-phone-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.brand-phone-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 2px;
  left: 3px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.brand [data-store-name] {
  color: #fff;
  font-size: 0.9rem;
}

.nav-links {
  gap: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.search-link {
  position: relative;
  width: 18px;
  height: 18px;
}

.search-link::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 7px;
  height: 2px;
  background: currentColor;
  rotate: 45deg;
}

.hero {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 56px) 34px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.96) 0%, rgba(10, 10, 10, 0.96) 54%, rgba(70, 0, 0, 0.9) 100%);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.1vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text,
.section-heading p {
  color: var(--muted);
  line-height: 1.65;
}

.hero .hero-text {
  color: rgba(255, 255, 255, 0.76);
}

.hero-text {
  max-width: 580px;
  margin-bottom: 26px;
  font-size: 1.1rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.whatsapp-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  color: #fff;
  background: var(--green);
}

.primary-action.dark {
  background: var(--ink);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.4;
  min-height: 280px;
  max-height: 430px;
  border: 1px solid rgba(216, 0, 0, 0.45);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font: inherit;
  font-size: 1.8rem;
  font-weight: 800;
  cursor: pointer;
}

.carousel-controls button:hover {
  background: var(--green);
}

.carousel-dots {
  position: absolute;
  bottom: 23px;
  left: 18px;
  display: flex;
  gap: 7px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 26px;
  background: var(--green);
}

.catalog-shell {
  padding: 0 0 70px;
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  padding: 48px clamp(18px, 4vw, 56px) 0;
}

.section-heading p {
  max-width: 520px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 26px;
}

.search-box {
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 36px));
  margin: 0 clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.search-box input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(216, 0, 0, 0.12);
}

.category-tabs {
  width: 100%;
  gap: 4px;
  overflow-x: auto;
  padding: 7px clamp(8px, 2vw, 16px);
  scrollbar-width: thin;
  scrollbar-width: none;
  justify-content: center;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 96px;
  min-width: 96px;
  min-height: 76px;
  border: 1px solid rgba(216, 0, 0, 0.68);
  border-radius: 7px;
  padding: 7px 8px 6px;
  color: #fff;
  background: rgba(38, 6, 6, 0.38);
  box-shadow: none;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.tab span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab:hover {
  color: #fff;
  border-color: var(--green);
  background: rgba(216, 0, 0, 0.28);
  transform: translateY(-1px);
}

.tab svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.tab-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: grayscale(1) brightness(0) invert(1);
}

.tab.active {
  color: #fff;
  border-color: var(--green);
  background: rgba(216, 0, 0, 0.32);
  box-shadow: inset 0 0 0 1px rgba(216, 0, 0, 0.16);
}

.tab.active:hover {
  color: #fff;
  border-color: var(--green);
  background: rgba(216, 0, 0, 0.36);
}

.tab:first-child {
  margin-right: 8px;
}

.tab:first-child::after {
  content: "";
  position: absolute;
  right: -7px;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
}

.tab em {
  position: absolute;
  top: -6px;
  right: -5px;
  border-radius: 999px;
  padding: 2px 5px;
  color: #fff;
  background: var(--green);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
}

.product-grid {
  padding-inline: clamp(18px, 4vw, 56px);
}

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

.product-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.product-visual {
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f4f4f4 56%, #ffe9e9 100%);
}

.product-icon {
  position: relative;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
}

.product-photo {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.22s ease;
}

.product-photo-button {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-photo-button span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-card:hover .product-photo {
  transform: scale(1.12);
}

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

.product-icon.charger::before {
  width: 70px;
  height: 92px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #d4d4d4;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.product-icon.charger::after {
  top: 26px;
  width: 28px;
  height: 11px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: 0 -23px 0 -3px var(--ink), 0 50px 0 -4px var(--blue);
}

.product-icon.cable::before {
  width: 96px;
  height: 96px;
  border: 10px solid var(--green);
  border-right-color: transparent;
  border-radius: 50%;
}

.product-icon.cable::after {
  right: 5px;
  bottom: 16px;
  width: 32px;
  height: 20px;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: -72px -61px 0 -4px var(--blue);
}

.product-icon.earbuds::before {
  width: 58px;
  height: 40px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #d4d4d4;
  box-shadow: 42px 6px 0 -1px #fff, 42px 6px 0 1px #d4d4d4;
}

.product-icon.earbuds::after {
  bottom: 16px;
  width: 74px;
  height: 52px;
  border-radius: 16px 16px 22px 22px;
  background: var(--green-dark);
  box-shadow: 0 14px 24px rgba(23, 32, 28, 0.16);
}

.product-info {
  display: grid;
  gap: 12px;
  padding: 18px;
  grid-template-rows: auto auto auto auto 1fr auto;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--chip-color, var(--green));
  background: color-mix(in srgb, var(--chip-color, var(--green)) 12%, #fff);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  display: block;
  color: #090d2c;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
}

.price-block {
  display: grid;
  gap: 3px;
}

.cash-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-chip {
  width: fit-content;
  border-left: 3px solid var(--chip-color, var(--green));
  padding-left: 8px;
  color: var(--chip-color, var(--ink));
  font-size: 0.84rem;
  font-weight: 900;
}

.installment {
  margin: 0;
  color: #2f2f2f;
  font-size: 0.98rem;
  font-weight: 600;
}

.installment strong {
  color: #111;
  font-weight: 900;
}

.product-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: #4f4f4f;
  font-size: 0.78rem;
  font-weight: 700;
}

.whatsapp-link {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  align-self: end;
  color: #fff;
  background: #17a34a;
  gap: 8px;
  padding: 0 14px;
  text-align: center;
  white-space: nowrap;
}

.whatsapp-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.whatsapp-link:hover {
  background: #12843d;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--green-dark);
}

.service-band h2 {
  margin-bottom: 0;
}

.service-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #101010;
  border-top: 3px solid var(--green);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}

.gallery-viewer {
  position: relative;
  display: grid;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.gallery-viewer img {
  width: 100%;
  max-height: calc(100vh - 138px);
  object-fit: contain;
  background: #0a0a0a;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.gallery-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
}

.gallery-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: #fff;
  background: #111;
}

.gallery-caption span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 1fr) minmax(220px, 1.2fr);
  gap: clamp(24px, 4vw, 58px);
  padding: 34px clamp(18px, 4vw, 56px);
}

.footer-column h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-subtitle {
  margin-top: 28px !important;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
}

.footer-about p {
  max-width: 280px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.social-links a,
.footer-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links a {
  width: 36px;
  height: 36px;
}

.social-links a:hover,
.map-card:hover {
  border-color: rgba(216, 0, 0, 0.72);
  background: rgba(216, 0, 0, 0.13);
}

.map-card {
  display: grid;
  min-height: 132px;
  max-width: 280px;
  place-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.map-card strong {
  color: #fff;
  font-size: 0.84rem;
}

.map-card small {
  color: rgba(255, 255, 255, 0.56);
}

.map-pin {
  position: relative;
  width: 24px;
  height: 24px;
  border: 3px solid var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--green);
}

.footer-list,
.footer-links {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-list strong {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-list b {
  color: #52d273;
}

.footer-icon {
  width: 26px;
  height: 26px;
  color: var(--green);
  font-size: 0.48rem;
}

.footer-links {
  gap: 11px;
  font-size: 0.88rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
}

.payment-row {
  display: grid;
  gap: 14px;
  padding: 22px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-row strong {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.payment-methods span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-bottom {
  display: block;
  padding: 16px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .hero,
  .toolbar,
  .service-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
  }

  .section-heading {
    display: block;
  }

  .category-tabs {
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .topbar {
    position: static;
  }

  .category-menu-bar {
    top: 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 220px;
  }

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

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

  .footer-bottom {
    display: grid;
  }
}

/* Front refinado Ingacel */
body {
  background: #f7f7f7;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(260px, 520px) auto;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #070707;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.brand {
  color: #fff;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.brand-phone-icon {
  width: 16px;
  height: 24px;
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-search {
  position: relative;
  display: block;
  width: 100%;
}

.top-search input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0 48px 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: none;
}

.top-search input:focus {
  border-color: rgba(216, 0, 0, 0.8);
  box-shadow: 0 0 0 4px rgba(216, 0, 0, 0.18);
}

.top-search .search-link {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
}

.nav-links {
  justify-content: end;
  gap: clamp(14px, 2vw, 28px);
  color: #fff;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  color: var(--green);
}

.nav-tag::before,
.nav-user::before,
.nav-wa::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid currentColor;
}

.nav-tag::before {
  border-radius: 3px;
  transform: rotate(45deg);
}

.nav-wa::before {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-8deg);
}

.nav-user::before {
  border-radius: 50%;
}

.category-menu-bar {
  top: 78px;
  background: rgba(8, 8, 8, 0.98);
  border-top-color: rgba(216, 0, 0, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.category-tabs {
  justify-content: flex-start;
  gap: 8px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 8px clamp(18px, 4vw, 56px);
}

.tab {
  width: auto;
  min-width: 118px;
  min-height: 48px;
  flex-direction: row;
  gap: 8px;
  border-color: transparent;
  border-radius: 8px;
  padding: 8px 14px;
  background: transparent;
  font-size: 0.78rem;
}

.tab:first-child {
  min-width: 170px;
  border-color: var(--green);
}

.tab:first-child::after {
  display: none;
}

.tab svg,
.tab-icon-img {
  width: 22px;
  height: 22px;
}

.tab:hover,
.tab.active,
.tab.active:hover {
  border-color: var(--green);
  background: rgba(216, 0, 0, 0.14);
  box-shadow: none;
}

.tab em {
  top: -8px;
  right: 8px;
  padding: 3px 7px;
  font-size: 0.6rem;
}

.hero {
  position: relative;
  min-height: 520px;
  grid-template-columns: minmax(330px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(20px, 4vw, 54px);
  padding: 72px clamp(18px, 4vw, 56px) 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 42%, rgba(216, 0, 0, 0.35), transparent 34%),
    linear-gradient(105deg, #050505 0%, #080808 48%, #210303 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 20%;
  width: 56%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff2424, transparent);
  box-shadow: 0 0 26px rgba(255, 36, 36, 0.8);
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 590px;
}

.hero .eyebrow {
  color: var(--green);
  font-size: 0.76rem;
}

h1 {
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 480px;
  font-size: 1.05rem;
}

.primary-action,
.secondary-action,
.whatsapp-link {
  min-height: 52px;
  border-radius: 8px;
}

.primary-action {
  gap: 10px;
  padding-inline: 24px;
  box-shadow: 0 12px 28px rgba(216, 0, 0, 0.28);
}

.secondary-action {
  gap: 10px;
  padding-inline: 22px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.inline-whatsapp {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
}

.hero-media {
  aspect-ratio: 16 / 8.8;
  min-height: 340px;
  max-height: 450px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.hero-media img {
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.carousel-controls {
  right: 18px;
  bottom: 18px;
}

.carousel-controls button {
  border-radius: 50%;
}

.carousel-dots {
  bottom: -38px;
  left: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: min(1390px, calc(100% - 38px));
  margin: -50px auto 0;
  padding: 24px 26px;
  position: relative;
  z-index: 3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.13);
}

.trust-strip article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 0 24px;
  border-right: 1px solid #eeeeee;
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong,
.service-band h2 {
  display: block;
  color: #111;
  font-size: 1.08rem;
  line-height: 1.18;
}

.trust-strip small {
  display: block;
  margin-top: 7px;
  color: #777;
  font-size: 0.82rem;
}

.trust-icon,
.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--green);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

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

.category-showcase,
.catalog-shell {
  padding: 36px clamp(18px, 4vw, 56px) 0;
  background: #fff;
}

.catalog-shell {
  padding-bottom: 42px;
}

.section-heading {
  align-items: end;
  max-width: 1480px;
  margin: 0 auto 22px;
  padding: 0;
}

.section-heading a {
  color: #151515;
  font-weight: 800;
  text-decoration: none;
}

.section-heading p {
  margin-bottom: 0;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(118px, 1fr));
  gap: 16px;
  max-width: 1480px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 190px;
  gap: 5px;
  align-content: end;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  padding: 9px 9px 12px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.15), transparent 34%),
    linear-gradient(160deg, #1a1a1a 0%, #070707 68%, #150000 100%);
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.9));
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card-visual {
  display: grid;
  min-height: 112px;
  place-items: center;
}

.category-card img {
  width: 100%;
  height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.48));
}

.category-card.full-artwork {
  padding: 9px 9px 12px;
}

.category-card.full-artwork::before {
  display: block;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 25%, transparent 0 32%, rgba(0, 0, 0, 0.14) 54%),
    linear-gradient(180deg, transparent 0 48%, rgba(0, 0, 0, 0.98) 68%, #050505 100%);
}

.category-card.full-artwork .category-card-visual {
  position: absolute;
  inset: 0 0 50px;
  z-index: 0;
  min-height: auto;
  overflow: hidden;
}

.category-card.full-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: none;
  transform: scale(1.08);
  transform-origin: top center;
}

.category-card.full-artwork strong,
.category-card.full-artwork small {
  z-index: 2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
}

.category-card.full-artwork strong {
  color: #fff;
}

.category-card.full-artwork small {
  color: #ff1616;
}

.category-card-icon svg,
.category-card-icon .tab-icon-img {
  width: 92px;
  height: 92px;
}

.category-card.wide-visual .category-card-icon svg,
.category-card.wide-visual .category-card-icon .tab-icon-img {
  width: 118px;
  height: 118px;
}

.category-card.wide-visual .category-card-visual {
  min-height: 124px;
}

.category-card-icon svg {
  fill: none;
  stroke: #f4f4f4;
  stroke-width: 1.8;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.45));
}

.category-card strong {
  min-height: 24px;
  display: grid;
  place-items: end center;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.16;
}

.category-card small {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-card em {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 3px 7px;
  color: #fff;
  background: var(--green);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
}

.product-grid {
  max-width: 1480px;
  margin: 0 auto;
  padding-inline: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  border-color: #e9e9e9;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.product-card.is-sold-out .product-visual {
  filter: grayscale(0.75);
}

.product-card.is-sold-out .badge {
  background: #111;
  color: #fff;
}

.product-visual {
  min-height: 230px;
  background: #fff;
}

.product-photo {
  height: 230px;
}

.product-info {
  gap: 10px;
  padding: 16px;
}

.product-meta {
  min-height: 28px;
}

.badge {
  color: #fff;
  background: var(--chip-color, var(--green));
  font-size: 0.7rem;
}

.favorite-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  color: #777;
  background: transparent;
  font-size: 1.35rem;
  cursor: pointer;
}

.product-card h3 {
  min-height: 42px;
  font-size: 0.98rem;
}

.price {
  color: #111;
  font-size: 1.45rem;
}

.installment {
  font-size: 0.86rem;
}

.spec-list {
  min-height: 30px;
}

.whatsapp-link {
  border-radius: 8px;
  background: var(--green);
  font-size: 0.82rem;
  box-shadow: 0 10px 22px rgba(216, 0, 0, 0.22);
}

.whatsapp-link:hover {
  background: #b80000;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1380px;
  margin: 0 auto 28px;
  border-radius: 14px;
  padding: 28px;
  background: linear-gradient(110deg, #030303, #210202 46%, #6e0909);
}

.service-band article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.service-band h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1rem;
}

.service-band p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.5;
}

.service-band a {
  display: inline-flex;
  margin-top: 6px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(216, 0, 0, 0.68), rgba(92, 0, 0, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 24px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
  }

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

  .trust-strip,
  .service-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip article,
  .service-band article {
    border-right: 0;
  }

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

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

@media (max-width: 760px) {
  .topbar {
    position: static;
  }

  .category-menu-bar {
    top: 0;
  }

  .nav-links {
    display: flex;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .hero-media {
    min-height: 230px;
  }

  .trust-strip,
  .service-band,
  .category-card-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    width: calc(100% - 32px);
  }

  .category-card {
    min-height: 170px;
  }
}
