/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps.
 * Consider organizing styles into separate files for maintainability.
 */

/* Base */
body {
  background-color: #ffffff;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-spacer {
  width: 40px;
}

.site-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #111111;
  text-transform: uppercase;
}

.site-logo:hover {
  color: #111111;
}

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

.cp-nav-link {
  font-size: .8rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  padding: .3rem .7rem;
  border: 1px solid #111;
  border-radius: 2rem;
  transition: background .15s, color .15s;
}
.cp-nav-link:hover {
  background: #111;
  color: #fff;
}

/* Cart icon */
.cart-link {
  position: relative;
  color: #111111;
  text-decoration: none;
  display: inline-flex;
}

.cart-link:hover {
  color: #555555;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -10px;
  background: #111111;
  color: #ffffff;
  font-size: 0.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Main */
.site-main {
  min-height: calc(100vh - 140px);
  padding: 2rem 0;
}

/* Flash */
.flash-notice {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: #444;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-color: #111111;
  color: #cccccc; /* 2026-06-20 lifted from #aaa for stronger contrast on dark bg */
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ── EU cookie consent dialog (2026-06-19) ───────────────────────────────── */
.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.cookie-consent__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  color: #111111;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 1.75rem 1.75rem 1.5rem;
  text-align: center;
}
.cookie-consent__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #111111;
}
.cookie-consent__body {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 1.25rem;
}
.cookie-consent__accept {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cookie-consent__accept:hover { background: #000000; }
.cookie-consent__accept:focus-visible { outline: 3px solid #4c9aff; outline-offset: 2px; }
.cookie-consent__policy { margin: 0.9rem 0 0; font-size: 0.85rem; }
.cookie-consent__policy-link { color: #555555; text-decoration: underline; }
.cookie-consent__policy-link:hover { color: #000000; }
/* Prevent background scroll while the dialog is open */
body.cookie-consent-open { overflow: hidden; }
@media (max-width: 480px) {
  .cookie-consent__dialog { padding: 1.35rem 1.15rem; border-radius: 12px; }
  .cookie-consent__title { font-size: 1.25rem; }
  .cookie-consent__body { font-size: 0.95rem; }
}
