  /* ---- Cart order-summary bar, embedded in the footer. Only rendered on
     the cart page, and only shown at tablet widths — desktop keeps its own
     sticky summary in the page grid, mobile keeps its fixed bottom bar. ---- */
  .cart-footer-summary,
  .chk-footer-summary {
    display: none;
  }

  .site-footer {
    padding: 2rem 0;
  }

  /* ===================================================================
     Decorative footer content — matches the cx-auth design language used
     on login/register/forgot/reset (soft accent-tinted icon badge,
     uppercase micro-labels, accent-color link hovers, card structure).
     Scoped with a cx-footer prefix.
     =================================================================== */

  .cx-footer {
    position: relative;
    padding-top: 2.75rem;
  }

  .cx-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .cx-footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .cx-footer__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cx-accent) 10%, transparent);
    color: var(--cx-accent);
  }

  .cx-footer__brand-name {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
  }

  .cx-footer__brand-address {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #b7b7b7;
  }

  .cx-footer__label {
    margin: 0 0 1rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b7b7b7;
  }

  .cx-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .cx-footer__list a {
    font-size: 14.5px;
    color: #d9d9d9;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .cx-footer__list a:hover {
    color: var(--cx-accent);
  }

  .cx-footer__branch-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .cx-footer__branch-link[aria-current="true"] {
    color: var(--cx-accent);
    font-weight: 600;
  }

  .cx-footer__branch-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cx-accent);
    flex-shrink: 0;
  }

  .cx-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cx-footer__contact-item svg {
    flex-shrink: 0;
    color: var(--cx-accent);
  }

  .cx-footer__bottom {
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
  }

  .cx-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: #8a8a8a;
  }

  @media (max-width: 767px) {
    .cx-footer__grid {
      grid-template-columns: 1fr 1fr;
      row-gap: 2rem;
    }
    .cx-footer__brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 480px) {
    .cx-footer__grid {
      grid-template-columns: 1fr;
    }
  }

  /* ---- Hide the decorative footer (shop info, links, branches,
     "Powered by" line) on tablet and mobile — the cart/checkout summary
     bars above are untouched since they live outside this wrapper. ---- */
  @media (max-width: 991px) {
    .site-footer {
      display: none;
    }

    .site-footer {
      padding: 0;
      border-top: 0;
      background: transparent;
    }
  }

  @media (min-width: 641px) and (max-width: 991px) {
    .cart-footer-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      position: fixed;
      inset-inline: 0;
      inset-block-end: 0;
      z-index: 45;
      background: #fff;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 16px 16px 0 0;
      padding: 1.1rem 2rem calc(1.1rem + env(safe-area-inset-bottom));
      box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    }

    .cart-footer-summary__info {
      display: flex;
      align-items: baseline;
      gap: 0.9rem;
    }

    .cart-footer-summary__count {
      font-size: 13px;
      color: #888;
    }

    .cart-footer-summary__label {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #888;
      margin-inline-end: 0.4rem;
    }

    .cart-footer-summary__value {
      font-size: 1.35rem;
      font-weight: 800;
      color: #111;
    }

    .cart-footer-summary__checkout {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      flex-shrink: 0;
      background: var(--cart-accent, #111);
      color: #fff;
      border: 0;
      border-radius: 2px;
      padding: 0.85rem 1.6rem;
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: opacity 0.15s ease, transform 0.1s ease;
    }

    .cart-footer-summary__checkout:hover {
      opacity: 0.88;
      transform: translateY(-1px);
    }

    /* ---- Checkout order-total bar, same tablet-docked pattern as the
       cart bar above, shown only on the checkout page. The button
       submits the checkout form via its `form` attribute even though
       it lives outside the <form> element in the DOM. ---- */
    .chk-footer-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      position: fixed;
      inset-inline: 0;
      inset-block-end: 0;
      z-index: 45;
      background: #fff;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 16px 16px 0 0;
      padding: 1.1rem 2rem calc(1.1rem + env(safe-area-inset-bottom));
      box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    }

    .chk-footer-summary__info {
      display: flex;
      align-items: baseline;
      gap: 0.9rem;
    }

    .chk-footer-summary__label {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #888;
      margin-inline-end: 0.4rem;
    }

    .chk-footer-summary__value {
      font-size: 1.35rem;
      font-weight: 800;
      color: #111;
    }

    .chk-footer-summary__submit {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      flex-shrink: 0;
      background: var(--chk-accent, #111);
      color: #fff;
      border: 0;
      border-radius: 2px;
      padding: 0.85rem 1.6rem;
      font-weight: 600;
      font-size: 15px;
      font-family: inherit;
      cursor: pointer;
      transition: opacity 0.15s ease, transform 0.1s ease;
    }

    .chk-footer-summary__submit:hover {
      opacity: 0.88;
      transform: translateY(-1px);
    }
  }
