/* Sea storefront shell — desktop + mobile for every remaining page. */

.app-mobile-only { display: none; }
.app-desktop-only { display: block; }
.home-app-quick { display: none !important; }

/* Home feed order: slider → categories, then the rest */
body.page-home .home-main > * { order: 10; }
body.page-home .home-hero,
body.page-home .home-app-hero { order: 1; }
body.page-home .home-categories { order: 2; }
body.page-home .home-deals,
body.page-home .sea-deals { order: 3; }
body.page-home .home-section--sale { order: 4; }
body.page-home .home-section--feed { order: 5; }
body.page-home .home-section--promo { order: 6; }
body.page-home .home-section--trust { order: 7; }
body.page-home .home-brands { order: 8; }
body.page-home .home-section--request { order: 9; }
body.page-home .sea-home-products { order: 20; }

.home-app-hero {
  width: min(100% - (var(--layout-gutter, 1rem) * 2), var(--layout-max, 1280px));
  margin-inline: auto;
}

.home-app-hero__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 183 3 / 38%) 0%, transparent 42%),
    linear-gradient(145deg, #023e8a 0%, var(--primary, #0077b6) 48%, #00b4d8 120%);
  color: #fff;
  box-shadow: 0 14px 32px rgb(0 119 182 / 24%);
}

.home-app-hero__card::after {
  content: "";
  position: absolute;
  inset-inline-end: -18%;
  bottom: -42%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  pointer-events: none;
}

.home-app-hero__card.has-media {
  padding: 0;
  min-height: 15.5rem;
}

.home-app-hero__card.has-media::after {
  display: none;
}

.home-app-hero__slider,
.home-app-hero__slider .swiper-wrapper,
.home-app-hero__slide {
  height: 100%;
  min-height: 15.5rem;
}

.home-app-hero__slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.15rem 1.15rem 1.25rem;
  overflow: hidden;
}

.home-app-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 42%;
}

.home-app-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(2 62 138 / 94%) 10%,
    rgb(0 119 182 / 58%) 46%,
    rgb(0 180 216 / 18%) 100%
  );
  pointer-events: none;
}

.home-app-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  width: 100%;
}

.home-app-hero__dots {
  position: absolute;
  inset-inline: 0;
  bottom: 0.4rem;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.home-app-hero__dots .swiper-pagination-bullet {
  width: 0.45rem;
  height: 0.45rem;
  background: #fff;
  opacity: 0.45;
}

.home-app-hero__dots .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary, #ffb703);
}

@media (max-width: 767.98px) {
  body.page-home .home-hero {
    display: none;
  }
}

.home-app-hero__kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--secondary, #ffb703);
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 900;
  transform: rotate(-2deg);
}

.home-app-hero__title {
  margin: 0;
  font-family: var(--font-heading, Cairo, sans-serif);
  font-size: clamp(1.2rem, 4.6vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 16ch;
}

.home-app-hero__copy {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  color: rgb(255 255 255 / 86%);
  max-width: 36ch;
}

.home-app-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.2rem;
}

.home-app-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary, #0077b6);
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgb(15 23 42 / 14%);
}

.home-app-hero__cta--ghost {
  background: rgb(255 255 255 / 14%);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 28%);
  box-shadow: none;
}

.home-products--rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(10.25rem, 42%);
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--layout-gutter, 1rem));
  padding-inline: var(--layout-gutter, 1rem);
  padding-bottom: 0.2rem;
}

.home-products--rail::-webkit-scrollbar { display: none; }

.home-products--rail .home-product {
  scroll-snap-align: start;
}

/* —— Desktop page chrome —— */
@media (min-width: 768px) {
  body.page-home .home-app-hero {
    display: none !important;
  }

  body.page-home .home-main {
    gap: 2.75rem;
    padding: 0.35rem 0 3.5rem;
  }

  body.page-home .home-hero {
    display: block;
    order: 1;
    width: min(100% - 3rem, var(--layout-max, 1280px));
    max-width: none;
    margin: 1rem auto 0;
    padding-inline: 0;
  }

  body.page-home .home-hero .shein-trends-main-slider,
  body.page-home .home-hero .swiper-container,
  body.page-home .home-hero__frame {
    min-height: 440px !important;
    max-height: 500px;
    border-radius: 2rem;
  }

  body.page-home .home-hero__content {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-inline: auto 0;
    padding: 2.5rem 2.75rem;
    gap: 0.85rem;
  }

  body.page-home .home-hero__title {
    font-size: clamp(2.1rem, 3.4vw, 3.15rem);
    max-width: 14ch;
    line-height: 1.15;
  }

  body.page-home .home-hero__copy {
    font-size: 1.05rem;
    max-width: 38ch;
    -webkit-line-clamp: 3;
  }

  body.page-home .home-hero__cta {
    min-height: 3.15rem;
    padding-inline: 1.6rem;
    font-size: 1.05rem;
    box-shadow: 0 14px 28px rgb(0 119 182 / 28%);
  }

  body.page-home .home-categories {
    order: 2;
  }

  body.page-home .home-deals,
  body.page-home .sea-deals { order: 3; }
  body.page-home .home-section--promo { order: 4; }
  body.page-home .home-section--trust { order: 5; }
  body.page-home .home-brands { order: 6; }
  body.page-home .home-section--request { order: 7; }
  body.page-home .sea-home-products { order: 20; }

  body.page-home .home-hero-products,
  body.page-home .home-main > .home-section:has(> .home-trust):not(.home-section--trust) {
    display: none !important;
  }

  body.page-home .home-deals.sea-deals,
  body.page-home .sea-deals {
    width: min(100% - 3rem, var(--layout-max, 1280px)) !important;
    margin-inline: auto !important;
    align-self: center !important;
  }

  body.page-home .sea-deals__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  body.page-home .sea-deals__block {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-home .home-section-head {
    margin-bottom: 1.15rem;
  }

  body.page-home .home-section-head h2 {
    font-size: 1.55rem;
  }

  body.page-home .home-cats__rail {
    grid-auto-columns: minmax(10.5rem, 11.25rem);
    gap: 1rem;
  }

  body.page-home .home-cat__label {
    font-size: 0.9rem;
  }

  body.page-home .home-products--rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.page-home .home-product {
    border-radius: 1.25rem;
    padding: 0.85rem;
  }

  body.page-home .home-product__title {
    font-size: 0.92rem;
    min-height: 2.6rem;
  }

  .sea-page {
    padding-block: 1.25rem 3rem;
  }

  .sea-page__title {
    font-size: clamp(1.55rem, 2.2vw, 2rem);
  }

  .sea-account__aside {
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }

  .sea-account__nav-link {
    min-height: 2.65rem;
  }

  .sea-auth {
    max-width: 30rem;
    margin-block: 2.5rem 4rem;
  }

  .sea-cms__content {
    max-width: 46rem;
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .sea-cms__content .form-control,
  .sea-cms__content textarea {
    min-height: 2.85rem;
  }

  .sea-footer {
    padding-top: 4.5rem;
  }

  .sea-footer .widget,
  .sea-footer .footer-widget,
  .sea-footer .sidebar-widget {
    margin-bottom: 1.5rem;
  }

  .sea-footer .widget ul,
  .sea-footer .footer-widget ul {
    display: grid;
    gap: 0.45rem;
    padding: 0;
    list-style: none;
  }

  .sea-brands__search input,
  .sea-categories__search input,
  .sea-stores__search input {
    min-height: 2.85rem;
    font-size: 1rem;
  }

  .sea-wish-head,
  .sea-cart-heading,
  .sea-categories__head,
  .sea-brands__head,
  .sea-stores .sea-page__title {
    margin-bottom: 1.35rem;
  }

  .sea-compare__table {
    border-radius: 1.15rem;
    overflow: hidden;
  }

  .sea-error-page__card {
    max-width: 36rem;
    margin-inline: auto;
  }

  .home-section-head h2 {
    font-size: 1.45rem;
  }

  .home-app-hero__card {
    padding: 1.75rem 2rem 1.85rem;
    border-radius: 1.6rem;
    min-height: 16rem;
    justify-content: center;
  }

  .home-app-hero__card.has-media,
  .home-app-hero__card.has-media .home-app-hero__slider,
  .home-app-hero__card.has-media .home-app-hero__slide {
    min-height: 20rem;
  }

  .home-app-hero__slide {
    padding: 1.75rem 2rem 1.85rem;
    justify-content: center;
  }

  .home-app-hero__shade {
    background: linear-gradient(
      to left,
      rgb(2 62 138 / 92%) 6%,
      rgb(0 119 182 / 52%) 38%,
      rgb(0 180 216 / 8%) 72%,
      transparent 88%
    );
  }

  .home-app-hero__media {
    object-position: 12% 40%;
  }

  .home-app-hero__body {
    max-width: 28rem;
  }

  .home-app-hero__title {
    font-size: 2.15rem;
    max-width: 14ch;
  }

  .home-app-hero__copy {
    font-size: 1rem;
  }

  .home-app-hero__cta {
    min-height: 3rem;
    padding-inline: 1.4rem;
  }

  .home-products--rail {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .sea-card--sticky {
    top: 6.75rem;
  }
}

/* —— Account app components (export account.html) —— */
.app-profile-hero {
  background: linear-gradient(145deg, var(--primary), #023e8a);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 14px 32px rgb(0 119 182 / 28%);
}
.app-profile-hero__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.app-profile-hero__avatar {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 18%);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.app-profile-hero__name {
  margin: 0;
  font-weight: 900;
  font-size: 1.1rem;
}
.app-profile-hero__meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.85;
}
.app-profile-hero__points {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.95rem;
  background: rgb(255 255 255 / 12%);
}
.app-profile-hero__points strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}
.app-profile-hero__points a {
  color: #0f172a;
  background: var(--secondary, #ffb703);
  font-weight: 900;
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}
.app-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.app-quick-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.35rem;
  min-height: 4.5rem;
  background: var(--card);
  border: 1px solid rgb(203 213 225 / 55%);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}
.app-quick-grid iconify-icon {
  font-size: 1.45rem;
}
.app-menu-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.app-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: var(--card);
  border: 1px solid rgb(203 213 225 / 55%);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 0.9rem;
}
.app-menu-list a iconify-icon:last-child {
  margin-inline-start: auto;
  color: var(--muted-foreground);
}
.app-menu-list a.is-danger {
  color: var(--destructive);
}
.app-order-card {
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid rgb(203 213 225 / 50%);
  border-radius: 1.15rem;
  text-decoration: none;
  color: inherit;
}

.sea-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.sea-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  border: 2px solid rgb(203 213 225 / 55%);
  background: var(--card);
  color: inherit;
}
.sea-chip.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.sea-settings__heading {
  display: none;
}

.customer-order-detail,
.bb-order-header,
.bb-payment-proof-card {
  background: var(--card);
  border: 1px solid rgb(203 213 225 / 55%);
  border-radius: 1.15rem;
  padding: 1rem 1.1rem;
}
.customer-order-detail {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: 0;
  padding: 0;
}
.bb-order-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0;
}
.bb-order-actions .btn,
.customer-order-detail .btn {
  min-height: 2.65rem;
  border-radius: 0.75rem;
  font-weight: 800;
}
.bb-payment-proof-card-title {
  font-weight: 900;
}
.sea-cms form .form-control,
.sea-cms form textarea,
.contact-form .form-control,
.contact-form textarea {
  min-height: 2.85rem;
  border-radius: 0.85rem;
}
.sea-cms form button[type="submit"],
.contact-form button,
.contact-form .btn {
  min-height: 2.85rem;
  border-radius: 0.85rem;
  font-weight: 900;
}

/* Sea mobile app shell — phones only. One chrome, 44px taps, no duplicate FABs. */
@media (max-width: 767.98px) {
  :root {
    --sea-tabbar-h: 4.65rem;
    --sea-safe-bottom: env(safe-area-inset-bottom, 0px);
    --sea-app-pad: calc(var(--sea-tabbar-h) + var(--sea-safe-bottom) + 0.75rem);
  }

  html {
    -webkit-text-size-adjust: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.sea-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
    padding-bottom: 0 !important;
    overscroll-behavior: none;
  }

  .sea-guest-banner {
    flex: 0 0 auto;
  }

  .sea-shell {
    flex: 1 1 auto;
    min-height: 0 !important;
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    padding-bottom: var(--sea-app-pad);
  }

  body.sea-menu-open,
  body:has(.bb-filter-offcanvas-area.offcanvas-opened) {
    overflow: hidden;
  }

  body.sea-menu-open .sea-shell {
    overflow: hidden !important;
  }

  body:has(.bb-filter-offcanvas-area.offcanvas-opened)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgb(15 23 42 / 42%);
  }

  /* —— Header: app bar (menu + logo + search). Cart/fav live in tabbar —— */
  .sea-header {
    padding-top: env(safe-area-inset-top, 0px);
    background: rgb(255 255 255 / 92%);
    backdrop-filter: saturate(1.4) blur(16px);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    border-bottom: 1px solid rgb(203 213 225 / 42%);
    box-shadow: 0 8px 24px rgb(15 23 42 / 4%);
  }

  .sea-header .sea-container {
    padding-inline: 0.85rem;
  }

  .sea-header__main {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-items: center;
    min-height: 3.15rem;
    padding-block: 0.35rem 0.15rem;
    gap: 0.45rem;
  }

  .sea-menu-open-btn {
    grid-column: 1;
    grid-row: 1;
    width: 2.75rem !important;
    height: 2.75rem !important;
    border-radius: 0.9rem !important;
    background: #eef3f9 !important;
    color: var(--foreground, #0f172a) !important;
  }

  .sea-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
  }

  .sea-logo__mark {
    transform: rotate(3deg);
  }

  .sea-logo__mark img {
    height: 2.65rem;
  }

  .sea-logo__name {
    display: none !important;
  }

  .sea-header__actions {
    display: none !important;
  }

  .sea-mobile-search {
    padding: 0 0 0.7rem;
  }

  .sea-mobile-search__form,
  .sea-mobile-search form {
    min-height: 2.85rem;
    padding-inline-start: 0.9rem;
    padding-inline-end: 0.28rem;
    background: #eef3f9;
    border: 0;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%);
  }

  .sea-mobile-search input,
  .sea-mobile-search input[type="search"] {
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .sea-mobile-search__submit {
    width: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    display: grid;
    place-items: center;
    background: var(--primary, #0077b6);
    color: #fff;
  }

  .sea-guest-banner {
    font-size: 0.75rem;
  }

  .sea-guest-banner__inner {
    padding-block: 0.45rem;
    gap: 0.4rem;
  }

  /* —— Tabbar —— */
  .sea-tabbar {
    display: flex !important;
    padding: 0.4rem 0.35rem calc(0.4rem + var(--sea-safe-bottom));
    border-radius: 1.15rem 1.15rem 0 0;
    box-shadow: 0 -8px 28px rgb(15 23 42 / 10%);
    min-height: calc(var(--sea-tabbar-h) + var(--sea-safe-bottom));
  }

  .sea-tabbar a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.75rem;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 800;
    -webkit-tap-highlight-color: transparent;
  }

  .sea-tabbar a.is-active {
    color: var(--primary);
  }

  .sea-tabbar__cart-wrap {
    top: -1.15rem;
    flex: 0 0 auto;
  }

  .sea-tabbar__cart {
    width: 3.35rem;
    height: 3.35rem;
  }

  .sea-tabbar .sea-badge {
    min-width: 1.15rem;
    height: 1.15rem;
    font-size: 0.65rem;
  }

  .sea-tabbar__icon {
    position: relative;
    display: grid;
    place-items: center;
  }

  .sea-tabbar__icon .sea-badge {
    position: absolute;
    top: -0.35rem;
    inset-inline-end: -0.55rem;
  }

  body.page-cart .sea-tabbar,
  body.page-checkout .sea-tabbar,
  body.page-product .sea-tabbar,
  body.page-product-detail .sea-tabbar,
  body.single-product .sea-tabbar {
    display: none !important;
  }

  body.page-cart,
  body.page-checkout,
  body.page-product,
  body.page-product-detail,
  body.single-product {
    padding-bottom: 0 !important;
  }

  body.page-cart .sea-shell,
  body.page-checkout .sea-shell,
  body.page-product .sea-shell,
  body.page-product-detail .sea-shell,
  body.single-product .sea-shell {
    padding-bottom: calc(5.25rem + var(--sea-safe-bottom));
  }

  body.page-cart main,
  body.page-checkout main,
  body.page-product-detail main,
  body.single-product main {
    padding-bottom: 0.75rem !important;
  }

  /* —— Single FAB: WhatsApp only, above tabbar —— */
  .sea-plp__filter-fab {
    display: none !important;
  }

  .sea-feedback-fab {
    display: none !important;
  }

  .sea-help {
    left: 0.85rem !important;
    right: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    bottom: calc(var(--sea-tabbar-h) + var(--sea-safe-bottom) + 0.65rem) !important;
    z-index: 45 !important;
  }

  .sea-help #help-panel {
    display: block !important;
  }

  .sea-help__panel {
    width: min(17rem, calc(100vw - 2rem));
  }

  .sea-help__fab {
    width: 3rem;
    height: 3rem;
  }

  .sea-whatsapp {
    inset-inline-start: 0.85rem !important;
    inset-inline-end: auto !important;
    bottom: calc(var(--sea-tabbar-h) + var(--sea-safe-bottom) + 0.65rem) !important;
    padding: 0.35rem !important;
    z-index: 45 !important;
  }

  .sea-whatsapp__bubble {
    display: none !important;
  }

  .sea-whatsapp__icon {
    width: 2.85rem;
    height: 2.85rem;
  }

  body.page-cart .sea-whatsapp,
  body.page-checkout .sea-whatsapp,
  body.page-product-detail .sea-whatsapp,
  body.single-product .sea-whatsapp,
  body.page-cart .sea-help,
  body.page-checkout .sea-help,
  body.page-product-detail .sea-help,
  body.single-product .sea-help {
    bottom: calc(5.85rem + var(--sea-safe-bottom)) !important;
  }

  /* —— Filter as bottom sheet —— */
  .bb-filter-offcanvas-area,
  .bb-filter-offcanvas-area-on-desktop,
  .sea-plp-offcanvas {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: min(86dvh, 40rem) !important;
    max-height: 86dvh !important;
    transform: translateY(110%) !important;
    border-radius: 1.35rem 1.35rem 0 0 !important;
    box-shadow: 0 -18px 48px rgb(15 23 42 / 18%) !important;
    z-index: 80 !important;
    background: #fff !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .bb-filter-offcanvas-area.offcanvas-opened,
  .sea-plp-offcanvas.offcanvas-opened {
    transform: translateY(0) !important;
  }

  .bb-filter-offcanvas-wrapper,
  .sea-plp-offcanvas__panel {
    padding: 0.35rem 1rem calc(1.25rem + var(--sea-safe-bottom)) !important;
    min-height: 0 !important;
  }

  .sea-plp-offcanvas__panel::before,
  .bb-filter-offcanvas-wrapper::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.28rem;
    margin: 0.45rem auto 0.85rem;
    border-radius: 999px;
    background: #cbd5e1;
  }

  .sea-plp-offcanvas__close-btn {
    min-height: 2.75rem;
  }

  /* —— Listing —— */
  body.sea-body .sea-breadcrumb,
  body.sea-body nav.sea-breadcrumb,
  body.sea-body .home-section.sea-breadcrumb,
  body.sea-body .tp-breadcrumb-area,
  body.sea-body .breadcrumb-area,
  body.sea-body .breadcrumb__area,
  body.sea-body nav[aria-label="مسار الصفحة"],
  body.sea-body nav[aria-label="Breadcrumb"] {
    display: none !important;
  }

  .sea-plp__title {
    font-size: 1.2rem !important;
  }

  .sea-plp__head {
    margin-bottom: 0.55rem;
  }

  .sea-plp-subcats {
    margin-bottom: 0.65rem;
  }

  .sea-plp-subcats__item {
    gap: 0.35rem;
  }

  .sea-plp__toolbar.sea-card {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 6.6rem);
    z-index: 8;
    padding: 0.55rem 0.7rem !important;
    border-radius: 0.95rem;
  }

  .sea-plp-toolbar__result {
    font-size: 0.72rem;
    font-weight: 800;
  }

  .sea-plp-toolbar__filter-btn {
    min-height: 2.75rem;
    padding-inline: 0.85rem;
    border-radius: 999px;
    font-weight: 900;
  }

  .sea-plp-toolbar__sort-label {
    display: none;
  }

  .sea-plp-toolbar__select {
    min-height: 2.75rem;
    font-size: 16px;
  }

  .sea-plp-cats__toggle {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
  }

  .home-products {
    gap: 0.7rem;
  }

  .home-product {
    padding: 0.65rem;
    border-radius: 1rem;
  }

  .home-product:hover {
    transform: none;
  }

  .home-product__wish {
    width: 2.75rem !important;
    height: 2.75rem !important;
    z-index: 8;
  }

  .home-product__cart,
  .home-product .sea-btn {
    min-height: 2.75rem;
  }

  /* —— PDP / cart sticky CTAs —— */
  .order-sticky {
    bottom: 0 !important;
    padding: 0.55rem 0.75rem calc(0.55rem + var(--sea-safe-bottom)) !important;
    z-index: 420 !important;
    gap: 0.45rem !important;
  }

  .sea-tabbar {
    z-index: 400 !important;
  }

  .sea-footer,
  .sea-footer__inner,
  .sea-footer__subscribe {
    z-index: 0 !important;
  }

  .order-sticky__wish {
    width: 2.75rem !important;
    height: 2.75rem !important;
    flex: 0 0 2.75rem !important;
  }

  .order-sticky__meta {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 5.5rem;
  }

  .order-sticky__meta small {
    display: none;
  }

  .order-sticky__meta strong,
  .order-sticky__meta .pdp-price__current,
  .order-sticky__meta .new-price {
    font-size: 0.92rem !important;
    line-height: 1.2 !important;
  }

  .order-sticky__cta {
    min-height: 2.75rem;
    font-size: 0.84rem;
    padding-inline: 0.65rem !important;
    flex: 1 1 0 !important;
  }

  .order-sticky__cta .pdp-sticky-label {
    font-size: 0.82rem;
  }

  /* —— PDP buy box: app-like stack —— */
  body.page-product-detail .pdp-info__top {
    margin-bottom: 0.4rem !important;
  }

  body.page-product-detail .pdp-info__badge {
    padding: 0.18rem 0.55rem !important;
    font-size: 0.65rem !important;
  }

  body.page-product-detail .sold-count-display {
    font-size: 0.72rem !important;
  }

  body.page-product-detail .pdp-price__current,
  body.page-product-detail .tp-product-details-price.new-price {
    font-size: 1.35rem !important;
  }

  body.page-product-detail .sea-pdp-layout {
    gap: 0.55rem !important;
  }

  body.page-product-detail .sea-pdp-layout__gallery {
    margin-inline: -1rem;
  }

  body.page-product-detail .sea-pdp-gallery .pdp-gallery,
  body.page-product-detail .pdp-gallery {
    border-radius: 0 0 1.15rem 1.15rem !important;
    border-inline: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
  }

  body.page-product-detail .sea-pdp-thumbs {
    padding-inline: 1rem;
    margin-top: 0.5rem !important;
    gap: 0.45rem !important;
  }

  body.page-product-detail .sea-pdp-thumb {
    width: 3.35rem !important;
    height: 3.35rem !important;
    border-radius: 0.7rem !important;
  }

  body.page-product-detail .product-attributes,
  body.page-product-detail .bb-product-attribute-swatch,
  body.page-product-detail .sea-pdp-attrs {
    margin-bottom: 0.65rem !important;
  }

  body.page-product-detail .sea-swatch-head,
  body.page-product-detail .bb-product-attribute-swatch-header {
    margin-bottom: 0.45rem !important;
  }

  body.page-product-detail .product-availability {
    margin: 0 0 0.45rem !important;
    font-size: 0.78rem !important;
  }

  body.page-product-detail .tp-product-details-action-sm {
    margin-top: 0.35rem !important;
    gap: 0.4rem !important;
  }

  body.page-product-detail .tp-product-details-action-sm:not(:has(button:not([data-bb-toggle="add-to-wishlist"]))) {
    display: none !important;
  }

  body.page-product-detail .tp-product-details-query {
    margin-top: 0.55rem !important;
    font-size: 0.75rem !important;
    display: grid !important;
    gap: 0.2rem !important;
  }

  body.page-product-detail .tp-product-details-query-item {
    margin: 0 !important;
    line-height: 1.45 !important;
  }

  body.page-product-detail .pdp-perks {
    margin-top: 0.85rem !important;
    padding-top: 0.85rem !important;
    gap: 0.55rem 0.65rem !important;
  }

  body.page-product-detail .pdp-perks__item {
    font-size: 0.72rem !important;
    gap: 0.3rem !important;
  }

  body.page-product-detail .pdp-info .tp-product-details-social,
  body.page-product-detail .sea-matching-styles {
    display: none !important;
  }

  body.page-product-detail .sea-pdp-tabs {
    margin-top: 1rem !important;
  }

  /* —— Forms / account / checkout —— */
  input,
  select,
  textarea,
  .form-control,
  .sea-field input,
  .sea-field select {
    font-size: 16px !important;
  }

  .sea-btn,
  .btn,
  button[type="submit"],
  .checkout-form button[type="submit"] {
    min-height: 2.85rem;
  }

  .sea-page,
  .sea-cms-wrap,
  .home-main {
    padding-bottom: 0.5rem;
  }

  .home-main {
    gap: 1.15rem;
    padding-block: 0.5rem 1rem;
  }

  .home-section-head h2 {
    font-size: 1.05rem;
  }

  .sea-footer {
    padding-bottom: 0.5rem;
  }

  .site-menu-panel {
    padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1rem + var(--sea-safe-bottom));
  }

  .site-menu-links a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.75rem;
    padding-inline: 0.65rem;
  }

  .sea-feedback-modal__panel {
    width: min(100% - 1.25rem, 28rem);
    max-height: min(88dvh, 40rem);
    overflow: auto;
    margin-bottom: var(--sea-app-pad);
  }

  .app-mobile-only { display: block !important; }
  .app-desktop-only { display: none !important; }

  /* Account: keep offcanvas available; overview uses its own home UI */
  body.page-account:has(.app-profile-hero) .sea-account__mobile-header {
    display: none !important;
  }
  body.page-account:has(.app-mobile-only) .sea-account__header {
    display: none !important;
  }
  body.page-account .sea-account__header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding: 0;
  }
  body.page-account .sea-account__title {
    font-size: 1.15rem;
    margin: 0;
  }
  .sea-addresses__head {
    flex-direction: column;
    align-items: stretch;
  }
  .sea-addresses__head .sea-btn {
    width: 100%;
  }
  .sea-settings__heading {
    font-size: 1.15rem;
  }
  .sea-rewards__hero {
    grid-template-columns: 1fr;
    text-align: start;
  }
  .app-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .app-quick-grid a {
    padding: 0.65rem 0.2rem;
    font-size: 0.65rem;
  }

  /* Cart */
  .sea-cart-line {
    display: grid;
    grid-template-columns: 4.35rem minmax(0, 1fr);
    gap: 0.7rem 0.75rem;
    align-items: start;
  }
  .sea-cart-line__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .sea-cart-line__thumb {
    width: 4.35rem;
    height: 4.35rem;
  }
  .sea-icon-trash {
    width: 2.75rem;
    height: 2.75rem;
  }
  .sea-qty__btn,
  .sea-qty__input {
    width: 2.75rem !important;
    height: 2.75rem;
  }
  .page-cart .sea-card--sticky {
    position: static;
  }
  .sea-link-continue {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  /* Auth */
  .sea-auth {
    max-width: none;
    margin: 0.5rem auto 1.25rem;
  }
  .sea-auth .sea-card,
  .sea-auth-card {
    padding: 1.15rem !important;
    border-radius: 1.15rem !important;
  }
  .sea-auth__reward {
    padding: 0.85rem;
    font-size: 0.8rem;
  }

  /* Wishlist / search / stores / cats / brands */
  .sea-wish-head,
  .sea-categories__head,
  .sea-brands__head {
    margin-bottom: 0.85rem;
  }
  .sea-wish-card__remove,
  .sea-wish-card__cart {
    width: 2.75rem;
    height: 2.75rem;
  }
  .sea-search__head {
    padding: 0.9rem 1rem;
  }
  .sea-stores__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .sea-stores__search input {
    min-height: 2.75rem;
    font-size: 16px;
  }
  .sea-brands__card,
  .sea-stores__card {
    min-height: 4.25rem;
    padding: 0.75rem 0.85rem;
  }
  .sea-categories__main {
    min-height: 4.25rem;
    padding: 0.85rem 0.9rem 0.75rem;
  }
  .sea-categories__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
  }
  .sea-categories__icon iconify-icon {
    font-size: 1.45rem;
  }
  .sea-categories__subs {
    padding: 0 0.9rem 0.85rem;
  }
  .sea-categories__chip {
    min-height: 2.25rem;
  }
  .sea-categories__search input {
    min-height: 2.75rem;
    font-size: 16px;
  }
  .sea-brands__letters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .sea-brands__letter {
    min-height: 2.5rem;
    min-width: 2.5rem;
    flex: 0 0 auto;
  }

  /* Contact */
  .sea-contact__title-icon {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.35rem;
  }
  .sea-contact .sea-page__title {
    font-size: 1.45rem !important;
  }
  .sea-contact__form {
    padding: 1.1rem;
  }
  .sea-contact__map-wrap,
  .sea-contact__map {
    min-height: 16rem;
  }

  /* CMS / blog / how-to / track / 404 / wholesale */
  .sea-cms .sea-page__title,
  .sea-blog-post .sea-page__title,
  .sea-howto__head .sea-page__title {
    font-size: 1.25rem !important;
  }
  .sea-blog-layout.has-sidebar {
    grid-template-columns: 1fr;
  }
  .sea-howto__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .sea-howto__actions .sea-btn {
    width: 100%;
    min-width: 0;
  }
  .sea-track {
    margin-top: 0.35rem;
  }
  .sea-track__card .form-control {
    min-height: 2.85rem;
  }
  .sea-success {
    margin-top: 1.5rem;
    padding: 0;
  }
  .sea-success__mark {
    width: 5rem;
    height: 5rem;
  }
  .sea-success__actions .sea-btn {
    width: 100%;
  }
  .sea-compare__table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sea-compare .table {
    min-width: 36rem;
  }

  /* Footer compact */
  .sea-footer {
    padding: 2rem 0 1rem;
    margin-top: 1.25rem;
  }
  .sea-footer__subscribe {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  .sea-footer__subscribe h3 {
    font-size: 1.15rem !important;
  }
  .sea-footer__form {
    width: 100%;
  }
  .sea-footer__form input,
  .sea-footer__form button {
    min-height: 2.75rem;
  }
  .sea-footer .widget ul li a {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
  }

  /* Home */
  .home-cats,
  .home-cat {
    -webkit-tap-highlight-color: transparent;
  }

  /* —— Home: real shopping feed —— */
  body.page-home .home-main {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    padding: 0.45rem 0 0.15rem !important;
  }

  body.page-home .home-main > section,
  body.page-home .home-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: 1rem;
  }

  body.page-home .home-app-hero {
    width: 100%;
    padding-inline: 1rem;
  }

  body.page-home .home-app-hero__card {
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 1.2rem;
    gap: 0.4rem;
  }

  body.page-home .home-app-hero__card.has-media {
    padding: 0;
    min-height: 16.5rem;
  }

  body.page-home .home-app-hero__card.has-media .home-app-hero__slider,
  body.page-home .home-app-hero__card.has-media .home-app-hero__slide {
    min-height: 16.5rem;
  }

  body.page-home .home-app-hero__slide {
    padding: 1rem 1.05rem 1.15rem;
  }

  body.page-home .home-app-hero__title {
    font-size: 1.18rem;
    max-width: none;
  }

  body.page-home .home-app-hero__copy {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.page-home .home-app-hero__actions {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.45rem;
  }

  body.page-home .home-app-hero__cta {
    width: 100%;
    min-height: 2.65rem;
    font-size: 0.88rem;
    padding-inline: 0.7rem;
  }

  body.page-home .home-section-head {
    margin-bottom: 0.65rem;
    gap: 0.45rem;
  }

  body.page-home .home-section-head h2 {
    font-size: 1.02rem;
    gap: 0.35rem;
  }

  body.page-home .home-section-head h2 iconify-icon {
    font-size: 1.2rem;
  }

  body.page-home .home-section-link {
    font-size: 0.75rem;
  }

  body.page-home .home-cats__nav {
    display: none !important;
  }

  body.page-home .home-cats__viewport {
    overflow: visible;
  }

  body.page-home .home-cats__wrap.is-overflow .home-cats__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  body.page-home .home-cats__rail {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow: visible;
    scroll-snap-type: none;
    gap: 0.7rem 0.55rem;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
    cursor: default;
  }

  body.page-home .home-cat {
    scroll-snap-align: unset;
  }

  body.page-home .home-cat__icon {
    border-radius: 1.05rem;
    box-shadow: 0 6px 14px rgb(15 23 42 / 6%);
  }

  body.page-home .home-cat__label {
    font-size: 0.68rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.page-home .home-products:not(.home-products--rail) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
    margin: 0 !important;
    width: 100% !important;
  }

  body.page-home .home-products--rail {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(9.6rem, 44%);
    grid-template-columns: none !important;
    gap: 0.65rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -1rem !important;
    padding-inline: 1rem !important;
    width: auto !important;
  }

  body.page-home .home-product {
    padding: 0.55rem;
    border-radius: 1rem;
  }

  body.page-home .home-product__media {
    border-radius: 0.8rem;
  }

  body.page-home .home-product__title {
    font-size: 0.74rem;
    min-height: 2.1rem;
  }

  body.page-home .home-product__wish {
    width: 2.15rem;
    height: 2.15rem;
  }

  body.page-home .home-product__cart {
    width: 2.3rem;
    height: 2.3rem;
    min-width: 2.3rem;
  }

  body.page-home .home-promo {
    min-height: 0;
    border-radius: 1.15rem;
  }

  body.page-home .home-promo__content {
    padding: 1rem;
  }

  body.page-home .home-promo__title {
    font-size: 1.2rem;
  }

  body.page-home .home-promo__cta {
    width: 100%;
    min-height: 2.65rem;
  }

  body.page-home .home-trust {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  body.page-home .home-trust__item {
    padding: 0.7rem 0.45rem 0.65rem;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid rgb(203 213 225 / 45%);
  }

  body.page-home .home-trust__item strong {
    font-size: 0.76rem;
  }

  body.page-home .home-trust__item span {
    font-size: 0.64rem;
  }

  body.page-home .home-brands__wrap {
    margin-inline: -1rem;
  }

  body.page-home .home-brands__rail {
    grid-auto-columns: minmax(7.35rem, 7.85rem);
    gap: 0.6rem;
    padding-inline: 1rem;
  }

  body.page-home .home-brand {
    min-height: 8.15rem;
    padding: 0.9rem 0.65rem 0.8rem;
    border-radius: 1.1rem;
    gap: 0.55rem;
  }

  body.page-home .home-brand__logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.95rem;
    padding: 0.4rem;
  }

  body.page-home .home-brand__name {
    font-size: 0.78rem;
  }

  body.page-home .home-brand__count {
    font-size: 0.64rem;
  }

  body.page-home .home-request {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem;
    border-radius: 1.15rem;
  }

  body.page-home .home-request__cta {
    width: 100%;
    min-height: 2.75rem;
  }

  body.page-home .home-request h3 {
    font-size: 0.95rem;
  }

  body.page-home .home-request p {
    font-size: 0.75rem;
  }

  body.page-home .col-xl-4,
  body.page-home .col-lg-5,
  body.page-home .tp-product-gadget-sidebar,
  body.page-home .sea-blog-posts,
  body.page-home .sea-product-groups--columns,
  body.page-home .gallery-wrapper,
  body.page-home .bb-gallery {
    display: none !important;
  }

  /* Pagination / empty */
  .pagination,
  .sea-wish-pager,
  .sea-search__pager,
  .sea-orders__pager {
    justify-content: center;
  }
  .sea-empty {
    padding: 1.5rem 1rem;
  }
  .sea-empty .sea-btn {
    width: min(100%, 18rem);
  }

  /* —— App menu drawer —— */
  .site-menu-drawer {
    z-index: 2400;
  }

  .site-menu-drawer .site-overlay {
    background: rgb(15 23 42 / 48%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .site-menu-panel {
    display: flex;
    flex-direction: column;
    width: min(92vw, 22.5rem);
    padding: 0;
    background: #f4f7fb;
    border-start-start-radius: 1.25rem;
    border-end-start-radius: 1.25rem;
    box-shadow: -18px 0 48px rgb(15 23 42 / 18%);
    overscroll-behavior: contain;
  }

  .site-menu-head {
    flex: 0 0 auto;
    margin: 0;
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem 0.75rem;
    background: #fff;
    border-bottom: 1px solid rgb(203 213 225 / 45%);
  }

  .site-menu-brand {
    font-size: 1.1rem;
  }

  .site-menu-logo {
    height: 2.1rem;
  }

  .site-icon-button {
    width: 2.75rem;
    height: 2.75rem;
    background: #eef3f9;
    color: var(--foreground, #0f172a);
  }

  .site-menu-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem 0.85rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .site-menu-profile {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.55rem 0.75rem;
    align-items: center;
    padding: 0.95rem;
    margin-bottom: 0.75rem;
    border-radius: 1.15rem;
    background: linear-gradient(145deg, #023e8a 0%, var(--primary, #0077b6) 58%, #00b4d8 120%);
    color: #fff;
    box-shadow: 0 12px 28px rgb(0 119 182 / 22%);
  }

  .site-menu-profile__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgb(255 255 255 / 18%);
    font-weight: 900;
    font-size: 1.2rem;
  }

  .site-menu-profile__avatar iconify-icon {
    font-size: 1.7rem;
  }

  .site-menu-profile__text {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
  }

  .site-menu-profile__text strong {
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.3;
  }

  .site-menu-profile__text span {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgb(255 255 255 / 78%);
    line-height: 1.35;
  }

  .site-menu-profile__cta,
  .site-menu-profile__actions {
    grid-column: 1 / -1;
  }

  .site-menu-profile__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .site-menu-profile__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary, #0077b6);
    font-weight: 900;
    font-size: 0.85rem;
    text-decoration: none;
  }

  .site-menu-profile__cta--ghost {
    background: rgb(255 255 255 / 14%);
    color: #fff;
    border: 1px solid rgb(255 255 255 / 28%);
  }

  .site-menu-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }

  .site-menu-quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-height: 4.25rem;
    padding: 0.55rem 0.2rem 0.45rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgb(203 213 225 / 50%);
    color: var(--foreground, #0f172a);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 800;
    -webkit-tap-highlight-color: transparent;
  }

  .site-menu-quick iconify-icon {
    font-size: 1.35rem;
    color: var(--primary, #0077b6);
  }

  .site-menu-section {
    margin: 0 0 0.7rem;
    padding: 0.45rem 0.35rem 0.5rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgb(203 213 225 / 42%);
  }

  .site-menu-section + .site-menu-section {
    margin-top: 0;
    padding-top: 0.45rem;
    border-top: 1px solid rgb(203 213 225 / 42%);
  }

  .site-menu-title {
    margin: 0.15rem 0.65rem 0.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .site-menu-links {
    display: grid;
    gap: 0;
  }

  .site-menu-links a,
  .site-menu-links button,
  .site-menu-link {
    min-height: 3rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.85rem;
    gap: 0.65rem;
    font-size: 0.9rem;
  }

  .site-menu-link__icon {
    width: 1.85rem;
    height: 1.85rem;
    display: grid;
    place-items: center;
    border-radius: 0.55rem;
    background: color-mix(in srgb, var(--primary, #0077b6) 10%, #fff);
    color: var(--primary, #0077b6);
    flex-shrink: 0;
  }

  .site-menu-link__label {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-menu-links a iconify-icon:last-child,
  .site-menu-links button iconify-icon:last-child,
  .site-menu-link iconify-icon:last-child {
    margin-inline-start: auto;
    color: #94a3b8;
    font-size: 1rem;
  }

  .site-menu-links a.is-current,
  .site-menu-link.is-current,
  .site-menu-links a[aria-current="page"] {
    background: color-mix(in srgb, var(--primary, #0077b6) 10%, #fff);
    color: var(--primary, #0077b6);
  }

  .site-menu-logout {
    margin-top: 0.35rem;
  }

  .site-menu-logout button {
    width: 100%;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 1rem;
    background: #fff;
    color: var(--destructive, #ef476f);
    font-weight: 900;
    font-size: 0.9rem;
    font-family: inherit;
  }
}
