/* UrbanMop new header and footer (v2).
   Loaded only on pages where the rollout switch (resources/views/web/partials/um_switch.php) is on.
   Every rule is prefixed um2- so nothing here can touch the rest of the site. */

.um2-hd, .um2-ft {
  --um2-o: #F7931E; --um2-od: #EE7A00; --um2-ink: #1E1E1C; --um2-mute: #5E5A52;
  --um2-line: rgba(30,30,28,.12); --um2-cream: #F8F1E3; --um2-max: 1240px;
  --um2-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--um2-font); font-size: 15px; line-height: 1.5; color: var(--um2-ink);
  -webkit-text-size-adjust: 100%; text-align: left;
}
.um2-hd *, .um2-ft *, .um2-hd *::before, .um2-ft *::before, .um2-hd *::after, .um2-ft *::after { box-sizing: border-box; }
.um2-hd a, .um2-ft a { color: inherit; text-decoration: none; }
.um2-hd button, .um2-hd input, .um2-ft button { font-family: var(--um2-font); }
.um2-hd ul, .um2-ft ul { list-style: none; margin: 0; padding: 0; }
.um2-hd img, .um2-ft img { max-width: 100%; vertical-align: middle; }
.um2-hd p, .um2-ft p, .um2-ft h2 { margin: 0; }

.um2-in {
  max-width: var(--um2-max); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
svg.um2-i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ---------- header ---------- */
header.um2-hd {
  position: relative; z-index: 99; background: #fff; border-radius: 0;
  border-bottom: 1px solid rgba(30,30,28,.08);
  box-shadow: 0 2px 20px rgba(120,80,20,.07);
}
.um2-hd .um2-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.um2-logo { display: flex; align-items: center; flex: 0 0 auto; }
.um2-logo img { height: 36px; width: auto; max-width: none; display: block; }

.um2-loc { position: relative; order: 3; flex: 1 1 100%; min-width: 0; }
.um2-locbtn {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 12px;
  background: #fff; border: 1.5px solid var(--um2-line); border-radius: 999px;
  font: 600 13px/1.2 var(--um2-font); color: var(--um2-ink); cursor: pointer; text-align: left;
}
.um2-locbtn:hover { border-color: var(--um2-o); }
.um2-locbtn .um2-i { font-size: 16px; color: var(--um2-o); }
.um2-locbtn .um2-chev { margin-left: auto; font-size: 14px; color: var(--um2-mute); }
.um2-locname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um2-loc .dropdown-menu { min-width: 260px; max-width: min(92vw, 420px); font-size: 13px; }

.um2-nav { display: none; align-items: center; gap: 24px; flex: 0 0 auto; font-size: 13px; font-weight: 600; white-space: nowrap; }
.um2-nav a { padding: 6px 0; white-space: nowrap; }
.um2-nav a:hover { color: var(--um2-od); }

.um2-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.um2-ib,
#search-toggle.um2-ib {
  position: static; right: auto; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; margin: 0;
  background: #fff; border: 1.5px solid var(--um2-line); border-radius: 50%; color: var(--um2-ink); cursor: pointer; font-size: 18px; transition: none;
}
#search-toggle.um2-ib:hover { background: #fff; color: var(--um2-od); border-color: var(--um2-o); }
#search-toggle.um2-ib svg { width: 1em; height: 1em; }
.um2-search { display: none; }
.um2-search form { display: flex; align-items: center; margin: 0; position: relative; }
.um2-search #global_searchInput {
  width: 210px; height: 40px; padding: 0 40px 0 16px; margin: 0; background: #fff;
  border: 1.5px solid var(--um2-line) !important; border-radius: 999px; font: 500 13px var(--um2-font); color: var(--um2-ink);
  box-shadow: none;
}
.um2-search #global_searchInput:focus { border-color: var(--um2-o) !important; }
.um2-search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; color: var(--um2-mute); cursor: pointer; font-size: 17px; }
.um2-search button:hover { color: var(--um2-od); }

.um2-lbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 12px;
  background: #fff; border: 1.5px solid var(--um2-o); border-radius: 9px; color: var(--um2-od);
  font: 700 13px/1 var(--um2-font); cursor: pointer; white-space: nowrap;
}
.um2-lbtn:hover { background: var(--um2-o); color: #fff; }
.um2-lbtn .um2-i { font-size: 17px; }
.um2-lbtn.dropdown-toggle::after { display: none; }
.um2-lt { display: none; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
#mobile-login { padding: 0; margin: 0; }

.um2-cart { width: 40px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; }
.um2-cartimg { width: 25px; min-width: 25px; height: auto; }
.um2-hd .profile-dropdown .dropdown-menu { font-size: 13px; }

.um2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px;
  font: 700 13px/1 var(--um2-font); border-radius: 9px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: .18s;
}
.um2-btn-o { background: linear-gradient(135deg, #FFA62B, #F28200); color: #fff !important; box-shadow: 0 6px 18px rgba(242,130,0,.32); }
.um2-btn-o:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242,130,0,.4); }
.um2-book { display: none; }

@media (min-width: 768px) { .um2-lt { display: inline; } .um2-lbtn { padding: 0 14px; } }
@media (min-width: 992px) {
  .um2-hd .um2-in { flex-wrap: nowrap; }
  .um2-loc { order: 0; flex: 0 1 220px; }
  .um2-nav { display: flex; }
}
@media (min-width: 1280px) {
  .um2-search { display: block; }
  #search-toggle.um2-ib { display: none; }
  .um2-book { display: inline-flex; }
  .um2-search #global_searchInput { width: 230px; }
  .um2-loc { flex-basis: 250px; }
}
@media (max-width: 560px) { .um2-logo img { height: 30px; } }

/* ---------- footer ---------- */
footer.um2-ft::before, footer.um2-ft::after { content: none !important; display: none !important; }
footer.um2-ft { position: relative; background: #fff none; background-image: none !important; border-top: 1px solid var(--um2-line); padding: 28px 0 0; margin: 0; }
.um2-ft .um2-fgrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr 1fr .8fr; gap: 24px; padding-bottom: 22px; }
.um2-ft .um2-fgrid > * { min-width: 0; }
.um2-ft .um2-tag { font-weight: 700; font-size: 13px; margin-top: 10px; }
.um2-ft .um2-fh { font: 800 13px/1.3 var(--um2-font); color: var(--um2-ink); margin: 0 0 10px; letter-spacing: 0; text-transform: none; }
.um2-ft ul { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--um2-mute); }
.um2-ft ul li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
.um2-ft ul li, .um2-ft ul a { overflow-wrap: break-word; }
.um2-ft ul li > a { min-width: 0; }
.um2-ft ul .um2-i { color: var(--um2-o); font-size: 14px; }
.um2-ft a:hover { color: var(--um2-od); }
.um2-fdc { display: inline-block; margin: 0 0 10px; font-size: 11px; white-space: nowrap; font-weight: 800; color: var(--um2-od); background: #fff1de; border-radius: 6px; padding: 3px 9px; }
.um2-stores { display: flex; gap: 8px; flex-wrap: wrap; }
.um2-st { display: flex; align-items: center; gap: 8px; background: #111; color: #fff !important; border-radius: 8px; padding: 6px 12px; min-height: 40px; }
.um2-st:hover { background: #000; color: #fff !important; }
.um2-st .um2-i { font-size: 20px; }
.um2-st small { display: block; font-size: 8px; opacity: .7; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.um2-st b { display: block; font-size: 13px; line-height: 1; font-weight: 700; }
.um2-soc { display: flex; gap: 14px; font-size: 22px; }
.um2-soc a { display: inline-grid; place-items: center; color: var(--um2-ink); }
.um2-lg { background: var(--um2-cream); border-top: 1px solid var(--um2-line); font-size: 11.5px; color: var(--um2-mute); }
.um2-lg .um2-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.um2-lg .um2-l { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 1100px) { .um2-ft .um2-fgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .um2-ft .um2-fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 991px) {
  footer.um2-ft { padding-bottom: 0 !important; }   /* the page adds 80px for the bottom bar; the cream strip below takes it instead */
  .um2-lg { padding-bottom: 80px; }
}
