/* ==========================================================================
   Header
   ========================================================================== */
.al-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--al-color-border);
}
.al-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--al-space-4);
  padding-block: var(--al-space-3);
}
.al-header__logo-svg { height: 40px; width: auto; }

.al-header__nav { flex: 1; display: flex; justify-content: center; }
.al-nav-list { display: flex; align-items: center; gap: var(--al-space-5); }
.al-nav-list a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--al-color-primary-dark);
}
.al-nav-list a:hover { color: var(--al-color-primary); }

.al-header__actions { display: flex; align-items: center; gap: var(--al-space-4); }
.al-header__lang {
  background: none;
  border: 1px solid var(--al-color-border);
  border-radius: var(--al-radius-pill);
  padding: 6px 14px;
  font-size: 0.875rem;
}
.al-header__cart { position: relative; display: inline-flex; }
.al-icon { width: 24px; height: 24px; }
.al-cart-trigger__count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--al-color-accent);
  color: var(--al-green-900);
  font-size: 0.6875rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.al-header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
}
.al-header__burger span { width: 22px; height: 2px; background: var(--al-color-primary-dark); }

@media (max-width: 480px) {
  .al-header__inner { gap: var(--al-space-2); }
  .al-header__lang { display: none; }
  .al-header__logo-svg { height: 32px; }
}

@media (max-width: 900px) {
  .al-header__burger { display: flex; }
  .al-header__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--al-color-surface);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: var(--al-space-7) var(--al-space-4);
    z-index: 50;
  }
  .al-header__nav.is-open { transform: translateX(0); }
  .al-nav-list { flex-direction: column; align-items: flex-start; gap: var(--al-space-4); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.al-footer {
  background: var(--al-green-900);
  color: var(--al-cream-100);
  padding-block: var(--al-space-8) var(--al-space-5);
  margin-top: var(--al-space-8);
}
.al-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--al-space-7);
}
.al-footer h3, .al-footer h4 { color: var(--al-cream-100); }
.al-footer h3 { font-size: 1.5rem; margin-bottom: var(--al-space-2); }
.al-footer h4 { font-size: 1.125rem; opacity: 0.8; margin-bottom: var(--al-space-3); }
.al-footer__logo-svg { height: 44px; margin-bottom: var(--al-space-4); }
.al-footer__tagline { max-width: 42ch; opacity: 0.85; }
.al-footer__address { font-style: normal; opacity: 0.85; margin-bottom: var(--al-space-4); line-height: 1.8; }
.al-footer__address a { color: inherit; }
.al-footer__social { display: flex; gap: var(--al-space-3); margin-bottom: var(--al-space-5); }
.al-footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.al-footer__cta { display: flex; gap: var(--al-space-3); flex-wrap: wrap; }

.al-form { display: flex; flex-direction: column; gap: var(--al-space-2); }
.al-form__label { font-size: 0.8125rem; opacity: 0.8; margin-top: var(--al-space-2); }
.al-form__input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--al-radius-sm);
  color: var(--al-cream-100);
  padding: 12px 16px;
}
.al-form__input::placeholder { color: rgba(255,255,255,0.5); }
.al-form__textarea { resize: vertical; min-height: 96px; }
.al-form .al-btn { margin-top: var(--al-space-3); align-self: flex-start; }
.al-form__success { color: var(--al-lime); font-weight: 600; }

.al-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--al-space-3);
  margin-top: var(--al-space-7);
  padding-top: var(--al-space-5);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.875rem;
  opacity: 0.85;
}
.al-footer__nav-list { display: flex; gap: var(--al-space-4); }
.al-footer__copy a { margin-left: var(--al-space-3); text-decoration: underline; }
.al-footer__payments-svg { height: 24px; }

@media (max-width: 768px) {
  .al-footer__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Mini-cart drawer
   ========================================================================== */
.al-mini-cart { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.al-mini-cart.is-open { visibility: visible; }
.al-mini-cart__backdrop {
  position: absolute; inset: 0;
  background: rgba(2,16,11,0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.al-mini-cart.is-open .al-mini-cart__backdrop { opacity: 1; }
.al-mini-cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--al-color-surface);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.al-mini-cart.is-open .al-mini-cart__panel { transform: translateX(0); }
.al-mini-cart__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--al-space-4) var(--al-space-4);
  border-bottom: 1px solid var(--al-color-border);
}
.al-mini-cart__close { background: none; border: none; font-size: 1.75rem; line-height: 1; }
.al-mini-cart__body { padding: var(--al-space-4); overflow-y: auto; flex: 1; }
.al-mini-cart__body .woocommerce-mini-cart__buttons .al-btn { width: 100%; margin-bottom: var(--al-space-2); }
