
:root{
  --bg:#0b1220; --card:#121b2f; --muted:#9fb0d0; --text:#eaf1ff;
  --brand:#4da3ff; --ok:#2dd4bf; --warn:#fbbf24; --danger:#fb7185;
  --shadow: 0 14px 30px rgba(0,0,0,.35);
  --radius:18px;
}
*{box-sizing:border-box}
body{
  margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(77,163,255,.35), transparent 60%),
              radial-gradient(900px 500px at 110% 10%, rgba(45,212,191,.22), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:18px}
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px; border-radius:18px; background:rgba(18,27,47,.85);
  border:1px solid rgba(255,255,255,.08); box-shadow:var(--shadow); backdrop-filter: blur(10px);
}
.nav .left{display:flex; gap:12px; align-items:center}
.logo{
  width:44px;height:44px;border-radius:14px;
  background: rgba(255,255,255,.05);
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.logo img{width:100%;height:100%;object-fit:contain;display:block;padding:6px;}

.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:var(--text);
  width:44px; height:44px;
  border-radius:14px;
  cursor:pointer;
  font-size:18px;
}
.nav a, .nav .btnlink{
  text-decoration:none; font-weight:600; font-size:14px; opacity:.95;
  padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  white-space:nowrap;
}
.nav a:hover, .nav .btnlink:hover{border-color: rgba(77,163,255,.55); background: rgba(77,163,255,.10)}
.grid{display:grid; grid-template-columns:1.2fr .8fr; gap:14px; margin-top:14px}
@media(max-width:900px){.grid{grid-template-columns:1fr}}

/* ===== Admin nav safety (prevent overflow / misaligned buttons) ===== */
body.admin-page .nav{ flex-wrap:wrap; align-items:flex-start; }
body.admin-page .nav .left{ flex:1 1 auto; min-width:260px; }
body.admin-page .nav .row.navlinks{ flex:1 1 420px; min-width:260px; justify-content:flex-end; flex-wrap:wrap; }
body.admin-page .nav .row.navlinks a{
  white-space:normal; /* allow wrap on mid widths */
  line-height:1.15;
  text-align:center;
  min-width:92px;
}
@media(max-width:1100px){
  body.admin-page .nav .row.navlinks a{ font-size:13px; padding:9px 10px; }
}
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding:14px;
}
.card h2,.card h3{margin:0 0 8px}
.muted{color:var(--muted)}
.btn{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
}
.btn.primary{background: rgba(77,163,255,.18); border-color: rgba(77,163,255,.4)}
.btn.danger{background: rgba(251,113,133,.12); border-color: rgba(251,113,133,.5)}
.input, select, textarea{
  width:100%; padding:12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
label{display:block; font-size:13px; margin:10px 0 6px; color:var(--muted)}
.row{display:flex; gap:10px; flex-wrap:wrap}
.row > *{flex:1}

/* ===== Staff / Employee dashboard ===== */
.dash-grid{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin-top:10px}
.stat-card{padding:14px}
.stat-value{font-size:28px; font-weight:900; margin-top:8px; line-height:1}
.dash-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.dash-actions .btn{flex:1; justify-content:center}

/* Admin/Staff sub-navigation inside /admin pages */
.admin-subnav-wrap{position:sticky; top:10px; z-index:30; backdrop-filter: blur(8px);}
.admin-subnav{display:flex; gap:10px; flex-wrap:wrap}
.admin-subnav .btn{flex:1 1 150px; justify-content:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.admin-subnav-head{display:none; margin-bottom:10px;}
.admin-menu-toggle{display:none; width:100%; justify-content:center;}

/* Keep the admin sub-navigation visible without horizontal swipe.
   Buttons wrap into rows on smaller screens instead of scrolling. */
@media (max-width: 720px){
  .admin-subnav-head{display:block;}
  .admin-menu-toggle{display:inline-flex;}
  .admin-subnav-wrap{position:sticky; top:0; z-index:35;}
  .admin-subnav-wrap .admin-subnav{display:none; flex-wrap:wrap; overflow:visible; gap:8px;}
  .admin-subnav-wrap.open .admin-subnav{display:flex;}
  .admin-subnav .btn{flex:1 1 46%; width:auto; padding:10px 12px; border-radius:14px; white-space:nowrap}
}

@media (max-width: 720px){
  .dash-grid{grid-template-columns:1fr}
  .dash-actions{display:grid; grid-template-columns:1fr;}
  .dash-actions .btn{width:100%}
}
.table{width:100%; border-collapse:collapse; overflow:hidden; border-radius:16px}
.table th,.table td{padding:10px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left; font-size:14px}
.table th{color:var(--muted); font-weight:700}
.badge{display:inline-block; font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.18); color:var(--text); background:rgba(255,255,255,.10); font-weight:800; letter-spacing:.2px; white-space:nowrap}
/* Stronger contrast so statuses are easy to read (especially on mobile). */
.badge.status-REQUESTED{background: rgba(77,163,255,.35); border-color: rgba(77,163,255,.70)}
.badge.status-PICKED_UP{background: rgba(45,212,191,.30); border-color: rgba(45,212,191,.65)}
.badge.status-WASHING{background: rgba(251,191,36,.30); border-color: rgba(251,191,36,.65)}
.badge.status-READY{background: rgba(34,197,94,.30); border-color: rgba(34,197,94,.65)}
.badge.status-OUT_FOR_DELIVERY{background: rgba(168,85,247,.30); border-color: rgba(168,85,247,.65)}
.badge.status-DELIVERED{background: rgba(34,197,94,.35); border-color: rgba(34,197,94,.75)}
.badge.status-CANCELED{background: rgba(251,113,133,.28); border-color: rgba(251,113,133,.75)}
.footer{margin-top:18px; color:var(--muted); font-size:12px; text-align:center}
.notice{padding:10px 12px;border-radius:14px;border:1px solid rgba(45,212,191,.35); background:rgba(45,212,191,.08)}
.error{padding:10px 12px;border-radius:14px;border:1px solid rgba(251,113,133,.45); background:rgba(251,113,133,.10)}
.small{font-size:12px;color:var(--muted)}
hr{border:none;border-top:1px solid rgba(255,255,255,.08); margin:14px 0}


/* ===== Swipe Gallery (Instagram-like) ===== */
.swipe-gallery{
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.swipe-track{
  display: flex;
  transition: transform .25s ease;
  will-change: transform;
  touch-action: pan-y;
}

.swipe-slide{
  min-width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #111;
}

.swipe-slide img, .swipe-slide video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swipe-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.swipe-btn.prev{ left: 10px; }
.swipe-btn.next{ right: 10px; }
@media (min-width: 900px){
  .swipe-btn{ display: inline-flex; }
}

.swipe-dots{
  position: absolute;
  left: 0; right: 0;
  bottom: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.swipe-dots .dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.swipe-dots .dot.active{
  background: rgba(255,255,255,.95);
  transform: scale(1.1);
}

/* Feed card tweaks */
.post{ max-width: 760px; margin: 16px auto; }
.post-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.post-actions{ display:flex; align-items:center; gap:10px; margin-top:10px; flex-wrap: wrap; }
.like-btn, .wa-btn{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding:10px 12px;
  border-radius: 999px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.like-btn.liked{
  background: rgba(255,0,80,.14);
  border-color: rgba(255,0,80,.32);
}

/* ===== Full-screen zoom modal ===== */
.zoom-modal{
  position:fixed; inset:0; z-index:9999;
  background: rgba(0,0,0,.92);
  display:none;
}
.zoom-modal.open{ display:block; }
.zoom-stage{
  position:absolute; inset:0;
  display:grid; place-items:center;
  padding: 52px 14px;
  z-index:1;
  /* Allow scroll/pan on desktop when media is large */
  pointer-events:auto;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.zoom-stage img{
  /* Keep the image within the visible viewport while still allowing scroll
     if the user zooms the browser or the image is unusually tall/wide. */
  max-width: min(100%, calc(100vw - 28px));
  max-height: calc(100vh - 120px);
  object-fit: contain;
  pointer-events:auto;
  display:block;
  margin:auto;
}
.zoom-close{
  position:absolute; top:14px; right:14px;
  width:44px; height:44px; border-radius:999px;
  border:0; background:rgba(255,255,255,.12); color:#fff;
  cursor:pointer; font-size:18px;
  z-index:2;
}
.zoom-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:999px;
  border:0; background:rgba(255,255,255,.12); color:#fff;
  cursor:pointer; font-size:26px;
  z-index:2;
}
.zoom-nav.prev{ left:14px; }
.zoom-nav.next{ right:14px; }


.section{ margin: 22px 0; }
.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.post-body{ margin: 0; }

/* ===== Facebook-like feed cards (Promotions / News / Tips) ===== */
.fb-post{
  max-width: 760px;
  margin: 16px auto;
  /* Match the rest of the project's glass/dark card style */
  background: rgba(18,27,47,.85);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fb-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding: 12px 12px 10px; }
.fb-head-left{ display:flex; align-items:flex-start; gap:10px; min-width: 0; }
.fb-avatar{
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--text);
  display:flex; align-items:center; justify-content:center;
  font-weight: 700; font-size: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.10);
}
.fb-head-text{ min-width:0; }
.fb-name-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.fb-name{ font-weight: 700; font-size: 14px; }
.fb-badge{
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(77,163,255,.12);
  color: var(--text);
  border: 1px solid rgba(77,163,255,.35);
}
.fb-meta{ font-size: 12px; color: rgba(234,241,255,.75); display:flex; align-items:center; gap:6px; margin-top: 2px; flex-wrap:wrap; }
.fb-dot{ opacity: .7; }
.fb-public{ display:inline-flex; align-items:center; gap:6px; }
.fb-head-right{ display:flex; align-items:center; gap:8px; }
.fb-pill{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,241,255,.85);
}
.fb-more{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 0;
  font-size: 18px;
}
.fb-title{ padding: 0 12px 10px; font-size: 14px; font-weight: 700; color: var(--text); }
.fb-body{ padding: 0 12px 12px; font-size: 14px; color: rgba(234,241,255,.92); }

.fb-media{ border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.fb-media .swipe-slide{ height: 360px; }
.fb-media .swipe-slide img, .fb-media .swipe-slide video{ height: 360px; width:100%; }
.fb-media .swipe-slide img{ object-fit: cover; background: #111; }
.fb-media .swipe-slide video{ object-fit: cover; }
@media (max-width: 720px){
  .fb-media .swipe-slide{ height: 260px; }
  .fb-media .swipe-slide img, .fb-media .swipe-slide video{ height: 260px; }
}

.fb-actions{
  display:flex;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.fb-action-btn{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 600;
}
.fb-action-btn:hover{ border-color: rgba(77,163,255,.55); background: rgba(77,163,255,.10); }
.fb-action-btn:disabled{ opacity: .55; cursor:not-allowed; }
.fb-count{ font-weight: 800; }
.fb-post .like-btn.liked{ background: rgba(251,113,133,.14); border-color: rgba(251,113,133,.35); }

/* --- Compact organized feed (Promotions/News/Tips) --- */

.feed-section{ margin: 18px 0 24px; }
.section-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.section-head h2{ margin:0; font-size:18px; }
.section-link{ font-size:13px; text-decoration:none; padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); color:var(--text); }
.section-link:hover{ border-color: rgba(77,163,255,.55); background: rgba(77,163,255,.10); }

.h-scroll{ display:flex; gap:12px; overflow:auto; scroll-snap-type:x mandatory; padding-bottom: 6px; }
.h-scroll::-webkit-scrollbar{ height: 8px; }
.h-scroll::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.12); border-radius:999px; }
.h-scroll > *{ scroll-snap-align:start; }

.stack{ display:grid; gap:10px; }

.grid-mini{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; }
@media (max-width: 720px){ .grid-mini{ grid-template-columns: 1fr; } }

.card-mini{ border:1px solid rgba(255,255,255,.08); border-radius:14px; background: rgba(18,27,47,.85); padding:10px; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.card-mini h3{ margin:0; font-size:14px; line-height:1.2; }
.card-mini .meta{ margin-top:4px; font-size:12px; color: rgba(234,241,255,.75); }
.card-mini .text{ margin-top:8px; font-size:13px; color: rgba(234,241,255,.88);
  display:-webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow:hidden; }

.promo-compact{ width: 260px; flex: 0 0 auto; }

/* Feed media preview (desktop + mobile)
   Goal: previews should feel compact on desktop, while staying readable on mobile. */
.media-mini{ border-radius:12px; overflow:hidden; margin-top:8px; max-width: 460px; }
/* Desktop: reduce vertical space so the card doesn't look "empty" */
.media-mini .swipe-slide{ height: 170px; }
.media-mini .swipe-slide img, .media-mini .swipe-slide video{ height: 170px; }
.media-mini .swipe-slide img{ object-fit: contain; background:#111; }
.media-mini .swipe-slide video{ object-fit: cover; }
@media (max-width: 520px){
  .media-mini .swipe-slide{ height: 220px; max-height: 220px; }
  .media-mini .swipe-slide img, .media-mini .swipe-slide video{ height: 220px; max-height: 220px; }
}

/* Promotions grid cards are narrower; keep their previews even more compact on desktop */
.promo-compact .media-mini{ max-width: 260px; }
.promo-compact .media-mini .swipe-slide{ height: 150px; }
.promo-compact .media-mini .swipe-slide img, .promo-compact .media-mini .swipe-slide video{ height: 150px; }
.media-mini .swipe-btn{ display:none; }
.media-mini .swipe-dots{ bottom:6px; }


/* --- Mobile polish --- */
@media (max-width: 720px){
  .container{ padding:12px; }
  .nav{ padding:12px; border-radius:16px; align-items:stretch; flex-direction:column; }
  .nav .left{ width:100%; justify-content:space-between; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav .row.navlinks{ width:100%; justify-content:flex-start; flex-wrap:wrap; }
  .nav .row.navlinks{ display:none; }
  .nav .row.navlinks.open{ display:flex; }
  .nav a, .nav .btnlink{ padding:12px 12px; font-size:14px; flex:1 1 auto; text-align:center; }
  .btn{ padding:12px 14px; }
  .input, select, textarea{ font-size:16px; padding:14px; }
  label{ font-size:14px; }
  h1{ font-size:22px; }
  .section-head h2{ font-size:17px; }
  .h-scroll{ -webkit-overflow-scrolling: touch; scroll-padding: 12px; }
}



/* =========================
   Mobile UX Upgrade (v2)
   ========================= */
@media (max-width: 720px){
  /* Make room for bottom nav + safe area */
  body{ padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

  /* Top nav: keep compact */
  .topbar{ position: sticky; top: 0; z-index: 50; }
  .topbar .navlinks{ 
    position: absolute;
    left: 12px; right: 12px; top: 60px;
    background: rgba(18,27,47,.98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
  }
  .topbar .navlinks.open{ display:flex; }
  .topbar .navlinks a{ width: 100%; padding: 12px 12px; border-radius: 12px; }
  .nav-toggle{ display: inline-flex; }

  /* Cards / sections spacing */
  .card{ border-radius: 16px; }
  .feed-section .stack{ gap: 10px; }
  .section-head{ position: sticky; top: 62px; z-index: 20; backdrop-filter: blur(10px); }

  /* Zoom modal: bigger controls on mobile */
  .zoom-close{
    width: 46px; height: 46px;
    font-size: 22px;
    top: 14px; right: 14px;
  }
  .zoom-nav{
    width: 52px; height: 52px;
    font-size: 34px;
  }

  /* Floating Pick-Up button */
  .mobile-fab{
    position: fixed;
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(77,163,255,1), rgba(77,163,255,.75));
    color: #071022;
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
  }

  /* Bottom navigation */
  .bottom-nav{
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 70;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(11,18,32,.92);
    border-top: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .bottom-nav a{
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 14px;
    text-decoration: none;
    color: rgba(255,255,255,.78);
  }
  .bottom-nav a span{ font-size: 18px; line-height: 1; }
  .bottom-nav a small{ font-size: 11px; line-height: 1; }
  .bottom-nav a.active{
    background: rgba(77,163,255,.18);
    color: #fff;
  }
}

/* Default: hide mobile-only UI */
.mobile-fab, .bottom-nav{ display:none; }
@media (max-width: 720px){
  .mobile-fab, .bottom-nav{ display:inline-flex; }
  .bottom-nav{ display:grid; }
}


/* Mobile-friendly tables */
.table-wrap{width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:14px;}
.table{min-width:720px;}
@media (max-width:720px){
  .table{min-width:640px;}
  .card{padding:14px;}
  .btn{padding:12px 14px;}
  .input, select, textarea{font-size:16px;}
}


/* Mobile table-to-cards */
@media (max-width:720px){
  .table.table-cards{min-width:0; width:100%; border-collapse:separate; border-spacing:0 10px;}
  .table.table-cards thead{display:none;}
  .table.table-cards tbody, .table.table-cards tr, .table.table-cards td{display:block; width:100%;}
  .table.table-cards tr{background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:14px; overflow:hidden; margin:0 0 12px 0;}
  .table.table-cards td{min-width:0; padding:10px 12px; border:none; border-bottom:1px solid rgba(255,255,255,.06); display:flex; gap:10px; align-items:flex-start; justify-content:space-between;}
  .table.table-cards td:last-child{border-bottom:none;}
  .table.table-cards td::before{content: attr(data-label); color: var(--muted); font-weight:600; flex: 0 0 42%; max-width:42%;}
  .table.table-cards td > *{flex: 1 1 auto;}
  /* Actions cell: keep buttons inside the card on mobile */
  .table.table-cards td.actions{display:block; justify-content:flex-start;}
  .table.table-cards td.actions::before{content:''; display:none;}
  .table.table-cards td.actions > *{flex:none; width:100%;}
  .table.table-cards td.actions form{width:100%;}
  .table.table-cards td.actions button{width:100%;}
  .table.table-cards details > summary.btn{width:100%; text-align:center;}
}


/* --- Home: Services (clean + pro) --- */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
  margin-top:16px;
}
.hero__content{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.hero__content h1{margin:0 0 8px; font-size:34px; letter-spacing:-0.02em;}
.hero__cta{margin-top:12px; flex-wrap:wrap;}
.hero__meta{
  margin-top:14px;
  display:flex;
  gap:10px 14px;
  flex-wrap:wrap;
  font-size:13px;
  color: var(--muted);
}
.hero__image{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  background:
    linear-gradient(120deg, rgba(77,163,255,.35), rgba(45,212,191,.18)),
    url('/assets/img/services/self-service.jpg') center/cover no-repeat;
  min-height: 240px;
}
.services{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:12px;
}
.service-card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.service-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
}
.service-card__body{padding:14px;}
.service-card__body h3{margin:0 0 6px;}
.service-bullets{
  margin:10px 0 0;
  padding-left:18px;
  color: var(--muted);
  font-size:14px;
}
.service-bullets li{margin:4px 0;}
@media (max-width: 920px){
  .hero{grid-template-columns: 1fr; }
  .hero__image{min-height: 200px;}
  .services{grid-template-columns: 1fr;}
  .hero__content h1{font-size:30px;}
}


/* Alerts */
.alert{padding:10px 12px;border-radius:10px;margin:10px 0;font-weight:700;color:#111}
.alert.success{background:#e8fff0;border:1px solid #b6f2c7;color:#14532d}
.alert.error{background:#fff1f1;border:1px solid #ffc6c6;color:#7f1d1d}


/* --- Mobile friendly tables + cards --- */
.table-wrap{ width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left; vertical-align:top; }
.m-cards{ display:none; }
.m-card{ border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:14px; margin:10px 0; background: rgba(18,27,47,.92); box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.m-row{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed rgba(255,255,255,.10); }
.m-row b{ color: rgba(234,241,255,.92); font-weight:800; }
.m-row span{ color: var(--text); }

/* Customer orders: improve readability */
.order-card{ border-color: rgba(77,163,255,.22); }
.order-card .badge{ font-weight:800; }
.order-actions .btn{ padding:10px 12px; }
.m-row:last-child{ border-bottom:none; }
@media (max-width: 720px){
  .table-wrap{ display:none; }
  .m-cards{ display:block; }
}


/* ===== Mobile Admin visibility fixes (Jan 2026) ===== */
@media (max-width:720px){
  /* Ensure list tables never force horizontal layout on mobile */
  .table.table-cards{min-width:0 !important;}
  /* When using card tables, allow full-width content (no horizontal scroll needed) */
  .table-wrap{overflow-x:visible;}
  /* Prevent long values from being clipped */
  .table.table-cards td{word-break:break-word;}
  .table.table-cards td::before{flex:0 0 38%; max-width:38%;}
}
/* ===== End fixes ===== */

/* ===== Global utility aliases (compat) ===== */
.ok{ padding:10px 12px; border-radius:14px; border:1px solid rgba(45,212,191,.35); background:rgba(45,212,191,.08); }
.err{ padding:10px 12px; border-radius:14px; border:1px solid rgba(251,113,133,.45); background:rgba(251,113,133,.10); }

/* ===== Zoom close reliability on mobile ===== */
.zoom-close{ z-index: 10001; pointer-events: auto; }

/* ===== Admin: always show tables on mobile (orders/customers/content) ===== */
@media (max-width: 720px){
  .admin-page .table-wrap{ display:block !important; overflow-x:auto; }
  .admin-page .m-cards{ display:none !important; }
}


/* ===== Admin Orders: better mobile layout (Jan 2026) ===== */
@media (max-width: 720px){
  .admin-page .table-wrap{ overflow-x: visible; }

  /* Put label above value to avoid cramped two-column rows */
  .admin-page .table.table-cards td{
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
  }
  .admin-page .table.table-cards td::before{
    flex: 0 0 auto;
    max-width: none;
    margin: 0;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
    opacity: .9;
  }

  /* Inputs should never overflow the card */
  .admin-page .table.table-cards input,
  .admin-page .table.table-cards select,
  .admin-page .table.table-cards textarea{
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Stack small "row" groups on mobile (delivery date/time, buttons, etc.) */
  .admin-page .table.table-cards .row{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  /* Actions: big full-width buttons */
  .admin-page .table.table-cards td[data-label="Actions"] form{
    width: 100%;
  }
  .admin-page .table.table-cards td[data-label="Actions"] .btn{
    width: 100%;
    justify-content: center;
  }
}
/* ===== End Admin Orders mobile layout ===== */

/* ===== Admin Orders: compact mobile panel with expandable details (Jan 2026) ===== */
@media (max-width: 720px){
  /* Only for the Orders page wrapper */
  .admin-page .orders-mobile-only .table-wrap{ display:none !important; }
  .admin-page .orders-mobile-only .m-cards{ display:block !important; }

  .admin-page .admin-orders-cards .order-card{ padding: 14px; }
  .admin-page .admin-orders-cards .badge{ font-weight: 800; }
  .admin-page .admin-orders-cards details.order-details > summary.btn{
    width: 100%;
    text-align: center;
  }
  .admin-page .admin-orders-cards details.order-details[open] > summary.btn{
    opacity: .92;
  }
  .admin-page .admin-orders-cards .stack{ display:flex; flex-direction:column; }

  /* Mobile button sizing (match other pages: full-width, consistent height) */
  .admin-page .admin-orders-cards .btn{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1;
  }
  /* Ensure spacing between actions inside the expanded panel */
  .admin-page .admin-orders-cards details.order-details .btn{ margin-top: 10px; }
  .admin-page .admin-orders-cards details.order-details > summary.btn{ margin-top: 0; }

}
/* ===== End Admin Orders compact panel ===== */

/* ---------- Save Loading Overlay ---------- */
.save-loading{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.55); opacity:0; pointer-events:none; transition:opacity .15s ease; z-index:1000; }
.save-loading.open{ opacity:1; pointer-events:auto; }
.save-loading-card{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:14px; background:rgba(17,18,20,.92); border:1px solid rgba(255,255,255,.12); box-shadow:0 14px 40px rgba(0,0,0,.45); }
.save-loading-text{ font-weight:700; letter-spacing:.2px; }
.spinner{ width:20px; height:20px; border-radius:50%; border:2px solid rgba(255,255,255,.28); border-top-color: rgba(255,255,255,.92); animation: spin .75s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.is-disabled{ opacity:.7; cursor:not-allowed; }

/* Admin subnav swipe hint (mobile) */
.admin-subnav-hint{display:none; font-size:12px; color:var(--muted,#667); margin-top:6px; text-align:right;}
@media (max-width:700px){
  .admin-subnav-hint{display:block;}
  .admin-subnav-wrap{top:0;}
}


/* ===== Global button safety (prevent double-line labels) ===== */
.btn, .btnlink, .nav a{
  white-space: nowrap;
}

/* Compact buttons for dense tables/cards */
.btn.btn-sm{
  padding:6px 10px;
  border-radius:12px;
  font-size:13px;
}

/* Actions grid: equal-size buttons, compact use of space */
.actions-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(90px,1fr);
  gap:8px;
  align-items:center;
}
.actions-grid > *{ width:100%; }
.actions-grid .btn{ width:100%; justify-content:center; }
.actions-grid details.action-details{ width:100%; }
.actions-grid details.action-details > summary.btn{ list-style:none; cursor:pointer; text-align:center; }
@media(max-width:520px){
  .actions-grid{
    grid-auto-flow:row;
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  .actions-grid .btn{ width:100%; }
}



/* Content publish form: stack Start/End dates */
.content-date-stack{ display:flex; flex-direction:column; gap:10px; }
.content-date-field{ width:100%; }
.content-date-field .input{ width:100%; }

/* ===== Admin Content actions: keep buttons at bottom and mobile friendly ===== */
.admin-post-actions{ padding:0 14px 14px; }
.admin-post-actions .actions-grid{ margin-top:10px; }

/* Smooth slide-down edit panel inside content posts */
.edit-panel{ max-height:0; overflow:hidden; opacity:0; transition:max-height .28s ease, opacity .20s ease; }
.edit-panel.open{ opacity:1; }
.edit-panel .edit-panel-inner{ margin-top:8px; padding:16px; }
.body-textarea{min-height:240px; resize:vertical;}

/* Content edit form: use available space without overflowing cards */
.content-edit-form{ width:100%; }
.content-edit-form label{ display:block; font-weight:700; margin:8px 0 6px; }
.content-edit-form .cef-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:14px;
  align-items:end; /* align Title input and Status toggle baseline */
}
.content-edit-form .cef-field{ min-width:0; }
.content-edit-form .cef-field > label{ margin-top:0; }
.content-edit-form .cef-full{ margin-top:6px; }
.content-edit-form .cef-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-height:46px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background: rgba(255,255,255,.03);
}
.content-edit-form .cef-toggle input{ transform: scale(1.1); }
.content-edit-form .cef-toggle span{ font-weight:700; white-space:nowrap; }
.content-edit-form .cef-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:12px;
  flex-wrap:wrap;
}
.content-edit-form .cef-actions .btn{ min-width:140px; justify-content:center; }

@media(max-width:720px){
  .content-edit-form .cef-grid{ grid-template-columns:1fr; }
  .content-edit-form .cef-actions{ justify-content:stretch; }
  .content-edit-form .cef-actions .btn{ flex:1; min-width:0; }
}
@media(max-width:520px){
  .admin-post-actions{ padding:0 12px 12px; }
  /* Larger touch targets for mobile (Email / Edit / Delete) */
  .admin-post-actions .btn.btn-sm{
    padding:12px 12px;
    font-size:15px;
    border-radius:14px;
    min-height:44px;
  }
  .admin-post-actions .actions-grid{ gap:10px; }

  /* Make edit panel wider on mobile for easier editing */
  .edit-panel .edit-panel-inner{ margin-left:-12px; margin-right:-12px; border-radius:16px; padding:14px; }
  .content-edit-form .cef-actions{ gap:12px; }
  .body-textarea{ min-height:220px; }
}


/* ===== Content "Facebook-like" cards ===== */
.post-sections{display:flex; flex-direction:column; gap:18px}
.post-section-title{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 10px}
.post-grid{display:flex; flex-direction:column; gap:12px}

.post-card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius:18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  overflow:hidden;
}
.post-card .post-head{
  padding:12px 14px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.post-card .post-title{font-weight:800}
.post-card .post-meta{font-size:12px; opacity:.8; margin-top:4px}
.post-card .post-body{padding:0 14px 12px; color: rgba(234,241,255,.92)}
.post-card .post-media{
  display:flex; gap:10px; flex-wrap:wrap;
  padding:0 14px 12px;
}
.post-card .post-media img{
  width:100%;
  max-width:260px;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
}
@media(max-width:520px){
  .post-card .post-media img{max-width:100%}
}

/* Small inline forms */
.inline-form{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.inline-form input[type="email"]{
  max-width:240px;
}


/* ------------------------------------------------------------
   Admin consistency & section spacing (Jan 2026)
------------------------------------------------------------ */
.admin-page .card{ margin-bottom:16px; }
.admin-page .admin-subnav-wrap{ margin-top:12px !important; margin-bottom:16px !important; }
.admin-page .admin-subnav{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.admin-page .admin-subnav .btn{ white-space:nowrap; }
.admin-page .section-space{ margin-top:14px; }
.admin-page .form-row-space{ margin-top:10px; }

/* ===== Content mobile layout fixes ===== */

/* Action buttons in one row */
.content-actions{
    display:flex;
    gap:8px;
    flex-wrap:nowrap;
}

@media (max-width: 768px){
    .content-actions button{
        flex:1;
        font-size:15px;
        padding:12px 10px;
        min-height:44px;
    }
}

/* Edit container (Title + Status) bigger on mobile */
@media (max-width: 768px){
    .content-edit-container{
        padding:16px !important;
    }
    .content-edit-container input,
    .content-edit-container select{
        font-size:16px;
        height:44px;
    }
}

/* New content form: reduce excessive height */
.new-content-container{
    padding-bottom:16px !important;
}


/* ===== Content: actions row + mobile sizing tweaks (v34) ===== */

/* Keep Email/Edit/Delete on a single row */
.actions-grid{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}
.actions-grid form{ margin:0; }
.actions-grid > *{ flex:1; }
.actions-grid button{ width:100%; }

/* Make edit header (Title + Status) roomier on mobile */
@media (max-width: 768px){
  .edit-panel-inner{
    padding:14px !important;
  }
  .content-edit-form .cef-grid{
    grid-template-columns: 1fr !important;
    gap:12px !important;
  }
  .content-edit-form .cef-field .input,
  .content-edit-form .cef-field select,
  .content-edit-form .cef-toggle{
    font-size:16px;
  }
  .content-edit-form .cef-field .input{
    height:44px;
  }
  .content-edit-form .cef-toggle{
    padding:10px 12px;
    border-radius:12px;
  }
}

/* Publish (new post) card: reduce excessive vertical growth */
@media (max-width: 768px){
  .grid > aside.card{
    padding:14px !important;
  }
  .grid > aside.card textarea.body-textarea{
    min-height: 140px;
  }
  .grid > aside.card label{
    margin-top:10px;
    display:block;
  }
  .grid > aside.card .input[type="file"]{
    padding:10px 12px;
  }
}


/* ===== Content v35: native date picker + compact new publication ===== */

/* Make date inputs look consistent */
.content-date-field .date-input{
  max-width: 220px;
}

/* Compact "New publication" (left card) so it ends right after Back button */
@media (max-width: 768px){
  .grid > aside.card{
    padding: 12px !important;
    margin-bottom: 12px !important;
  }
  .grid > aside.card form{
    margin-bottom: 0 !important;
  }
  .grid > aside.card textarea.body-textarea{
    min-height: 110px !important;
    max-height: 180px;
  }
  .grid > aside.card .content-date-field{
    margin-bottom: 10px;
  }
  .grid > aside.card .btn{
    padding: 12px 12px;
  }
}


/* ===== Content v36: new form static + equal buttons + wider edit ===== */

/* New publication card should size to content only (no extra empty height) */
.grid > aside.card{
  height: fit-content;
  align-self: flex-start;
}

/* Ensure form doesn't add extra space */
.grid > aside.card form,
.grid > aside.card .card-body{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Publish + Back same size */
.newpost-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.newpost-actions .btn,
.newpost-actions button,
.newpost-actions a{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 12px;
  font-size:15px;
}

/* Make the expanded edit form wider (avoid narrow column on mobile/desktop) */
.content-edit-container{
  width: 100%;
  max-width: none !important;
}

@media (max-width: 768px){
  /* If the edit form sits inside a grid column, make it span full width */
  .content-edit-container{
    padding:18px !important;
  }
}

/* If there is a wrapper that limits width, remove it */
.modal, .panel, .edit-panel{
  max-width:none;
}


/* ===== Content v37: stop grid stretching + wider edit on mobile ===== */

/* Prevent left "New publication" card from stretching to match the right column height */
.grid{ align-items:start; }
.grid > aside.card{ align-self:start; height: fit-content; }

/* Make Publish + Back same size and keep the card compact */
.newpost-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.newpost-actions .btn,
.newpost-actions button,
.newpost-actions a{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 12px;
  font-size:15px;
  white-space:nowrap;
}

/* Ensure the New Publication card ends right after the buttons (no extra bottom space) */
.grid > aside.card form{ margin-bottom:0 !important; }
.grid > aside.card{ padding-bottom:12px !important; }

/* Content action buttons row (Email/Edit/Delete) never wraps */
.content-actions{ display:flex; gap:8px; flex-wrap:nowrap; }
.content-actions > *{ flex:1; min-width:0; }
.content-actions .btn, .content-actions button, .content-actions a{ white-space:nowrap; min-height:44px; }

/* Edit form was narrow: stack Title/Status on mobile and increase padding */
@media (max-width: 768px){
  .edit-panel .edit-panel-inner{ padding:18px !important; }
  .content-edit-form .cef-grid{ grid-template-columns:1fr !important; gap:10px !important; align-items:stretch !important; }
  .content-edit-form .cef-grid .cef-field{ width:100%; }
  .content-edit-form input.input, .content-edit-form textarea.input, .content-edit-form select.input{ font-size:16px; }
}


/* ===== Content v39: Inline edit (no panel container) ===== */
.content-edit-form{
  width: 100%;
  margin-top: 12px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.content-edit-form .cef-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

@media (max-width: 768px){
  .content-edit-form .cef-grid{
    grid-template-columns: 1fr;
  }
}

.content-edit-form .edit-actions,
.content-edit-form .cef-actions{
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.content-edit-form .edit-actions .btn,
.content-edit-form .cef-actions .btn,
.content-edit-form .edit-actions button,
.content-edit-form .cef-actions button,
.content-edit-form .edit-actions a,
.content-edit-form .cef-actions a{
  flex: 1;
  min-height: 44px;
  white-space: nowrap;
}


/* Auth buttons sizing (Login / Forgot Password) */
.login-actions{
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.login-actions .btn,
.login-actions button{
  flex: 1;
  min-height: 44px;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 10px;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
}

/* Forgot password submit button (web + mobile) */
.reset-btn{
  width: 100%;
  min-height: 44px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 16px;
  border-radius: 10px;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
}


/* ===== History filters (mobile fix) ===== */
.history-filters > div {
  min-width: 0; /* prevent date inputs from overflowing and overlapping */
}
.history-filters label {
  display:block;
  margin-bottom: 6px;
}
.history-actions .btn {
  min-height: 44px;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 10px;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .history-filters {
    align-items: stretch !important;
  }
  .history-filters > div {
    flex: 1 1 100%;
  }
  .history-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px !important;
  }
  .history-actions .btn {
    width: 100%;
  }
}


/* ===== LOGIN MOBILE: BUTTONS SAME ROW (FIX) ===== */
@media (max-width: 768px){
  .login-actions{
    display:flex !important;
    flex-direction: row !important;
    gap:10px !important;
  }
  .login-actions .btn,
  .login-actions button{
    flex:1 1 0;
    min-height:44px;
    padding: 0 12px !important;
    font-size:14px !important;
    white-space:nowrap;
  }
}

}


/* ===== LOGIN & PICK UP MOBILE: CENTER ACTION BUTTONS (FIX2) ===== */
@media (max-width: 768px){
  .login-actions a.btn,
  .login-actions button.btn,
  .login-actions .btn{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
}


/* FIX DEFINITIVO: CENTER TEXT IN CREATE ACCOUNT (MOBILE) */
@media (max-width: 768px){
  .login-actions a.btn{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 !important;
  }
}


/* ===== MOBILE: BOTTOM NAV STABLE (SPACER FIX) ===== */
@media (max-width: 768px){
  /* Reserve scroll space so the last content never "pushes" the fixed app bar */
  .bottom-nav-spacer{ height: 92px; }

  /* Keep fixed bar stable on iOS/Android */
  .bottom-nav{
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}



.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;align-items:center;margin-top:16px}
.hero__content{padding:8px 4px}
.hero__content h1{font-size:clamp(32px,5vw,52px);line-height:1.02;margin:0 0 12px}
.hero__cta{margin-top:16px}
.hero__meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px;color:var(--muted);font-size:14px}
.hero__image{min-height:300px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow);background:
  linear-gradient(135deg, rgba(77,163,255,.22), rgba(45,212,191,.16)),
  radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 38%),
  rgba(255,255,255,.03)}
.prices-hero{min-height:260px;background:
  linear-gradient(135deg, rgba(77,163,255,.20), rgba(45,212,191,.14)),
  radial-gradient(circle at 20% 20%, rgba(255,255,255,.24), transparent 25%),
  radial-gradient(circle at 75% 30%, rgba(255,255,255,.12), transparent 18%),
  radial-gradient(circle at 55% 70%, rgba(77,163,255,.18), transparent 30%),
  rgba(255,255,255,.03)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.service-card{border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.02)}
.service-card img{display:block;width:100%;height:220px;object-fit:cover}
.service-card__body{padding:14px}
.service-card__body h3{margin:0 0 8px}
.service-bullets{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.price-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.price-feature-card{padding:18px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}
.price-feature-value{font-size:30px;font-weight:900;line-height:1.05;margin:6px 0 8px}
.price-group + .price-group{margin-top:16px}
.price-group h3{margin:0 0 10px}
.price-list{border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.02)}
.price-row-public{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.price-row-public:last-child{border-bottom:none}
.price-row-main{min-width:0}
.price-item-name{font-weight:800}
.price-item-value{font-weight:900;font-size:20px;white-space:nowrap}
.price-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:900px){
  .hero{grid-template-columns:1fr}
  .services{grid-template-columns:1fr}
  .price-feature-grid,.price-note-grid{grid-template-columns:1fr}
  .hero__image{min-height:220px}
}
@media(max-width:640px){
  .price-row-public{padding:12px}
  .price-item-value{font-size:18px}
  .hero__meta{font-size:13px;gap:10px}
}


/* ===== Customer dashboard mobile polish (does not affect desktop) ===== */
@media (max-width: 720px){
  body.customer-dashboard-page{background: radial-gradient(circle at top, rgba(37,99,235,.18), transparent 34%), #07111f;}
  body.customer-dashboard-page .container{padding:10px !important;}
  body.customer-dashboard-page .grid{display:grid !important;grid-template-columns:1fr !important;gap:12px !important;margin-top:10px !important;}
  body.customer-dashboard-page section.card,body.customer-dashboard-page aside.card,body.customer-dashboard-page .card{border-radius:18px !important;padding:14px !important;margin-left:0 !important;margin-right:0 !important;overflow:hidden;}
  body.customer-dashboard-page h2{font-size:22px !important;line-height:1.15 !important;}
  body.customer-dashboard-page h3{font-size:18px !important;line-height:1.2 !important;}
  body.customer-dashboard-page h4{font-size:16px !important;line-height:1.2 !important;}
  body.customer-dashboard-page p,body.customer-dashboard-page .muted,body.customer-dashboard-page .small{line-height:1.45 !important;}
  body.customer-dashboard-page .row{display:grid !important;grid-template-columns:1fr !important;gap:10px !important;}
  body.customer-dashboard-page label{display:block;margin-bottom:6px;font-size:13px;font-weight:800;}
  body.customer-dashboard-page .input,body.customer-dashboard-page input,body.customer-dashboard-page select,body.customer-dashboard-page textarea{width:100% !important;min-width:0 !important;box-sizing:border-box !important;font-size:16px !important;}
  body.customer-dashboard-page .btn,body.customer-dashboard-page button.btn,body.customer-dashboard-page a.btn{width:100%;justify-content:center;text-align:center;min-height:44px;box-sizing:border-box;}
  body.customer-dashboard-page form[method="post"]{max-width:100%;}
  body.customer-dashboard-page .table-wrap,body.customer-dashboard-page .dashboard-mobile-table{display:none !important;}
  body.customer-dashboard-page .m-cards{display:block !important;}
  body.customer-dashboard-page .m-card{border-radius:16px !important;padding:12px !important;margin:10px 0 !important;background:rgba(15,23,42,.96) !important;}
  body.customer-dashboard-page .m-row{display:grid !important;grid-template-columns:40% 1fr !important;gap:10px !important;align-items:start !important;}
  body.customer-dashboard-page .m-row span{text-align:right;overflow-wrap:anywhere;}
  body.customer-dashboard-page .order-actions,body.customer-dashboard-page .delivery-change form,body.customer-dashboard-page #my-benefits form{display:grid !important;grid-template-columns:1fr !important;gap:8px !important;}
  body.customer-dashboard-page #my-benefits{scroll-margin-top:78px !important;}
  body.customer-dashboard-page #my-benefits .grid-3{display:grid !important;grid-template-columns:1fr !important;gap:12px !important;}
  body.customer-dashboard-page #my-benefits .grid-3 > .card{margin:0 !important;padding:13px !important;}
  body.customer-dashboard-page #my-benefits div[style*="grid-template-columns:repeat(3"],body.customer-dashboard-page #my-benefits div[style*="grid-template-columns: repeat(3"]{grid-template-columns:1fr !important;}
  body.customer-dashboard-page #my-benefits div[style*="display:flex;justify-content:space-between"],body.customer-dashboard-page #my-benefits div[style*="display:flex; justify-content:space-between"]{display:grid !important;grid-template-columns:1fr !important;gap:6px !important;}
  body.customer-dashboard-page #my-benefits div[style*="align-items:center"]{align-items:stretch !important;}
  body.customer-dashboard-page #my-benefits span,body.customer-dashboard-page #my-benefits strong{overflow-wrap:anywhere;}
  body.customer-dashboard-page aside.card{order:2;}
}
@media (max-width:420px){
  body.customer-dashboard-page .m-row{grid-template-columns:1fr !important;}
  body.customer-dashboard-page .m-row span{text-align:left;}
  body.customer-dashboard-page .card{padding:12px !important;}
}
/* ===== End customer dashboard mobile polish ===== */

/* ===== Customer dashboard mobile menu: unified with Home ===== */
@media (max-width: 720px){
  body.customer-dashboard-page .nav .row.navlinks{
    display:none !important;
    width:100% !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    grid-template-columns:none !important;
    gap:8px !important;
    margin-top:0 !important;
  }
  body.customer-dashboard-page .nav .row.navlinks.open{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
  }
  body.customer-dashboard-page .nav .row.navlinks a{
    width:auto !important;
    flex:1 1 auto !important;
    text-align:center !important;
    padding:12px 12px !important;
    font-size:14px !important;
  }
  body.customer-dashboard-page .nav-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
}
/* ===== End customer dashboard mobile menu: unified with Home ===== */


/* ===== Blue Laundry lead robot (public pages only) ===== */
.blue-lead-robot{position:fixed;right:18px;bottom:92px;z-index:9998;font-family:inherit;color:#e5f1ff;}
.blue-lead-robot__bubble{position:relative;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:11px 14px;background:linear-gradient(135deg,#0f5bff,#00a3ff);color:#fff;font-weight:900;box-shadow:0 14px 34px rgba(15,91,255,.32);cursor:pointer;min-height:48px;}
.blue-lead-robot__bubble:hover{transform:translateY(-1px);filter:brightness(1.04);}
.blue-lead-robot__emoji{font-size:22px;line-height:1;}
.blue-lead-robot__label{font-size:14px;white-space:nowrap;}
.blue-lead-robot__pulse{position:absolute;inset:-5px;border-radius:999px;border:2px solid rgba(56,189,248,.45);animation:blueRobotPulse 1.9s ease-out infinite;pointer-events:none;}
@keyframes blueRobotPulse{0%{opacity:.9;transform:scale(.96)}80%,100%{opacity:0;transform:scale(1.2)}}
.blue-lead-robot__panel{display:none;position:absolute;right:0;bottom:62px;width:min(360px,calc(100vw - 28px));border-radius:22px;overflow:hidden;background:rgba(8,18,34,.98);border:1px solid rgba(148,163,184,.25);box-shadow:0 24px 60px rgba(0,0,0,.42);backdrop-filter:blur(12px);}
.blue-lead-robot__panel.open{display:block;animation:blueRobotIn .18s ease-out both;}
@keyframes blueRobotIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.blue-lead-robot__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:linear-gradient(135deg,rgba(37,99,235,.38),rgba(14,165,233,.16));border-bottom:1px solid rgba(148,163,184,.18);}
.blue-lead-robot__head strong{display:block;font-size:16px;color:#fff;line-height:1.1;}
.blue-lead-robot__head span{display:block;font-size:12px;color:#bdd7ff;margin-top:3px;}
.blue-lead-robot__close{width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer;}
.blue-lead-robot__body{padding:15px;}
.blue-lead-robot__msg{margin:0 0 12px;color:#d9e8ff;line-height:1.45;font-size:14px;}
.blue-lead-robot__actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
.blue-lead-robot__cta{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border-radius:14px;text-align:center;text-decoration:none;font-weight:850;font-size:13px;line-height:1.15;color:#eaf4ff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);}
.blue-lead-robot__cta:hover{background:rgba(255,255,255,.13);text-decoration:none;}
.blue-lead-robot__cta.primary{grid-column:1/-1;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border-color:rgba(255,255,255,.22);font-size:15px;}
.blue-lead-robot__fine{margin:12px 0 0;color:#a9bddc;font-size:12px;text-align:center;}
@media(max-width:720px){.blue-lead-robot{right:10px;bottom:92px}.blue-lead-robot__label{display:none}.blue-lead-robot__bubble{width:54px;height:54px;padding:0;justify-content:center}.blue-lead-robot__panel{right:0;bottom:66px;width:calc(100vw - 20px)}.blue-lead-robot__actions{grid-template-columns:1fr}.blue-lead-robot__cta.primary{grid-column:auto}}
@media print{.blue-lead-robot{display:none!important;}}
/* ===== End Blue Laundry lead robot ===== */

/* Interactive Blue Laundry Bot v2 */
.blue-lead-robot{touch-action:none;transition:left .7s ease, top .7s ease, right .7s ease, bottom .7s ease;}
.blue-lead-robot__panel{max-height:min(78vh,720px);overflow:auto;}
.blue-lead-robot__mini-form{display:grid;gap:9px;margin-top:8px;}
.blue-lead-robot__mini-form label{display:grid;gap:5px;font-size:12px;color:#c9dbf7;font-weight:800;}
.blue-lead-robot__input{width:100%;min-height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;padding:9px 10px;box-sizing:border-box;font:inherit;font-size:14px;outline:none;}
.blue-lead-robot__input:focus{border-color:rgba(96,165,250,.72);box-shadow:0 0 0 3px rgba(37,99,235,.22);}
.blue-lead-robot__row{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.blue-lead-robot__links{margin-top:12px;}
.blue-lead-robot__msg.error{color:#fecaca;background:rgba(220,38,38,.14);border:1px solid rgba(248,113,113,.28);padding:9px;border-radius:12px;}
.blue-lead-robot__msg.success{color:#bbf7d0;background:rgba(22,163,74,.14);border:1px solid rgba(74,222,128,.25);padding:9px;border-radius:12px;}
.blue-lead-robot__cta[disabled],.blue-lead-robot__cta:disabled{opacity:.65;cursor:wait;filter:grayscale(.1);}
@media(max-width:720px){
  .blue-lead-robot{right:12px!important;bottom:154px!important;}
  .blue-lead-robot[style*="left"]{right:auto!important;bottom:auto!important;}
  .blue-lead-robot__panel{position:fixed;left:10px!important;right:10px!important;bottom:84px!important;top:auto!important;width:auto!important;max-height:calc(100vh - 110px);}
  .blue-lead-robot__row{grid-template-columns:1fr;}
  .blue-lead-robot__links{grid-template-columns:1fr 1fr!important;}
}

/* ===== Blue Laundry conversational robot v3 overrides ===== */
.blue-lead-robot{position:fixed;right:18px;bottom:92px;z-index:9998;font-family:inherit;color:#e5f1ff;touch-action:none;transition:left .7s ease,top .7s ease,right .7s ease,bottom .7s ease;}
.blue-lead-robot__bubble{position:relative;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:11px 14px;background:linear-gradient(135deg,#0f5bff,#00a3ff);color:#fff;font-weight:900;box-shadow:0 14px 34px rgba(15,91,255,.32);cursor:pointer;min-height:52px;}
.blue-lead-robot__bubble:hover{transform:translateY(-1px);filter:brightness(1.04);}
.blue-lead-robot__emoji{font-size:23px;line-height:1;}
.blue-lead-robot__label{font-size:14px;white-space:nowrap;}
.blue-lead-robot__pulse{position:absolute;inset:-5px;border-radius:999px;border:2px solid rgba(56,189,248,.45);animation:blueRobotPulse 1.9s ease-out infinite;pointer-events:none;}
.blue-lead-robot__panel{display:none;position:absolute;right:0;bottom:66px;width:min(390px,calc(100vw - 28px));border-radius:22px;overflow:hidden;background:rgba(8,18,34,.98);border:1px solid rgba(148,163,184,.25);box-shadow:0 24px 60px rgba(0,0,0,.42);backdrop-filter:blur(12px);max-height:min(78vh,720px);}
.blue-lead-robot__panel.open{display:flex;flex-direction:column;animation:blueRobotIn .18s ease-out both;}
.blue-lead-robot__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:linear-gradient(135deg,rgba(37,99,235,.38),rgba(14,165,233,.16));border-bottom:1px solid rgba(148,163,184,.18);}
.blue-lead-robot__head strong{display:block;font-size:16px;color:#fff;line-height:1.1;}
.blue-lead-robot__head span{display:block;font-size:12px;color:#bdd7ff;margin-top:3px;}
.blue-lead-robot__close{width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer;}
.blue-lead-robot__chat{display:flex;flex-direction:column;gap:9px;min-height:160px;max-height:340px;overflow:auto;padding:14px;background:linear-gradient(180deg,rgba(15,23,42,.42),rgba(2,6,23,.16));scroll-behavior:smooth;}
.blue-lead-robot__chat-msg{max-width:86%;padding:10px 12px;border-radius:16px;font-size:14px;line-height:1.38;box-shadow:0 6px 18px rgba(0,0,0,.12);word-wrap:break-word;}
.blue-lead-robot__chat-msg.from-bot{align-self:flex-start;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.10);color:#eaf4ff;border-bottom-left-radius:6px;}
.blue-lead-robot__chat-msg.from-user{align-self:flex-end;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;border-bottom-right-radius:6px;}
.blue-lead-robot__quick{display:flex;gap:7px;flex-wrap:wrap;padding:10px 12px 4px;border-top:1px solid rgba(255,255,255,.07);}
.blue-lead-robot__reply{border:1px solid rgba(147,197,253,.32);background:rgba(37,99,235,.18);color:#eaf4ff;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:850;cursor:pointer;}
.blue-lead-robot__reply:hover{background:rgba(37,99,235,.32);}
.blue-lead-robot__composer{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 12px 12px;}
.blue-lead-robot__input{width:100%;min-height:42px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;padding:9px 11px;box-sizing:border-box;font:inherit;font-size:14px;outline:none;}
.blue-lead-robot__input::placeholder{color:#9fb4d5;}
.blue-lead-robot__input:focus{border-color:rgba(96,165,250,.72);box-shadow:0 0 0 3px rgba(37,99,235,.22);}
.blue-lead-robot__send{min-height:42px;border:0;border-radius:14px;padding:0 14px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-weight:900;cursor:pointer;}
.blue-lead-robot__links{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.06);border-top:1px solid rgba(255,255,255,.08);}
.blue-lead-robot__links a{display:flex;align-items:center;justify-content:center;min-height:38px;color:#cfe5ff;text-decoration:none;font-size:12px;font-weight:850;background:rgba(255,255,255,.03);}
.blue-lead-robot__links a:hover{background:rgba(255,255,255,.09);text-decoration:none;}
.blue-lead-robot__typing{display:inline-flex;align-items:center;gap:6px;color:#bfdbfe;}
@media(max-width:720px){
  .blue-lead-robot{right:12px!important;bottom:154px!important;}
  .blue-lead-robot[style*="left"]{right:auto!important;bottom:auto!important;}
  .blue-lead-robot__label{display:none;}
  .blue-lead-robot__bubble{width:56px;height:56px;padding:0;justify-content:center;}
  .blue-lead-robot__panel{position:fixed!important;left:10px!important;right:10px!important;bottom:84px!important;top:auto!important;width:auto!important;max-height:calc(100vh - 110px);}
  .blue-lead-robot__chat{max-height:calc(100vh - 330px);min-height:170px;}
  .blue-lead-robot__links{grid-template-columns:repeat(2,1fr);}
}
@media print{.blue-lead-robot{display:none!important;}}

/* ==========================================================
   Public layout lock: keep Home, Services anchors, Prices,
   Commercial, Benefits, Promotions, News, Tips, Pick-Up and
   Contact visually consistent when navigating.
   ========================================================== */
body:not(.admin-page){
  font-size:16px !important;
  line-height:1.5 !important;
  overflow-x:hidden;
}
body:not(.admin-page) .container{
  width:min(100%, 1180px) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:18px !important;
  padding-right:18px !important;
}
body:not(.admin-page) .nav{
  width:100% !important;
  min-height:74px !important;
  align-items:center !important;
}
body:not(.admin-page) .nav .left{
  flex:0 0 auto !important;
  min-width:260px !important;
}
body:not(.admin-page) .nav .row.navlinks{
  flex:1 1 auto !important;
  min-width:0 !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:8px !important;
}
body:not(.admin-page) .nav a,
body:not(.admin-page) .nav .btnlink,
body:not(.admin-page) .btn{
  font-size:14px !important;
  line-height:1.15 !important;
}
body:not(.admin-page) h1{
  font-size:clamp(26px, 3vw, 36px) !important;
  line-height:1.08 !important;
  letter-spacing:-.02em !important;
  white-space:normal !important;
}
body:not(.admin-page) h2{
  font-size:clamp(21px, 2vw, 26px) !important;
  line-height:1.15 !important;
}
body:not(.admin-page) h3{
  font-size:18px !important;
  line-height:1.2 !important;
}
body:not(.admin-page) p,
body:not(.admin-page) li,
body:not(.admin-page) .muted,
body:not(.admin-page) .small{
  overflow-wrap:break-word;
}
body:not(.admin-page) .card,
body:not(.admin-page) .hero,
body:not(.admin-page) section.card{
  width:100% !important;
  max-width:100% !important;
}
body:not(.admin-page) .hero{
  margin-top:16px !important;
}
body:not(.admin-page) .hero__content,
body:not(.admin-page) .hero__image,
body:not(.admin-page) .commercial-art{
  min-height:300px;
}
body:not(.admin-page) .row.hero__cta,
body:not(.admin-page) .hero__cta,
body:not(.admin-page) .row{
  align-items:center;
}
body:not(.admin-page) img,
body:not(.admin-page) video{
  max-width:100%;
}
@media (min-width: 921px){
  body:not(.admin-page) .hero{
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr) !important;
  }
}
@media (max-width: 920px){
  body:not(.admin-page) .container{
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body:not(.admin-page) .nav{
    min-height:auto !important;
  }
  body:not(.admin-page) .nav .left{
    min-width:0 !important;
    width:100% !important;
  }
  body:not(.admin-page) .hero,
  body:not(.admin-page) .commercial-hero{
    grid-template-columns:1fr !important;
  }
  body:not(.admin-page) .hero__content,
  body:not(.admin-page) .hero__image,
  body:not(.admin-page) .commercial-art{
    min-height:auto !important;
  }
  body:not(.admin-page) .hero__image,
  body:not(.admin-page) .commercial-art{
    min-height:220px !important;
  }
}
@media (max-width: 720px){
  body:not(.admin-page){
    font-size:16px !important;
  }
  body:not(.admin-page) .container{
    width:100% !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
  body:not(.admin-page) .nav a,
  body:not(.admin-page) .nav .btnlink{
    font-size:14px !important;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  body:not(.admin-page) h1{
    font-size:26px !important;
  }
  body:not(.admin-page) h2{
    font-size:21px !important;
  }
  body:not(.admin-page) .card{
    padding:14px !important;
  }
  body:not(.admin-page) .row > *{
    flex:1 1 auto;
  }
  body:not(.admin-page) .hero__cta .btn{
    flex:1 1 100%;
    text-align:center;
  }
}
