/* ==========================================================================
   Nimmo Auto — header & footer refresh (loaded after the theme and custom.css)
   Brand: brown #321c1c, orange #ff9800 / #ff6d00. Geometry of the theme's
   floated header is kept; only surfaces, shapes and states change.
   ========================================================================== */

:root {
  --nimmo-brown: #321c1c;
  --nimmo-brown-deep: #241212;
  --nimmo-brown-soft: #4a2a2a;
  --nimmo-orange: #ff9800;
  --nimmo-orange-hot: #ff6d00;
  --nimmo-cream: #fff6ea;
  --nimmo-line: rgba(255, 255, 255, 0.12);
  --nimmo-muted: rgba(255, 255, 255, 0.68);
}

/* ---------- Header ---------- */

.main-header.dark-header {
  background: linear-gradient(90deg, var(--nimmo-brown-deep) 0%, var(--nimmo-brown) 45%, #3d2222 100%);
  box-shadow: 0 2px 10px rgba(20, 8, 8, 0.25);
  transition: box-shadow .25s ease;
}
.main-header.dark-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nimmo-orange-hot), var(--nimmo-orange) 50%, #ffc266);
}
.main-header.dark-header.nimmo-scrolled {
  box-shadow: 0 10px 30px rgba(20, 8, 8, 0.45);
}

/* Sizes and positions only on the desktop header; below 1065px the theme
   switches to its own mobile header layout, which must not be disturbed. */
@media only screen and (min-width: 1065px) {

.main-header .phone-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.16);
  color: #ffd29a !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 18px;
}
.main-header .phone-logo i {
  font-size: 10px;
  color: var(--nimmo-orange);
}

/* Search trigger */
.dark-header .show-search-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--nimmo-line);
  transition: background .2s, border-color .2s;
}
.dark-header .show-search-button a:hover {
  background: rgba(255, 152, 0, 0.14);
  border-color: rgba(255, 152, 0, 0.5);
}

/* Main navigation: pill states instead of underline */
.dark-header .nav-holder nav li a {
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.dark-header .nav-holder nav > ul > li > a {
  padding-left: 14px;
  padding-right: 14px;
}
.nav-holder nav li a:before,
.nav-holder nav li a.act-link:before {
  display: none !important;
}
.dark-header .nav-holder nav > ul > li > a:hover,
.dark-header .nav-holder nav > ul > li > a.act-link {
  background: rgba(255, 152, 0, 0.16);
  color: #ffb547 !important;
}

/* Dropdowns as cards */
.dark-header .nav-holder nav li ul {
  border-radius: 14px;
  padding: 8px 0;
  border-top: 3px solid var(--nimmo-orange);
  box-shadow: 0 18px 40px rgba(20, 8, 8, 0.28);
  overflow: hidden;
}
.dark-header .nav-holder nav li ul a {
  border-radius: 0 !important;
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s, padding-left .15s;
}
.dark-header .nav-holder nav li ul a:hover {
  background: var(--nimmo-cream);
  border-left-color: var(--nimmo-orange);
}

/* Primary CTA: Ajouter un produit */
.dark-header .add-list.top-button-add-list:not(.top-button-add-list-custom) {
  background: linear-gradient(135deg, var(--nimmo-orange) 0%, var(--nimmo-orange-hot) 100%);
  box-shadow: 0 8px 20px rgba(255, 109, 0, 0.35);
  letter-spacing: .03em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dark-header .add-list.top-button-add-list:not(.top-button-add-list-custom):hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 109, 0, 0.45);
}

/* Round icon buttons: favoris, notifications, réservations */
.dark-header .add-list.top-button-add-list-custom {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  top: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid var(--nimmo-line);
  box-shadow: none !important;
  transition: background .2s, border-color .2s, transform .15s;
}
.dark-header .add-list.top-button-add-list-custom:hover {
  background: var(--nimmo-orange) !important;
  border-color: var(--nimmo-orange);
  transform: translateY(-1px);
}
.dark-header .add-list.top-button-add-list-custom i {
  font-size: 15px;
}

/* Login link as outline pill */
.dark-header .show-reg-form .link-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 152, 0, 0.55);
  color: #fff;
  transition: background .2s;
}
.dark-header .show-reg-form .link-login:hover {
  background: rgba(255, 152, 0, 0.16);
}
.dark-header .show-reg-form {
  top: 22px;
}

.main-header .phone-logo {
  margin-top: 1px;
  padding: 0 8px;
  line-height: 16px;
  font-size: 10.5px;
}

} /* end desktop-only header rules */

/* User dropdown */
.header-user-menu ul {
  border-radius: 14px;
  overflow: hidden;
  border-top: 3px solid var(--nimmo-orange);
  box-shadow: 0 18px 40px rgba(20, 8, 8, 0.28);
}

/* Mobile burger */
.nav-button-wrap.color-bg {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nimmo-orange) 0%, var(--nimmo-orange-hot) 100%) !important;
  box-shadow: 0 6px 16px rgba(255, 109, 0, 0.35);
}

/* ---------- Footer ---------- */

.nf {
  background: var(--nimmo-brown-deep);
  color: var(--nimmo-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}
.nf a {
  color: var(--nimmo-muted);
  transition: color .15s;
}
.nf a:hover {
  color: var(--nimmo-orange);
}
.nf-wrap {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CTA band */
.nf-cta {
  background: linear-gradient(120deg, var(--nimmo-orange-hot) 0%, var(--nimmo-orange) 60%, #ffb13d 100%);
  color: #fff;
}
.nf-cta .nf-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}
.nf-cta h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
}
.nf-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  text-align: left;
}
.nf-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.nf-btn:hover {
  transform: translateY(-1px);
}
.nf .nf-btn-dark,
.nf .nf-btn-dark:hover {
  background: var(--nimmo-brown);
  color: #fff;
  box-shadow: 0 8px 20px rgba(50, 28, 28, 0.35);
}
.nf .nf-btn-light,
.nf .nf-btn-light:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--nimmo-brown);
}

/* Main grid */
.nf-main {
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 300px at 85% -10%, rgba(255, 152, 0, 0.10), transparent 60%),
    var(--nimmo-brown-deep);
}
.nf-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr;
  gap: 36px;
}
.nf h4 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: left;
}
.nf h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--nimmo-orange);
}
.nf-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}
.nf-brand p {
  margin: 0 0 18px;
  color: var(--nimmo-muted);
  text-align: left;
}
.nf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nimmo-line);
  color: #fff;
  font-size: 14px;
  transition: background .2s, border-color .2s, transform .15s;
}
.nf-social a:hover {
  background: var(--nimmo-orange);
  border-color: var(--nimmo-orange);
  color: #fff;
  transform: translateY(-2px);
}
.nf-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nf-links li {
  margin-bottom: 9px;
  text-align: left;
}
.nf-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nf-links a i {
  font-size: 10px;
  color: var(--nimmo-orange);
  transition: transform .15s;
}
.nf-links a:hover i {
  transform: translateX(3px);
}
.nf-places {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nf-places li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  text-align: left;
}
.nf-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 152, 0, 0.14);
  color: var(--nimmo-orange);
  font-size: 13px;
}
.nf-places strong {
  display: block;
  color: #fff;
  font-weight: 600;
}
.nf-places small {
  display: block;
  color: var(--nimmo-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* Newsletter */
.nf-news p {
  margin: 0 0 14px;
  color: var(--nimmo-muted);
  font-size: 13.5px;
  text-align: left;
}
.nf-news form {
  display: flex;
  gap: 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nimmo-line);
}
.nf-news input.enteremail {
  flex: 1;
  min-width: 0;
  float: none;
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  border: none !important;
  border-radius: 999px;
  background: transparent !important;
  color: #fff !important;
  font-size: 14px;
  line-height: 40px;
  outline: none;
  box-shadow: none !important;
}
.nf-news input.enteremail::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.nf-news .subscribe-button {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nimmo-orange) 0%, var(--nimmo-orange-hot) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.nf-news .subscribe-message {
  display: block;
  margin-top: 6px;
}

/* Bottom bar */
.nf-bottom {
  border-top: 1px solid var(--nimmo-line);
  background: #1c0e0e;
}
.nf-bottom .nf-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13px;
}
.nf-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 991px) {
  .nf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
}
@media (max-width: 600px) {
  .nf-cta .nf-wrap {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .nf-cta h3 {
    font-size: 19px;
  }
  .nf-cta-actions,
  .nf-cta-actions .nf-btn {
    width: 100%;
    justify-content: center;
  }
  .nf-main {
    padding: 40px 0 28px;
  }
  .nf-grid {
    grid-template-columns: 1fr;
  }
  .nf-bottom .nf-wrap {
    justify-content: center;
    text-align: center;
  }
}

/* fa-sign-in does not exist in Font Awesome 5; show a user icon instead of an empty gap */
.dark-header .show-reg-form .link-login i.fa-sign-in::before {
  content: "\f007";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.dark-header .show-reg-form .link-login i.fa-sign-in {
  color: var(--nimmo-orange);
  font-size: 12px;
}
@media only screen and (max-width: 1064px) {
  .dark-header .show-reg-form .link-login i.fa-sign-in {
    display: none;
  }
}

/* Footer: the theme pads .main-footer for its old layout */
footer.main-footer.nf {
  padding: 0;
  margin: 0;
}
@media (max-width: 600px) {
  .nf-bottom-links {
    justify-content: center;
  }
}
