/* ===== UDL shared cart (nav icon + drawer) ===== */
.nav-cart { position: relative; background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; font-size: 20px; line-height: 1; padding: 0 4px; display: inline-flex; align-items: center; }
.nav-cart:hover { color: #fff; }
.nav-cart-count { position: absolute; top: -7px; right: -8px; background: var(--brand); color: #fff; font-size: 9px; font-weight: 600; min-width: 15px; height: 15px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1050; justify-content: flex-end; }
.cart-overlay.open { display: flex; }
.cart-panel { background: #0f0f0f; border-left: 0.5px solid rgba(255,255,255,0.1); width: 100%; max-width: 360px; height: 100%; display: flex; flex-direction: column; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
.cart-head h3 { font-size: 15px; font-weight: 600; color: #fff; }
.cart-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 26px; line-height: 1; cursor: pointer; }
.cart-close:hover { color: #fff; }
#cart-items { flex: 1; overflow-y: auto; padding: 8px 0; }
.cart-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; border-bottom: 0.5px solid rgba(255,255,255,0.04); font-size: 13px; color: rgba(255,255,255,0.85); }
.cart-remove { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 18px; cursor: pointer; line-height: 1; }
.cart-remove:hover { color: var(--brand); }
.cart-empty-msg { text-align: center; color: rgba(255,255,255,0.4); font-size: 13px; padding: 40px 20px; }
.cart-foot { padding: 16px 20px; border-top: 0.5px solid rgba(255,255,255,0.08); }
.cart-total { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.cart-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; background: #25D366; color: #0A0A0A; border: none; border-radius: var(--border-radius-md, 10px); font-size: 14px; font-weight: 600; padding: 12px; cursor: pointer; }
.cart-submit:hover { background: #20bd5a; }

/* Identical header on every page (matches the home page), with centered nav + grouped cart */
@media (min-width: 561px) {
  .nav { position: relative; }
  .logo { font-size: 15px !important; }
  .nav-links { gap: 20px !important; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav-links a { font-size: 12px !important; }
  .nav-btn { font-size: 12px !important; padding: 7px 16px !important; }
  .nav-cart { margin-left: auto; margin-right: 12px; }
}
