@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --red: #C1273A;
  --red-dark: #9B1E2E;
  --cream: #FAF3E8;
  --cream-2: #F2E8D5;
  --dark: #1C0E08;
  --gray: #6B5B50;
  --light-gray: #9A8880;
  --white: #FFFFFF;
  --font-title: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all .35s;
}

.header.scrolled {
  background: rgba(250, 243, 232, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(193, 39, 58, .08);
  padding: 14px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav__logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
}

.nav__list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  transition: color .25s;
  position: relative;
}

.header.at-top .nav__link {
  color: #fff;
}

.header.scrolled .nav__link {
  color: var(--red);
}

.header.scrolled .nav__link:hover {
  color: var(--red-dark);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  transition: width .25s;
}

.header.at-top .nav__link::after {
  background: #fff;
}

.header.scrolled .nav__link::after {
  background: var(--red);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--red);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--dark);
  cursor: pointer;
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.nav__overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column;
  padding: 70px 28px 40px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, .2);
}

.nav__drawer.open {
  transform: translateX(0);
}

.nav__drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark);
  cursor: pointer;
}

.nav__drawer-logo {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-2);
}

.nav__drawer-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
  padding: 15px 0;
  border-bottom: 1px solid var(--cream-2);
  transition: color .2s, padding-left .2s;
}

.nav__drawer-link:hover {
  color: var(--red);
  padding-left: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .28s;
}

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

.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 39, 58, .25);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--red);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--dark);
}

.title span {
  color: var(--red);
  font-style: italic;
}

.home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.home__blob {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--red);
  border-radius: 0 0 0 48%;
  z-index: 0;
}

.home__left {
  position: relative;
  z-index: 1;
  padding: 60px 28px 60px max(28px, calc((100vw - 1140px)/2 + 28px));
}

.home__sup {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.home__sup .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.home__title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.home__title span {
  color: var(--red);
  font-style: italic;
  display: block;
}

.home__desc {
  font-size: .92rem;
  color: var(--light-gray);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 32px;
}

.home__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.home__kanji {
  position: absolute;
  bottom: 40px;
  left: max(28px, calc((100vw - 1140px)/2 + 28px));
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(193, 39, 58, .13);
  font-family: serif;
  user-select: none;
}

.home__right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px max(28px, calc((100vw - 1140px)/2 + 28px)) 60px 28px;
}

.home__img-wrap {
  width: clamp(280px, 40vw, 460px);
  height: clamp(280px, 40vw, 460px);
  border-radius: 50%;
  overflow: hidden;
  background: #c53332;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home__img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  display: block;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__img-col {
  position: relative;
}

.about__card {
  border-radius: 28px;
  overflow: hidden;
  background: var(--red);
  aspect-ratio: 4/5;
  position: relative;
}

.about__food {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.about__card:hover .about__food {
  transform: scale(1.04);
}

.about__card-deco {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .15);
  line-height: 1;
  font-family: serif;
}

.about__badge {
  position: absolute;
  top: 28px;
  right: -18px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.about__badge-num {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--red);
}

.about__badge-lbl {
  font-size: .72rem;
  color: var(--light-gray);
  line-height: 1.4;
}

.about__desc {
  font-size: .92rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin: 20px 0 28px;
  max-width: 440px;
}

.about__feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.about__feat {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--cream);
  border-radius: 14px;
  padding: 14px 16px;
}

.about__feat-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.about__feat-txt {
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray);
}

.menu__top {
  text-align: center;
  margin-bottom: 36px;
}

.menu__filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.menu__flt {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--cream-2);
  background: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu__flt:hover,
.menu__flt.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

.menu__card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.menu__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(193, 39, 58, .14);
}

.menu__card-thumb {
  height: 170px;
  overflow: hidden;
  background: var(--cream);
}

.menu__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.menu__card:hover .menu__card-thumb img {
  transform: scale(1.08);
}

.menu__card-body {
  padding: 14px 18px 18px;
}

.menu__card-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}

.menu__card-sub {
  font-size: .72rem;
  color: var(--light-gray);
  margin-bottom: 12px;
}

.menu__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu__card-price {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
}

.new {
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.new::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  width: 500px;
  height: 500px;
  top: -180px;
  right: -120px;
}

.new::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, .06);
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -80px;
}

.new__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.new .label {
  color: rgba(255, 255, 255, .75);
}

.new__title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 12px 0 18px;
}

.new__title span {
  font-style: italic;
  color: rgba(255, 255, 255, .85);
}

.new__desc {
  color: rgba(255, 255, 255, .75);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.new__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.new__tag {
  padding: 5px 15px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .8);
  font-size: .78rem;
}

.new__img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.new__img {
  width: 88%;
  max-width: 420px;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 1;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .3));
  animation: float 6s ease-in-out infinite;
}

.new__deco1 {
  position: absolute;
  left: -10px;
  bottom: -20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, .1);
  font-family: serif;
}

.new__deco2 {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 255, 255, .07);
  writing-mode: vertical-rl;
  font-family: serif;
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__desc {
  font-size: .92rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin: 18px 0 32px;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact__ic {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact__lbl {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3px;
}

.contact__val {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
}

.contact__box {
  background: #fff;
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
}

.contact__box-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact__box-sub {
  font-size: .88rem;
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact__sub-form {
  display: flex;
  border: 2px solid var(--cream-2);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color .25s;
}

.contact__sub-form:focus-within {
  border-color: var(--red);
}

.contact__input {
  flex: 1;
  padding: 13px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .88rem;
  outline: none;
  color: var(--dark);
}

.contact__input::placeholder {
  color: var(--light-gray);
}

.contact__sub-btn {
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0 48px 48px 0;
  margin: 3px;
  transition: background .25s;
}

.contact__sub-btn:hover {
  background: var(--red-dark);
}

.contact__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-2);
}

.contact__stat {
  background: var(--cream);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.contact__stat-ico {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.contact__stat-num {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}

.contact__stat-lbl {
  font-size: .7rem;
  color: var(--light-gray);
}

.contact__deco-l {
  position: absolute;
  left: -10px;
  top: 35%;
  font-size: 9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(193, 39, 58, .06);
  font-family: serif;
  user-select: none;
}

.contact__deco-r {
  position: absolute;
  right: max(28px, calc((100vw - 1140px)/2 + 28px));
  bottom: 60px;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(193, 39, 58, .06);
  writing-mode: vertical-rl;
  font-family: serif;
  user-select: none;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: var(--cream);
}

.footer__top-curve {
  line-height: 0;
  background: var(--cream);
}

.footer__top-curve svg {
  display: block;
  width: 100%;
  height: 50px;
}

.footer__body {
  background: #3D0A14;
  padding: 60px 0 0;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  z-index: 1;
}

/* No desktop, nav-row é transparente — cada filho ocupa sua própria célula do grid */
.footer__nav-row {
  display: contents;
}

.footer__logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer__about {
  font-size: .85rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .68);
  max-width: 240px;
}

.footer__divider {
  display: none;
}

.footer__quote {
  display: none;
}

.footer__col-h {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__lnk {
  font-size: .87rem;
  color: rgba(255, 255, 255, .72);
  transition: all .22s;
  line-height: 1.5;
}

.footer__lnk:hover {
  color: #fff;
  padding-left: 5px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: .87rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer__contact-item i {
  font-size: 1rem;
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__bottom {
  padding: 22px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .75);
  border-top: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  z-index: 1;
}

.scrollup {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(193, 39, 58, .3);
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s;
  z-index: 99;
  cursor: pointer;
  border: none;
}

.scrollup.show {
  opacity: 1;
  transform: translateY(0);
}

.scrollup:hover {
  background: var(--red-dark);
  transform: translateY(-3px) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TABLET ===== */
@media (max-width: 960px) {
  .home {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
  }

  .home__blob {
    width: 100%;
    height: 48%;
    top: auto;
    bottom: 0;
    border-radius: 50% 50% 0 0;
  }

  .home__left {
    padding: 40px 28px 20px;
  }

  .home__right {
    padding: 20px 28px 60px;
  }

  .home__kanji {
    display: none;
  }

  .about__grid,
  .new__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about__badge {
    right: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .nav__list {
    display: none !important;
  }

  .nav__toggle {
    display: flex;
  }

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

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

  /* CONTATO MOBILE */
  .contact__grid {
    gap: 28px;
  }

  .contact__box {
    padding: 24px 20px;
  }

  .contact__stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .contact__stat {
    padding: 14px 10px;
  }

  .contact__sub-form {
    flex-direction: column;
    border-radius: 16px;
    overflow: visible;
    border: none;
    gap: 10px;
  }

  .contact__input {
    border: 2px solid var(--cream-2);
    border-radius: 50px;
    padding: 13px 20px;
    width: 100%;
  }

  .contact__input:focus {
    border-color: var(--red);
    outline: none;
  }

  .contact__sub-btn {
    border-radius: 50px;
    margin: 0;
    padding: 13px 22px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* FOOTER MOBILE */
  .footer__top-curve svg {
    height: 30px;
  }

  .footer__body {
    padding: 36px 0 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
    border: none !important;
  }

  .footer__brand {
    text-align: center;
    padding-bottom: 28px;
    border-bottom: none;
    margin-bottom: 0;
  }

  .footer__brand .footer__about {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer__divider {
    margin: 16px auto 10px;
  }

  .footer__nav-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 28px 0;
    border-bottom: none;
  }

  .footer__col-contact {
    padding: 28px 0;
    border-bottom: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 18px 0 28px;
  }
}

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#lightbox.lb--open {
  display: flex;
}

.lb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .92);
}

.lb__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 860px;
  padding: 20px;
}

.lb__img-wrap {
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}

.lb__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  animation: lb-fade .2s ease;
}

@keyframes lb-fade {
  from {
    opacity: 0;
    transform: scale(.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lb__caption {
  margin-top: 16px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lb__caption strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.lb__caption span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

.lb__caption em {
  font-size: 1rem;
  color: #C1273A;
  font-style: normal;
  font-weight: 700;
}

.lb__counter {
  font-size: .75rem;
  color: rgba(255, 255, 255, .35);
  margin-top: 6px;
  letter-spacing: 2px;
}

.lb__close {
  position: absolute;
  top: -10px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C1273A;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
}

.lb__close:hover {
  background: #9B1E2E;
}

.lb__prev,
.lb__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}

.lb__prev {
  left: 20px;
}

.lb__next {
  right: 20px;
}

.lb__prev:hover,
.lb__next:hover {
  background: rgba(255, 255, 255, .25);
}

@media (max-width: 600px) {
  .lb__prev {
    left: 8px;
  }

  .lb__next {
    right: 8px;
  }

  .lb__wrap {
    padding: 20px 12px 20px;
  }

  .lb__close {
    top: 16px;
    right: 12px;
    position: fixed;
  }
}