/* Empório Ganança — the site speaks like the shop's fascia sign:
   black bands, gold trim, real photographs on light grounds. */

:root {
  --gold: #C98E37;
  --gold-deep: #C28728;
  --gold-light: #D79E41;
  --black: #0A0A0A;
  --graphite: #181818;
  --white: #FFFFFF;
  --paper: #F7F3EC;

  --ink: var(--black);
  --ink-soft: rgba(24, 24, 24, 0.8);
  --ink-mute: rgba(24, 24, 24, 0.66);
  --line: rgba(10, 10, 10, 0.12);
  --on-dark: rgba(247, 243, 236, 0.94);
  --on-dark-soft: rgba(247, 243, 236, 0.74);
  --trim: rgba(201, 142, 55, 0.42);

  --font-serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --topbar-h: 84px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 1240px;
  --section-y: clamp(5rem, 3.4rem + 6vw, 9.5rem);
  --radius: 3px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 899px) {
  :root { --topbar-h: 68px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-h);
  scrollbar-color: var(--gold-deep) var(--paper);
  background: var(--black);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--gold);
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
table { border-spacing: 0; }
[hidden] { display: none !important; }

::selection { background: var(--gold-light); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--focus, var(--black));
  outline-offset: 3px;
  border-radius: 2px;
}

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

.nowrap,
.addr-city { white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--gold { color: var(--gold-light); }

.container {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */

.title-lg {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 1.4rem + 2.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.title-lg + .lead { margin-top: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }

/* ---------- Buttons & links ---------- */

.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: var(--btn-h);
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 0.9375rem/1.15 var(--font-sans);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}
.btn .icon { width: 1.2rem; height: 1.2rem; transition: transform 0.3s var(--ease-out); }
.btn:active { transform: translateY(1px); }

.btn--sm { --btn-h: 44px; padding: 0 1.1rem; font-size: 0.875rem; }
.btn--lg { --btn-h: 60px; padding: 0 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); }
.btn--gold:active { background: var(--gold-deep); }

.btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(10, 10, 10, 0.2);
}
.btn--outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--dark:hover .icon { transform: translate(2px, -2px); }

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  margin-top: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-block: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  transition: text-decoration-thickness 0.2s, text-decoration-color 0.2s;
}
.text-link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--gold-deep); }
.text-link .icon { width: 1rem; height: 1rem; color: var(--gold-deep); transition: transform 0.3s var(--ease-out); }
.text-link:hover .icon { transform: translate(2px, -2px); }

/* Gold rule with a lozenge, the trim under the name on the sign */
.rule {
  display: block;
  width: 220px;
  max-width: 60%;
  height: 12px;
  color: var(--gold);
  overflow: visible;
}
.rule path[stroke] { stroke-width: 1px; }
.rule--short { width: 150px; }

/* ---------- Header (the fascia) ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  --focus: var(--gold-light);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -56px 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0) 100%);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.topbar.is-solid {
  background: rgba(10, 10, 10, 0.97);
  border-bottom-color: var(--trim);
}
.topbar.is-solid::before { opacity: 0; }

.topbar__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.6vw, 2.75rem);
  height: var(--topbar-h);
}

.topbar__brand {
  flex: none;
  margin-right: auto;
  padding: 2px 0;
}
.topbar__brand img { width: auto; height: 62px; }

.topbar__nav ul { display: flex; gap: clamp(1.25rem, 2.4vw, 2.4rem); }
.topbar__nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.3rem;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.topbar__nav a:hover { color: var(--white); }
.topbar__nav a:hover::after,
.topbar__nav a[aria-current]::after { transform: scaleX(1); }
.topbar__nav a[aria-current] { color: var(--gold-light); }

.topbar__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.topbar__toggle-lines {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 14px;
  transform: translate(-50%, -50%);
}
.topbar__toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.topbar__toggle-lines span:nth-child(1) { top: 0; }
.topbar__toggle-lines span:nth-child(2) { top: 6.25px; }
.topbar__toggle-lines span:nth-child(3) { top: 12.5px; }
.topbar__toggle[aria-expanded="true"] .topbar__toggle-lines span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.topbar__toggle[aria-expanded="true"] .topbar__toggle-lines span:nth-child(2) { opacity: 0; }
.topbar__toggle[aria-expanded="true"] .topbar__toggle-lines span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

/* Mobile menu drops like a shutter being pulled down */
.mobile-menu {
  position: fixed;
  inset: var(--topbar-h) 0 0 0;
  background: var(--black);
  border-top: 1px solid var(--trim);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s var(--ease-out), visibility 0s linear 0.55s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.55s var(--ease-out), visibility 0s;
}
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
  padding-top: 0.75rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}
.mobile-menu__links a {
  display: block;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(201, 142, 55, 0.24);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  line-height: 1.15;
  color: var(--white);
  text-decoration: none;
}
.mobile-menu__links a:hover { color: var(--gold-light); }
.mobile-menu__foot {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
}
.mobile-menu__foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
  padding-block: 0.35rem;
  color: var(--on-dark);
  text-decoration: none;
}
.mobile-menu__foot .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-light); }

@media (max-width: 899px) {
  .topbar__nav { display: none; }
  .topbar__toggle { display: block; }
  .topbar__brand img { height: 50px; }
}
@media (min-width: 900px) {
  .mobile-menu { display: none; }
}
@media (max-width: 359px) {
  .topbar__order .icon { display: none; }
  .topbar__order { padding: 0 0.85rem; }
}

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

/* Phones and portrait screens: the facade sits on top at its full width and
   fades into black, the copy follows below. Landscape desktops: black copy
   column on the left, the facade on the right, joined by a left-to-right fade. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  --focus: var(--gold-light);
}

.hero__media {
  position: relative;
  margin-top: var(--topbar-h);
  height: clamp(300px, min(54svh, 116vw), 640px);
}
.hero__photo,
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__photo img {
  object-fit: cover;
  object-position: 50% 0%;
}

.hero__shade {
  position: absolute;
  inset: 0 0 -2px 0; /* overhang hides the sub-pixel photo edge */
  background: linear-gradient(0deg, var(--black) 0%, var(--black) 3%, rgba(10, 10, 10, 0.72) 22%, rgba(10, 10, 10, 0) 52%);
}

.hero__content {
  position: relative;
  margin-top: -3.5rem;
  padding-bottom: 96px;
}

@media (min-width: 1024px) and (min-aspect-ratio: 6/5) {
  .hero {
    display: flex;
    min-height: max(640px, 100svh);
  }
  .hero__media {
    position: absolute;
    top: var(--topbar-h);
    right: 0;
    bottom: 0;
    width: 58%;
    height: auto;
    margin: 0;
  }
  .hero__shade {
    inset: 0 0 0 -2px;
    background:
      linear-gradient(90deg, var(--black) 0%, var(--black) 5%, rgba(10, 10, 10, 0.88) 14%, rgba(10, 10, 10, 0.5) 30%, rgba(10, 10, 10, 0.14) 48%, rgba(10, 10, 10, 0) 62%),
      linear-gradient(0deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 24%);
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-top: calc(var(--topbar-h) + 2.5rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  }
  .hero__copy {
    margin-block: auto;
    max-width: min(40rem, 46%);
  }
  .hero__meta { max-width: 40rem; }
}

.hero__title {
  max-width: 11.5em;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, min(4.4vw, 8vh), 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(10, 10, 10, 0.55);
}

.hero__lead {
  max-width: 34rem;
  margin-top: clamp(1rem, 2.4vh, 1.5rem);
  font-size: clamp(1.0625rem, 0.96rem + 0.45vw, 1.25rem);
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.9);
  text-shadow: 0 1px 16px rgba(10, 10, 10, 0.6);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: clamp(1.5rem, 3.6vh, 2.25rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2.25rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--trim);
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}

.hero__address {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.35rem;
  text-decoration: none;
  transition: color 0.2s;
}
.hero__address .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-light); }
.hero__address:hover { color: var(--white); }

@media (max-width: 767px) {
  .addr-sep { display: none; }
  .addr-city { display: block; }
}

@media (max-width: 767px) {
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__meta { gap: 0.25rem 1.5rem; }
}

/* Opening status (JS fills it; hidden without JS) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
}
.status__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.status.is-open .status__dot { background: var(--gold-light); border-color: var(--gold-light); }
.status--hero { color: var(--on-dark); }

/* ---------- Intro (still inside Início) ---------- */

.intro {
  background: var(--paper);
  padding-block: var(--section-y);
}

.intro__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

.diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  align-items: start;
}

.diptych__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: clamp(6px, 0.8vw, 10px);
  background: var(--white);
  box-shadow: 0 30px 50px -34px rgba(10, 10, 10, 0.32), 0 1px 4px rgba(10, 10, 10, 0.05);
}
.diptych__photo picture,
.diptych__photo img { width: 100%; height: 100%; }
.diptych__photo img { object-fit: cover; }
.diptych__photo--right { margin-top: 24%; }

@media (min-width: 900px) {
  .intro__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 1.5rem);
    align-items: center;
  }
  .diptych { grid-column: 1 / span 7; grid-row: 1; }
  .intro__text { grid-column: 8 / span 5; grid-row: 1; padding-left: clamp(0.5rem, 3vw, 3rem); }
}

/* ---------- Produtos ---------- */

.products {
  background: var(--white);
  padding-block: var(--section-y);
}

.products__grid {
  display: grid;
  gap: 2rem;
}

.products__text .btn { margin-top: 2.25rem; }

.products__main,
.products__detail {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #E9E2D5;
}
.products__main picture,
.products__main img,
.products__detail picture,
.products__detail img { width: 100%; height: 100%; }
.products__main img,
.products__detail img { object-fit: cover; }

.products__detail {
  width: 74%;
  margin-left: auto;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .products__grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 1.25rem;
  }
  .products__text { grid-column: 1 / -1; }
  .products__detail { width: 100%; }
}

@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: 1.5rem;
    row-gap: 0;
    padding-bottom: 72px;
  }
  .products__text {
    grid-column: 1 / span 5;
    grid-row: 1;
    padding-top: clamp(1rem, 4vw, 4rem);
  }
  .products__main {
    grid-column: 7 / span 6;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .products__detail {
    position: relative;
    z-index: 1;
    grid-column: 4 / span 4;
    grid-row: 2;
    align-self: end;
    width: auto;
    margin: 3rem 0 -72px;
    padding: 10px;
    background: var(--white);
    box-shadow: 0 34px 60px -34px rgba(10, 10, 10, 0.5), 0 2px 8px rgba(10, 10, 10, 0.06);
  }
}

/* ---------- Pedidos (a full black fascia band) ---------- */

.order {
  background: var(--black);
  color: var(--white);
  --focus: var(--gold-light);
  padding-block: clamp(6rem, 4rem + 8vw, 11rem);
  text-align: center;
}

.order__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order__title {
  max-width: 15ch;
  margin-top: 2.25rem;
  color: var(--white);
  font-size: clamp(2.375rem, 1.5rem + 3vw, 4.25rem);
}

.order__lead {
  max-width: 34rem;
  color: var(--on-dark-soft);
}

.message {
  width: min(100%, 30rem);
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  text-align: left;
}
.message__label {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}
.message__bubble {
  position: relative;
  margin: 0;
  padding: 1.1rem 1.3rem;
  background: var(--graphite);
  border: 1px solid rgba(201, 142, 55, 0.3);
  border-radius: var(--radius) var(--radius) var(--radius) 0;
  color: var(--on-dark);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.message__bubble::before,
.message__bubble::after {
  content: "";
  position: absolute;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.message__bubble::before {
  left: -1px; bottom: -12px;
  width: 14px; height: 12px;
  background: rgba(201, 142, 55, 0.3);
}
.message__bubble::after {
  left: 0; bottom: -10px;
  width: 12px; height: 10px;
  background: var(--graphite);
}

.order .btn--lg { margin-top: 2.75rem; }

.order__number {
  margin-top: 1.1rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--on-dark-soft);
}

/* ---------- Contato ---------- */

.contact {
  background: var(--paper);
  padding-block: var(--section-y);
}

.contact__title { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }

.channels {
  display: grid;
  gap: 1rem;
}

.channel,
.hours,
.map {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.channel__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-soft);
}
.channel__title .icon { width: 1.125rem; height: 1.125rem; color: var(--gold-deep); }

.channel__value {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
  line-height: 1.3;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(201, 142, 55, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
  transition: text-decoration-color 0.2s, text-decoration-thickness 0.2s;
}
a.channel__value:hover { text-decoration-color: var(--gold-deep); text-decoration-thickness: 2px; }
.channel__value--static { text-decoration: none; }

.channel__hint {
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--ink-mute);
}
.channel .btn { margin-top: auto; }

.contact__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .contact__grid { margin-top: 1.25rem; gap: 1.25rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .channels { grid-template-columns: 1fr 1fr; }
  .channels .channel:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.hours { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

.hours__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
}
.hours__title .icon { width: 1.3rem; height: 1.3rem; color: var(--gold-deep); }

.hours .status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--ink);
}
.hours .status.is-open .status__dot { background: var(--gold); border-color: var(--gold-deep); }
/* Closed: the status becomes a small lowered shutter, black with gold lettering */
.hours .status:not(.is-open) {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold-light);
  box-shadow: inset 0 -1px 0 var(--trim);
}

.hours__table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 1rem;
}
.hours__table th,
.hours__table td {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}
.hours__table tr:last-child th,
.hours__table tr:last-child td { border-bottom: 1px solid var(--line); }
.hours__table th {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}
.hours__table td {
  text-align: right;
  white-space: nowrap;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
/* Below desktop the table spans the width: times sit in a fixed column
   instead of against the right edge, where the floating button passes. */
@media (max-width: 1023px) {
  .hours__table th { width: 55%; }
  .hours__table td { text-align: left; }
}
.hours__table tr.is-today th,
.hours__table tr.is-today td { font-weight: 600; color: var(--ink); }
.hours__table tr.is-today th::before {
  content: "";
  position: absolute;
  left: 2px; top: 50%;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}


.map {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.map__frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 340px;
  background: #E9E2D5;
}
.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__bar {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .map__frame { min-height: 420px; }
}

/* ---------- Footer (the sign, recomposed) ---------- */

.footer {
  background: var(--black);
  color: var(--on-dark-soft);
  --focus: var(--gold-light);
  padding-top: clamp(4rem, 3rem + 4vw, 6.5rem);
  padding-bottom: 2rem;
}

.footer__sign {
  display: grid;
  justify-items: center;
  gap: 2rem;
  text-align: center;
}

.footer__logo { display: block; order: -1; }
.footer__logo img { width: clamp(190px, 18vw, 250px); height: auto; }

.footer__block {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9375rem;
}
.footer__block a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.3rem;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__block a:hover { color: var(--gold-light); }
.footer__block .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-light); }

.footer__base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.62);
  text-align: center;
}

@media (min-width: 900px) {
  .footer__sign {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    gap: 3rem;
    padding-block: 2.25rem;
  }
  .footer__sign::before,
  .footer__sign::after {
    content: "";
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    height: 1px;
    background: var(--trim);
  }
  .footer__sign::before { top: 0; }
  .footer__sign::after { bottom: 0; }
  .footer__logo { order: 0; }
  .footer__block--left { justify-self: start; text-align: left; }
  .footer__block--right { justify-self: end; text-align: right; justify-items: end; }
}

@media (max-width: 767px) {
  .footer { padding-bottom: calc(2rem + 72px); }
}

/* ---------- Floating WhatsApp ---------- */

/* Icon only, in WhatsApp's own green, so it reads as "chat" at a glance. */
.fab {
  --wa: #25D366;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(10, 10, 10, 0.45), 0 2px 6px rgba(10, 10, 10, 0.18);
  transition: background-color 0.25s var(--ease-out), transform 0.35s var(--ease-out), opacity 0.3s;
}
.fab .icon { width: 30px; height: 30px; }
.fab:hover { background: #1EBE5A; transform: translateY(-2px); }
.fab:active { transform: scale(0.96); }
.fab:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--paper);
}

body.menu-open .fab { opacity: 0; pointer-events: none; }

@media (min-width: 768px) {
  .fab {
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    width: 62px;
    height: 62px;
  }
  .fab .icon { width: 32px; height: 32px; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* The shop opens: the facade rises into view like a roller shutter */
  .hero__photo { animation: shutter-open 1.3s var(--ease-out) backwards; }
  .hero__photo img { animation: settle 2.4s var(--ease-out) backwards; }
  .fab { animation: rise 0.8s var(--ease-out) 1.1s backwards; }

  /* Photos further down rise the same way when they reach the viewport */
  .motion-ready .reveal picture {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.25s var(--ease-out);
  }
  .motion-ready .reveal img {
    transform: scale(1.08);
    transition: transform 1.9s var(--ease-out);
  }
  .motion-ready .reveal.is-visible picture { clip-path: inset(0 0 0 0); }
  .motion-ready .reveal.is-visible img { transform: none; }
  .motion-ready .diptych__photo--right picture,
  .motion-ready .diptych__photo--right img { transition-delay: 0.15s; }
  .motion-ready .products__detail picture,
  .motion-ready .products__detail img { transition-delay: 0.25s; }
}

@keyframes shutter-open {
  from { clip-path: inset(40% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

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