:root {
  --ink: #211b16;
  --ink-soft: #685f57;
  --paper: #fbf9f5;
  --white: #fff;
  --line: #e7e0d6;
  --gold: #b58b3c;
  --gold-light: #e2c991;
  --night: #17130f;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(45, 34, 22, .12);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
input { font-size: 16px; }
button { color: inherit; }
button, a, [role="button"] {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--night);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.demo-bar {
  padding: 8px 20px;
  background: var(--night);
  color: #e9dfd1;
  font-size: 12px;
  text-align: center;
  letter-spacing: .03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 10px clamp(20px, 5vw, 76px);
  background: rgba(251, 249, 245, .92);
  border-bottom: 1px solid rgba(185, 168, 145, .35);
  backdrop-filter: blur(18px);
}
.brand { justify-self: start; }
.brand img { width: 116px; height: 62px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.desktop-nav a { position: relative; padding: 12px 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: var(--gold);
  transition: right 180ms var(--ease-out);
}
.header-cta { justify-self: end; }
.menu-button, .mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.button:active, .icon-button:active, .filter-chip:active, .menu-button:active { transform: scale(.97); }
.button-dark { color: var(--white); background: var(--night); }
.button-gold { color: var(--night); background: var(--gold-action, var(--gold-light)); }
.button-outline { border-color: #b7a58d; background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 12px 3px; font-weight: 600; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  min-height: calc(100vh - 118px);
  min-height: calc(100svh - 118px);
  padding: clamp(64px, 8vw, 118px) clamp(20px, 7vw, 112px);
  overflow: hidden;
}
.hero-copy { max-width: 680px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #92712e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, .footer-brand { font-family: "Playfair Display", serif; font-weight: 500; }
h1 { max-width: 700px; margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: .98; letter-spacing: -.045em; }
h1 em { color: var(--gold); font-weight: 500; }
.hero-copy > p { max-width: 560px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; padding-top: 25px; border-top: 1px solid var(--line); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { margin-bottom: 7px; font-size: 13px; }
.hero-proof span { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 480px); }
.hero-visual::before { content: ""; position: absolute; inset: 7% -12% -7% 12%; z-index: -1; border-radius: 48% 48% 15% 15%; background: #eee5d7; }
.hero-visual img { width: 100%; aspect-ratio: .82; object-fit: cover; border-radius: 48% 48% var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-card { position: absolute; right: -34px; bottom: 38px; width: min(260px, 78%); padding: 20px 22px; border: 1px solid rgba(181, 139, 60, .28); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 16px 50px rgba(44,31,17,.16); backdrop-filter: blur(12px); }
.hero-card span, .hero-card strong { display: block; }
.hero-card span { margin-bottom: 7px; color: var(--gold); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.hero-card strong { font-family: "Playfair Display", serif; font-size: 18px; font-weight: 500; }

.catalog-section { padding: 110px clamp(20px, 7vw, 112px) 130px; background: var(--white); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; max-width: 1280px; margin: 0 auto 44px; }
h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.06; letter-spacing: -.035em; }
.section-heading > p { max-width: 460px; margin: 0 0 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.catalog-toolbar { display: flex; gap: 22px; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto 34px; }
.search-box { display: flex; width: min(360px, 100%); min-height: 48px; align-items: center; gap: 11px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181, 139, 60, .12); }
.search-box svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filters { display: flex; gap: 8px; }
.filter-chip { min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); white-space: nowrap; cursor: pointer; transition: transform 150ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.filter-chip[aria-pressed="true"] { color: var(--white); background: var(--night); border-color: var(--night); }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; max-width: 1280px; margin: 0 auto; }
.product-card { min-width: 0; }
.product-media { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: #eee9e1; cursor: pointer; }
.product-media img { width: 100%; aspect-ratio: .83; object-fit: cover; transition: transform 280ms var(--ease-out); }
.product-badge { position: absolute; top: 14px; left: 14px; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 5px 18px rgba(0,0,0,.08); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.product-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 3px 0; }
.product-info span { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.product-info h3 { margin: 5px 0 0; font-family: "Playfair Display", serif; font-size: 22px; font-weight: 500; }
.icon-button { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.product-card > p { margin: 7px 3px 0; color: var(--ink-soft); font-size: 13px; }
.empty-state { padding: 50px 20px; text-align: center; color: var(--ink-soft); }

.story { display: grid; grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); gap: clamp(50px, 9vw, 140px); align-items: center; padding: 125px clamp(20px, 8vw, 130px); background: #efe7dc; }
.story-image { position: relative; max-width: 560px; }
.story-image::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border: 1px solid rgba(181, 139, 60, .5); border-radius: var(--radius); }
.story-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: var(--radius); }
.story-copy { max-width: 620px; }
.story-copy > p { margin: 25px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.story-copy ul { margin: 28px 0 34px; padding: 0; list-style: none; }
.story-copy li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid rgba(109, 91, 67, .18); }
.story-copy li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding: 90px clamp(20px, 7vw, 112px); color: var(--white); background: var(--night); }
.eyebrow-light { color: var(--gold-light); }
.contact p { max-width: 620px; margin: 18px 0 0; color: #cbbfb1; line-height: 1.7; }
.contact-actions { display: flex; min-width: 280px; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-address { color: #d5c7b8; font-size: 13px; line-height: 1.5; }

footer { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 25px; padding: 35px clamp(20px, 7vw, 112px); border-top: 1px solid #35302b; color: #bfb4a8; background: var(--night); font-size: 12px; }
.footer-brand { color: var(--gold-light); font-size: 26px; }
footer p { text-align: center; }
footer > a:last-child { justify-self: end; }

.product-dialog { width: min(920px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: var(--paper); box-shadow: 0 35px 120px rgba(0,0,0,.34); }
.product-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.product-dialog::backdrop { background: rgba(20, 16, 12, .7); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 26px; line-height: 1; cursor: pointer; }
.dialog-media img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.dialog-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(35px, 5vw, 70px); }
.dialog-copy > p { color: var(--ink-soft); line-height: 1.7; }
.dialog-note { margin: 20px 0 28px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); background: var(--white); font-size: 12px; line-height: 1.5; }

:focus-visible { outline: 3px solid rgba(181, 139, 60, .45); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after { right: 0; }
  .button:hover { transform: translateY(-2px); }
  .button-dark:hover { background: #352b23; }
  .button-gold:hover { background: #efd69e; }
  .button-outline:hover { background: var(--white); border-color: var(--white); }
  .product-media:hover img { transform: scale(1.035); }
  .icon-button:hover { color: var(--white); background: var(--night); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; width: 46px; height: 46px; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
  .menu-button span { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform 180ms var(--ease-out); }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 116px 14px auto; z-index: 29; display: grid; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 15px 13px; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border: 0; color: var(--white); background: var(--night); border-radius: 12px; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: none; }
  .hero-visual { justify-self: center; width: min(78vw, 440px); margin-top: 32px; }
  .section-heading { align-items: start; flex-direction: column; }
  .story { gap: 65px; }
  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .demo-bar { padding-inline: 14px; font-size: 10px; line-height: 1.4; }
  .site-header { min-height: 72px; padding-inline: 16px; }
  .brand img { width: 88px; height: 52px; }
  .mobile-menu { inset: 106px 12px auto; }
  .hero { padding: 52px 20px 82px; }
  h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 5px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-proof { grid-template-columns: 1fr; gap: 0; margin-top: 38px; }
  .hero-proof div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero-visual { width: min(78vw, 320px); margin-top: 38px; }
  .hero-visual img { max-height: 410px; }
  .hero-card { right: -10px; bottom: 24px; }
  .catalog-section { padding: 82px 16px 90px; }
  .section-heading { margin-bottom: 30px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .filters { width: 100%; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .filter-chip { flex: 0 0 auto; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .product-media { border-radius: 15px; }
  .product-info { align-items: start; padding-top: 13px; }
  .product-info h3 { font-size: 17px; }
  .icon-button { display: none; }
  .product-badge { top: 9px; left: 9px; padding: 6px 8px; font-size: 8px; }
  .story { grid-template-columns: 1fr; padding: 90px 20px; }
  .story-image { width: calc(100% - 18px); }
  .contact { padding: 75px 20px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p { margin: 0; }
  footer > a:last-child { justify-self: center; }
  .product-dialog[open] { display: block; overflow-y: auto; }
  .dialog-media img { min-height: 0; aspect-ratio: 1; }
  .dialog-copy { padding: 30px 22px calc(26px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-media img { aspect-ratio: 1; }
}

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

/* MYX — versão de produção */
:root {
  --ink: #17130f;
  --ink-soft: #6d6256;
  --paper: #f2e9dc;
  --cream-light: #fbf6ee;
  --gold: #c79a3b;
  --gold-light: #e7c67c;
  --gold-action: #d8aa3e;
  --whatsapp: #25d366;
  --whatsapp-strong: #128c7e;
  --night: #0e0d0b;
  --line: rgba(102, 79, 45, .18);
}

body { background: var(--cream-light); }
.site-header {
  min-height: 86px;
  color: #fff;
  background: rgba(14, 13, 11, .94);
  border-bottom-color: rgba(231, 198, 124, .18);
}
.brand img {
  width: 116px;
  height: 64px;
  border-radius: 0;
  mix-blend-mode: normal;
  object-fit: contain;
}
.desktop-nav a::after { background: var(--gold-light); }
.header-cta { color: #17130f; }
.menu-button { border-color: rgba(255,255,255,.22); }
.menu-button span { background: #fff; }

.hero {
  position: relative;
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  min-height: calc(100svh - 86px);
  color: #fff;
  background-color: #17130f;
  background-image: url("assets/myx/fachada-myx-horizontal-otimizada.webp");
  background-position: center 38%;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid rgba(14,13,11,.8);
  border-bottom: 1px solid rgba(14,13,11,.8);
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero::before {
  inset: 0;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, rgba(8,7,6,.88) 0%, rgba(8,7,6,.76) 58%, rgba(8,7,6,.52) 100%);
}
.hero::after {
  top: 34px;
  right: clamp(20px, 4vw, 64px);
  width: clamp(90px, 13vw, 190px);
  height: clamp(56px, 8vw, 112px);
  border-top: 1px solid rgba(255,255,255,.72);
  border-right: 1px solid rgba(255,255,255,.72);
}
.hero > * { position: relative; z-index: 1; }
.hero-copy { padding-left: clamp(18px, 2.2vw, 34px); border-left: 2px solid rgba(255,255,255,.78); }
.hero-copy h1 { text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.hero .eyebrow-light { color: #f1d18a; }
.hero-copy > p { color: #f1ece5; }
.hero-proof { border-top-color: rgba(255,255,255,.42); }
.hero-proof strong { color: #fff; }
.hero-proof span { color: #ddd4c9; }
.hero-visual { display: none; }
.hero-visual::before { background: #decba9; border: 2px solid var(--night); }
.hero-visual img { aspect-ratio: .9; max-height: 600px; object-position: 50% 72%; border: 2px solid var(--night); box-shadow: 12px 14px 0 rgba(14,13,11,.12); }
.hero-card {
  color: var(--ink);
  background: #fbf6ee;
  border: 2px solid var(--night);
  box-shadow: 8px 9px 0 rgba(14,13,11,.16);
  backdrop-filter: none;
}
.hero-card span { color: #85631f; }

.instagram-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(115deg, #f9ce34, #ee2a7b 48%, #6228d7);
  font-size: 14px;
  font-weight: 700;
  transition: transform 150ms var(--ease-out), filter 180ms ease;
}
.instagram-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.instagram-button:active { transform: scale(.97); }

.categories-section { padding: 110px clamp(20px, 7vw, 112px); background: var(--paper); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}
.category-card {
  position: relative;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  background: #1c1814;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 22%, rgba(0,0,0,.84));
}
.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms var(--ease-out);
}
.category-card-copy {
  position: absolute;
  right: 16px;
  bottom: 17px;
  left: 16px;
  color: #fff;
}
.category-card-copy strong,
.category-card-copy span { display: block; }
.category-card-copy strong { font-family: "Playfair Display", serif; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.15; overflow-wrap: anywhere; text-wrap: balance; }
.category-card-copy span { margin-top: 6px; color: #d9cbb8; font-size: 11px; line-height: 1.35; }
.category-card-copy .subcategory-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.category-card-copy .subcategory-list span { display: inline-flex; max-width: 100%; margin: 0; padding: 4px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: rgba(12,10,8,.42); font-size: 9px; line-height: 1.2; }

.catalog-section { background: var(--cream-light); }
.catalog-toolbar { align-items: stretch; }
.sort-box {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 12px;
}
.sort-box select { min-width: 120px; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 14px; }
.filter-group { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.filter-chip-child { border-style: dashed; color: #6e5c48; background: #fbf6ed; }
.filters {
  max-width: 1280px;
  margin: 0 auto 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.results-count { max-width: 1280px; margin: 0 auto 24px; color: var(--ink-soft); font-size: 12px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: .84;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e8dfd3;
  cursor: pointer;
}
.product-image-button img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 260ms var(--ease-out); }
.product-view {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(14,13,11,.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.product-copy { padding: 18px; }
.product-copy > p { margin: 0 0 6px; color: #9a7429; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-copy h3 { min-height: 52px; margin: 0; font-family: "Playfair Display", serif; font-size: 21px; font-weight: 500; line-height: 1.25; }
.product-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.product-copy > div span { color: var(--ink); font-size: 12px; font-weight: 700; }
.product-copy > div span:empty { display: none; }
.product-copy > div a { margin-left: auto; color: #8a651e; font-size: 12px; font-weight: 700; }
.product-price {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(181,128,25,.2);
  border-radius: 999px;
  color: #7a5715 !important;
  background: #fbf1d9;
  line-height: 1.25;
}
.product-whatsapp-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--whatsapp-strong);
  transition: transform 140ms var(--ease-out), background-color 180ms ease;
}
.product-whatsapp-button .whatsapp-icon { width: 17px; height: 17px; }
.product-action-row.no-price .product-whatsapp-button { width: 100%; margin-left: 0; }
.product-whatsapp-button:active { transform: scale(.97); }
.empty-state { max-width: 680px; margin: 20px auto 0; border: 1px dashed rgba(138,101,30,.35); border-radius: 20px; background: var(--paper); }
.empty-state h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 28px; }
.empty-state p { color: var(--ink-soft); }
.load-more { display: flex; margin: 35px auto 0; }

.maintenance-section {
  display: grid;
  grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: center;
  padding: 120px clamp(20px, 7vw, 112px);
  color: #fff;
  background: #0e0d0b;
}
.maintenance-copy { max-width: 590px; }
.maintenance-copy > p { margin: 24px 0 30px; color: #cbbfb1; font-size: 17px; line-height: 1.7; }
.service-list { margin-bottom: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.service-list div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.service-list strong, .service-list span { display: block; }
.service-list strong { margin-bottom: 6px; color: var(--gold-light); }
.service-list span { color: #c9bfb4; font-size: 13px; line-height: 1.55; }
.maintenance-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.maintenance-gallery figure { margin: 0; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid rgba(231,198,124,.22); border-radius: 20px; background: #17130f; }
.maintenance-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.store-section {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
  gap: clamp(40px, 7vw, 95px);
  align-items: center;
  padding: 120px clamp(20px, 7vw, 112px);
  background: var(--paper);
}
.store-image { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.store-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.store-copy .store-lead { margin: 24px 0 18px; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.store-copy address { margin: 0 0 30px; color: var(--ink); font-size: 15px; font-style: normal; font-weight: 700; line-height: 1.65; }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.route-button { gap: 9px; color: #fff; background: #285e54; border-color: #285e54; }
.location-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.contact {
  color: var(--ink);
  background: #f3eadc;
  border-top: 2px solid var(--night);
  border-bottom: 1px solid var(--night);
}
.contact .eyebrow-light { color: var(--night); }
.contact p { color: #5d5349; }
.contact .button-gold { color: var(--night); background: var(--gold-action); border-color: var(--gold-action); }
footer {
  grid-template-columns: 1fr auto 1fr;
  color: #5d5349;
  background: #f8f1e7;
  border-top: 0;
}
footer > p, .footer-meta { justify-self: end; text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-brand { display: block; color: var(--night); text-shadow: none; }
footer div > p { margin: 4px 0 0; text-align: left; }
.footer-meta p { margin: 3px 0; text-align: right; }
.developer-credit a { color: #8a651e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.icon-sprite { position: absolute; overflow: hidden; }
.whatsapp-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.whatsapp-button {
  gap: 9px;
  color: #fff;
  background: var(--whatsapp-strong);
  border-color: var(--whatsapp-strong);
}
.mobile-whatsapp-link { display: flex; align-items: center; justify-content: center; gap: 9px; }
.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.reveal-pending.is-visible { opacity: 1; transform: translateY(0); }

.floating-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  z-index: 45;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  width: 56px;
  height: 56px;
  min-height: 56px;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 16px 38px rgba(0,0,0,.24);
  font-size: 13px;
  font-weight: 700;
  transition: transform 150ms var(--ease-out), background-color 180ms ease;
}
.floating-whatsapp svg { width: 23px; fill: currentColor; }
.floating-whatsapp:active { transform: scale(.97); }

.product-dialog { color: var(--ink); }
.product-code { color: #9a7429 !important; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.modal-price { min-height: 20px; margin: 8px 0 26px; color: #8a651e; font-size: 17px; }
.modal-price:empty { display: none; }

@media (hover: hover) and (pointer: fine) {
  .category-card:hover img,
  .product-image-button:hover img { transform: scale(1.035); }
  .instagram-button:hover { filter: brightness(1.06); transform: translateY(-2px); }
  .whatsapp-button:hover, .product-whatsapp-button:hover { background: #0f766e; }
  .route-button:hover { background: #1f4d45; border-color: #1f4d45; }
  .floating-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
}

@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .mobile-menu { top: 78px; inset-inline: 14px; color: var(--ink); }
  .maintenance-section, .store-section { grid-template-columns: 1fr; }
  .maintenance-copy { max-width: 720px; }
  .store-copy { max-width: 720px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 74px; }
  .brand img { width: 84px; height: 48px; }
  .hero { min-height: auto; padding-top: 62px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,7,6,.72) 0%, rgba(8,7,6,.82) 48%, rgba(8,7,6,.76) 100%); }
  .hero-copy { min-width: 0; width: 100%; padding-left: 17px; }
  .hero-actions { width: 100%; }
  .categories-section { padding: 82px 16px; }
  .categories-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .category-card { min-height: 210px; }
  .category-card-copy { inset: auto 13px 14px; }
  .category-card-copy strong { font-size: 17px; }
  .catalog-toolbar { gap: 10px; }
  .sort-box { justify-content: space-between; }
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .product-card { border-radius: 15px; }
  .product-image-button { aspect-ratio: 1; }
  .product-copy { padding: 14px; }
  .product-copy h3 { min-height: 60px; font-size: 17px; }
  .product-copy > div { align-items: flex-start; flex-direction: column; }
  .product-copy > div a { width: 100%; margin-left: 0; }
  .maintenance-section { padding: 88px 18px 108px; }
  .maintenance-gallery { gap: 9px; }
  .maintenance-gallery figure { border-radius: 13px; }
  .store-section { padding: 86px 18px; }
  .store-image { border-radius: 16px; }
  .store-image img { aspect-ratio: 1.2; }
  .store-actions, .store-actions .button, .store-actions .instagram-button { width: 100%; }
  .contact > .button { width: 100%; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer div > p, footer > p, .footer-meta, .footer-meta p { justify-self: center; text-align: center; }
  .footer-links { gap: 14px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 54px; padding: 0; justify-content: center; }
}

@media (max-width: 360px) {
  .categories-grid, .products-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 250px; }
  .product-copy h3 { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-pending, .reveal-pending.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
}
