
:root {
  --red: #dc171f;
  --red-dark: #b20f16;
  --black: #171717;
  --text: #1d1d1f;
  --muted: #727276;
  --cream: #fbf8f6;
  --soft: #f5f3f1;
  --white: #ffffff;
  --line: #e9e5e2;
  --shadow: 0 18px 55px rgba(0,0,0,.09);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    Tahoma,
    Arial,
    "Segoe UI",
    sans-serif;
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1240px, calc(100% - 34px));
  margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  min-width: 104px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0 13px;
  color: var(--red);
  border: 5px solid var(--red);
  border-radius: 50%;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 19px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: #555;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--red);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost-icon,
.cart-button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
}

.ghost-icon {
  min-width: 54px;
  background: var(--soft);
}

.ghost-icon.active {
  color: #fff;
  background: var(--red);
}

.cart-button {
  padding-inline: 18px;
  color: #fff;
  background: var(--black);
}

.cart-button span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-right: 6px;
  place-items: center;
  border-radius: 30px;
  background: var(--red);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 90px;
  background:
    radial-gradient(
      circle at 5% 15%,
      rgba(220,23,31,.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 0%,
      rgba(220,23,31,.06),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #fff 0%,
      #fcf7f5 100%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 68px;
}

.kicker {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  max-width: 660px;
  margin: 13px 0 20px;
  font-size: clamp(46px, 6.5vw, 78px);
  line-height: 1.07;
  letter-spacing: -2px;
}

.hero h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.primary-button,
.whatsapp-button,
.dark-button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 23px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(220,23,31,.18);
}

.primary-button:hover {
  background: var(--red-dark);
}

.whatsapp-button {
  color: var(--black);
  background: #fff;
  border: 1px solid var(--line);
}

.dark-button {
  color: #fff;
  background: var(--black);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 14px;
}

.trust-strip b {
  margin-left: 4px;
  color: var(--red);
}

.hero-showcase {
  position: relative;
  min-height: 530px;
}

.hero-product {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.hero-product:nth-child(1) {
  top: 0;
  right: 0;
  width: 62%;
  height: 62%;
  z-index: 3;
}

.hero-product:nth-child(2) {
  bottom: 0;
  left: 0;
  width: 58%;
  height: 58%;
  z-index: 2;
}

.hero-product:nth-child(3) {
  right: 8%;
  bottom: 3%;
  width: 38%;
  height: 38%;
  z-index: 4;
  transform: rotate(2deg);
}


/* =========================================================
   BENEFITS
========================================================= */

.benefit-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.benefit-grid {
  min-height: 115px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  align-items: center;
}

.benefit-grid > div {
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--line);
}

.benefit-grid > div:last-child {
  border-left: 0;
}

.benefit-grid strong {
  font-size: 17px;
}

.benefit-grid span {
  color: var(--muted);
  font-size: 13px;
}


/* =========================================================
   CATALOG
========================================================= */

.catalog {
  padding: 82px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 5px 0 8px;
  font-size: clamp(32px,5vw,48px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.catalog-count {
  flex: 0 0 auto;
  color: var(--muted);
}

.catalog-count b {
  color: var(--text);
  font-size: 25px;
}

.catalog-toolbar {
  position: sticky;
  z-index: 25;
  top: 78px;
  padding: 15px 0 13px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(15px);
}

.search {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-inline: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.search span {
  color: var(--muted);
  font-size: 24px;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.category-list {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: #444;
  background: #fff;
  font-weight: 700;
}

.category-button.active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 19px;
  margin-top: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ddd6d1;
  box-shadow: var(--shadow);
}

.product-image-area {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: #f7f7f7;
  cursor: zoom-in;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.favorite {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 11px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #222;
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 16px rgba(0,0,0,.08);
}

.favorite.active {
  color: #fff;
  background: var(--red);
}

.zoom-label {
  position: absolute;
  right: 11px;
  bottom: 11px;
  padding: 6px 9px;
  border-radius: 9px;
  color: #444;
  background: rgba(255,255,255,.92);
  font-size: 11px;
  font-weight: 800;
}

.product-body {
  padding: 17px;
}

.product-category {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.product-body h3 {
  margin: 6px 0 6px;
  font-size: 19px;
}

.product-code {
  color: var(--muted);
  font-size: 12px;
}

.product-hint {
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.order-button,
.add-button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
}

.order-button {
  color: #fff;
  background: var(--red);
}

.add-button {
  min-width: 55px;
  padding-inline: 13px;
  background: var(--soft);
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.empty-state span {
  color: var(--muted);
}


/* =========================================================
   HOW
========================================================= */

.how {
  padding: 75px 0;
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.steps article {
  padding: 30px;
  border: 1px solid rgba(0,0,0,.035);
  border-radius: 22px;
  background: #fff;
}

.steps b {
  color: var(--red);
}

.steps h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  color: #fff;
  background: var(--black);
}

.footer-grid {
  min-height: 175px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-size: 28px;
}

footer p {
  color: #999;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact span {
  color: #aaa;
  font-size: 13px;
}

.footer-contact a {
  font-size: 24px;
  font-weight: 900;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  min-height: 50px;
  display: flex;
  align-items: center;
  padding-inline: 19px;
  border-radius: 40px;
  color: #fff;
  background: #159b55;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  font-weight: 900;
}


/* =========================================================
   CART
========================================================= */

.overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(0,0,0,.50);
  transition: .2s;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: min(450px,95vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  background: #fff;
  box-shadow: 15px 0 50px rgba(0,0,0,.15);
  transition: .25s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 4px 0 0;
}

.drawer-header button,
.modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 25px;
}

.cart-items {
  flex: 1;
  padding: 18px 22px;
  overflow-y: auto;
}

.cart-empty {
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.cart-item h4 {
  margin: 0 0 5px;
}

.cart-item small {
  color: var(--muted);
}

.remove-button {
  border: 0;
  color: var(--red);
  background: transparent;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.drawer-footer small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.full {
  width: 100%;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.67);
}

.modal.open {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(940px,100%);
  max-height: 92vh;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
}

.modal-image-area {
  min-height: 580px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #f7f7f7;
}

.modal-image-area img {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #fff;
}

.modal-body {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-body h2 {
  margin: 9px 0 6px;
  font-size: 34px;
}

.modal-body p {
  margin: 20px 0 28px;
  color: var(--muted);
  line-height: 1.9;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
  display: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .desktop-nav {
    display: none;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 460px;
  }

  .products-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

}


@media (max-width: 720px) {

  body {
    padding-bottom: 68px;
  }

  .container {
    width: min(100% - 20px,1240px);
  }

  .topbar-inner {
    min-height: 66px;
  }

  .brand-copy {
    display: none;
  }

  .brand-symbol {
    min-width: 84px;
    height: 44px;
    border-width: 4px;
    font-size: 12px;
  }

  .top-actions .ghost-icon {
    display: none;
  }

  .cart-button {
    padding-inline: 13px;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .hero h1 {
    font-size: 45px;
    letter-spacing: -1px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-showcase {
    min-height: 350px;
  }

  .benefit-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .benefit-grid > div {
    padding: 20px 5px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog {
    padding: 58px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-toolbar {
    top: 66px;
  }

  .products-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 17px;
  }

  .product-body {
    padding: 12px;
  }

  .product-body h3 {
    font-size: 16px;
  }

  .product-hint {
    display: none;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .add-button {
    display: none;
  }

  .zoom-label {
    font-size: 9px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    min-height: 190px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .floating-whatsapp {
    display: none;
  }

  .modal-card {
    grid-template-columns: 1fr;
  }

  .modal-image-area {
    min-height: 0;
    height: 55vh;
  }

  .modal-body {
    padding: 25px;
  }

  .modal-body h2 {
    font-size: 27px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
  }

  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border: 0;
    color: #444;
    background: transparent;
    font-size: 10px;
  }

  .mobile-nav span {
    color: var(--red);
    font-size: 20px;
    font-weight: 900;
  }

}


@media (max-width: 400px) {

  .products-grid {
    gap: 7px;
  }

  .product-body {
    padding: 10px;
  }

  .product-category {
    font-size: 10px;
  }

  .product-body h3 {
    font-size: 14px;
  }

  .product-code {
    font-size: 10px;
  }

  .order-button {
    min-height: 40px;
    font-size: 12px;
  }

}


/* =========================================================
   BUILD 4 VERIFIED METADATA
========================================================= */

.product-meta {
  min-height: 64px;
  margin: 13px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}

.verified-dimension {
  color: #555;
  font-size: 12px;
  font-weight: 700;
}

.product-price {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.product-price.verified-price {
  color: var(--red);
  font-size: 18px;
}

.cart-price {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 13px;
}

@media (max-width: 720px) {

  .product-meta {
    min-height: 48px;
    margin: 9px 0;
  }

  .verified-dimension {
    font-size: 10px;
  }

  .product-price {
    font-size: 11px;
  }

  .product-price.verified-price {
    font-size: 15px;
  }

}
