/* General */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    height:100vh;
}


/* Hero section on homepage */
.hero-section {
    min-height: calc(100vh - 56px - 56px); /* nav + footer approximate */
}

/* Logo placeholder */
.logo-placeholder {

}

.logo-placeholder .logo-text {

    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Glass card */
.glass-card {

    border-radius: 1.25rem;
    backdrop-filter: blur(18px);
}

/* Page hero for inner pages */
.page-hero {
}

/* Footer */
.footer {
    border-top: 1px solid rgba(248, 249, 250, 0.06);
    color: white;
}

/* Navbar tweaks */
.navbar-brand {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Cards on light background */
body .card {
    border-radius: 1.25rem;
}

/* Form focus state */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Small tweak for hero text contrast */
.hero-section .lead {

}

/* Fix dropdown on dark nav */
.navbar .dropdown-menu {
    font-size: 0.9rem;
}

/* Make alerts slightly rounded */
.alert {
    border-radius: 0.9rem;
}

/* Scroll-down arrow wrapper */
.scroll-down-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Arrow button */
.scroll-down-arrow {
    width: 52px;
    height: 52px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: scrollBounce 2s infinite;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Arrow shape */
.scroll-down-arrow span {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: -4px;
}

/* Hover effect */
.scroll-down-arrow:hover {
    transform: scale(1.08);
}

/* Bounce animation */
@keyframes scrollBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}


.howto{
    opacity: 0.85;
}

/* Cookie consent backdrop */
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2000;
}

/* Modal box */
.cookie-consent {
  background: #fff;
  color: #000;
  width: 100%;
  max-width: 520px;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,.35);
}

/* Dark mode compatibility */
body.bg-dark .cookie-consent {
  background: #111;
  color: #fff;
}

body.bg-dark .cookie-consent .text-muted {
  color: rgba(255,255,255,.65) !important;
}


/* Navbar avatar circle */
.nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: #000;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
  user-select: none;
}
.nav-avatar:hover {
  transform: scale(1.05);
}
.btn-primary {
  background-color: #1f2933;
  border-color: #1f2933;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #111827;
  border-color: #111827;
}

.btn-outline-primary {
  color: #1f2933;
  border-color: #1f2933;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #1f2933;
  border-color: #1f2933;
  color: #fff;
}

a {
  color: #fff;
}

a:hover,
a:focus {

}

/* Navbar + dropdown links */
.navbar a,
.dropdown-menu a {
  color: inherit;
}

.dropdown-menu a:hover {
  background-color: rgba(0,0,0,.05);
}

/* Navbar cart icon */
.nav-cart {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.2);
}

.nav-cart:hover {
  background: #000;
  color: #fff;
}

/* Cart item count badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
}

.category-bg {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.category-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.66);
  border-radius: 16px;
  z-index: 0;
}

.category-bg > * {
  position: relative;
  z-index: 1;
}

/* Modern hamburger menu */
.hamburger {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* Animate to X when open */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hover effect */
.hamburger:hover {
  background: #000;
}

/* Login / user icon button */
.nav-user {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.2);
}

.nav-user i {
  font-size: 1.2rem;
}

.nav-user:hover {
  background: #000;
  color: #fff;
}

:root {
  --bs-primary: #1f2933;          /* dark grey */
  --bs-primary-rgb: 31, 41, 51;
  --bs-link-color: #1f2933;
  --bs-link-hover-color: #111827;
}