/* =================================================================
   Мебели Мемо — Main stylesheet
   Hand-written styles reverse-engineered from the original build.

   Table of contents:
   1.  Design tokens (CSS custom properties)
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons
   5.  Section titles
   6.  Header / navigation
   7.  Hero
   8.  About
   9.  Portfolio
   10. Partners
   11. Contact
   12. Footer
   13. Lightbox
   ================================================================= */

/* -----------------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------------- */
:root {
  /* Brand / accent palette (amber family) */
  --amber-50:  #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-900: #78350f;

  /* Neutrals */
  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;

  /* Warm decorative tints */
  --stone-100:  #f5f5f4;
  --orange-50:  #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Layout */
  --container-max: 80rem;        /* 1280px — matches max-w-7xl */
  --header-height: 4rem;         /* 64px */

  /* Radii */
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:  0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg:  0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl:  0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-base: 300ms ease;
}

/* -----------------------------------------------------------------
   2. Reset & base
   ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offset anchor jumps so they clear the fixed header */
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--amber-600);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------
   3. Layout helpers
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: 5rem;
}

.section--muted {
  background-color: var(--gray-50);
}

.accent {
  color: var(--amber-700);
}

/* -----------------------------------------------------------------
   4. Buttons
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  padding: 1rem 2rem;
  transition: all var(--transition-base);
  line-height: 1;
}

.btn--dark {
  background-color: var(--gray-900);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.btn--dark:hover {
  background-color: var(--gray-800);
  box-shadow: var(--shadow-2xl);
  transform: scale(1.05);
}

.btn--light {
  background-color: var(--white);
  color: var(--gray-900);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
}

.btn--light:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-2xl);
}

.btn--amber {
  background-color: var(--amber-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn--amber:hover {
  background-color: var(--amber-700);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.btn__arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.btn--icon:hover .btn__arrow {
  transform: translateX(4px);
}

/* -----------------------------------------------------------------
   5. Section titles
   ----------------------------------------------------------------- */
.section__header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section__title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.section__lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* -----------------------------------------------------------------
   6. Header / navigation
   ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-600);
}

.main-nav__list {
  display: flex;
  gap: 2rem;
}

.main-nav__link {
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color 200ms ease;
}

.main-nav__link:hover {
  color: var(--amber-900);
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  color: var(--gray-700);
  padding: 0.5rem;
  transition: color 200ms ease;
}

.nav-toggle:hover {
  color: var(--amber-900);
}

.nav-toggle__icon {
  width: 24px;
  height: 24px;
}

.nav-toggle__icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  display: block;
}

.mobile-nav {
  border-top: 1px solid var(--gray-200);
  background-color: var(--white);
  padding: 0.5rem;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav__link {
  display: block;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color 200ms ease;
}

.mobile-nav__link:hover {
  color: var(--amber-900);
}

/* -----------------------------------------------------------------
   7. Hero
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--white);
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--stone-100), var(--amber-50) 50%, var(--orange-100));
}

.hero__woodgrain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  color: var(--gray-900);
}

.hero__glow {
  position: absolute;
  width: 50%;
  height: 50%;
  border-radius: var(--radius-full);
  filter: blur(64px);
}

.hero__glow--top {
  top: 0;
  right: 0;
  background: linear-gradient(to bottom left, rgba(253, 230, 138, 0.2), transparent);
}

.hero__glow--bottom {
  bottom: 0;
  left: 0;
  background: linear-gradient(to top right, rgba(254, 215, 170, 0.2), transparent);
}

.hero__inner {
  position: relative;
  z-index: 10;
  padding-block: 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  order: 2;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--gray-600);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* --- Hero slideshow --- */
.hero__media {
  position: relative;
  order: 1;
}

.hero__media-inner {
  position: relative;
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
}

.hero__blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(48px);
  opacity: 0.6;
}

.hero__blob--top {
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-200));
}

.hero__blob--bottom {
  bottom: -1rem;
  right: -1rem;
  width: 7rem;
  height: 7rem;
  background: linear-gradient(135deg, var(--orange-200), var(--amber-200));
}

.hero__slider {
  position: relative;
  aspect-ratio: 3 / 4;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1000ms ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide-frame {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(3deg);
  transition: transform 500ms ease;
}

.hero__slide:hover .hero__slide-frame {
  transform: rotate(6deg) scale(1.05);
}

.hero__slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__dots {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}

.hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background-color: var(--gray-300);
  transition: all var(--transition-base);
}

.hero__dot:hover {
  background-color: var(--gray-400);
}

.hero__dot.is-active {
  width: 2rem;
  background-color: var(--gray-900);
}

/* -----------------------------------------------------------------
   8. About
   ----------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about__paragraph {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about__stats {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.stat {
  text-align: center;
}

.stat__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--amber-600);
}

.stat__icon svg {
  width: 32px;
  height: 32px;
}

.stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.stat__label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.about__image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about__image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

/* -----------------------------------------------------------------
   9. Portfolio
   ----------------------------------------------------------------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter__btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  background-color: var(--white);
  color: var(--gray-700);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.filter__btn:hover {
  background-color: var(--amber-50);
  color: var(--amber-700);
}

.filter__btn.is-active {
  background-color: var(--amber-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

/* Desktop grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background-color: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: box-shadow 500ms ease, transform 500ms ease;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-0.5rem);
}

.portfolio-card__media {
  position: relative;
  overflow: hidden;
}

.portfolio-card__media img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  transition: transform 700ms ease;
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.1);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__zoom {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  padding: 0.75rem;
  color: var(--white);
}

.portfolio-card__zoom svg {
  width: 32px;
  height: 32px;
}

.portfolio__more {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.portfolio__more[hidden] {
  display: none;
}

/* Desktop grid is the default; the carousel is mobile-only and
   gets switched on in responsive.css below 768px. */
.portfolio__grid-wrap {
  display: block;
}

.portfolio__carousel {
  display: none;
}

.carousel {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel__zoom-target {
  display: block;
  width: 100%;
  position: relative;
}

.carousel__image {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.carousel__zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  color: var(--white);
  pointer-events: none;
}

.carousel__zoom-hint svg {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  padding: 0.5rem;
  box-sizing: content-box;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  padding: 0.5rem;
  color: var(--gray-900);
  transition: background-color var(--transition-base);
}

.carousel__nav:hover {
  background-color: var(--white);
}

.carousel__nav svg {
  width: 24px;
  height: 24px;
  display: block;
}

.carousel__nav--prev { left: 1rem; }
.carousel__nav--next { right: 1rem; }

.carousel__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

/* -----------------------------------------------------------------
   10. Partners
   ----------------------------------------------------------------- */
.partners {
  overflow: hidden;
}

.partners__viewport {
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge */
}

.partners__viewport::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}

.partners__viewport.is-grabbing {
  cursor: grabbing;
}

.partners__viewport.is-paused {
  cursor: pointer;
}

.partners__track {
  display: flex;
  width: max-content;
}

.partner-card {
  flex-shrink: 0;
  width: 16rem;
  margin-inline: 1rem;
  padding: 1.5rem;
  background-color: var(--gray-50);
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: all 500ms ease;
}

.partner-card:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.25rem);
}

.partner-card__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.partner-card__logo {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-base);
  background-color: var(--white);
}

.partner-card:hover .partner-card__logo {
  box-shadow: var(--shadow-xl);
}

/* A couple of logos look better contained rather than cropped */
.partner-card__logo--contain {
  object-fit: contain;
}

.partner-card__logo--padded {
  padding: 0.5rem;
}

.partner-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
}

.partner-card:hover .partner-card__name {
  color: var(--amber-700);
}

.partner-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* -----------------------------------------------------------------
   11. Contact
   ----------------------------------------------------------------- */
.contact {
  background-color: var(--amber-50);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
}

.contact-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  background-color: var(--amber-100);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  color: var(--amber-600);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.contact-card__detail {
  color: var(--gray-700);
  font-weight: 500;
}

.contact__map-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  text-align: center;
}

.contact__map-icon {
  display: inline-flex;
  color: var(--amber-600);
  margin-bottom: 1rem;
}

.contact__map-icon svg {
  width: 48px;
  height: 48px;
}

.contact__map-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact__map-address {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.contact__map-hint {
  color: var(--gray-500);
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* -----------------------------------------------------------------
   12. Footer
   ----------------------------------------------------------------- */
.site-footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding-block: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-400);
  margin-bottom: 1rem;
}

.footer__tagline {
  color: var(--gray-300);
  line-height: 1.6;
}

.footer__heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__list li {
  color: var(--gray-300);
}

.footer__link {
  color: var(--gray-300);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--amber-400);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
}

.footer__contact-item--top {
  align-items: flex-start;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--amber-400);
}

.footer__contact-item--top svg {
  margin-top: 0.25rem;
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer__bottom p {
  color: var(--gray-400);
}

/* -----------------------------------------------------------------
   13. Lightbox
   ----------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 200ms ease;
  cursor: zoom-in;
  user-select: none;
}

.lightbox__image.is-zoomed {
  cursor: move;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  padding: 0.5rem;
  transition: color 200ms ease;
}

.lightbox__close:hover {
  color: var(--gray-300);
}

.lightbox__close svg {
  width: 32px;
  height: 32px;
  display: block;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  padding: 0.75rem;
  transition: background-color var(--transition-base);
}

.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.lightbox__nav svg {
  width: 32px;
  height: 32px;
  display: block;
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}
