/*
 * EasyGas reference pages
 * Shared orange/white visual language for client profile, depot search and seller tools.
 */

:root {
  --egr-orange: #ff6500;
  --egr-orange-dark: #e95300;
  --egr-orange-soft: #fff1e6;
  --egr-ink: #15161d;
  --egr-muted: #777b88;
  --egr-line: #e9e9ee;
  --egr-green: #16a34a;
  --egr-shadow: 0 14px 36px rgba(28, 22, 18, .08);
}

.eg-cylinder-image {
  display: block;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(106, 42, 4, .18));
}
.eg-cylinder-image--hero { width: 150px; height: 235px; justify-self: end; }
.eg-cylinder-image--mini { width: 70px; height: 102px; }
.eg-cylinder-image--chip { width: 43px; height: 65px; }
.eg-cylinder-image--profile { z-index: 2; width: 116px; height: 190px; justify-self: end; }
.eg-ac-hero-cylinder { display: none; }

/* Client profile */
.eg-profile {
  width: min(100% - 32px, 920px);
  margin: 96px auto 48px;
  color: var(--egr-ink);
  font-family: var(--ecm-font-body);
}

.eg-profile a { text-decoration: none; }

.eg-profile-top {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.eg-profile-brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: #101116 !important;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.07em;
}

.eg-profile-brand strong { color: var(--egr-orange); }
.eg-profile-brand i {
  position: absolute;
  top: -8px;
  right: 4px;
  color: var(--egr-orange);
  font-size: .8rem;
}

.eg-profile-notification {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--egr-line);
  border-radius: 50%;
  color: #202128 !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 20, 24, .07);
  font-size: 1.2rem;
}

.eg-profile-notification span {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--egr-orange);
  font-size: .6rem;
  font-weight: 900;
}

.eg-profile-identity {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid #ffe1ca;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 38%, rgba(255, 104, 0, .13), transparent 30%),
    linear-gradient(110deg, #fff 0%, #fffaf6 55%, #fff0e2 100%);
}

.eg-profile-identity::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -60%;
  width: 230px;
  height: 230px;
  border: 35px solid rgba(255, 101, 0, .07);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(26deg);
}

.eg-profile-avatar {
  position: relative;
  z-index: 2;
  width: 126px;
  height: 126px;
}

.eg-profile-avatar img {
  width: 100%;
  height: 100%;
  border: 5px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(45, 32, 22, .12);
}

.eg-profile-avatar a {
  position: absolute;
  right: -2px;
  bottom: 1px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--egr-orange);
  background: #fff5ed;
  box-shadow: 0 8px 16px rgba(34, 25, 19, .1);
}

.eg-profile-person { position: relative; z-index: 2; min-width: 0; }
.eg-profile-person h1 {
  margin: 0 0 8px;
  color: var(--egr-ink) !important;
  font-family: var(--ecm-font-display) !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 900;
  letter-spacing: -.04em;
}
.eg-profile-person h1 i { color: var(--egr-orange); font-size: .7em; }
.eg-profile-person p { margin: 2px 0; color: var(--egr-muted); }
.eg-profile-person > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #c45500;
  background: #fff0d6;
  font-size: .8rem;
  font-weight: 800;
}

.eg-cylinder--profile {
  z-index: 2;
  justify-self: end;
  width: 116px;
  height: 190px;
}

.eg-profile-wallet,
.eg-profile-account {
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid var(--egr-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--egr-shadow);
}

.eg-profile-section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}

.eg-profile-section-line h2,
.eg-profile-account > h2 {
  margin: 0;
  color: var(--egr-ink) !important;
  font-family: var(--ecm-font-display) !important;
  font-size: 1.2rem !important;
  font-weight: 900;
}

.eg-profile-section-line > a,
.eg-profile-section-line > span {
  color: var(--egr-orange) !important;
  font-size: .8rem;
  font-weight: 800;
}

.eg-wallet-content {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--egr-line);
}

.eg-wallet-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #ff7b0b, #ff5100);
  box-shadow: 0 12px 22px rgba(255, 91, 0, .25);
  font-size: 1.35rem;
}

.eg-wallet-content small,
.eg-wallet-content strong { display: block; }
.eg-wallet-content small { margin-bottom: 3px; color: var(--egr-muted); }
.eg-wallet-content strong { font-size: 1.4rem; font-weight: 900; }
.eg-wallet-content > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #f1dfd2;
  border-radius: 15px;
  color: var(--egr-ink) !important;
  background: #fffaf6;
  font-weight: 800;
}
.eg-wallet-content > a i { color: var(--egr-orange); }

.eg-profile-shortcuts { margin-top: 30px; }
.eg-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.eg-shortcut-grid > a {
  position: relative;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 8px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: var(--egr-ink) !important;
  background: linear-gradient(145deg, #fff9f4, #fff3e9);
  text-align: center;
  font-size: .8rem;
  font-weight: 800;
}
.eg-shortcut-grid > a:nth-child(2) { background: linear-gradient(145deg, #f4fff7, #e9fbef); }
.eg-shortcut-grid > a:nth-child(3) { background: linear-gradient(145deg, #faf6ff, #f1eaff); }
.eg-shortcut-grid > a:nth-child(4) { background: linear-gradient(145deg, #f4f9ff, #e9f3ff); }
.eg-shortcut-grid > a:nth-child(5) { background: linear-gradient(145deg, #fffaf1, #fff1dc); }
.eg-shortcut-grid i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--egr-orange);
  background: rgba(255, 101, 0, .08);
  font-size: 1.35rem;
}
.eg-shortcut-grid > a:nth-child(2) i { color: #16a34a; background: rgba(22, 163, 74, .08); }
.eg-shortcut-grid > a:nth-child(3) i { color: #8b5cf6; background: rgba(139, 92, 246, .09); }
.eg-shortcut-grid > a:nth-child(4) i { color: #2678e8; background: rgba(38, 120, 232, .08); }
.eg-shortcut-grid b {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--egr-orange);
  font-size: .62rem;
}

.eg-profile-account > h2 { margin-bottom: 13px; }
.eg-account-list a {
  min-height: 56px;
  display: grid;
  grid-template-columns: 38px 1fr 16px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--egr-line);
  color: var(--egr-ink) !important;
  font-weight: 700;
}
.eg-account-list a:last-child { border-bottom: 0; }
.eg-account-list a > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--egr-orange);
  background: var(--egr-orange-soft);
}
.eg-account-list a:nth-child(2) > i,
.eg-account-list a:nth-child(6) > i { color: #16a34a; background: #ecfdf3; }
.eg-account-list a:nth-child(3) > i,
.eg-account-list a:nth-child(5) > i { color: #2678e8; background: #edf5ff; }
.eg-account-list a:nth-child(7) > i { color: #8b5cf6; background: #f4efff; }
.eg-account-list em { color: #737783; font-size: .78rem; }

.eg-profile-logout { margin: 24px 0 12px; }
.eg-profile-logout button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  color: #dc2626;
  background: #fff0f0;
  font-weight: 900;
}
.eg-profile-logout i { margin-right: 8px; }

/* Seller pages — replace the pastel treatment with the reference orange system. */
.sd-soft.easygas-seller {
  --sd-primary: var(--egr-orange);
  --sd-primary-dark: var(--egr-orange-dark);
  --sd-peach-soft: var(--egr-orange-soft);
  --sd-lilac-soft: #fff7f1;
  --sd-sage-soft: #fffaf6;
}

.sd-soft.easygas-seller .sd-gas-hero {
  border-color: #ffe0c9;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 52%, #ffebdc 100%);
}
.sd-soft.easygas-seller .sd-gas-hero__icon {
  color: var(--egr-orange);
  background: var(--egr-orange-soft);
}
.sd-soft.easygas-seller .btn-primary,
.sd-soft.easygas-seller .btn-success,
.sd-soft.easygas-seller .sd-btn-soft--primary {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #ff7800, #ff5400) !important;
  box-shadow: 0 8px 20px rgba(255, 91, 0, .25) !important;
}
.sd-soft.easygas-seller .form-control:focus,
.sd-soft.easygas-seller .form-select:focus {
  border-color: rgba(255, 101, 0, .5);
  box-shadow: 0 0 0 3px rgba(255, 101, 0, .12);
}

.eg-seller-mobile-dock { display: none; }
.eg-pc-shell { display: none; }

.eg-mobile-account-menu { position: relative; }
.eg-mobile-account-menu summary { list-style: none; cursor: pointer; }
.eg-mobile-account-menu summary::-webkit-details-marker { display: none; }
.eg-mobile-account-menu > div {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 10px);
  left: 0;
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid #e8ebef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(20, 27, 40, .18);
}
.eg-mobile-account-menu header { padding: 9px 11px 11px; border-bottom: 1px solid #eef0f3; }
.eg-mobile-account-menu header strong,
.eg-mobile-account-menu header small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eg-mobile-account-menu header strong { font-size: .82rem; }
.eg-mobile-account-menu header small { margin-top: 2px; color: #7b8392; font-size: .63rem; }
.eg-mobile-account-menu a,
.eg-mobile-account-menu button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  color: #303746;
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}
.eg-mobile-account-menu a i,
.eg-mobile-account-menu button i { width: 18px; color: #7a8391; text-align: center; }
.eg-mobile-account-menu a.is-depot { margin: 5px 0; color: #fff; background: linear-gradient(135deg, #ff7300, #ff4f00); }
.eg-mobile-account-menu a.is-depot i { color: #fff; }
.eg-mobile-account-menu form { margin: 0; }
.eg-ac-actions .eg-ac-my-depot { color: #fff !important; border-color: #ff5a00; background: #ff5a00; }

@media (min-width: 992px) {
  body:has(.eg-pc-shell) {
    padding: 76px 0 0 240px !important;
    overflow-x: hidden;
    background: #f8f9fb !important;
  }

  body:has(.eg-pc-shell) #ecm-nav,
  body:has(.eg-pc-shell) .ecm-footer-wave,
  body:has(.eg-pc-shell) .ecm-footer {
    display: none !important;
  }

  .eg-pc-shell { display: block; }

  .eg-pc-sidebar {
    position: fixed;
    z-index: 2147483500;
    inset: 0 auto 0 0;
    width: 240px;
    display: flex;
    flex-direction: column;
    padding: 20px 14px 22px;
    border-right: 1px solid #e9ebef;
    background: rgba(255, 255, 255, .98);
    box-shadow: 8px 0 32px rgba(31, 38, 51, .025);
  }

  .eg-pc-logo {
    position: relative;
    align-self: flex-start;
    display: inline-flex;
    align-items: baseline;
    margin: 0 12px 24px;
    color: #0d0e12 !important;
    font-family: var(--ecm-font-display);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -.075em;
    text-decoration: none;
  }
  .eg-pc-logo strong { color: var(--egr-orange); }
  .eg-pc-logo i { position: absolute; top: -8px; right: 2px; color: var(--egr-orange); font-size: .78rem; }

  .eg-pc-sidebar nav {
    display: grid;
    gap: 5px;
  }
  .eg-pc-sidebar nav a {
    min-height: 44px;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 11px;
    color: #465064 !important;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    transition: color .18s ease, background .18s ease, transform .18s ease;
  }
  .eg-pc-sidebar nav a i { width: 20px; text-align: center; font-size: .9rem; }
  .eg-pc-sidebar nav a:hover { color: var(--egr-orange) !important; background: #fff7f1; transform: translateX(2px); }
  .eg-pc-sidebar nav a.eg-pc-home-link { margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid #ECEFF4; }
  .eg-pc-sidebar nav a.is-active {
    color: var(--egr-orange) !important;
    background: linear-gradient(100deg, #fff0e5, #fff8f4);
    box-shadow: inset 3px 0 0 var(--egr-orange);
  }

  .eg-pc-help {
    margin-top: auto;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 14px;
    border: 1px solid #ffe0ca;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffaf6, #fff2e8);
  }
  .eg-pc-help > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--egr-orange);
    background: #fff;
  }
  .eg-pc-help strong,
  .eg-pc-help span,
  .eg-pc-help a { display: block; }
  .eg-pc-help strong { margin-bottom: 3px; font-size: .75rem; }
  .eg-pc-help span { color: var(--egr-muted); font-size: .65rem; }
  .eg-pc-help a { margin-top: 7px; color: var(--egr-orange) !important; font-size: .7rem; font-weight: 900; text-decoration: none; }

  .eg-pc-topbar {
    position: fixed;
    z-index: 2147483400;
    top: 0;
    right: 0;
    left: 240px;
    height: 76px;
    display: grid;
    grid-template-columns: 190px minmax(260px, 1fr) auto 44px 44px minmax(150px, auto);
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-bottom: 1px solid #e9ebef;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 30px rgba(31, 38, 51, .035);
    backdrop-filter: blur(18px);
  }
  .eg-pc-location {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--egr-ink) !important;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
  }
  .eg-pc-location .fa-location-dot { color: var(--egr-orange); font-size: 1rem; }
  .eg-pc-location .fa-chevron-down { margin-left: auto; color: var(--egr-muted); font-size: .62rem; }
  .eg-pc-search {
    min-height: 44px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dfe3ea;
    border-radius: 12px;
    background: #fff;
  }
  .eg-pc-search input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; color: var(--egr-ink); font-size: .8rem; }
  .eg-pc-search input::placeholder { color: #9da3b1; }
  .eg-pc-search button { width: 44px; align-self: stretch; border: 0; color: #4a5365; background: transparent; }
  .eg-pc-scan {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(135deg, #ff7800, #ff5400);
    box-shadow: 0 10px 20px rgba(255, 91, 0, .2);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
  }
  .eg-pc-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #485166 !important;
    text-decoration: none;
  }
  .eg-pc-icon > i { font-size: 1.08rem; }
  .eg-pc-icon b {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--egr-orange);
    font-size: .52rem;
  }
  .eg-pc-user {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px 1fr 12px;
    align-items: center;
    gap: 9px;
    color: var(--egr-ink) !important;
    text-decoration: none;
  }
  .eg-pc-user img,
  .eg-pc-user > span { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
  .eg-pc-user > span { display: grid; place-items: center; color: var(--egr-orange); background: var(--egr-orange-soft); }
  .eg-pc-user strong,
  .eg-pc-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .eg-pc-user strong { font-size: .74rem; }
  .eg-pc-user small { color: var(--egr-muted); font-size: .64rem; }
  .eg-pc-user > i { color: var(--egr-muted); font-size: .55rem; }

  .eg-pc-user-wrap { position: relative; }
  button.eg-pc-user { border: 0; background: transparent; cursor: pointer; }
  .eg-pc-user-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 230px;
    padding: 8px;
    border: 1px solid #e9ebef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(31, 38, 51, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 2147483600;
  }
  .eg-pc-user-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .eg-pc-user-menu__head {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 10px;
    margin: 2px 2px 7px;
    padding: 8px 9px 11px;
    border-bottom: 1px solid #eef0f4;
  }
  .eg-pc-user-menu__head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
  .eg-pc-user-menu__head strong,
  .eg-pc-user-menu__head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .eg-pc-user-menu__head strong { font-size: .72rem; }
  .eg-pc-user-menu__head small { color: var(--egr-muted); font-size: .57rem; }
  .eg-pc-user-menu a,
  .eg-pc-user-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--egr-ink) !important;
    font-size: .82rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
  }
  .eg-pc-user-menu a i,
  .eg-pc-user-menu button i { width: 18px; text-align: center; color: var(--egr-muted); }
  .eg-pc-user-menu a:hover,
  .eg-pc-user-menu button:hover { background: #fff7f1; color: var(--egr-orange) !important; }
  .eg-pc-user-menu a:hover i,
  .eg-pc-user-menu button:hover i { color: var(--egr-orange); }
  .eg-pc-user-menu form { display: block; }
  .eg-pc-user-menu__sep { margin: 6px 4px; border-top: 1px solid #eef0f4; }
  .eg-pc-user-menu a.eg-pc-user-menu__depot {
    align-items: center;
    margin-bottom: 5px;
    color: #fff !important;
    background: linear-gradient(135deg, #ff7300, #ff4f00);
  }
  .eg-pc-user-menu a.eg-pc-user-menu__depot i { color: #fff; }
  .eg-pc-user-menu a.eg-pc-user-menu__depot span { min-width: 0; }
  .eg-pc-user-menu a.eg-pc-user-menu__depot strong,
  .eg-pc-user-menu a.eg-pc-user-menu__depot small { display: block; }
  .eg-pc-user-menu a.eg-pc-user-menu__depot strong { font-size: .72rem; }
  .eg-pc-user-menu a.eg-pc-user-menu__depot small { margin-top: 1px; color: rgba(255,255,255,.8); font-size: .54rem; font-weight: 600; }
  .eg-pc-user-menu a.eg-pc-user-menu__depot:hover { color: #fff !important; background: linear-gradient(135deg, #f16900, #ea4900); }
  .eg-pc-sidebar nav a.eg-pc-my-depot {
    color: #fff !important;
    background: linear-gradient(135deg, #ff7300, #ff4f00);
    box-shadow: 0 9px 18px rgba(255, 90, 0, .16);
  }
  .eg-pc-sidebar nav a.eg-pc-my-depot:hover { color: #fff !important; background: linear-gradient(135deg, #f16900, #ea4900); }

  body:has(.eg-pc-shell) .eg-app {
    width: calc(100% - 40px) !important;
    margin: 20px auto 44px !important;
  }
  body:has(.eg-pc-shell) .eg-profile {
    width: min(100% - 40px, 1040px);
    margin: 24px auto 48px;
  }
  body:has(.eg-pc-shell) .eg-ptrack-page,
  body:has(.eg-pc-shell) .eg-yango-page {
    min-height: calc(100vh - 76px);
    padding-top: 24px;
  }

  /* Home page: retain its real content while adopting the supplied desktop shell. */
  body:has(.eg-pc-shell) .eg-ac-landing {
    min-height: calc(100vh - 76px);
    padding: 20px;
    background: #f8f9fb;
  }
  body:has(.eg-pc-shell) .eg-ac-nav { display: none !important; }
  body:has(.eg-pc-shell) .eg-ac-wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
  }
  body:has(.eg-pc-shell) .eg-ac-hero-grid {
    min-height: 430px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid #ffe1ca;
    border-radius: 26px;
    background:
      radial-gradient(circle at 78% 45%, rgba(255, 101, 0, .14), transparent 22rem),
      linear-gradient(120deg, #fff 0%, #fff9f4 48%, #ffead9 100%);
    box-shadow: 0 18px 48px rgba(58, 34, 17, .065);
  }
  body:has(.eg-pc-shell) .eg-ac-primary {
    background: linear-gradient(135deg, #ff7800, #ff5400) !important;
    box-shadow: 0 12px 24px rgba(255, 91, 0, .22);
  }
  body:has(.eg-pc-shell) .eg-ac-pill {
    color: var(--egr-orange) !important;
    border-color: #ffd3b5 !important;
    background: #fff4eb !important;
  }
  body:has(.eg-pc-shell) .eg-ac-copy h1 span,
  body:has(.eg-pc-shell) .eg-ac-section-kicker,
  body:has(.eg-pc-shell) .eg-ac-stat strong {
    color: var(--egr-orange) !important;
  }
  body:has(.eg-pc-shell) .eg-ac-feature-row i,
  body:has(.eg-pc-shell) .eg-ac-how-num {
    color: var(--egr-orange) !important;
  }
  body:has(.eg-pc-shell) .eg-ac-visual {
    display: grid !important;
    place-items: center;
  }
  body:has(.eg-pc-shell) .eg-ac-visual > :not(.eg-ac-hero-cylinder) {
    display: none !important;
  }
  body:has(.eg-pc-shell) .eg-ac-hero-cylinder {
    width: min(100%, 300px);
    height: 390px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 28px 24px rgba(113, 42, 0, .24));
  }
}

@media (min-width: 761px) {
  body:has(.eg-app),
  body:has(.eg-profile),
  body:has(.easygas-seller) {
    background:
      radial-gradient(circle at 8% 12%, rgba(255, 101, 0, .055), transparent 28rem),
      #f7f8fb !important;
  }

  body:has(.eg-app) {
    padding-top: 0 !important;
  }

  /* Public depot finder: desktop is now the wide version of the mobile app. */
  .eg-app {
    --eg-app-accent: var(--egr-orange);
    --eg-app-accent-dark: var(--egr-orange-dark);
    --eg-app-bg: #f7f8fb;
    --eg-app-surface: #fff;
    --eg-app-border: var(--egr-line);
    width: min(100% - 48px, 1280px) !important;
    min-height: 0 !important;
    display: block !important;
    margin: 32px auto 50px !important;
    overflow: hidden;
    border: 1px solid rgba(232, 232, 238, .92);
    border-radius: 32px;
    color: var(--egr-ink);
    background: #fff !important;
    box-shadow: 0 28px 80px rgba(31, 24, 20, .1);
    font-family: var(--ecm-font-body);
  }

  .eg-app .eg-app-sidebar {
    display: none !important;
  }

  .eg-app .eg-app-main {
    width: 100% !important;
    max-width: none !important;
    padding: 30px 34px 38px !important;
    background: #fff;
  }

  .eg-app .eg-mobile-order-header {
    min-height: 68px;
    display: grid !important;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    margin-bottom: 22px;
  }

  .eg-app .eg-mobile-order-header__title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .eg-app .eg-mobile-order-header__title strong {
    color: var(--egr-ink);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -.04em;
  }

  .eg-app .eg-mobile-order-header__title small {
    margin-top: 3px;
    color: var(--egr-muted);
    font-size: .82rem;
  }

  .eg-app .eg-mobile-order-header__back,
  .eg-app .eg-mobile-order-header__cart {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--egr-line);
    border-radius: 50%;
    color: var(--egr-ink) !important;
    background: #fff;
    box-shadow: 0 8px 20px rgba(28, 22, 18, .07);
  }

  .eg-app .eg-mobile-order-header__cart { justify-self: end; }
  .eg-app .eg-mobile-order-header__cart span {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--egr-orange);
    font-size: .58rem;
    font-weight: 900;
  }

  .eg-app .eg-mobile-order-intro {
    display: none !important;
  }

  .eg-app .eg-app-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 190px 150px !important;
    gap: 12px !important;
    margin: 0 0 22px !important;
    padding: 12px !important;
    border: 1px solid var(--egr-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(40, 27, 17, .055) !important;
  }

  .eg-app .eg-app-topbar-search {
    order: 1;
    min-height: 52px;
    padding: 0 17px;
    border: 1px solid #ededf1;
    border-radius: 15px;
    background: #fafafd;
  }

  .eg-app .eg-app-topbar-search::after {
    content: "\f1de";
    margin-left: auto;
    color: #5d606b;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .eg-app .eg-app-topbar-location,
  .eg-app .eg-app-topbar-scan {
    min-height: 52px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 15px !important;
    color: var(--egr-ink) !important;
    background: var(--egr-orange-soft) !important;
    box-shadow: none !important;
    text-align: left;
  }

  .eg-app .eg-app-topbar-location { order: 2; }
  .eg-app .eg-app-topbar-scan { order: 3; color: #fff !important; background: linear-gradient(135deg, #ff7800, #ff5400) !important; }
  .eg-app .eg-app-topbar-location > i { color: var(--egr-orange); }
  .eg-app .eg-app-topbar-location small { color: var(--egr-muted); }
  .eg-app .eg-app-topbar > .eg-app-topbar-icon { display: none !important; }

  .eg-app .eg-mobile-gas-types {
    display: block !important;
    margin-bottom: 22px;
  }

  .eg-app .eg-mobile-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .eg-app .eg-mobile-section-title h2 {
    margin: 0;
    color: var(--egr-ink) !important;
    font-family: var(--ecm-font-display) !important;
    font-size: 1.08rem !important;
    font-weight: 900;
  }

  .eg-app .eg-mobile-section-title a { color: var(--egr-orange) !important; font-size: .8rem; font-weight: 800; }
  .eg-app .eg-mobile-gas-types__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .eg-app .eg-mobile-gas-type {
    min-height: 78px;
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--egr-line);
    border-radius: 18px;
    color: var(--egr-ink) !important;
    background: #fff;
    text-decoration: none;
  }
  .eg-app .eg-mobile-gas-type.is-active {
    border-color: var(--egr-orange);
    background: #fff9f4;
    box-shadow: 0 8px 20px rgba(255, 101, 0, .08);
  }
  .eg-app .eg-mobile-gas-type b,
  .eg-app .eg-mobile-gas-type small { display: block; }
  .eg-app .eg-mobile-gas-type b { font-weight: 900; }
  .eg-app .eg-mobile-gas-type small { margin-top: 3px; color: var(--egr-muted); font-size: .7rem; }
  .eg-app .eg-cylinder--chip { width: 38px; height: 61px; }
  .eg-app .eg-mobile-gas-type:not(.is-active) .eg-cylinder { filter: grayscale(1) opacity(.72); }

  .eg-app .eg-order-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    margin: 0 !important;
  }

  .eg-app .eg-order-map {
    order: -1 !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    min-height: 210px !important;
    height: 210px !important;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #dcefe7 !important;
    border-radius: 24px !important;
    background: #edf8f3;
    box-shadow: 0 12px 30px rgba(29, 75, 56, .07) !important;
  }

  .eg-app .eg-map-canvas {
    min-height: 210px !important;
    height: 210px !important;
    border-radius: 24px !important;
  }

  .eg-app .eg-map-toolbar {
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(24, 39, 34, .08);
  }

  .eg-app .eg-map-toolbar span i,
  .eg-app .eg-map-toolbar button { color: var(--egr-orange); }

  .eg-app .eg-order-list { width: 100% !important; max-width: none !important; }
  .eg-app .eg-mobile-depot-heading {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .eg-app .eg-mobile-depot-heading h2 {
    margin: 0;
    color: var(--egr-ink) !important;
    font-family: var(--ecm-font-display) !important;
    font-size: 1.25rem !important;
    font-weight: 900;
  }
  .eg-app .eg-mobile-depot-heading > div > span { color: var(--egr-green); font-size: .75rem; font-weight: 800; }
  .eg-app .eg-mobile-depot-heading > button {
    border: 0;
    color: var(--egr-muted);
    background: transparent;
    font-size: .82rem;
  }
  .eg-app .eg-mobile-depot-heading > button strong { color: var(--egr-orange); }

  .eg-app .eg-order-filters-form { margin-bottom: 16px; }
  .eg-app .eg-filter-toggle {
    border-color: #ffd9bd;
    color: var(--egr-orange);
    background: var(--egr-orange-soft);
  }

  .eg-app .eg-depot-stack {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
  }

  .eg-app .eg-depot-card {
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--egr-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(28, 22, 18, .065) !important;
  }

  .eg-app .eg-depot-card.is-nearest { border-color: #ffc89f !important; }
  .eg-app .eg-nearest-badge {
    z-index: 3;
    color: #fff;
    background: var(--egr-orange);
  }
  .eg-app .eg-depot-media { width: 100% !important; min-height: 190px !important; height: 190px !important; }
  .eg-app .eg-depot-media img { width: 100%; height: 100%; object-fit: cover; }
  .eg-app .eg-depot-info { min-width: 0; padding: 17px !important; }
  .eg-app .eg-depot-top h2 {
    color: var(--egr-ink) !important;
    font-family: var(--ecm-font-display) !important;
    font-size: 1.02rem !important;
  }
  .eg-app .eg-depot-metrics i { color: #f4a300; }
  .eg-app .eg-mini-grid span { border-color: #edf0f3; background: #fafbfc; }
  .eg-app .eg-card-actions a,
  .eg-app .eg-card-actions button {
    border-radius: 11px;
    font-weight: 800;
  }
  .eg-app .eg-card-actions button {
    border-color: var(--egr-orange);
    background: linear-gradient(135deg, #ff7800, #ff5400);
  }

  /* Seller workspace follows the same white/orange mobile cards on desktop. */
  .easygas-seller {
    min-height: 100vh;
    color: var(--egr-ink);
    background: #f7f8fb !important;
  }
  .easygas-seller .sd-soft__bg { display: none; }
  .easygas-seller .sd-gas-wrap { max-width: 1280px; }
  .easygas-seller .sd-gas-hero,
  .easygas-seller .card,
  .easygas-seller .sd-card {
    border: 1px solid var(--egr-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 12px 34px rgba(28, 22, 18, .065) !important;
  }
  .easygas-seller .sd-gas-hero {
    background:
      radial-gradient(circle at 92% 45%, rgba(255, 101, 0, .12), transparent 15rem),
      linear-gradient(135deg, #fff, #fff9f4) !important;
  }
  .easygas-seller .sd-gas-hero__icon {
    color: #fff;
    background: linear-gradient(145deg, #ff7900, #ff5200);
  }
  .easygas-seller .eg-seller-main-toolbar .btn-primary,
  .easygas-seller .eg-seller-main-toolbar .btn:hover {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #ff7800, #ff5400) !important;
  }
  .easygas-seller #kpiRow > div:first-child .card {
    color: #fff;
    border-color: transparent !important;
    background: linear-gradient(135deg, #ff7800, #ff5400) !important;
    box-shadow: 0 16px 32px rgba(255, 91, 0, .24) !important;
  }
  .easygas-seller #kpiRow > div:first-child .text-muted { color: rgba(255, 255, 255, .78) !important; }
}

@media (max-width: 760px) {
  body:has(.eg-profile),
  body:has(.easygas-seller) {
    padding-top: 0 !important;
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fff !important;
  }

  body:has(.eg-profile) #ecm-nav,
  body:has(.eg-profile) .ecm-footer-wave,
  body:has(.eg-profile) .ecm-footer,
  body:has(.eg-profile) #globalChatToggle,
  body:has(.easygas-seller) #ecm-nav,
  body:has(.easygas-seller) .ecm-footer-wave,
  body:has(.easygas-seller) .ecm-footer,
  body:has(.easygas-seller) #globalChatToggle {
    display: none !important;
  }

  .eg-profile {
    width: 100%;
    margin: 0;
    padding: 18px 16px 28px;
    overflow: hidden;
  }

  .eg-profile-top { min-height: 58px; margin-bottom: 12px; }
  .eg-profile-brand { font-size: 1.55rem; }
  .eg-profile-notification { width: 40px; height: 40px; }

  .eg-profile-identity {
    min-height: 190px;
    grid-template-columns: 82px minmax(0, 1fr) 72px;
    gap: 12px;
    padding: 20px 14px;
    border-radius: 24px 24px 0 0;
  }
  .eg-profile-avatar { width: 78px; height: 78px; }
  .eg-profile-avatar a { width: 30px; height: 30px; font-size: .7rem; }
  .eg-profile-person h1 { font-size: 1.08rem !important; white-space: nowrap; }
  .eg-profile-person p { overflow: hidden; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
  .eg-profile-person > span { margin-top: 8px; padding: 6px 9px; font-size: .65rem; }
  .eg-cylinder-image--profile { width: 68px; height: 116px; transform: translateY(17px); }
  .eg-cylinder-image--hero { width: 92px; height: 145px; transform: translateY(8px); }
  .eg-cylinder-image--mini { width: 58px; height: 82px; }
  .eg-cylinder-image--chip { width: 35px; height: 56px; }

  .eg-profile-wallet {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    padding: 18px 15px;
    border-radius: 22px;
  }
  .eg-profile-section-line h2,
  .eg-profile-account > h2 { font-size: 1rem !important; }
  .eg-profile-section-line > a,
  .eg-profile-section-line > span { font-size: .7rem; }
  .eg-wallet-content { grid-template-columns: 52px 1fr; gap: 12px; }
  .eg-wallet-icon { width: 50px; height: 50px; border-radius: 14px; }
  .eg-wallet-content strong { font-size: 1.08rem; }
  .eg-wallet-content > a {
    grid-column: 1 / -1;
    min-height: 42px;
    justify-content: center;
  }

  .eg-profile-shortcuts { margin-top: 25px; }
  .eg-shortcut-grid {
    grid-template-columns: repeat(5, 112px);
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: none;
  }
  .eg-shortcut-grid::-webkit-scrollbar { display: none; }
  .eg-shortcut-grid > a { min-height: 128px; border-radius: 18px; }

  .eg-profile-account { margin-top: 22px; padding: 18px 14px; border-radius: 22px; }
  .eg-account-list a { min-height: 53px; font-size: .82rem; }

  .eg-mobile-order-header {
    min-height: 70px;
    margin-bottom: 14px;
  }
  .eg-mobile-order-header__title {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
  }
  .eg-mobile-order-header__title strong { font-size: 1.12rem; font-weight: 900; }
  .eg-mobile-order-header__title small { margin-top: 4px; color: var(--egr-muted); font-size: .68rem; }

  .eg-mobile-order-intro { display: none !important; }
  .eg-order-map,
  .eg-map-canvas {
    min-height: 170px !important;
    height: 170px !important;
  }

  .easygas-seller {
    min-height: 100vh;
    padding-bottom: 92px;
    color: var(--egr-ink);
    background: #fff !important;
  }
  .easygas-seller .sd-soft__bg { display: none; }
  .easygas-seller section.position-relative,
  .easygas-seller > .position-relative { padding: 16px 0 24px !important; }
  .easygas-seller .container { padding-inline: 14px !important; }
  .easygas-seller .sd-gas-hero {
    padding: 16px !important;
    border: 1px solid var(--egr-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--egr-shadow);
  }
  .easygas-seller .sd-gas-hero__icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #ff7900, #ff5200);
  }
  .easygas-seller .sd-gas-hero__title { font-size: 1.1rem; }
  .easygas-seller .sd-gas-hero__sub { font-size: .74rem; }
  .easygas-seller .eg-seller-main-toolbar { display: none !important; }
  .easygas-seller .eg-seller-toolbar-mobile {
    border: 0;
    background: transparent;
  }
  .easygas-seller .card,
  .easygas-seller .sd-card {
    border: 1px solid var(--egr-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(28, 22, 18, .06) !important;
  }
  .easygas-seller .sd-gas-page-head {
    align-items: center;
    margin-bottom: 18px;
  }
  .easygas-seller .sd-gas-page-head h1,
  .easygas-seller .sd-gas-page-head h2 {
    color: var(--egr-ink) !important;
    font-family: var(--ecm-font-display) !important;
    font-size: 1.15rem !important;
  }

  .eg-seller-mobile-dock {
    position: fixed;
    z-index: 2147483600;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    padding: 7px 7px calc(7px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--egr-line);
    border-radius: 24px 24px 0 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -10px 30px rgba(30, 22, 17, .09);
    backdrop-filter: blur(18px);
  }
  .eg-seller-mobile-dock a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #676a76;
    font-size: .59rem;
    font-weight: 800;
  }
  .eg-seller-mobile-dock i { color: #343640; font-size: 1.08rem; }
  .eg-seller-mobile-dock a.is-active,
  .eg-seller-mobile-dock a.is-active i { color: var(--egr-orange); }
  .eg-seller-mobile-dock__primary { transform: translateY(-16px); }
  .eg-seller-mobile-dock__primary i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    color: #fff !important;
    background: linear-gradient(145deg, #ff7900, #ff5200);
    box-shadow: 0 8px 20px rgba(255, 91, 0, .3);
    font-size: 1.25rem;
  }
}

/* Keep the shared desktop shell offsets authoritative after module overrides. */
@media (min-width: 992px) {
  body:has(.eg-pc-shell) {
    padding-top: 76px !important;
    padding-left: 240px !important;
  }

  body:has(.eg-pc-shell) .eg-app {
    margin-top: 20px !important;
  }
}

@media (min-width: 992px) {
  .eg-pc-location {
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }

  .eg-pc-location > span {
    min-width: 0;
    display: grid;
    gap: 1px;
  }

  .eg-pc-location b,
  .eg-pc-location small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .eg-pc-location b {
    color: var(--egr-ink);
    font-size: .76rem;
    font-weight: 900;
  }

  .eg-pc-location small {
    color: #12a150;
    font-size: .56rem;
    font-weight: 800;
  }

  .eg-pc-shell[data-eg-live-location] .eg-pc-location::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-radius: 999px;
    background: #18b65b;
    box-shadow: 0 0 0 5px rgba(24, 182, 91, .11);
  }
}
