:root {
  --bente-blue: #1597ff;
  --bente-navy: #050922;
  --bente-cyan: #74d9ff;
}

/* Stable replacement for the captured Wix header. Wix positioned the original
   against a fixed canvas, which clipped the logo and hid navigation on mobile. */
#SITE_HEADER { display: none !important; }

.bente-site-header {
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(52px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 12px clamp(20px, 3vw, 56px);
  box-sizing: border-box;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 9, 34, .32), transparent);
  font: 500 16px/1.2 Arial, sans-serif;
}

.bente-site-logo { justify-self: start; display: block; line-height: 0; }
.bente-site-logo img {
  display: block;
  width: clamp(145px, 13vw, 205px);
  height: auto;
  object-fit: contain;
}

.bente-site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.7vw, 30px); }
.bente-site-nav a {
  position: relative;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.bente-site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: '';
  background: var(--bente-cyan);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.bente-site-nav a:hover::after,
.bente-site-nav a:focus-visible::after,
.bente-site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.bente-cart-link { justify-self: end; display: block; width: 32px; color: var(--bente-cyan); }
.bente-cart-link svg { display: block; width: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.bente-menu-toggle { display: none; }

#BACK_TO_TOP_BUTTON { cursor: pointer; touch-action: manipulation; }
#BACK_TO_TOP_BUTTON:focus-visible {
  outline: 3px solid var(--bente-cyan);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .bente-site-header { grid-template-columns: auto 1fr auto; min-height: 76px; padding: 8px 20px; background: rgba(5, 9, 34, .9); }
  .bente-site-logo img { width: 150px; }
  .bente-menu-toggle {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-right: 12px;
    padding: 8px;
    border: 0;
    color: #fff;
    background: transparent;
    font: 600 15px/1 Arial, sans-serif;
    cursor: pointer;
  }
  .bente-menu-icon { display: grid; gap: 5px; width: 24px; }
  .bente-menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .bente-menu-open .bente-menu-icon i:first-child { transform: translateY(7px) rotate(45deg); }
  .bente-menu-open .bente-menu-icon i:nth-child(2) { opacity: 0; }
  .bente-menu-open .bente-menu-icon i:last-child { transform: translateY(-7px) rotate(-45deg); }
  .bente-site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    border-top: 1px solid rgba(116, 217, 255, .28);
    background: rgba(5, 9, 34, .98);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .28);
  }
  .bente-menu-open .bente-site-nav { display: flex; }
  .bente-site-nav a { min-height: 44px; padding: 13px 4px; box-sizing: border-box; }
  .bente-site-nav a::after { right: auto; width: 36px; }
  .bente-cart-link { width: 28px; }
}

@media (max-width: 440px) {
  .bente-site-header { min-height: 68px; padding-inline: 12px; }
  .bente-site-logo img { width: 126px; }
  .bente-menu-toggle { margin-right: 4px; }
  .bente-menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.bente-toast {
  position: fixed;
  z-index: 2147483647;
  right: 1rem;
  bottom: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1rem 1.1rem;
  color: #fff;
  background: rgba(5, 9, 34, .98);
  border: 1px solid rgba(116, 217, 255, .7);
  border-radius: .75rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
  font: 500 1rem/1.45 Arial, sans-serif;
}

.bente-toast strong { display: block; margin-bottom: .25rem; }
.bente-toast a { color: var(--bente-cyan); }
.bente-toast button {
  float: right;
  margin-left: .75rem;
  color: #fff;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.bente-consent-dialog {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .72);
}

.bente-consent-dialog[hidden] { display: none; }
.bente-consent-card {
  width: min(34rem, 100%);
  padding: 1.5rem;
  color: #fff;
  background: var(--bente-navy);
  border: 1px solid var(--bente-cyan);
  border-radius: 1rem;
  font: 500 1rem/1.5 Arial, sans-serif;
}
.bente-consent-card h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.bente-consent-card p { margin: 0 0 1rem; }
.bente-consent-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bente-consent-actions button {
  min-height: 44px;
  padding: .7rem 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid var(--bente-cyan);
  border-radius: .5rem;
  cursor: pointer;
}
.bente-consent-actions button[data-choice="accept"] {
  color: #031021;
  background: var(--bente-cyan);
}

.bente-form-status {
  display: block;
  margin-top: .75rem;
  color: #fff;
  font: 600 .95rem/1.4 Arial, sans-serif;
}

.bente-manual-order { cursor: pointer !important; }

@media (max-width: 600px) {
  .bente-toast { right: .75rem; bottom: .75rem; width: calc(100vw - 1.5rem); }
  .bente-consent-actions { flex-direction: column; }
  .bente-consent-actions button { width: 100%; }
}
