/* ============================================================
   CSS Variables — all colors live here, never hardcoded below
   ============================================================ */

:root {
  --color-bg: #f5efe6;
  --color-bg-elevated: #faf6f0;
  --color-surface: #ffffff;
  --color-text: #3d2b1f;
  --color-text-muted: #6b5344;
  --color-accent: #6b7c3a;
  --color-accent-hover: #556030;
  --color-cta: #c62828;
  --color-cta-hover: #a61e1e;
  --color-cta-text: #fff;
  --color-border: #ddd0c0;
  --color-hero-overlay: rgba(45, 32, 24, 0.55);
  --color-nav-bg: rgba(245, 239, 230, 0.92);
  --color-badge-bestseller: #8b6914;
  --color-badge-new: #6b7c3a;
  --color-badge-signature: #6b4c3b;
  --color-badge-soldout: #8b4040;
  --color-focus: #6b7c3a;
  --color-error-bg: #fce8e8;
  --color-error-text: #6b2020;
  --color-footer-bg: #3d2b1f;
  --color-footer-text: #f0e6dc;
  --color-footer-muted: #c4b5a5;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 1rem;
  --shadow-card: 0 2px 8px rgba(61, 43, 31, 0.08);
  --transition-theme: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  --theme-color-meta: #f5efe6;
}

[data-theme="dark"] {
  --color-bg: #1a1614;
  --color-bg-elevated: #231e1b;
  --color-surface: #2c2520;
  --color-text: #f0e6dc;
  --color-text-muted: #b8a898;
  --color-accent: #c4956a;
  --color-accent-hover: #d4a87a;
  --color-cta: #e53935;
  --color-cta-hover: #ef5350;
  --color-cta-text: #fff;
  --color-border: #3d342c;
  --color-hero-overlay: rgba(10, 8, 6, 0.65);
  --color-nav-bg: rgba(26, 22, 20, 0.94);
  --color-badge-bestseller: #c4956a;
  --color-badge-new: #a8b86a;
  --color-badge-signature: #c4956a;
  --color-badge-soldout: #c47a7a;
  --color-focus: #c4956a;
  --color-error-bg: #3d2020;
  --color-error-text: #f0c0c0;
  --color-footer-bg: #120f0d;
  --color-footer-text: #f0e6dc;
  --color-footer-muted: #8a7a6a;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.25);
  --theme-color-meta: #1a1614;
}

/* ============================================================
   Base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: var(--transition-theme);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body,
  .cat-nav,
  .theme-toggle__btn,
  .item-card,
  .hero__cta,
  .menu-section__header,
  .item-card__image {
    transition: none !important;
    animation: none !important;
  }

  .menu-section.is-reveal,
  .item-card.is-reveal {
    opacity: 1;
    transform: none;
  }
}

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

.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;
}

/* ============================================================
   Page curtain — intro like sunoi.store
   ============================================================ */

.site-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  clip-path: inset(100% 0 0);
  visibility: hidden;
  pointer-events: none;
}

/* Chỉ hiện khi đang load / đang kéo lên — không hiện ở phase "ready" */
html[data-site-phase="in"] .site-curtain {
  clip-path: inset(0);
  visibility: visible;
  pointer-events: auto;
  touch-action: none;
  overscroll-behavior: contain;
  transition: clip-path 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-site-phase="out"] .site-curtain {
  clip-path: inset(0 0 100%);
  visibility: visible;
  pointer-events: none;
  transition: clip-path 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-site-phase="ready"] .site-curtain {
  display: none;
  visibility: hidden;
  pointer-events: none;
}

html[data-site-phase="in"],
html[data-site-phase="out"] {
  overflow: hidden;
}

html[data-site-phase="ready"] {
  overflow: auto;
}

.site-curtain__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-inline: 1.5rem;
  text-align: center;
  animation: site-curtain-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-curtain__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(61, 43, 31, 0.08);
}

.site-curtain__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.site-curtain__rule {
  display: block;
  width: 5rem;
  height: 1px;
  background: color-mix(in srgb, var(--color-text) 14%, transparent);
  overflow: hidden;
}

.site-curtain__rule > span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--color-text);
  animation: site-curtain-sweep 1.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes site-curtain-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes site-curtain-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

/* Hero soft enter after curtain */
html[data-site-phase="ready"] .hero__cover {
  animation: hero-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html[data-site-phase="ready"] .hero__cta {
  animation: hero-cta-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes hero-enter {
  from {
    opacity: 0.65;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-cta-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-curtain {
    display: none !important;
  }

  html[data-site-phase="ready"] .hero__cover,
  html[data-site-phase="ready"] .hero__cta {
    animation: none !important;
  }
}

a {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0;
}

/* ============================================================
   Hero — full-bleed cover (edge-to-edge like sunoi.store)
   ============================================================ */

.hero {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background-color: #2a2a2a;
}

.hero__cover {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  background-color: #2a2a2a;
}

.hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1333 / 800;
  object-fit: cover;
  object-position: center center;
  /* Soft dim so CTA pops */
  filter: brightness(0.88);
}

[data-theme="dark"] .hero__img {
  filter: brightness(0.78);
}

.hero__dim {
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 16, 0.22);
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .hero__dim {
  background: rgba(10, 8, 6, 0.32);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Below gold title, above address on cover */
  padding:
    18%
    max(1rem, env(safe-area-inset-right, 0px))
    22%
    max(1rem, env(safe-area-inset-left, 0px));
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}

.hero__content > * {
  pointer-events: auto;
}

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

.hero__tagline {
  display: none;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 9rem;
  padding: 0.8rem 2.25rem;
  background: var(--color-cta);
  color: var(--color-cta-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(198, 40, 40, 0.35);
  transition: background-color 200ms ease, transform 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

[data-theme="dark"] .hero__cta {
  color: var(--color-cta-text);
}

.hero__cta:hover {
  background: var(--color-cta-hover);
}

.hero__cta:active {
  transform: scale(0.98);
}

/* --- Very small phones --- */
@media (max-width: 360px) {
  .hero__content {
    padding-top: 20%;
    padding-bottom: 24%;
  }

  .hero__cta {
    min-width: 8rem;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}

/* --- Phones landscape --- */
@media (orientation: landscape) and (max-height: 500px) {
  .hero__cover {
    max-height: 85svh;
    max-height: 85dvh;
  }

  .hero__img {
    width: 100%;
    height: 85svh;
    height: 85dvh;
    max-height: 85svh;
    max-height: 85dvh;
    object-fit: cover;
    aspect-ratio: auto;
  }

  .hero__content {
    padding-top: 12%;
    padding-bottom: 18%;
  }

  .hero__cta {
    min-height: 40px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* --- Tablet+ : larger CTA, still full-bleed --- */
@media (min-width: 768px) {
  .hero__cta {
    min-width: 10rem;
    padding: 0.9rem 2.5rem;
    font-size: 1.125rem;
  }
}

/* --- Desktop: full viewport width, keep full image (no side gaps) --- */
@media (min-width: 1024px) {
  .hero__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
  }

  .hero__cta {
    min-width: 11rem;
    padding: 1rem 2.75rem;
    font-size: 1.1875rem;
  }
}

/* ============================================================
   Sticky category nav + theme toggle
   ============================================================ */

.cat-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-theme);
}

.cat-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

.cat-nav__links {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

.cat-nav__links::-webkit-scrollbar {
  display: none;
}

.cat-nav__link {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease, background-color 200ms ease;
}

.cat-nav__link:hover {
  color: var(--color-text);
  background: var(--color-bg-elevated);
}

.cat-nav__link.is-active {
  color: var(--color-accent);
  background: var(--color-bg-elevated);
  font-weight: 600;
}

.theme-toggle {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-sm);
  padding: 2px;
  border: 1px solid var(--color-border);
}

.theme-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 200ms ease, background-color 200ms ease;
}

.theme-toggle__btn:hover {
  color: var(--color-text);
}

.theme-toggle__btn[aria-pressed="true"] {
  background: var(--color-surface);
  color: var(--color-accent);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   Error banner
   ============================================================ */

.error-banner {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  background: var(--color-error-bg);
  color: var(--color-error-text);
  border-radius: var(--radius-md);
  text-align: center;
}

.error-banner p {
  margin: 0;
}

/* ============================================================
   Menu sections + sunoi-style cards
   ============================================================ */

.menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0.65rem 2.5rem;
}

.menu-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 4.5rem;
}

.menu-section__header {
  margin-bottom: 1rem;
  padding-inline: 0.35rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-section.is-inview .menu-section__header {
  opacity: 1;
  transform: none;
}

.menu-section__title {
  font-size: clamp(1.5rem, 5vw, 2.35rem);
  color: var(--color-text);
}

.menu-section__desc {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Mobile: luôn 2 ô / hàng kiểu Shopee — minmax(0,1fr) tránh bị đẩy thành 1 cột */
.menu-section__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
}

/* Vertical card */
.item-card {
  --reveal-delay: 0ms;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  background: var(--color-surface);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-text) 10%, transparent);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    box-shadow 0.25s ease,
    background-color 200ms ease;
}

.menu-section.is-inview .item-card {
  opacity: 1;
  transform: none;
}

.item-card.is-unavailable {
  opacity: 0.55;
}

.menu-section.is-inview .item-card.is-unavailable {
  opacity: 0.55;
}

.item-card:not(.is-unavailable):hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-text) 12%, transparent),
    0 10px 24px rgba(61, 43, 31, 0.12);
}

[data-theme="dark"] .item-card:not(.is-unavailable):hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-text) 14%, transparent),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.item-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.item-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.item-card:not(.is-unavailable):hover .item-card__image {
  transform: scale(1.05);
}

[data-theme="dark"] .item-card__image {
  filter: brightness(0.85);
}

.item-card__tags {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: calc(100% - 0.8rem);
}

.item-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(4px);
}

.item-card__tag--bestseller { background: color-mix(in srgb, var(--color-badge-bestseller) 92%, transparent); }
.item-card__tag--new { background: color-mix(in srgb, var(--color-badge-new) 92%, transparent); }
.item-card__tag--signature { background: color-mix(in srgb, var(--color-badge-signature) 92%, transparent); }
.item-card__tag--soldout {
  background: color-mix(in srgb, var(--color-badge-soldout) 92%, transparent);
  text-transform: none;
  letter-spacing: normal;
}

.item-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.7rem 0.85rem;
  min-width: 0;
  flex: 1;
}

/* Mobile Shopee-like: tên trên, giá dưới */
.item-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.item-card__name {
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.item-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
  white-space: nowrap;
}

.item-card__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .menu {
    padding: 2rem 1rem 3rem;
  }

  .menu-section__header {
    margin-bottom: 1.25rem;
    padding-inline: 0;
  }

  .menu-section__items {
    gap: 1rem;
  }

  .item-card {
    border-radius: var(--radius-lg);
  }

  .item-card__body {
    padding: 1rem 1.1rem 1.2rem;
    gap: 0.4rem;
  }

  .item-card__header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .item-card__name {
    font-size: 1.15rem;
    -webkit-line-clamp: 2;
  }

  .item-card__price {
    flex-shrink: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
  }

  .item-card__desc {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .menu-section__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

/* ============================================================
   Shop info
   ============================================================ */

.shop-info {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1rem;
  transition: var(--transition-theme);
}

.shop-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.shop-info__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.shop-info__details dl {
  margin: 0;
}

.shop-info__details dt {
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1rem;
}

.shop-info__details dt:first-child {
  margin-top: 0;
}

.shop-info__details dd {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
}

.shop-info__map iframe {
  width: 100%;
  height: 280px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .shop-info__grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .shop-info__details {
    flex: 1;
  }

  .shop-info__map {
    flex: 1.5;
  }

  .shop-info__map iframe {
    height: 320px;
  }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(61, 43, 31, 0.06), transparent 40%),
    var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.75rem 1.25rem max(2.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, var(--color-footer-text) 10%, transparent);
}

[data-theme="dark"] .footer {
  background:
    linear-gradient(180deg, rgba(240, 230, 220, 0.03), transparent 45%),
    var(--color-footer-bg);
}

.footer__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
}

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-footer-text) 12%, transparent);
}

.footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-footer-text);
}

.footer__hours {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: var(--color-footer-muted);
}

.footer__address {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-footer-muted);
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

.footer__btn:active {
  transform: scale(0.98);
}

.footer__btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  border: 1px solid transparent;
}

[data-theme="dark"] .footer__btn--primary {
  color: var(--color-cta-text);
}

.footer__btn--primary:hover {
  background: var(--color-cta-hover);
}

.footer__btn--ghost {
  background: transparent;
  color: var(--color-footer-text);
  border: 1px solid color-mix(in srgb, var(--color-footer-text) 28%, transparent);
}

.footer__btn--ghost:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.footer__socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-footer-muted);
  border: 1px solid color-mix(in srgb, var(--color-footer-text) 16%, transparent);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.footer__social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
}

.footer__bottom {
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--color-footer-text) 12%, transparent);
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-footer-muted);
}

@media (min-width: 768px) {
  .footer {
    padding-block: 3.25rem;
  }

  .footer__inner {
    gap: 1.5rem;
  }

  .footer__actions {
    gap: 0.85rem;
  }

  .footer__btn {
    min-width: 10.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__btn,
  .footer__social-link {
    transition: none !important;
  }
}
