:root {
  --surface: #fbf9f8;
  --surface-low: #f5f3f3;
  --surface-card: #ffffff;
  --surface-border: #e4e2e2;
  --text: #1b1c1c;
  --muted: #5f5e5e;
  --dark: #151515;
  --red: #af101a;
  --red-bright: #d32f2f;
  --red-soft: #fff2f0;
  --green: #0f7a45;
  --shadow: 0 16px 36px rgba(27, 28, 28, 0.1);
  --max: 1280px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  background: var(--dark);
  color: #fff;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.material-symbols-outlined.fill {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.utility-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 7px 16px;
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-shell,
.section-shell,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 162px;
  height: 44px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  padding: 5px 8px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.nav-search {
  display: grid;
  grid-template-columns: 1fr 40px;
  width: min(310px, 28vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-search input {
  min-width: 0;
  border: 0;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  outline: 0;
}

.icon-button,
.cart-button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
}

.icon-button:hover,
.cart-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
}

.cart-button {
  position: relative;
}

.cart-button span:last-child {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--red-bright);
  font-size: 11px;
  font-weight: 800;
}

.hero-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.12)),
    url("https://lh3.googleusercontent.com/aida-public/AB6AXuCdfMuIsxS26cDenHNuxreVcZgk5g660dzrUiwjN-f_WxK3ABdX9eNg2BhwyHF0VZfe--JSotkDQrMMZIKy1960EwHy84TDk1F004riTRH-2ucjU8LV3evwm8LPuUBIi8RZYW6ouOOKZBxFvecD1Jx-6L2J40Gcyd7J86pQD5DfKBxODNh82RQmEfUIHYCCNeVTQ_givwEPhpNrqQcE40MIKBmjYxtSZc5YJ-4tse_Ko-QaUzzXnEs0nEh6P4etE-yXee1jINx_kfc") center / cover;
}

.hero-content {
  position: relative;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  max-width: 670px;
  color: #fff;
}

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

.hero-content .eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--red-bright);
  color: #fff;
}

.hero-content h1 {
  margin: 0;
  max-width: 650px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-bright);
}

.button.secondary {
  background: #fff;
  color: var(--text);
}

.button.outline {
  background: #fff;
  border-color: var(--surface-border);
  color: var(--text);
}

.button.ghost {
  width: 100%;
  background: #fff;
  border-color: var(--surface-border);
  color: var(--text);
}

.button.full {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.trust-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 106px;
  padding: 24px;
  background: #fff;
}

.trust-strip span {
  color: var(--red);
  font-size: 32px;
}

.trust-strip h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sales-section {
  padding-top: 56px;
}

.sales-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sales-steps article {
  min-height: 210px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}

.sales-steps span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red);
}

.sales-steps h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

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

.section-shell {
  padding-block: 72px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 235px;
  gap: 16px;
}

.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  isolation: isolate;
}

.category-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.category-tile.wide {
  grid-column: span 2;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.78));
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.category-tile:hover img {
  transform: scale(1.05);
}

.category-tile span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
}

.result-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.result-tools select,
.filters input,
.filters button,
.nav-search input {
  border-radius: 6px;
}

.result-tools select {
  min-width: 170px;
  border: 1px solid var(--surface-border);
  padding: 10px 34px 10px 12px;
  background: #fff;
}

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

.filter-card {
  position: sticky;
  top: 118px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 12px;
}

.filter-title h3 {
  margin: 0;
}

fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  font-weight: 800;
}

.filters label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 31px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.filters input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--red);
}

.toggle-row {
  margin: 18px 0;
  padding-top: 15px;
  border-top: 1px solid var(--surface-border);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 20px;
  background: #fafafa;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  border-radius: 4px;
  padding: 5px 8px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  margin-bottom: 14px;
}

.price {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
}

.sale-price {
  color: var(--red);
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.details-button {
  border: 1px solid var(--surface-border);
  background: #fff;
  color: var(--text);
}

.whatsapp-link {
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  justify-content: end;
  background: rgba(0, 0, 0, 0.46);
}

.cart-drawer.open {
  display: flex;
}

.drawer-panel {
  width: min(100%, 440px);
  min-height: 100%;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.18);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--surface-border);
  background: #fff;
}

.drawer-header h2 {
  margin: 0;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.cart-empty {
  padding: 26px;
  border: 1px dashed var(--surface-border);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
}

.cart-item img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: #fafafa;
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.qty-controls {
  display: inline-grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 6px;
}

.qty-controls button {
  height: 31px;
  border: 0;
  background: #fff;
}

.qty-controls span {
  text-align: center;
  font-weight: 800;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.summary-box {
  margin: 0 18px 22px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.summary-box div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.summary-box .total-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
  font-size: 20px;
}

.summary-box p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 28px;
  align-items: center;
  border-radius: var(--radius);
  padding: 34px;
  background: var(--dark);
  color: #fff;
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-grid .material-symbols-outlined {
  color: #ffb3ac;
}

.contact-grid strong {
  font-size: 15px;
}

.contact-grid span:not(.material-symbols-outlined) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.contact-grid button {
  width: fit-content;
  margin-top: auto;
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  background: var(--red-bright);
  color: #fff;
  font-weight: 800;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.product-modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
}

.modal-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 42px;
  background: #fafafa;
}

.modal-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.modal-copy {
  padding: 46px 42px;
}

.modal-copy h2 {
  margin: 8px 0 14px;
  font-size: 34px;
  line-height: 1.08;
}

.modal-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 12px;
}

.modal-price strong {
  color: var(--red);
  font-size: 32px;
}

.modal-price span {
  color: var(--muted);
  text-decoration: line-through;
}

.stock-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  background: #edf8f2;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.spec-list span {
  color: var(--green);
  font-size: 20px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 122, 69, 0.28);
  font-weight: 800;
}

.floating-whatsapp .material-symbols-outlined {
  font-size: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--surface-border);
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-logo-shell {
  width: 154px;
  border: 1px solid var(--surface-border);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid rgba(211, 47, 47, 0.35);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 18px;
    background: var(--dark);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-search {
    width: auto;
  }

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

  .filter-card {
    position: static;
  }

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

  .sales-steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .utility-bar {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    min-height: 66px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-logo-shell {
    width: 138px;
    height: 40px;
    padding: 5px 7px;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .nav-search {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 12px;
  }

  .hero-section {
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding-block: 48px;
  }

  .section-heading.split,
  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    display: grid;
  }

  .category-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .category-tile.large,
  .category-tile.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .result-tools {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .result-tools select {
    width: 100%;
  }

  .sales-steps article {
    min-height: auto;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-panel h2 {
    font-size: 28px;
  }

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

  .modal-media {
    min-height: 300px;
    padding: 30px;
  }

  .modal-copy {
    padding: 28px 22px;
  }

  .modal-copy h2 {
    font-size: 27px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 0 14px;
  }

  .cart-item {
    grid-template-columns: 66px 1fr;
  }

  .cart-item img {
    width: 66px;
    height: 66px;
  }

  .remove-button {
    grid-column: 2;
    justify-self: start;
  }
}

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