@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --background: #0f172a;
  --foreground: #f8fafc;
  --primary: #BE8B47;
  --primary-hover: #a6773c;
  --card-bg: rgba(30, 41, 59, 0.72);
  --card-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(15, 23, 42, 0.72);
  --surface-elevated: #0f172a;
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text-muted: #94a3b8;
  --text-body: #cbd5e1;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.14), 0 2px 4px -2px rgb(0 0 0 / 0.12);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.3), 0 4px 8px -4px rgb(0 0 0 / 0.18);
  --shadow-glow: 0 0 15px rgba(190, 139, 71, 0.35);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

:root[data-theme='light'] {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(15, 23, 42, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.86);
  --surface-elevated: #ffffff;
  --surface-soft: rgba(15, 23, 42, 0.05);
  --text-muted: #64748b;
  --text-body: #334155;
}

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

html, body {
  max-width: 100vw;
  overflow-x: clip;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(190, 139, 71, 0.16) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

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

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

/* Mobile-First Centered App Container */
.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background-color: var(--background);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.45);
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

:root[data-theme='light'] .app-container {
  box-shadow: 0 0 28px rgba(15, 23, 42, 0.1);
}

@media (max-width: 480px) {
  .app-container {
    box-shadow: none;
  }
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.text-gradient {
  background: linear-gradient(to right, var(--foreground), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bounceRight {
  0% { transform: translateY(-50%) translateX(0); }
  100% { transform: translateY(-50%) translateX(5px); }
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

/* Hide scrollbars cleanly */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===================== HEADER ===================== */
.menu-header {
  padding: 0.9rem 1rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: none;
  position: relative;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.header-brand-icon {
  background: var(--primary);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.header-brand-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.header-spacer {
  flex: 1;
}

.header-logo-wrap {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.header-actions.balanced {
  flex: 1;
}

.icon-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.icon-circle-btn:hover,
.icon-circle-btn:active {
  color: var(--primary);
  border-color: rgba(190, 139, 71, 0.45);
}

.header-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  animation: fadeIn 0.2s ease-out;
}

.header-search-input-wrap {
  position: relative;
  flex: 1;
}

.header-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.header-search-input {
  width: 100%;
  background: var(--surface-soft);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 0.6rem 1rem 0.6rem 2.55rem;
  color: var(--foreground);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.header-search-input:focus {
  border-color: var(--primary);
}

.header-search-cancel {
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===================== STICKY CATEGORY FILTER ===================== */
.category-filter-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-width: 0 0 1px 0;
  box-shadow: var(--shadow-sm);
  width: 100%;
  overflow: hidden;
}

.category-shadow-left,
.category-shadow-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  pointer-events: none;
  z-index: 45;
  transition: opacity 0.2s ease;
}

.category-shadow-left {
  left: 0;
  background: linear-gradient(to right, var(--glass-bg), transparent);
}

.category-shadow-right {
  right: 0;
  background: linear-gradient(to left, var(--glass-bg), transparent);
}

.category-scroll-hint {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  z-index: 46;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(190, 139, 71, 0.65);
  animation: bounceRight 1.2s infinite alternate ease-in-out;
}

.category-scroll-container {
  overflow-x: auto;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.45rem 0.85rem;
}

.category-scroll-container:active {
  cursor: grabbing;
}

.category-pill-list {
  display: flex;
  gap: 0.85rem;
}

.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 66px;
  flex-shrink: 0;
  padding: 0.15rem 0.25rem;
  opacity: 0.72;
  transition: all 0.22s ease;
}

.category-pill:hover {
  opacity: 1;
}

.category-pill.active {
  opacity: 1;
  transform: scale(1.05);
}

.category-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all 0.22s ease;
}

.category-pill.active .category-pill-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.category-pill-name {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-pill.active .category-pill-name {
  color: var(--primary);
  font-weight: 600;
}

/* ===================== MAIN MENU & ACCORDIONS ===================== */
.menu-main {
  flex: 1;
  padding-bottom: 2.5rem;
}

.menu-content {
  padding: 1rem 1rem 0.5rem;
}

.menu-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.category-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.category-accordion-item {
  scroll-margin-top: 92px;
}

.category-accordion-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
  padding: 0.6rem 0.45rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.category-accordion-header:hover {
  background: var(--surface-soft);
  border-color: rgba(190, 139, 71, 0.25);
}

.category-accordion-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: 0.65px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.category-accordion-item.open .category-accordion-title {
  color: var(--primary);
}

.category-accordion-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-soft);
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
}

.category-accordion-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(190, 139, 71, 0.25), transparent);
  margin: 0 0.35rem;
  transition: background 0.3s ease;
}

.category-accordion-item.open .category-accordion-line {
  background: linear-gradient(to right, rgba(190, 139, 71, 0.5), rgba(190, 139, 71, 0.12));
}

.accordion-toggle-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface-soft);
  color: var(--primary);
  border: 1px solid rgba(190, 139, 71, 0.32);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-accordion-item.open .accordion-toggle-btn {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(190, 139, 71, 0.4);
}

.accordion-toggle-btn .icon-minus { display: none; }
.category-accordion-item.open .accordion-toggle-btn .icon-plus { display: none; }
.category-accordion-item.open .accordion-toggle-btn .icon-minus { display: block; }

.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
  opacity: 0;
}

.category-accordion-item.open .accordion-collapse {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-collapse > div {
  overflow: hidden;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.35rem 0 0.75rem;
}

/* ===================== PRODUCT CARD ===================== */
.product-card {
  display: flex;
  gap: 0.9rem;
  padding: 0.75rem;
  cursor: pointer;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(190, 139, 71, 0.14);
  border-color: rgba(190, 139, 71, 0.42);
}

.product-card:active {
  transform: scale(0.985);
}

.product-thumb-wrap {
  width: 102px;
  height: 102px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.product-card:hover .product-thumb-img {
  transform: scale(1.07);
}

.product-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  gap: 0.25rem;
}

:root[data-theme='light'] .product-thumb-placeholder {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.product-thumb-placeholder span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  padding: 0.1rem 0;
}

.product-name {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  flex-wrap: wrap;
}

.product-price-pill {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  background: rgba(190, 139, 71, 0.12);
  padding: 0.22rem 0.62rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(190, 139, 71, 0.28);
  white-space: nowrap;
}

.product-badge-pill {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  background: rgba(190, 139, 71, 0.12);
  border: 1px solid rgba(190, 139, 71, 0.28);
  padding: 0.16rem 0.48rem;
  border-radius: var(--radius-sm);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===================== PRODUCT MODAL & ANNOUNCEMENT ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 19, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.22s ease-out;
}

.product-modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 86vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  animation: modalZoomIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-pill {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.modal-close-pill:hover {
  background: rgba(239, 68, 68, 0.85);
}

.product-modal-hero {
  width: 100%;
  height: 255px;
  position: relative;
  flex-shrink: 0;
  background: #1e293b;
}

.product-modal-hero.no-image {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.product-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface-elevated) 4%, transparent 55%);
}

.product-modal-body {
  padding: 1.35rem 1.5rem 1.75rem;
  overflow-y: auto;
}

.product-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.product-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.25;
}

.product-modal-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.product-modal-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.product-modal-desc {
  color: var(--text-body);
  line-height: 1.62;
  font-size: 0.95rem;
}

/* Announcement Lightbox */
.announcement-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface-elevated);
  border: 1px solid rgba(190, 139, 71, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(190, 139, 71, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalZoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.announcement-close-btn:hover {
  background: rgba(239, 68, 68, 0.88);
}

.announcement-img-wrap {
  width: 100%;
  max-height: 225px;
  overflow: hidden;
  position: relative;
}

.announcement-img-wrap img {
  width: 100%;
  max-height: 225px;
  min-height: 150px;
  object-fit: cover;
  display: block;
}

.announcement-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.announcement-title {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--foreground);
}

.announcement-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: 165px;
  overflow-y: auto;
}

/* ===================== FOOTER ===================== */
.menu-footer {
  margin: 1.5rem 1rem 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.footer-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.footer-accent-bar {
  width: 4px;
  height: 24px;
  border-radius: 9999px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-hover));
  flex-shrink: 0;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0;
  transition: transform 0.2s ease;
}

.footer-contact-row:hover {
  transform: translateX(3px);
}

.footer-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(190, 139, 71, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--foreground);
}

.footer-contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 49;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 10px rgba(190, 139, 71, 0.25);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(18px) scale(0.82);
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
}

@media (min-width: 480px) {
  .back-to-top {
    right: calc(50% - 220px);
  }
}
