/* Marca global — logo.png */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  max-width: min(100%, 320px);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.45));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.brand-lockup:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.7));
}

.brand-lockup .brand-title {
  margin: 0;
  line-height: 1.15;
}

.navbar .brand-lockup {
  margin-right: auto;
}

.simple-nav .brand-lockup {
  margin-right: 1rem;
}

/* Loader con logo */
.loader-container {
  flex-direction: column;
  gap: 1.15rem;
  background: rgba(0, 0, 0, 0.82) !important;
}

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.loader-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: loaderLogoPulse 2.2s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.48));
  }
  50% {
    transform: scale(1.06) rotate(4deg);
    filter: drop-shadow(0 0 28px rgba(251, 191, 36, 0.82));
  }
}

.loader-container .spinner {
  display: none;
}

.loader-text {
  position: static;
  color: rgba(251, 191, 36, 0.85);
  font-family: var(--font-ui, 'Rajdhani', sans-serif);
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .navbar.nav-shell {
    --nav-top-height: 66px;
  }

  .navbar.nav-shell .nav-shell-top {
    position: relative;
    align-self: stretch;
    width: 100%;
    grid-template-columns: 1fr auto;
    min-height: var(--nav-top-height);
  }

  .navbar .brand-lockup {
    gap: 0.48rem;
    max-width: min(100%, 245px);
  }

  .navbar .brand-logo {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.42));
  }

  .navbar .brand-lockup .brand-title {
    line-height: 1.05;
  }

  .navbar.nav-shell .brand-lockup--mobile-logo-title {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    justify-content: center;
    width: 112px;
    max-width: 112px;
    min-height: 64px;
    margin-right: 0;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }

  .navbar.nav-shell .nav-shell-cart,
  .navbar.nav-shell .nav-cart-btn {
    justify-self: end;
    grid-column: 2;
    z-index: 3;
  }

  .navbar.nav-shell .brand-lockup--mobile-logo-title .brand-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .navbar.nav-shell .brand-lockup--mobile-logo-title .brand-logo {
    width: 104px;
    height: 60px;
    object-fit: contain;
    filter:
      drop-shadow(0 0 12px rgba(251, 191, 36, 0.68))
      drop-shadow(0 0 24px rgba(52, 211, 153, 0.22));
    animation: mobileLogoTitleFloat 3.8s ease-in-out infinite;
  }
}

@keyframes mobileLogoTitleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 0 12px rgba(251, 191, 36, 0.58))
      drop-shadow(0 0 22px rgba(52, 211, 153, 0.16));
  }
  50% {
    transform: translateY(-2px) scale(1.055);
    filter:
      drop-shadow(0 0 22px rgba(251, 191, 36, 0.88))
      drop-shadow(0 0 34px rgba(52, 211, 153, 0.28));
  }
}

/* Age gate */
.age-gate-brand {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.5));
  animation: loaderLogoPulse 3s ease-in-out infinite;
}

/* Footer */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.2;
  filter: grayscale(0.2);
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .age-gate-brand,
  .navbar.nav-shell .brand-lockup--mobile-logo-title .brand-logo,
  .brand-lockup:hover .brand-logo {
    animation: none !important;
    transform: none !important;
  }
}
