/* Mobile drawer contract copied from the approved home-page menu. */
@media (max-width: 980px) {
  .sidebar {
    top: 0;
    bottom: 0;
    height: 100dvh;
    min-height: 100dvh;
    font-family: "Segoe UI", Arial, sans-serif;
  }

  .sidebar-header {
    display: flex;
    min-height: 116px;
    padding: 28px;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(214, 153, 66, .28);
    background: rgba(0, 0, 0, .12);
  }

  .sidebar-logo {
    margin-left: 8px;
    color: #edc886;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
  }

  .sidebar-menu {
    display: flex;
    min-height: 0;
    padding: 20px 0;
    overflow-y: auto;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
  }

  .sidebar-item {
    display: flex;
    min-height: 56px;
    margin: 3px 14px;
    padding: 16px 18px;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
  }

  .sidebar-home-item:not(.active) {
    color: rgba(249, 231, 202, .78);
    border-color: transparent;
    background: transparent;
  }

  .sidebar-item i {
    display: grid;
    width: 36px;
    flex: 0 0 36px;
    place-items: center;
    line-height: 1;
    text-align: center;
  }

  .sidebar-menu .sidebar-utility-start {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(220, 160, 72, .2);
    border-radius: 0 0 16px 16px;
  }

  .sidebar-badge {
    display: none !important;
  }

  .sidebar-footer {
    display: block;
    margin-top: auto;
    padding: 20px 28px;
    flex: 0 0 auto;
    color: rgba(244, 224, 193, .56);
    border-top: 1px solid rgba(214, 153, 66, .22);
    background: transparent;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    text-align: center;
  }

  /* The standalone Favorites drawer already uses the approved component;
     these rules merely lock its separators and footer to the same geometry. */
  .section-drawer-nav a.drawer-utility {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(220, 160, 72, .2);
    border-radius: 0 0 16px 16px;
  }

  .section-drawer__footer {
    margin-top: auto;
    flex: 0 0 auto;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: normal;
    white-space: nowrap;
  }

  .section-drawer-nav {
    font-family: "Segoe UI", Arial, sans-serif;
  }
}
